@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Regular.eot');
    src: url('../fonts/SourceSansPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SourceSansPro-Regular.woff2') format('woff2'),
        url('../fonts/SourceSansPro-Regular.woff') format('woff'),
        url('../fonts/SourceSansPro-Regular.ttf') format('truetype'),
        url('../fonts/SourceSansPro-Regular.svg#SourceSansPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Light.eot');
    src: url('../fonts/SourceSansPro-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SourceSansPro-Light.woff2') format('woff2'),
        url('../fonts/SourceSansPro-Light.woff') format('woff'),
        url('../fonts/SourceSansPro-Light.ttf') format('truetype'),
        url('../fonts/SourceSansPro-Light.svg#SourceSansPro-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Bold.eot');
    src: url('../fonts/SourceSansPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SourceSansPro-Bold.woff2') format('woff2'),
        url('../fonts/SourceSansPro-Bold.woff') format('woff'),
        url('../fonts/SourceSansPro-Bold.ttf') format('truetype'),
        url('../fonts/SourceSansPro-Bold.svg#SourceSansPro-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Black.eot');
    src: url('../fonts/SourceSansPro-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SourceSansPro-Black.woff2') format('woff2'),
        url('../fonts/SourceSansPro-Black.woff') format('woff'),
        url('../fonts/SourceSansPro-Black.svg#SourceSansPro-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Semibold.eot');
    src: url('../fonts/SourceSansPro-Semibold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SourceSansPro-Semibold.woff2') format('woff2'),
        url('../fonts/SourceSansPro-Semibold.woff') format('woff'),
        url('../fonts/SourceSansPro-Semibold.svg#SourceSansPro-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Noto Sans SC';
    src: url('../fonts/NotoSansSC-Regular.eot');
    src: url('../fonts/NotoSansSC-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/NotoSansSC-Regular.woff2') format('woff2'),
        url('../fonts/NotoSansSC-Regular.woff') format('woff'),
        url('../fonts/NotoSansSC-Regular.svg#NotoSansSC-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body.modal-open {
    padding-right: 0 !important;
}

.modal-backdrop.show {
    opacity: 0.8;
}

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Source Sans Pro", sans-serif;


}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 900;
}

p,
a {
    font-family: "Source Sans Pro", sans-serif;
}

.color-grey {
    color: #535151;
}

.custom-font {
    font-family: 'Noto Sans SC', sans-serif;
    color: #C92B2C;
    font-weight: 400;
}

.top-custom-font {}

.custom-sub-font {
    font-size: 32px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 400;
    color: #77382C;
}

.color-dark {
    color: #77382C;
}

.mx-6 {
    margin-right: 6rem;
    margin-left: 6rem;
}

.mb-25 {
    margin-bottom: 2.5rem;
}

.pd-4 {
    padding-bottom: 4rem;
}

.pd-three {
    padding-bottom: 3rem;
}

.pd-3 {
    padding: 0 3rem;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.g-2x {
    --bs-gutter-y: 2rem;
}

.rounded-18 {
    border-radius: 18px;
}

.text-red-2 {
    color: #C92B2C;
}

/* max-width: calc(MIN + (MAX - MIN) * ((vw - MIN_BP) / (MAX_BP - MIN_BP))); */

@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: calc(540px + (720 - 540) * ((100vw - 576px) / (768 - 576)));
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: calc(720px + (960 - 720) * ((100vw - 768px) / (992 - 768)));
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: calc(960px + (1140 - 960) * ((100vw - 992px) / (1200 - 992)));
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: calc(1140px + (1440 - 1140) * ((100vw - 1200px) / (1400 - 1200)));
    }
}

.container {
    position: relative;
    z-index: 1;
}

/********** menu **********/
.navbar {
    background: #fff;
    transition: all .3s ease;
    z-index: 1000;
    padding: 0;
}

.navbar-brand {
    outline: none;
}

.modal-open .navbar {
    z-index: 1000;
}

.navbar.scrolled {
    background: #fff;
    border-top: 5px solid #AD3A35;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar.scrolled .navbar-brand img {
    width: 65px;
}

.navbar-nav .nav-link {
    color: #AD3A35;
    font-size: 18px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #F18235;
}

.navbar-nav .nav-item .dropdown-menu {
    padding: 0;
    border-radius: 0;
    border: 0;
    top: 107px;
}

.navbar.scrolled .navbar-nav .nav-item .dropdown-menu {
    top: 76px;
}

.navbar-nav .nav-item .dropdown-menu .dropdown-item {
    padding: 14px;
}

.navbar-nav .nav-item .dropdown-menu .dropdown-item:focus,
.navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {
    background: #AD3A35;
    color: #fff;
}

.navbar-nav .nav-item .dropdown-menu li a {
    color: #AD3A35;
}

.navbar-nav .nav-item .dropdown-menu .dropdown-item.active {
    background-color: #AD3A35;
    color: #fff;
}

.navbar-toggler {
    border: none;
    position: relative;
    width: 40px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    padding-top: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger {
    width: 30px;
    height: 19px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 22px;
    background: #AD3A35;
    background: #AD3A35;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.navbar-toggler.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.open span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.offcanvas-top {
    height: 100vh !important;
    overflow-y: auto;
}

.offcanvas.show {
    transform: translateY(0);
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 6rem 1rem 1rem;
    background: #fff0d7;
}

.mobile-submenu::after {
    content: "▼";
    float: right;
    font-size: .6rem;
    transition: transform .3s ease;
}

.mobile-submenu.is-open::after {
    transform: rotate(-180deg);
}


.offcanvas-body .nav-link {
    padding: .75rem 0;
    border-bottom: 1px solid #eee;
}

.collapse {
    transition: height .3s ease !important;
}

@media(max-width:1240px) {
    .d-lg-block {
        display: none !important;
    }
}

@media(min-width:992px) {

    .navbar-nav {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }

    .dropdown:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0px);
    }

    .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all .3s ease;

    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 2.5rem 0;
    }

    .navbar.scrolled .navbar-nav .nav-link {
        padding: 1.5rem 0;
    }
}

/********** homepage gallop section **********/
.title-red {
    color: #C92B2C;
    font-size: 48px;
    font-weight: 900;
    /*line-height: 1.3em;*/
    letter-spacing: -0.3px;
    padding: 0 0 0.7rem;
}

