/*
Theme Name: kohestaniSchool
Theme URI: http://kohestanischool2.ir
Author: Arash Ghasemi
Author URI: https://partak-web.ir
Description: طراحی شده توسط آرش قاسمی برای دبستان پسرانه کوهستانی دوره دوم
Version: 2.0.1
*/
@import "css/reset.css";

@font-face {
    font-family: 'iransans';
    src: url("fonts/eot/IRANSansWebLight.eot") format("eot"),
    url("fonts/ttf/IRANSansWebLight.ttf") format("truetype"),
    url("fonts/woff/IRANSansWebLight.woff") format("woff"),
    url("fonts/woff2/IRANSansWebLight.woff2") format("woff2");
}

@font-face {
    font-family: 'iransansBold';
    src: url("fonts/eot/IRANSansWebBold.eot") format("eot"),
    url("fonts/ttf/IRANSansWebBold.ttf") format("truetype"),
    url("fonts/woff/IRANSansWebBold.woff") format("woff"),
    url("fonts/woff2/IRANSansWebBold.woff2") format("woff2");
}
.relative{
    position: relative;
}
* {
    font-family: 'iransans', sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.a-center {
    /* align-items: center; */
}

ul, li {
    list-style: none;
}

a, a:hover {
    text-decoration: none;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
}

a {
    color: #666;
}

body {
    direction: rtl;
    background-color: #fff;
}

/*============header===================*/
.header {
    background: #fc7a00;
    height: 65px;
}

.header .top-header {
    height: 65px;
}

/*==========menu ========================*/

.header .menu > ul {
    height: 100%;
    display: flex;
    align-items: center;
}

.header .menu > ul > li {
    margin-left: 10px;
    position: relative;
}

.header .menu > ul > li > a {
    color: #fff;
    display: block;
    padding: 20px 10px;
    font-family: 'iransansBold', sans-serif;
}

.header .menu > ul > li:after {
    content: '';
    height: 20px;
    display: inline-block;
}

.top-header .menu ul li ul {
    position: absolute;
    top: 85px;
    min-width: 200px;
    border: 1px solid #fc7a00;
    /*display: none;*/
    z-index: 1;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in;
}

.top-header .menu ul li:hover ul {
    /*display: block;*/
    top: 60px;
    opacity: 1;
    visibility: visible;
    transition: all .3s ease-in;
}

.top-header .menu ul li ul li a {
    color: #666;
    padding: 8px 10px;
    display: block;
}

.top-header .menu ul li ul li a:hover {
    padding-right: 20px;
    background: #fc7a00;
    color: #fff;
}

/*============ logo header ==================*/
.top-header .logo {
    display: flex;
    height: 65px;
    align-items: center;
}

.top-header .logo img {
    width: 100%;
}

/*============= social media ================*/
.social-media {
    z-index: 2;
    position: fixed;
    right: 0;
    top: 150px;
    background: #fff;
    border-top-left-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
}

.social-media ul {
    display: flex;
    flex-direction: column;
}

.social-media ul li {
    margin: 10px;
}

.social-media ul li a {
    display: block;
}

.social-media ul li svg {
    font-size: 35px;
    cursor: pointer;
}

.fa-instagram-square {
    color: #E4405F;
}

.fa-telegram {
    color: #0088cc;
}

.svg-inline--fa.fa-magnifying-glass {
    color: #6b38c9;
}
/*=============home style =================*/
.home{
    background: url("img/bgstu1.jpg");
    background-size: cover;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    position: relative;
}
.overlay{
    position: absolute;
    background: rgba(0,0,0,.7);
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
.home .title-site{
    height: 90vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.home h1{
    font-size: 45px;
    color: #fc7a00;
    font-family: 'iransansBold',sans-serif;
}
.home p{
    display: block;
    color: #fff;
    font-size: 25px;
    margin-top: 20px;
}
/*=============slider style ============== */
.slider-box{
    direction: ltr;
    margin-top: 50px;
}
.slider-box .slide{
    margin-top: 30px;
}
.slider-box .item-slider{
    border: 1px solid #ddd;
    border-radius: 7px;
    overflow: hidden;
}
.slider-box .item-slider .name-stu {
    font-family: 'iransansBold',sans-serif;
    display: block;
    text-align: center;
    padding: 10px 0;
    color: #fc7a00;
    font-size: 17px;
}
.slider-box .item-slider img {
    width: 100%;

    min-height: 300px;
}
/* ============ about style ============== */
.about{
    margin: 200px 0 ;
    width: 100%;
}
.about .box-about .img-about img{
    width: 100%;
}
.title-desc{
    font-family: 'iransansBold',sans-serif;
    font-size: 20px;
    border-bottom: 2px solid #fc7a00;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #666;
    letter-spacing: 1px;
}
.box-about .desc-about p{
    line-height: 2rem;
    text-align: justify;
    margin-bottom: 15px;
    color: #666;
}

.desc-about .box-item-desc .item-desc span{
    /* font-weight: 900; */
    display: block;
    font-family: 'iransansBold',sans-serif;
    text-align: center;
    padding: 7px 0;
    font-size: 16px;
    color: #777;
}
/*============= clip style ====================*/
.clip{
    width: 100%;
    margin: 200px 0;
}
.item-clip{
    margin: 20px 0;
    border-radius: 20px;
    overflow: hidden;
    width: 70%;
}
.item-clip .item{
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}
.item-clip .item img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    transform: scale(1.1);
    transition: all .3s ease-in;
}
.item-clip .item span{
    position: absolute;
    border-radius: 20px;
    background: rgba(0,0,0,.7);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all .3s ease-in;
}
.item-clip .item span p{
    font-family: 'iransansBold', sans-serif;
    font-size: 20px;
    color: #fc7a00;
    transition: all .3s ease-in;
}
.item-clip .item:hover span{
    opacity: 0;
}
.item-clip .item:hover span p{
    color: #fc7a00;
    opacity: 0;
    transform: scale(1.2);
}
.item-clip .item:hover img{
    transform: scale(1);
    transition: all .3s ease-in;
}
/*================maghale style ==============*/
.maghale{
   /* margin: 200px 0; */
    width: 100%;
margin-bottom : 200px;
}
.ads {
    opacity: 0;
}
.item-maghale{
    margin: 20px 0;
    border-radius: 20px;
    overflow: hidden;
    width: 70%;
}
.item-maghale .item{
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}
.item-maghale .item img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    transform: scale(1);
    transition: all .3s ease-in;
}
.item-maghale .item span{
    position: absolute;
    border-radius: 20px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .3s ease-in;
}
.item-maghale .item span p{
    font-family: 'iransansBold', sans-serif;
    font-size: 20px;
    color: #fc7a00;
    transition: all .3s ease-in;
    text-align: center;
    line-height: 2rem;
}
.item-maghale .item:hover img{
    transform: scale(1.1);
}
.item-maghale .item:hover span{
    background: rgba(0,0,0,.7);
    opacity: 1;
}
/*===========footer ====================*/
.footer{
    background: rgba(0,0,0,.7);
    width: 100%;
    padding: 30px 0;
}
.footer h5{
    color: #ddd;
    font-family: 'iransansBold',sans-serif;
    font-size: 20px;
    border-bottom: 2px solid #fc7a00;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.footer .about-footer{
    padding: 0 10px;
}
.about-footer p{
    text-align: justify;
    line-height: 30px;
    color: #ddd;
    font-size: 13px;
}
.footer .links-footer ul li a{
    display: block;
    padding: 8px 10px;
    margin-bottom: 5px;
    color: #ddd;
    border-radius: 20px;
}
.footer .links-footer ul li a:hover{
    background: #484747;
    color: #fc7a00;
}
.contactus{
    padding: 0 10px;
}
.contactus p{
    color: #ddd;
    margin: 20px 0;
}
.contactus .tel{
    color: #ddd;
    margin: 20px 0;
}
.contactus .titr-span{
    color: #fc7a00;
}
.copy-right {
    text-align: center;
    margin: 40px auto 10px;
    color: #ddd;
}
.copy-right .partak{
    margin: 20px 0;
}
.partak .fa-heart{
    margin: 0 5px;
    font-size: 18px;
    color: #ff1616;
}
.partak a{
    color: #fc7a00;
}
.partak a:hover{
    color: #d06401;
}
/*
===========================
        single style
===========================
*/
.single {
    margin: 50px 0;
    background: #fff;
}
.main-single,.sidebar{
    padding: 10px 20px;
}
.main-single .header-single{
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 10px;
    box-shadow: 0 0 5px 2px #eee;
}
.header-single .title-single{
    font-family: 'iransansBold', sans-serif;
    color: #fc7a00;
    font-size: 20px;
}
.main-single .meta-box{
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.meta-box .meta-item{
    margin-left: 10px;
    border-left: 1px solid #fc7a00;
    padding-left: 5px;
}
.meta-box .meta-item:last-child{
    border-left: none;
}
.meta-item svg{
    color: #fc7a00;
}
.meta-item span{
    color: #777;
}
.meta-item span a:hover{
    color: #fc7a00;
}
.main-single .content-single{
    border: 1px solid #ddd;
    border-radius: 7px;
    padding-top: 10px;
}
.main-single .content-single img{
    width: 100%;
    border-radius: 7px;
    height: auto;
    object-fit: cover;
}
.content-single p{
    line-height: 2rem;
    color: #666;
    margin: 20px auto;
}
.content-single p img{
    margin: 10px auto;
}
.sidebar .sidebar-widget{
    border: 1px solid #ddd;
    border-radius: 7px;
    margin-bottom: 10px;
}
.sidebar-widget h5{
    text-align: center;
    display: block;
    font-size: 16px;
    padding: 10px 0;
    font-family: 'iransansBold',sans-serif;
    border-bottom: 2px solid #fc7a00;
    margin-bottom: 10px;
    color: #777;
    letter-spacing: 1px;
}
.sidebar-widget ul li:last-child{
    margin-bottom: 7px;
}
.sidebar-widget ul li a{
    display: block;
    color: #666;
    padding: 7px 10px;
    font-size: 14px;
    text-align: center;
}
.sidebar-widget ul li a:hover{
    color: #fc7a00;
}
/*
===============================
            category
===============================
*/
.category-item{
    padding: 10px;
}
.cat-item{
    overflow: hidden;
}
.category-item .cat-item img{
    width: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all .3s ease-in;
    margin: 10px 0;
    height: 250px;
}
.category-item .cat-item:hover img{
    transform: scale(1.1);
    transition: all .3s ease-in;
}
.category-item .cat-item{
    border: 1px solid #ddd;
    border-radius: 7px;
}
.category-item .cat-item h3{
    padding: 7px 0;
    text-align: center;
    font-family: 'iransansBold', sans-serif;
    font-size: 14px;
    color: #666;
}
.category-item .cat-item a{
    display: block;
    padding: 7px 0;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #fc7a00;
    /*margin-top: 10px;*/
}
.cat-item:hover a{
    color: #fff;
    background: #fc7a00;
}
.title-single span.desc-cat{
    color: #777;
    font-weight: bold;
}
.title-single span{
    font-weight: bold;
}
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px auto;
}
.pagination a {
    padding: 7px 10px;
    background: #eee;
    margin: 0 3px;
    border-radius: 7px;
}
.pagination a:hover{
    background: #fc7a00;
    color: #fff;
}
.pagination span.current {
    padding: 7px 10px;
    background: #fc7a00;
    margin: 0 3px;
    border-radius: 7px;
    color: #fff;
    font-weight: bold;
}
/*========comments style ===============*/
.comments-box{
    margin: 30px 0;
    border: 1px solid #ddd;
    border-radius: 7px;
}
.comments-box h2.comment-reply-title {
    font-size: 20px;
    font-family: 'iransansBold';
    color: #777;
    margin: 10px auto;
    text-align: center;
}
.comments-box .comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.comments-box .comment-author a {
    color: #fc7a00;
    margin: 10px 0;
    display: inline-block;
}
.comments-box .comment-author img {
    border: 1px solid #ddd;
    margin: 0 15px;
    border-radius: 7px;
}
.comments-box .comment {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px;
    border-radius: 7px;
}
.comments-box .comment p{
    color: #666;
    line-height: 27px;
}
.comments-box .comment-meta.commentmetadata {
    margin: 10px 0;
}
.comments-box .comment-meta.commentmetadata a{
    color: #fc7a00;
}
.comments-box .reply a {
    display: inline-block;
    padding: 12px 40px;
    background: #fc7a00;
    color: #fff;
    border-radius: 14px;
    margin: 8px 0;
}
.comments-box .reply a:hover{
    background: #de6c00;
}
.comments-box form#commentform {
    padding: 10px 20px;
}
.comments-box p.comment-notes {
    margin: 10px auto;
    color: #fff;
    background: #fc7a00;
    display: inline-block;
    padding: 7px;
    border-radius: 7px;
    text-align: center;
    width: 100%;
}
.comments-box form textarea{
    width: 100%;
    height: 250px;
    border: 1px solid #ddd;
    margin: 10px auto;
    border-radius: 7px;
    outline: none;
    padding: 10px 20px;
    color: #777;
}
span.required {
    color: red;
}
.comments-box form input{
    outline: none;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 5px 15px;
    margin: 10px;
}
.comments-box form input[type='submit']{
    background: #fc7a00;
    border: none;
    padding: 7px 15px;
    color: #fff;
    cursor: pointer;
}
p.logged-in-as {
    margin-bottom: 8px;
}
p.logged-in-as a:hover{
    color: #fc7a00;
}
/*=================================*/
.sidebar-widget input[type='text'],.sidebar-widget input[type='email'],.sidebar-widget input[type='password'],.sidebar-widget input[type='tel'],.sidebar-widget input[type='number']{
    width: 100%;
    outline: none;
    border: 1px solid #ddd;
    padding: 7px 10px;
    border-radius: 7px;
    color: #777;
}
.sidebar-widget input[type='submit'] {
    background: #fc7a00;
    border: none;
    padding: 7px 15px;
    color: #fff;
    cursor: pointer;
    margin: 5px auto;
    display: flex;
    justify-content: center;
    border-radius: 7px;
}
img#gform_ajax_spinner_2 {
    width: 40px;
}
.gfield_captcha_container {
    width: 20%;
}
/*========= serach =================*/
.search-box{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
}
.search-box form input[type='text'] {
    width: 100%;
    padding: 7px 20px;
    outline: none;
    border: 1px solid #ddd;
    border-radius: 7px;
    height: 60px;
    background: #fc7a00;
    color: #fff;
    font-weight: bold;
}
.search-box form svg {
    position: absolute;
    left: 34px;
    top: 14px;
    color: #c1c1c1 !important;
    font-size: 30px;
    cursor: pointer;
}
.navigation {
    z-index: 100;
    position: fixed;
    left: 0;
    width: 300px;
    background: #18140a;
    top: 0;
    bottom: 0;
    display: none;
}
.icon-menu{
    display: none;
}
.navigation >ul {
    display: flex;
    flex-direction: column;
}
.navigation > ul > li {
    width: 100%;
    margin: 3px 0;
}
.navigation > ul > li > a {
    display: inline-block;
    padding: 7px 10px;
    color: #ddd;
}
.navigation ul li ul {
    background: #404040;
    padding: 6px 0;
    display: none;
}
.navigation ul li ul li{}
.navigation ul li ul li a {
    display: block;
    padding: 8px 20px;
    color: #eee;
}
.navigation ul li ul li a:hover{
    background: #444;
}
.sub-menu-arrow{
    float: left;
    color: #fc7a00;
    font-size: 20px;
    cursor: pointer;
    margin-left: 20px;
}


