// ---------- PROMO ----------

@import url("fonts.css");

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


@crema: #f6f0e9;
@ochre: #fbbe5c;
@gold: #f9bf5b;
@red: #c0011c;
@brown: #673917;
@error_color: #e40327;

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

.with_inner_shadow(@color) {
    -webkit-box-shadow: inset -3px 5px 9px -7px @color;
    -moz-box-shadow: inset -3px 5px 9px -7px @color;
    box-shadow: inset -3px 5px 9px -7px @color;
}

.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;
}


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

.border_round_custom(@tl, @tr, @bl, @br) {
    border-top-left-radius: @tl;
    border-top-right-radius: @tr;
    border-bottom-left-radius: @bl;
    border-bottom-right-radius: @br;
    
    -webkit-border-top-left-radius: @tl;
    -webkit-border-top-right-radius: @tr;
    -webkit-border-bottom-left-radius: @bl;
    -webkit-border-bottom-right-radius: @br;
    
    -moz-border-top-left-radius: @tl;
    -moz-border-top-right-radius: @tr;
    -moz-border-bottom-left-radius: @bl;
    -moz-border-bottom-right-radius: @br;
}





* {
    margin: 0;
    padding: 0;
}


html, body { 
    width: 100%;
    min-height: 100vh;
    height: auto;
    font-family: "ShangoGothic";
    font-weight: 300;
    font-size: 16px;
}

body {
    color: #000000;
    a { color: #000000; }
}



#page_wrapper {
    position: relative;
    min-height: 100vh;
    padding-bottom: 150px;
    z-index: 2;
    overflow: hidden;
    
    @media @phone_l, @phone { padding-bottom: 250px; }
    
}


.promotions {
    &>.row>.col { height: 60px; }
}


.navigation {
    
    position: fixed;
    z-index:10;
    width: 100%;
    display: flex;
    align-items: baseline;
    /*align-items: center;*/
    /*font-size: 0.9rem;*/
    background-color: @red;
    height: 80px;
    font-weight: bold;

    &>.container {
        @media @desktop_l { max-width: 1200px; }
        
        .logo { 
            
            align-self: baseline;
            img { max-width: 190px; }
            
            @media @tablet, @phone_l, @phone {
                img { max-height: 70px; }
            }
        }
    }
}

