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

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

#evav-overlay-box {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 32px 24px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

#evav-overlay-wrap #evav-overlay-box select {
    width: auto;
    min-width: 115px;
    max-width: calc(100% - 8px);
    padding: 12px 12px;
    margin: 0 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
    color: #111;
    display: inline-block;
    box-sizing: border-box;
    appearance: auto;
    -webkit-appearance: auto;
}

#evav-overlay-wrap #evav-overlay-box .disclaimer a,
#evav-overlay-wrap #evav-overlay-box .disclaimer a:hover {
    color: inherit;
}

#evav-overlay-wrap #evav-overlay-box #evav_verify_form {
    margin-bottom: 8px !important;
}

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

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

#evav-overlay .disclaimer a:hover {
    color: dodgerblue;
}
#evav-overlay .disclaimer a {
    background:none !important;
    color: white;
    text-decoration: underline;
}

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

#evav-overlay-wrap #evav-overlay-box 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;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    float: none !important;
    text-align: center !important;
    text-decoration: none !important;
}

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

#evav-overlay-wrap #evav-overlay-box input:hover:not([type=checkbox]) {
    box-shadow: 0px 0px 3px 1px blanchedalmond;
    text-decoration: none !important;
}

#evav-overlay h2 {
    font-size: 28px;
    font-weight: 400;
    background:none !important;
    color: white;
    margin: 12px 0px 12px;
    padding: 0px 0px 0px;
}

#evav-overlay p {
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 400;
    background:none !important;
    color: white;
    padding: 0px;
    margin: 8px auto 10px;
    max-width: 800px;
}

#evav-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    background:none !important;
    color: white;
    margin: 32px 0px 12px;
    padding: 0px;
}

#evav-overlay-wrap #evav-overlay-box .submit {
    margin-bottom: 0;
}

#evav-overlay-wrap #evav-overlay-box .evav_buttons input {
text-transform: initial;
}

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

#evav-overlay-wrap #evav-overlay-box #evav_verify_y {
    width: 70px;
}

.evav-error {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.2em;
    padding: 0 12px 12px;
    color: white;
    background:none !important;
}

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

#evav_not_confirm_age {
    background-color: #cc3232;
}

#evav-overlay-wrap #evav-overlay-box #evav_verify_form label {
    font-size: 12px !important;
    font-weight: normal !important;
    color: #FFF !important;
}

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

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

    #evav-overlay h2 {
        font-size: 28px;
    }

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

    #evav-overlay .disclaimer {
        max-width: 98%;
    }

    #evav-overlay h3 {
        font-size: 22px;
        margin: 15px 0px 12px;
    }

    .evav-error {
        font-size: 16px;
        padding: 0 10px 10px;
    }

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

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

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

    #evav-overlay p {
        font-size: 14px;
        line-height: 1.2em;
    }

    #evav-overlay h3 {
        font-size: 16px;
        margin: 10px 0px 10px;
    }

    .evav-error {
        font-size: 14px;
        padding: 0 10px 8px;
    }

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

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

    #evav-overlay-wrap #evav-overlay-box .submit {
        font-size: small;
    }

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

@media screen and (max-width: 375px) {
    #evav-overlay h2 {
        font-size: 20px;
    }

    #evav-overlay p {
        font-size: 14px;
        line-height: 1.2em;
    }

    #evav-overlay h3 {
        font-size: 18px;
        margin: 10px 0px 10px;
    }

    .evav-error {
        font-size: 14px;
        padding: 0 10px 8px;
    }

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

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

    #evav-overlay p {
        font-size: 14px;
        line-height: 1.2em;
        margin: 0px auto;
    }

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

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

    #evav-overlay h3 {
        font-size: 18px;
        margin: 10px auto 10px;
    }

    #evav-overlay img {
        max-width: 90%;
        max-height: 12vh;
    }

    #evav-overlay-wrap #evav-overlay-box input:not([type=checkbox]) {
        padding: 12px 0;
    }

    #evav-overlay-wrap #evav-overlay-box .submit {
        font-size: small;
    }

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

    .evav-error {
        padding: 0 10px 8px;
        font-size: 14px;
    }
}
@media screen and (max-height: 320px) {
    #evav-overlay img {
        display: none;
    }
}
/* Birth Date Fields Styling */
#evav-overlay-wrap #evav-overlay-box .evav-birth-date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#evav-overlay-wrap #evav-overlay-box .evav-birth-date-container select {
    background-color: white;
    color: black;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#evav-overlay-wrap #evav-overlay-box .evav-birth-date-container select:hover {
    border-color: #999;
}

#evav-overlay-wrap #evav-overlay-box .evav-birth-date-container select:focus {
    outline: none;
    box-shadow: 0px 0px 8px 1px rgba(0, 150, 255, 0.5);
    border-color: #0096ff;
}

#evav-overlay-wrap #evav-overlay-box .evav-birth-date-container {
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

#evav-overlay-wrap #evav-overlay-box .evav-birth-date-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px !important;
}

#evav-overlay-wrap #evav-overlay-box .evav-birth-date-container select {
    display: inline-block;
    min-width: 80px;
    margin: 5px;
    padding: 8px;
    font-size: 14px;
}

@media screen and (max-width: 600px) {
    #evav-overlay-wrap #evav-overlay-box .evav-birth-date-container {
        margin-bottom: 15px !important;
    }
    
    #evav-overlay-wrap #evav-overlay-box .evav-birth-date-container select {
        font-size: 13px;
        width: 70px !important;
        margin: 3px 2px;
    }
}

@media screen and (max-height: 600px) {
    #evav-overlay-wrap #evav-overlay-box .evav-birth-date-container {
        margin-bottom: 10px !important;
    }
    
    #evav-overlay-wrap #evav-overlay-box .evav-birth-date-container select {
        font-size: 12px;
        width: 65px !important;
        padding: 5px;
        margin: 2px 1px;
    }
}