#emav-overlay-wrap {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 9999999999;
    display: none;
    top: 0;
    left: 0;
}

#emav-overlay {
    position: relative;
    width: 100%;
    z-index: 9999999998;
    color: #FFF;
    text-align: center;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%)
}

#emav-overlay .disclaimer {
    max-width: 800px;
    margin: 2em auto .5em;
}

#emav-overlay img {
    max-width: 100%;
    max-height: 30vh;
    display: inline-block;
}

#emav-overlay input:not([type=checkbox]) {
    border-color: transparent;
    border-width: 0;
    width: 250px;
    padding: 15px 0;
    line-height: initial;
    border-radius: 10px;
    font-weight: normal;
    font-size: 16px;
    color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

#emav-overlay input:focus:not([type=checkbox]) {
    outline: none;
    box-shadow: 0px 0px 12px 1px cyan;
}

#emav-overlay input:hover:not([type=checkbox]) {
    box-shadow: 0px 0px 3px 1px blanchedalmond;
}

#emav-overlay h1 {
    font-size: 28px;
    font-weight: 400;
    color: white;
    margin: 0px 0px 0px;
    padding: 0px 0px 0px;
}

#emav-overlay p {
    font-size: 20px;
    line-height: 1.4em;
    font-weight: 400;
    color: white;
    padding: 0px;
    margin: 8px auto 10px;
    max-width: 800px;
}

#emav-overlay h2 {
    font-size: 32px;
    font-weight: 400;
    color: white;
    margin: 32px 0px 5px;
    padding: 0px;
}

#emav-overlay .disclaimer p {
    font-size: 11px;
    line-height: 14px;
    margin: 0.1em;
    text-align: left;
}

#emav-overlay .disclaimer a:hover {
    color: dodgerblue;
}
#emav-overlay .disclaimer a {
    color: white;
    text-decoration: underline;
}

#emav-overlay .submit {
    margin-bottom: 0;
}

#emav-overlay input[type=text] {
    width: 50px;
    outline: none;
}

#emav-overlay #emav_verify_y {
    width: 70px;
}

#emav-overlay .error {
    padding: 0 0 12px;
    color: #cc0000;
    font-size: 18px;
    font-weight: 600;
}

#confirm_age {
    background-color: #2dc937;
    margin-bottom: 15px;
}

#not_confirm_age {
    background-color: #cc3232;
}

#emav_verify_form label {
    font-size: 12px !important;
    font-weight: normal !important;
    color: #FFF !important;
}

#emav-overlay input[type=checkbox] {
    width: auto !important;
    margin-top: 1em;
    vertical-align: initial;
        cursor: pointer;
}

.submit label {
    margin-top: 10px;
    color: #FFF;
    font-weight: normal;
    cursor: pointer;
}

.trialLink {
    display: block;
    color: #AAAAAA;
    margin: 10px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
}

.trialLink:hover {
    color: #32a6d6;
    text-decoration: underline;
}

@media screen and (max-width: 900px) {
    #emav-overlay {
        width: 98%;
        max-width: 100%;
        max-height: 100vh;
    }

    #mvav-overlay h1 {
        font-size: 28px;
    }

    #emav-overlay p {
        max-width: 90%;
        margin: .1em auto 0px;
        padding: 0px;
    }

    #emav-overlay .disclaimer {
        max-width: 90%;
    }

    #emav-overlay h2 {
        font-size: 18px;
        margin: 15px 0px 0px;
    }

    #emav-overlay img {
        max-width: 100%;
        max-height: 25vh;
        margin-bottom: 5px;
    }

    #emav-overlay input[type=checkbox] {
        margin-top: 1em;
        height: 10px;
    }
}

@media screen and (max-height: 600px) {
    #emav-overlay h1 {
        font-size: 20px;
    }

    #emav-overlay p {
        font-size: 16px;
    }

    #emav-overlay h2 {
        font-size: 22px;
        margin: 15px 0px 0px;
    }

    #emav-overlay img {
        max-width: 100%;
        max-height: 20vh;
        margin-bottom: 2px;
    }

    #emav-overlay input {
        width: 175px;
        padding: 15px 0;
        display: inline-block;
    }

    #emav-overlay .submit {
        font-size: small;
    }

    #emav-overlay input[type=checkbox] {
        margin-top: 1em;
    }
}

@media screen and (max-height: 415px) {
    #emav-overlay h1 {
        font-size: 18px;
        margin: 2px;
    }

    #emav-overlay p {
        font-size: 15px;
        margin: 0px auto;
    }

    #emav-overlay .disclaimer {
        margin: 0px auto 0px;
    }

    #emav-overlay .disclaimer p {
        font-size: 9px;
    }

    #emav-overlay h2 {
        font-size: 20px;
        margin: 10px auto 0px;
    }

    #emav-overlay img {
        max-width: 100%;
        max-height: 20vh;
        margin-bottom: 2px;
        float:left;
    }

    #emav-overlay input {
        width: 150px;
        padding: 10px 0;
        display: inline-block;
    }

    #emav-overlay .submit {
        font-size: small;
    }

    #emav-overlay input[type=checkbox] {
        margin-top: .5em;
        height: 10px;
    }
}
