﻿@import url(/fonts/fontiran.css);

* {
    box-sizing: border-box; /* https://www.w3schools.com/css/css3_box-sizing.asp */
    direction:rtl;
}
/* Responsive Styles
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <div class="row"> use class='row height100' to set all column height to 100%
        <div class="col-3">...</div> <!-- 25% -->
         <div class="col-9">...</div> <!-- 75% -->
    </div>

    For Images this attribute needed: background-size: contain;

    //These module use for responsive pages
    SetFlexOption()
    $(window).resize(function() {
        SetFlexOption()
    })
    function SetFlexOption() {
        if ($(window).width() < 768) {
            $(".height100").css("display", "table");
        }
        else {
            $(".height100").css("display", "flex");
        };
    }

*/
/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}


@media only screen and (max-width: 768px) {
    [class*="col-"] {
        width: 100%;
    }
    /*[class="row"]{display: table;}*/
}
.row::after {
    content: "";
    clear: both;
    display: table;
}
[class*="col-"] {
    float: left;
    /*display:table-cell;*/
}
.responsiveimage {
    width: 100%;
    height: auto;
    display: block;
}

html{height:100%;}
body {
	background-color:#99ccff;
	margin: 0px;
	padding: 0px;
	font-family: IRANSans, Tahoma;
	font-size: 12px;
	text-decoration: none;
	color: rgb(0, 0, 0);
	height: 100%;
}

a {
    text-decoration: none;
}

.imageloader {
    background-position: center center;
    background-image: url('../images/loader.gif');
    background-repeat: no-repeat;
    background-color: #FFFFFF;
}

h3, .title /*  page titles */ {
    margin: 0px 0px 4px 0px;
    color: #000000;
    font-size: 14px;
    font-family: Tahoma;
    font-weight: bold;
    font-style: normal;
    padding-bottom: 4px;
}

.textbox {
	/* background-color: #262626; */
	/* color: white; */
	border: 1px solid #000;
	font-size: 11px;
	font-weight: bold;
	border-radius: 5px;
	padding: 2px;
	font-family: IRANSans;
}

.button {
	background-color: #151515;
	border: 1px solid #000000;
	font-weight: bold;
	font-family: Tahoma;
	font-size: 10px;
	color: white;
	border-radius: 5px;
	padding: 5px;
    cursor:pointer;
}

#flags {
    height: 16px;
    background-color:white;
    color: Black;
    font-weight: bold;
    font-size: 10px;
}
#flags a{
    color:Black;
}

#toptopdiv {
	border-width: 1px;
	border-color: #000000;
	background-color: #fff;
	color: #000;
	font-size: 10px;
	/* height: 120px; */
	background-repeat: repeat-x;
	direction: ltr;
	vertical-align: middle;
	border-bottom: 1px solid #4e4e4f;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#topdiv {
    direction: ltr;
    background-color: #434343;
    color: #BDC3Ba;
}

#middlediv {
	border-width: 2px 1px 1px;
	background-repeat: repeat-x;
	border-top: 2px solid rgb(0, 0, 0);
	direction: ltr;
}

#downdiv {
	color: black;
	text-align: center;
	background-color:#99ccff;
	background-repeat: repeat-x;
	direction: ltr;
	padding-top: 1%;
	border-top: 2px solid rgb(36, 113, 138);
}

#downdiv .downitem {
	background-color: #dbf0f3;
	border-radius: 5px;
	display: inline-block;
	font-size: 10px;
	padding: 2px;
	text-align: center;
	font-family: IRANSans;
	white-space: nowrap;
	/* float: left; */
	cursor: pointer;
	margin: 1px;
	min-width: 80px;
}

#downdiv .downitem a {
	color: #000;
	font-weight: bold;
}

        #downdiv .downitem:hover {
            background-color: #312f2f;
            color: white;
        }

    #downdiv a {
        color: gray;
    }

#toptopcell2 {
    width: 350px;
    background-repeat: repeat-x;
    vertical-align: middle;
    text-align: left;
}

#toptopcell3 {
    width: 220px;
    text-align: center;
}


#topcell1 {
    padding: 0px;
    margin: 0px;
    position: relative;
    display: block;
    text-align: right;
    vertical-align: top;
}

