/* vazir font */
@import url('../fonts/primary-vazir.css');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: vazir;
}

:root {
    --primary: #6f9a8d;
    --secondary: #1f6650;
}

a {
    text-decoration: none;
    color: var(--bs-body-color);
}

ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.def-btn {
    border: none;
    outline: none;
    background-color: transparent;
    text-wrap: nowrap;
    color: whitesmoke;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

    .def-btn:hover {
        color: white;
    }

.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;
    }

/* --------- */

.dh-top {
    background-color: hsl(164, 48%, 95%);
}

.dh-logo {
    width: 200px;
    padding: .5rem 0;
}

.dh-logo2 {
    width: 170px;
    height: 80px;
    top: 3rem;
    left: 0;
}

.dh-logo img {
    width: 100%;
    height: 100%;
}

.dh-img {
    width: 120px;
    height: 90px;
}

    .dh-img img {
        width: 100%;
        height: 100%;
    }

.dh-bottom {
    background-color: #127d0e;
}

.dh-links a {
    margin-left: 15px;
}

    .dh-links a:hover {
        color: white;
    }

.dh-form {
    position: relative;
    margin-left: 3rem;
}

    .dh-form input {
        background-color: whitesmoke;
        border: none;
        outline: none;
        border-radius: 10px;
        color: var(--secondary);
        padding: 2px 10px;
        font-size: 14px;
    }

    .dh-form button {
        position: absolute;
        top: 0;
        left: 5px;
        border: none;
        outline: none;
        background-color: transparent;
        color: rgb(73, 73, 73);
    }

.main-menu .nav-link {
    color: white !important;
}

.note-box .nav-link {
    color: white;
}

.dh-date {
    font-size: .875rem;
    position: absolute;
    left: 0;
    top: .5rem;
}

.main-menu .dropdown-item .nav-link,
.main-menu .dropdown-item .nav-link:hover {
    color: black !important;
}

.mobile-header {
    display: none;
}

    .mobile-header .navbar .nav-item:hover {
        background-color: #d1eee570;
    }

    .mobile-header .h-content {
        background-color: var(--primary);
    }

    .mobile-header .h-date {
        background-color: white;
    }

.mh-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mh-menu {
    background-color: whitesmoke;
    padding: 3px 7px;
    border-radius: 5px;
    color: var(--primary);
    font-weight: bold;
}

    .mh-menu svg {
        width: 22px;
        height: 22px;
    }

.mh-logo {
    width: 100px;
    height: 100px;
}

    .mh-logo img {
        width: 100%;
        height: 100%;
    }

.mh-actions {
    background-color: var(--primary);
    margin-bottom: 10px;
}

.mh-title {
    font-size: 1.2rem;
    color: whitesmoke;
    transform: translateY(3px);
}

.mh-input {
    border: 2px solid var(--primary);
    border-radius: 5px;
    outline: none;
    padding: 5px 10px;
    font-size: 14px;
    color: var(--primary);
    background-color: whitesmoke;
}

.mh-links {
    display: flex;
    flex-direction: column;
}

    .mh-links a {
        width: 100%;
        padding: 10px;
        color: rgb(65, 65, 65);
        text-decoration: none;
        font-size: 14px;
        transition: all 0.2s ease-in-out;
    }


@media (max-width: 992px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }
}

/* hero */

.carousel-item {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 420px;
}

.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

    .carousel-caption-custom h3 {
        font-size: 1rem;
        color: white;
    }

@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
        margin-bottom: 10px;
    }
}

@media (max-width: 992px) {
    .carousel-item {
        height: 350px;
        margin-bottom: 10px;
    }
}

.carousel-item img {
    width: 100%;
    height: 100%;
}

.carousel-control-prev {
    color: var(--secondary);
    background: whitesmoke;
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: 50%;
    left: 20px;
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
    z-index: 100;
}

    .carousel-control-prev:hover {
        color: var(--secondary);
        background: whitesmoke;
        opacity: 1;
    }

.carousel-control-next {
    color: var(--secondary);
    background: whitesmoke;
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
    z-index: 100;
}

    .carousel-control-next:hover {
        color: var(--secondary);
        background: whitesmoke;
        opacity: 1;
    }

.hero-item {
    display: flex;
    gap: 10px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px -5px rgba(111,154,141,1);
    -webkit-box-shadow: 0px 0px 15px -5px rgba(111,154,141,1);
    -moz-box-shadow: 0px 0px 15px -5px rgba(111,154,141,1);
}

    .hero-item a {
        text-decoration: none;
        color: rgb(77, 77, 77);
        font-size: 14px;
        font-weight: bold;
        margin-top: 5px;
    }


        .hero-item a:hover {
            color: rgb(77, 77, 77);
        }

.hero-item-img {
    border-radius: 15px;
    overflow: hidden;
    width: 130px;
    height: 95px;
    flex-shrink: 0;
}

    .hero-item-img img {
        width: 100%;
        height: 100%;
    }

