@charset "utf-8";
/* CSS Document */
@font-face
{
    font-family: "iransharp";
    src:
            url("../fonts/iransharp.woff") format("woff"),
            url("../fonts/iransharp.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face
{
    font-family: "IranBlack";
    src:
            url("../fonts/IRANBlack.ttf") format("truetype"),
            url("../fonts/IRANBlack.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}


*
{
    font-family: "iransharp";
    line-height:2 !important;
}

/*--- General ----*/
@media (min-width: 768px) {
    body>header{
        position:absolute;background: rgba(0,0,0,0.3);z-index: 1000;width:100%;border-bottom: 1px solid rgba(255,255,255,0.4);
    }

}
@media (max-width: 768px) {
    header{
        background: #608ad6;
        border-bottom: 1px solid rgba(255,255,255,0.4);
    }

}
a{
    color: #000;
}
a:hover{
    color: #333;
}
.ribbon{
    width: 150px;
    position: absolute;
    right:0;
    box-shadow: -5px 3px 1px 0 rgb(0, 0, 0);
    top:30px;
    background: #a94442;
    padding:10px 15px;
    color: #FFF;
    height: 44px;
    z-index: 100;
    font-weight: bold;
}
.ribbon a{
    color: #FFF;
}
@media (max-width: 768px) {

    .ribbon{
        width: 90px;
    }
}
.ribbon-edge {
    position: absolute;
    border-style: solid;
    border-width: 22px 6px 22px 21px;
    border-color: #a94442 #a94442 #a94442 transparent;
    top: 0;
    left: -20px;
}
@media (min-width: 992px){
    .navbar-logo{
        width: 100px;
        position: absolute !important;
        background: #d79b45;
        padding: 10px;
        top: 0;
        left: 0;
        margin: auto;
        z-index: 100;
    }
    .logo-title{
        margin-left: 85px;
        color:#333333;
        padding-top:5px;
    }
    #myNavbar{
        margin-left: 85px;
        padding: 0;
    }

}
@media (max-width: 992px){
    .navbar-logo{
        width: 80px;
    }

    .logo-title{
        text-align: center;
        color:#333333;
    }
    .navbar-toggle{
        margin: 0;
        padding: 6px 15px;
        color: #FFF;
        border-radius: 0;
        float: left;
    }
    .navbar-toggle #myNavbar .fa{
        color: #333;
    }
    .nav.navbar-nav{
        margin-bottom: 0;
        margin-right: 0 !important;
        color: #FFF;
    }
    .nav.navbar-nav a, .nav.navbar-nav a:hover{
        color: #fff;
    }
    .navbar-nav .open .dropdown-menu a{
        color: #fff;
    }
    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
        background: transparent;
        color: #fff;
    }
}
.navbar-logo a:hover{
    background: #d79b45;
}
.breadcrumb a{
    color: #d79b45;
}
@media (min-width:992px) {
    .right-side{
        padding: 0 0 0 5px;
    }
    .left-side{
        padding: 0 5px 0 0 ;
    }
}
@media (max-width:992px) {
    .right-side{
        padding: 0 ;
    }
    .left-side{
        padding: 0;
    }
}
/*--- General ----*/

/*--- top nav ----*/
@media (min-width:992px){

    .top-nav-icon{
        background: rgba(0,0,0,0.3);
        padding: 3px 10px;
        color:#FFF;
        cursor: pointer;
        position: absolute;
        top: 0;
        margin: auto;
        right: -15px;
    }
}
@media (max-width:992px){

    .top-nav-icon{
        background: rgba(0, 0, 0, 0.1);
        padding: 6px 20px;
        color: #ffffff;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 5px;
    }
    .top-nav-icon .fa{
        color: #d79b45;
    }
}
/*--- top nav ----*/

/*--- content_string ----*/
.content_string .title{
    color: #d79b45;
}
.content_string .text *{
    line-height: 1.8 !important;
}
.content_string .text img{
    border-radius: 5px;
}
.content_string .text table tr td{
    padding: 5px;
    vertical-align: top;
}
/*.content_string .text table{*/
/*width: 90%;*/
/*border: 0;*/
/*margin-bottom: 15px;*/
/*}*/
/*.content_string .text table td{*/
/*border: 0;*/
/*padding: 2px 5px;*/
/*}*/
/*.content_string .text table>tbody>tr:nth-child(2n+1){*/
/*background: rgba(182,89,156,0.05);*/
/*}*/
/*.content_string .text table>tbody>tr:first-child{*/
/*color: #d79b45;*/
/*background: rgba(182,89,156,0.2);*/
/*text-align: right;*/
/*font-weight: bold;*/
/*}*/
.content_string img{
    max-width: 100%;
}
/*--- content_string ----*/



/*--- services ----*/
#services {
    margin: 45px 0;
    padding: 0;
}
#services article {
    padding : 5px 0;
}
/*--- services ----*/


