@font-face {
    font-family: Vazir;
    src: url("../font/Vazir/Vazir.woff") format("woff");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Vazir;
    background: #ffffff;
}

.colr_nav {
    background-color: #374a7d;
    padding-top: 2px;
    padding-bottom: 4px;
}

.search-form input {
    border-radius: 9px;
    background-color: #0c7479;
    width: 70%;
}

input::placeholder {
    text-align: right;
    color: white;
}

.search-form_color i {
    position: absolute;
    top: 5px;
    right: 55%;
}

.arrow svg {
    color: white;
}

.colr_nav img {
    margin-top: 2px;
    margin-left: 10px;
    height: 20px;
    width: 20px;
}

.color-header {
    background-color: #4b5c8a;
    padding-top: 60px;
}

.nav-link ul li {
    list-style: none;
    font-size: 20px;
}

.dh-header {
    background-color: #374a7d !important;
    border-radius: 8px 8px 0 0;
    height: 120px !important;
}

.nav-link ul li a {
    text-decoration: none;
    color: white;
    margin-left: 10px;

}

.nav-link ul li a {
    text-decoration: none;
    color: white;
    margin-left: 30px;
}

.nav-link ul li a:hover {
    transform: scale(1.1);
    color: #a3dadded;

}

.dh-nav {
    /* margin-right: 2rem; */
}

.nav-link {

    margin-top: 3.5rem;
}

.nav-logo {
    width: 170px;
    height: 120px;
    background-color: #4b5c8a;
    margin-bottom: 23px;
    border-radius: 17px;

}

.nav-logo img {
width: auto;
  height: 206px;
  position: absolute;
  left: 76%;
  top: -57px;
}

.img-slid {
    width: 100%;
    border-radius: 10px;
    /* max-width: 700px;
    max-height: 400px; */

}


.carousel-indicators {
    position: absolute;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: 0;
    top: 15px;
    width: 100px;
    right: unset;
    left: 10px;
}

.swiper-wrapper {
    position: relative;
    z-index: 1;
}

.carousel-caption-custom {
    position: absolute;
    background: linear-gradient(90deg, #d3d3d3, #ffffff);
    bottom: 30px;
    right: 0;
    left: 0;
    padding: 10px 15px;
    opacity: 0.9;
}

.carousel-caption-custom p {
    text-align: center;
    font-size: 23px;
    font-weight: bold;
}

.slide-border {
    width: 5px;
    height: 100%;
    background-color: #4b5c8a;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 8px;
    top: 0;
}

carousel-inner p {
    padding: 25px;
    position: absolute;
    top: 82%;
    right: 2%;
    align-items: center;
    color: rgb(0, 0, 0);
    font-size: 25px;
    background-color: white;
    border-radius: 15px
}

.nav_carousel {
    position: relative;
}

.carousel-indicators [data-bs-target] {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px #4b5c8a solid !important;
    transition: .5s width ease-out;
    background-color: #ffffff;
}

.most-viewed-card {
    background: #f2f2f2;
    border-radius: 12px;
    padding: 15px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    direction: rtl;
    font-family: Vazir;
}


.most-viewed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.most-viewed-header .title {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
    color: #111;
}


.most-viewed-header .icon {
    color: #1aa3a3;
    font-size: 35px;
    margin-left: 6px;
}


.show-all-btn {
    background: #0c7479;
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}


.most-viewed-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.most-viewed-list li {
    position: relative;
    padding: 8px 12px 8px 0;
    font-size: 14px;
    line-height: 1.8;
    color: #222;
    cursor: pointer;
}


.most-viewed-list li::before {
content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 3px;
  height: 62%;
  background: rgb(250, 84, 84);
  border-radius: 2px;
}


.most-viewed-list li:not(:last-child) {
    margin-bottom: 2px;
}

.most-viewed-card ul li {
    padding-top: 15px;
    padding-bottom: 15px;

}

.most-viewed-card ul li a {
    text-decoration: none;
    color: black;
    font-size: 13px;

}

.most-viewed-card ul li a:hover {
    color: red;
}

.media {
    width: 100%;
    border: solid 1px rgb(0, 0, 0);
}

.card {
    background: #fff;
    border-radius: 12px;
    /* padding: 15px 14px; */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    direction: rtl;
    font-family: Vazir;
}

.card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-top: 4px;
    padding-bottom: 0;
}