#topmenu {
    background-color: #434343;
}

.topmenuitem {
    border-right: 1px solid #4e4e4f;
    border-left: 1px solid black;
    float: left;
    list-style-type: none;
    /*height: 30px;background-color: #FFFFFF;
    width: 12%;*/
    text-align: center;
    cursor: pointer;
    /*font-weight: bold;*/
    font-size: 15px;
    padding-top: opx;
    font-family: IRANSans;
    font-weight:bold;
    font-style: italic;
    white-space:nowrap;
}

    .topmenuitem a {
        color: #4e4e4f;
    }

.topmenuitem a:hover {
	color: rgb(0, 0, 0);
	text-shadow: black 0px 0px 5px;
}

#topcell2 {
    width: 180px;
    background-color: #C1C663;
    background-image: url('Backgrounds/TopDivCell2Background.png');
    background-repeat: repeat-x;
    padding: 10px;
    vertical-align: middle;
}

    #topcell2 .title {
        color: #FFFFFF;
    }

/*#homepagemiddledata {
    color: #434343;
}

    #homepagemiddledata .title {
        font-size: 20px;
        color: #5ED990;
    }

    #homepagemiddledata a {
        font-style: italic;
        color: gray;
    }

        #homepagemiddledata a:hover {
            color: Black;
        }*/

#middlecell1 {
	border: medium none;
	padding: 10px;
	min-height: 300px;
	vertical-align: top;
	color: rgb(0, 0, 0);
	text-align: justify;
	background-color: rgb(255, 255, 255);
    background-size:cover;
}

    #middlecell1 h3, #middlecell1 .title {
        font-size: 25px;
        color: #ff7c7c;
    }

#middlecell1 a {
	color: #daa556;
	font-weight: bold;
}

        #middlecell1 a:hover {
            text-decoration: underline;
        }


#middlecell2 {
	border: none;
	background-color: #99ccff;
	background-repeat: repeat-x;
	padding: 0px 10px 10px 10px;
	vertical-align: top;
	color: #FFFFFF;
}

#middlecell2 .newskadr {
	padding: 0px;
	background-color: rgb(153, 204, 255);
	margin-bottom: 4px;
	text-align: justify;
	border-radius: 10px;
	color: black;
}
    #middlecell2 .newskadr a:hover{color:white;}
    #middlecell2 .newstitle {
        color: Gray;
        font-style: italic;
        font-size: 11px;
        margin-bottom: 2px;
    }

        #middlecell2 .newstitle:hover {
            color: white;
        }

    #middlecell2 .newstext {
        color: gray;
        font-size: 11px;
    }

#middlecell2 .title {
	color: black;
	font-size: 15px;
}

    #middlecell2 a {
        color: #5EB990;
    }
        #middlecell2 a:hover {
        color: #FFFFFF;
    }

    #middlecell2 .kadr {
        padding: 5px;
        background-color: #06AEFF;
        border: 0px solid #990000;
        font-size: smaller;
        color: white;
    }

        #middlecell2 .kadr a {
            color: #FF0000;
        }

            #middlecell2 .kadr a:hover {
                text-decoration: underline;
            }

#middlecell3 {
	border: none;
	background-color: #99ccff;
	/* background-repeat: repeat-x; */
	/* background-image: url('Backgrounds/MiddleDivCell2Background.png'); 
	border-right: 1px solid #90651A;*/
	padding: 10px;
	vertical-align: top;
	color: #000;
}
    #middlecell3 h3,#middlecell3 .title {
        font-size: 14px;
        color: #ff7c7c;
    }


/* General Box */
        .generalbox {
	        border-left: 2px solid rgb(255, 124, 124);
	        color: rgb(11, 11, 11);
	        padding-left: 5px;
	        margin-top: 10px;
        }
.generalbox .caption, .generalbox .caption a {
	font-weight: bold;
	text-decoration: none;
	color: black !important;
}
        .generalbox .caption a:hover{
            color:#999999 !important;
        }
        .generalbox a{
            text-decoration:none;
            color:#fe6060 !important;
        }
        .generalbox a:hover{
            color:#FFFFFF !important;
        }