.title-red span {
    display: block;
    margin: 10px 0 0;
}

.title-red-2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3em;
    letter-spacing: -0.3px;
    color: #C92B2C;
}

.text-red-3 {
    color: #77382C;
}
.title-xs {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0.3px;
    color: #333333;
    display: block;
    margin-top: 10px;
}
.para-xl {
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0.3px;
}

.para-md {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0.3px;
    color: #333333;
}

.link-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6em;
    color: #333333;
}

.gallop-wrapper {
    background: #fff;
    padding: 6.5em 0 2em;
}

.gallop-inner-wrapper {
    padding: 0 5rem 0 8rem;
}

.gallop-inner-wrapper .mb-25 {
    margin-bottom: 2.5rem;
}

.fun-btn-wrapper {
    padding-bottom: 3.2rem;
}

/********** homepage fun begins section **********/
.fun-begins-wrapper {
    padding: 3.2rem 0 7rem;
}

.fun-begins-wrapper .attractions-section {
    background: #fff;
}

.fun-begins-wrapper .attractions-slider {
    position: relative;
}

.fun-begins-wrapper .attractions-track {
    display: flex;
    gap: 34px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fun-begins-wrapper .attractions-track::-webkit-scrollbar {
    display: none;
}

.attraction-card {
    flex: 0 0 calc((100% - 68px)/3.5);
    background: #F2F0E8;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.fun-begins-wrapper .attractions-slider .attraction-card {
    max-width: 295px;
}

@media (max-width: 991px) {
    .attraction-card {
        flex: 0 0 calc((100% - 24px) / 2.5);
    }
}

@media (max-width: 575px) {
    .attraction-card {
        flex: 0 0 calc(100% / 1.5);
    }
}

.attraction-card .card-top {
    background: #F2F0E8;
    padding: 25px 25px 15px;
}

.attraction-card .must-see {
    background: #EAC562;
    font-size: 15px;
    font-weight: bold;
    border-radius: 44px;
    padding: 0px 12px;
    display: inline-block;
    margin-bottom: 1.8rem;
    color: #C92B2C;
}

.attraction-card .card-title {
    color: #C92B2C;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 900;
    /*line-height: 1.4rem;*/
}

.attraction-card .card-title a {
    color: #C92B2C;
    text-decoration: none;
    font-weight: 900;

}

.attraction-card .card-text {
    font-size: 18px;
    color: #77382C;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0.3px;

}

.attraction-card .card-image {
    position: relative;
    height: 294px;
    overflow: hidden;
    border-radius: 20px;
}

.attraction-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.attraction-card:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.attraction-card .card-footer {
    position: absolute;
    bottom: 1.8rem;
    left: 2.4rem;
    z-index: 10;
}

.attraction-card .card-footer img {
    display: inline-block;
    width: 26px;
    margin-left: 6px;
}

.attraction-card .read-more {
    background: #ADAAA6;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 6px 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.attraction-card .read-more:hover {
    background: #D93948;
    color: #fff;
    text-decoration: none;
}

.fun-begins-wrapper .slider-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #C92B2C;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.slider-arrow:not(:disabled):hover {
    background: #D93948;
}

.slider-arrow:disabled {

    cursor: not-allowed;
    opacity: 0.6;
}

/********** homepage fun guide section **********/
.fun-guide-wrapper {
    padding: 4.5rem 0 0;
}

.fun-guide-wrapper .card-custom {
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
}

.fun-guide-wrapper .card-custom .card-btn {
    width: 142px;
}



.fun-guide-item-wrapper .fun-guide-item-grid {
    margin-top: 3rem;
    padding: 0 1.5rem;
}


.fun-guide-item {
    background: #fff;
    border-radius: 28px;
    padding: 4rem 1.5rem;
    text-align: center;
}

.fun-guide-item a {
    text-decoration: none;
}

.fun-read-btn .read-more {
    background: #D93948;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 6px 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.fun-read-btn .read-more img {
    display: inline-block;
    width: 26px;
    margin-left: 6px;
}

.fun-read-btn .read-more:hover {
    background: #D93948;
    color: #fff;
    text-decoration: none;
}

.fun-guide-wrapper .card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.fun-guide-wrapper .fun-guide-inner {
    padding: 3rem;
    background: #FBF4E2;
    border-radius: 36px;
}

.fun-guide-inner .card-icon {}

.fun-guide-inner .card-title {
    color: #C92B2C;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4rem;
}

.fun-guide-inner .card-text {
    font-size: 18px;
    color: #333;
    font-weight: 400;
    line-height: 1.6rem;
    letter-spacing: 0.3px;
}

/********** homepage social section **********/
.news-feed-wrapper {
    padding: 4rem 0 2.6rem;
}

.news-feed-wrapper .ig-thumb {
    position: relative;
    overflow: hidden;
    height: 325px;
}

.news-feed-wrapper .ig-thumb img {
    width: 100%;
    transition: .3s;
    height: 100%;
    max-height: 325px;
    object-fit: cover;
}

.news-feed-wrapper .ig-thumb:hover img {
    transform: scale(1.08);
}

.news-feed-wrapper .ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: .3s;
}

.news-feed-wrapper .ig-thumb:hover .ig-overlay {
    opacity: 1;
}

.news-feed-wrapper .follow-btn {
    background: #D93948;
    padding: 0.7rem 1rem;
    border-radius: 44px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    max-width: 317px;
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}


/********** homepage organiser section **********/
.organiser-wrapper {
    padding: 3.5rem 0 5.5rem;
}

.organiser-wrapper p {
    color: #C92B2C;
    font-size: 22px;
    margin: 0;
    font-weight: bold;
    padding: 0;
}

.org-logo-wrapper .org-logo-items {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
    width: 100%;
    align-items: center;
}

.org-logo-wrapper .org-logo-items.org-second-item {
    padding: 2rem 0 3rem;
    max-width: 82%;
}

.org-logo-wrapper .org-logo-items.org-last-item {}

.org-logo-wrapper .org-logo-items .org-logo {
    height: auto;
    object-fit: contain;
    max-width: 100%;
}



.org-items-col-wrapper {
    display: inline-flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
}

/********** footer section **********/
footer {
    background: #E5E4E2;
    padding: 3.5rem 0;
}

