.cmcc-ui .ui-widget{
    z-index: 999 !important;
}
.cmcc-preload *,
.cmcc-no-animation *{
    transition: none !important;
}
.cmcc {
    margin: 20px 0;
    padding: 0;
    box-sizing: border-box !important;
    width: 100%;
    position: relative;
}
.cmcc * {
    box-sizing: border-box !important;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
}
.cmcc .loading {
    opacity: 0.5;
    cursor: not-allowed;
}
.cmcc .loading * {
    cursor: not-allowed;
}
.cmcc a {
    box-shadow: none;
}
.cmcc h2 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}
.cmcc-text-left {
    text-align: left;
}
.cmcc-text-center {
    text-align: center;
}
.cmcc-text-right {
    text-align: right;
}

/*
 * Content
 */
.cmcc-content {
    min-height: 400px;
}
.cmcc-content .cmcc-loading {
    text-align: center;
}

/* Header */
.cmcc .cmcc-mobile-view-hidden {
    display: flex;
    justify-content: space-between;
}
.cmcc select.cmcc-btn {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}
.cmcc .cmcc-select-month-wrapper,
.cmcc .cmcc-select-year-wrapper {
    position: relative;
    display: inline-block;
}
.cmcc .cmcc-select-month-wrapper::before,
.cmcc .cmcc-select-year-wrapper::before {
    font-family: "dashicons";
    font-size: 15px;
    line-height: 15px;
    color: #656d78;
    position: absolute;
    content: "\f347";
    top: 16px;
    right: 7px;
    cursor: pointer;
}

/* Buttons */
.cmcc .cmcc-btn {
    display: inline-block;
    font-size: 14px;
    line-height: 44px;
    font-weight: normal;
    color: #656d78;
    text-transform: uppercase;
    text-shadow: none;
    text-decoration: none !important;
    height: 46px;
    padding: 0 20px;
    margin: 0 1px;
    border: 2px solid #e6e9ee;
    border-radius: 6px;
    background: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
}
.cmcc .cmcc-btn:hover {
    border: 2px solid #f3892e;
}
.cmcc .cmcc-btn:active {
    position: relative;
    top: 1px;
}
.cmcc .cmcc-btn-selected {
    border: 2px solid #f3892e;
    background: #f3892e;
    color: #fff !important;
}
.cmcc .cmcc-btn-prev,
.cmcc .cmcc-btn-next {
    font-weight: 700;
}

/* Calendar view */
.cmcc-calendar-view .cmcc-month-content {
    width: 100%;
    display: table;
    table-layout: fixed;
    border-spacing: 1px 0.75em;
}
.cmcc-calendar-view .cmcc-month-header {
    margin-top: 30px;
    margin-bottom: 30px;
}
.cmcc-calendar-view .cmcc-monthweek {
    display: table-row;
    width: 100%;
}
.cmcc-calendar-view .cmcc-monthday {
    display: table-cell;
    text-align: center;
    min-height: 1px;
    border-bottom: 1px solid #e6e9ee;
}
.cmcc-calendar-view .cmcc-monthweek:last-child .cmcc-monthday {
    border-bottom: 0;
}
.cmcc-calendar-view .cmcc-day-today .cmcc-monthday-header-date,
.cmcc-calendar-view .cmcc-day-today .cmcc-monthday-header-name {
    font-weight: bold;
}
.cmcc-calendar-view .cmcc-monthday-header {
    line-height: 1.2em;
    padding: 5px 0;
}
.cmcc-calendar-view .cmcc-monthday-header-name {
    font-size: 0.75em;
}
.cmcc-calendar-view .cmcc-monthday-header .cmcc-monthday-header-date {
    color: #656d78;
    font-weight: normal;
    font-size: 14px;
}
.cmcc-calendar-view .cmcc-monthday-header .cmcc-monthday-header-name {
    color: #cfd2d8;
    font-weight: normal;
    font-size: 14px;
}
.cmcc .cmcc-calendar-view .cmcc-course-link {
    width: 100%;
}
.cmcc .cmcc-course-link {
    text-decoration: none !important;
}
.cmcc .cmcc-course-link:focus {
    outline: none;
}
.cmcc .cmcc-course {
    text-align: center;
    height: auto;
    width: 100%;
    padding: 10px;
    z-index: 2;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #fdede0;
    border-radius: 5px;
    background: #fff;
    color: #656d78;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none !important;
}
.cmcc .cmcc-calendar-view .cmcc-course {
    height: 100%;
    padding: 5px;
}
.cmcc .cmcc-course:hover,
.cmcc .cmcc-course:hover .cmcc-course-date {
    color: #fff;
}
.cmcc .cmcc-course:hover {
    background: #f3892e;
}

