/* GungaShop Throwing Lessons - Booking Interface CSS */

.gstl-booking-wrapper {
    width: calc(100% - 1rem);
    /* border: 1px solid rgba(0, 0, 0, .05); */
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 2em auto;
}

@media (max-width: 768px) {
    .gstl-booking-wrapper {
        width: 100%;
    }
}

.gstl-booking-wrapper a {
    text-decoration: none;
    color: #000;
}

.gstl-heading {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: normal;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-transform: uppercase;
}

.gstl-choose-day-headline, .gstl-choose-time-headline
{
    margin-top: 40px;
}

/* Course List */
.gstl-course-list,
.gstl-booking-content {
    /* border: 10px solid rgba(0, 0, 0, .05); */
}

.gstl-course-table {
    cursor: pointer;
    border-spacing: 0;
    margin: 0;
    width: 100%;
}

.gstl-course-table strong {
    font-weight: normal;
}

.gstl-course-table thead tr {
    background-color: rgb(87, 148, 163);
    color: white;
}

.gstl-course-table th {
    font-size: 1em;
    font-weight: normal;
    padding: 10px;
}

.gstl-course-table td {
    padding: 5px;
    font-size: 1em;
    font-weight: 400;
}

.gstl-course-table td:first-child, .gstl-course-table th:first-child {
    padding-left: 10px;
}

.gstl-course-table tbody tr:hover {
    background-color: #dadada;
}

.gstl-course-table tbody tr.gstl-course-selected {
    background-color: #000;
    color: #fff;
    font-weight: bold;
}

.gstl-course-table tbody tr.gstl-course-selected td {
    color: #fff !important;
}

.gstl-course-cell-subtitle {
    display: block;
    font-size: 0.9em;
    font-style: italic;
}

/* Initial State */
.gstl-initial-state {
    padding: 100px 20px;
    text-align: center;
    font-size: 1.2em;
}

.gstl-logo {
    width: 160px;
    margin-bottom: 20px;
}

.gstl-logo-small {
    width: 116px;
    margin-bottom: 10px;
}

/* Date Picker */
.gstl-datepicker {
    padding: .2em .2em 0;
    font-size: 1.1em;
}

.gstl-datepicker table {
    width: 100%;
    font-size: .9em;
    border-collapse: collapse;
    margin: 0 0 .4em;
}

.gstl-datepicker th {
    padding: .7em .3em;
    text-align: center;
    font-weight: bold;
}

.gstl-datepicker td {
    padding: 1px;
    width: 14%;
    font-weight: 400;
}

.gstl-datepicker td a,
.gstl-datepicker td span {
    display: block;
    padding: 0.5em;
    text-align: center;
}

.gstl-datepicker a.gstl-datepicker-state-active {
    background: #000;
    color: #fff;
    font-weight: bold;
}

.gstl-datepicker td a:hover {
    background-color: #dadada;
    cursor: pointer;
}

.gstl-datepicker-state-disabled {
    cursor: default !important;
    pointer-events: none;
    opacity: 0.35;
}

.gstl-datepicker td.partial_booked a:before {
    display: inline-block;
    background-color: #000;
    border-radius: 5px;
    content: "";
    margin: 0.11em 0.1em;
    width: 5px;
    height: 5px;
}

.gstl-datepicker-header {
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    font-weight: lighter;
}

.gstl-datepicker-title {
    text-align: center;
    width: 100%;
    font-weight: 400;
}

.gstl-datepicker-prev,
.gstl-datepicker-next {
    width: 30px;
    user-select: none;
    cursor: pointer;
}

.gstl-datepicker-prev {
    padding-left: 20px;
}

.gstl-datepicker-next {
    padding-right: 20px;
}

.gstl-datepicker-prev svg,
.gstl-datepicker-next svg {
    fill: #444;
}

.gstl-datepicker-prev:hover svg,
.gstl-datepicker-next:hover svg {
    fill: #000;
}

/* Slot Picker */
.gstl-slot-picker {
    border-top: 1px dashed rgba(0, 0, 0, .05);
    border-bottom: 1px dashed rgba(0, 0, 0, .05);
    padding: 0.9em 0;
    width: 100%;
}

.gstl-slot-picker ul {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: top;
    width: 32%;
}

.gstl-slot-picker li.gstl-slot-heading {
    display: block;
    font-size: .9em;
    font-weight: 700;
    text-align: center;
    padding: 0.5em;
}

.gstl-slot-picker li.gstl-slot {
    line-height: 50px;
    list-style: none;
    height: 50px;
    text-align: center;
    cursor: pointer;
    font-weight: 400;
}

.gstl-slot-picker li.gstl-slot:hover {
    background-color: #000;
    color: #fff;
}

.gstl-slot-picker li.gstl-slot-disabled {
    cursor: default !important;
    pointer-events: none;
    opacity: 0.35;
}

.gstl-slot-picker-start {
    font-size: 1.2em;
    text-align: center;
    padding: 2em 0;
}

/* Confirmation Dialog */
.gstl-confirm-dialog {
    text-align: center;
    opacity: 0;
    margin: 20px 0;
    transition: opacity 0.5s;
}

.gstl-confirm-dialog.gstl-visible {
    opacity: 1;
}

.gstl-confirm-date {
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 15px;
}

.gstl-confirm-button {
    /*
    display: block;
    background-color: #000;
    border: 1px solid #fff;
    padding: 20px 40px;
    border-radius: 7px;
    font-size: 1.1em;
    margin: 10px auto;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    */
}

.gstl-confirm-button:hover {
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
}

.gstl-confirm-extra-person {
    margin: 20px 0;
    font-weight: bold;
}

.gstl-confirm-extra-person input[type="checkbox"] {
    margin-right: 8px;
}

/* Loading Spinner */
.gstl-loading {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    margin: 20px auto;
}

.gstl-loading div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 4px;
    border: 8px solid #000;
    border-radius: 50%;
    animation: gstl-loading-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #000 transparent transparent transparent;
}

.gstl-loading div:nth-child(1) { animation-delay: -0.45s; }
.gstl-loading div:nth-child(2) { animation-delay: -0.3s; }
.gstl-loading div:nth-child(3) { animation-delay: -0.15s; }

@keyframes gstl-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal */
.gstl-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.gstl-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gstl-modal-header {
    padding: 15px;
    background-color: #000;
    color: #fff;
}

.gstl-modal-header h3 {
    margin: 0;
    color: #fff;
}

.gstl-modal-close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.gstl-modal-close:hover {
    color: #aaa;
}

.gstl-modal-body {
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .gstl-course-table {
        padding: 20px;
    }

    .gstl-course-table th {
        font-size: 1em;
    }

    .gstl-course-table td {
        font-size: 0.8em;
    }

    .gstl-heading {
        font-size: 20px;
        padding-left: 20px;
    }

    .gstl-slot-picker ul {
        width: 32.2%;
    }
}