.footer-left h4 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3rem;
}

.footer-right .footer-nav li,
.footer-right p,
.footer-right .footer-nav a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.footer-right .footer-nav a:hover {
    color: #AD3A35;
}

.footer-right {
    align-items: flex-start;
}

.copyright-wrapper p {
    font-size: 14px;
    margin: 0;
    text-align: right;
    font-weight: 400;
    line-height: 1.6rem;
}

.social-icons img {
    width: 32px;
    margin: 0 10px 10px 0;
}

/*fun guide page */
.event-map-wrapper {
    padding: 5rem 0;
}

.event-map-inner {
    padding: 2rem 0 0;
}

.event-map-inner img {
    /*cursor: pointer;
    max-height: 656px;*/
}

/* MAP WRAPPER */
        .event-map-wrapper .map-wrapper {
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .event-map-wrapper #mapInner {
            width: 100%;
            height: auto;
            touch-action: none;
        }

        .event-map-wrapper .map-img {
            width: 100%;
            height: auto;
            user-select: none;
            pointer-events: none;
            max-height: 100%;
        }

        /* MARKERS */
        .event-map-wrapper .map-point {
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            font-size: 12px;
            font-weight: 700;
            border: 2px solid #fff;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transform: translate(-50%, -50%);
            transition: 0.15s;
            padding-bottom: 2px;
            z-index: 10;
        }

        .event-map-wrapper .map-point.point {
            background: #EA158C;
        }

        .event-map-wrapper .map-point.orange {
            background: #F37126;
        }

        .event-map-wrapper .map-point:hover {
            transform: translate(-50%, -50%) scale(1.15);
        }

        /* TOOLTIP */
        .event-map-wrapper .map-tooltip {
            position: absolute;
            background: #fff;
            padding: 10px;
            /*width: 220px;*/
            max-width: 270px;
            box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
            transform: translate(-50%, -110%);
            z-index: 20;
            display: none;
        }

        .event-map-wrapper .map-tooltip img {
            width: 100%;
            height: 100px;
            object-fit: cover;
        }



        .event-map-wrapper .map-tooltip-pointer {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -9px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid white;
        }

        /* ZOOM BUTTONS */
        .event-map-wrapper .zoom-buttons {
            position: absolute;
            right: 8rem;
            bottom: 2rem;
            display: flex;
            flex-direction: column;
            z-index: 50;
            overflow: hidden;
            border-radius: 20px;
        }

        .event-map-wrapper .zoom-buttons button {
            width: 40px;
            height: 40px;
            border: none;
            background: white;
            font-size: 22px;
            font-weight: 700;
        }

        .event-map-wrapper .info-panel {
            background: #FFF4EB;

        }



        .event-map-wrapper .tooltip-row {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .event-map-wrapper .zoom-slider {
            position: absolute;
            left: 16px;
            right: 16px;
            bottom: 7rem;
            z-index: 40;
            width: 88%;
        }

        .event-map-wrapper .zoom-slider input[type="range"] {
            width: 100%;
            accent-color: #fff;
        }

        .event-map-wrapper .event-map-inner-row {
            background: #FFF4EB;
        }

        .event-map-wrapper #infoSub {
            font-size: 30px;
            color: #C92B2C;
            font-weight: bold;
            line-height: 1.2;
        }

        .event-map-wrapper #infoSub span {
            font-weight: 400;
            color: #77382C;
            font-size: 32px;
            display: block;
        }

        .event-map-wrapper #infoTitle {
            font-size: 38px;
            color: #fff;
            font-weight: bold;
            background: #F17127;
            border-radius: 50%;
            width: 55px;
            height: 55px;
            text-align: center;
            margin: 0;
            padding: 4px;
            border: 1px solid #000;
            display: flex;
    align-items: center;    
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
        }

        .event-map-wrapper #infoDesc {
            font-size: 16px;
            color: #333;
        }

        .event-map-wrapper #tipSub {
            font-size: 16px;
            color: #C92B2C;
            font-weight: bold;
        }

        .event-map-wrapper #tipSub span {
            display: block;
            font-size: 18px;
            color: #77382C;
        }

        .event-map-wrapper .tooltip-row img {
            width: 74px;
            height: 74px;
            object-fit: cover;

        }

        .event-map-wrapper .info-wrapper {
            display: flex;
            gap: 14px;
            align-items: center;
            padding: 0 0 1rem;
        }

        .event-map-wrapper .info-content-wrapper {
            padding: 1rem;
        }

        .event-map-wrapper .event-map-inner-right {
            padding: 1.5rem 1.5rem 0;
        }

.getting-wrapper {
    padding: 3rem 0 2.5rem;
}

.getting-wrapper .faq-accordion {
    padding: 2rem 0 0;
}

.getting-wrapper .faq-accordion .accordion-button {
    padding: 1.5rem 2rem;
}

.getting-wrapper .faq-accordion .accordion-body {
    padding: 0 2rem 2rem;
    background: #fdf7e9;
}

.getting-wrapper .faq-accordion .accordion-body ul,
.getting-wrapper .faq-accordion .accordion-body ol {
    margin: 0;
}

.open-hours-wrapper {
    padding: 4rem 0 7rem;
    
}
#zoomWrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    touch-action: none;
}

#mapModal .modal-content,
#mapModal .modal-dialog,
#mapModal .modal-body {
    border-radius: 0 !important;
    background: none;
    align-items: self-start;
}

#mapModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

#mapModal .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

#mapModal .map-img {
    display: block;
    width: 100%;
    height: auto;
    /*margin: 0 auto;*/
    user-select: none;
    -webkit-user-drag: none;
}

.no-shift-modal .modal-dialog {
    margin: 0 auto !important;
    transition: transform .25s ease-out;
}
#mapModal .modal-content .btn-close {
    right: 10px !important;
}
body.modal-open {
    padding-right: 0 !important;
}

.no-shift-modal.fade .modal-dialog {
    transform: translateY(-20px);
}

.no-shift-modal.show .modal-dialog {
    transform: translateY(0);
}

.btn-close-white {
    filter: invert(1) brightness(200%);
}

/********** highlight listing page **********/
.highlights-listing-wrapper {
    padding: 4.5rem 0 9rem;
}

