﻿

@font-face {
    font-family: IRANSans-web;
    src: url(/Font/IRANSans-web.eot);
    src: url(/Font/IRANSans-web.eot?#iefix) format("embedded-opentype"),url(/Font/IRANSans-web.woff) format("woff"),url(/Font/IRANSans-web.ttf) format("truetype"),url(/Font/IRANSans-web.svg#svgFontName) format("svg");
}

@font-face {
    font-family: IRANSans-Bold-web;
    src: url(/Font/IRANSans-Bold-web.eot);
    src: url(/Font/IRANSans-Bold-web.eot?#iefix) format("embedded-opentype"),url(/Font/IRANSans-Bold-web.woff) format("woff"),url(/Font/IRANSans-Bold-web.ttf) format("truetype"),url(/Font/IRANSans-Bold-web.svg#svgFontName) format("svg");
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'IRANSans-web';
    color: #000;
    min-height: 100%;
    line-height: 1.5;
}

html {
    position: relative;
}

body {
    /*margin-bottom: 40px;*/
    font-size: 0.9em;
    word-spacing: 0.001em;
    letter-spacing: 0;
}

.follow {
    direction: rtl;
    color: #888;
    margin-top: 10px;
}

.archivespan {
    color: #347C3A;
    font-size: 0.8em;
}

    .archivespan a:hover {
        text-decoration: none !important;
        color: #007bff;
    }




#custom-search-input .search-query {
    width: 100%;
    padding-right: 3px;
    padding-left: 15px;
    /* IE7-8 doesn't have border-radius, so don't indent the padding */
    margin-bottom: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 0;
}

#custom-search-input button {
    border: 0;
    background: none;
    /** belows styles are working good */
    /*padding: 5px 5px;*/
    margin-top: 2px;
    position: absolute;
    left: 0;
    /* IE7-8 doesn't have border-radius, so don't indent the padding */
    margin-bottom: 0;
    /*-webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;*/
    /*color: #D9230F;*/
    cursor: unset;
    z-index: 2;
}

.custom-search-button {
    height: calc(1em + .75rem + 2px);
    font-size: 0.6rem;
}

.search-query:focus {
    z-index: 0;
}

.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 999999999;
    background-color: #777777;
    color: #eeeeee;
    width: 40px;
    height: 38px;
    line-height: 33px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

    .scroll-top-wrapper:hover {
        background-color: #888888;
    }

    .scroll-top-wrapper.show {
        visibility: visible;
        cursor: pointer;
        opacity: 1.0;
    }

    .scroll-top-wrapper i.fa {
        line-height: inherit;
    }



.divider {
    line-height: 0;
    text-align: right;
}


    .divider:after {
        content: " ";
        display: block;
        border-top: 1px solid #347C3A;
        border-bottom: 1px solid #347C3A;
        /*margin: 2em 0;*/
        /*margin-bottom: 1em ;*/
    }

::-moz-placeholder {
    font-size: 0.6em;
}

/********/
a {
    color: inherit;
}

.container-fluid p {
    margin-right: 2%;
    margin-left: 2%;
    font-size: 13px;
    line-height: 1.5;
}

.container p {
    /*margin-right: 10%;
    margin-left: 10%;*/
    /*font-size: 16px;*/
    /**/
    line-height: 2em;
}

.page-title {
    padding: 20px 20px 0 0;
}

    .page-title h4 {
        font-size: 1.1em;
    }

    .page-title h2 {
        font-size: .9em;
    }

    .page-title hr {
        background: #062d7d none repeat scroll 0 0;
        direction: rtl;
        height: 5px;
        /*margin: 12px;*/
        margin-bottom: 0;
    }

.morph {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}

    .morph:hover {
        border-radius: 50%;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
        filter: hue-rotate(90deg);
        -webkit-filter: hue-rotate(90deg);
    }

.shadow {
    -webkit-box-shadow: 0 10px 6px -6px #000;
    -moz-box-shadow: 0 10px 6px -6px #000;
    box-shadow: 0 10px 6px -6px #000;
}



#main {
    /*margin-top: 150px;*/
    direction: rtl;
    text-align: right;
    font-size: 1em;
}

article {
    direction: rtl
}

.archive {
    font-size: 12px;
    color: #8b0000;
    float: left;
    margin-top: 10px;
    position: relative;
}

/*.archive :hover {
        color: red;
    }*/



