/*//custom css*/
@font-face {
    font-family: 'nycarlsbergdisplay-bold';
    src: url('../webfonts/nycarlsbergdisplay-bold-webfont.woff2') format('woff2'),
         url('../webfonts/nycarlsbergdisplay-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}
@font-face {
    font-family: 'DinPro';
    src: url('../webfonts/FontFont-DIN-Pro-Cond-Black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: '方正大黑简体';
    src: url('../webfonts/方正大黑简体.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GothamRounded-Bold';
    src: url('../webfonts/GothamRounded-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
body, html {
    font-family: nycarlsbergdisplay-bold,arial;
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body::-webkit-scrollbar, html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.font_zfth{
    font-family: '方正大黑简体';
}
.theme_bg {
    background: #f8efb1;
}
#audio-control{
    z-index: 9999;
}
.hotspot-input {
position: absolute;
    bottom: 42.5%;
    left: 48.8%;
    transform: translate(-50%, 50%);
    width: 44%;
    height: 9%;
    font-size: 3vh;
    text-align: center;
    border: 0;
    /* border-radius: 65px; */
    background: #ffffff00;
    color: #004ba3;
    font-weight: bold;
    z-index: 9999;
    outline: none;
}

.hotspot-input:focus {
    /* box-shadow: 0 0 10px rgba(0, 75, 163, 0.5); */
}

.hotspot-next {
    position: absolute;
    bottom: 32%;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 9%;
    cursor: pointer;
    background: rgba(255, 0, 0, 0);
    z-index: 10;
}
.hotspot-next-age {
    position: absolute;
    bottom: 10.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 48%;
    height: 9%;
    cursor: pointer;
    background: rgba(255, 0, 0, 0);
    z-index: 10;
}
.hotspot-next-p3 {
    position: absolute;
    bottom: 10.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 48%;
    height: 9%;
    cursor: pointer;
    background: rgba(255, 0, 0, 0);
    z-index: 10;
}
.hotspot-next-p4 {
    position: absolute;
    bottom: 10.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 48%;
    height: 9%;
    cursor: pointer;
    background: rgba(255, 0, 0, 0);
    z-index: 10;
}
.hotspot-next-p6 {
    bottom: 14%;
    width: 49%;
}
.hotspot-next-p7 {
    bottom: 14%;
    width: 49%;
}
.hotspot-next-p9{
    bottom: 12%;
    left: 50%;
    width: 69%;
    height: 8%;
}
.hotspot-next-p10{
    bottom: 14%;
    width: 69%;
    height: 10%;
}
#timer-container {
    position: absolute;
        /* top: 21.7%; */
            bottom: 0%;
    right: 42.2%;
    font-family: 'GothamRounded-Bold';
    font-size: 1.6em;
    color: #253677;
}
#timer-container.timer-container-p9{
    bottom: 22%;
}
#timer-val{
        width: 1.2em;
    display: inline-block;
}

input[type="number"]::-webkit-outer-spin-button, 
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Page 5 Game Styles */
.game-container {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 80%;
        height: 70%;
    bottom: 10%;
    pointer-events: none; /* Allow clicks to pass to collector if needed, but we'll use window listeners */
}

#collector {
    position: absolute;
    bottom: 5%;
    left: 50%;
    width: 15vh;
    height: 15vh;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: auto;
    cursor: grab;
}

.falling-item {
    position: absolute;
    width: 25%;
    display: block;
    /* height: 8vh; */
    z-index: 50;
    pointer-events: none;
}

/* Thermometer Styling */
.thermometer-container {
    position: absolute;
    right: 12.5%;
    top: 49%;
    transform: translate(50%, -50%);
    width: 4vh;
}
#thermometer-img{
    width: 100%;
        display: block;
}
.thermometer-point{
    position: absolute;
    right: 11%;
    top: 29%;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    display: none;
    text-shadow: 0 0 10px #253677;
}
.thermometer-fill {
    width: 100%;
    height: 0%; /* Dynamic fill */
    background: linear-gradient(to top, #ff0000, #ff7e5f);
    border-radius: 30px;
    transition: height 0.3s ease-out;
    box-shadow: 0 0 15px #ff7e5f;
    position: relative;
}

.thermometer-fill::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 20%;
    width: 15%;
    height: 80%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.score-display {
    position: absolute;
    top: 5%;
    left: 5%;
    font-size: 4vh;
    color: #004ba3;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/*kitkat css*/
.image-wrapper{
    position: relative;
    overflow: hidden;
}
.hotspot-start{
    position: absolute;
    right: 50%;
    bottom: 11%;
    width: 49%;
    height: 8%;
    display: block;
    transform: translate(50%, 0);
    z-index: 99;
    cursor: pointer;
}
.nav-image{
    width: auto;
    height: 100vh;
    pointer-events: none;
    display: block;
    margin: auto;
        z-index: 999;
    position: relative;
}

.nav-container {
    height: 100vh;
    width: 100%;
    max-width: 780px;
}

.fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

.export-server{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 99999;
    color: #fff;
    padding: 10px;
    opacity: .5;
}
    .pin_bg1, .pin_bg2, .pin_bg3{
        position: absolute;
    }
    .pin_bg1{
        left: 0;
        top: 0;
        width: 60%;
    }
    .pin_bg2{
            bottom: 0;
    }
    .pin_bg3{
        right: 0;
        width: 39%;
    }
    .home_head{
        position: absolute;
        top: 40%;
        right: 50%;
        transform: translate(50%,0);
            width: 66%;
    }
    .game_head{
        position: absolute;
        top: 8%;
        right: 50%;
        transform: translate(50%,0);
        width: 55%;
    }
    .game_bg_right, .game_bg_left{
        position: absolute;
        top: 0;
        bottom: 0;
        height: 100vh;
    }
    .game_bg_right{
        left: 0;
    }
    .game_bg_left{
        right: 0;
    }
        .prize_ul{
            position: absolute;
            top: 40%;
            right: 50%;
            transform: translate(50%, 0);
            width: 70%;
            display: flex;
            list-style-type: none;
            letter-spacing: -3px;
        }
        .prize_ul li{
            position: relative;
                margin: 0 1em;
                flex-basis: calc(100% / 9 - 2em);
        }
        .prize_ul li img{
            width: 75px;
            margin: auto;
        }
        .prize_ul li.move_up_bottle{
                margin-top: -3em;
        }
        .prize_ul li span{
            font-family: 'DinPro';
            position: absolute;
            top: 33%;
            font-size: 3em;
            right: 50%;
            transform: translate(40%, 0%);
            color: #ea0b2a;
        }
        .break {
          flex-basis: 100%;
          height: 0;
        }
        #BottlePop img{
            width: 50%;
            margin: auto;
        }
        #BottlePop .modal-content{
            background: transparent;
        }
        /* Define the shake animation */
        @keyframes shake {
          0%, 100% {
            transform: translateX(0);
          }
          10%, 30%, 50%, 70%, 90% {
            transform: translateX(-5px);
          }
          20%, 40%, 60%, 80% {
            transform: translateX(5px);
          }
        }
        @keyframes wiggle {
          0%, 100% {
            transform: rotate(0deg);
          }
          10%, 30%, 50%, 70%, 90% {
            transform: rotate(-3deg); /* Counterclockwise */
          }
          20%, 40%, 60%, 80% {
            transform: rotate(3deg);  /* Clockwise */
          }
        }

        /* Apply the shake effect on hover */
        .shake-hover:hover {
          animation: wiggle 0.5s ease-in-out infinite;
        }

.prize_head{
    position: absolute;
    top: 8%;
    right: 50%;
    transform: translate(50%,0);
    width: 40%;
}
.win-prize-item{

    position: absolute;
    top: 32%;
    right: 50%;
    transform: translate(50%, 0);
    width: 70%;
    display: flex;
    list-style-type: none;
    letter-spacing: -3px;
        
}

#snowfallContainer {
    position: relative;
    z-index: 999;
}
.snowflake {
    position: absolute;
    top: -100px;
    pointer-events: none;
    z-index: 9999;
}
.display_none{
	 display:none; 
}

    .btn-cny23{
            border: 0.1em solid transparent;
            background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(45deg, rgba(140,103,43,1) 0%, rgba(247,240,170,1) 30%, rgba(245,216,102,1) 50%, rgba(248,244,183,1) 70%, rgba(211,169,95,1) 100%);
            background-origin: border-box;
            background-clip: content-box, border-box;
            box-shadow: 2px 1000px 1px #ea0a2a inset;
            border-radius: 100px;
            color: #fff;
            font-size: 3vh;
            padding: 0em 2em;
            width: fit-content;
            margin: auto;
            display: block;
            text-align: center;
            text-decoration: none;
    }
    .btn-cny23:hover{
        color: #fff;
    }
    .fa_center_box{
        width:50vh;    
        flex-direction: column;
    }
    .fa_center_box.fix_100w{
        width:100vh;    
    }
    .overlay {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgb(12 12 12 / 18%); /* Adjust the last value (0.5) for transparency */
        }
 label.error{
     width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
 }
 .form-control.error {
    /* border-color: #dc3545; */
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.form-control.valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgb(25 135 84 / 25%);
}
.bg-footer{
    color: #003c97;
    font-size: 14px;
}
.agegate__inner{
    padding-bottom: 15px;
}
.agegate_fb, .agegate_in{
    display: inline-block;
    width: 35px;
    padding: 5px;
    margin-bottom: 5px;
}