#highlight-grid {
    gap: 4rem;
    width: 84%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.highlights-listing-wrapper .highlight-grid-item {
    padding: 0;
    margin: 0;
    width: 100%;
}

.highlights-listing-wrapper .highlight-grid-item .attraction-card .card-image {
    height: 294px;
    border-radius: 20px;
}

.highlights-listing-wrapper .grid-equal {
    border-radius: 9px;
    overflow: hidden;
}

.highlights-listing-wrapper .highlight-grid-item .highlight-grid-img {
    height: 326px;
    overflow: hidden;

}

.highlights-listing-wrapper .highlight-grid-item .highlight-grid-img img {
    height: 100%;
    max-height: 326px;
    width: 100%;
    object-fit: cover;
    object-position: center;

}

.highlights-listing-wrapper .highlight-grid-item .highlight-grid-content {
    background: #fff;
    padding: 24px 20px 30px;
}

.highlights-listing-wrapper .highlight-grid-item .highlight-grid-title {
    font-size: 23px;
    font-weight: bold;
    color: #C92B2C;
}

.highlights-listing-wrapper .highlight-grid-item a {
    color: #C92B2C;
    text-decoration: none;
}

.highlights-listing-wrapper .highlight-grid-item .highlight-grid-desc {
    font-size: 14px;
    padding: 14px 0;
}

.highlights-listing-wrapper .highlight-grid-item .highlight-grid-desc p {
    margin: 0;
}


/********** highlight detail page **********/
.top-wrapper {
    /*background: #FFEDDE;*/
    min-height: 460px;
    /*padding: 3rem 0 0;*/
    display: flex;
    align-items: center;
    background: url("../images/rhb-top-banner-bg.png") no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.top-wrapper .container:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;

}

.fun-guide-main-bg .container:after {

    width: 573px;
    height: 361px;
    background: url("../images/fun-guide-bg-icon.png") no-repeat right center;
    background-size: cover;

}

.event-info-main-bg .container:after {
    width: 466px;
    height: 376px;
    background: url("../images/event-info-bg-icon.png") no-repeat right center;
    background-size: cover;
}

.highlights-main-bg .container:after {
    width: 388px;
    height: 427px;
    background: url("../images/hightlights-bg-icon.png") no-repeat right center;
    background-size: cover;

}

.contests-main-bg .container:after {
    width: 608px;
    height: 371px;
    background: url("../images/contestss-bg-icon.png") no-repeat right center;
    background-size: cover;

}

.faq-main-bg .container:after {
    width: 610px;
    height: 285px;
    background: url("../images/faq-bg-icon.png") no-repeat right center;
    background-size: cover;

}

.fortune-card-main-bg .container:after {
    width: 391px;
    height: 382px;
    background: url("../images/fortune-card-bg-icon.png") no-repeat right center;
    background-size: cover;

}

.horse-main-bg .container:after {
    width: 418px;
    height: 385px;
    background: url("../images/horse-bg-icon.png") no-repeat right center;
    background-size: cover;

}

.builder-main-bg .container:after {
    width: 391px;
    height: 390px;
    background: url("../images/builder-bg-icon.png") no-repeat right center;
    background-size: cover;

}
.single-main-bg .container:after {
    width: 536px;
    height: 446px;
    background: url("../images/single-bg-icon.png") no-repeat right center;
    background-size: cover;

}
.top-wrapper .desc {
    font-size: clamp(18px, 2.5vw, 29px);
    color: #000;
    line-height: normal;
    padding: 0;
    margin: 0;
}

.contests-detail-wrapper,
.highlight-detail-wrapper {
    padding: 5.2rem 0 2.5rem;
}
.contests-detail-inner .col-lg-7 p {
    margin: 0 3rem 1.5rem 0;
}
.highlight-detail-wrapper p {
    margin: 0;
}
.contests-detail-wrapper a {
    color: #C92B2C;
}
.hl-detail-left-wrapper .title-red {
    font-size: 36px;
}

.hl-detail-right-wrapper {
    padding-top: 3rem;
    margin: 0;
}

.top-title {
    color: #C92B2C;
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3em;
    /*padding: 2.5rem 0 0;*/
    position: relative;
    z-index: 10;
    padding-left: 3.5rem;
}

.top-title span {
    display: block;
}

.hl-detail-left-content p {
    font-size: 16px;

    color: #333;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0.3px;
}

.hl-detail-left-content p.text-red-2 {
    color: #C92B2C;
}
.hl-detail-left-content p.text-red-2 strong {
    font-size: 20px;
}
.hl-detail-left-content {
    padding: 2em 6rem 0 0;
}
.hl-detail-left-content .btn-custom {
    background-color: #C92B2C;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    padding: 13px;
    max-width: 165px;
    width: 100%;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    transition: background .3s ease;
    text-decoration: none;
}
.hl-detail-left-content .btn-custom-lg {
    max-width: 250px;
    margin: 0 10px 10px 0;
}
.hl-detail-left-content .btn-custom:hover {
    /*background-color: #C92B2C;
    color: #fff;*/
}
table th {
    background: #C92B2C;
    color: #fff;
    padding: 10px;
}

table td {
    padding: 10px;
    border: 1px solid #000;
}

.hl-detail-left-content ol {
    margin: 0 0 1.5rem;
}


.hl-detail-left-gallery-wrapper {
    padding: 2.5rem 0 0;
}

.hl-detail-left-gallery-wrapper .title-red {
    font-size: 28px;
}
.hl-detail-left-gallery-wrapper .text-red-2 {

}
.text-zh {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 400;
    
}
.hl-detail-right-content {
    padding-left: 1.5rem;
}

.hl-detail-right-content h6 {
    font-size: 20px;

    color: #C92B2C;
    font-weight: bold;
    padding-bottom: 8px;
}

.hl-detail-right-content a {
    display: block;
    text-decoration: none;
    font-size: 18px;
    color: #333;
    transition: background .2s ease;
    border-bottom: 1px solid #999;
    padding: 20px 0;

}

.hl-detail-right-content a span {
    color: #77382C;
}


.hl-detail-right-content a:hover {
    color: #AD3A35;
}

.highlight-detail-wrapper .gallery-grid div {
    /*height: 280px;*/
    aspect-ratio: 4/3;
}

.highlight-detail-wrapper .large-grid div {
    aspect-ratio: 2/1;
}

