.etennis-stringing-header{
    margin-bottom: 2em;
}

#delete-allocated-slot:hover {
    background: #ae0d0d;
    color: #FFF;
}
#delete-allocated-slot {
    border-color: #ae0d0d;
    color: red;
}

/* override ioweb button font color */
.booking-add-event #add-event-modal button.action.action-primary, .booking-add-event #super-user-event-modal .action.action-primary {
    color: #444;
}

#submit-allocation-request:hover {
    background: #2a732a;
    color: #FFF;
}
#submit-allocation-request {
    color: green;
    border-color: #2a732a;
}

#change-operating-hours-form .form-field{
    margin-top: 1em;
}

#change-operating-hours-form .form-field.actions {
    text-align: center;
}

#change-operating-hours-form label{
    text-align: left;
}

#allocate-timeslot-stringer .content-row {
    font-size: 15px;
    margin: 1em;
    text-align: center;
}

#allocate-timeslot-stringer .form-field{
    text-align: center;
}

#allocate-timeslot-stringer .header h3{
    text-align: center;
}


.super-user-options{
    text-align: right;
    margin-bottom: 2em;
}

#etennis-calendar .fc-header-toolbar .fc-button.fc-button-primary{
    color: #FFF;
}

#stores .etennis-form-label{
    display: inline-block;
    width: 35%;
    font-size: 16px;
}

#stores #booking_store{
    display: inline-block;
    width: 60%;
}

.etennis-slot-my-booking {
    background: #408a61;
    color: #FFF;
}

.etennis-slot-my-booking .fc-daygrid-event-dot {
    border-color: #FFF;
}

.etennis-stringing-header .calendar-legend .legend-row{
    margin: 1em;
}

.etennis-stringing-header .form-description{
    line-height: 1.4em;
    font-size: 15px;
}

.etennis-stringing-header .calendar-legend .legend-row .legend-description{
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
}

.etennis-stringing-header .calendar-legend .legend-row .legend-colored-box{
    display: inline-block;
    width: 5%;
    background: #000;
    height: 2em;
    vertical-align: middle;
    margin-right: 1em;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container .modal-form-checkbox {
    position: absolute;
    opacity: 0 !important;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .modal-form-checkbox ~ .fa.fa-check {
    position: absolute;
    top: -2px;
    left: 0px;
    height: 18px;
    width: 18px;
    color: #FFF;
    background: #FFF;
    border: 1px solid #888;
    border-radius: 0.3em;
}

.booking-details .booking-section {
    width: 45%;
    display: inline-block;
    vertical-align: top;
    margin-right: 1em;
}

.booking-details h3 {
    border-bottom: 1px solid #000;
    color: #000;
    margin-bottom: 1em
}

#super-user-event-modal .actions .modal-action-row{
    text-align: center;
    margin-top: 2em;
}

#super-user-event-modal .actions .booking-submit.primary{
    background: #000;
    color: #FFF;
    border-color: #000;
    padding: 1em;
    height: auto;
    font-size: 18px;
}

.booking-details .section-row {
    margin-bottom: 1em;
}

.booking-details .section-row .label {
    font-size: 15px;
    margin-bottom: 0.2em;
    vertical-align: middle;
}

.booking-details .section-row .value {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #000;
    font-weight: bold;
}


.checkbox-container .modal-form-checkbox:checked ~ .fa.fa-check {
    background: #000;
    color: #FFF;
    border-color: #000;
}

#etennis-calendar .fc-header-toolbar .fc-toolbar-chunk:first-child{
    width: 25%;
}

.etennis-stringing-header .calendar-legend {
    margin-top: 2em;
    margin-bottom: 2em;
}

.etennis-stringing-header .calendar-legend .legend-row {
    display: inline;
}

.checkbox-container .modal-form-checkbox:disabled ~ .fa.fa-check{
    opacity: 0.2;
    border-color: #AAA;
}

.etennis-stringing-header .calendar-legend .legend-row .legend-colored-box.customer{
    background: #408a61;
}

.etennis-stringing-header .calendar-legend .legend-row .legend-colored-box.unavailable{
    background: #000;
}

.etennis-slot-not-available {
    background: #bfbfbf;
    color: #000;
    border-color: #000;
}

