#popup-lucky {
    font-size: 16px;
    z-index: 999999;
    --gray: #A3A3A6;
    --red: #ed1c24;
    --focus-border: #000;
    --focus-color: #79797B;
    --error-border: #E32E22;
    --error-color: #E32E22;
}
#popup-lucky .popup-overlay{
    background-color: rgba(0,0,0,.66);
}
#popup-lucky .popup-content{
    flex-basis: 1076px;
    max-height: 100%;
    height: 529px;
    align-self: center;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    background-image: url(../../../images/home/hero/25/july/form-back.jpg);
    background-image: -webkit-image-set( url("../../../images/home/hero/25/july/form-back.jpg") 1x, url("../../../images/home/hero/25/july/form-back@2x.jpg") 2x );
    max-width: calc(100% - 30px);
    transition: all .5s;
    transform: translateX(-100%);
}
#popup-lucky .popup-content.thanks{
    transition: none;
    flex-basis: 762px;
    background-image: url(../../../images/home/hero/25/july/popup-back.jpg);
    background-image: -webkit-image-set( url("../../../images/home/hero/25/july/popup-back.jpg") 1x, url("../../../images/home/hero/25/july/popup-back@2x.jpg") 2x );
}
#popup-lucky .popup-close:before, 
#popup-lucky .popup-close:after{
    display: none;
}
#popup-lucky .popup-content.on{
    transform: translateX(0);
}
#popup-lucky .july-left{
    flex-basis: 386px;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 0 15px;
}
#popup-lucky .july-default,
#popup-lucky .july-thanks{
    flex-grow: 1;
    padding: 0 19px;
    max-width: calc(100% - 386px);
}
#popup-lucky form {
    width: 624px;
    margin-top: 5px;
}

#popup-lucky .form-field {
    padding: 9px;
    flex-basis: 50%;
    flex-grow: 1;
}

#popup-lucky .form-field label {
    left: 16px;
    font-size: 1.125em;
    margin-bottom: 0;
    line-height: 1;
    margin-top: 0.3em;
    transition: all 0.3s;
}

#popup-lucky .form-field .textarea_box label {
    margin-top: 16px;
}

#popup-lucky .form-field input,
#popup-lucky .form-field textarea,
#popup-lucky .form-field select {
    font-size: 1.125em;
    height: 56px;
    background-color: #fff;
    width: 100%;
    text-indent: 16px;
    padding-top: 18px;
    border-radius: 12px;
}

#popup-lucky .form-field select {
    background-image: none;
}

#popup-lucky .form-field textarea {
    height: 126px;
    padding-top: 16px;
    resize: none;
}

#popup-lucky .form-field .select_box:after {
    content: '';
    display: block;
    width: 17px;
    height: 10px;
    position: absolute;
    right: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../../../images/home/hero/25/july/down-arrow.png);
    background-image: -webkit-image-set(url("../../../images/home/hero/25/july/down-arrow.png") 1x, url("../../../images/home/hero/25/july/down-arrow@2x.png") 2x);
    background-size: cover;
    pointer-events: none;
}

@-moz-document url-prefix() {
    #popup-lucky .form-field select {
        text-indent: 8px;
    }
}

#popup-lucky .form-field select.selected,
#popup-lucky .form-field input {
    color: var(--black);
}

#popup-lucky .form-field select,
#popup-lucky .form-field ::placeholder {
    opacity: 1;
    color: #262626;
}

#popup-lucky .form-field input:-internal-autofill-selected,
#popup-lucky .form-field input:-webkit-autofill,
#popup-lucky .form-field input:-webkit-autofill:focus {
    background-color: #fff !important;
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

#popup-lucky .form-action [type="submit"].button {
    width: 157px;
    height: 38px;
    padding: 0.2em 0 0;
    margin-top: 6px;
    background-color: #b71319;
    border-radius: 20px;
    font-size: 0.9375em;
}

#popup-lucky .form-action [type="submit"].button[disabled] {
    opacity: 0.8;
    cursor: not-allowed;
}

#popup-lucky .form-field .select_box.focused:after {
    transform: scaleY(-1);
}

#popup-lucky .form-field .focused label,
#popup-lucky .form-field .has-value label {
    font-size: 0.84375em;
    margin-top: calc(-2.9em + 24px);
    color: var(--focus-color);
}

#popup-lucky .form-field .textarea_box.focused label,
#popup-lucky .form-field .textarea_box.has-value label {
    margin-top: 8px;
}

