/* vazir font */
@import url('../fonts/primary-vazir.css');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    direction: rtl;
}

a {
    text-decoration: none;
}

body {
    font-family: vazir;
}

:root {
    --primary: #003285;
    --secondary: #ff7f3e;
    --third: #003386;
    --bg-caption-slider: rgba(5, 29, 105, 0.8);
    --font-color-primary: #3d3d3d;
}

.def-btn {
    border: none;
    outline: none;
    background-color: transparent;
    text-wrap: nowrap;
}

.more-btn {
    color: whitesmoke;
    font-size: 13px;
    display: flex;
    align-items: center;
}

    .more-btn svg {
        background-color: var(--secondary);
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .more-btn i {
        background-color: var(--secondary);
        padding: .5rem;
        margin-right: .25rem;
        border-radius: 10px;
        font-size: 1.125rem;
    }

    .more-btn:hover {
        text-decoration: none;
        color: white;
    }

.more-btn2 {
    margin-top: 10px;
    color: var(--secondary);
    background-color: #dee2eb;
    font-size: 13px;
    font-weight: bold;
    text-align: end;
    padding: 2px;
    border-radius: 10px;
    display: block;
}

    .more-btn2:hover {
        text-decoration: none;
        color: var(--secondary);
    }

    .more-btn2 svg {
        background-color: var(--secondary);
        color: whitesmoke;
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .more-btn2 i {
        background-color: var(--secondary);
        padding: .5rem;
        color: whitesmoke;
        margin-right: .25rem;
        border-radius: 10px;
        font-size: 1.125rem;
    }

.swiper {
    width: 100%;
}

.swiper-button-prev, .swiper-button-next {
    color: whitesmoke;
    background-color: var(--secondary);
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

    .swiper-button-prev::after, .swiper-button-next::after {
        font-size: 15px;
    }

/* --------- */

.h-date {
    background-color: var(--third);
    color: whitesmoke;
}

    .h-date span {
        font-size: 14px;
    }

.h-content {
    background-color: #dee2eb;
    background-image: url(../Images/patern.svg);
    background-position: center;
}

.h-logo {
    width: 150px;
}

    .h-logo img {
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

.h-links {
    gap: 20px;
}

    .h-links button {
        font-size: 15px;
        font-weight: bold;
        color: rgb(44, 44, 44);
    }

.shoar-sal {
    width: 100px;
}

    .shoar-sal img {
        width: 100%;
        height: 100%;
    }

.mobile-header {
    display: none;
}

@media (max-width: 992px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }
}

.mh-logo {
    width: 100px;
}

    .mh-logo img {
        width: 100%;
        height: 100%;
    }

.mh-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--third);
}

    .mh-actions h2 {
        color: whitesmoke;
        font-size: 16px;
        transform: translateY(5px);
    }

.mh-links {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

    .mh-links a {
        width: 100%;
        padding: 10px;
        color: var(--primary);
        text-decoration: none;
        font-size: 13px;
        transition: all 0.2s ease-in-out;
    }

.btn-close {
    color: white !important;
}

.mh-links a:hover {
    color: var(--secondary);
}

.mh-menu {
    background-color: var(--primary);
    color: whitesmoke;
    padding: 2px;
    border-radius: 5px;
}

    .mh-menu svg {
        width: 25px;
        height: 25px;
    }

.hero-img {
    width: 100%;
    height: 400px;
}

    .hero-img img {
        width: 100%;
        height: 100%;
        border-radius: 1rem;
    }

.hero-item {
    padding: .25rem;
    border-radius: 20px;
    box-shadow: -1px 3px 18px -9px rgba(42,98,154,0.75);
    -webkit-box-shadow: -1px 3px 18px -9px rgba(42,98,154,0.75);
    -moz-box-shadow: -1px 3px 18px -9px rgba(42,98,154,0.75);
    margin-bottom: 1rem;
}

.hero-icon {
    width: 80px;
    height: 80px;
}

@media (max-width: 768px) {
    .hero-img {
        width: 100%;
        height: 280px;
    }

    .hero-icon {
        width: 50px;
        height: 50px;
    }
}

.hero-icon img {
    width: 100%;
    height: 100%;
}

.hero-item-text {
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
    color: var(--primary);
}

@media (max-width: 576px) {
    .hero-item-text {
        font-size: 13px;
    }

    .hero-img {
        width: 100%;
        height: 180px;
    }
}

.news-item {
    height: fit-content;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: -1px 3px 18px -9px rgba(42,98,154,0.75);
    -webkit-box-shadow: -1px 3px 18px -9px rgba(42,98,154,0.75);
    -moz-box-shadow: -1px 3px 18px -9px rgba(42,98,154,0.75);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--third);
    border-radius: 15px;
    padding: 5px;
}

    .news-header h6 {
        font-size: 15px;
        border-bottom: 1px solid whitesmoke;
        padding-bottom: 3px;
        color: whitesmoke;
        transform: translateY(4px);
        margin-right: 7px;
    }

.news-card {
    display: flex;
    align-items: start;
    gap: 10px;
}

@media (max-width: 992px) {
    .news-card {
        display: flex;
        flex-direction: column;
    }
}

.news-img {
    width: 280px;
    height: 150px;
    border-radius: 7px;
    overflow: hidden;
    border: 3px solid var(--secondary);
}

    .news-img img {
        width: 100%;
        height: 100%;
    }

.news-content {
    padding-top: .5rem;
    width: 80%;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .news-content {
        width: 100%;
    }

    .news-img {
        width: 250px;
        height: 150px;
    }
}

.news-content span {
    font-size: 14px;
    color: black;
}

.news-content a {
    width: fit-content;
    font-size: 17px;
    text-decoration: none;
    color: var(--primary);
    transition: all 0.2s ease-in-out;
}

    .news-content a h2 {
        font-size: 17px;
    }

.news-content p {
    margin-top: 7px;
    font-size: 13px;
    color: rgb(126, 126, 126);
}

@media (max-width: 576px) {
    .news-content span {
        font-size: 12px;
    }

    .news-content a {
        font-size: 15px;
    }

    .news-content p {
        font-size: 12px;
    }

    .news-header h3 {
        font-size: 14px;
    }

    .more-btn {
        font-size: 12px;
    }
}

.news-item2 {
    border-radius: 12px;
    width: 24%;
    padding: 1.125rem;
    background-color: var(--primary);
    height: fit-content;
}

@media (max-width: 992px) {
    .news-item2 {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .news-item2 {
        width: 100%;
    }
}

.news-item2-title {
    width: fit-content;
    color: whitesmoke;
    font-size: 14px;
    border-bottom: 1px solid whitesmoke;
    padding-bottom: 3px;
    font-weight: 400;
}

.news-img2 {
    width: 100%;
    height: 200px;
}

    .news-img2 img {
        width: 100%;
        height: 100%;
    }

.news-blog-img {
    width: 100%;
    height: 150px;
    border-radius: 7px;
    overflow: hidden;
    border: 3px solid var(--secondary);
}

    .news-blog-img img {
        width: 100%;
        height: 100%;
    }

.news-blog a h3 {
    font-size: 14px;
    max-width: 200px;
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    margin-top: .5rem;
}

footer {
    background-color: var(--third);
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.f-links h5 {
    width: fit-content;
    font-size: 1.25rem;
    padding-bottom: 3px;
    color: var(--secondary);
    border-bottom: 1px solid var(--secondary);
}

.f-links ul {
    margin-top: 20px;
}

    .f-links ul li {
        width: fit-content;
        list-style-type: none;
        margin-bottom: 7px;
        transition: all 0.2s ease-in-out;
    }

        .f-links ul li:hover {
            transform: translateX(-3px);
        }

        .f-links ul li,
        .f-links ul li a,
        .f-links ul li i {
            font-size: 1rem;
            color: whitesmoke;
            text-decoration: none;
        }

.f-img {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px;
    margin-left: 10px;
}

    .f-img img {
        width: 100%;
        height: 100%;
    }

.f-content {
    opacity: .1;
    background-image: url(../Images/patern.svg);
    background-position: center;
    height: 100px;
    margin-bottom: 1rem;
}

.f-logo {
    width: 100px;
}

    .f-logo img {
        width: 100%;
        height: 100%;
    }

.loginbtn, .loginbtn:hover {
    color: white;
}

    .loginbtn i {
        padding-left: 4px;
    }

.logo-vista {
    content: url('/Content/Images/Logo-VistaRaya.Net-white-bg.png' );
    max-width: 200px;
}

    .logo-vista:hover {
        content: url('/Content/Images/Logo-VistaRaya.Net-white-bg.png');
        max-width: 200px;
    }

footer #footer-copyright {
    background-color: #022c55;
    padding: 1rem 0;
}

.swiper.slider .caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: var(--bg-caption-slider);
    color: #fff;
    padding-top: 1rem;
    padding-right: 25px;
    text-align: right;
    -webkit-border-bottom-left-radius: 1rem !important;
    border-bottom-left-radius: 1rem !important;
    -webkit-border-bottom-right-radius: 1rem !important;
    border-bottom-right-radius: 1rem !important;
}

    .swiper.slider .caption .slideCategory {
        top: -20px;
        right: 25px;
        font-size: 1rem;
        border-radius: 1rem;
        padding: 4px;
        padding-right: 4px;
        padding-left: 4px;
        background-color: var(--secondary);
    }

.swiper-slide .title {
    font-size: .875rem;
    color: white;
    margin-top: .5rem;
}

.card.two-color {
    background: linear-gradient( to right, white 0%, white 50%, #0c286e 50%, #0c286e 100% );
    -ms-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -webkit-border-radius: 1rem;
    border-radius: 1rem;
    -ms-box-shadow: 0 8px 20px 0 rgba(40, 39, 39, 0.18);
    -moz-box-shadow: 0 8px 20px 0 rgba(40, 39, 39, 0.18);
    -webkit-box-shadow: 0 8px 20px 0 rgba(40, 39, 39, 0.18);
    box-shadow: 0 8px 20px 0 rgba(40, 39, 39, 0.18);
    background-color: #fff;
    position: relative;
    border: none;
}

    .card.two-color::before {
        content: "";
        z-index: -1;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient( to right, rgba(40, 39, 39, 0.18) 0%, rgba(40, 39, 39, 0.18) 50%, #0c286e 50%, #0c286e 100% );
        filter: blur(20px);
        opacity: var(0.7);
        transition: opacity 0.3s;
        border-radius: inherit;
    }

.address-info {
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

    .address-info li {
        list-style: none;
        padding: 35px 60px 25px 60px;
    }

        .address-info li .fa {
            width: 65px;
            height: 65px;
            line-height: 65px;
            text-align: center;
            font-size: 24px;
            color: white;
            border: 2px solid white;
            border-radius: 50%;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            margin-left: 35px;
        }

        .address-info li h3 {
            color: white;
            font-size: 18px;
            font-weight: normal;
            line-height: 1.2;
        }

.btn-grad {
    background-image: linear-gradient(160deg, #091d39, #095581);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position .5s;
}


.navbar {
    padding-bottom: 0;
}

    .navbar ul.navbar-nav li.nav-item {
        margin-left: .5rem;
    }

        .navbar ul.navbar-nav li.nav-item a.nav-link {
            font-weight: 500;
            font-size: 1rem;
            color: var(--font-color-primary);
        }

.header-menu .navbar-nav .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    display: block;
    margin-right: -3rem;
    width: 15rem;
    transition: all 0.25s ease-out, opacity 0.25s ease-in, margin-right 0.25s ease-out, visibility 0.3s;
    border: none;
    border-radius: 0;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.header-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-right: 0;
}

.header-menu ul.dropdown-menu .dropdown-item {
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    border-right: 5px solid #eee;
    margin-right: -3px;
    width: 100%;
    text-align: center;
}

    .header-menu ul.dropdown-menu .dropdown-item a {
        padding: .25rem;
    }

    .header-menu ul.dropdown-menu .dropdown-item:hover {
        background-color: white;
        border-color: var(--secondary);
    }


.header-menu .dropdown-item {
    color: var(--bs-nav-link-hover-color);
}

.post-date ul {
    line-height: 1.5;
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

    .post-date ul li {
        display: inline-block;
        line-height: 1.5;
        margin-bottom: 8px;
        font-size: 14px;
        color: #111111;
        margin-left: 1rem;
        vertical-align: top;
    }

        .post-date ul li:last-child {
            margin-left: 0;
        }

ul.last-news {
    padding-right: 0;
    margin-right: 2.14285714em;
    list-style-type: none;
}

    ul.last-news li {
        position: relative;
        right: 0;
    }

        ul.last-news li i {
            position: absolute;
            right: -2.14285714em;
            width: 2.14285714em;
            top: 0.5em;
            text-align: center;
            font-size: .875rem;
        }

        ul.last-news li h6 {
            font-size: .9375rem;
        }

            ul.last-news li h6 a {
                color: var(--third);
            }

img.h-280 {
    height: 280px;
}

.covernews {
    position: relative;
    left: 0;
    right: 0;
    background-color: #113973;
    -webkit-border-radius: 15px !important;
    border-radius: 15px !important;
    -moz-border-radius: 15px !important;
    margin-top: -25px;
}

    .covernews span {
        color: #dedcdc !important;
        font-size: 14px !important;
    }

.title-news {
    color: var(--third);
    padding-top: .5rem;
    font-size: .9375rem;
    font-weight:500;
}

    .title-news:hover {
        color: var(--third);
    }

/*select2 start*/
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
    border-color: #111111 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

.select2-container--open.select2-container--below .select2-selection--single {
    border: 1px solid #dcdcdc;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: #111111 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

.select2-container--open.select2-container--above .select2-selection--single {
    border: 1px solid #dcdcdc;
}

.select2-container .select2-selection--single {
    height: 40px;
}

.select2-container--classic .select2-selection--single {
    background-color: #FFFFFF;
    background-image: none;
    border-radius: .375rem;
    border: 1px solid #ced4da !important;
    -moz-box-shadow: 0px -2px 0px var(--bg-primary-color);
    -webkit-box-shadow: 0px -2px 0px var(--bg-primary-color);
    box-shadow: 0px -2px 0px var(--bg-primary-color);
}

    .select2-container--classic .select2-selection--single .select2-selection__rendered {
        line-height: 40px;
        font-weight: 400 !important;
    }

    .select2-container--classic .select2-selection--single .select2-selection__arrow {
        top: 7px;
        background-color: transparent;
        background-image: none;
        border-style: none;
        left: 5px;
    }

.select2-container--classic .select2-dropdown {
    border: 1px solid #dcdcdc !important;
    border-radius: 0;
}

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
    background-color: var(--third);
    color: #ffffff;
    font-weight: 600;
}

.select2-container--classic.select2-container--open .select2-selection--single {
    border: 1px solid #dcdcdc;
}

.select2-container--classic .select2-selection--single:focus {
    border: 1px solid #dcdcdc;
}

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
    background-image: none;
    background-color: #FFFFFF;
}

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
    background-image: none;
    background-color: #FFFFFF;
    border-top: 1px solid #dcdcdc;
}

.select2-container--classic .select2-dropdown {
    width: 160px !important;
    z-index: 8;
    border-radius: 0 0 .375rem .375rem;
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
    -moz-border-radius: .375rem;
    -webkit-border-radius: .375rem;
    border-radius: .375rem;
    text-align: right;
    padding: .5rem 1rem;
}

.select2-container--classic .select2-results > .select2-results__options {
    scrollbar-color: var(--secondary) #e0e0e0;
    scrollbar-width: thin;
    direction: rtl;
}
/*select2 end*/