.highlight-detail-wrapper .gallery-grid img {
    cursor: pointer;
    height: 100%;
    object-fit: cover;

    width: 100%;
}
.highlight-detail-wrapper .extra-grid img {
    object-position: top;
}
.highlight-detail-wrapper .gallery-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1050;
    display: none;
    color: #fff;
}

.highlight-detail-wrapper .gallery-popup.active {
    display: block;
}

.highlight-detail-wrapper .gallery-popup .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    /*font-size: 32px;*/
    font-size: clamp(20px, 2.5vw, 32px);
    cursor: pointer;
    z-index: 1100;
}

.highlight-detail-wrapper .gallery-popup .swiper {
    width: 100%;
    height: 100vh;
    position: relative;
}

.highlight-detail-wrapper .gallery-popup .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.highlight-detail-wrapper .gallery-popup .swiper-slide img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    cursor: grab;
}

.highlight-detail-wrapper .gallery-popup .gallery-caption {
    position: absolute;
    bottom: 30px;
    text-align: center;
    width: 100%;
    font-size: 16px;
}

.highlight-detail-wrapper .swiper-button-next,
.highlight-detail-wrapper .swiper-button-prev {
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.highlight-detail-wrapper .swiper-pagination {
    color: #fff;
    position: absolute;
    top: 20px;
    left: 20px;
    width: auto;
    text-align: left;
}

.highlight-detail-wrapper .share-menu {
    position: absolute;
    top: 20px;
    right: 60px;
    z-index: 1100;
}

.highlight-detail-wrapper .share-dropdown .dropdown-menu {
    background: rgba(0, 0, 0, 0.85);
}

.highlight-detail-wrapper .share-dropdown .dropdown-menu a {
    color: #fff;
}

.highlight-detail-wrapper .dropdown-item:hover,
.highlight-detail-wrapper .dropdown-item.active,
.highlight-detail-wrapper .dropdown-item:active {
    background: none;

}

.highlight-detail-wrapper .fullscreen-btn,
.zoom-btn {
    position: absolute;
    top: 20px;
    z-index: 1100;
    cursor: pointer;
    color: #fff;
    /*font-size: 22px;*/
    font-size: clamp(16px, 2vw, 22px);
    padding: 5px 10px;
    /*background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;*/
}

.highlight-detail-wrapper .fullscreen-btn {
    right: 60px;
}

.highlight-detail-wrapper .zoom-btn {
    right: 100px;
}

.highlight-detail-wrapper .gallery-popup .icon-btn {
    position: absolute;
    top: 20px;
    z-index: 1100;
    cursor: pointer;
    color: #fff;
    /*font-size: 22px;*/
    font-size: clamp(16px, 2vw, 22px);
    padding: 5px;
    /*background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;*/
    margin-left: 10px;
}

.highlight-detail-wrapper #closePopup {
    right: 20px;
    /*font-size: 28px;*/
    font-size: clamp(18px, 2.5vw, 28px);
}

.highlight-detail-wrapper #fullscreenBtn {
    /*right: 150px;*/
    right: 120px;
    top: 24px;
}

.highlight-detail-wrapper #zoomBtn {
    /*right: 120px;*/
    right: 70px;
    top: 24px;
}

.highlight-detail-wrapper .share-dropdown .btn {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 5px 10px;
    color: #fff;
    /*font-size: 20px;*/
    font-size: clamp(16px, 2vw, 20px);
    display: none;
}

.highlight-detail-wrapper .share-dropdown .btn::after {
    display: none;
}

.highlight-detail-wrapper .share-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.85);
}

.highlight-detail-wrapper .share-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}


/********** event info page **********/
.event-overview-wrapper {

    padding: 7rem 0 5.5rem;
}
.event-overview-wrapper .row {
    justify-content: space-evenly;
}

.event-overview-wrapper .event-ov-right .title-red {
    padding: 0 0 2rem 0;
}

.event-overview-wrapper .event-title {
    /*font-size: 33px;*/
    font-size: clamp(20px, 4vw, 33px);
    color: #F24822;
    font-weight: bold;
    line-height: normal;
    padding: 0 0 1.2em;
}

.event-overview-wrapper .event-ov-desc {
    font-size: 18px;
    color: #333;
    line-height: normal;
}

.event-overview-wrapper .event-ov-desc p {
    margin-bottom: 2rem;
}

.event-overview-wrapper .img-box {
    background: #d9d9d9;
    border-radius: 30px;
    display: block;
    height: 100%;
    overflow: hidden;
}
.event-overview-wrapper .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.event-overview-wrapper .img-box.img-large {
    margin: 0 1.5rem 0 0;
    /*height: 385px;*/
    aspect-ratio: 3 / 4.6;
}
.event-overview-wrapper .img-box.img-small {
    /*height: 270px;*/
    aspect-ratio: 4 / 4.3;
}
@media (max-width: 992px) {
    .event-overview-wrapper .img-box img {
        width: 100%;
    }
}


/********** contests listing page **********/
.contests-listing-wrapper {

    padding: 5rem 0 7rem;
}

#contests-grid {
    /*gap: 3em;*/
    grid-gap: 2.5rem;
    width: 84%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.contests-listing-wrapper .contests-grid-item {
    /*padding: 2em;*/
    padding: 1.6rem 1.8rem 2rem;
    margin: 0;
    width: 100%;
    background: #F3F0E9;
    border-radius: 21px;
    box-sizing: border-box;
    overflow: hidden;
}

.contests-listing-wrapper .contests-grid-item .contests-grid-img {
    /*height: 288px;*/
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3.85 / 4;
}

.contests-listing-wrapper .contests-grid-item .contests-grid-img img {
    height: 100%;
    /*max-height: 288px;*/
    width: 100%;
    object-fit: cover;
    object-position: center;

}

.contests-listing-wrapper .contests-grid-item .contests-grid-content {
    padding: 1.5rem 0 0;
}

.contests-listing-wrapper .contests-grid-item .contests-grid-title {
    font-size: 23px;
    margin-bottom: 1.2rem;
    font-size: 22px;
    font-weight: 900;
}

.contests-listing-wrapper .contests-grid-item a {
    color: #C92B2C;
    text-decoration: none;

}