/*
=================================
            tabligh
=================================
*/
.tabligh .ads-box{
    z-index: 200;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    /*height: 70px;*/
    background: linear-gradient(90deg,#fc7a00, #fa2a24);
}

.ads-box a{
    display: block;
    padding: 20px 0;
    text-align: center;
    font-family: 'iransansBold', sans-serif;
    color: #fff;
    font-size: 25px;

}
.tabligh svg{
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 201;
}
.ads-box a h5{
    line-height: 35px;
}

.wrapper{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    z-index: 100;
    height: 100vh;
}
.wrapper .active-popup{
    width: 50%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.wrapper .active-popup img{
    width: 100%;
    height: auto;
}

#img-close {
    font-size: 30px;
    position: fixed;
    top: 12%;
    cursor: pointer;
    right: 22%;
    color: #fff;
    z-index: 101;
}

/*
=========================
        responcive
=========================
*/@media  screen and (max-width: 992px) {
    .about .box-about .img-about img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

}
@media  screen and (max-width: 768px) {
    .single{
        margin-top: 80px;
    }
    .icon-menu{
        display: block;
    }
    nav.menu{
        display: none;
    }
    .logo{
        justify-content: center;
    }
    .home{
        display: none;
    }
    .clip{
        margin: 50px 0;
    }
.wrapper .active-popup{
width:75%;
}
}
@media  screen and (max-width: 575px) {
    .title-site h1{
        font-size: 35px;
    }
    .about{
        margin: 50px 0;
    }
    .footer{
        text-align: center;
    }
    .copy-right p{
        line-height: 27px;
    }
    /*.title-desc{*/
    /*    text-align: center;*/
    /*    display: block;*/
    /*}*/
    .home{
        display: none;
    }
    .about .box-about .img-about img {
        margin-top: 20px;
    }
}