/*copyright SoA-IPM 2015
Javad Miraftabzadeh
aftab@ipm.ir
feel free to use these styles as you wish
attribution would be nice, but not required
*/

/*Font declarations*/
@font-face {
    font-family: 'Bitter';
    src: url('../fonts/Bitter-Regular-webfont.eot');
    src: url('../fonts/Bitter-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/Bitter-Regular-webfont.woff') format('woff'), url('../fonts/Bitter-Regular-webfont.ttf') format('truetype'), url('../fonts/Bitter-Regular-webfont.svg#BitterRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bitter';
    src: url('../fonts/Bitter-Italic-webfont.eot');
    src: url('../fonts/Bitter-Italic-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/Bitter-Italic-webfont.woff') format('woff'), url('../fonts/Bitter-Italic-webfont.ttf') format('truetype'), url('../fonts/Bitter-Italic-webfont.svg#BitterItalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Bitter';
    src: url('../fonts/Bitter-Bold-webfont.eot');
    src: url('../fonts/Bitter-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/Bitter-Bold-webfont.woff') format('woff'), url('../fonts/Bitter-Bold-webfont.ttf') format('truetype'), url('../fonts/Bitter-Bold-webfont.svg#BitterBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DroidSans';
    src: url('../fonts/DroidSans-webfont.eot');
    src: url('../fonts/DroidSans-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/DroidSans-webfont.woff') format('woff'), url('../fonts/DroidSans-webfont.ttf') format('truetype'), url('../fonts/DroidSans-webfont.svg#DroidSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DroidSans';
    src: url('../fonts/DroidSans-Bold-webfont.eot');
    src: url('../fonts/DroidSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/DroidSans-Bold-webfont.woff') format('woff'), url('../fonts/DroidSans-Bold-webfont.ttf') format('truetype'), url('../fonts/DroidSans-Bold-webfont.svg#DroidSansBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

/*Global styles -----------------------------------------------------------------------------------------------------------*/

/*limited reset*/
html, body, div, section, article, aside, header, footer, nav, h1, h2, h3, h4, h5, h6, p, blockquote, address, time, span, em, strong, img, ol, ul, li, figure, canvas, video, th, td, tr {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
}

/*html5 display rule*/
address, article, aside, canvas, details, figcaption, figure, footer, header, nav, menu, nav, section, summary {
    display: block;
}

body {
    font-family: DroidSans, Arial, Helvetica, sans-serif;
    font-size: 12pt;
    line-height: 1.5;
    font-weight: normal;
    font-style: normal;
    color: #2f2f2f;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3 {
    font-size: 2.4em;
    font-weight: normal;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
    color: #575451;
    text-align: center;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1em;
}

article {
    clear: both;
    margin-bottom: 3px;
}

/*a {*/
/*color: white;*/
/*text-decoration: none;*/
/*}*/

/*a:hover {*/
/*background: url('../images/diag_pattern.png');*/
/*}*/

p {
    margin-bottom: 1em;
    text-align: justify;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

/* Global classes */

/*micro-clearfix by Nicolas Gallagher http://nicolasgallagher.com/micro-clearfix-hack/*/
/* For modern browsers */
.cf:before, .cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
    zoom: 1;
}

.cr {
    clear: right;
}

.cl {
    clear: left;
}

.cb {
    clear: both;
}

.brown {
    color: #87492F;
    text-align: left;
}

.red {
    font-weight: normal;
    color: darkred;
}

.blue {
    color: #02708a;
    text-align: center;
}

.left {
    text-align: left;
}

/*layout styles*/
body {
    /*position: relative;*/
    /*width: 900px;*/
    /*margin: 0 auto;*/
    text-align: left;
}

/*Banner*/
div#mgBanner {
    width: 1000px;
    background-color: white;
}

#mgBanner img {
    width: 1000px;
    height: 200px;
    margin: 0;
    padding: 0;
}


#mainContainer {
    width: 1000px;
    position: relative;
    clear: both;
    margin: 0 auto;
}

article#mainContent {
    float: right;
    width: 700px;
    padding: 15px 45px 15px 15px;
    background-color: white;
}

aside#sideBar {
    float: left;
    width: 200px;
    padding: 15px;
}

ul {
    list-style: disc inside;
    text-align: left;
}

li {
    padding-left: 1em;
    text-align: left;
}


ul ul li {
    padding-left: 3em;
    text-align: left;
    list-style: circle inside;
}

ul ul ul li {
    padding-left: 5em;
    text-align: left;
    list-style: square inside;
}

/*Vertical Menu Styling*/
aside#sideBar a {
    color: white;
    text-decoration: none;
}

