.age-verification-popup .modal-inner-wrap {
    position: absolute;
    vertical-align: middle;
    text-align: center;
    overflow: auto;
    width: fit-content;
    transition: transform 1s ease;
}

.age-verification-popup .modal-inner-wrap .modal-header {
    display: none;
}

.age-verification-popup .modal-content form .field {
    position: relative;
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.age-verification-popup .modal-content form .field .ui-datepicker-trigger {
    margin: 0px 10px;
}

.age-verification-popup .modal-content form .field .primary button.action {
    height: 100%;
}

.age-verification-fullscreen .modal-inner-wrap {
    position: relative;
    vertical-align: middle;
    text-align: center;
    background-color: #fff;
    overflow: auto;
    width: 100%;
    height: 100%;
    max-height: 100% !important;
    margin: 0;
}



.age-verification-fullscreen .modal-inner-wrap .modal-header {
    display: none;
}


.age-verification-fullscreen .modal-content {
    margin: 0;
    position: absolute;
    top: 50%;
    width: 50%;
    left: 25%;
    text-align: center;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.age-verification-fullscreen .modal-content form .field {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 10px;
}



.input-field {

    /* display: grid; */
    display: flex;

}

@media only screen and (max-width: 767px) {
    .age-verification-popup .modal-inner-wrap {
        position: absolute;
        vertical-align: middle;
        text-align: center;
        background-color: #fef2d5 !important;
        overflow: auto;
        width: fit-content;
        transition: transform 1s ease;
        min-height: unset !important;
        height: 100% !important;
        max-height: 100%;
    }

    .age-verification-popup .modal-content form .field {
        position: relative;
        display: flex;
        width: 100%;
        left: unset;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .age-verification-popup {
        left: 20px !important;
        right: 20px;
    }

    .age-verification-fullscreen {
        left: 0 !important;
    }

    .age-verification-fullscreen .modal-content {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 50%;
        width: 100%;
        left: 0;
        text-align: center;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

.agepopup-text.header {
    color: #FFFFFF;
    font-family: Hardy-Regular, sans-serif;
    font-size: 34px;
}

.agepopup-text {
    margin-top: 20px;
}

.modal-popup.age-verification-popup {
    display: flex;
    align-items: center;
    background-image: url('../images/ab_age.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-wrapper>#age-verification-popup {
    display: none;
}

.modal-popup.age-verification-popup .modal-inner-wrap {
    background-position: 50% 50%;
    margin: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    align-items: center;
    flex-direction: inherit;
    justify-content: center;
    background-color: #fef2d5;
}

.modal-popup.age-verification-popup .modal-content {
    text-align: center;
    overflow: inherit;
    border-radius: 0;
    padding: 0 20px;
    color: #fff;
    font-size: 14px;
    background-color: #fef2d5;
}

.modal-popup.age-verification-popup .agepopup-logo {
    position: relative;
}

.modal-popup.age-verification-popup .agepopup-logo .image-top {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    text-align: center;
}

.modal-popup.age-verification-popup .agepopup-logo img {
    width: 30%;
}

.modal-popup.age-verification-popup .agepopup-text-header {
    padding-top: 30px;
}

.modal-popup.age-verification-popup .agepopup-text-header .content {
    font-size: 24px;
    max-width: 400px;
    margin: 0 auto;
}

.modal-popup.age-verification-popup .agepopup-center p {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 22px;
    font-family: "Brandon Grotesque Black", sans-serif;
}

.modal-popup.age-verification-popup .agepopup-center_link {
    margin-top: 15px;
}

.modal-popup.age-verification-popup .agepopup-center_link a {
    color: #000000;
    text-decoration: none;
    font-size: 15px;
}

.modal-popup.age-verification-popup .agepopup-center_link a:after {
    content: ' |';
}

.modal-popup.age-verification-popup .agepopup-center_link a:last-child:after {
    content: '';
}

.modal-popup.age-verification-popup .agepopup-actions {
    margin: 40px 0;
    min-height: 45px;
}

.modal-popup.age-verification-popup .agepopup-actions .action.primary {
    background-color: #9B2227;
    height: 50px;
    color: #fef2d5;
    font-size: 21px;
    line-height: 30px;
    display: inline-block;
    font-family: "Brandon Grotesque Black", sans-serif;
    padding-top: 10px;
    border-radius: 10px;
}

.modal-popup.age-verification-popup .agepopup-actions .action.primary:hover {
    cursor: pointer;
}

.agepopup-loader img {
    width: 32px;
}

.modal-popup.age-verification-popup .agepopup-content {
    max-width: 650px;
    margin: 0 auto;
    border: 20px solid #9B2227;
    border-radius: 50px;
    background-color: #fef2d5;
    color: #000000;
    padding: 0 20px;
}

.modal-popup.age-verification-popup .agepopup-text-header .title {
    font-size: 40px;
    padding-bottom: 20px;
    font-family: "Brandon Grotesque Black", sans-serif;
    text-transform: uppercase;
}

.modal-popup.age-verification-popup .agepopup-text-bottom {
    margin-bottom: 40px;
}

.modal-popup.age-verification-popup .agepopup-text-bottom div:first-child {
    padding-bottom: 10px;
}

.modal-popup.age-verification-popup ul.links {
    display: flex;
    justify-content: center;
}

.modal-popup.age-verification-popup ul.links li {
    padding: 0 10px;
}

.modal-popup.age-verification-popup ul.links li a {
    color: #000000;
    font-size: 18px;
    text-decoration: unset;
}

@media only screen and (max-width: 768px) {
    .modal-popup.age-verification-popup .agepopup-logo img {
        width: 40%;
    }

    .modal-popup.age-verification-popup .agepopup-logo {
        padding: 10px 0;
    }

    .modal-popup.age-verification-popup .agepopup-text-header .title {
        font-size: 21px;
    }

    .modal-popup.age-verification-popup .agepopup-text-header .content {
        font-size: 17px;
    }

    .modal-popup.age-verification-popup ul.links {
        flex-wrap: wrap;
    }

    .modal-popup.age-verification-popup ul.links .link {
        width: 100%;
        margin-bottom: 0;
    }

    .modal-popup.age-verification-popup ul.links li a {
        font-size: 17px;
    }

    .modal-popup.age-verification-popup .agepopup-content {
        border-width: 10px;
        margin-top: 10px;
    }
}