.etennis-slot-not-available .fc-daygrid-event-dot {
    color: #FFF;
    background: #FFF;
    border-color: #000;
}

.etennis-slot-booked {
    background: #000;
    color: #FFF;
}

.etennis-slot-booked .fc-daygrid-event-dot {
    border-color: #FFF;
}

.modal-form-row .modal-form-label .required-asterisk.fa.fa-asterisk {
    font-size: 10px;
    margin-left: 0.5em;
    color: #A00;
}

.booking-add-event .modal-inner-wrap .modal-header .modal-title{
    text-align: center;
    border-bottom: navajowhite;
    color: #000;
    font-weight: 600;
}

#add-event-modal, #super-user-events, #modify-booking-modal, #super-user-book-long-slot, #super-user-event-modal, #cancel_booking_modal{
    display: none;
}

#add-booking-form .modal-form-row .modal-form-input.error {
    border-color: red;
}

#add-booking-form .modal-form-row .error {
    color: #a20909;
    font-weight: 400;
}

#add-event-modal .form-header {
    text-align: center;
    padding: 1em;
}

#super-user-book-long-slot .header{
    text-align: center;
}

#add-event-modal .form-header .header-row, #super-user-book-long-slot .header-row {
    font-size: 16px;
    margin: 0.3em;
}

#add-event-modal .form-header .header-row .value, #super-user-book-long-slot .header-row .value {
    font-weight: 500;
    color: #000;
}

#add-event-modal #add-booking-form .main-form-col{
    width: 49%;
    display: inline-block;
    padding-right: 2em;
    vertical-align: top;
    border-right: 3px solid #AAA;
    margin-bottom: 2em;
    margin-top: 2em;
}

#cancel_booking_modal .label {
    font-size: 14px;
    color: #000;
    font-weight: bold;
}

#cancel_booking_modal .info-container {
    margin-bottom: 1em;
}

.modal-action-row{
    text-align: center;
    margin-top: 2em;
}

.booking-submit.primary{
    background: #000;
    color: #FFF;
    border-color: #000;
    padding: 1em;
    height: auto;
    font-size: 18px;
}

#stringing_history .date-container{
    vertical-align: middle;
}

#stringing_history_header_container{
    text-align: right;
}

#stringing_history_header_container .fa-times{
    color: red;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: -2px;
    right: 2px;
    cursor: pointer;
    padding: 0;
}

.booking-cancel-event .modal-inner-wrap .modal-header .modal-title{
    text-align: center;
    border-bottom: navajowhite;
    color: #000;
    font-weight: 600;
}

#stringing_history .header-info {
    text-align: right;
    font-weight: bold;
    padding: 3px;
    vertical-align: middle;
    color: #000;
    line-height: 1.1;
}

#stringing_history .value {
    padding: 3px;
    text-align: left;
    vertical-align: middle;
    cursor: pointer;
    text-decoration: underline;
    line-height: 1.1;
}

#etennis_stringing_history {
    position: absolute;
    top: 25%;
    width: 52%;
    left: 47%;
    background: #FFF;
    box-shadow: 0 0 2px 0 #AAA;
    padding: 1em;
    padding-top: 2em;
    display: none;
    overflow-y: scroll;
    max-height: 65%;
}

#stringing_history .name-container {
    vertical-align: middle;
}

#etennis_stringing_history .container{
    padding: 0;
}

#stringing_history thead tr {
    background: cadetblue;
    color: #FFF;
}

#stringing_history thead tr th {
    text-align: center;
}

#stringing_history tbody tr.etennis-history-even{
    background: #EEE;
}

#stringing_history tbody tr.etennis-history-odd{
    background: #FFF;
}

#stringing_history tbody tr td {
    text-align: center;
}

.modal-form-row .modal-form-input::placeholder{
    color: #000;
}

#add-event-modal #add-booking-form .secondary-col{
    width: 50%;
    display: inline-block;
    padding-left: 2em;
    margin-top: 2em;
}

#add-event-modal .modal-form-row {
    margin-bottom: 1em;
}

#super-user-customer-info .button-container .booking-submit.primary{
    width: 100%;
    background: #000;
    color: #FFF;
    border-color: #000;
    height: auto;
    padding: 1em;
    font-weight: 600;
    font-size: 17px;
}

