@import url("fonts.css");

@desktop_l:  ~"only screen and (min-width: 1200px)";                            // xl   1140
@desktop:    ~"only screen and (min-width: 992px) and (max-width: 1199px)";     // lg   960
@tablet:     ~"only screen and (min-width: 768px) and (max-width: 991px)";      // md   720
@phone_l:    ~"only screen and (min-width: 576px) and (max-width: 767px)";      // sm   540
@phone:      ~"only screen and (max-width: 575px)";                             //      auto

.newline() { content:"\000A"; white-space: pre; }
.menu_delimiter() { 
    content: "|"; 
    margin: 0rem 0.3rem 0rem 0.4rem; 
    display: inline-block; 
}

@blue: #0028a3;
@blue_darker: #002289;
@orange: #FDCE48;
@orange_lighter: #FEDE85;
@disabled_back: #8E9DCB;
@disabled_text: #556CB0;
@black: #1E1E1E;
@gray: #DEDEDE;
@error_color: #FF0000;


@pink: #d93189;
@yellow: #fac01d;



.transition(@selector, @time) {
    -webkit-transition: @selector @time ease-in-out !important;
    -moz-transition: @selector @time ease-in-out !important;
    -o-transition: @selector @time ease-in-out !important;
    -ms-transition: @selector @time ease-in-out !important;
    transition: @selector @time ease-in-out !important;
}

.transition_2(@selector_1, @selector_2, @time) {
    -webkit-transition: @selector_1 @time ease-in-out, @selector_2 @time ease-in-out !important;
    -moz-transition: @selector_1 @time ease-in-out, @selector_2 @time ease-in-out !important;
    -o-transition: @selector_1 @time ease-in-out, @selector_2 @time ease-in-out !important;
    -ms-transition: @selector_1 @time ease-in-out, @selector_2 @time ease-in-out !important;
    transition: @selector_1 @time ease-in-out, @selector_2 @time ease-in-out !important;
}

.border_radius(@radius) {
    -webkit-border-radius: @radius; 
    -moz-border-radius: @radius; 
    border-radius: @radius;
}

.with_shadow(@x, @y, @blur, @spread, @color) {
    -webkit-box-shadow: @x @y @blur @spread @color;
    -moz-box-shadow: @x @y @blur @spread @color;
    box-shadow: @x @y @blur @spread @color;
}




@keyframes sliding_x {
  0%   {left: -7px;}
  50%  {left: 7px;}
  100% {left: -7px;}
}

@keyframes sliding_y {
  0%   {transform: translateY(0px);}
  15%  {transform: translateY(10px);}
  30%  {transform: translateY(0px);}
}



* {
    margin: 0;
    padding: 0;
}

@media @desktop_l, @desktop {
    :root {
        scroll-behavior: initial;
    }
}


html, body {
    width: 100%;
    /*height: 100%;*/
    background: url('../images/background_d.jpg') no-repeat center center;
    background-size: cover;
    background-color: @blue;
    font-family: "PlutoOreo";
    font-size: 16px;
    /*text-align: center;*/
    color: #ffffff;
}


body {
    &.dragscroll {
        cursor: grab;
    }
}



#wrapper {

    position: relative;
    min-height: 100vh;
    padding-bottom: 220px;
    overflow: hidden;
    
    /*@media @tablet { padding-bottom: 170px; }*/
    @media @phone_l, @phone { padding-bottom: 550px; }
    
    .container-fluid {
        position: relative;
        /*z-index: 3;*/
    }
    
}





