#drinkingLegalAge {
    background-color: rgba(38,38,38,0.8);
    justify-content: center;
    align-items: center;
}

.md-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    transition: opacity .15s linear;
    padding-right: 15px;
    justify-content: center;
    align-items: center;
}

.md-modal-open .md-modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.md-modal.show {
    display: block;
}

.md-modal-open {
    overflow: hidden;
}

.md-modal-dialog {
    position: relative;
    width: auto;
    pointer-events: none;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px);
    margin: 0px auto;
    padding-left: 1em;
    padding-right: 1em;
}

.md-modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - 1rem);
    max-width: 27em;
}

.md-modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    content: "";
}

.md-modal.show .md-modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.md-modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    background-color: rgba(0,0,0,0);
    border: none;
    align-self: center;
    outline: 0;
    max-width: 27em;
}

.md-modal-body {
    background-color: rgb(255,255,255);
    display: flex;
    justify-content: center;
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.md-modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem;
    background-color: #000000;
    background-repeat: repeat-x;
    background-size: 60em;
    justify-content: center;
    text-align: center;
    color: rgba(255,255,255, 1.0);
}

.md-modal-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#legal_age_paragraph_q {
    display: flex;
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: -0.5em;
    padding-top: 1.5em;
    padding-bottom: 2.5em;
}

#button_div_legal_age {
    display: flex;
    -ms-flex-pack: distribute!important;
    justify-content: space-around!important;
}

@media (max-width: 390px) {
    #legalAgeImage {
        width: 9em;
    }

    #drinkingAgeModalYes {
        outline: none !important;
        font-size: 16px;
        box-shadow: none !important;
        width: 4em;
        color: rgb(0, 0, 0);
    }

    #drinkingAgeModalNo {
        outline: none !important;
        box-shadow: none !important;
        font-size: 16px;
        width: 4em;
        color: rgb(0, 0, 0);
    }

    #legal_age_paragraph_q {
        font-size: 16px;
    }
}

#legal_age_footer {
    display: flex;
    font-size: 12px;
    margin-top: 1.5em;
}

@media (min-width: 391px) {
    #drinkingAgeModalYes {
        outline: none !important;
        font-size: 20px;
        width: 4em;
        box-shadow: none !important;
        color: rgb(0, 0, 0);
    }

    #drinkingAgeModalNo {
        outline: none !important;
        box-shadow: none !important;
        font-size: 20px;
        width: 4em;
        color: rgb(0, 0, 0);
    }

    #legal_age_paragraph_q {
        font-size: 20px;
    }
}