/*custom css*/
.was-validated .form-control.is-invalid {
    border-color: #dc3545!important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
}
.home_a_modal {
    position: absolute;
    bottom: 16.3%;
    width: 21.7%;
    left: 39.2%;
    height: 8.5%;
    display: block;
    border-radius: 50px;
}
.modal-close{
    position: absolute;
    right: 0em;
    background: transparent;
    width: 3em;
    height: 3em;
    padding: 0.25em 0.25em;
    border: 0px;
}
.footer_banner {
    background-color: #166939;
}

.footer_banner {
    text-align: center;
    display: block;
}
.footer_banner {
    padding: 0 3em;
}
.footer_banner {
    background-color: #062f87;
    /* background-image: url(../Images/web/Web_Background_CNY2022.png); */
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    /* border: #00559f 1px solid; */
    }
.footer_banner a {
    padding: 3em 0;
    display: block;
    text-decoration: none;
}
.footer_banner .ft_title {
    display: block;
    margin-top: 1em;
    color: #fff;
}
.footer_banner img {
    width: auto;
    height: 50px;
    margin: auto;
    display: block;
}
.pop_link1, .pop_link2, .pop_link3{
    
position: absolute;/* bottom: 46%; */left: 42%;display: block;height: 15%;width: 50%;}
.pop_link1{

bottom: 46%;}
.pop_link2{

bottom: 26%;}
.pop_link3{

bottom: 7%;}

