button {
    cursor: pointer;
}

.course-content {
    border-bottom: 1px solid #ccc;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.course-content .course-row {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    font-size: 14px;
}

.course-content img {
    min-width: 20px;
    margin-right: 6px;
}

.course-content .course-row > div {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.course-content .course-row:not(:last-child) {
    margin-bottom: 8px;
}

.course-content .title {
    font-weight: 700;
    margin-right: 6px;
}

.course-description p:first-child {
    margin-top: 0;
}

.course-description p:last-child {
    margin-bottom: 0;
}

/* Sprints field*/
.sprints-title {
    margin: 36px 0 18px;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 2px 2px 15px 2px hsl(0deg 0% 80% / 65%);
    padding: 9px 18px;
}

.sprints-content {
    margin: 0 18px;
}

/* Sprints table */
.sprints-table thead tr {
    text-align: left;
    cursor: pointer;
}

.sprints-table thead th,
.sprints-table tbody td {
    padding: 3px 8px;
}

.sprints-table tbody td.book {
    text-align: center;
    width: 195px;
}

.sprints-table tbody td.book > div {
    justify-content: center
}

.sprints-table .continuance,
.sprints-table .weekday,
.sprints-table .location {
    min-width: 120px;
}

.sprints-table .from-to-column {
    max-width: 190px;
    width: 15%;
}

.sprints-table .visits,
.sprints-table .start {
    min-width: 80px;
}

.sprints-table tbody tr:hover {
    background-color: unset !important;
}

.sprints-table tbody tr:nth-child(even):hover {
    background-color: #0090f154 !important;
}

.mini-calendar td,
.mini-calendar th {
    max-width: 24px;
}

.schedules-loading {
    margin: 0 auto;
}

.full-width-input {
    width: 100%;
    box-sizing: border-box; /* Ensures padding and border are included in the width */
}

.participant-fields {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.participant-fields .form-row {
    margin: 0;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .sprints-content {
        margin: 0;
    }

    .sprints-table {
        margin: 0 auto;
        border-collapse: collapse;
    }

    .sprints-table thead {
        display: none;
    }

    .sprints-table tbody tr {
        border: 1px solid red;
    }

    .sprints-table tbody td:before {
        content: attr(data-label);
        float: left;
        padding-right: 18px;
    }

    .sprints-table tbody > tr > td:before {
        font-weight: 600;
    }

    .sprints-table tbody td {
        display: block;
        text-align: right;
        padding-left: 0;
        padding-right: 0;
        margin-left: 18px;
        margin-right: 18px;
        width: calc(100% - 36px);
        min-width: calc(100% - 36px);
    }

    .sprints-table .mini-calendar td {
        width: 100%;
        min-width: 100%;
        margin-top: 0 !important;
        min-height: 28px;
    }

    .sprints-table tbody td:first-child {
        margin-top: 18px;
    }

    .sprints-table tbody td.book {
        margin-bottom: 18px;
        margin-top: 9px;
        width: calc(100% - 36px);
    }

    .participant-fields {
        grid-template-columns: auto;
    }
}

#price-rates-cont {
    display: flex;
    flex-flow: row wrap;
    grid-gap: 10px;
}

.price-rate {
    flex: 1 20%;
    max-width: 25%;
    min-width: 145px;
    padding: 9px;
    border: 3px solid lightgray;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    border-radius: 6px;
    display: flex;
    flex-flow: column;
    gap: 10px;
}

.price-rate p {
    margin: 0;
}

.clear-row {
    clear: both;
}

.hidden-field {
    display: none !important;
}

.reserve-date-picker {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    #price-rates-cont {
        flex-flow: column;
        flex: 1 100%;
    }

    .price-rate {
        flex: 1 100%;
        max-width: 100%;
        min-width: 145px;
        padding: 3px 9px;
        border: 3px solid lightgray;
        cursor: pointer;
        transition: all 300ms ease-in-out;
        border-radius: 6px;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        gap: 10px;
    }

}

.product div._cm-ticket-template-wrapper {
    padding: 9px 0 18px 0;
    border-radius: 6px;
}

.product ._cm-ticket-template {
    margin: 0 27px 6px 27px;
}

.product ._cm-ticket-template .cm_ticket {
    border: 2px solid #ccc;
    cursor: pointer;
}

.product ._cm-ticket-template ._cm-ticket.is-active {
    border: 2px solid #1a1c27;
}

._cm-ticket.is-active, .voucher.is-active {
    cursor: zoom-in !important;
}

._cm-ticket {
    background: white;
}

#preview-zoom-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
}

.ticket-zoom-wrapper button {
    position: absolute;
}

#preview-carousel-close {
    cursor: pointer;
    max-width: 46px !important;
    min-width: 46px !important;
    width: 46px !important;
    margin-left: 420px;
    margin-bottom: 10px;
    transition: 0.25s;
}

.preview-carousel-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 480px;
}

.preview-carousel-buttons button {
    cursor: pointer;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    transition: 0.25s;
}

.preview-carousel-slide img {
    background: white;
}

@media only screen and (max-width: 600px) {
    #preview-carousel-close {
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
        margin-left: 0;
    }

}