#popup-lucky .form-field .focused select,
#popup-lucky .form-field .focused textarea,
#popup-lucky .form-field .focused input {
    border-color: var(--focus-border);
    border-width: 2px;
}

#popup-lucky .form-field .validation-error:before,
#popup-lucky .form-field .incomplete-mask:before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    position: absolute;
    z-index: 2;
    right: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../../../../../../images/error.png);
    background-image: -webkit-image-set(url("../../../../../../images/error.png") 1x, url("../../../../../../images/error@2x.png") 2x);
    background-size: cover;
    pointer-events: none;
}

#popup-lucky .form-field .validation-error select,
#popup-lucky .form-field .validation-error textarea,
#popup-lucky .form-field .validation-error input,
#popup-lucky .form-field .incomplete-mask input {
    border-color: var(--error-border);
    border-width: 2px;
}

#popup-lucky .form-field .validation-error label,
#popup-lucky .form-field .incomplete-mask label {
    color: var(--error-color);
}

#popup-lucky .form-field .form-field-error {
    bottom: -1.5em;
    left: 2em;
    font-size: 0.5em;
}
#popup-lucky .july-thanks .main-text{
    line-height: 1.32352941;
    font-size: 1.0625em;
    margin-bottom: 11px;
    margin-top: 25px;
}
#popup-lucky .july-thanks .code{
    line-height: 1;
    font-size: 1.75em;
    margin-bottom: 20px;
}
#popup-lucky .july-thanks .disclaimer{
    line-height: 1.2;
    font-size: 0.625em;
    margin-bottom: 0;
    margin-top: 29px;
}
#popup-lucky .july-thanks .button{
    background-color: #9c0e13;
    font-size: 0.8125em;
    padding: 12px 18px 8px;
}
@media screen and (max-width: 991px){
}
@media screen and (max-width: 767px){
    #popup-lucky {
        left: inherit;
        width: 100%;
        justify-content: center;
    }
    #popup-lucky .popup-content, 
    #popup-lucky .popup-content.thanks{
        background-position: bottom center;
        background-image: url(../../../images/home/hero/25/july/popup-back-m.jpg);
        background-image: -webkit-image-set( url("../../../images/home/hero/25/july/popup-back-m.jpg") 1x, url("../../../images/home/hero/25/july/popup-back-m@2x.jpg") 2x );
        flex-basis: auto;
        width: 375px;
        max-width: 100%;  
        height: 767px;
        flex-direction: column;
        transform: translateY(100%);
        align-self: flex-end;
    }    
    #popup-lucky .popup-content.on{
        transform: translatey(0);
    }
    #popup-lucky .july-default,
    #popup-lucky .july-thanks{
        margin: 0 auto;
        padding: 45px 0 25px;
        display: flex;
        align-items: center;
    }
    #popup-lucky .july-default,
    #popup-lucky .july-form{
        max-width: 100%;
    }
    #popup-lucky .july-left{
        flex-basis: auto;
        padding: 0;
        order: 2;
        padding-bottom: 20px;
    }
    #popup-lucky .slot{
        width: 312px;
    }
    #popup-lucky .july-form form{
        margin-top: 0;
        width: 313px;
    }
    #popup-lucky .july-form .form-row{
        flex-direction: column;
    }
    #popup-lucky .form-field{
        padding: 6px 0;
    }
    #popup-lucky .form-action [type="submit"].button {
        font-size: 1.1875em;
        width: 235px;
        height: 40px;
        margin-top: 16px;
    }
    #popup-lucky .july-thanks{
        flex-direction: column;
        justify-content: center;
        padding-left: 32px;
        padding-right: 32px;
        max-width: 100%;
    }
    #popup-lucky .july-thanks img{
        width: 250px;
    }
    #popup-lucky .july-thanks .main-text{
        font-size: 1.133333333333333em;
        line-height: 1.194444444444444;
        margin-top: 16px;
        margin-bottom: 16px;        
    }
    #popup-lucky .july-thanks .code{
        font-size: 2em;
        margin-bottom: 10px;        
    }
    #popup-lucky .disclaimer {
        line-height: 1.36363636;
        font-size: 0.6875em;
        margin-bottom: 0;
        margin-top: 18px;
        padding: 0 15px;
    }
    #popup-lucky .july-thanks .button{
        font-size: 0.933333333333333em;
        width: 151px;
        min-height: 36px;
        padding: 11px 0 9px;
    }
}
@media screen and (max-width: 414px) and (max-height: 700px){
}