﻿@import url("fonts.css");

/*----------------------------------------*/
/*  General
/*----------------------------------------*/
body {
    font-family: IRANSans;
    font-size: 10.5pt;
    line-height: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: iranyekan;
}

.h1, h1 {
    font-size: 2rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.h5, h5 {
    font-size: 13.5pt;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

    a, a:hover, a:focus, a:visited {
        text-decoration: none;
    }

.text-sm {
    font-size: 9pt;
}

.text-red {
    color: red;
}
/*----------------------------------------*/
/*  Subject Colors
/*----------------------------------------*/
.border-problemSolving, .problem-solving-border:hover {
    border-color: #005700 !important;
}

.border-dataEfficiency, .data-sufficiency-border:hover {
    border-color: #550155 !important;
}

.border-reading, .comprehension-border:hover {
    border-color: #d78300 !important;
}

.border-reasoning, .reasoning-border:hover {
    border-color: #006064 !important;
}

.border-correction, .correction-border:hover {
    border-color: darkred !important;
}

.problem-solving-bg {
    background-color: #005700;
}

.data-sufficiency-bg {
    background-color: #550155;
}

.reasoning-bg {
    background-color: #006064;
}

.reading-bg {
    background-color: #e49212;
}

.correction-bg {
    background-color: darkred;
}

.problem-solving-text {
    color: #005700;
}

.data-sufficiency-text {
    color: #550155;
}

.reasoning-text {
    color: #006064;
}

.reading-text {
    color: #e49212;
}

.correction-text {
    color: darkred;
}

.parts-tabs .nav-tabs .nav-link {
    border-bottom: 5px solid transparent;
}

.parts-tabs .nav-tabs .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

    .parts-tabs .nav-tabs .nav-link.problem-solving.active, .nav-link.problem-solving:hover {
        border-bottom-color: #005700 !important;
    }

    .parts-tabs .nav-tabs .nav-link.data-sufficiency.active, .nav-link.data-sufficiency:hover {
        border-bottom-color: #550155 !important;
    }

    .parts-tabs .nav-tabs .nav-link.comprehension.active, .nav-link.comprehension:hover {
        border-bottom-color: orange !important;
    }

    .parts-tabs .nav-tabs .nav-link.reasoning.active, .nav-link.reasoning:hover {
        border-bottom-color: #006064 !important;
    }

    .parts-tabs .nav-tabs .nav-link.correction.active, .nav-link.correction:hover {
        border-bottom-color: darkred !important;
    }

.problem-solving .nav-pills .nav-link.active, .problem-solving .nav-pills .show > .nav-link {
    color: #005700;
    background-color: #fff;
    border: 1px solid #003D6D;
}

.problem-solving .nav-pills .nav-link:hover {
    color: #005700;
}

.data-sufficiency .nav-pills .nav-link.active, .data-sufficiency .nav-pills .show > .nav-link {
    color: #550155;
    background-color: #fff;
    border: 1px solid #550155;
}

.data-sufficiency .nav-pills .nav-link:hover {
    color: #550155;
}

.reasoning .nav-pills .nav-link.active, .reasoning .nav-pills .show > .nav-link {
    color: #006064;
    background-color: #fff;
    border: 1px solid #006064;
}

.reasoning .nav-pills .nav-link:hover {
    color: #006064;
}

.reading .nav-pills .nav-link.active, .reading .nav-pills .show > .nav-link {
    color: #d78300;
    background-color: #fff;
    border: 1px solid #d78300;
}

.reading .nav-pills .nav-link:hover {
    color: #d78300;
}

.correction .nav-pills .nav-link.active, .correction .nav-pills .show > .nav-link {
    color: darkred;
    background-color: #fff;
    border: 1px solid darkred;
}

.correction .nav-pills .nav-link:hover {
    color: darkred;
}

/*----------------------------------------*/
/*  Top Menu
/*----------------------------------------*/
.navbar-nav .nav-link {
    border-bottom: 5px solid transparent;
    padding-bottom: .25rem;
    font-size: 10.5pt;
}

@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.navbar-nav .nav-item {
    border-right: 1px solid #969696;
}

    .navbar-nav .nav-item:last-child {
        border-left: 1px solid #969696;
    }

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.logo-part {
    padding: 0 2px;
    background-color: #fff;
    color: #222;
    font-weight: 700;
}

    .logo-part:not(:last-child) {
        margin-right: -3px;
    }

/*----------------------------------------*/
/*  footer
/*----------------------------------------*/

footer {
    /*padding-top: 60px;*/
    padding-bottom: 20px;
    position: relative;
    color: #fff;
}

    footer:before {
        background: rgba(0, 0, 0, 0.8);
        content: "";
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    footer .footer-bottom {
        /*margin-top: 40px;*/
        padding: 20px 0;
        border-top: 1px solid #999999;
        position: relative;
        text-align: center;
        padding-bottom: 0;
    }

    footer .shortcuts {
        margin-bottom: 45px;
    }

    footer .page-links.multiple {
        columns: 2;
        list-style: disc;
        padding-right: 15px;
    }

        footer .page-links.multiple li {
            margin-bottom: 10px;
        }

    footer .page-links li {
        border-bottom: solid 1px #d9d7d73d;
        margin-left: 20px;
        list-style: none;
    }

        footer .page-links li a {
            color: #fff;
        }

    footer .social-links {
        padding-right: 15px;
        list-style: none;
    }

        footer .social-links li a {
            color: #FFF;
            font-size: 16px;
        }

/*----------------------------------------*/
/*  carousel
/*----------------------------------------*/
.carousel-inner img {
    width: 100%;
}

.carousel-item {
    margin-right: 0;
}

.carousel-control-next {
    left: 0;
    right: auto;
}

.carousel-item img {
    max-height: 500px;
}

.slide-text {
    position: absolute;
    top: 43%;
    left: 15%;
    color: #fff;
}

    .slide-text p:first-child {
        font-size: 90px;
        font-weight: 900;
    }

    .slide-text p:last-child {
        font-family: iranyekan;
        font-size: 23px;
        margin-top: 25px;
    }
/*----------------------------------------*/
/*  panel heading
/*----------------------------------------*/
.heading-panel {
    margin-bottom: 30px;
    overflow: hidden;
    text-align: center;
}

    .heading-panel h2 {
        color: #222;
        font-size: 28px;
        font-weight: 700;
        padding-bottom: 20px;
        position: relative;
        position: relative;
        z-index: 9;
    }

        .heading-panel h2::before {
            background-color: #242424;
            bottom: 6px;
            content: "";
            height: 1px;
            left: 0;
            margin: 0 auto;
            position: absolute;
            right: 0;
            width: 99px;
        }

    .heading-panel.white h2::before, .heading-panel.white h2::after {
        background-color: #fff;
    }

    .heading-panel h2::after {
        background-color: #242424;
        bottom: 0;
        content: "";
        height: 1px;
        left: 0;
        margin: 0 auto;
        position: absolute;
        right: 0;
        width: 59px;
    }

/*----------------------------------------*/
/*  Override
/*----------------------------------------*/
.navbar-nav .nav-link, .nav-tabs .nav-link {
    font-family: iranyekan;
}

.nav-tabs .nav-link {
    font-weight: 600;
}

.parts-tabs .tab-content > .tab-pane {
    padding: 20px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

.btn {
    font-size: 10pt;
}

.bg-light {
    background-color: #e6e6e6 !important;
}

.dropdown-menu {
    font-size: inherit;
}

.dropdown-toggle::after {
    margin-right: .5em;
}

.card-header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
/*----------------------------------------*/
/*  Others
/*----------------------------------------*/
.main-section {
    margin-bottom: 80px;
    position: relative;
}

.group-box {
    height: 167px;
    overflow: hidden;
    position: relative;
}

    .group-box h5 {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        margin-bottom: 0;
        padding: 6px 10px;
        background-color: rgba(0,0,0, 0.8);
        color: #fff;
        text-align: center;
    }

    .group-box img {
        height: 167px;
    }

    .group-box a:hover h5 {
        background-color: rgba(0,0,0, 0.9);
    }

.date-wrapper {
    text-align: center;
    border: 5px solid #f57f17;
    background-color: #fff59d;
}

.section-bg {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
}

    .section-bg > img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .section-bg:after {
        content: "";
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.3) 60%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.section-content {
    position: relative;
    z-index: 1;
}

.content-box {
    padding: 0 20px;
    margin: 50px 0;
    text-align: center;
}

    .content-box > img {
        width: 100%;
    }

    .content-box > p {
        background-color: #fff;
        margin-bottom: 0;
        padding: 10px;
    }

.news-content img {
    margin-bottom: 20px;
}

.page-title {
    padding: 0 12px;
    margin-bottom: 30px;
    border-right-width: 5px;
    border-right-style: solid;
}

.page-header {
    height: 150px;
    padding: 30px;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

    .page-header h1 {
        font-weight: 800;
    }

        .page-header h1.title-en {
            font-family: Arial;
        }

.part-box {
    height: 200px;
    padding: 60px 10px;
    color: #fff;
    text-align: center;
}

    .part-box h2 {
        font-weight: 800;
    }

        .part-box h2.title-en {
            font-family: Arial;
        }