.loginmodal-container {
    padding: 30px;
    max-width: 350px;
    width: 100% !important;
    /*background-color: #F7F7F7;*/
    margin: 0 auto;
    /*border-radius: 2px;*/
    /*box-shadow: 0 2px 2px rgba(0,0,0,0.3);*/
    overflow: hidden;
}

    .loginmodal-container h1 {
        text-align: center;
        font-size: 1.6em;
    }

    .loginmodal-container input[type=submit] {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        position: relative;
        font-size:0.8em;
    }

    .loginmodal-container input[type=text], input[type=password] {
        height: 30px;
        font-size: 16px;
        width: 100%;
        margin-bottom: 10px;
        -webkit-appearance: none;
        background: #fff;
        border: 1px solid #d9d9d9;
        border-top: 1px solid silver;
        padding: 0 8px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

        .loginmodal-container input[type=text]:hover, input[type=password]:hover {
            border: 1px solid #b9b9b9;
            border-top: 1px solid #a0a0a0;
            -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
            -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
        }

.loginmodal {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    height: 36px;
    padding: 0 8px;
}

.loginmodal-submit {
    border: 0;
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,0.1);
    background-color: #4d90fe;
    padding: 17px 0;
    font-family: roboto;
    font-size: 14px;
}

    .loginmodal-submit:hover {
        border: 0;
        text-shadow: 0 1px rgba(0,0,0,0.3);
        background-color: #357ae8;
    }

.loginmodal-container a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    opacity: .6;
    transition: opacity ease .5s;
}

.login-help {
    font-size: 12px;
}

.today {
    position: relative;
    top: 0px;
    color: #347C3A;
    font-size: 1.15em;
}

.newsheader {
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    /*border-radius: .10rem;*/
    margin: 2px;
    margin-bottom: 2px;
    margin-bottom: 5px;
    direction: ltr;
    font-size: xx-small;
    padding: 2px;
}

.news-col {
    margin: 10px 0px 1px 0px;
}

.news-thumbnail {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .10rem;
    max-width: 100%;
    height: auto;
}

.post-title {
    font-size: 12px;
    direction: rtl;
    line-height: normal;
}

.post-description {
    font-size: xx-small;
    direction: rtl;
}

.news {
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    margin: 2px;
    text-align: right;
    font-size: xx-small;
    padding: 10px;
    direction: rtl;
}

.page-nav-container {
    text-align: center;
    width: auto;
    margin: auto;
    color: #347C3A;
    font-size: small;
    direction: rtl;
    font-size: 0.8em;
}

    .page-nav-container li {
        padding: 5px;
        /*font-size:10px;*/
    }



.page_disabled {
    pointer-events: none;
    /*color: #f00 !important;*/
    color: #000000;
}

.divider {
    margin-bottom: 10px;
    line-height: 0;
    text-align: right;
}

.divider-title {
    position: relative;
    top: 13px;
    width: 160px;
    background: #fff;
    text-align: center;
    margin: auto;
    font-size: 0.8rem !important;
}
/*.list-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}*/
.news-detail h3 {
    font-size: 0.75em;
    color: #6c757d !important;
    /*line-height: 2em;*/
    font-family: IRANSans-web;
    font-weight: normal;
}
/***********************/
/*.gallery {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-width: 33%;
    -moz-column-width: 33%;
    column-width: 33%;
}*/

/*.gallery img {
        -webkit-transition: all 350ms ease;
        transition: all 350ms ease;
    }

    .gallery .animation {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }*/

/*@media (max-width: 450px) {
    .gallery {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-width: 100%;
        -moz-column-width: 100%;
        column-width: 100%;
    }
}

@media (max-width: 400px) {
    .btn.filter {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }
}*/

/*************************/



.news-detail h2 {
    font-size: .6em;
    color: #6c757d !important;
    line-height: 2em;
    padding-right: 5px;
}

.news-detail h4 {
    font-size: .9em;
    font-family: IRANSans-web;
    line-height: 2em;
}

.news-detail h3 {
    font-size: .7em;
    color: #6c757d !important;
    line-height: 2em;
}

.news-detail h5 {
    font-size: 0.7em;
    color: #347C3A !important;
    /*line-height: 2em;*/
    text-align: right;
    font-family: IRANSans-web;
}

.detail {
    font-size: .7em;
    color: #6c757d !important;
    text-align: justify;
    font-weight: 500;
}

    .detail img {
        padding-left: 5px;
    }



.news-detail p {
    font-size: .7em;
    color: #303131 !important;
    line-height: 2em;
    text-align: justify;
}





.control-label {
    padding-bottom: 5px;
    font-size: 0.65rem;
    text-align: right !important;
    float: right !important;
}

.table td, .table th {
    padding: .6rem;
    font-size: 0.65rem;
}

.tyle-item {
    transform: rotate(90deg);
    white-space: nowrap;
}

.table th {
    padding: .4rem;
    white-space: nowrap;
}

.page-header-small {
    border-bottom: 1px solid #ccc;
    display: block;
    width: 100%;
    font-size: 0.8rem;
}