.contests-listing-wrapper .contests-grid-item .contests-grid-desc {
    font-size: 14px;
    padding: 2px 0 0;
    word-break: break-all;
    color: #77382C;
}

.contests-listing-wrapper .contests-grid-item .contests-grid-desc p {
    margin: 0;
    word-break: break-word;
}

.contests-listing-wrapper .contests-grid-item .contests-grid-btn {
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    background: #C92B2C;
    padding: 13px;
    max-width: 165px;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 10px;
    margin: 0 0 0 auto;
}

.contests-listing-wrapper .contests-grid-btn-wrapper {
    font-size: 16px;
    padding: 1.5rem 0 0;
}

#loadMoreBtn {
    font-size: 16px;
    font-weight: bold;
    color: #C92B2C;
    padding: 13px;
    max-width: 189px;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #C92B2C;
    margin: 2rem auto 0;
}

.color-red {
    color: #F67779;
}

/********** faq page **********/
.faq-wrapper {
    padding: 5rem 0 7rem;
}

.faq-title {
    font-size: 22px;
    color: #C92B2C;
    font-weight: bold;
    line-height: normal;
    padding: 1.8rem 0;
    text-align: left;
}

.faq-accordion .accordion-button {
    background: #fff;
    color: #000;
    padding: 1rem 0;
    font-size: 20px;
    box-shadow: none;
}

.faq-content {
    padding: 0 9% 0;
}

.faq-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #666060;
}