.container {
    
    &.navigation {
        position: relative;
        z-index: 15;
        font-family: "PlutoOreoB";
        
        display: flex;
        padding: 30px 0;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        align-self: stretch;
        margin-top: 15px;
        
        @media @phone_l, @phone {
            padding-top: 20px;
            padding-bottom: 10px;
        }
        
        
        .navbar-nav {
/*            min-height: 60px;
            align-items: center;*/
            
            display: flex;
            max-width: 1100px;
            justify-content: flex-end;
            align-items: flex-start;
            gap: 16px;
            flex-wrap: wrap;
            
            .nav-item {
                
/*                display: flex;
                justify-content: center;
                align-items: center;
                gap: 10px;*/
                
                position: relative;
                
                &.logo { 
                    margin: -0.2rem 0.5rem 0rem 0.5rem; height: 100%;
                }
                
                a {
                    position: relative;
                    color: @blue_darker;
                    font-size: 0.9em; line-height: 1em;
                    padding: 10px 22px;
                    /*gap: 10px;*/
                    margin: 0;
                    background-color: @orange;
                    .border_radius(30px);
                    z-index: 1;
                    text-transform: uppercase;
                    .transition_2(background-color, text-shadow, 0.2s);
                }
                
                &:hover, &.active {
                    a {
                        background-color: @orange_lighter;
                        text-decoration: none;
                        cursor: pointer !important;
                    }
                    
                }
                
                @media @tablet, @phone_l, @phone {
                    margin: 0.0rem 0rem 0rem auto;
                    height: auto;
                    a {
                        text-align: right;
/*                        padding-left: 0.5rem;
                        padding-right: 0.5rem;*/
                    }
                }
                
            }

            
            @media @tablet, @phone_l, @phone { width: 99%; }
        }
        
        
        .navbar {
            
            width: 100%;
            max-width: 1100px;
            justify-content: space-between;
            
            
            @media @desktop_l, @desktop { padding: 0; }
            @media @tablet, @phone_l, @phone { width: 90%; padding-top: 0rem; }
            @media @phone { padding-left: 0rem; padding-right: 0rem; }
            
            @media @tablet, @phone_l, @phone {
                .logo {
                    img {
                        max-width: 100px;
                    }
                }
            }
            
            
            .navbar-collapse {
                max-width: 800px;
            }
            
            &.home, &.coming_soon {
                .logo {
                    display: none;
                }
                button { 
                    margin: auto; 
                }
                
                .navbar-collapse {
                    max-width: initial;
                }
                
                .navbar-nav {
                    justify-content: center;
                }
                
                @media @tablet, @phone_l, @phone {
                    .nav-item {
                        margin: 0 auto;
                    }
                }
            }
            
            .navbar-toggler {
                position: relative;
                outline: none;
                box-shadow: none;
                z-index: 2;
                
                display: flex;
                min-height: 42px;
                padding: 14px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                border-radius: 28px;
                background: @orange;
                
                @media @desktop_l, @desktop {
                    display: none;
                }
                
                img {
                    position: relative;
                    width: 14px;
                    height: 13px;
                    opacity: 0;
                    .transition(opacity, 0.15s);
                    
                    &.opened {
                        position: absolute;
                        opacity: 1;
                    }
                }
                
                &.collapsed {
                    img {
                        &.closed { opacity: 1; }
                        &.opened { opacity: 0; }
                    }
                }
            }
        }
        
        #navbarNav.show {
            /*@media @tablet { margin-bottom: -5rem; }*/
        }
    }
}


.section_title {
    font-size: 48px; line-height: 1.2em;
    font-family: "PlutoOreoB";
    text-transform: uppercase;
    text-align: center;
    margin: 60px auto 40px auto;
    
    @media @phone {
        font-size: 10vw; line-height: 1.2em;
        margin-bottom: 5vw;
        margin-top: 15vw;
    }
}

p.black { color: @black; }

.note {
    text-align: center;
    font-size: 14px; line-height: 1.2em;
}


.container-fluid.home, .container-fluid.prizes, .container-fluid.howto, .container-fluid.products, .container-fluid.rules {
    
    &>.row, .slider_section {
        max-width: 1140px;
        margin: auto;
    }
    
}


.container-fluid.home {
    
    .cta {
        font-size: 32px; line-height: 1.2em;
        margin: 60px 0;
        
        span {
            display: block;
            font-size: 1.625em; line-height: 1.2em;
            font-family: "PlutoOreoB";
            text-transform: uppercase;
            margin-bottom: 10px;
        }
        
        @media @desktop {
            font-size: 26px;
        }
        
        @media @tablet, @phone_l, @phone {
            max-width: 450px;
            margin: 10px auto 50px auto;
            text-align: center;
            
        }
        
        @media @phone {
            font-size: 5vw;
            max-width: 90vw;
            
            span { font-size: 1.9em; }
        }
    }
    
    .home_cookie {
        
        .logo {
            position: relative;
            z-index: 1;
        }
        
        @media @tablet {
            .cookie_img {
                margin: -70px auto;
            }
        }
        
        @media @phone_l, @phone {
            .logo {
                width: 57vw;
                max-width: 322px;
            }
            .cookie_img {
                width: 110%;
                max-width: 110%;
                margin-left: -5% !important;
                margin: -60px auto -60px -5%;
            }
        }
        
        @media @phone {
            .cookie_img {
                margin: -10vw auto -10vw -5%;
            }
        }
    }
}