.space {
    min-height: 20px;
    display: block;
    width: 100%;
}

.aboutmenu {
    margin-right: auto;
    margin-left: auto;
    z-index: 10;
}

    .aboutmenu ul {
        direction: rtl;
        direction: rtl;
        line-height: 30px;
        list-style-image: none;
        list-style-position: outside;
        list-style-type: none;
        /* padding-right: 0px; */
        /*margin-right: 5px;*/
        list-style-type: none;
    }

    .aboutmenu li {
        vertical-align: middle;
        /*height: 25px;*/
        background-color: transparent;
    }

    .aboutmenu a, .aboutmenu a:visited {
        color: #347c3a;
        display: inherit;
        /* padding: 0 20px; */
        direction: rtl;
        text-align: right;
        position: relative;
        padding: 2px 0px 2px 10px;
        font-size: 0.8em;
    }


        .aboutmenu a:hover, .aboutmenu a:active, .current_page_item a, #home .on, .menu-footer a:hover {
            /* text-decoration: underline; */
            /* font-weight: bold; */
            background-color: #e9ecef;
            background-size: auto;
            width: 100%;
            padding: 2px 0px 2px 10px;
        }

        .aboutmenu a:hover, .aboutmenu a:active, .current_page_item a, #home .on, .menu-footer a:hover {
            /* text-decoration: underline; */
            font-weight: bold;
        }

        .aboutmenu a, .aboutmenu a:hover {
            -moz-background-clip: border;
            -moz-background-inline-policy: continuous;
            -moz-background-origin: padding;
            /* border: medium none; */
            /* display: block; */
            /* text-decoration: none; */
        }



    .aboutmenu input {
        color: #347c3a;
        display: inherit;
        /* padding: 0 20px; */
        direction: rtl;
        text-align: right;
        position: relative;
        padding: 10px 0px 2px 10px;
        font-size: 0.7em;
        background-color: none;
        border: none;
    }

        .aboutmenu input:hover {
            background-size: auto;
            width: 100%;
            padding: 12px 10px 2px 10px;
        }

.introdesc p {
    font-size: 0.7em;
    color: #6c757d !important;
    line-height: 2em;
    text-align: justify;
}

.introdesc li {
    font-size: 0.7em;
    /*color: #6c757d !important;*/
    text-align: justify;
}

.introdesc h1 {
    font-size: 0.9em;
}

.introdesc h6 {
    font-size: 0.8em;
}

.alignnone, .aligncenter, .alignleft, .alignright, .alignwide {
    margin-top: 2rem;
    margin-left: auto;
    margin-bottom: 2rem;
    margin-right: auto;
}

.introdesc img {
    max-width: 100%;
}

video {
    width: 100%;
    height: auto;
}

.login-box {
    /*margin-top: 10px;*/
    /*max-width: 600px;*/
    /*height: 320px;*/
    /*border: 1px solid #9C9C9C;*/
    background-color: #fff;
    /*-webkit-box-shadow: 2px 2px 30px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 2px 2px 30px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 2px 2px 30px 0px rgba(50, 50, 50, 0.75);*/
    color: #636363;
    box-shadow: 0 1px 2px #C3C3C3;
    -webkit-box-shadow: 0px 0px 21px 2px rgba(0,0,0,0.18);
    -moz-box-shadow: 0px 0px 21px 2px rgba(0,0,0,0.18);
    box-shadow: 0px 0px 21px 2px rgba(0,0,0,0.18);
}

small {
    font-size: 70%;
}

.fa-2x {
    font-size: 1.3em !important;
}

h6 {
    font-size: 0.7em;
    color: #4a4949;
}

h2 {
    font-size: 1em;
    line-height: 2em;
}

.img-thumbnail img {
    max-width: 300px;
}

.contact_button {
    background-color: #EEEEEE;
    text-align: center;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 0.7rem;
    border: 1px solid #d7d6d6;
    font-family: 'IRANSans-web' !important;
}

.contancttxt {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border-radius: 0;
    border-style: solid;
    border-width: 0.1rem;
    box-shadow: none;
    display: block;
    font-size: 0.8rem;
    letter-spacing: -0.015em;
    margin: 0;
    max-width: 100%;
    padding: 0.8rem;
    width: 100%;
    height: 10px;
}
.alertbox {
    margin: 0 auto;
    z-index: 1000;
    position: absolute;
    min-width: 350px;
    right: 50%;
    top: 40%;
    font-size: 0.7em !important;
    direction:rtl;
}

.txt-alert {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: underline;
}

h4 {
    color: rgba(0, 0, 0, 0.67);
    font-size:0.9em;
}
.form-control {
    padding: 0.1rem;
    font-size: 0.7rem;
   
    /*font-size: 11px;*/
    display: unset;
    height: initial;

}

