/*!
 * Age verification CSS to go with the JS that can be found at (https://github.com/Herudea/age-verification)
 */


/**** The Farm Factory Styling ****/

#modal_screen {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1100;
    background-image: url(/images/age-background.jpg) !important;
    background-position: center !important;
    background-size: cover !important;
}

#modal_screen.nope {
    background-color: #1e0924;
}

.ac-container img {
    text-align: center;
    position: relative;
    display: block;
    margin: 0 auto;
}

.ac-container h2,
#modal_regret_wrapper h2 {
    color: white !important;
    font-size: 30px !important;
    line-height: 35px !important;
    text-transform: uppercase !important;
    font-family: 'Allerta Stencil' !important;
    font-weight: 400;
    margin: 95px 0 14px 0 !important;
}

.ac-container p,
#modal_regret_wrapper p {
    box-sizing: border-box;
    margin: 0 0 20px 0;
    font-size: 15px;
    color: white;
    line-height: 20px;
    text-align: center;
    font-family: 'Merriweather';
}

.ac-container h3 {
    box-sizing: border-box;
    color: white;
    margin-bottom: 20px;
    margin-top: 50px;
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase !important;
    font-family: 'Allerta Stencil';
    text-align: center;
}

#modal_content,
.ac-container {
    position: fixed;
    z-index: 1101;
    margin: 0 auto;
    border-radius: 100%;
    font-size: 12px;
    padding: 20px 20px 30px 20px;
    width: 500px;
    /* if you adjust it from the original 290px, adjust the difference in the width of #modal_content nav too */
    height: 290px;
    /* if you adjust it from the original 290px, adjust the difference in the width of #modal_content nav too */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

#modal_content .content_wrapper {
    padding-top: 0;
    margin: 3em auto 0;
    text-align: center;
}

#modal_content nav {
    font-size: 16px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

#modal_content nav:after {
    content: "";
    display: block;
    clear: both;
}

#modal_content nav small {
    display: block;
    text-align: center;
    color: #888;
    margin: 1em 0 0;
}

.button-blue-age {
    background-image: url(../images/buttons/button-blue.png);
    height: 64px;
    background-size: contain;
    width: 209px;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    color: white;
    text-align: center;
    line-height: 20px;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Allerta';
    padding: 18px;
    margin-top: 30px;
    margin-right: 20px;
}

.button-blue-age:nth-of-type(2) {
    margin-right: 0;
}

@media (min-width: 688px) {
    #modal_content {
        top: 10em;
        top: 30vh;
        left: 30vw;
        width: 90%;
        max-width: 500px;
        height: 500px;
        padding: 0;
        border-radius: 100%;
        background-position: center 3em;
        background-size: 160px auto;
        font-size: 16px;
    }
    #modal_content .content_wrapper {
        padding-top: 0;
        margin: 3em auto 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #modal_content h2 {
        margin: 0 0 0 0;
        font-size: 1.875em;
    }
}

@media (max-width: 767px) {
    .ac-container {
        box-sizing: border-box;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    #modal_content,
    .ac-container {
        width: 100%;
        left: 0 !important;
        height: 100%;
        top: 10% !important;
    }
    .ac-container h2 {
        margin: 35px 0 10px 0 !important;
        text-align: center;
    }
    .ac-container h3 {
        margin-bottom: 10px;
        margin-top: 20px;
    }
    .ac-container p {
        margin-top: 25px;
    }
    #modal_content nav {
        font-size: 16px;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    .button-blue-age {
        margin-right: 0;
    }
    .button-blue-age:nth-of-type(2) {
        margin-right: 0;
        margin-top: 10px;
    }
}