.container-fluid.howto, .container-fluid.products {
    
    /*
    .slick-track {
        display: flex;
        align-items: flex-start;
        gap: 30px;
        align-self: stretch;
    }
    */
    
    .howto_slider, .products_slider {
        display: flex;
        align-items: flex-start;
        gap: 30px;
        align-self: stretch;
        overflow-x: scroll;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE 10+ */
        ::-webkit-scrollbar {
            background: transparent; /* Chrome/Safari/Webkit */
            width: 0px;
        }
        
        @media @tablet {
            .step { min-width: 300px; }
        }
        @media @phone_l, @phone {
            .step { min-width: 270px; }
        }
    }
    
    .step {
        
        display: inline-flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.25);
        
        p {
            display: flex;
            flex-direction: column;
            font-size: 16px; line-height: 1.2em;
            text-align: center;
            color: @black;
            background-color: #ffffff;
            margin-bottom: 0;
            padding: 30px 15px;
            gap: 16px;
            
            span {
                display: block;
                font-size: 1.5em; line-height: 1.2em;
                /*text-transform: uppercase;*/
                color: @blue;
                font-family: 'PlutoOreoB';
            }
        }
    }
}



.container-fluid.prizes {
    
    @media @tablet {
        .prizes_section .container {
            max-width: 960px;
        }
    }
    
    @media @phone_l {
        .pr_Xiaomi { margin-bottom: 50px; }
    }
    @media @phone {
        .pr_Xiaomi { margin-bottom: 8vw; }
    }
    
}



.container-fluid.howto {
    
    @media @phone_l, @phone {
        .participate_btn {
            span {
                max-width: 400px;
            }
        }
    }
}




.container-fluid.registration {
    
    .white_rounded_container {
        @media @phone {
            padding: 30px 20px;
        }
    }
    
    p.smaller {
        font-size: 0.9em;
    }
    
    form {
    
        &>.row {
            
            /*padding: 30px;*/
            align-items: center;
            /*gap: 20px;*/
        }
        
        
        
        color: @black;
        a:not(.registration_btn) { color: @black; }
        
        
        input {
            height: calc(4rem + 0px);
            .border_radius(10px);
            border: 2px solid @black;
            font-size: 16px;
            line-height: 1.2em;
            
            padding-top: 0.6rem;
            box-shadow: none;

            &.error, &.date_error {
                /*border-color: @error_color_border;*/
                border-color: @error_color;
            }
            
            
            &:disabled {
                background-color: #ffffff;
                color: rgba(73, 80, 87, 0.5);
            }
            
            &#confirm_input {
                text-transform: uppercase;
            }
            
        }
        
        
        .date_group {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2;
            
            input {
                padding-left: 50px;
            }
            
            img {
                position: absolute;
                left: 16px;
            }
        }
        
        
        #u_receipt_number_group, .u_receipt_image_group {
            position: relative;
            z-index: 1;
            a { 
                position: absolute; 
                top: 6px; 
                right: 5px; 
            }
            
            .receipt_example {
                position: absolute;
                top: 15px;
                right: 30px;
                display: none;
                z-index: 5;
            }
        }
        
        .u_receipt_image_group {
            
            overflow: hidden;
            height: 64px;
            .border_radius(10px);
            border: 2px solid @black;
            
            &.error {
                border-color: @error_color;
            }
            
            .upload_btn {
                display: flex;
                justify-content: center;
                align-items: center;
                position: absolute;
                top: auto; bottom: auto;
                left: auto; right: auto;
                width: 100%;
                height: 100%;
                
                .upload_btn_icon {
                    padding: 0 10px 0 16px;
                }
                
                
                #upload_btn_txt {
                    flex-basis: 100%;
                    padding-left: 0;
                    padding-right: 15px;
                    color: rgba(30, 30, 30, 0.75);
                    font-size: 16px; line-height: 1.2em;
                }
                
                #upload_preview {
                    display: none;
                    max-width: 60%;
                    height: auto;
                    max-height: 60px;
                    margin: auto;
                }
            }
            
            input {
                position: absolute;
                top: 0; bottom: 0;
                left: 0; right: 0;
                z-index: 9999;
                font-size: 9999px;
                cursor: pointer;
                opacity: 0;
                height: 100%;
                background-color: transparent;
                border: none;
                padding: 0;
            }
        }
        
        
        
        
        
        
        
        .recaptcha_container {
            
            .recaptcha-outer {

                text-align: center;
                background: #f9f9f9;
                border: 2px solid #f9f9f9;
                .border_radius(10px);
                margin: 0.4rem 0rem 0.2rem 0rem;
                overflow: hidden;

                .recaptcha-inner{
                    width: 154px;
                    height: 76px;
                    overflow: hidden;
                    margin: 0 auto;
                    margin-top: -8px;
                    padding: 0;

                    #input_captcha { margin-left: -1px; }
                    
                }

                &.error { border-color: @error_color; }

            }
        }
        
        
        .checkboxes {
        
            margin: 1rem auto;

            @media @tablet, @phone_l, @phone {
                margin-bottom: 0.5rem;
            }

            .form-check-label {
                position: relative;
                padding-left: 80px;
                min-height: 64px;
                display: flex;
                align-items: center;
/*                margin-bottom: 10px;*/
                /*height: 64px;*/


                font-size: 1.0em; line-height: 1.4rem;


                input {
                    position: absolute;
                    opacity: 0;
                    top: 0; bottom: 0; left: 0;
                    width: auto; height: auto;
                    cursor: pointer;
                }

                span {
                    position: absolute;
                    top: 0;
                    left: 0;
                    bottom: 0;
                    margin: auto;
                    height: 64px;
                    width: 64px;
                    background-image: url('../images/checkbox.png');
                    background-size: 64px;
                }

                input:checked~span {
                    background-position: 0 center;
                }

                input.error~span {
                    background-position: 0 bottom;
                }

                p {
                    display: block;
                    margin-bottom: 0px;
                }

            }
        }
        
        
        .form_comment {
            margin-top: 1rem;
            font-size: 0.9rem;
            line-height: 1.05rem;
            text-align: center;
        }
        
        label, .form_comment {
            a { 
                color: @black; text-decoration: underline; 
                &:hover { color: @black; text-decoration: underline; }
            }
        } 
        
        p.error {
            color: @error_color;
            a { color: @error_color; }
        }
    
    }
    
    
    .cta {
        font-size: 24px; line-height: 1.2em;
        margin: 0px auto 40px auto;
        text-align: center;
        
        @media @phone {
            font-size: 18px;
        }
    }
    
    &.choose_prize {
        .cta_prizes {
            .current_points {
                span {
                    display: block;
                }
            }
        }
        
        .prize_container {
            &.disabled {
                img { opacity: 0.5; }
            }
        }
    }
}