input[type="submit"]:disabled {
    background: #dddddd;
}
.ft_1664blanc{
    width: 18vw;
    position: absolute;
    bottom: 15px;
    left: 15px;
}
.logo_home{
    width: 100px;
    margin: auto;
    margin-top: 15px;
}
.menu_logo{
    width: 14vw;
    margin: auto;   
}
.menu-mobile .fa-bars{
    font-size: 2rem;
    padding: .50rem;
margin: 0;}
/*page*/
.page_title_small {
    text-align: center;
    color: #00559f;
    font-size: 1.5vw;
}
.gastr_state_ul{
    
list-style: none;margin-bottom: 7em;display: block;}
    .gastr_state_ul > li{

    border-bottom: 2px solid #012f87;margin-bottom: 20px;/* padding: 1% 0 0 1%; */width: 100%;}
    .gastr_state_ul > li:last-child{
        border-bottom: 0;
    }
.gastr_state_box{

}
.gs_box_state_title{
    font-family: futura-heavy;
    color: #1B459B;font-size: 1.4em;padding-bottom: 15px;}
    .gs_box_ul{
        padding: 0;
        margin: -3% 0 25px -3%;
        display: flex;
        position: relative;
        }
        .gs_box_ul > li{
            display: inline-block;
            width: 24%;
            padding: 3% 0 0 3%;
            /* position: relative; */
            }
            .gs_box_a{
                position: relative;
                display: block;
            }
            .gs_box_img{

            }
            .gs_box_title{
                text-align: center;
                background: #002F87;
                color: #fff;
                padding: 5px;
                position: absolute;
                width: 100%;
                bottom: 0;
                display: block;
                right: 0;
                left: 0;
                }
            .gs_box_ul .zoom {
              transition: transform .2s; /* Animation */
              margin: 0 auto;
            }
            .gs_box_ul .zoom:hover {
              transform: scale(1.05) !important; /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
            }
/*recipes*/
.recipes_box_ul{

margin: -1% 0 0 -1%;}
    .recipes_box_ul li{

    display: inline-block;width: 33%;padding: 1% 0 0 1%;vertical-align: top;}
        .recipes_box_title{

        background: #E6E7E8;padding: 8px;color: #003DA5;font-weight: bold;height: 4.5vw;;vertical-align: middle;font-size: 1.2vw;}
            .recipes_box_link{display: block;width: 100%;/* padding: 5px; */background: #003DA5;color: #fff;}
                .recipes_box_link:hover, .recipes_box_link:hover img{
                    opacity: .5;
                color: #8aaacb;-webkit-transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),-webkit-transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),-webkit-transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),-webkit-transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    /* color: #193a83; */}
                .recipes_box_link img{width: auto;height: 22px;display: inline-block;padding-right: 5px;}
/*recipes detail*/
.recipes_detail_box{
    color: #003DA5;
}
    .recipes_detail_title1{
        font-family: futura-book;
    }
        .recipes_detail_title1 small{
            
        font-size: .475em;}
    .recipes_detail_title2{font-family: futura-heavy;text-decoration: underline;font-size: 22px;font-weight: 400;letter-spacing: 7px;}
        .recipes_detail_ingr{font-family: futura-book;font-size: 22px;}
            .ingr_tt_bold{font-family: futura-heavy;}
            .recipes_detail_method{font-family: futura-book;font-size: 22px;}
                .recipes_detail_ft_tt1{font-size: 24px;font-family: futura-book;}
                .recipes_detail_ft_tt2{font-family: futura-heavy;font-size: 26px;}
                .next_prev_recipes{}
                    .next_prev_recipes a{padding: 10px 25px;border: 1px solid #003da5;color: #003da5;width: 16vw;}
                    .next_prev_recipes a:first-child{margin-right: 35px;/* padding: 7px; *//* margin-bottom: 10vw; */}
                    .next_prev_recipes a:hover{opacity: .5;}
                        .next_prev_recipes span{font-family: futura-book;letter-spacing: 2px;}
                        .next_prev_recipes img{width: 21px;display: inline-block;margin-right: 10px;margin-top: -4px;}

/*nav bar*/
.cny2022-nav {
    /*background-color: #FFF !important;*/
    /* position: absolute; */
    z-index: 999;
    width: 100%;
    display: block;
}
.navbar{
    padding-top: 0;
}

.cny2022-nav .navbar-brand img {
    width: 140px;
}

.cny2022-nav .cny2022-redemption-btn {
    background-color: #062f87;
    border-radius: 0;
}
.cny2022-nav-mobile .cny2022-redemption-btn {
    background-color: #062f87;
    border-radius: 0;
}

.cny2022-nav .cny2022-redemption-btn span {
    display: inline-block;
    font-weight: bold;
    background: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* font-family: Somersbyheader2015; */
    text-transform: uppercase;
}

.cny2022-nav-mobile .cny2022-redemption-btn span {
    display: inline-block;
    font-weight: bold;
    background: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* font-family: Somersbyheader2015; */
    text-transform: uppercase;
}
.cny2022-nav .dropdown-menu {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

.cny2022-nav .dropdown-menu li a {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 2em;
}

.cny2022-nav .dropdown-menu li a:hover {
    padding-left: 3.5em;
}

.cny2022-nav .dropdown-menu li ul.dropdown-menu-sub > li > a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    position: absolute;
    top: 10px;
    left: 2.1em;
}

.cny2022-nav .dropdown-menu li a:hover::before {
    left: 1.5em;
}

.cny2022-nav .dropdown-menu[data-bs-popper] {
    margin-top: 0;
}

/*.cny2022-nav .dropdown a.show, .cny2022-nav .dropdown a:hover {
    background-color: #7b0d09;
    color: #FFF !important;
}*/

.cny2022-nav .dropdown-toggle::after {
    display: none;
}

.cny2022-nav .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

/*nav bar mobile*/
.cny2022-nav-mobile {
    background-color: #FFF0 !important;
    /*overflow: hidden;*/
    /* position: absolute; */
    z-index: 999;
    width: 100%;
    padding-bottom: 0;
}

.cny2022-nav-mobile .navbar-brand img {
    max-width: 100px;
    /*height: 43px;*/
}

.cny2022-nav-mobile .navbar-toggler {
    border: none;
}

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

.cny2022-nav-mobile .dropdown-toggle::after {
    display: none;
}

.cny2022-nav-mobile .dropdown-menu {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

.cny2022-nav-mobile .dropdown-item {
    white-space: normal;
}

.cny2022-nav-mobile .dropdown-menu-sub li a {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 2.5em;
}

.cny2022-nav-mobile .dropdown-menu-sub > li > a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    position: absolute;
    top: 10px;
    left: 1.55em;
}
.navbar-light .navbar-toggler-icon{
    background-image: url('../Images/menu.png');
}
.navbar-toggler-icon {
    width: 3.5em;
    height: 3.5em;
    background-size: 99%;
}
.cny2022-nav .cny2022-redemption-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}


/*menu*/
.navbar-nav .dropdown-menu {
    position: absolute;
}
.cny2022-nav .navbar-nav .nav-link{
    padding-left: 0;
}
.cny2022-nav .dropdown-menu li a::before {
    /*content: "\f067";*/
}
.cny2022-nav .dropdown-menu-sub > li > a::before {
    content: "\f054";
        left: 3em;
}
.cny2022-nav .dropdown-menu-sub2 > li > a::before {
    /* content: "\f068"; */
    left: 5em;
}
.dropdown-menu-sub, .dropdown-menu-sub2{
    padding-left: 0px;
    list-style: none;
    color: #fff;
}
.dropdown-menu-sub2{
    /* padding-left: 50px; */
}
.cny2022-nav .dropdown-menu-sub li a{
    padding-left: 3.2em;
}
.cny2022-nav .dropdown-menu-sub2 li a{
    /* padding-left: 7em; */
}
.dropdown-menu-sub{
    list-style: none;
}
.cny2022-nav .dropdown-menu-sub li a:hover {
    padding-left: 5.5em;
}
.cny2022-nav .dropdown-menu-sub li a:hover::before {
    left: 3.5em;
}
.cny2022-nav .dropdown-menu[data-bs-popper] {
    margin-top: 0;
    background: #062f87;
    box-shadow: 0px 0px 7px #fff;
    padding: 15px 0;
}
.cny2022-nav .dropdown-menu li a{
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #fff!important;
    background-color: #004ba3;
}
.dropdown-item.no-hover:focus, .dropdown-item.no-hover:hover {
    color: #fff!important;
    background-color: #b91f2500;
    padding-left: 2em!important;
}

/*home modal*/
#redemptionModal .btn-close{
    position: absolute;
    margin: 0;
    right: 4.4%;
    top: 7%;
    border-radius: 2em;
    background-color: rgba(0,0,0,0.4);
    width: 2.5%;
    height: 4.7%;
    background: transparent;
}
.home-modal-link{
    position: absolute;
    bottom: 16.5%;
    width: 19.4%;
    height: 55.6%;
    left: 9.3%;
}
.home-modal-link.hml-cvs{left: 30.14%;}
.home-modal-link.hml-bars{left: 51%;}
.home-modal-link.hml-ecom{left: 71.8%;}

.top_menu_float{
    position: absolute;
    width: 100%;
    top: 3%;
}
.top_menu_float.p-about{top: 1%;}
.top_menu_float .cny2022-redemption-btn{
    display: none;
}

/*agegate*/
.agegate{
    padding: 22px;
    background-color: #0056a3;
}
.agegate__inner{
    background-color: #fff;
    background-image: url(../Images/pages/agegate_bg.jpg?v=1);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
}
.agegate__logo-container{
    padding: 50px 0 0 0;
}
.agegate__birthday-group{
    margin-top: 0;
}
.img_flower{
    position: absolute;
}
.img_flower.flower1{top: 8%;margin-left: -7%;width: 12%;}
.img_flower.flower2{bottom: -4%;left: 10%;width: 16%;}
.img_flower.flower3{bottom: -4%;right: -2%;width: 15%;}
.agegate_ico{
    display: inline-block;
    width: 6%;
    margin-top: -0.7%;
    margin-left: .5%;
}
.cny2022-nav-mobile .cny2022-redemption-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: .71em;
}

/*about*/
.about_vid_box,.about_vid_box2{
    position: absolute;
    width: 64.4%;
    height: 21.4%;
    left: 17.3%;
    border: 12px;
}
.about_vid_box{
    bottom: 71.5%;
}
.about_vid_box2{
    bottom: 29.8%;
}
@media (max-width:992px) {
    /*about*/
    .video-content-about{
        position: relative;
        height: 100%;
    }
    .video-content-about video, .video-content-about .vid_cover_img{
        top: 50%;
        margin-top: -29%;
        position: absolute;
    }
    .about_vid_box,.about_vid_box2{
        position: absolute;
        width: 84.2%;
        height: 20%;
        left: 7.5%;
        border: 12px;
    }
    .about_vid_box{
        bottom: 72.2%;
        /* background: #000; */
    }
    .about_vid_box2{
        bottom: 33.4%;
        /* background: #000; */
    }
    
    .home-modal-link{bottom: 47.7%;left: 11%;width: 37.7%;height: 32.7%;}
    .home-modal-link.hml-shm{}
    .home-modal-link.hml-cvs{
        left: 51.54%;
    }
    .home-modal-link.hml-bars{
        left: 11%;
        bottom: 13.5%;
    }
    .home-modal-link.hml-ecom{
        bottom: 13.5%;
        left: 51.64%;
    }
    #redemptionModal .btn-close{
        top: 4.4%;
        right: 6.3%;
        height: 2.5%;
        width: 4.5%;
    }
    .top_menu_float .navbar-nav:nth-child(1){
        padding-left: 10%;
    }
     .m-menu-click{
        font-size: .7em;
    }
    /*menu*/
    .cny2022-nav-mobile .dropdown-menu{
        width: 100%;
        padding: 10px 0 10px;
        font-size: .71em;
    }
    .cny2022-nav-mobile .dropdown-menu-sub > li > a::before{
        content: "\f067";
        top: 8px;
    }
    .cny2022-nav-mobile .dropdown-menu-sub > li > a::before {
        content: "\f054";
        left: 1.5em;
    }
    .cny2022-nav-mobile .dropdown-menu-sub2 > li > a::before {
         /*content: "\f068"; */
        left: 5em;
    }
    .cny2022-nav-mobile .dropdown-menu-sub{
        padding-left: 0;
    }
    .cny2022-nav-mobile .dropdown-menu-sub li a{
        /* padding-left: 5em; */
    }
    .cny2022-nav-mobile .dropdown-menu-sub2 li a{
        padding-left: 3em;
    }
    .cny2022-nav-mobile .dropdown-menu {
        margin-top: 0;
        background: #062f87;
        box-shadow: 0px 0px 7px #fff;
    }
    .cny2022-nav-mobile .dropdown-menu li a{
        color: #ffffff;
        font-weight: bold;
    }
    .cny2022-nav-mobile .dropdown-item:focus, .dropdown-item:hover {
        color: #fff!important;
        background-color: #0056a1;
    }
    .cny2022-nav-mobile .dropdown-menu li a{
        padding-top: 8px;
        padding-bottom: 8px;
        /* padding-left: 3em; */
    }
    
    .cny2022-nav-mobile .nav-item.dropdown > a.dropdown-toggle.show::after{
        display: none;
    }
    .modal-close{
            width: 4.5em;
            height: 4.5em;
    }
    .home_a_modal{
        bottom: 33%;
        left: 26%;
        width: 48%;
        height: 5.7%;
    }

    /*agegate*/
    .agegate__inner{
        background-size: cover;
        background-color: #fff;
        background-image: url(../Images/pages/m/agegate_bg.jpg?v=1);
    }
    .agegate__logo-container .logo {
        width: 50%;
    }
    .agegate__markets{
        display: none;
    }
    .agegate__terms{
        font-size: .681rem;
        margin: 0;
        display: block;
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0 auto;
    }
    .agegate__feedback{
        margin: 0;
    }
    .agegate__birthday-groups{
        height: 220px;
    }
    .bg-footer{
        font-size: .581rem;
        position: absolute;
        bottom: 4rem;
        width: 100%;
        right: 0;
        left: 0;
    }
    .img_flower.flower1 {
        top: 12%;
        margin-left: -7%;
        width: 15%;
    }
    .img_flower.flower2 {
        bottom: 27%;
        left: 81%;
        width: 28%;
    }
    .img_flower.flower3 {
        bottom: -1%;
        right: -8%;
        width: 30%;
    }

    .img_flower.flower4{
    bottom: 56%;
    right: 0;
    width: 8%;
}
    .img_flower.flower5{
    bottom: 67%;
    right: -21px;
    width: 8%;
}
    .img_flower.flower6{
    bottom: 73%;
    right: 0%;
    width: 13%;
}
    .img_flower.flower7{
    top: 1.7%;
    left: 70%;
    width: 8%;
}
    .img_flower.flower8{
    bottom: 61%;
    left: 0%;
    width: 10%;
}
}
@media (max-width:1280px) {
    .prize_ul{
        width: 80%;
    }
}
@media (max-width:959px) {

    .subm_menu .menu{
        position: absolute;
        top: 12px;
        right: 0;
        font-size: 9vw;
        display: block;
        /* padding: 20px; */
    }
    .menu-mobile{
        width: 100px;
        height: 100px;
        display: block;
    }
    .menu {
        /* width: 100px; */
        height: 100px;
    }
}
@media (max-width:780px) {
    #timer-container{
        /* top: 21.5%; */
        bottom: 0;
        right: 39.2%;
        font-size: 5vw;
    }
    .thermometer-container{
        top: 47%;
        width: 7vw;
    }
    .nav-image{
        width: 100%;
        height: 100%;
    }
    .hotspot-input{
        width: 61%;
    }
}
@media (max-width:768px) {
    .cny2022-nav-mobile .dropdown-menu {
        margin-top: 0;
        background: #062f87;
        box-shadow: 0px 0px 7px #fff;
    }
    .cny2022-nav-mobile .dropdown-menu {
        width: 100%;
        padding: 10px 0 10px;
        font-size: .71em;
        /* display: block; */
    }
    .ft_1664blanc{
        width: 50vw;
    }
    .menu .menu-mobile{
        padding: 8px!important;
        color: #fff!important;
        border-radius: 50px;
        background-color: #063087;
    margin-right: 15px;/* font-weight: 100; */padding: 1vw!important;
    width: 60px;
    height: 60px;display: block;
    text-align: center;/* vertical-align: middle; */}
    
    .pop_link1{
        bottom: 66%;
        left: 10%;
        width: 82%;
        height: 10%;
    }

    .pop_link2{
        bottom: 55%;
        left: 10%;
        width: 82%;
        height: 10%;
    }

    .pop_link3{
        bottom: 43%;
        left: 10%;
        width: 82%;
        height: 10%;
    }
    .footer_banner{
        padding: 0;
    }
    .subm_menu .menu{
        position: absolute;
        top: 12px;
        right: 0;
        z-index: 999;
        width: 1em;
        height: 1em;
        display: block;
    }
    .subm_menu .menu .menu-mobile{
        padding: 8px!important;
        color: #fff!important;
        border-radius: 50px;
        background-color: #063087;
        margin-right: 15px;
    }
    .subm_menu .menu .show-on-mobile{
        margin-top: 20px;
    }
    /*recipes*/
    .recipes_box_title{
        font-size: 4vw;
        padding: 8px;
        height: 15vw;
    }
    .page_title_small {
        text-align: center;
        color: #00559f;
        font-size: 4vw;
    font-weight: bold;}
    .recipes_detail_title1{font-size: 1.1em;}
    .recipes_detail_title2{font-size: 12px;letter-spacing: 3px;}
        .recipes_detail_ingr{font-size: 11px;}
    .recipes_detail_method{font-size: 11px;}
    .recipes_detail_ft_tt1{font-size: 14px;}
    .recipes_detail_ft_tt2{font-size: 16px;}
    .next_prev_recipes a{width: 35vw;margin-bottom: 85px;padding: 8px;line-height: 10px;}
        .next_prev_recipes img{width: 8px;margin-top: 2px;margin-right: 5px;}
        .next_prev_recipes span{font-size: .41em;letter-spacing: 1px;}

    /*gastronomy*/
    .gastr_state_ul{padding: 0;}
    .gs_box_state_title{font-size: 16px;}
    .gs_box_ul > li{width: 48%;}
        .gs_box_title{font-size: 10px;}

    .footer_banner a{padding: 1.5em 0;}
        .footer_banner .ft_title{font-size: 12px;}
    }

/* KitKat Custom Styles */
.kitkat-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    max-width: 780px;
    margin: 0 auto;
}

