.cw2-schedule-api .heading-section {
    padding: 52px 0 0 !important;
    text-align: center;
}

.cw2-schedule-api .heading-section .title {
    margin-bottom: 7px;
    font-size: 40px;
    line-height: 1.1;
}

.cw2-schedule-api .heading-section .description {
    max-width: 975px;
    margin: 0 auto;
    padding-bottom: 53px;
    font-size: 20px;
    line-height: 1.3;
}

.cw2-schedule-api .heading-section .tabs {
    flex: 1;
    display: flex;
    margin: 0 -13px;
    padding: 0;
}

.cw2-schedule-api .heading-section .tabs li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    height: 95px;
    margin: 0 13px;
    padding: 0 10px;
    background-color: #fafafa;
    cursor: pointer;
    border-bottom: 1px solid #f3f3f3;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease;
    color: #919296;
}

.cw2-schedule-api .heading-section .tabs li:hover,
.cw2-schedule-api .heading-section .tabs li.active {
    background-color: #fff;
    border-bottom-color: transparent;
    color: #071e3f;
}

.cw2-schedule-api .tabs-content {
    padding-top: 51px;
}

.cw2-schedule-api .tabs-content .tab.hidden {
    display: none;
}

.cw2-schedule-api table thead th,
.cw2-schedule-api table tbody td {
    text-align: center;
}

.cw2-schedule-api table .time {
    width: 111px;
}

.cw2-schedule-api table .frequency {
    width: 150px;
}

.cw2-schedule-api table .seats {
    width: 140px;
}

.cw2-schedule-api table tbody {
    font-weight: 400;
}

.cw2-schedule-api table tbody td {
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: middle;
}

.cw2-schedule-api table tbody td.time {
    text-align: center;
    font-size: 18px;
}

.cw2-schedule-api table tbody td.time span {
    display: block;
    font-size: 40px;
    font-weight: 700;
}

.cw2-schedule-api table tbody td.course {
    text-align: left;
}

.cw2-schedule-api table tbody td.course .title {
    margin-bottom: 11px;
    font-size: 26px;
    font-weight: 700;
}

.cw2-schedule-api table tbody td.course .info {
    display: flex;
    align-items: center;
}

.cw2-schedule-api table tbody td.course .info .icon {
    margin-right: 9px;
}

.cw2-schedule-api table tbody td.course .info + .info {
    margin-top:5px;
}

.cw2-schedule-api table tbody td.course .course-end-date {
    font-style:italic;
}

.cw2-schedule-api table tbody td.course .course-end-date b {
    margin-left:2px;
    text-transform:uppercase;
}

.cw2-schedule-api table tbody td.seats {
    font-size: 32px;
    font-weight: 700;
}

.cw2-schedule-api table tbody td.seats.gray {
    color: #a8a8a8;
}

.cw2-schedule-api .tab-2 .items {
    list-style: none;
    padding: 0;
}

.cw2-schedule-api .tab-2 .items .item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf4f5;
    background: #fff;
}