.container-fluid.registration, .container-fluid.profile {
    .out_of_promo {
        text-align: center;
        margin: 70px auto;
        a { color: #ffffff; }
    }
}





.container-fluid.challenge {
    
    position: relative;
    
    .nopurchase_cta {
        
        display: flex;
        justify-content: center;
        flex-direction: column;
        
        &>p {
            font-size: 24px; line-height: 1.2em;
            margin-bottom: 40px;
            
            span {
                display: block;
                font-size: 1.35em; line-height: 1.2em;
                text-transform: uppercase;
                margin-bottom: 15px;
            }
        }
    }
    
    .cta {
        font-size: 18px;
    }
    
    &.with_borders {
        &:before, &:after {
            content: '';
            position: absolute;
            left: 0; right: 0;
            width: 100%;
            max-width: 1300px;
            height: 1px;
            margin: auto;
            background-color: rgba(255, 255, 255, 0.5);
        }

        &:before { top: 30px; }
        &:after { bottom: -30px; }
    }
    
    
    @media @tablet, @phone_l, @phone {
        
        .section_title {
            margin-bottom: 20px;
        }
        
        .nopurchase_cta {
            p {
                margin-bottom: 20px;
                text-align: center;
            }
        }
        
        .participate_btn {
            span {
                max-width: 400px;
            }
        }
    }
    
    @media @phone {
        .nopurchase_cta {
            p {
                font-size: 4.5vw;
                span { font-size: 1.5em; }
            }
        }
    }
    
}




@-webkit-keyframes orbit {
    from {  -webkit-transform: rotate(0deg) translateY(-80px) rotate(0deg); }
    to   {  -webkit-transform: rotate(360deg) translateY(-80px) rotate(-360deg); }
}

@keyframes run {
  0% { left: -20%; top: 20%; }
  30% { left: 30%; top: 35%; }
  60% { left: -20%; top: 50%; }
  90% { left: 30%; top: 75% }
  100% { left: 30%; top: 75% }
}

@keyframes dragging_y {
  0%   {transform: translateY(40px);}
  30%  {transform: translateY(0px);}
  33%  {transform: translateY(40px);}
  63%  {transform: translateY(0px);}
  100%  {transform: translateY(0px);}
}


.container-fluid.challenge {
    
    .white_rounded_container {
        position: relative;
        overflow: hidden;
    }
    
    #tut_video_1, #tut_video_2, #tut_video_3 {
        position: absolute;
        z-index: 3;
        /*top: 210px;*/
        left: 0px;
        right: 0;
        margin: auto;
        display: none;
        
        top: 100px;
        bottom: 0;

    }
    
    #tut_video_1 {
        img {
            margin-top: 100px;
            transform: translateY(-80px);
            animation: orbit 1.5s forwards;
            animation-timing-function: linear;
            animation-delay: 0.5s;
        }
    }
    
    #tut_video_2 {
        img {
            position: relative;
            left: -20%;
            top: 20%;
            /*transform: translateY(-80px);*/
            animation: run 1.5s forwards;
            animation-timing-function: linear;
            animation-delay: 0.5s;
        }
    }
    
    #tut_video_3 {
        img {
            position: relative;
            left: 0%;
            top: 55%;
            transform: translateY(40px);
            animation: dragging_y 1.5s forwards;
            animation-timing-function: linear;
            animation-delay: 0.5s;
        }
    }
    
    
    
    .tutorial_1, .game_1, .tutorial_2, .game_2, .tutorial_3, .game_3 {
        display: none;
        p {
            color: @black;
            text-align: center;
        }
        
        img {
            &.hidden { display: none !important; }
        }
    }
    .tutorial_1, .tutorial_2, .tutorial_3 {
        /*display: flex;*/
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: @black;
        text-align: center;
    }
    
    
    .game_1, .game_2, .game_3 {
        
        max-width: 360px;
        
        #game1_cta_txt, #game2_cta_txt, #game3_cta_txt { 
            position: relative;
            z-index: 3;
            color: @black;
            margin-bottom: 60px; 
        }
        #game1_cta_txt {
            margin-bottom: 80px; 
        }
        
        .cookie_container {
            position: relative;
            img {
                &:nth-child(2), &:nth-child(3) {
                    position: absolute;
                }
                &:nth-child(2) { top: 3.4%; width: 95%; left: 2.5%; }
                &:nth-child(3) { top: -12%; }
                
                @media screen and (min-width: 1400px) { 
                    &:nth-child(2) { width: 92%; left: 4%; }
                    &:nth-child(3) { top: -11%; left: 2%; }
                }
                
            }
        }
    }
    
    .game_1, .game_2 {
        cursor: pointer;
    }
    
    .game_2 {
        .cookie_bottom {
            position: absolute;
            top: -4%;
            width: 106%;
            max-width: 106%;
            left: -3%;
        }
    }
    
    
    .game_3 {
        /*position: relative;*/
        .white_rounded_container {
            padding: 0;
            overflow: hidden;
            
            #game3_cta_txt {
                padding: 30px 30px 16px 30px;
            }
            
            .dip_container {
                max-height: 400px;
                overflow: hidden;
            }
            
            .dip_cookie {
                /*position: relative;*/
                padding: 0px 30px;
                width: 65%;
                max-width: 215px;
                margin-bottom: 300px;
                
                
                
                position: absolute;
                left: 0;
                right: 0;
                z-index: 1;
                
                
/*                animation-name: sliding_x;
                animation-duration: 2s;*/
                /*animation: 3s linear 1s infinite alternate slide-in;*/
                /*animation: 3s linear slide-in, 3s ease-out 5s slide-out;*/
                animation: sliding_x 1.5s ease-in-out infinite;
            }
            
            .glass_for_cookie {
                position: relative;
                z-index: 2;
            }
            
            .hand {
                position: absolute;
                top: 330px;
                left: 0; right: 0;
                margin: auto;
                animation: sliding_y 2.5s ease-in-out infinite;
            }
        }
        
        .final_challenge_message {
            color: #fff;
            font-weight: bold;
            margin: 30px 0;
            font-size: 18px;
            display: none;
        }
    }
    
}