.kitkat-bg-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

.kitkat-hotspot-start {
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37%;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    z-index: 10;
}

.kitkat-slider-indicator {
    position: absolute;
    top: 46.3%; /* Centered vertically inside the gradient bar */
    left: 0;
    height: 9.5%;
    width: auto;
    transform: translate3d(calc(var(--slider-left-px, 144px) - 50%), -50%, 0); /* Centered both horizontally and vertically */
    z-index: 15;
    pointer-events: none;
    will-change: transform;
}

.kitkat-percentage-mask {
    position: absolute;
    top: 56%; /* Centered vertically inside the red button container */
    left: 52%;
    transform: translate(-50%, -50%);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12;
    pointer-events: none;
}

.kitkat-percentage-text {
    color: #ffffff;
    font-family: 'DinPro', 'GothamRounded-Bold', Arial, sans-serif;
    font-size: 4vh;
    font-weight: bold;
    /* font-style: italic; */
    line-height: 1;
    text-shadow: 
        0 0 8px rgba(255, 0, 18, 0.9),
        0 0 16px rgba(255, 0, 18, 0.7),
        0 0 30px rgba(255, 0, 18, 0.5),
        0 0 45px rgba(255, 0, 18, 0.3);
    animation: percentGlow 1.5s ease-in-out infinite alternate;
}

