.custom-font-sm {
    font-size: 14px;
    color: #000000;
}
.bottom-footer {
    background-color: #032541;
}
.page-item.disabled .page-link {
    pointer-events: none;
    color: #ccc;
    background-color: #f0f0f0;
    border-color: #ddd;
}
.bg-primary {
    background-color: #003f74!important;
}

.uc-header.header-one .uc-navbar-nav > li > a::before {
    background-color: #003f74!important;
}
.container-uc-navbar {
    background-color: #003f74!important;
}
/* .container-uc-navbar ul li ul {
    background-color: #ffff !important;
} */
.uc-navbar-dropdown {
    min-width: 90px !important;
    padding: 0 !important;
}
/* .container-uc-navbar ul li ul li a {
    
} */
.uc-navbar-nav-left > li > a {
    color: #fff !important;
}
.uc-header.header-one .uc-navbar-switcher-nav li.uc-active > a {
    background-color: transparent !important;
    color: #000;
}
.uc-header.header-one .uc-navbar-switcher-nav li > a {
    justify-content: flex-start !important;
}
.uc-header.header-one .uc-navbar-switcher-nav li > a:hover {
    color: #ffff !important;
    background-color: #003f74!important;
}
.hover\:bg-primary:hover {
    background-color: #032541 !important;
    border-color: #032541 !important;
}

.hover\:text-primary:hover {
    color: #032541 !important;
}
.btn-alt-primary:hover {
    background: #032541 !important;
}
.active > .page-link,
.page-link.active {
    background-color: #032541 !important;
    border-color: #032541 !important;
}

.form-check-input:focus,
.form-control:focus {
    border-color: #032541 !important;
}

.page-link:focus {
    box-shadow: 0 0 0 0.25rem #f6f6f6 !important;
}

[class*="ratio-"]::before {
    padding-top: 0;
}

.epaper-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: 0 0 5px #333;
    margin-top: 5px;
    border-radius: 5px;
}

.interactive-overlay {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}
.crop-highlight {
    position: absolute;
    background-color: none;
    transition: background-color 0.3s ease;
    pointer-events: auto;
}

.crop-highlight:hover {
    background-color: rgba(2, 109, 189, 0.5);
    cursor: pointer;
}

.interactive-area {
    pointer-events: auto;
    stroke: rgba(2, 109, 189, 0.5);
    stroke-width: 0;
    fill: rgba(2, 109, 189, 0);
    transition: fill 0.3s ease;
    cursor: pointer;
}

.interactive-area:hover {
    fill: rgba(2, 109, 189, 0.5);
}

.post {
    border: none;
}

.image-overlay {
    position: absolute;
    left: 50%;
    bottom: -12%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    width: 90%;
}

.image-overlay h4 {
    color: white;
    font-size: 1.2rem;
}

.form-select,
.form-control {
    padding: 10px;
}
.form-select:focus {
    /* border-color: #032541 !important; */
    box-shadow: 0 0 0 0.25rem rgb(131, 196, 184, 0.25);
}
.post-share-icons {
    gap: 0;
}
.popup-border {
    position: absolute;
    border: 3px solid gray;
    border-radius: 10px;
    top: 42px;
    bottom: 0;
    left: 10px;
    right: 10px;
}

@media (max-width: 768px) {
    .image-overlay {
        bottom: -20%;
    }
    .form-select,
    .form-control {
        padding: 5px;
    }
    .popup-border {
        left: 5px;
        right: 5px;
        border: 2px solid gray !important;
        top: 20px !important;
        bottom: 5px;
    }
    .news-logo {
        width: 80px !important;
    }
    .view-date {
        top: 25px;
    }
}
.news-logo {
    float: left;
    padding: 5px 0;
    margin-right: 15px;
    width: 160px;
    /* z-index: 9999; */
    position: sticky;
    background: #fff;
    margin-left: 20px;
}
.view-date {
    font-size: 12px;
    font-weight: 700;
    border-left: 4px solid #032541;
    padding-left: 6px;
    /* z-index: 9999; */
    /* margin: 45px 15px 8px 0; */
    position: absolute;
    right: 15px;
}
/* adds start Default positioning for larger screens */
/* Positioning for the ad containers */
.ad-container {
    position: fixed; /* Changed to fixed to keep ads in position while scrolling */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    width: 140px;
    height: 500px;
    z-index: 1000; /* Ensure ads are on top of other content */
}

/* Positioning for left and right ads */
.left-bar-adds {
    left: 10px; /* Adjust for screen size */
}

.right-bar-adds {
    right: 10px; /* Adjust for screen size */
}

/* Styling for the close button */
.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #032541;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    width: 24px;
    height: 24px;
    line-height: 18px;
    text-align: center;
    z-index: 1;
}

/* Hidden text ad that appears after closing */
.ad-text {
    position: fixed; /* Fixed position for text ads as well */
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    background-color: #ededed;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none; /* Initially hidden */
    z-index: 1001; /* Higher than the main ad for visibility */
}

/* Position for left and right ad text placeholders */
.left-ad-text {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.right-ad-text {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* adds end  */

/* General button layout for desktop */
.view-formet ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.view-formet ul li {
    margin: 0;
    padding: 0;
}

.view-formet ul li div {
    padding: 5px 3px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: white;
    margin-bottom: 10px;
    width: auto;
    display: flex; /* Use flexbox to align icon and text */
    align-items: center; /* Vertically align items */
    justify-content: center; /* Center content */
    border-radius: 5px;
    gap: 5px; /* Adds space between the icon and text */
}

/* Active state for the default active element */
.view-formet ul li div.active {
    background-color: #032541;
    color: white !important;
    border-color: #032541;
}

.view-formet ul li div:hover {
    background-color: #032541;
    color: white;
    border-color: #032541;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .left-ad-text {
        top: 40%;
    }

    .right-ad-text {
        top: 40%;
    }
    .view-formet ul {
        width: 100%; /* Full width for the container */
        align-items: center;
    }

    .view-formet ul li div {
        font-size: 12px !important;
        padding: 8px;
    }
}

#text-content {
    display: none !important; /* Hide both contents by default */
}
.btn-alt-primary:focus,
.btn-alt-primary:hover {
    background: #032541 !important;
    color: #fff !important;
}

.fs-7 {
    font-size: 14px !important;
    font-weight: normal !important;
}

.active-slider {
    border: 2px solid #032541;
    border-radius: 5px;
}
.uc-navbar-parent-icon * {
    stroke: #fff !important;
}
img {
    -webkit-user-drag: none;
    user-drag: none;
}
#image-content-mobile,
#text-content-mobile {
    touch-action: manipulation; /* Allow default pinch-to-zoom */
}

.epaper-content-loading,
.epaper-loading {
    text-align: center;
    font-size: 26px;
    padding: 100px;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999; /* Ensure it overlays other elements */
}
#bangla-full-date-mobile {
    font-size: 8px !important;
}

/* Centered Carousel Style */
.swiper {
    position: relative;
}

.swiper-slide {
    opacity: 0.9; /* Dim non-active slides */
    transform: scale(0.85); /* Reduce size of non-active slides */
    transition: all 0.3s ease;
}

.swiper-slide.active-slider {
    opacity: 1; /* Highlight the active slide */
    transform: scale(1); /* Enlarge the active slide */
    z-index: 2;
}

.image-overlay h4 {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px;
    border-radius: 5px;
}

/* Navigation Buttons */
.swiper-nav {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease;
}

.swiper-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .swiper-slide {
        width: 100px; /* Adjust the width for smaller screens */
    }

    .image-overlay h4 {
        font-size: 12px; /* Reduce text size for small screens */
    }
}