.container-fluid.profile {
    
    .current_state, .next_draw {
        p {
            font-size: 16px; line-height: 1.2em;
            text-align: center;
            
            span {
                display: block;
                font-size: 3em; line-height: 1.2em;
                font-family: 'PlutoOreoB';
            }
        }
    }
    
    .next_draw {
        margin: 40px auto;
        p {
            span {
                font-size: 1.5em; line-height: 1.2em;
            }
        }
    }
    
    
    .current_info {
        margin-top: 60px;
        
        img {
            width: 80%;
            max-width: 380px;
            margin-bottom: 16px;
        }
        
        p.points {
            font-size: 16px; line-height: 1.2em;
            text-align: center;
            
            span {
                display: block;
                font-size: 1.5em; line-height: 1.2em;
                font-family: 'PlutoOreoB';
            }
        }
        
        .receipts_slider {
            
            border-radius: 10px;
            background: #FFF;
            box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.25);
            
            overflow-x: scroll;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none;  /* IE 10+ */
            ::-webkit-scrollbar {
                background: transparent; /* Chrome/Safari/Webkit */
                width: 0px;
            }
        }
        
        .receipts_xiaomi, .receipts_barbaron {
            
            display: flex;
            padding: 16px 30px;
            flex-direction: column;
            gap: 24px;
            min-width: 500px;
            
            @media @desktop {
                padding: 16px 20px;
                min-width: 450px;
            }
            
            
/*            display: flex;
            padding: 16px 0;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            align-self: stretch;*/
            
            .table_row {
                position: relative;
                display: flex;
                align-items: center;
                gap: 20px;
                color: @black;
                /*border-bottom: 1px solid @black;*/
                
                &:before {
                    content: '';
                    position: absolute;
                    left: 0; right: 0; bottom: -13px;
                    width: 100%;
                    height: 1px;
                    background-color: @black;
                }
                
                &:last-child {
                    &:before {
                        background: none;
                    }
                }
                
                p {
                    /*flex-basis: 33.33%;*/
                    margin-bottom: -3px;
                    font-size: 16px; line-height: 16px;
                    
                    &:nth-child(1) { flex-basis: 38%; }
                    &:nth-child(2) { flex-basis: 32%; }
                    &:nth-child(3) { flex-basis: 30%; }
                    
                    @media @desktop {
                        &:nth-child(1) { flex-basis: 43%; }
                        &:nth-child(2) { flex-basis: 27%; }
                        &:nth-child(3) { flex-basis: 30%; }
                    }
                    
                    @media @phone {
                        font-size: 14px; line-height: 14px;
                        /*&:nth-child(1) { flex-basis: 34%; }*/
                    }
                }
            }
            
            .table_divider {
                width: 100%;
                height: 1px;
                background-color: @black;
            }
            
            
        }
    }
    
}