aside#sideBar ul, aside#sideBar li {
    margin: 0;
    padding: 0;
    list-style: none;
}

aside#sideBar li a {
    display: block;
    width: 12em;
    line-height: 1.8em;
    font-size: .9em;
    text-decoration: none;
    background: #02708a;
    color: white;
    padding: .2em .2em .2em 1em;
    border-bottom: .125em solid white;
}

aside#sideBar li a:hover {

    border-left: .8em solid white;
    width: 11.2em;
}

aside#sideBar li a.active {
    cursor: default;
    background: #a39d7a;
    border-left: .8em solid white;
    width: 11.2em;
}

aside#sideBar li:last-child a {
    border-bottom: none;
}

aside#sideBar li a.disable {
    color: #a39d7a;
    cursor: default;
}

aside#sideBar li a.disable:hover {
    border-left: none;
    width: 12em;
}

aside#sideBar li.spacer {
    display: block;
    min-height: 1em;
    background-color: white;
    color: white;
}

aside#sideBar li a.disable.active {
    color: white;
}

/*Footer Styling*/
#leadOut {
    padding: 0;
}

div#leadOut p {
    padding: 10px 10px 0 10px;
    line-height: 55px;
}

#contentBackgroundfooter {
    width: 1000px;
}

p.fillInP {
    text-align: left;
    font-family: DroidSans, Arial, Helvetica, sans-serif;
    padding: 5px 5px 0 5px;
    font-size: 1.1em;
    color: #2f2f2f;
}

img.posterthumb {
    text-align: left;
    padding-left: 30px;
}

/*Table Styling*/
table.tmgtable {
    width: 100%;
}
table.tmgtable, .tmgtable th, .tmgtable td {
    border-collapse: collapse;
    /*border: 1px solid darkslategray;*/
}

.tmgtable th, .tmgtable td {
    padding: 5px;
}

.tmgtable tr:nth-child(even) {
    background: #f4f8ff;
}

.tmgtable tr:nth-child(odd) {
    background: #fffad7;
}

.tmgtable tr:hover {
    background: #f2f1ef;
}
.tmgtable th {
    background: #02708a;
    text-align: center;
    font-weight: bold;
    color: white;
}

/*Farsi Styling*/
article.farsi {
    direction: rtl;
    font-family: Tahoma;
    text-align: justify;
    line-height: 2;
}

.farsi {
    direction: rtl;
    text-align: right;
    font-family: Tahoma;
}

.farsi .blue {
    direction: rtl;
    font-family: Tahoma;
    text-align: center;
}

.bol {
    font-weight: bold;
}

h1.farsi {
    direction: rtl;
    font-size: 1.6em;
    font-family: Tahoma;
    font-weight: normal;
    margin-bottom: 5px;
}

h2.farsi {
    direction: rtl;
    font-family: Tahoma;
    font-weight: normal;
    margin-bottom: 10px;
}

h3.farsi {
    direction: rtl;
    font-family: Tahoma;
    font-weight: normal;
}

.cent {
    text-align: center;
}

table.tb, tr.tb, td.tb {
    border: 0px solid #000000;
    border-collapse: collapse;
}
table.tb {
    width: 100%;
    height: 120px;
    direction: ltr;
    font-family: Verdana, Geneva, sans-serif;
}
td.tb {
    width: 302px;
    height: 30px;
    padding: 0 10px;
}
table#t01 {
    width:100%;
    direction:rtl;
    font-family:Tahoma;
    font-size:small;
}
table#t01, table#t01 th, table#t01 td {
    border: 1px solid black;
    border-collapse: collapse;
}
table#t01 th {
    padding: 5px;
    text-align: center;
}
table#t01 td {
    padding: 5px;
    text-align: right;
}
table#t01 tr:nth-child(even) {
    background-color: #c1e7fd;
}
table#t01 tr:nth-child(odd) {
   background-color:#fff;
}
table#t01 th	{
    background-color: #02708a;
    color: white;
}