/* List view */
.cmcc .cmcc-list-view {
    padding: 10px;
}
.cmcc .cmcc-list-view .cmcc-course-link {
    width: 33.3%;
    float: left;
}
.cmcc .cmcc-list-view {
    padding: 15px 0;
}
.cmcc .cmcc-list-view::after {
    content: "";
    clear: both;
    display: block;
}
.cmcc .cmcc-list-view .cmcc-course {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cmcc .cmcc-list-view .cmcc-course-date {
    font-size: 14px;
    color: #cfd2d8;
}
.cmcc .cmcc-list-view .cmcc-no-courses-available {
    text-align: center;
    color: #656d78;
    line-height: 44px;
    font-size: 16px;
}

/* Loading animation */
.cmcc .cmcc-loading {
    margin: 100px auto 0;
    width: 74px;
    text-align: center;
}
.cmcc .cmcc-loading > div {
    width: 20px;
    height: 20px;
    background-color: #b5b8ba;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.2s infinite ease-in-out both;
    animation: bouncedelay 1.2s infinite ease-in-out both;
}
.cmcc .cmcc-loading .bounce1 {
    -webkit-animation-delay: -0.30s;
    animation-delay: -0.30s;
}
.cmcc .cmcc-loading .bounce2 {
    -webkit-animation-delay: -0.15s;
    animation-delay: -0.15s;
}
@-webkit-keyframes bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/* Select Button */
.cmcc .cmcc-select-month,
.cmcc .cmcc-select-year {
    position: relative;
    text-align: left;
}
.cmcc .cmcc-select-month:focus,
.cmcc .cmcc-select-year:focus {
    outline: none;
}

/* Mobile view */
.cmcc-mobile-view .cmcc-mobile-view-hidden,
.cmcc-mobile-view-visible {
    display: none;
}
.cmcc-mobile-view .cmcc-mobile-view-visible {
    display: block;
}
.cmcc-header-mobile-section {
    text-align: center;
    margin: 20px 0;
}
.cmcc-mobile-view .cmcc-mobile-change-date {
    margin: 7px 0 0 0;
}
.cmcc-mobile-view .cmcc-mobile-change-date,
.cmcc-mobile-view .cmcc-mobile-change-view {
    display: flex;
    justify-content: center;
}
.cmcc-mobile-view .cmcc-mobile-change-view > .cmcc-btn {
    width: 50%;
}
.cmcc-mobile-view .cmcc-select-month,
.cmcc-mobile-view .cmcc-select-year {
    top: 0;
}
.cmcc-mobile-view .cmcc-btn {
    padding: 0 7px;
    text-align: center;
}
.cmcc-mobile-view .cmcc-mobile-change-date > a {
    flex-grow: 1;
}
.cmcc-mobile-view .cmcc-mobile-change-date .cmcc-select-month-wrapper {
    flex-grow: 3;
}
.cmcc-mobile-view .cmcc-mobile-change-date .cmcc-select-year-wrapper {
    flex-grow: 2;
}
.cmcc-mobile-view .cmcc-list-view .cmcc-course-link {
    display: inline-block;
    width: 100%;
    margin: 0 0 10px 0;
    float: none;
}
.cmcc-mobile-view .cmcc-monthday {
    display: block;
}
.cmcc-mobile-view .cmcc-monthday-empty {
    display: none;
}
.cmcc-mobile-view .cmcc-list-view {
    padding: 10px 0;
}
.cmcc-mobile-view .cmcc-select-month,
.cmcc-mobile-view .cmcc-select-year {
    width: 100%;
}
.cmcc-mobile-view .cmcc-select-month-wrapper::before,
.cmcc-mobile-view .cmcc-select-year-wrapper::before {
    right: 4px;
}

.cmcc-select-year,
.cmcc-select-month {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}