.container-fluid.rules, .container-fluid.winners {
    
    .scroll_area {

        .mCSB_scrollTools { 
            background-color: #e5e5e5;
            width: 8px;
            .border_radius(10px);
            opacity: 1;
        }
        .mCSB_inside > .mCSB_container.mCS_no_scrollbar_y { margin-right: 0px; }
        .mCSB_draggerContainer { 
            margin: 0;
            .mCSB_dragger {
                max-height: auto !important;
                
                .mCSB_draggerRail { background-color: transparent; }
            }
            .mCSB_dragger_bar { 
                background-color: @black; 
                width: 8px;
                .border_radius(10px);
            }
        }
    }
}

.white_rounded_container {
    background-color: #ffffff;
    .border_radius(20px);
    padding: 30px;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.25);
}


.container-fluid.rules {
    
    
    .white_rounded_container {
        padding-right: 20px;
        
        @media @phone {
            padding: 20px 15px 20px 20px;
        }
    }
    
    .section_title {
        @media @tablet, @phone_l { margin-top: 20px; }
        @media @phone { margin-top: 5vw; }
    }
    
    .scroll_area {
        
        
        max-height: 500px;
        color: @black;
        
        
        
        p.doc_title {
            font-size: 1.1rem;
            line-height: normal;
            text-align: center;
            padding-bottom: 20px;
            font-weight: bold;
        }
        
        /* ------- doc formating */
        ul {
            /*width: 465px;*/
            width: 100%;
            list-style-type: none;
            font-size: 1rem;
            text-align: justify;
            padding-left: 0px;
            margin-bottom: 0;
            
            
            
            p.game_title {
                font-size: 1.0rem;
                text-align: left;
                font-weight: bold;
            }
            
            span { font-weight: bold; }
            
            a { color: @black; text-decoration: underline; }
            
            li {
                margin-top: 2rem;
                margin-bottom: 0px;
                line-height: 1.2rem;
                
                &:first-child { margin-top: 0; }
                
                ul {
                    display: flex;
                    flex-wrap: wrap;
                    
                    li {
                        font-weight: normal;
                        margin-left: 10px;
                        margin-top: 10px;
                        margin-bottom: 5px;
                        /*text-align: center;*/
                        width: 100%;
                        
                        &.products { 
                            width: 45%; 
                            @media @phone { width: 100%;  }
                        }

                        ul li {
                            font-weight: normal;
                            margin-left: 10px;
                            margin-top: 10px;
                            padding-right: 10px;

                            ul li {
                                font-weight: normal;
                                margin-left: 10px;
                            }
                        }
                    }
                }
            }
        }

        li.rules_strong { margin-bottom: 5px; font-weight: bold; }
        li.italic { font-style: italic; }
        ul.disc { 
            list-style-type: disc; 
            li { margin-left: 15px; }
        }
        li.dash {
            margin-top: 0;
            margin-bottom: 0;
            &::before { 
                content: "-";
                /*text-indent: -5px;*/
                margin-left: -5px;
                margin-right: 2px;
            }
        }
        
        span.underline { text-decoration: underline; }
        /* ------- end doc formating */
        
    }
    
}




