:root {
    --primary-color: #007a87  !important;
    /* --secondary-color: #0f9493; */
    --secondary-color: #0e8896 ;
    /* --light-secondary-color: #4a9c9b; */
    --light-secondary-color: #38acb8 ;
    
}

/*
*  GENERAL
*/
.header-nav ul li a {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.header-nav ul li a,
a,
p {
    font-family: ErfanFont, sans-serif !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

html,
body {
    background-color: #eaeaea !important;
    /* text-align: right !important; */
    /* direction: rtl !important; */
}

/* img {
    border-radius: 5px;
} */

h3.entry-title a {
    line-height: 30px !important;
}

.header-content {
    height: 100px !important;
    z-index: 100;
    background: url(../../assets/images/header-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
}



/* ---------------- Widget Title ----------------- */
.widget {
    padding: 0px 4px;
}
.line-bottom2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.icon-box.icon-rounded-bordered i,
.widget .line-bottom2:after,
.widget .line-bottom2:after,
.pager.theme-colored a {
    background: var(--primary-color);
}

.line-bottom2:after {
    bottom: -1px;
    content: "";
    height: 2px;
    right: 0;
    position: absolute;
    width: 50px;
}
.widget .widget-title {
    margin-top: 5px;
    margin-bottom: 20px;
}
.color-primary {
    color: var(--primary-color);
}
/* .widget .line-bottom:after, .widget .line-bottom:after {
    border: 1px solid #ef6421;
} */

/* -------------- slider-wrapper --------------- */
.slider-wrapper {
    /* padding: 20px; */
    background: #fff;
    border: 1px solid #ddd;
    max-height: 420px;
}
/* ads-wrapper */
.ads-wrapper{
    background-color: #fff !important;
    /* padding: 10px 16px; */
    border: 1px solid #ddd;
    height: 420px;
}
.generic-wrapper {
    background-color: #fff !important;
    /* padding: 10px 16px; */
    border: 1px solid #ddd;
}
.borders {
    border:2px solid red;
}


/* MENU */
.menuzord-menu > li > a {
    color: #ffffff !important;
}

.menuzord-menu > li.active {
    background: var(--light-secondary-color) !important;
    /* border-bottom: 2px solid #014978 !important; */
}

.menuzord-menu > li.active,
.menuzord-menu > li:hover {
    background: var(--light-secondary-color) !important;
    color: #fff;
}

.menuzord .menuzord-menu ul.dropdown li:hover > a {
    background: var(--primary-color) !important;
    color: #fff;
}

.menuzord-menu.menuzord-right {
    float: right;
}

.menuzord-menu > li {
    float: right !important;
}

.menuzord-menu li .indicator {
    margin-right: 6px !important;
}

@media (max-width: 900px) {
    .menuzord-responsive .menuzord-menu > li {
        width: 100%;
        display: block;
        position: relative;
        /* background: red; */
    }
    .menuzord-responsive .menuzord-menu > li > a {
        /* width: 100%; */
        padding: 12px 20px;
        display: block;
        /* border-bottom: solid 1px #f0f0f0; */
        float: left !important;
        color: #101110 !important;
    }
    .menuzord-responsive .menuzord-brand {
        margin: 8px 12px 8px 8px;
        font-size: 20px;
        line-height: 1.55;
        float: left !important;
    }
    .menuzord-responsive .menuzord-brand img {
        max-height: 30px !important;
    }
}

@media (min-width: 901px) {
    .menuzord-responsive .menuzord-brand {
        display: none !important;
    }
}

@media (min-width: 1000px) {
    .menuzord-responsive .menuzord-brand {
        display: block !important;
    }
}

.menuzord-menu ul.dropdown li a {
    /* width: 100%; */
    background: none;
    padding: 5px 25px 5px 22px;
    color: #888;
    text-decoration: none;
    display: inline-block;
    float: left;
    clear: both;
    position: relative;
    outline: 0;
    -o-transition: padding 0.2s linear;
    -moz-transition: padding 0.2s linear;
    -webkit-transition: padding 0.2s linear;
    transition: padding 0.2s linear;
}

.menuzord-menu li ul.dropdown li .indicator {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 15px;
}

@media (min-width: 900px) {
    .menuzord-menu ul.dropdown li a {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .menuzord-menu > li.active {
        border-bottom: none !important;
    }
    .menuzord-menu ul.dropdown li a {
        width: 100%;
        text-align: left !important;
    }
}

.menuzord .showhide em {
    background: #ffffff !important;
    width: 20px;
    height: 3px;
    margin: 3.5px 20px 0;
    float: right;
}

/* heading title style */

.heading-wrapper {
    display: flex;
}

.heading-wrapper .heading-style {
    flex: 1;
    width: 100%;
}

.heading-wrapper .heading-style .heading-image {
    background: url(../../assets/images/title-dots.png) repeat scroll 0 0;
    height: 16px;
    margin-top: 6px;
}

.heading-wrapper .title {
    padding: 0px 10px;
    color: var(--primary-color);
}

/* latest posts left side of slider */

.latest-posts ul li {
    border-bottom: 1px solid #ddd;
}

/* slider arrow */

.owl-controls .owl-prev i {
    color: #f2efef !important;
    font-size: 40px !important;
}

.owl-controls .owl-next i {
    color: #f2efef !important;
    font-size: 40px !important;
}

/* ------------- special news  ---------------*/

.special-news {
    margin-top: 18px;
    background-color: #fcfcfa;
    padding: 5px 20px 20px 20px;
    border: 1px solid #eae8e3;
    border-radius: 5px;
    border-top: 4px solid #0f9493;
}

.entry-content {
    background: transparent !important;
}

.cirlce-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cirlce-wrapper .circle {
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 10px;
    padding: 8px;
}

.cirlce-wrapper h4 {
    border-bottom: 3px solid red;
    padding-bottom: 10px;
}

.afghanistan .owl-carousel .owl-item .item {
    position: relative !important;
    height: auto !important;
}

.owl-carousel .owl-item .item {
    position: relative !important;
    height: 380px !important;
}

.owl-carousel .owl-item .gallery-item {
    position: relative !important;
    /* height: 380px !important; */
    height: auto !important;
    padding-bottom: 20px;

}
/* .slider-wrapper .slider-item {
    position: relative !important;
    height: 380px !important;
} */


.border {
    border: 4px solid red;
    margin: 20px 0px;
}

.post.media-post .post-thumb {
    float: right !important;
    margin: 0 0px 10px 20px !important;
    position: relative;
}

.image-hight-200 {
    max-height: 200px !important;
}

.books-bg {
    background: var(--primary-color) !important;
}

.books img {
    border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    -ms-border-radius: 0px !important;
    -o-border-radius: 0px !important;
}

/*
 * jarayed.less
 * -----------------------------------------------
*/

.jarayed {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0.3s ease;
    -webkit-transition: transform 0.3s ease box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease box-shadow 0.3s ease;
    -ms-transition: transform 0.3s ease box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease box-shadow 0.3s ease;
}

.jarayed:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
    /* box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); */
    cursor: pointer;
    /* Add shadow effect */
}

.jarayed .hover-link {
    opacity: 1;
    position: absolute;
    bottom: 0;
    /* Ensure it sticks to the bottom */
    transition-duration: 0.3s;
    z-index: 9;
    width: 100%;
    background: linear-gradient(
        to top,
        rgb(0 0 0 / 98%),
        rgb(255 255 255 / 0%)
    );
    padding: 10px;
    text-align: center;
    height: 200px;
    display: flex;
    /* Flexbox to control vertical alignment */
    justify-content: center;
    /* Horizontally center */
    align-items: flex-end;
    /* Align text to the bottom */
}

.w-100 {
    width: 100%;
}

.btn-dark.btn-theme-colored {
    color: #fff !important;
    /* background-color: #fff !important; */
    border-color: #fff !important;
}

.btn {
    word-wrap: break-word;
}

/* footer */

.footer-bg-color {
    background-color: var(--primary-color) !important;
    border-top: 5px solid #23acf1;
}

.width-80px {
    width: 80px;
}


.font-width-normal {
    font-weight: 100 !important;
}

.term-badges {
    position: absolute;
    top: 10px;
    background: #c40b0b;
    color: #fff;
    padding: 3px 6px;
    font-size: 10px;
    right: 10px;
    border-radius: 5px;
}

/* ---------- Afghanistan Page ----------- */

/* top slider */

.featured-blog-details {
    background: linear-gradient(0deg, #020202, #ffffff14) !important;
}

.service-block .thumb .price,
.service-block .thumb .desc,
.team-block .team-thumb .team-overlay,
.team-block .team-thumb .styled-icons,
.work-gallery .gallery-thumb .gallery-overlay {
    background: rgba(31, 56, 107, 0.7);
}

.text-theme-color-2,
.work-gallery .gallery-bottom-part .title {
    color: var(--primary-color);
    font-family: ErfanFont, sans-serif !important;
    font-size: 16px;
    font-weight: normal;
    text-align: right;
}

.bg-theme-color-2 {
    background: #e41937 !important;
}

.team-block .team-thumb .styled-icons a:hover,
.work-gallery .gallery-thumb .styled-icons a:hover,
.work-gallery:hover .gallery-bottom-part,
.line-bottom-theme-colored-2:after,
.panel-group .panel-title a.active::after {
    background: #e41937;
}

.panel-group .panel-title a.active::after {
    background-color: #e41937 !important;
}

.schedule-box:hover .schedule-details .title a {
    color: #1f386b;
}

.btn-theme-color-2 {
    background-color: #e41937;
}

/* fadeInDown */

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeInDown {
    0% {
        opacity: 0;
        -moz-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeInDown {
    0% {
        opacity: 0;
        -o-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated.fadeInDown {
    -webkit-animation-name: fadeInDown;
    -moz-animation-name: fadeInDown;
    -o-animation-name: fadeInDown;
    animation-name: fadeInDown;
    /* Adding smoothness and control */
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.top-menu-list {
    display: flex;
    justify-content: space-between;
}
.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/* ===================== Preloader ===================== */

/* Preloader styling */

#preloaders {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
    /* White background to hide the page content */
    display: flex;
    justify-content: center;
    align-items: center;
}

#spinners img {
    width: 100px;
    /* Adjust the size of the preloader GIF */
    height: 100px;
}

/* Hide the preloader by default */

body.loaded #preloaders {
    display: none;
}

.max-height-370 {
    border: 2px solid #ffffff;
    max-height: 370px;
    overflow: hidden;
}

.max-height-370 ul li a:hover {
    color: rgb(5, 116, 168) !important;
    font-size: bolder !important;
}

/* ========= responsive ============= */

/* for mobile and tablet */

.news-img-style {
    width: 100% !important;
    max-height: 200px !important;
    object-fit: cover;
    /* border: 3px solid red; */
}

/* just for computer and greater than that */

@media only screen and (min-width: 1024px) {
    .sticky-container {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        max-height: 100vh;
        /* Ensure it fits within the viewport */
        overflow-y: scroll;
        /* Allow vertical scrolling */
        scrollbar-width: none;
        /* For Firefox */
    }
    .sticky-container::-webkit-scrollbar {
        display: none;
        /* For Chrome, Safari, and Edge */
    }
    .news-img-style {
        width: 100% !important;
        max-height: 130px !important;
        object-fit: cover;
        /* border: 3px solid green; */
    }
}

.blurred-image {
    filter: blur(20px);
    transition: filter 0.5s ease-in-out;
}

.lazyloaded {
    filter: blur(0px);
}

/* ------- Pagination --------------- */
.erfan-patination nav {
    border-top: 2px solid #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-wrapper {
    border: 1px solid #eeeeee;
    box-shadow: 0px 4px 4px 2px #f5f5f5;
    padding: 10px;
}

.post .entry-date {
    font-size: 13px;
    background-color: #1F386B !important;
}

.position-relative {
    position: relative; /* Make the thumbnail container relative */
    
}

.youtube-icon {
    position: absolute; /* Position the icon absolutely within the thumbnail */
    top: 50%; /* Move down to the middle */
    left: 50%; /* Move right to the middle */
    transform: translate(-50%, -50%); /* Center the icon */
    z-index: 10; /* Ensure it appears above the thumbnail */
    pointer-events: none; /* Ignore pointer events on the icon */
}


div.light_square .pp_expand, div.light_square .pp_contract, div.light_square .pp_close {
    width: 65px;
    background: url(prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;
    cursor: pointer;
    border: 1px solid blanchedalmond;
    /* text-align: center; */
    background: #056581;
    color: #fff;
    padding: 11px 9px 29px 9px;
    border-radius: 6px;
    z-index: 1000;
}

.gallery-isotope .gallery-item {
    width: 25% !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
    height: 230px !important;
}
.service-block, .work-gallery {
    margin: 0 auto 0px !important;
}
/* .header-nav {
    max-height: 92px !important;
} */


.border-gray{
    border: 1px solid #ddd;
    box-shadow: 0 0.0625rem 0.1875rem 0 rgba(185, 185, 185, 0.6);
}
.height-100-vh{
    height: 100vh;
}
.post-details {
    border-top: 1px solid #ddd;
    background: #fff;
    position: absolute;
    bottom: 0;
    padding: 7px 10px;
    /* z-index: 1000; */
}
#articles{
    max-height: 400px;
    overflow: hidden;
}
.overflow-hidden{
    overflow: hidden;
}
.top-menu-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.language-changer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.language-changer img {
    width: 30px;
    cursor: pointer;
}
.advertisement {
    height: 274px;
    overflow: hidden;
}
.advertisement img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* .family-omorat .media-post:before {
    display: block;
    width: 30px;
    height: 30px;
    content: counter(post-widget-counter, decimal);
    counter-increment: post-widget-counter;
    position: absolute;
    z-index: 2;
    top: -5;
    right: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 26px;
    border: 2px solid #fff;
    background: var(--primary-color);
    color: #fff;
    border-radius: 100%;
} */

.post-counter {
    position: absolute;
    z-index: 2;
    top: -4px;
    right: 4px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border: 2px solid #fff;
}

/* --------------------------------------------------------
    ensure that all posts in your grid layout are aligned
    and displayed in the same line with consistent heights
-----------------------------------------------------------*/



/* pc size */
@media only screen and (min-width: 1024px) {
    .news-wrapper .post {
        height: 190px;
        overflow: hidden;
        /* border: 2px solid green; */
    }
    .news-wrapper img {
        width: 100% !important;
        height: 100px !important;
        object-fit: cover;
    }
    .category-list .post-thumb {
        width: 260px !important;
    }
    .afg-post{
        height: 330px;
        overflow: hidden;
        border:1px solid #ddd;
        margin-bottom: 25px;
    }
    .world-post{
        height: 330px;
        overflow: hidden;
        /* border:2px solid red; */
        margin-bottom: 15px;
    }
    .tech-post{
        height: 346px;
        overflow: hidden;
        /* border:2px solid red; */
    }
    /* .menuzord-menu > li, .menuzord-menu {
        background: var(--secondary-color);
    } */
}

/* mobile size */

@media only screen and (max-width: 1023px) {
    .news-wrapper .post {
        height: 200px;
        overflow: hidden;
        /* border: 2px solid red; */
    }
    .news-wrapper img {
        width: 100% !important;
        height: 140px !important;
        object-fit: cover;
    }
    .category-list .post-thumb {
        width: 100% !important;
    }
    .afg-post{
        /* border:2px solid green; */
        border:1px solid #ddd;
        margin-bottom: 25px;
        height: 380px;
        overflow: hidden;
    }
    .world-post{
        height: 330px;
        overflow: hidden;
        /* border:2px solid green; */
        margin-bottom: 15px;
    }
    .tech-post{
        height: 346px;
        overflow: hidden;
        /* border:2px solid green; */
    }
    /* .header-nav-wrapper .container {
        margin-bottom: 10px;
    } */
}


/* RTL Layout */
body {
    direction: rtl !important;
    text-align: right !important;
}

/* .main-content {
    float: right !important;
} */

/* .sidebar-container {
    float: left !important;
} */

/* #layout.rtl {
    direction: rtl !important;
}
#layout.rtl .main-content {
    float: right !important;
}
#layout.rtl .sidebar-container {
    float: left !important;
} */