#string_history_table {
    border: 1px solid #CCC;
    margin-bottom: 2em;
}

#string_history_table thead {
    border-bottom: 3px solid #AAA;
}

#string_history_table thead th {
    background: #DDD;
    color: #000;
    text-align: center;
}

#string_history_table tbody tr {
    border-bottom: 1px solid #CCC;
}

#string_history_table tbody td {
    text-align: center;
}

#super-user-customer-info .section-row {
    margin-bottom: 1em;
}

#super-user-customer-info .section-row .label {
    width: 30%;
    font-size: 16px;
    color: #444;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
}

#super-user-customer-info .section-row .value {
    width: 50%;
    display: inline-block;
    font-size: 14px;
    color: #000;
    font-weight: lighter;
}

#add-event-modal .modal-action-row .booking-submit.primary{
    width: 100%;
    background: #000;
    color: #FFF;
    border-color: #000;
    height: auto;
    padding: 1em;
    font-weight: 600;
    font-size: 17px;
}

#stringing_history thead tr:first-child th:last-child{
    width: 70%;
}

#stringing-notes{
    height: 7em;
}

#modify-booking-modal .form-header .title {
    text-align: center;
    color: #000;
    font-size: 18px;
}

#modify-booking-modal .form-header .header-row {
    text-align: center;
    margin: 1em;
}

#modify-booking-modal .form-header .label {
    font-size: 15px;
}

#modify-booking-modal .form-header .value {
    color: #000;
    font-size: 15px;
}

#modify-booking-modal #modify-booking-form .modal-form-footer {
    margin-top: 5em;
}

#modify-booking-modal #modify-booking-form .modal-action-row {
    text-align: center;
}

#reschedule-form-cancel {
    background: transparent;
    color: #000;
    border: 1px solid transparent;
    height: auto;
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
    margin-right: 1em;
}

#reschedule-form-submit {
    height: auto;
    padding: 1em;
    border: 1px solid #000;
    background: #000;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
}

#super-user-add-booking .form-header .header-row {
    text-align: center;
    margin-bottom: 0.5em;
}

#super-user-add-booking .form-header .header-row .label {
    font-size: 16px;
    margin-right: 0.4em;
}

#super-user-add-booking .form-header .header-row .value {
    color: #000;
    font-weight: bold;
    font-size: 15px;
}

#super-user-event-modal #review_booking_status{
    width: 35%;
}
#super-user-event-modal #super-user-booking-actions-container{
    text-align: center;
    display: inline-block;
    width: 60%;
}

#super-user-event-modal #super-user-booking-actions-container .btn-action {
    margin: 1em;
    font-size: 16px;
    height: 100%;
    border-radius: 0.5em;
    border: 2px solid #EEE;
    margin: 0.2em;
    font-size: 11px;
    line-height: 0;
    padding: 0.5em;
}

#super-user-event-modal #super-user-booking-actions-container .btn-action .fa {
    font-size: 13px;
    vertical-align: initial;
    margin-right: 0.2em;
}

#super-user-event-modal #super-user-booking-actions-container .btn-action.cancel {
    border-color: #b51010;
    color: #b51010;
}

#super-user-event-modal #super-user-booking-actions-container .btn-action.cancel:hover {
    color: #FFF;
    background: #b51010;
}

#super-user-event-modal #super-user-booking-actions-container .btn-action.confirm {
    border-color: #1b5e1b;
    color: #1b5e1b;
}

#super-user-event-modal #super-user-booking-actions-container .btn-action.confirm:hover {
    background: #1b5e1b;
    color: #FFF;
}

#super-user-add-booking .modal-form-footer .modal-action-row {
    margin-top: 2em;
    text-align: center;
}

#super-user-add-booking .modal-form-footer .modal-action-row .booking-submit.primary {
    background: #000;
    height: auto;
    color: #FFF;
    border-color: #000;
    padding: 1em;
    font-size: 18px;
}

#super-user-events .header .header-row {
    text-align: center;
    margin-bottom: 0.5em;
}

#super-user-events .header .header-row .label {
    font-size: 16px;
    margin-right: 0.4em;
}

