hr {
    margin: unset;
}

.schedule {
    max-width: 500px;
}

.schedule-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.divider {
    display: none;
}

.course-item {}

.course-item.selected .course-options {}

.course-item.selected .course-confirm-btn {
    background-color: #eeeeee;
    border: 1px solid #d1d1d1;
    color: #4b4b4b;
    pointer-events: none;
}

.course-item.selected .course-confirm-btn.keep-current-selection-link {
    pointer-events: auto;
}

.course-item.selected .course-confirm-btn.keep-current-selection-link .keep-current-selection-text {
    text-decoration: underline;
}

.course-item.selected .course-confirm-btn.keep-current-selection-link:hover .keep-current-selection-text {
    color: #333333;
    text-decoration: underline;
}

.course-name {
    margin-top: 5px;
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 400;
}

.full-course {
    background-color: #FEFEFE;
}

.course-number {
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
}

.course-date {

    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.course-options {
    display: flex;
    flex-direction: column;
    border: 1px solid #eeeeee;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 16px;
}

.course-item > .course-options.card-box-shadows {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.course-options.selected {
    display: flex;
}

.course-select-confirm .course-options {
    padding: 5px;
}


.your-selections .course-options {
    border: none;
    margin-bottom: 8px;
}

.your-selections .course-item:last-child .course-options {
    margin-bottom: 0;
}

.price {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.summary .price {
    display: none;
}

.address-name {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 500;
}


.address {
    font-family: Montserrat, sans-serif;
    color: #858585;
    font-weight: 500;
}


.external-id {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    color: #777777;
    font-size: 11px;
}

.price-text {
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    color: #777777;
    font-size: 11px;
}

/* Combo courses: a second line under the per-course price. The price block is
   centred so the amount stays under the button when the note is wider. */
.course-btn-with-price .price-text {
    text-align: center;
}

.price-combo-note {
    display: block;
    margin-top: 1px;
    color: #777777;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 400;
    text-align: center;
}

.time {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
}

.schedule {
    font-family: Montserrat, sans-serif;
    line-height: 20px;
    font-weight: 500;
    height: 100%;
}

.schedule .locale {
    color: #666666;
}

.schedule .session-separator {
    color: #0099FF;
    font-weight: 600;
}

.item-container {
    max-width: 200px;
}

.course-options .course-date {
    font-size: 24px;
    display: block;
    line-height: 30px;
    font-weight: 600;
}

.course-options .address {
    font-size: 15px;
    margin-top: 5px;
}

.schedule,
.course-item .course-location-details,
.course-item .get-directions-btn {
    font-size: 13px;
}

.flex-v-center {
    display: flex;
    align-items: top;
}

.course-item {}

.full-course * {
    color: #cccccc;
}

.course-select-confirm-body-left .item-container {
    max-width: unset;
}

.item-container.summary {
    min-height: unset;
}

.nice-select {
    line-height: 35px;
}

.filter-bar-input-box input {
    border-radius: 5px;
}

.filter-bar-input-box select {
    border-radius: 5px;
}

/* Top section of course card */
.course-card-top {
    display: flex;
    align-items: center;
    width: 100%;
}

.course-card-top-left {
    width: 350px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.course-card-top .course-type {
    font-family: Montserrat, sans-serif;
    font-size: 23px;
    font-weight: 400;
    margin-top: 20px;
}

.course-card-top .external-id {
    margin-top: 5px;
}

.course-card-top .course-date {
    font-size: 20px;
    font-weight: 400;
    text-align: left;

}

.course-card-top .course-select-btn-ctn {
    align-items: flex-end;
    width: 100%;
}

/* Bottom section of course card */
.course-card-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.course-card-bottom-spacer {
    width: 160px;
    min-width: 160px;
}

.course-summary-title-ctn {
    display: flex;
    align-items: baseline;
}

.course-summary-title-ctn .change-single-course-link {
    margin-left: 10px;
}

.course-info-area {
    display: grid;
    grid-template-columns: 50% minmax(0, 1fr) auto;
    grid-template-areas:
        "a a c"
        "b d d";
    row-gap: 10px;

}

.course-info-area .confirm-btn {
    border-radius: 50px;
}

.course-info-area .course-select-btn-ctn {
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
    padding-top: unset;
}

.course-info-area .course-btn-with-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-info-area>* {
    padding-top: 10px;
    height: 100%;
}

.course-info-area> :nth-child(1) {
    grid-area: a;
}

.course-info-area> :nth-child(2) {
    grid-area: b;
}

.course-info-area> :nth-child(3) {
    grid-area: c;
}

.course-info-area> :nth-child(4) {
    grid-area: d;
}

.course-info-area> :nth-child(-n + 3) {
    border-bottom: 1px solid #EFEFEF;
    min-height: 75px;
}

.course-info-area> :nth-child(1),
.course-info-area> :nth-child(2) {
    border-right: 0;
}

.course-info-area .course-type {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #6b6b6b;
    margin-top: 6px;
}

.course-info-area .course-card-top-left {
    width: unset;
    min-width: unset;
    padding-top: 0;
    padding-bottom: 12px;
}

.course-info-area .course-card-top-left .course-date {
    line-height: 1.2;
    font-weight: 700;
}

.course-info-area .external-id {
    margin-top: 5px;
}

.course-info-area .course-date,
.course-info-area .schedule-heading {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
}

.course-item .schedule,
.combined-summary-schedule {
    max-width: none;
    width: 100%;
}

.schedule-row.course-session-row {
    display: block;
}

.course-item .course-info-area .schedule-row .date,
.course-item .course-info-area .course-location-line strong {
    color: #5f5f5f;
    font-weight: 600;
}

.schedule-row.course-session-row + .course-session-row {
    margin-top: 12px;
}

.course-item .course-info-area .course-location-details {
    color: #5f5f5f;
    line-height: 20px;
    margin-top: 0;
}

.course-location-line + .course-location-line {
    margin-top: 12px;
}

.course-item .course-info-area .address-name,
.course-item .course-info-area .schedule-heading {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.course-item .address-name {
    margin-bottom: 14px;
}

.course-item .course-date-container .schedule {
    height: auto;
    margin-top: 14px;
}

.course-item .course-info-area .get-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin-top: 8px;
    color: #5f5f5f;
    font-weight: 400;
    text-decoration: none;
    border-radius: 4px;
    transition: none;
}

.course-item .course-info-area .get-directions-btn:hover span,
.course-item .course-info-area .get-directions-btn:focus-visible span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.course-item .course-info-area .get-directions-btn:focus-visible {
    outline: 2px solid #0b2838;
    outline-offset: 4px;
}

@media screen and (min-width: 768px) {
    .course-item .course-info-area .course-card-top-left {
        padding-top: 15px;
    }

    .course-item .course-info-area .course-select-btn-ctn {
        justify-content: flex-start;
    }

    .course-item .course-card-top-left,
    .course-item .course-date-container {
        padding-right: 20px;
    }

    .course-item .item-container {
        max-width: none;
    }

    .course-item .course-date-container {
        min-width: 0;
        min-height: 0;
        border-bottom: 0;
    }
}

.full-course * {
    color: #cccccc !important;
}


@media screen and (max-width: 767px) {
    .flex-v-center {
        justify-content: center;
    }

    .sm-margin-vertical-s {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .item-container {
        margin-bottom: 10px;
        max-width: 400px;
        width: 100%;
        justify-content: left;
        min-height: unset;
    }

    .course-item {
        /*padding: 20px 20px;*/
    }

    .course-options {
        justify-content: center;
        flex-wrap: wrap;
        /*margin-top: 10px;*/
        padding: 20px 24px 24px;
        border-radius: 16px;
    }

    hr {
        margin: 0 20px;
    }

    .course-info-area {
        grid-template-columns: 1fr;
        grid-template-areas:
            "a"
            "b"
            "d"
            "c";
        row-gap: 0px;
    }

    .course-info-area .course-card-top-left {
        width: 100%;
    }

    .course-info-area .item-container {
        max-width: unset;
        width: 100%;
    }

    .course-info-area> :nth-child(-n + 3) {
        border-bottom: unset;
        min-height: unset;
    }

    .course-info-area .mobile-ctns {
        border-bottom: 1px solid #EFEFEF;
        padding-bottom: 14px;
        margin-bottom: 14px;
    }

    .course-info-area>* {
        height: auto;
        padding-top: 0px;
    }

    .course-info-area .course-type {
        font-size: 15px;
        font-weight: 400;
    }

    .course-info-area .external-id {
        font-size: 12px;
        line-height: 1.3;
        margin-top: 8px;
    }

    .course-info-area .course-date,
    .course-info-area .schedule-heading {
        font-size: 22px;
        line-height: 1.15;
        font-weight: 400;
    }

    .course-info-area .course-date-container {
        width: 100%;
        padding-top: 0;
    }

    .course-info-area .schedule {
        max-width: unset;
        width: 100%;
        font-size: 13px;
        line-height: 1.45;
    }

    .schedule-row + .schedule-row {
        margin-top: 8px;
    }

    .schedule .date {
        color: #303030;
    }

    .schedule .locale {
        color: #5f5f5f;
        margin-top: 2px;
    }

    .course-item .course-info-area .address-name,
    .course-item .course-info-area .schedule-heading {
        font-size: 14px;
        line-height: 1.15;
        font-weight: 700;
    }

    .course-info-area .item-container {
        margin-top: 0;
        padding: 0 0 14px;
    }

    .course-info-area .address {
        font-size: 13px;
        line-height: 1.45;
        font-weight: 400;
        margin-top: 6px;
    }

    .course-info-area .get-directions-btn {
        width: auto;
        max-width: none;
        font-size: 13px;
        line-height: 1.3;
        margin-top: 6px;
    }

    .course-info-area .course-select-btn-ctn {
        width: 100%;
        max-width: unset;
        align-items: center;
        padding-top: 0;
    }

    .course-info-area .course-btn-with-price {
        align-items: center;
        width: min(100%, 382px);
        margin-left: auto;
        margin-right: auto;
    }

    .course-info-area .course-select-btn.confirm-btn {
        width: 100%;
        max-width: none;
        min-height: 56px;
        font-size: 15px;
        margin: 0 0 14px;
    }

    .course-info-area .price-text {
        font-size: 12px;
        line-height: 1.2;
        margin: 0;
    }
}

@media screen and (max-width: 479px) {
    .filter-bar-input {
        width: 100%;
    }

    .item-container {
        max-width: 100%;
    }
}

/* Keep the seasonal tag alongside the date, before the card's action column. */
.course-date-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}

/* Seasonal label follows the Salesforce session, not the displayed course dates. */
.course-card-top-left .winter-break-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    flex: none;
    border: 1px solid #cae8ef;
    box-shadow: 0 0 6px rgba(84, 204, 234, .18), 0 0 14px rgba(84, 204, 234, .14);
    border-radius: 6px;
    background: #eaf8fc;
    color: #163a48;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.course-card-top-left .winter-break-badge.hidden {
    display: none;
}

.winter-break-badge .winter-break-icon {
    width: 16px;
    height: 16px;
    flex: none;
    color: #42879a;
}