.cw2-schedule-api .tab-2 .items .item .date {
    width: 93px;
    flex: 0 0 93px;
    margin-right: 28px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.cw2-schedule-api .tab-2 .items .item .date span {
    display: block;
    font-size: 42px;
    line-height: 0.7;
}

.cw2-schedule-api .tab-2 .items .item .text {
    flex: 1;
}

.cw2-schedule-api .tab-2 .items .item .text .title {
    font-weight: bold;
    font-size: 22px;
}

.cw2-schedule-api .tab-2 .items .item .text .description:not(.visible) {
    visibility: hidden;
}

.cw2-schedule-api .tab-2 .items .item .buttons {
    margin-left: 15px;
}

.cw2-schedule-api .tab-2 .items .item .buttons .btn {
    min-width: 134px;
    padding-top: 10px;
    padding-bottom: 9px;
    color: #071e3f;
}

.cw2-schedule-api .pace-select {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0;
    padding: 10px;
    background-color: #fafafa;
    font-size: 13px;
    text-transform: uppercase;
}

.cw2-schedule-api .pace-select .label,
.cw2-schedule-api .pace-select .select {
    margin: 0 5px;
}

.cw2-schedule-api .pace-select select {
    padding: 4px 30px 4px 8px !important;
    border: 1px solid #fdc743;
    font-size: 16px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAGBAMAAADnHHnLAAAAKlBMVEUAAAD9x0P9x0P9x0P9x0P9x0P9x0P9x0P9x0P9x0P9x0P9x0P9x0P9x0M790uXAAAADXRSTlMAs9IPCsHAoaCJiBgXe+dY3QAAACtJREFUCNdjWHsXCCYwcADJ6wwMDLJ37woAKbe7Vx2AFLOuMgMIHNzAwAAAgFcOC9Dc/rgAAAAASUVORK5CYII=') no-repeat calc(100% - 10px) center !important;
    background-size: unset !important;
}

.cw2-schedule-api.with-pace-select .tabs-content {
    padding-top: 0;
}

.cw2-schedule-api.with-pace-select table.table-1 thead th {
    background-color: transparent;
}

.cw2-schedule-api.with-pace-select table thead th.course,
.cw2-schedule-api.with-pace-select table thead th.frequency {
    text-align: left;
}

.cw2-schedule-api.with-pace-select table tbody td.frequency {
    text-align: left;
}

.cw2-schedule-api .mobile-only-visible {
    display:none;
}

@media screen and (max-width: 991px) {
    .cw2-schedule-api span.mobile-only-visible {
        display:inline;
    }

    .cw2-schedule-api table {
        display:block;
        width:100%;
        min-width:unset;
    }

    .cw2-schedule-api table thead {
        display:block;
        width:100%;
    }

    .cw2-schedule-api table thead tr {
        display:flex;
        align-items:center;
        grid-template-columns:auto 1fr;
        width:100%;
        box-sizing: border-box;
        padding-bottom:0;
        border-bottom:1px solid #ddd;
    }

    .cw2-schedule-api table thead th {
        border-bottom:none;
    }

    .cw2-schedule-api table thead th.time {
        grid-column:1;
    }

    .cw2-schedule-api table thead th.course {
        grid-column:2;
        width:100%;
        box-sizing:border-box;
        text-align:left;
    }

    .cw2-schedule-api table thead th.frequency,
    .cw2-schedule-api table thead th.seats,
    .cw2-schedule-api table thead th.button {
        display:none;
    }

    .cw2-schedule-api table tbody {
        display:block;
        width:100%;
    }

    .cw2-schedule-api table tr {
        display:grid;
        grid-template-columns:auto 1fr;
        width:100%;
        box-sizing:border-box;
        padding-top:20px;
        padding-bottom:20px;
    }

    .cw2-schedule-api table tr.loader td {
        text-align:center;
    }

    .cw2-schedule-api table tbody td {
        padding-top:0;
        padding-bottom:0;
        text-align:left;
        border-bottom:none;
    }

    .cw2-schedule-api table tbody td.text-bold {
        font-weight:normal !important;
    }

    .cw2-schedule-api table tbody td.time {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cw2-schedule-api table .time {
        width:111px;
        flex:0 0 111px;
    }

    .cw2-schedule-api table tbody td.frequency,
    .cw2-schedule-api table tbody td.seats {
        display:flex !important;
        margin-top:5px;
    }

    .cw2-schedule-api table tbody td.frequency .icon,
    .cw2-schedule-api table tbody td.seats .icon {
        margin-right:10px;
    }

    .cw2-schedule-api table tbody td.seats {
        font-size:18px;
        font-weight:normal;
    }

    .cw2-schedule-api table tr .time {
        grid-column:1;
        grid-row:1 / span 4;
    }

    .cw2-schedule-api table tr td:not(.time) {
        grid-column:2;
        display:block;
        width:100%;
        box-sizing:border-box;
    }

    .cw2-schedule-api table tbody td.button {
        margin-top:20px;
    }
}

@media screen and (max-width: 640px) {
    .cw2-schedule-api .pace-select {
        display: block;
        text-align: center;
    }

    .cw2-schedule-api .pace-select .label {
        margin-bottom: 5px;
    }

    .cw2-schedule-api .tab-2 .items .item {
        display: block;
    }

    .cw2-schedule-api .tab-2 .items .item .buttons {
        margin-left: 0;
        margin-top: 15px;
    }

    .cw2-schedule-api table .time {
        width:70px;
        flex:0 0 70px;
    }
}