.container-fluid.winners {
    
    .prize_img {
        width: 80%;
        max-width: 380px;
        margin-bottom: 16px;
    }
    
    .white_rounded_container {
        padding: 16px;
    }
    
    .scroll_area {
        max-height: 240px;
        min-height: 100px;
    }
    
    ul {
        display: flex;
        flex-wrap: wrap;
        color: @black;
        list-style-type: none;
        padding: 0;
        margin: 0;
        
        li {
            width: 100%;
            text-align: center;
        }
        
        &.list_small {
            li { width: 50%; }
        }
        
        @media @phone_l, @phone {
            &.list_big {
                li { width: 50%; }
            }
        }
    }
    
    .first_winners_message {
        text-align: center;
        padding: 30px;
        margin: 0;
        color: @black;
    }
    
}





footer {
    
    position: absolute;
    left: 0; right: 0;
    bottom: 0px;
    /*height: 130px;*/
    z-index: 5;
    background-color: @blue_darker;
    
    
    
    

    font-size: 0.9rem;
    color: #ffffff;
    text-align: left;
    padding-bottom: 1rem;
    
    
    
    a { 
        color: #ffffff; 
        text-decoration: none;
        /*&#fb_btn, &#mdlz_btn, &#tt_btn, &#ig_btn {text-decoration: none;}*/
        &:hover { color: #ffffff; }
    }
    
    .oreo_challenge_logo {
        img {
            width: 100%;
            max-width: 270px;
            @media @phone_l, @phone {
                max-width: 220px;
                margin: auto
            }
        }
    }
    
    .legal {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 5px;
        
        span {
            display: block;
        }
        
        @media @phone_l, @phone {
            margin: 20px auto;
            
            span {
                margin: auto;
            }
        }
    }
    
    .credentials {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        
        .social_links {
            display: flex;
            align-items: center;
            gap: 20px;

            img {
                max-width: 50px;
            }
        }
        
        #mdlz_btn {
            max-width: 200px;
        }
        
        .copyright_m {
            text-align: center;
            font-size: 0.9em; line-height: 1.2em;
        }
    }
    
    
    
}

.goto_top_arrow {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 100;
    max-width: 40px;
    opacity: 0.5;
    .transition(opacity, 0.2s);
    
    &:hover { opacity: 1; }
    
    @media @phone {
        bottom: 10px;
        max-width: 35px;
    }
}




.participate_btn {
    .uploading {
        position: absolute;
        top: 16px; left: 0; right: 0; bottom: 31px;
        z-index: 3;
        display: none;
        /*display: flex;*/
        justify-content: center;
        align-items: center;

        .border_radius(28px);

        margin: 0 auto 0 auto;
        padding: 0.8rem 0.2rem 0.6rem 0.2rem;
        width: 100%;
        max-width: 300px;
        height: 62px;
        background-color: rgba(255, 245, 218, 0.97);
        /*background-color: rgba(60, 40, 115, 0.8);*/

        p {
            margin-bottom: 0;
            color: @blue;
            /*color: #e7bc6e;*/
            font-size: 1.3em; line-height: 1.2em;
        }

        @media (max-width: 400px) {
            /*height: 43px;*/
        }
    }
}




.participate_btn, .download_btn {
    
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    
    a {
        display: flex;
        min-height: 60px;
        padding: 16px 34px 12px 34px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 30px;
        background: @orange;
        
        color: #002289;
        text-align: center;
        leading-trim: both;
        text-edge: cap;
        font-family: "PlutoOreoB";
        font-size: 24px;
        font-style: normal;
        line-height: 24px; /* 100% */
        text-transform: uppercase;
        text-decoration: none;
        .transition(background-color, 0.2s);
        
        &:hover {
            text-decoration: none;
            background-color: @orange_lighter;
        }
    }
    
    span {
        text-align: left;
        font-size: 12px; line-height: 1.2em;
        
        &.black { color: @black; }
    }
    
    
    &.resizable {
        @media @phone {
            a {
                font-size: 18px;
                padding: 14px 28px 10px 28px;
                min-height: initial;
            }
        }
    }
    
    &.disabled {
        a {
            color: @disabled_text;
            background: @disabled_back;
            
            cursor: default;
        }
    }
    
    
}