.news-item {
    height: fit-content;
}

.news-item-content {
    padding: 1rem;
    background-color: whitesmoke;
}

.news-header {
    display: flex;
}

    .news-header h6 {
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--primary);
    }

.news-card {
    display: flex;
    align-items: start;
    gap: 10px;
}

@media (max-width: 992px) {
    .news-card {
        display: flex;
        flex-direction: column;
        align-items:center;
    }
}

.news-img {
    width: 200px;
    height: 130px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}

    .news-img img {
        width: 100%;
        height: 100%;
    }

.news-content {
    height: fit-content;
    display: flex;
    flex-direction: column;
}

    .news-content a {
        width: fit-content;
        text-decoration: none;
        color: black;
        transition: all 0.2s ease-in-out;
    }

        .news-content a h2 {
            font-size: 1rem;
        }

        .news-content a:hover {
            transform: translateX(-3px);
        }

    .news-content p {
        margin-top: 7px;
        font-size: 13px;
        color: rgb(126, 126, 126);
    }

.news-item2-content {
    background-color: var(--primary);
    border-radius: 20px;
    padding: 10px;
}

.news-card2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    background-color: white;
    border-radius: 15px;
}

.news-img2 {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

    .news-img2 img {
        width: 100%;
        height: 100%;
    }

.news-content2 {
    height: fit-content;
    margin-top: 10px; 
}

    .news-content2 a {
        width: fit-content;
        font-size: 13px;
        text-decoration: none;
        color: black;
        transition: all 0.2s ease-in-out;
        display: inline-block;
    }

    .news-content2 p {
        margin-top: 7px;
        font-size: 12px;
        color: rgb(126, 126, 126);
        display: inline-block;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        margin-bottom:.5rem;
    }

.news-item3-content {
    background-color: var(--primary);
    border-radius: 20px;
    padding: 10px;
    height: max-content;
}

.new-item3-img {
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .new-item3-img {
        width: 100%;
        height: 200px;
    }
}

.new-item3-img img {
    width: 100%;
    height: 100%;
}

.news-item3 h2 {
    color: whitesmoke;
    font-size: 1.3rem;
    font-weight: bold;
}

.note-box {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--primary);
    height:100%;
}

.note-box-header {
    display: flex;
    align-items: center;
}

.text {
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.text-left {
    background-color: #e4fff7;
    color: var(--primary);
}

.note-box-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    padding-top: 0;
    border-radius: 10px;
    overflow-y: scroll;
    height: 400px;
}

.note-box-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 15px 7px;
    border-bottom: 2px dashed rgb(196, 196, 196);
}

.note-box-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

    .note-box-img img {
        width: 100%;
        height: 100%;
    }

.note-box-item a {
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    color: rgb(81, 81, 81);
}

.news-image-box {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 400px;
}

    .news-image-box img {
        width: 100%;
        height: 100%;
    }

@media (max-width: 992px) {
    .news-image-box {
        height: 200px;
    }
}

.news-image2-box {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 195px;
    object-fit: cover;
}

    .news-image2-box img {
        width: 100%;
        height: 100%;
    }

.news-image-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 10px 15px 10px;
    background-color: #00000078;
}

    .news-image-content a {
        text-wrap: wrap;
        color: white;
        text-decoration: none;
        font-size: 14px;
    }

.bg-media {
    background-color: var(--secondary);
    padding: 20px;
}

.media-title {
    font-size: 1rem;
    color: whitesmoke;
}

    .media-title span {
        background-color: whitesmoke;
        color: var(--secondary);
        padding: 0px 15px;
        border-radius: 20px;
        margin-left: 10px;
    }


.media-box {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    /*height: 130px;*/
    object-fit: cover;
}

    .media-box img {
        width: 100%;
        height: 100%;
    }

