@charset "utf-8";
@font-face {
    font-family: 'IranSansWeb';
    src: url(../fonts/woff2/IRANSansWeb.woff) format('woff2'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url(../fonts/eot/IRANSansWeb.eot?#) format('eot'), /* IE6–8 */
    url(../fonts/woff/IRANSansWeb.woff) format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url(../fonts/ttf/IRANSansWeb.ttf) format('truetype');
    /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}


/* CSS Document */

body {
    background: url(../image/back-site.jpg) right top no-repeat #ebe7ce;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'IranSansWeb';
    direction: rtl;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1140px !important;
    }
}

@media (max-width: 1024px) {
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1000px !important;
    }
}

@media (max-width: 992px) {
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 960px !important;
    }
}

@media (max-width: 768px) {
    .container-md,
    .container-sm,
    .container {
        max-width: 720px !important;
    }
    body,
    div,
    p {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .container-sm,
    .container {
        max-width: 540px !important;
    }
}

a {
    text-decoration: none !important;
    color: #000 !important;
}

p {
    text-align: justify !important;
}

.main-menu {
    border-bottom: 3px solid #333;
}

.main-menu ul li {
    padding: 1rem 2rem;
}

.main-menu ul li:first-child {
    padding-right: 0;
}

.main-menu ul li a {
    clear: both;
    position: relative;
    font-weight: 400;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.main-menu ul li a:hover {
    clear: both;
    color: #900 !important;
    font-weight: 900;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.main-menu ul li a.active {
    color: #900 !important;
    font-weight: 900;
}

.main-menu ul li a::after {
    content: '';
    display: block;
    position: absolute;
    width: 2px;
    height: 10px;
    bottom: 0.5rem;
    left: -2rem;
    background-color: #900;
}

.main-menu ul li:last-child a::after {
    display: none;
}

.home-content {
    background: rgba(255, 255, 255, 0.8);
    border-radius: .75rem;
}

.home-content .main-page-title,
.home-contact .main-page-title {
    font-weight: 900;
    border-bottom: 3px solid #900;
}

.home-content .main-page-content {
    height: calc(100% - 1rem);
}

.home-content .main-page-content .Newses {
    height: inherit;
}

.home-content .main-page-content .new-pics {
    height: 100%;
}

.home-content .main-page-content .new-pics img {
    width: 100%;
    height: auto;
    max-height: 340px;
}

.home-content .main-page-content .new-pics a {
    display: block;
    margin: .5rem;
}

.home-contact {
    background: rgba(255, 255, 255, 0.8);
    border-radius: .75rem;
    background: url(../image/back-etelaat.png) no-repeat;
    background-size: cover;
    background-position: center center;
}

.home-contact .contacts {
    height: inherit;
    justify-content: end;
}

@media (min-width: 992px) {
    .home-content-center {
        margin: 0 10px;
        width: calc(50% - 20px) !important;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 !important;
    }
    .main-menu {
        flex-direction: row-reverse !important;
    }
    .mr-lg-2 {
        margin-right: .75rem !important;
    }
}

@media (max-width: 991px) {
    .home-contact {
        background: rgba(255, 255, 255, 0.8);
    }
    .home-contact .main-page-content {
        height: calc(100% - 1rem) !important;
    }
    .navbar-expand-lg .navbar-nav li {
        padding: 1rem !important;
    }
    .navbar-expand-lg .navbar-nav li:first-child {
        padding: 1rem !important;
    }
    .navbar-expand-lg .navbar-nav li a:after {
        display: none;
    }
    .navbar {
        background: rgba(255, 255, 255, 0.8);
    }
    .navbar .navbar-collapse {
        z-index: 1000;
        position: absolute;
        top: 162px;
        background: rgba(255, 255, 255, 0.95);
        width: calc(100% - 1rem) !important;
        border-top: 1px solid;
    }
    .navbar .navbar-collapse ul {
        width: calc(100% - 2rem) !important;
    }
    .navbar .navbar-collapse ul li {
        border-bottom: 1px solid #999;
    }
}

.navbar-toggler {
    background: #fff !important;
    padding: 1rem !important;
}

.navbar-toggler-icon {
    width: 2.5rem !important;
}

.nav-link {
    padding: 0 !important;
}


/*ABOUT NEW*/

.about-title {
    height: 50px;
    border-bottom: 3px solid #333;
}

.about-title>div {
    height: inherit;
    align-items: center;
    display: flex;
}

.about-title a {
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.about-title a:hover {
    color: #900 !important;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.about-content span {
    color: #900 !important;
}

.about-h-pic {
    overflow: hidden;
    position: relative;
    background: #fff;
    width: calc(25% - 10px);
}

@media (max-width: 991px) {
    .about-h-pic {
        width: calc(50% - 10px);
    }
}

.about-h-pic::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10rem;
    height: 5rem;
    background: #fff;
    transform-origin: 0 0;
    transform: rotate(45deg);
    box-shadow: inset 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15) !important;
}

.about-h-pic img {
    width: 100%;
    height: 100%;
}

.about-t {
    border-bottom: .25rem solid #900;
}

.about-t:last-child {
    border-bottom: none;
}

.about-t-pic {
    max-width: 200px;
}

.abotu-t-name {
    color: #900;
}

.about-t-gallery img {
    border: .25rem solid #900;
}

.gallery-box {
    width: calc(25% - 10px);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.gallery-box img:hover {
    transform: scale(1.05);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media (max-width: 991px) {
    .gallery-box {
        width: calc(50% - 10px);
    }
}

.gallery-box .gallery-pic {
    width: 100%;
    height: 100%;
    display: initial;
}

.gallery-box .gallery-pic img {
    overflow: hidden;
    width: 100%;
    transition: all 0.5s ease-in-out;
}

.gallery-box p {
    margin: 0;
}

.gallery-box p span {
    font-weight: 900;
    color: #900;
}

.contact-back {
    background: url(../image/contact-01.png) top left no-repeat;
}

.contact-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: .75rem;
    padding: 1rem;
}

.contact-box .contact-title {
    font-weight: 900;
    color: #900;
}

.contact-box hr {
    background: #900;
}

input::placeholder,
textarea::placeholder {
    color: #999 !important;
    font-size: .8em;
}

.form-box {
    width: calc(50% - 0.25rem);
}

@media (max-width: 768px) {
    .form-box {
        width: 100%;
    }
}


/*       OLD-SITE      */

.Top-Menu {
    vertical-align: bottom;
    text-decoration: none;
    padding: 0 20px;
    float: right;
    background: url(../image/Noghte-Menu-Top.jpg) left 7px no-repeat;
}

.Top-Menu a {
    vertical-align: bottom;
    text-decoration: none;
    padding: 0 10px;
    color: #000;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.Top-Menu a:hover {
    vertical-align: bottom;
    text-decoration: none;
    padding: 0 10px;
    color: #600;
    text-shadow: 1px 1px 1px #333;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.Top-Menu-Noghte {
    vertical-align: bottom;
    padding: 0 10px;
}

.tazeha-home {
    width: 530px;
    height: 350px;
    box-shadow: #999 2px 2px 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.news-home {
    width: 250px;
    height: 350px;
    box-shadow: #999 2px 2px 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.p-news-home {
    padding: 0 10px 0 0;
    text-shadow: 1px 1px 1px #400;
}

.news-etelaat {
    width: 250px;
    height: 350px;
    background: url(../image/back-etelaat.png) no-repeat;
}


/*********************************************/

.BOTTOM-Menu {
    height: 50px;
    font-size: .9rem;
}

.BOTTOM-Menu .row {
    border-top: #900 solid 2px;
}

.BOTTOM-Menu a {
    text-decoration: none;
    color: #000;
}

.BOTTOM-Menu a:hover {
    text-decoration: none;
    color: #600;
}

.BOTTOM-Menu ul {
    margin: 0;
    padding: 0;
}

.BOTTOM-Menu ul li {
    float: right;
    list-style: none;
    padding: 0 0.5rem;
}

.BOTTOM-Menu ul li:last-child {
    padding-left: 0;
}

.BOTTOM-Menu ul li a {
    position: relative;
}

.BOTTOM-Menu ul li a::after {
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    height: 10px;
    bottom: 7px;
    left: -7px;
    background-color: #900;
}

.BOTTOM-Menu ul li:last-child a::after {
    display: none;
}


/*****************   GALLERY   ***************************/

.gallery-Menu {
    width: 300px;
    color: #000;
    text-align: center;
}

.gallery-Menu a {
    color: #000;
    text-align: center;
    text-decoration: none;
}

.gallery-Menu a:hover {
    color: #900;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 1px #333;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.back-gallery-detailsV {
    width: 48%;
    height: auto;
    vertical-align: top;
    box-shadow: #999 2px 2px 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.back-gallery-detailsV li {
    list-style: disc;
    color: #900;
    line-height: 35px;
}

.back-gallery-detailsH1 {
    height: auto;
    vertical-align: top;
    box-shadow: #999 2px 2px 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.back-gallery-detailsH1 li {
    list-style: disc;
    color: #900;
    line-height: 35px;
}

.back-gallery-detailsH2 {
    height: auto;
    vertical-align: top;
    box-shadow: #999 2px 2px 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.back-gallery-detailsH2 li {
    list-style: disc;
    color: #900;
    line-height: 35px;
}


/************************** NEWS ********************/

.img-News img {
    transition: all 0.5s ease-in-out;
    -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;
}

.date-News {
    font-size: .7rem;
    text-align: left;
    margin-right: 10px;
    color: #900;
}

.title-News {
    padding-bottom: .5rem;
    font-weight: 900;
    transition: all 0.5s ease-in-out;
}

.matn-News {
    color: #666;
    text-align: justify;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-box .title-News,
.news-box .matn-News,
.news-box .date-News {
    font-size: 1rem !important;
}

.news-box .matn-News {
    -webkit-line-clamp: 2;
}

.news-Edame {
    text-align: left;
    padding-top: 1rem;
}

.news-Edame a {
    color: #666 !important;
    position: relative;
    padding-left: 1rem;
    transition: all .5s ease-in-out;
}

.news-Edame a:hover {
    font-weight: 900;
    padding-left: 1.2rem;
    color: #900 !important;
    text-decoration: underline;
    transition: all .5s ease-in-out;
}

.news-Edame a::after {
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: 0.5rem;
    left: 0;
    border-bottom: 5px double #666;
    border-left: 5px double #666;
    transform: rotate(45deg);
    transition: all .5s ease-in-out;
}

.news-Edame a:hover::after {
    left: .2rem;
    border-color: #900;
    transition: all .5s ease-in-out;
}

.Newses div:hover .title-News {
    color: #900 !important;
    transition: all 0.5s ease-in-out;
    -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;
}

.news-box .home-content {
    transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
}

.news-box .home-content:hover {
    background: rgba(255, 255, 255, 1);
    transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
}

.news-box .home-content:hover img {
    border-radius: 20px;
    transition: all 0.5s ease-in-out;
    -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;
}

.news-box .home-content:hover .title-News {
    color: #900 !important;
    transition: all 0.5s ease-in-out;
    -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;
}

.contact-Matn {
    height: auto;
    vertical-align: top;
    padding: 10px;
    box-shadow: #999 2px 2px 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.NewsTO {
    width: 1050px;
    height: 120px;
    margin: 0 5px;
    padding: 10px 0;
    border-bottom: 2px solid #900;
}

.newsPicTO {
    width: 110px;
    height: 110px;
    background: url(../image/back-border.jpg) bottom left no-repeat #FFF;
    float: right;
    position: relative;
    padding: 5px;
    margin: 0 5px;
    color: #FFF;
}

.newsDateTO {
    color: #333;
    line-height: 25px;
    margin: 0 10px;
    text-align: left;
}

.newsContentTO2 {
    width: 120px;
    height: 110px;
    float: right;
    position: relative;
    margin: 0 5px;
    text-align: left;
}

.newsContentTO2 li {
    list-style: url(../image/icon-news.jpg);
    margin-right: 10px;
    color: #900;
}

.newsContentTO {
    width: 770px;
    height: 110px;
    float: right;
    position: relative;
    margin: 0 5px;
}

.newsContentTO a:link {
    text-decoration: none;
    color: #111;
}

.newsContentTO a:hover {
    text-decoration: none;
    color: #900;
}

.newsTitleTO {
    margin: 0 10px;
    text-align: right;
}

.newsMatnTO {
    color: #444;
    margin: 0 10px 5px 10px;
    text-justify: auto;
    text-align: justify;
}


/************************ History **********************/

.history {
    box-shadow: #999 2px 2px 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px;
    text-align: justify;
    float: right;
}

.history-Titr {
    text-justify: justify;
    border-bottom: #900 1px solid;
}

.history-Pic {
    padding: 10px;
    background: url(../image/back-border.jpg) bottom left no-repeat #FFF;
}

.Ostad-Titr {
    text-align: left;
    color: #900;
    width: 100px;
    vertical-align: top;
    list-style: disc;
}

.Ostad-Matn {
    text-align: right;
    padding: 0 10px;
}


/*************** FORM ************************/

.fileFild {
    direction: ltr;
    width: 350px;
    box-shadow: #600 1px 1px 1px;
    background: #FFF;
}

.inline {
    color: #C00;
    display: inline-block;
    font-size: .6rem;
    height: 20px;
    width: 100%;
}

.result-true {
    color: #090;
    font-size: .6rem;
    height: 20px;
    width: 100%;
}

.result-false {
    color: #C00;
    font-size: .6rem;
    height: 20px;
    width: 100%;
}