/* Menu CSS */
.accmenu_mainitems {
    border-width: 1px;
    border-color: #000000;
    border-bottom-style: dotted;
}

    .accmenu_mainitems .item {
        border-width: 1px;
        border-color: #4d4d7b;
        color: #bdc3c9;
        font-weight: bold;
        padding: 10px 0px 0px 0px;
        cursor: pointer;
        width: 90px;
        float: right;
        text-align: center;
        border-left-style: solid;
        vertical-align: bottom;
        height: 26px;
    }

        .accmenu_mainitems .item:hover {
            color: #ffffff;
        }

.accmenu_mainitems_hover, #topmenusubmenus {
    background-color: #434343;
}

.accmenu_level2menus img {
    border: 1px solid #000000;
}

.accmenu_level2menus .item {
    color: #F8FdA9;
    cursor: pointer;
    font-size: 11px;
    float: right;
    width: 110px;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px;
}

    .accmenu_level2menus .item:hover {
        background-color: #000000;
    }

.accmenu_level2menus_hover {
    background-color: #A88200;
}


#quicklinkmenu .item {
	margin: 1px;
	border-width: 1px;
	/* border-color: #585A0F; */
	color: black;
	padding: 5px 20px 5px 20px;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	background-color: #5daeff;
	border-radius: 10px;
}

#quicklinkmenu .item:hover {
	background-color: white;
	color: rgb(0,0,0);
}

/* Site Maps */
#sitemap {
    text-align: justify;
    line-height: 15px;
}

    #sitemap .item {
        color: #282490;
        font-weight: bold;
        font-size: 11px;
    }

        #sitemap .item:hover {
            color: #000000;
            font-weight: bold;
        }

    #sitemap #copyright {
        font-size: 11px;
    }

        #sitemap #copyright a {
            color: #000000;
        }

            #sitemap #copyright a:hover {
                text-decoration: underline;
            }


#threeCell {
    margin: auto;
}

    #threeCell td {
        background-color: #F8F9F4;
        border: solid 1px #E0DfDb;
        padding: 10px;
        width: 33%;
        vertical-align: top;
        color: gray;
    }

        #threeCell td a {
            color: #6AAA90;
        }

            #threeCell td a:hover {
                color: Black;
            }

        #threeCell td .title {
            color: #434343;
            font-size: 30px;
        }

.showparam {
	background-color: #000000;
	border-radius: 8px;
	/* padding: 2px; */
	padding-right: 4px;
	padding-left: 4px;
	font-weight: bold;
	display: inline;
	font-size: smaller;
	text-decoration: none;
	color: #d2b5b5;
	opacity: 0.3;
}

    .showparam a {
        color: #d2b5b5;
    }

    .showparam:hover {
        background-color: yellow;
        color: black;
    }

.textField {
	vertical-align: middle;
	/*text-align: left;*/
	font-weight: bold;
	/*background: rgb(26, 23, 23);*/
}

.valueField {
    vertical-align: top;
    /*text-align: left;*/
    font-weight: bold;
}

.alerttd {
	color: #fff;
	margin-bottom: 1px;
	margin-top: 1px;
	background-color: #ecb658;
	border-radius: 8px;
	padding: 5px;
	display: table;
}

.donetd {
	color: #000;
	margin-bottom: 1px;
	margin-top: 1px;
	background-color: #5daeff;
	border-radius: 8px;
	padding: 5px;
	display: table;
}

.warningtd {
	color: #fff;
	margin-bottom: 1px;
	margin-top: 1px;
	background-color: #e05c5c;
	border-radius: 8px;
	padding: 5px;
	display: table;
}
.GalleryImageBorder {
	border: 1px solid Black;
	padding: 1px;
	border-radius: 5px;
}

.addtobasket{
	background-color: #F6F6F6;
	border-radius: 20px;
	color: #000000;
}


/* Grid Classes [Start] */
.grid {
    border: 1px none #000000;
    width: 100%;
    font-size: 11px;
    border-spacing: 0;
    border-collapse: collapse;
    text-align: center;
}

    .grid td {
        min-width: 16px;
    }

