/**
 * Forms
 */

.dlslot-field {
    /*margin: 1em 0;*/
}

#dlslot_dob_month,
#dlslot_dob_day,
#dlslot_dob_year {
    display: inline-block;
    /*width: 20%;*/
}

.dlslot-field-agree LABEL {
    display: inline;
    margin-left: .6em;
}

.dlslot-bullet-points LI {
    clear: both;
    list-style-type: none;
}

.dlslot-bullet-points LI:before {
    font-family: FontAwesome, sans-serif;
    content: "\f06a";
    margin-right: 0.6em;
    float: left;
    display: block;
}

.dlslot-bullet-points LI SPAN {
    display: block;
    margin-left: 1.8em;
}

/**
 * Payment form
 */

.dlslot-payment-breakdown {
    width: 100%;
}

.dlslot-payment-breakdown TR TD:last-child,
.dlslot-payment-breakdown TR TH:last-child {
    text-align: right;
}

.dlslot-payment-breakdown THEAD TH:last-child {
    text-align: left;
}

.dlslot-payment-breakdown TD,
.dlslot-payment-breakdown TH {
    padding: 5px 10px;
}

#payment-form .submit {
    max-width: 100%;
    width: 100%;
}

/**
 * Notices
 */

.dlsntc-notice {
    display: block;
    padding: 0;
    background-color: #f2f2f2;
    color: #000;
    margin: 1em 0;
}

.dlsntc-notice P {
    border-bottom: 1px solid #fff;
    margin: 0;
    padding: .4em .8em;
}

.dlsntc-error {
    background-color: #FFBABA;
    color: #D8000C;
}

.dlsntc-warn {
    background-color: #FEEFB3;
    color: #9F6000;
}

.dlsntc-info {
    background-color: #BDE5F8;
    color: #00529B;
}

.dlsntc-success {
    background-color: #DFF2BF;
    color: #4F8A10;
}

/**
 * Form Validation
 */

.error {
    color: #D8000C;
}

INPUT.error,
TEXTAREA.error,
SELECT.error {
    border-color: #D8000C;
    margin-bottom: 0;
}

LABEL.error {
    display: block;
    margin-left: 0;
    margin-bottom: 1.5rem;
    font-weight: normal;
    font-size: 0.8em;
}

label[for=dlslot_seating_requirements]:before {
    margin-right: 0 !important;
    width: 20px !important;
    height: 20px !important;
    background-color: white;
}

label[for=dlslot_seating_requirements] {
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
}

.dlslot-seating-details .accessible-seating-note {
    font-size: 1.5rem;
}

.dlslot-seating-details table {
    background-color: #f2f2f2;
    margin-bottom: 5rem;
    font-size: 1.4rem;
}

.dlslot-seating-details table td {
    border-bottom: none;
    padding: 0 1.8rem;
}

.dlslot-seating-details table tr:first-child  td {
    padding: 2rem 1.8rem 1.4rem 1.8rem;
}

.dlslot-seating-details table tr:last-child td {
    padding: 0 1.8rem 2rem 1.8rem;
}

.dlslot-seating-details i.fa {
    font-weight: bold;
    margin-left: 10px;
    font-size: 1.6rem !important;
}

@media (max-width: 300px) {
    .dlslot-seating-details i.fa {
        display: none;
    }
}

.dlslot-seating-quantity {
    position: relative;
}

.dlslot-seating-quantity tbody:before {
    content: '';
    position: absolute;
    left: 15px;
    top: -28px;
    z-index: 99;
    border: solid 14px transparent;
    border-bottom-color: #f2f2f2;
}

.dlslot-seating-quantity input.error {
    margin-bottom: 15px;
}

.dlslot-seating-quantity select {
    background-color: #fff;
    display: inline-block;
    margin-right: .6em;
    width: 30%;
}

.dlslot-seating-quantity select.error {
    margin-bottom: 1.5rem;
}

.dlslot-seating-quantity label {
    font-weight: normal;
}

@media (max-width: 300px) {
    .dlslot-seating-details select {
        width: 100%;
        margin-bottom: .2em;
    }

    .dlslot-seating-details label {
        display: block;
        margin-bottom: 1em;
    }
}

.dlslot-seating-quantity .instructions {

}

.dlslot-seating-quantity .please-note {
    text-transform: uppercase;
}

.dlslot-seating-quantity p {
    margin-bottom: 1rem;
}

.dlslot-seating-quantity p:last-child {
    margin-bottom: 0;
}

.dlslot-seating-agreement-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(90, 90, 90, 0.5);
    z-index: 10001;
    height: 100%;
    width: 100%;
    text-align: center;
}

.dlslot-seating-agreement {
    width: 40%;
    background-color: white;
    margin-top: 2%;
    display: inline-block;
    padding: 30px 30px 55px; /* bottom should match .btn font size * line-height */
    min-width: 500px;
    min-height: 100px;
    position: relative;
    font-size: 1.5rem;
    overflow-y: auto;
}

@media (max-width: 991px) {
    .dlslot-seating-agreement {
        padding-bottom: 45px; /* bottom should match .btn font size * line-height */
    }
}

.dlslot-seating-agreement .btn {
    color: white;
    cursor: pointer;
    width: 50%;
    position: absolute;
    max-width: 3000px;
    border-radius: 0;
}

.dlslot-seating-agreement .agreement-text {
    text-align: left;
    padding-bottom: 30px;
}

.dlslot-seating-agreement .btn-cancel {
    background-color: #999;
    left: 0;
}

.dlslot-seating-agreement .btn-cancel:hover {
    background-color: #666;
}

.dlslot-seating-agreement .btn-primary {
    right: 0;
}

.dlslot-agreement-text {
    max-height: 450px;
    overflow-y: auto;
}

.dlslot-seating-details table td.dlslot-seats-errors {
    padding-bottom: .6em;
}

@media (max-height: 800px) {
    .dlslot-seating-agreement {
        max-height: 90%;
    }
}

@media (max-width: 599px) {
    .dlslot-seating-agreement {
        min-width: 90%;
        margin-top: 0;
        max-height: 100%;
    }
}