#popup-may,
#popup-may-game{
    --yellow: #fff200;
    --purple: #292562;
    --blue: #1d3460;
    --orange: #ff6c00;
    --light-gray: #a1a1a1;
    font-size: 16px;
    z-index: 999999;
}
canvas {
    touch-action-delay: none;
    touch-action: none;
    -ms-touch-action: none;
}
.cont-full{
    width: 100%;
    height: 100%;
}
#popup-may .popup-overlay,
#popup-may-game .popup-overlay{
    background-color: rgba(0,0,0,0.5);
}
#popup-may .popup-content{
    width: auto;
    height: auto;
    max-height: 100%;
    align-self: center;
    box-shadow: none;
}
#popup-may .may-default,
#popup-may .may-thanks {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
#popup-may .may-default {
    padding: 48px 83px 47px 100px;
    width: 785px;
    height: 583px;
	background-image: url(../../../images/23/may/hero/form-back.png);
	background-image: -webkit-image-set(url("../../../images/23/may/hero/form-back.png") 1x, url("../../../images/23/may/hero/form-back@2x.png") 2x);
}
#popup-may .may-thanks {
    padding: 52px 98px 52px 105px;
    width: 805px;
    height: 644px;
}
#popup-may .may-thanks.win {
	background-image: url(../../../images/23/may/hero/thanks-back.png);
	background-image: -webkit-image-set(url("../../../images/23/may/hero/thanks-back.png") 1x, url("../../../images/23/may/hero/thanks-back@2x.png") 2x);
}
#popup-may .may-thanks.no-win {
	background-image: url(../../../images/23/may/hero/thanks-back-2.png);
	background-image: -webkit-image-set(url("../../../images/23/may/hero/thanks-back-2.png") 1x, url("../../../images/23/may/hero/thanks-back-2@2x.png") 2x);
}
#popup-may .popup-close{
    padding: 20px 23px;
    width: auto;
    height: auto;
}
#popup-may .may-default .popup-close{
    top: 48px;
    right: 83px;
    filter: invert(1) brightness(1);
}
#popup-may .may-thanks .popup-close{
    top: 52px;
    right: 98px;
}
#popup-may .popup-close:before, 
#popup-may .popup-close:after{
    display: none;
}
#popup-may .may-form form{
    width: 510px;
    margin-top: 30px;
}
#popup-may .form-field {
    padding: 7.5px 12.5px;
    flex-basis: 50%;
    flex-grow: 1;
}
#popup-may .form-field input, 
#popup-may .form-field select{
    font-size: 0.875em;
    height: 43px;
    background-color: #fff;
    width: 100%;
    text-indent: 16px;
}
#popup-may .form-field select{
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
	background-image: url(../../../images/23/may/hero/down-arrow.png);
	background-image: -webkit-image-set(url("../../../images/23/may/hero/down-arrow.png") 1x, url("../../../images/23/may/hero/down-arrow@2x.png") 2x);
    background-size: 11px 7px;
}
#popup-may .form-field select.selected,
#popup-may .form-field input{
    color: var(--black);
}
#popup-may .form-field select,
#popup-may .form-field ::placeholder{
    opacity: 1;
    color: #262626;
}
#popup-may .form-action {
    padding-top: 0;
}
#popup-may .form-action [type="submit"].button{
    font-size: 1.6875em;
    width: 252px;
    height: 59px;
    margin-top: 18.5px;
    padding: 0;
    color: var(--black);
}
#popup-may .form-action [type="submit"].button[disabled]{
    opacity: 0.8;
    cursor: not-allowed;
}
#popup-may .may-thanks .button{
    font-size: 1.6875em;
    width: 252px;
    height: 59px;
    margin-top: 12px;
    padding:  0;
}
#thegame {
    width: 1000px;
}
@media screen and (max-width: 599px){
    #popup-may .popup-content{
        width: 375px;
        max-width: 100%;
        min-height: 590px;
        height: 100vh;
    }
    #popup-may .may-default,
    #popup-may .may-thanks {
        padding: 0 15px;
        height: 100%;
    }
    #popup-may .may-default {
        background-image: none;
        background-color: var(--orange);
    }
    #popup-may .may-thanks.win {
        background-image: url(../../../images/23/may/hero/thanks-back-m.jpg);
        background-image: -webkit-image-set(url("../../../images/23/may/hero/thanks-back-m.jpg") 1x, url("../../../images/23/may/hero/thanks-back-m@2x.jpg") 2x);
    }
    #popup-may .may-thanks.no-win {
        background-image: none;
        background-color: var(--yellow);
    }
    #popup-may .popup-close{
        padding: 38px 16px;
    }
    #popup-may .may-default .popup-close,
    #popup-may .may-thanks .popup-close{
        top: 0;
        right: 0;
    }
    #popup-may .may-form form{
        width: 325px;
        margin-top: 29px;
    }
    #popup-may .form-row{
        flex-direction: column;
    }
    #popup-may .form-field{
        padding: 4.5px 0;
    }
    #popup-may .form-field input:not([type="checkbox"]), 
    #popup-may .form-field select{
        height: 38px;
        font-size: 0.75em;
        text-indent: 10px;
    }
    #popup-may .form-action [type="submit"].button{
        height: 53px;
        width: 226px;
        font-size: 1.4375em;
        margin-top: 28px;
    }
    #popup-may .may-thanks .button{
        height: 53px;
        width: 226px;
        font-size: 1.4375em;
        margin: 13.5px auto 0;
    }
}