input[type="checkbox"], input[type="radio"] {
    margin: 0 2px;
}

select {
    border: 1px solid #ced4da;
}



    select option {
        border: 1px solid #ced4da;
        font-family: Tahoma;
    }



label {
    display: inline-block;
    margin-bottom: 0.3rem;
    margin-left: 10px;
    margin-right: 10px;
    /*white-space: nowrap;*/
}
.input-group {
    flex-wrap: nowrap!important;
}
/*.form-group{
    margin-bottom:0!important;
}*/


    .MyTabStyle .ajax__tab_header {
    font-family: 'IRANSans-web' !important;
    font-size: 0.6rem;
    display: block;
    background-color: #d7d7d7;
    text-align:center;
}


    .MyTabStyle .ajax__tab_header .ajax__tab_outer {
        border-color: #222;
        color: #222;
        /*padding-left: 10px;
        margin-right: 3px;*/
        padding:10px;
        border: solid 1px #d7d7d7;
        /*background: url(/images/tab.png) no-repeat;*/
        /*width: 133px;*/
        text-align: center;
    }

    .MyTabStyle .ajax__tab_header .ajax__tab_inner {
        border-color: #666;
        color: #666;
        padding: 3px 10px 2px 0px;
    }

.MyTabStyle .ajax__tab_hover .ajax__tab_outer {
    background-color: #228b59;
    
}

.MyTabStyle .ajax__tab_hover .ajax__tab_inner {
    color: #222;
}

.MyTabStyle .ajax__tab_active .ajax__tab_outer {
    background-color: transparent;
    background: none;
    border: solid 2px #347C3A;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    text-align: center;
}

.MyTabStyle .ajax__tab_active .ajax__tab_inner {
    color: #000;
    border-color: #333;
}

.MyTabStyle .ajax__tab_body {
    font-family: 'IRANSans-web' !important;
    background-color: transparent;
    border: solid 1px #d7d7d7;
    padding-top: 15px;
}
.watermark {
    color: rgba(0,0,0,0.3);
}
.btn-sm {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.2;
}
hr {
    background: #ffd800 none repeat scroll 0 0;
}
.GridHeaderStyle th {
    font-size: 11px;
    text-align: center;
    background-color: #588fbd;
    color: #fff;
    border: solid 1px #d9d9d9;
    padding: 5px 2px 5px 2px;
}
.GridHeaderStyle td {
    font-size: 11px;
    text-align: center;
    background-color: #588fbd;
    color: #fff;
    border: solid 1px #d9d9d9!important;
}

.GridFooterStyle {
    font-size: 11px;
    text-align: center;
    background-color: #c5d5e4;
    color: #fff;
    border: solid 1px #d9d9d9;
}


/*.Grid .alt {

      background: #fcfcfc url(Images/grid-alt.png) repeat-x top; }*/


.GridPageStyle {
    background-color: #8db2d0;
}

    .GridPageStyle tr {
        border: none !important;
    }

    .GridPageStyle a {
        padding: 5px;
        text-decoration: none;
    }


.GridHeaderStyle th {
    font-size: 11px;
    text-align: center;
    background-color: #588fbd;
    color: #fff;
    border: solid 1px #d9d9d9;
    padding: 5px 2px 5px 2px;
}

.Grid tr {
    border: none;
    border-left: solid 1px #d9d9d9;
    border-right: solid 1px #d9d9d9;
}

.Grid td {
    padding: 4px 2px 4px 2px;
    color: rgba(33,33,33,0.97);
    border: none;
    border-bottom: solid 1px #d9d9d9;
    text-align: right;
    vertical-align: middle;
    font-size: 10px !important;
    color: #414544;
}

.input-group input {
    text-align: center;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.GridHeaderStyle td {
    font-size: 11px;
    text-align: center;
    background-color: #588fbd;
    color: #fff;
    border: solid 1px #d9d9d9;
}

.GridFooterStyle {
    font-size: 11px;
    text-align: center;
    background-color: #c5d5e4;
    color: #fff;
    border: solid 1px #d9d9d9;
}

input[type="file"] {
    color: #222;
    font-size:11px;
}

.alert-dismissible .close {
    left: 0 !important;
    right: auto;
}

.alertbox {
    margin: 0 auto;
    z-index: 1000;
    position: absolute;
    min-width: 350px;
    left: 40%;
    top: 50%;
}

    .alertbox h4 {
        font-family: IRANSans-Bold-web;
        font-size: 1em;
    }

.h5, h5 {
    font-size: 0.8rem!important;
}
.NewsDesc {
    font-size: 1em;
    color: #303131 !important;
    line-height: 2.4em;
    text-align: justify;
}