.gridFirstRow {
    border: 1px solid #FFFFFF;
    border-top: 0px solid;
    font-weight: bold;
    padding: 1px 2px 1px 2px;
    color: #FFFFFF; /*border: 1px solid #FFFFFF;background-color: #000000;*/
    height: 18px;
    font-size: 11px;
    background-color: #6CC5FF;
}

.gridFirstColumn {
    border: 1px solid #FFFFFF;
    -webkit-text-shadow: 0 0 2px #AAAAAA;
    text-shadow: 0 0 2px #AAAAAA;
    font-size: 11px;
    font-weight: bold;
    padding: 1px 2px 1px 2px;
    color: #FFFFFF; /*border: 1px solid #FFFFFF;background-color: #000000;*/
    height: 18px;
    text-align: left;
    background-color: #6CC5FF;
}

.gridFirstRow a {
    color: #000000;
}

.gridEvenClass {
    padding: 2px;
    border: 1px solid #FFFFFF;
    background-color: #DDE9F4;
    color: #000000;
    text-align: center;
}

.gridOddClass {
    padding: 2px;
    background-color: #CCDDEE;
    color: #000000;
    border: 1px solid #FFFFFF;
    text-align: center;
}

.gridTdHover {
    background-color: #A2C1C1;
}

.gridSelected {
    background-color: #1bb1c1;
}

.grid-tr-hover {
    background-color: #ADCBE1;
}

.grid-row-freeze {
    background-color: #e1e1e1;
}

.grid-col-row-freeze-1 {
    border-left: 2px solid #000;
    border-right: 2px solid #000;
}

.grid-col-row-freeze-2 {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.grid td a {
    color: #003874 !important;
    font-weight: bold;
    font-size: 11px;
}
/* Grid Classes [End] */

.header {
    /*padding: 2px;*/
    border-style: solid none solid none;
    border-width: 1px;
    border-color: #FFFFFF;
    margin: 0px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #24A8FF;
    color: #FFFFFF;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    padding-top: 1px;
    padding-bottom: 3px;
    width: 100%;
}

    .header a {
        color: white;
    }

.controlValidationErrorLabel {
	border-style: solid;
	border-width: 1px;
	border-color: Black;
	background-position: right center;
	background-color: #DB370B;
	color: #fff;
	padding: 3px;
	margin: 2px 0px 10px 0px;
	display: table;
	border-radius: 5px;
	-webkit-box-shadow: 0px 0px 2px #000000;
	box-shadow: 0px 0px 2px #000000;
	min-height: 20px;
	vertical-align: middle;
	text-align: justify;
	line-height: 1.6em;
	font-weight: bold;
	font-family: IRANSans;
}
.controlValidationErrorClass {
	box-shadow: rgb(0, 0, 0) 0px 0px 2px;
	background-color: rgb(255, 239, 174);
	border: 1px solid black;
}


.linkbutton {
	background-color: #5daeff !important;
	border: 1px none #FFFFFF;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	padding: 1px;
	border-radius: 10px;
	-webkit-text-shadow: 0 0 2px #FFFFFF;
	text-shadow: 0 0 2px #FFFFFF;
	display: inline-block;
	width: 170px;
	text-align: center;
	/* -webkit-box-shadow: 0 0 5px #000000; */
	/* box-shadow: 0 0 5px #000000; */
	cursor: pointer;
	font-family: IRANSans, Tahoma;
	height: 24px;
	vertical-align: middle;
	padding-top: 1px;
}

    .linkbutton:hover, .smalllinkbutton:hover {
        background-color: #FFCC00 !important;
        /*-webkit-box-shadow: 0 0 5px #000000;
        box-shadow: 0 0 5px #000000;*/
    }

.smalllinkbutton {
    background-color: #000000;
    border: 1px none #FFFFFF;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    padding: 3px 10px 3px 10px;
    border-radius: 10px;
    -webkit-text-shadow: 0 0 2px #FFFFFF;
    text-shadow: 0 0 2px #FFFFFF;
    display: inline-block;
    text-align: center;
    -webkit-box-shadow: 0 0 5px #000000;
    box-shadow: 0 0 5px #000000;
    cursor: pointer;
}