.ads-content {
    background-color: var(--primary);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

    .ads-content h3 {
        font-size: 1.2rem;
        color: whitesmoke;
    }

footer {
    background-color: var(--secondary);
}

.f-background {
    background-image: url('../Images/mazna-08.svg');
    background-position: left -70px;
    background-repeat: no-repeat;
    background-size: 260px;
}

.f-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-logo {
    width: 300px;
}

    .f-logo img {
        width: 100%;
        height: 100%;
    }

ul.f-socialmedia {
    margin-bottom: 0;
    padding-right: 0;
}

    ul.f-socialmedia li {
        display: inline-block;
        margin-left: 5px;
        margin-bottom: 8px
    }

        ul.f-socialmedia li:last-child {
            margin-left: 0
        }

        ul.f-socialmedia li a {
            width: 40px;
            height: 35px;
            font-size: 1.125rem;
            line-height: 40px;
            text-align: center;
            color: #fff;
            display: block;
            -webkit-transition: all .5s ease-out;
            -moz-transition: all .5s ease-out;
            -ms-transition: all .5s ease-out;
            -o-transition: all .5s ease-out;
            transition: all .5s ease-out
        }

.f-copyright p {
    font-size: 14px;
    color: black;
}

.note-box .nav-pills .nav-link.active {
    background-color: rgb(228, 255, 247);
    color: var(--primary);
}

.logo-vista {
    content: url('/Content/Images/Logo-VistaRaya.Net-gray.png' );
    max-width: 200px;
}

    .logo-vista:hover {
        content: url('/Content/Images/Logo-VistaRaya.Net.png');
        max-width: 200px;
    }

li.pm-Internal {
    position: relative;
    bottom: 18px;
    left: 0;
    width: 30px;
}

    li.pm-Internal a {
        background-position: center center;
        background-repeat: no-repeat;
    }

.eita {
    background-image: url('../Images/eita-hover.png');
}

.sorosh {
    background-image: url('../Images/sorosh-hover.png');
}

.bale {
    background-image: url('../Images/bale-hover.png');
}


/*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(--secondary);
    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*/

.custome-card {
    box-shadow: 0px 0px 15px -5px rgba(111,154,141,1);
    -webkit-box-shadow: 0px 0px 15px -5px rgba(111,154,141,1);
    -moz-box-shadow: 0px 0px 15px -5px rgba(111,154,141,1);
    border: none;
}

.last-news-scrollable {
    max-height: 470px !important;
	overflow: auto;
}

.list-news ul {
    padding-right: 0;
    margin-right: 2.14285714em;
    list-style-type: none;
}

    .list-news ul li {
        position: relative;
    }

        .list-news ul li i {
            position: absolute;
            right: -2.14285714em;
            width: 2.14285714em;
            top: 0.14285714em;
            text-align: center;
            font-size: 15px;
        }

.post-date ul {
    line-height: 1.5;
}

    .post-date ul li {
        display: inline-block;
        line-height: 1.5;
        margin-bottom: 8px;
        font-size: 12px;
        margin-left: 15px;
        vertical-align: top;
    }

        .post-date ul li:last-child {
            margin-left: 0;
        }

.list-news h6 a:hover {
    color: var(--secondary);
}

h5.news-headline {
    font-size: 15px;
}

.news-detail .post-date ul li {
    font-size: 14px;
}

.news-detail .news-subtitle {
    font-size: 15px;
}

h2.title-semibold-dark {
    font-weight: 600;
    font-size: 20px;
}

ul.news-social {
    padding-top: 14px;
}

    ul.news-social li {
        display: inline-block;
        margin-left: 5px;
    }

        ul.news-social li a {
            height: 35px;
            width: 35px;
            line-height: 32px;
            display: block;
            text-align: center;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
            border-radius: 5px;
            -webkit-transition: all 0.5s ease-out;
            -moz-transition: all 0.5s ease-out;
            -ms-transition: all 0.5s ease-out;
            -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
            color: #787878;
        }

            ul.news-social li a:hover {
                background-color: #1f6650;
                color: #FFFFFF;
            }

.show-news li.pm-Internal {
    bottom: 18px;
}

.eita {
    background-image: url('../Images/eita-hover.png');
}

    .eita:hover, .show-news .eita:hover {
        background-image: url('../Images/eita-hover.png');
    }

.show-news .eita {
    background-image: url('../Images/eita-gray.png');
}

.sorosh {
    background-image: url('../Images/sorosh-hover.png');
}

    .sorosh:hover, .show-news .sorosh:hover {
        background-image: url('../Images/sorosh-hover.png');
    }

.show-news .sorosh {
    background-image: url('../Images/sorosh-gray.png');
}

.bale {
    background-image: url('../Images/bale-hover.png');
}

    .bale:hover, .show-news .bale:hover {
        background-image: url('../Images/bale-hover.png');
    }

.show-news .bale {
    background-image: url('../Images/bale-gray.png');
}

ul.news-social {
    padding-top: 14px;
}

ul.blog-tags {
    margin-bottom: 30px;
    margin-top: 30px;
}

    ul.blog-tags li {
        font-size: 13px;
    }

        ul.blog-tags li a {
            border: 1px solid #dcdcdc;
            display: block;
            padding: 3px 10px;
            color: #444444;
            -webkit-transition: all 0.5s ease-out;
            -moz-transition: all 0.5s ease-out;
            -ms-transition: all 0.5s ease-out;
            -o-transition: all 0.5s ease-out;
            transition: all 0.5s ease-out;
        }

            ul.blog-tags li a:hover {
                color: #FFFFFF;
                background-color: var(--secondary);
                border: 1px solid var(--secondary);
            }

        ul.blog-tags li:first-child {
            border: 1px solid var(--secondary);
            padding: 3px 15px;
            background-color: var(--secondary);
            color: #FFFFFF;
            font-size: 14px;
        }

ul.item-inline li {
    margin-left: 3px;
    float: right;
    display: inline-block;
    margin-bottom: 3px;
}
.logo-area{
    width:200px;
    height:100px;
}