#super-user-events .header .header-row .value {
    color: #000;
    font-weight: bold;
    font-size: 15px;
}

#super-user-add-booking .main-form-col .modal-form-row {
    margin-bottom: 1em;
}

#super-user-events .actions .modal-action-row {
    margin-top: 2em;
    text-align: center;
}

#super-user-events .actions .modal-action-row .booking-submit.primary {
    background: #000;
    height: auto;
    color: #FFF;
    border-color: #000;
    padding: 1em;
    font-size: 18px;
}

#super-user-events .bookings-container {
    max-height: 400px;
    overflow: auto;
}

#super-user-events .bookings-container .event {
    padding: 1em;
    font-size: 15px;
    color: #000;
    width: max-content;
    margin: 0 auto;
    cursor: pointer;
    transition-property: background;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
    margin-bottom: 1em;
    width: 60%;
    text-align: center;
}

#super-user-events .bookings-container .event:hover {
    background: #EEE;
    transition-property: background;
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    text-decoration: underline;
}

#super-user-events .bookings-container .event .fa-pencil{
    margin-left: 1em;
}

#super-user-events .bookings-container {
    max-height: 400px;
    overflow: auto;
    padding-top: 1em;
}

#super-user-events .bookings-container .box.main-label {
    margin-left: 1em;
    padding: 0.4em;
    font-size: 11px;
    color: #FFF;
    background: #000;
    height: min-content;
    display: inline-block;
}

#super-user-event-modal .booking-section .value.hidden{
    display: none;
}

#super-user-event-modal .booking-section .fa-pencil.hidden{
    display: none;
}

#super-user-event-modal .booking-section .fa-times.hidden{
    display: none;
}

#super-user-event-modal .booking-section h3 .fa-times{
    float: right;
    cursor: pointer;
    color: red;
}

#super-user-event-modal .booking-section .fa-pencil{
    float: right;
    cursor: pointer;
    color: #67b2f5;
}

@media (max-width: 425px) {
    .etennis-form .fc-toolbar-chunk .fc-button-primary {
        padding: 3px;
        font-size: 12px;
    }
}

@media screen and (max-width:767px) {
    .booking-add-event.modal-popup.modal-slide {
        left: 0;
        z-index: 900;
    }

    .booking-add-event.modal-popup.modal-slide .modal-inner-wrap .modal-content{
        padding: 1em;
    }

    #add-event-modal #add-booking-form .main-form-col{
        display: block;
        width: 100%;
        border-right: none;
        padding-right: 0;
    }

    #add-event-modal #add-booking-form .secondary-col{
        display: block;
        width: 100%;
        padding-left: 0;
        margin-top: 0;
    }

    #add-event-modal #add-booking-form .modal-action-row .booking-submit.primary {
        font-weight: 500;
        font-size: 14px;
    }

    .fc .fc-button {
        padding: 0.2em;
        font-size: 0.8em;
        line-height: 1.5;
        border-radius: .25em;
        border-top-right-radius: 0.25em;
        border-bottom-right-radius: 0.25em;
    }

    .fc .fc-toolbar-title {
        font-size: 1.2em;
        margin: 0;
    }

    .fc .fc-col-header-cell-cushion {
        display: inline-block;
        padding: 2px 4px;
        font-size: 9px;
    }

    #stores {
        width: 40%;
        margin-bottom: 1em;
        padding-top: 10px ;
    }

    #etennis-calendar .fc-header-toolbar .fc-toolbar-chunk:first-child {
        width: initial;
    }
    .etennis-stringing-header .calendar-legend .legend-row {
        display: flex;
        width: 100%;
    }

    .etennis-stringing-header .calendar-legend{
        display: inline-block;
        width: 50%;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .etennis-stringing-header .calendar-legend .legend-row .legend-colored-box {
        width: 20%;
    }

    #stores #booking_store {
        width: 100%;
        display: block;
    }

    #stores .etennis-form-label{
        width: 100%;
        display: block;
        font-size: 14px;
        font-weight: bold;
    }
    .etennis-form .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        display: block;
    }

    .etennis-form .fc-header-toolbar .fc-toolbar-chunk {
        text-align: center;
    }


}