/* Event Organiser Pro's frontend.css gives the terms wrapper a fixed 150px
   height, 50% width and its own scrollbar; let .acc-ta-agreement scroll instead
   so the expiry notice below it stays visible. */
#eo-booking-form-element-wrap-acc-trip-agreement .eo-booking-field-terms-conditions-text {
    width: auto;
    height: auto;
    overflow: visible;
    margin: 6px 0 10px;
    padding: 0;
    border: 0;
    background: none;
}

.acc-ta-agreement {
    max-height: 16em;
    overflow-y: auto;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid #d0d4d0;
    border-radius: 4px;
    background: #f7f8f7;
    font-size: 0.95em;
}

/* Beats Event Organiser Pro's `#eo-booking-form .eo-booking-field p { margin: 0 }`. */
#eo-booking-form .eo-booking-field .acc-ta-agreement p {
    margin: 0 0 0.8em;
}

#eo-booking-form .eo-booking-field .acc-ta-agreement p:last-child,
.acc-ta-agreement p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.acc-ta-notice {
    padding: 10px 14px;
    margin: 10px 0;
    border-left: 4px solid;
    border-radius: 2px;
}

.acc-ta-notice-warning {
    border-color: #d8a600;
    background: #fff8e0;
}

.acc-ta-notice-success {
    border-color: #2e7d32;
    background: #eaf5ea;
}

.acc-ta-notice-error {
    border-color: #c62828;
    background: #fdeaea;
}

.acc-ta-banner {
    padding: 16px;
    margin: 20px 0;
    border: 2px solid #d8a600;
    border-radius: 4px;
    background: #fffdf5;
}

.acc-ta-banner h4 {
    margin-top: 0;
}

/* Organizers' agreement status next to each name in the trip page's Sign-Ups
   and Waitlist lists (the theme's single-event.php). */
.acc-ta-status {
    padding-left: 12px;
    white-space: nowrap;
}