.faq-accordion .accordion-button::after {
    content: "";
    background: url("../images/arrow.png")no-repeat center center;
    background-size: 18px;
    transform: rotate(0deg);
    transition: transform .3s ease;
    width: 18px;
    height: 11px;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.faq-accordion .accordion-body {
    padding: 1.5rem 0;
    font-size: 18px;
    color: #000;
    background: #fff;
    border-top: 1px solid #666060;
}


.faq-accordion .accordion-body p a {
    color: #797777;
}

.faq-accordion .accordion-button:hover {
    color: #C92B2C;

}

.accordion-button::after {
    transition: transform 0.2s ease-in-out;
}

.accordion-button.collapsed::after {
    transform: rotate(0deg);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/********** contest detail page **********/
.contests-detail-wrapper .hl-detail-title2 {
    font-size: 33px;
    color: #C92B2C;
    font-weight: bold;
    line-height: normal;
    padding: 0.7rem 0;
}

.contests-detail-wrapper ul,
.contests-detail-wrapper ol {
    margin: 0 0 1.5rem;
    padding: 0 0 0 1.2rem;
}

.contests-detail-wrapper p {
    font-size: 16px;
    color: #444;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.contests-detail-inner .contests-inner-right {
    /*max-height: 300px;*/
}

.contests-detail-inner .contests-inner-right img {
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    object-position: center;
}

/********** single page **********/
.single-page-wrapper {
    padding: 5rem 0;
}
.single-page-wrapper .top-title {
    padding-left: 0;
}
.single-page-wrapper .title-red-3 {
    font-size: 33px;
    color: #C92B2C;
    font-weight: bold;
    line-height: normal;
    padding: 0.7rem 0;
}

.single-page-wrapper a {
    color: #C92B2C;
    text-decoration: none;
}

/*** fun guide page ***/
.open-hours-wrapper .calendar .dates {
    display: grid;
    grid-template-columns: repeat(7, 90px);
    gap: 10px;
}


.open-hours-wrapper .calendar .dates .date {
    background-color: #f8f8f8;
    border: 1px solid transparent;
}

.open-hours-wrapper .calendar .dates .date:hover {
    border-color: #C92B2C;
    background-color: #fee;
}

/* Non-selectable dates */
.open-hours-wrapper .calendar .dates .disabled {
    background-color: #f1f1f1 !important;
    color: #ccc !important;
    cursor: not-allowed !important;
    border: 1px solid #eee !important;
}

/* Selectable highlight (15–24) */
.open-hours-wrapper .calendar .dates .active-range {
    background-color: #fff8f8;
    border: 1px solid #c92b2c;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.open-hours-wrapper .calendar .dates .active-range:hover {
    background-color: #c92b2c;
    color: #fff;
    border-radius: 10px;
}

.open-hours-wrapper .calendar .dates .active-range.selected {
    background-color: #c92b2c;
    color: #fff;
    border-radius: 10px;
}


/* Top Section */
.open-hours-wrapper .details .day-info {
    margin-bottom: 20px;
}

.open-hours-wrapper .details .icon-row {
    display: flex;
    gap: 14px;
}

.open-hours-wrapper .details .icon {
    font-size: 24px;
    color: #C92B2C;
}

.open-hours-wrapper .details .status-label,
.open-hours-wrapper .details .label {
    color: #A19F9F;
    font-size: 12px;
}

.open-hours-wrapper .details .top-date {
    font-weight: 600;
    font-size: 1rem;
}

/* Status row */
.open-hours-wrapper .details .status-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}


.open-hours-wrapper .details .status-dot {
    width: 10px;
    height: 10px;
    background: #34c759;
    border-radius: 50%;
    display: inline-block;
}

/* Main date/time box */
.open-hours-wrapper .details .main-box {
    background: white;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.open-hours-wrapper .details .big-date {
    font-weight: bold;
    font-size: 16px;
    color: #C92B2C;
}

.open-hours-wrapper .details .big-date span {
    color: #333;
    font-weight: 400;
}

.open-hours-wrapper .time-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.open-hours-wrapper .time-wrapper .time {
    width: 48%;
    color: #333;
}

.open-hours-wrapper .time strong {
    color: #C92B2C;
    display: block;
}

/* Note box */
.open-hours-wrapper .note-box {
    background: white;
    border: 1px solid #eee;
    padding: 12px 15px;
    border-radius: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.open-hours-wrapper .text-sm {
    color: #8B8585;
    font-weight: 400;
    font-size: 16px;
}

.open-hours-wrapper .text-red {
    color: #C92B2C;
}

.open-hours-wrapper .oh-left-content {}

.open-hours-wrapper .calendar .dates .cal-day {
    color: #333;
    background: #fcf3f4;
    user-select: none;
    cursor: default;
}

.open-hours-wrapper .calendar .dates div {
    padding: 12px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}
.open-hours-wrapper .calendar .dates .day-num,
.open-hours-wrapper .calendar .dates .day-cn {
    padding: 0;
}
.open-hours-wrapper .calendar .dates .day-cn {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 400;
}
.semibold {
    font-weight: 600;
}


.getting-wrapper .faq-accordion .accordion-item .accordion-button.collapsed {
    background: #F8FCFD;
    color: #333;
    font-weight: 400;
}

.getting-wrapper .faq-accordion .accordion-item .accordion-button {

    background: #fdf7e9;
    color: #C92B2C;
    font-weight: 600;
}

.getting-wrapper .faq-accordion .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.getting-wrapper .faq-accordion .accordion-item {
    border-radius: 10px;
    background: #F8FCFD;
    border-bottom: 0;
    margin: 0 0 1.5rem;
}

.getting-wrapper .faq-accordion .accordion-body {
    border-top: 0;
}

@media screen and (min-width: 1200px) {
    #mapModal .modal-dialog {
        max-width: 1200px;
        width: 100%;
        margin: auto;
    }
}
@media (min-width: 1400px) and (max-width: 1600px) {
    .fun-begins-wrapper .custom-container {
        max-width: calc(
            1560px + (1700 - 1560) * ((70vw - 1400px) / (1600 - 1400))
        );
        margin-left: auto;
    }
}
@media screen and (min-width: 1600px) {
    .fun-begins-wrapper .custom-container {
        max-width: calc(
            1700px + (1900 - 1700) * ((70vw - 1600px) / (1920 - 1600))
        );
        margin-left: auto;
    }
}


@media screen and (max-width: 1401px) {
.fun-begins-wrapper .custom-container {
    padding-left: 8rem;
}
}
@media screen and (max-width: 1280px) {
    .open-hours-wrapper .oh-left-content .calendar .dates {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1200px) {
    #contests-grid {
        width: 100%;
    }

    .hl-detail-left-content {
        padding: 2em 0 0 0;
    }
    .event-map-wrapper .zoom-slider {
                bottom: 2rem;
            }

            .event-map-wrapper .zoom-buttons {
                right: 1rem;
                bottom: 1rem;
            }
}

@media screen and (max-width: 1024px) {

    .contests-listing-wrapper .contests-grid-btn-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallop-inner-wrapper {
        padding: 0;
    }

    .mx-6 {
        margin-right: 0;
        margin-left: 0;
    }

    .fun-guide-wrapper .fun-guide-inner .px-5 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .fun-guide-item-wrapper .fun-guide-item-grid {
        padding: 0 1rem;
    }
    .pd-3 {
        padding: 0;
    }

    .fun-begins-wrapper .custom-container.event-info-custom-container,
    .fun-begins-wrapper .custom-container {
        /*padding-left: 4rem;*/
    }

    .org-logo-wrapper .org-logo-items .org-logo.img-w-xl {
        /*transform: scale(0.8);*/
    }
     .fun-begins-wrapper .custom-container {
        padding-left: 2rem;
    }


}

@media (max-width: 992px) {
    
    .navbar .navbar-brand img {
        width: 70px;
    }

    .top-wrapper {
        padding: 98px 0 0;
    }

    .top-title,
    .title-red {
        font-size: 40px;
    }

    .custom-sub-font {
        font-size: 28px;
    }

    .para-xl {
        font-size: 16px;
        margin-bottom: 1.5rem !important;
    }

    .link-text {
        font-size: 16px;
    }
  
    .gallop-wrapper {
        padding: 4em 0 1.5em;
    }

    .fun-begins-wrapper {
        padding: 2rem 0 5rem;
    }

    .fun-guide-wrapper {
        padding: 3rem 0 0;
    }

    .news-feed-wrapper {
        padding: 3rem 0 2rem;
    }

    .organiser-wrapper {
        padding: 2.5rem 0 4rem;
    }

    .fun-guide-inner .card-title,
    .attraction-card .card-title {
        font-size: 22px;
    }
    .event-overview-wrapper .event-ov-desc,
    .fun-guide-inner .card-text,
    .attraction-card .card-text,
    .link-text,
    .para-xl {
        font-size: 16px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .org-logo-wrapper .org-logo-items {
        justify-content: center;
    }

    .org-logo-wrapper .org-logo-items.org-second-item {

        max-width: 100%;
    }

    .navbar {
        position: fixed;
        width: 100%;
    }

    .river-banner-wrapper {
        padding-top: 98px;
    }

    .hl-detail-right-content {
        padding-left: 0;
    }

    .footer-right {
        justify-content: center !important;
        text-align: center;
    }

    .footer-right .social-icons {
        display: block !important;
    }

    .copyright-wrapper p,
    .footer-left h4 {
        text-align: center !important;
    }

    .footer-left {
        padding: 0 0 1rem;
    }

    .gallop-inner-wrapper img {
        margin: 0 auto;
        display: block;
    }


    .faq-content {
        padding: 0 0 6%;
    }

    #highlight-grid {
        width: 100%;
    }

    .org-logo-wrapper {
        padding: 2rem 0;
    }

    .news-feed-wrapper .ig-btn-wrapper {
        display: block !important;
    }

    .news-feed-wrapper .ig-btn-wrapper p {
        padding: 0 0 1.5rem;
    }

    .org-logo-wrapper .org-logo-items {
        flex-wrap: wrap;
    }

    .open-hours-wrapper .oh-right-content {
        margin: 2rem 0 0;
    }

    .event-map-wrapper {
        padding: 3rem 0;
    }

    .getting-wrapper p.para-xl,
    .event-map-wrapper p {
        margin-bottom: 0 !important;
    }

    .getting-wrapper {
        padding: 2rem 0 0;
    }

    .getting-wrapper .faq-content {
        padding: 0;
    }

    .open-hours-wrapper {
        padding: 3rem 0 5rem;
    }

    .highlight-detail-wrapper .gallery-grid img {
        object-position: top;
    }

    .top-title {
        padding: 0;
    }

    .event-overview-wrapper {
        padding: 4rem 0 2rem;
    }

    .event-overview-wrapper .event-ov-right {
        padding: 0 0.6rem;
    }

    .event-overview-wrapper .event-ov-desc p {
        margin-bottom: 1rem;
    }

    .highlights-listing-wrapper {
        padding: 3rem 0 6rem;
    }

    .highlights-listing-wrapper .pd-4 {
        padding-bottom: 2rem;
    }

    .pd-three {
        padding-bottom: 1.5rem;
    }

    #highlight-grid {
        gap: 3rem;
    }

    .contests-detail-wrapper,
    .highlight-detail-wrapper {
        padding: 3.8rem 0 2rem;
    }
    .contests-detail-inner .col-lg-7 p {
        margin-right: 0;
    }
    .hl-detail-left-gallery-wrapper {
        padding: 2.5rem 0 0;
    }

    .faq-wrapper,
    .contests-listing-wrapper {
        padding: 3.5rem 0 5rem;
    }

    .contests-listing-wrapper .pd-4 {
        padding-bottom: 2rem;
    }

    .contests-detail-wrapper .py-6 {
        padding-top: 3rem;
    }

    .event-info-main-bg .container:after {
        top: 60%;
        width: 360px;
        height: 291px;
    }

    .fun-guide-main-bg .container:after {
        top: 60%;
        width: 460px;
        height: 291px;
    }

    .highlights-main-bg .container:after {
        top: 60%;
        width: 280px;
        height: 308px;
    }

    .contests-main-bg .container:after {
        width: 400px;
        height: 244px;
        top: 60%;
    }

    .faq-main-bg .container:after {
        width: 400px;
        height: 187px;
        top: 60%;
    }

    .fortune-card-main-bg .container:after {
        width: 280px;
        height: 274px;
        top: 60%;
    }

    .horse-main-bg .container:after {
        width: 300px;
        height: 276px;
        top: 60%;
    }

    .builder-main-bg .container:after {
        width: 260px;
        height: 259px;
        top: 60%;
    }

    .single-page-wrapper {
        padding: 3rem 0;
    }

    .contests-detail-inner .contests-inner-right {
        max-height: 100%;
    }

    .single-main-bg .container:after {
        width: 400px;
        height: 333px;
    }

}

@media (max-width: 768px) {

    .top-title,
    .title-red {
        font-size: 36px;
    }

    .custom-sub-font {
        font-size: 24px;
    }

    .gallop-wrapper {
        padding: 2.5em 0 1em;
    }

    .fun-guide-wrapper {
        padding: 2rem 0 0;
    }

    .news-feed-wrapper {
        padding: 2rem 0 1.5rem;
    }

    .organiser-wrapper {
        padding: 1.5rem 0 2.5rem;
    }

    .news-feed-wrapper .follow-btn {
        font-size: 20px;
    }

    .news-feed-wrapper .ig-thumb {

        height: 100%;
    }

    .news-feed-wrapper .ig-thumb img {

        max-height: 43vw;

    }

    .org-logo-wrapper .org-logo-items.org-first-item .org-logo-item {
        /*flex: 0 0 260px;*/
    }

    #contests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .getting-wrapper .faq-accordion .accordion-item .accordion-button {
        padding: 1rem;
    }

    .faq-accordion .accordion-button {
        font-size: 20px;
    }

    .getting-wrapper .faq-accordion .accordion-body {
        padding: 0 1rem 1rem;
    }

    .faq-accordion .accordion-body {
        font-size: 16px;
    }

    .event-map-wrapper {
        padding: 2rem 0;
    }

    .getting-wrapper {
        padding: 1.5rem 0 0;
    }

    .open-hours-wrapper {
        padding: 2rem 0 3rem;
    }

    .fun-btn-wrapper {
        padding-bottom: 2rem;
    }

    .highlights-listing-wrapper {
        padding: 2rem 0 5rem;
    }

    #highlight-grid {
        gap: 2rem;
    }

    .contests-detail-wrapper,
    .highlight-detail-wrapper {
        padding: 2.5rem 0 2rem;
    }

    .faq-wrapper,
    .contests-listing-wrapper {
        padding: 2.5rem 0 3.5rem;
    }

    .single-main-bg .container:after {
        left: 50%;
    }
}