.promo_navigation {
    position: fixed;
    width: 100%;
    max-width: 100%;
    background-color: @crema;
    font-family: 'Akrobat';
    z-index: 5;
    
    &>.container {
        @media @desktop_l { max-width: 1190px; }
        @media @desktop { max-width: 950px; }
    }
    
    
    .navbar {
        .promo-navbar-toggler {
            padding: 11px 5px 6px 15px;
            span {
                display: inline-block;
                background-color: #000000;
                height: 5px;
                width: 5px;
                border-radius: 3px;
                margin-top: 4px;
                margin-bottom: 4px;
                position: relative;
                left: 0;
                opacity: 1;
                transition: all 0.35s ease-out;
                transform-origin: center left;
            }
        }
    }
    
    ul {
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 600px;
        margin: auto;
        
        .nav-item {
            a { color: #707070; }
        }
        
        .nav-item:hover, .nav-item.active {
            a { color: @red; }
        }
        
        @media @tablet, @phone_l, @phone {
            text-align: right;
        }
    }
    
    
    &.open {
        .navbar {
            .promo-navbar-toggler {
                padding-right: 15px;
                /*padding: 7px 15px 2px 15px;*/
                span { display: block; }
            }
        }
    }
}









.container-fluid.promotions, .container.coming_soon {
    margin-top: 80px;
    
    .section_title {
        font-family: "ShangoGothic";
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
        padding: 18px 0 13px 0;
        border-top: 1px solid @brown;
        border-bottom: 1px solid @brown;
        color: @brown;
        font-weight: bold;
        font-size: 2.3rem; line-height: 2.5rem;
        
        @media @phone_l, @phone {
            font-size: 2.0rem; line-height: 2.2rem;
        }
    }
    
    
    .subsection_title {
        color: @brown;
        font-size: 3.5rem; line-height: 3.8rem;
    }
    
    
    .horizontal_scroller {
        overflow-x: scroll;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE 10+ */
        ::-webkit-scrollbar {
            background: transparent; /* Chrome/Safari/Webkit */
            width: 0px;
        }
        
        @media @desktop_l, @desktop {
            a:first-child { margin-left: 0 !important; }
            a:last-child { margin-right: 0 !important; }
        }
    }
    
    
    @media @tablet, @phone_l, @phone { 
        margin-top: 69px;
    }
    
    @media @desktop, @tablet, @phone_l, @phone {
        .subsection_title {
            font-size: 3.0rem; line-height: 3.3rem;
        }
    }
    
    @media @phone { 
        .subsection_title {
            font-size: 9vw; line-height: 10vw;
        }
    }
    
}



.container.coming_soon {
    
    padding-top: 5rem;
    margin-bottom: 2rem;
    
    .cs_section {
/*        background: url("../images/cs_section_back.jpg") no-repeat center bottom;
        background-size: cover;*/
        
        padding: 0;
        text-align: center;
        font-weight: bold;
        color: #FCC977;
        .border_round(40px);
        overflow: hidden;
        
        
        .logo {
            width: 100%;
            max-width: 220px;
        }
        
        .cs_title {
            font-size: 1.8rem; line-height: 2.2rem;
            margin-top: 1rem;
            
            .year_letter { font-size: 0.7em; }
        }
        
        ul {
            font-size: 0.75rem;
            list-style-type: none;
            width: 100%;
            max-width: 700px;
            margin: 1rem auto 1.5rem auto;
            padding-left: 10px;
            
            li {
                position: relative;
                padding-left: 60px;
                text-align: left;
                margin-top: 10px;
                
                &:before {
                    content: '';
                    position: absolute;
                    top: 0; left: 0;
                    width: 50px;
                    height: 38px;
                    background-size: 100% !important;
                }
                
                &:first-child {
                    &:before {
                        background: url('../images/cs_icon_can.svg') no-repeat center center;
                    }
                }
                &:last-child {
                    &:before {
                        background: url('../images/cs_icon_code.svg') no-repeat center center;
                    }
                }
            }
            
        }
        
        
        .come_back_txt { 
            font-size: 1.5rem; line-height: 1.8rem; 

            span:not(.cs_counter_digit):not(.cs_counter_text) {
                display: inline-block;
                font-size: 1rem; line-height: 1.3rem; 
            }
        }
            
        
        @media @tablet, @phone_l, @phone {
            p, ul {
                padding: 0 2rem;
            }
        }
        
        @media @phone_l { .border_round(30px); }
        
        
        @media @phone { 
            .border_round(20px); 
            background-position-x: right;
            
            p, ul { padding: 0 1.5rem; }
            
            .cs_title { font-size: 1.5rem; line-height: 1.7rem; }
            
            ul { font-size: 0.7rem; line-height: 1rem; }
            
            .come_back_txt { 
                font-size: 1.25rem; line-height: 1.55rem; 
                
                span:not(.cs_counter_digit):not(.cs_counter_text) {
                    display: inline-block;
                    font-size: 0.9rem; line-height: 1.2rem; 
                }
            }
        }
        
    }
    
    @media @phone_l, @phone {
        padding-top: 3rem;
    }
    
}



















.container.promo {
    min-height: 200px;
    margin-top: 30px;
    
    .section_title {
        margin-bottom: 2rem;
    }
    
    &.howto {
        
        .step {
            
            margin-bottom: 30px;
            
            img {
                max-width: 380px;
                width: 100%;
            }
            
            p {
                margin: 1rem auto 0 auto;
                max-width: 85%;
                font-family: 'Akrobat';
                font-size: 1.1rem; line-height: 1.5rem;
                text-align: center;
                
                span {
                    font-family: 'ShangoGothic';
                    font-weight: bold;
                    display: block;
                    margin-bottom: 1.5rem;
                    
                    &.red {
                        color: @red;
                        margin-bottom: 0rem;
                    }
                }
            }
            
            a {
                color: #000000; text-decoration: underline;
            }
            
            @media @tablet, @phone_l, @phone {
                p {
                    span { margin-bottom: 1.0rem; }
                }
            }
        }
    }
    
    
    
    &.rules, &.stores {
        .scroll_area {
            height: 100%;
            max-height: 450px;
            overflow: auto;
            font-family: 'Akrobat';
            font-size: 1.1em;
            
            a { text-decoration: underline; color: #000000; }
            
            strong { font-weight: bold; }

            @media @phone_l, @phone {
                max-height: 400px;
                /*padding-right: 0;*/
            }

            .mCSB_scrollTools {
                width: 10px;
            }

            .mCSB_inside > .mCSB_container {
                margin-right: 40px;
            }

            .mCSB_draggerContainer { 
                width: 9px;
                margin: 0;
                background-color: @crema;
                .border_round(5px);
                .mCSB_dragger {
                    width: 9px !important;
                    /*height: 9px !important;*/
                    margin-left: 0px;
                    background-color: @brown;
                    .border_round(5px);
                    /*background: url("../images/scroller_dragger.png") no-repeat center top;*/
                    /*.with_shadow(0px, 2px, 4px, 0, rgba(0, 0, 0, 0.25));*/
                    .mCSB_draggerRail { display: none; }
                    .mCSB_dragger_bar { background-color: transparent; }
                }
            }

            @media @phone {
                
                .mCSB_inside > .mCSB_container { margin-right: 20px; }
            }
        }
    }
    
    
    
    
    
    &.stores {
        
        .title {
            font-family: "Akrobat";
            font-size: 1.1rem; line-height: 1.4rem;
        }
        
        .can_img { max-height: 350px; }
        
        
        form {
            
            input {
                width: 100%;
                height: auto;
                border: 1px solid #707070;
                /*background-color: @crema;*/
                padding: 0.5rem 1rem 0.4rem 1rem;
                font-family: "Akrobat";
                margin: 7px 0;
                color: #000000;
                outline: none !important;
                box-shadow: none;
                .border_round(0);
                
                &::placeholder { text-transform: initial; }
                &::-webkit-input-placeholder { text-transform: initial; }
                &::-moz-placeholder { text-transform: initial; }
                &:-ms-input-placeholder { text-transform: initial; }   
            }
        }
        
        
        .stores_output {
            border: 1px solid @brown;
            .border_round(10px);
            padding: 20px;
            height: 100%;
            min-height: 200px;
            max-height: 350px;
            
            ul {
                list-style-type: none;
                
                li {
                    position: relative;
                    padding-left: 55px;
                    .transition(background-color, 0.2s);
                    
                    p:before {
                        content: "";
                        background: url("../images/location_icon.png");
                        position: absolute;
                        left: 0px;
                        width: 48px;
                        height: 48px;
                        background-size: 100%;
                    }
                    
                    p { 
                        min-height: 40px;
                        /*font-family: "Montserrat";*/
                        font-size: 0.7em; line-height: 1.2em;
                        text-align: left;
                        color: @red;
                        text-transform: uppercase;
                        /*text-decoration: underline;*/
                        
                        .transition(color, 0.2s);
                        
                        span { 
                            display: block; 
                            font-size: 1.4em; line-height: 1.2em;
                            text-decoration: underline !important; 
                        }
                        
                        @media @phone { font-size: 0.9rem; }
                        
                        &:hover { 
                            color: #777777;
                            color: @brown;
                        }
                        
                    }
                    
                    a { 
                        display: block;
                        padding-top: 2px;
                        text-decoration: none !important;
                    }
                    
                }
            }
            
            @media @tablet, @phone_l, @phone {
                height: 200px;
                margin-top: 1.5rem;
            }
        }
        
        
        
        @media @phone {
            
            .title {
                font-size: 1rem; line-height: 1.2rem;
            }
        }
        
    }
}





.container {
    
    .restriction_note {
        font-family: 'Akrobat';
        font-size: 0.85em; line-height: 1.2em;
        color: #707070;
        text-align: center;
    }
    
}







footer {
    
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: Akrobat, sans-serif;
    
    &>.container-fluid>.row>div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: auto;
        
        @media @tablet, @phone_l, @phone {
            flex-direction: column;
            justify-content: space-around;
        }
    }
    
    display: flex;
    align-items: center;
    /*position: relative;*/
    position: absolute;
    left: 0; right: 0;
    bottom: 0px;
    z-index: 1;
    width: 100%;
    height: 150px;
    text-align: center;
    background-color: @crema;
    
    
    
    .footer_btns {
        /*font-size: 0.875rem;*/
        font-size: 1rem;
        line-height: 1.2rem;
        
        span:not(:last-child):after {
            content: "|"; 
            margin: -0.5rem 0.3rem -0.5rem 0.4rem; 
            display: inline-block;
    /*        font-size: 1rem;*/
            color: @crema;
        }
        
        a {
            .transition(color, 0.2s);
            &:hover { color: #000000; }
        }
        
        
    }
    
    .social_links {
        display: flex;
        justify-content: center;
        align-items: center;
        
        &>div {
            display: flex;
            justify-content: center;
        }
    }
    
    .footer_note {
        font-size: 0.875rem;
        line-height: 1.2rem;
        color: #ffffff;
        span { 
            font-size: 0.75rem; 
            display: block; 
            color: @gold; 
            margin-top: 0.25rem;
        }
    }
    
    
    @media @tablet {
        .footer_btns {
            margin-bottom: 1rem;
            /*span:nth-child(2):after { content: "" !important; margin: 0 !important; }*/
        }
    }
    
    @media @phone_l, @phone {
        height: 250px;
        /*padding: 0.7rem 0.5rem 0 0.5rem;*/
        .footer_btns {
            margin-bottom: 1rem;
            /*font-size: 0.85rem;*/
            span { 
                display: block; 
                margin-bottom: 0.3rem;
            }
            span:after { content: "" !important; margin: 0 !important; }
        }
        
        .social_links { 
            flex-direction: column; 
            .phone { margin-bottom: 1rem; }
        }
        
        .footer_note {
            font-size: 0.8rem;
            span { font-size: 0.7rem; }
        }
    }
    
    @media @phone {
        .footer_note {
            /*font-size: 0.75rem;*/
        }
    }
}



.recommendation {
    position: absolute;
    right: 0px;
    bottom: 1100px;
    transform: rotate(-90deg);
    transform-origin: bottom right;
    font-size: 0.6rem;
    width: max-content;
    z-index: 100;
    
    @media @phone_l, @phone {
        bottom: 1200px;
        right: 2px;
        /*font-size: 0.8rem;*/
    }
}





.custom_button {
    
    text-align: center;
    a {
        display: table;
        background-color: @red;
        border: 3px solid @red;
        .border_round(50px);
        font-size: 1.5rem;
        line-height: 1.8rem;
        color: #ffffff;
        text-transform: uppercase;
        padding: 0.8rem 1.75rem 0.6rem 1.75rem;
        margin: 2vh auto 0.5vw auto;
        box-sizing: border-box;

        .transition(background-color, 0.35s);
        transition-property: background-color, color !important;

        &:hover { 
            color: #000000; 
            background-color: #ffffff;
            cursor: pointer; 
            text-decoration: none; 
        }

        @media @phone { 
            padding: 3vw 6vw 2.0vw 6vw; 
            /*width: 100%;*/ 
            max-width: 330px;
            font-size: 4.5vw; 
            line-height: 5.5vw;
            margin-bottom: 1.5vw !important;
        }
        
        &.left { margin-left: 0; }
        &.right { margin-right: 0; }
    }
    
    span {
        display: block;
        color: #ffffff;
        font-size: 0.8rem;
        line-height: 1rem;
        margin-top: 0.3rem;
    }
}


.blurred {
    filter: blur(3px);
    -webkit-filter: blur(3px);
}



.overlay {
    
    display: none;
    
    /*display: flex;*/
    justify-content: center;
    
    position: fixed;
    top: 0; 
    bottom: 0;
    left: 0; 
    right: 0;
    z-index: 15;
    background-color: rgba(51, 42, 42, 0.8);
    overflow-y: auto;
    
    
    
    .message {
        position: relative;
        width: 95%;
        max-width: 550px;
        min-height: 400px;
        padding: 25px 0;
        
        &>div {
            position: absolute;
            top: 50%;
            left: 0; right: 0;
            transform: translateY(-50%);
            min-height: 250px;
            padding: 4rem 3.5rem;
            background-color: @crema;
            border: 2px solid @ochre;
            .border_round(35px);
            .with_shadow(0px, 2px, 20px, 0, rgba(0, 0, 0, 0.75));
            
            &.ochre {
                background-color: @ochre;
                border: none;
            }
            
            
            .message_title {
                font-family: "ShangoGothic";
                font-weight: normal;
                text-transform: uppercase;
                text-align: center;
                padding: 16px 0 11px 0;
                border-top: 1px solid @brown;
                border-bottom: 1px solid @brown;
                color: @brown;
                font-weight: bold;
                font-size: 1.9em; line-height: 1.2em;
            }
            
            .message_content {
                font-family: "Akrobat";
                text-align: center;
                padding-top: 1rem;
                margin-bottom: 0;
                font-size: 1.5em; line-height: 1.2em;
                
                span { font-size: 1.3em; }
            }
            
            
            .close_modal_btn {
                position: absolute;
                top: 23px;
                right: 20px;
                font-weight: bold;
                width: 20px; height: 20px;
                span { 
                    display: block;
                    width: 25px; height: 3px; .border_round(3px); 
                    background-color: @brown;
                    transform-origin: center;
                    &:first-child { transform: translate(-10%, 260%) rotate(45deg); }
                    &:last-child { transform: translate(-10%, 180%) rotate(-45deg); }
                }
            }
            
            img {
                margin-top: 2rem;
            }
            
            @media @phone {
                padding: 3.5rem 2.5rem;
                .message_title { font-size: 1.7em; line-height: 1.2em; }
                .message_content { font-size: 1.25em; line-height: 1.2em; }
            }
        }
    }
}



// ---------- END PROMO ----------