.overlay {
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: 0;
    z-index: 200;
    /*background-color: rgba(60, 40, 115, 0.5);*/
    background-color: rgba(0, 34, 137, 0.80);
/*    display: flex;
    justify-content: center;
    align-items: center;*/
    overflow: auto;
    
    display: none;
    /*display: block;*/
    
    
    &>div {
        display: table;
        margin: auto;
        height: 100%;
        
        &>div {
            display: table-cell;
            vertical-align: middle;
            width: 90vw;
            max-width: 750px;
            padding: 15px;
            
            &>div {
                color: @black;
                margin-bottom: 0;
                padding: 30px;
                box-shadow: 2px 6px 10px 0px rgba(0, 0, 0, 0.35);
            }
        }
        
        .close_popup_btn {
            display: block;
            margin: auto;
            width: 24px;
        }
        
        .participate_btn {
            a {
                font-size: 18px;
                padding: 14px 28px 10px 28px;
                min-height: initial;
            }
        }
    }
    
    
    .result_message {

        color: @black;
        text-align: center;
        margin: 20px auto 0 auto;

        p {
            max-width: 540px;
            margin: 0 auto 16px auto;
            
            span {
                display: block;
                font-family: "PlutoOreoB";
                display: block;
                font-size: 28px; line-height: 1.2em;
                color: @blue;
                margin: 10px auto 0px auto;
            }
        }
    } 
    
}


.clear { clear: both; }






// -------------- scratchcard css ---------------------------------------
.scratch_container {
    position: relative;
  display: block;
  width: 100%;
/*  height: 300px;
  max-width: 300px;*/
  margin: 0 auto;
  border: 5px solid #fff;
}

#scratch_wrapper {
  position: relative;
  z-index: 2;
  overflow: hidden;
/*  height: 300px;
  max-width: 300px;*/
}

#scratch_wrapper > img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

#scratch_wrapper canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.inner_html {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: table;
  background-image: linear-gradient(90deg, hsla(29, 92%, 70%, 1) 0%, hsla(0, 87%, 73%, 1) 100%);
}

.inner_html p {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  animation: pulse 0.5s ease-in-out infinite both;
  -webkit-animation: pulse 0.5s ease-in-out infinite both;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
  
}
// ----------------------------------------------------------------------








// -------------- datepicker css ---------------------------------------
.ui-widget-header .ui-icon {
    background-image: url("../images/ui-icons_444444_256x240.png") !important;
}
/*
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -8px;
}

.ui-datepicker .ui-icon {
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
}

.ui-icon-circle-triangle-e {
    background-position: -48px -192px;
}

.ui-icon {
    width: 16px;
    height: 16px;
}
*/
// ----------------------------------------------------------------------



/*
.scratch-card {
  position: relative;
  border: 4px solid #c7c6cf;
  border-radius: 8px;
  padding: 12px;
  width: 320px;
  height: 320px;
  background-color: #fff;
}

.scratch-card-cover-container {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  filter: url('#remove-black');
  transition: opacity .4s;

  &.clear {
    opacity: 0;
  }
  
  &.hidden {
    display: none;
  }
}

.scratch-card-canvas {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  
  &.hidden {
    opacity: 0;
  }
  
  &:active {
    cursor: grabbing;
  }
}

.scratch-card-canvas-render {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: background-color .2s;
  
  &.hidden {
    display: none;
  }
}

.scratch-card-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cfced6;
  background-image: linear-gradient(to right, #cfced6, #e0dfe6, #efeef3, #e0dfe6, #cfced6);
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, transparent 40%, rgb(255 255 255 / .8) 50%, transparent 60%);
    background-position: bottom right;
    background-size: 300% 300%;
    background-repeat: no-repeat;
    
    @at-root .scratch-card-cover.shine::before {
      animation: 
        shine 8s infinite;
    }
  }
  
  @keyframes shine {
    50% {
      background-position: 0% 0%;
    }
    100% {
      background-position: -50% -50%;
    }
  }
  
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
    filter: url('#noise');
  }
}

.scratch-card-cover-background {
  width: 100%;
  height: 100%;
  fill: #555;
  opacity: .1;
}

.scratch-card-image {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px rgb(0 0 0 / .16));
  user-select: none;
  will-change: transform;
  
  &.animate {
    animation: pop-out-in cubic-bezier(.65, 1.35, .5, 1) 1s;
  }
}

@keyframes pop-out-in {
  36% {
    transform: scale(1.125);
  }
  100% {
    transform: scale(1);
  }
}
*/