@font-face {
  font-family: 'Alegreya Sans';
  src: url('../../../fonts/Alegreya_Sans/AlegreyaSans-Regular.eot');
  src: url('../../../fonts/Alegreya_Sans/AlegreyaSans-Regular.eot?#iefix') format('embedded-opentype'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Regular.woff2') format('woff2'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Regular.woff') format('woff'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Regular.ttf') format('truetype'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Regular.svg#AlegreyaSans-Regular') format('svg');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alegreya Sans';
  src: url('../../../fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.eot');
  src: url('../../../fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.eot?#iefix') format('embedded-opentype'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.woff2') format('woff2'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.woff') format('woff'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.ttf') format('truetype'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.svg#AlegreyaSans-ExtraBold') format('svg');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alegreya Sans';
  src: url('../../../fonts/Alegreya_Sans/AlegreyaSans-Black.eot');
  src: url('../../../fonts/Alegreya_Sans/AlegreyaSans-Black.eot?#iefix') format('embedded-opentype'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Black.woff2') format('woff2'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Black.woff') format('woff'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Black.ttf') format('truetype'),
    url('../../../fonts/Alegreya_Sans/AlegreyaSans-Black.svg#AlegreyaSans-Black') format('svg');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.alegreya {
  font-family: 'Alegreya Sans';
  font-weight: 400;
}

.alegreya-extra {
  font-family: 'Alegreya Sans';
  font-weight: 800;
}

.alegreya-black {
  font-family: 'Alegreya Sans';
  font-weight: 900;
}

#popup-july{
    font-size: 16px;
    z-index: 999999;
    --yellow: #f6d805;
    --gray: #a1a1a1;
    --red: #90191c;
}
#popup-july,
#popup-july .popup-overlay {
    width: 100%;
    height: 100%;
}
#popup-july .popup-overlay{
    background-color: rgba(0,0,0,.66);
}
#popup-july .popup-content{
    width: 701px;
    max-height: 530px;
    height: 100%;
    padding: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
	background-image: url(../../../images/25/july/popup/popup-back.jpg);
	background-image: -webkit-image-set(url("../../../images/25/july/popup/popup-back.jpg") 1x, url("../../../images/25/july/popup/popup-back@2x.jpg") 2x);
}
#popup-july .popup-close{
    padding: 31px;
    width: auto;
    height: auto;
    top: 0;
    right: 0;
}
#popup-july .popup-close:before,
#popup-july .popup-close:after {
    display: none;
}
#popup-july .july-form {
    padding: 0 15px;
}
#popup-july .july-form .text1 {
    font-size: 32px;
    line-height: 1em;
    position: relative;
    top: -5px;
    margin-bottom: 33px;
}
#popup-july .july-form .form-field {
    width: 100%;
}
#popup-july .july-form form{
    width: 640px;
    margin-top: -7px;
}
#popup-july .july-form select {
    background-color: #fff;
}
#popup-july .july-form select,
#popup-july .july-form input {
    border-radius: 12px;
    font-family: 'Avenir-Book' !important;
    font-weight: 400;
}
#popup-july .july-form label {
    color: #262626;
    font-weight: 400;
}
#popup-july .form-action [type="submit"].button{
    font-size: 18px;
    width: 193px;
    height: 40px;
    margin-top: 29px;
    padding: 0;
    border-radius: 19px;
}
#popup-july .form-action [type="submit"].button[disabled]{
    opacity: 0.8;
    cursor: not-allowed;
}
#popup-july .july-game {
    width: 736px;
}
#popup-july .july-game .text1 {
    font-size: 32px;
    line-height: 1em;
    color: #000;
    margin-top: 161px;
}
#popup-july .july-game .scratch-game{
    margin-top: -5px;
}
#popup-july .july-game .scratch-game > img {
    opacity: 0;
}
#popup-july .july-game .scratchpad{
    width: 281px;
    height: 509px;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}
#popup-july .july-thanks .text1 {
    font-size: 37px;
    line-height: 1em;
    margin-top: -175px;
}
#popup-july .july-thanks .text2 {
    font-size: 25px;
    line-height: 27px;
    margin-top: 7px;
}
#popup-july .july-thanks .button{
    font-size: 18px;
    width: 193px;
    height: 40px;
    margin-top: 33px;
    padding: 0;
    border-radius: 19px;
}
#popup-july .july-thanks .thanks-bottom {
    bottom: -35px;
    left: -86px;
}
@media screen and (max-width: 992px ) {
    #popup-july .popup-content {
        max-width: 100%;
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    #popup-july .popup-overlay {
        background: transparent;
    }
    #popup-july .popup-content {
        max-height: 100%;
        top: 83px;
        box-shadow: none;
        height: calc(100vh - 136px);
    }
    #popup-july .july-thanks .inner {
        max-height: 488px;
        height: 100%;
    }
    #popup-july .july-thanks .thanks-bottom {
        bottom: 84px;
}
@media screen and (max-width: 567px){
    #popup-july .popup-content{
        border-radius: 0;
        border: none;
        top: 0;
        height: 100vh;
    }
    #popup-july .july-game .text1 {
        font-size: 37px;
    }
    #popup-july .popup-close{
        padding: 25px 15px;
    }
    #popup-july .july-form {
        width: 96%;
    }
    #popup-july .july-form .text1 {
        font-size: 30px;
        line-height: 1em;
    }
    #popup-july .july-form .text1 span {
        font-size: 44px;
    }
    #popup-july .form-row{
        flex-direction: column;
    }
    #popup-july .form-action [type="submit"].button,
    #popup-july .july-thanks .button{
        height: 40px;
        width: 133px;
        font-size: 15px;
        margin-top: 15px;
    }
    #popup-july .july-thanks .inner {
        margin-top: -80px;
    }
    #popup-july .july-thanks img:first-child {
        max-width: 240px;
    }
    #popup-july .july-thanks .thanks-bottom {
        left: -10px;
        width: 165px;
        bottom: 30px;
    }
    #popup-july .july-thanks dotlottie-player {
        margin: -200px 0 0px 0;
        width: 112%;
    }
    #popup-july .july-thanks .text1 {
        margin-top: -210px;
        font-size: 22px;
    }
    #popup-july .july-thanks .text2 {
        font-size: 22px;
        margin-top: 10px;
    }
    #popup-july .july-thanks .button{
        margin-top: 20px;
        font-size: 13px;
        width: 133px;
        height: 40px;
    }
}