@keyframes percentGlow {
    0% {
        text-shadow: 
            0 0 8px rgba(255, 0, 18, 0.9),
            0 0 16px rgba(255, 0, 18, 0.7),
            0 0 30px rgba(255, 0, 18, 0.5),
            0 0 45px rgba(255, 0, 18, 0.3);
    }
    100% {
        text-shadow: 
            0 0 12px rgba(255, 0, 18, 1),
            0 0 24px rgba(255, 0, 18, 0.9),
            0 0 45px rgba(255, 0, 18, 0.7),
            0 0 70px rgba(255, 0, 18, 0.5);
    }
}

.kitkat-hotspot-stop {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37%;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    z-index: 10;
}

.kitkat-mask-result {
    position: absolute;
    top: 55%;
    left: 47%;
    transform: translate(-50%, -50%);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12;
    pointer-events: none;
}

.kitkat-result-percentage {
    color: #ffffff;
    font-family: 'DinPro', 'GothamRounded-Bold', Arial, sans-serif;
    font-size: 22vh;
    font-weight: bold;
    font-style: italic;
    text-shadow: 
        0 0 10px rgba(255, 0, 18, 0.95),
        0 0 20px rgba(255, 0, 18, 0.9),
        0 0 35px rgba(255, 0, 18, 0.8),
        0 0 50px rgba(255, 0, 18, 0.7);
}

.kitkat-hotspot-done, .kitkat-hotspot-retry {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 10%;
    border-radius: 40px;
    cursor: pointer;
    background: transparent;
    z-index: 10;
}

/* Image element for interactive buttons */
.kitkat-btn-element {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