/*--- slider ----*/
#head_slider figure{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 600px;
}
#head_slider .owl-item .cover{
    background: rgba(0,0,0,0.2);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
#head_slider .owl-item figcaption{
    width: 600px;
    height: 360px;
    padding: 45px;
    position: absolute;
    margin:auto;
    bottom: 10%;
    left: 0;
    background: rgba(0, 0, 0, 0.51);
    color:#FFF;
    display: none;
}
.Btitr, #head_slider .owl-item figcaption *{

    font-family: "IranBlack" !important;
    line-height: 1.9 !important;
}
#head_slider .owl-item h3{
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}
#head_slider .owl-item a{
    color:#FFF;
}
#head_slider .owl-item.active.center figcaption{
    display: block;

}
@media (max-width:992px) {
    #head_slider figure{
        height: 300px;
    }
}
@media (min-width:992px) {

    #head_slider{
        border-bottom:1px solid #333;
    }
}
@media (max-width:768px) {
    #head_slider .owl-item figcaption {
        width: 100%;
        height: 100%;
        padding: 15px;
        position: absolute;
        margin:auto;
        bottom: 0px;
        right:0px;
        background: rgba(0,0,0,0.6);
        color:#FFF;
        display: none;
    }
    #head_slider figure{
        height: 200px;
    }
}

#head_slider .owl-nav{
    margin: 0;
}
@media (min-width: 768px){
    #head_slider .owl-dots {
        display: none;
    }
    #head_slider .owl-prev {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.2)  !important;
        color:#fff !important;
        position: absolute;
        top: 40%;
        right: 10%;
        display: block!IMPORTANT;
        border:0px solid #e0e0e0;
        z-index: 100;
    }

    #head_slider .owl-next {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.2) !important;
        color:#fff !important;

        position: absolute;
        top: 40%;
        left:10%;
        display: block!IMPORTANT;
        border:0px solid #e0e0e0;
        z-index: 100;

    }
}
@media (max-width: 768px){
    #head_slider .owl-nav {
        display: none;
    }
    #head_slider {
    }
    #head_slider .slider-caption {
    }
    #head_slider .slider-caption *{
        color: #424242;
    }
    .owl-theme .owl-dots .owl-dot.active span,#head_slider .owl-theme .owl-dots .owl-dot:hover span {
        background: #333333;
    }
    .owl-theme .owl-dots .owl-dot span {
        background: #FFF;
    }
    .owl-dots {
        display: block;
    }
    .owl-theme .owl-dots .owl-dot span{
        background: #CCC;
    }

}


/*--- slider ----*/

/*--- gallery slider ----*/
#gallery header{
    background: transparent;
}
@media (min-width: 768px) {
    #gallery_slider figure {
        height: 330px;
    }
}
@media (max-width: 768px) {
    #gallery_slider figure {
        height: 220px;
    }
}
#gallery_slider figure{
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 100%;
    margin-bottom: 10px;
}
#gallery {
    background: #333333;
    color:#FFF;
}
#gallery_panel ul{
    padding: 0;
}
#gallery_panel li{
    padding: 8px;
    list-style: none;
}
#gallery_panel figure{
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 100%;
    height: 100px;
}
/*--- gallery slider ----*/

/*--- top news slider ----*/
#top_news_slider{
    padding: 10px 0;
}
#top_news_slider article.item{
    height: 150px;
    background: #FFF;
    padding: 5px 0 2px 2px;
    /* box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.2); */
}
#top_news_slider article.item>div{
    padding:10px;
}
#top_news_slider article.item figure{
    padding: 0;
    width: 220px;
    height: 100%;
    margin-right: 5px;
    background-position: center !important;
    background-repeat: no-repeat !important;
    -webkit-background-size:cover !important;
    background-size:cover;
}

@media (min-width: 768px){
    #top_news_slider .owl-dots {
        display: none;
    }
    #top_news_slider .owl-prev {
        width: 20px;
        height: 20px;
        -webkit-border-radius:50%;
        -moz-border-radius:50%;
        border-radius:50%;
        background: #d79b45 !important;
        color: #ffffff !important;
        position: absolute;
        top: 40%;
        right: -40px;
        display: block !important;
        border:0px solid #e0e0e0;
        z-index: 100;
    }

    #top_news_slider .owl-next {
        width: 20px;
        height: 20px;
        -webkit-border-radius:50%;
        -moz-border-radius:50%;
        border-radius:50%;
        background: #d79b45 !important;
        color: #ffffff !important;
        position: absolute;
        top: 40%;
        left:-40px;
        display: block !important;
        border:0px solid #e0e0e0;
        z-index: 100;
    }
}
@media (max-width: 768px){
    #top_news_slider .owl-nav {
        display: none;
    }
}
/*--- top news slider ----*/

