﻿:root {
    --global-color: #cb9600db;
}

.title-container {
    text-align: center;
    background-color: var(--global-color);
}

.offer-title {
    font-size: xx-large;
    color: white;
}

.main-offer-section .slider-wrapper,
.main-offer-section .flex-wrap {
    display: flex;
}

.main-offer-section img:not(.mp_wp_editor img) {
    width: 100%;
    height: auto;
    max-width: 100%;
}

div.main-slider .thumbnail-item img {
    transition: transform 0.3s ease;
}

    div.main-slider .thumbnail-item img:hover {
        transform: scale(1.1);
    }

div.main-slider .slider-thumbnails.right {
    width: 28.25%;
    flex-direction: column;
}

div.main-slider .thumbnail-item {
    margin: 0 0 10px;
    position: relative;
    overflow: hidden;
}

div.main-slider .thumbnail-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: #000b;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-offer-section ul:not(.mp_wp_editor ul) {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 1.25;
}

div.offer-content-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.shadow_one {
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 44, 102, 0.2);
}

div.offer-details-wrapper {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
}

.offer-images-left {
    width: calc(100% - 346px);
}

.offer-sidebar {
    width: 330px;
}

.offer-detail-item {
    list-style-type: none;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    padding: 5px !important;
    border-bottom: 1px dashed #DDD;
    font-size: large;
}

/* Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Slider */
.modal-slider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Modal Content (image) */
.modal-content {
    width: 80%;
    max-width: 700px;
    transition: 0.5s;
}

/* Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}

/* Navigation buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    color: white;
    font-size: 40px;
    padding: 10px;
    margin-top: -50px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.ttbm_widget_content {
    margin: 0;
    outline: 0;
    font: inherit;
    vertical-align: baseline;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    line-height: 2;
    box-sizing: border-box;
    border: none;
    background-color: transparent;
    padding: 10px;
}

.day_wise_details_item {
    line-height: 2;
    position: relative;
    margin: 0;
}

.day_wise_details_item_title {
    color: var(--global-color);
    cursor: pointer;
    line-height: 2;
    border-bottom: 1px solid #DDD;
}

.offerdetails-img {
    box-sizing: border-box;
    border: 0;
    vertical-align: middle;
    display: block;
    max-width: 100%;
    user-select: none;
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.panel-details {
    color: black;
    padding-right: 10px;
    padding-left: 10px;
    font-size: large;
    line-height: 2;
}

.panel-body {
    font-size: 14px;
    color: #333;
    padding: 20px;
    box-shadow: 0px 3px 6px #00000029;
    margin-top: 15px;
    margin-bottom: 15px;
    border-top: none;
}

.fade-in {
    opacity: 0;
    animation: fade 1s ease-in forwards;
}

@keyframes fade {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.offerdetails-img {
    transition: transform 0.7s ease;
}

    .offerdetails-img:hover {
        transform: scale(1.04);
    }

.filter_item {
    border-radius: 10px;
    background-color: #FFF;
    padding: 10px;
    box-shadow: 0 5px 10px rgba(0, 44, 102, 0.2);
}

.offer-topic {
    color: var(--global-color);
    padding: 20px;
    padding-bottom: 40px;
}

    .offer-topic:hover {
        color: black;
        text-decoration: none;
    }

._wrap {
    display: flex;
    justify-content: space-between;
}

.dButton_xs {
    cursor: pointer;
    transition: all 350ms ease-in-out;
    border-radius: 8px;
    color: white;
    background-color: var(--global-color);
    padding: 10px 12px;
    font-size: medium;
    border: 1px solid var(--global-color);
    display: inline-block; /* Ensure the button acts like an inline element */
}

    .dButton_xs:hover {
        color: var(--global-color);
        background-color: white;
        text-decoration: none;
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dButton_xs {
        font-size: small; /* Smaller font size for mobile screens */
        width: auto; /* Ensure width matches the content */
        display: inline-block; /* Ensure inline-block behavior is maintained */
    }
}


._wrap_ul {
    text-align: left;
    display: flex;
    list-style-type: none;
    line-height: 1;
    padding-right: 0;
}

._wrap_li {
    margin: 0 7px 0 0 !important;
    border: 1px solid #DDD;
    border-radius: 5px;
    width: 100%;
    padding: 5px;
    font-size: large;
    color: #333;
}

.responsive-img {
    width: 100%;
    height: auto;
}
.image-container {
    width: 100%; /* Ensure the container is full width */
}
.main-slider .main-img {
    height: 580px; /* Fixed height */
    width: 100%; /* Ensure the image takes full width */
    object-fit: cover; /* Maintain aspect ratio */
    box-sizing: border-box; /* Include padding and borders in width calculation */
    display: block; /* Ensures that the image behaves as a block element */
}

#main-img {
    height: 580px; /* Fixed height */
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-slider .main-img {
        height: auto; /* Make it responsive on mobile */
    }

    #main-img {
        height: auto;
    }
    .offer-title {
        font-size: 1.5rem;
    }

    .main-offer-section {
        display: block;
        padding: 10px;
    }

    .offer-images-left {
        width: 100%;
        padding-bottom: 20px;
    }

    .offer-sidebar {
        width: 100%;
    }

    div.main-slider .slider-thumbnails.right {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    div.main-slider .thumbnail-item {
        width: 30%;
        margin-bottom: 10px;
    }

    div.offer-details-wrapper {
        display: block;
    }

    .dButton_xs {
        width: 100%;
    }

    .filter_item {
        margin-bottom: 20px;
    }

    .shadow_one {
        padding: 10px;
    }

    .day_wise_details_item {
        width: 100%;
    }

    .ttbm_widget_content {
        padding: 5px;
    }

    .panel-body {
        font-size: 12px;
        padding: 15px;
    }
}