@media (max-width: 640px) {
    .hl-detail-left-wrapper .title-red,
    .title-red-2,
    .top-title,
    .title-red {
        font-size: 28px;

    }

    .footer-nav {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-right: 0 !important;
    }

    .footer-right .footer-nav li,
    .footer-right .footer-nav a {
        margin: 0 0 10px 0 !important;
    }

    #contests-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    #highlight-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .event-overview-wrapper .event-ov-desc,
    .fun-guide-inner .card-text,
    .attraction-card .card-text,
    .link-text,
    .para-xl {
        font-size: 14px;
    }

    .faq-accordion .accordion-button {
        font-size: 18px;
    }

    .fun-guide-main-bg .container:after {
        width: 360px;
        height: 228px;

    }

    .highlights-main-bg .container:after {
        width: 260px;
        height: 286px;
    }

    .single-main-bg .container:after {
        width: 360px;
        height: 300px;
    }
    .event-map-wrapper .zoom-slider {
                width: 77%;
            }
}

@media (max-width: 576px) {

    .hl-img-card-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hl-img-card-wrapper img {
        width: 100%;
        max-width: 300px;
    }

    .open-hours-wrapper .oh-left-content .calendar .dates {
        gap: 5px;
        font-size: 14px;
    }

    .open-hours-wrapper .oh-left-content .calendar .dates div {
        padding: 6px;
    }

}

@media (max-width: 480px) {
    .fun-guide-main-bg .container:after {
        left: 28%;

    }

    .top-wrapper {
        min-height: 380px;
    }

    .event-info-main-bg .container:after {
        width: 280px;
        height: 227px;
        left: 28%;
    }

    .highlights-main-bg .container:after {
        width: 220px;
        height: 242px;

    }

    .contests-main-bg .container:after {
        left: 28%;
    }

    .faq-main-bg .container:after {
        left: 28%;
    }

    .fortune-card-main-bg .container:after {
        width: 240px;
        height: 234px;
    }

    .horse-main-bg .container:after {
        width: 240px;
        height: 221px;
        left: 50%;
    }

    .builder-main-bg .container:after {
        width: 220px;
        height: 219px;
        left: 50%;
    }
    .single-main-bg .container:after {
        width: 300px;
        height: 250px;
    }
}

@media (max-width: 415px) {

    .fortune-card-main-bg .container:after {
        left: 50%;
    }
}