.card-body .hero-titel {
    display: flex;
    align-items: center;
    font-size: 27px;
    font-weight: bold;
    color: #111;
}

.card-body .hero-titel .icon {
    color: #1aa3a3;
    font-size: 35px;
    margin-left: 6px;
}
.buton_icon img{
    width: 50px;
    position: absolute;
    top: 50%;
    right: 50%;
}
.most-viewed-card-main{
    max-height: 960px;
    overflow-y: scroll;
}

.box-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-img {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
}

.box-img img {
    width: 100%;
    height: 100%;
}

.most-viewed-list {
    /* font-size: 14px; */
    padding-right: 10px;
}

.box-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 15px 15px;
}

.news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px 20px;
}

.latest-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.latest-news-text {
    flex: 1;
}

.latest-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    margin-bottom: 6px;
}

.latest-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.latest-news-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.latest-news-img img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.yo {
    content: "";
    position: absolute;
    right: 98px;
    top: -2px;
    width: 3px;
    height: 42%;
    background: #0c7479;
    border-radius: 2px;
}

.color-main {
    background-color: #4b5c8a;
    padding: 10px 0 10px 0;
}

.main-color-nav button {
    background-color: white;
    width: 219px;
    border-radius: 18px;
    padding: 5px;

}

.main-color-nav img {
    width: 25px;
}

.main-color-nav2 button {
background-color: #0c7479;
  border-radius: 7px;
  padding: 5px;
}

.main-img img {
    width: 100%;
    height: 461px;
    border-radius: 10px;
    object-fit: cover;
}

.main-text span {
    position: absolute;
    top: 75%;
    /* right: 5%; */
    font-size: 24px;
    color: black;
    font-weight: 700;
    background-color: #eeece8;
    padding: 10px 0 5px 10px;

}

.box-main {
    display: flex;
    justify-content: center;

    gap: 10px;
    padding-bottom: 10px;

}

.box-main-img img {
    /* width: 170px; */
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 5px;
}

.box-main a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    padding-top: 12px;
}

.card2 {
    background: #7a89a8;
    border-radius: 8px;
}

.show-all-btn {
    background: #1aa3a3;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}



.news-card p {
    padding: 10px;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    text-align: right;
}

.main-special {
    position: relative;
    background-image: url("/contents/img/6.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 80vh;
    /* padding: ; */

}


.main-special .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.side-item {
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    text-decoration: none;
}

.side-item img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}

.list-group1 {
    max-height: 880px !important;
    overflow-y: scroll;
}
.ads-section{
    background:#e9eeee; 
    padding:20px 0;
}

.ads-box{
    border-radius:8px;
    overflow:hidden;
}

.ads-box img{
    width:100%;
    height:120px; 
    object-fit:contain;
    display:block;
}
 .footer-main{
    background:#5a6c94;
    color:#fff;
    padding:50px 0;
    position:relative;
}
.footer-main a{
    color:#fff;
    text-decoration:none;
    margin:0 12px;
    font-size:18px;
}
.footer-main a:hover{
    color: #a3dadd;
}
.footer-icons i{
font-size: 25px;
  margin: 0 15px;
}
.footer-bottom{
    background:#4b5d86;
    text-align:center;
    padding:12px 0;
    font-size:30px;
    font-weight:bold;
    letter-spacing:2px;
}
.footer-logo{
position: absolute;
  right: 40px;
  top: -3px;
  width: 277px;
}
.logo-vista{
    content: url('/contents/img/icon/logo/logo-vrnc1.png');
    max-width: 200px;
}
.logo-vista:hover{
    content: url('/contents/img/icon/logo/Logo-VistaRaya.Net2.png');
    max-width: 200px;
}
.owl-nav{
    display: none;
}
.owl-dots{
    display: none;
}
.carousel-main{
    border-radius: 8px;
    padding: 15px 15px 0 10px;
    background-color: #f2f2f2;
}
.carousel-main img{
    max-height: 100px;
}