/*--- middle-nav ----*/
#middle_nav {
    background: #565656;
    padding: 15px 0 5px 0;
}
#middle_nav ul{
    display: table;
    table-layout: fixed; /* optional */
}
#middle_nav ul li{
    display: table-cell;
    width: auto;
    text-align: center;
}
#middle_nav ul li a{
    color: #fff;
    padding:2px 10px;
    /* font-weight: bold; */
    border-radius: 2px;
}
#middle_nav ul li a:hover{
    color: #000;
    /* font-weight: bold; */
    background-color: #d79b45;
    border-color: #ffffff;
}
/*--- middle-nav ----*/

/*--- footer-nav ----*/
#footerNav li {
    margin-bottom: 5px;
}
#footerNav li a{
    padding: 1px 10px;
    border-radius: 2px;
}
#footerNav li a:hover{
    color: #fff;
    background-color: #d79b45;
    border-color: #d79b45;
}
/*--- footer-nav ----*/

/* school */
header .navbar
{
    margin:0;
    border:0;
}
#top-nav {
    padding: 1px 4px;
    background: #efefef;
}
#top-nav>ul {
    padding: 15px;
}
#top-nav ul li{
    list-style: none;
    font-size: 12px;
    padding: 5px;
}
#top-nav>ul>li>h6{
    color: #d79b45;
}
#top-nav>ul>li{
    border-right:1px solid #ddd;
}

#top-nav>ul>li:last-child{
    border:0;
}
#top-nav>ul>li>ul{
    padding: 0;
}
img.finger-icon {
    width: 40px;
    height: 40px;
    padding: 5px;
    background: #efefef;
    cursor: pointer;
}
.navbar-nav{
    padding: 0;
}
.navbar-nav>li>a{
    padding: 15px 15px;
    height: 50px;
    color: #FFF;
}
.navbar-nav>li.open>a, .navbar-nav>li>a:hover, .navbar-nav>li.open>a:focus{
    border:0;
    border-bottom: 2px solid #f0f0f0;
    background: transparent !important;
    color: #fff;
}
.navbar-nav>li.open>a, .navbar-nav>li.open>a:focus{
    /* border-top: 2px solid #8b24da; */
    /* color: #FFF; */
}
.navbar-nav>li>.dropdown-menu{
    margin-top: 0px;
    border: 0;
    border-top:2px solid #f7921e;
    background-color: rgba(255,255,255,0.9);
    /* color: #FFF; */
}
.navbar-nav>li .dropdown-menu>li a {
    padding: 10px 30px;
    color: #000;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
    background: rgba(0,0,0,0.05);
    color:#000 !important;
}

header .nav.navbar-nav{
    margin-top: 0;
}
/* school */

/* ----- top nav ---- */
#top-nav ul
{
    padding: 0;
}
#top-nav ul li a
{
    padding: 1px 10px;
    border-radius: 2px;
    color: #333;
}
#top-nav ul li a:hover
{
    color: #fff;
    background-color: #d79b45;
    border-color: #d79b45;
}
/* ----- top nav ---- */


/* ----- board-box ---- */
.bord-box
{
    position: relative;
    background: #FFF;
    padding:15px;
    box-shadow: 1px 1px 1px -1px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}
.bord-box header.title
{
    position: absolute;
    margin: auto;
    top:-15px;
    left: 15px;
    padding: 2px 10px;
    font-size: 12px;
}
.bord-box  article.item {
    height: 80px;
    overflow: hidden;
    margin-bottom: 15px;
}
.bord-box header.title.title-yellow
{
    background: #d79b45;
    border:1px solid #d79b45;
    color:#333;
}
.bord-box header.title.title-blue
{
    background: #3498DB;
    border: 1px solid #3498db;
    color:#FFF;
}
.bord-box header.title.title-green
{
    background: #2ECC71;
    border: 1px solid #2ecc71;
    color:#FFF;
}
.bord-box header.title.title-pink
{
    background: #f581af;
    border:1px solid #de407e;
    color:#FFF;
}
.bord-box header.title.title-violet
{
    background: #a9a8f5;
    border:1px solid #9a7ef5;
    color:#FFF;
}
/* ----- board-box ---- */



/* ----- footer ---- */
footer{
    background: #333333;
    color: #FFF !important;
}
footer ul{
    padding:0;
}
footer *{
    color: #FFF;
}
footer ul li{
    list-style: none;
}
/* ----- footer ---- */


