

#myc-container {
  width: inherit;
}

#myc-nav-container {
    margin-bottom: 15px;
    width: inherit;
}

#myc-current-month-year-container {
    display: inline-block;
    font-size: 1.2em;
    font-weight: lighter;
    text-align: center;
    text-transform: capitalize;
    vertical-align: top;
    width: 84%;
}

#myc-prev-week-container {
    display: inline-block;
    width: 7%;
}

#myc-next-week-container {
    display: inline-block;
    width: 5%;
}

#right {
    float: right;
    padding-top: 5px;
}

#left {
    float: left;
    padding-top: 5px;
}

#myc-prev-week {
    border: 1px solid #e0e0e0;
    border-radius: 80px;
    color: #e0e0e0;
    cursor: pointer;
    float: left;
    font-size: 1.55em;
    font-weight: lighter;
    height: 40px;
    text-align: center;
    width: 40px;
}

#myc-next-week {
    border: 1px solid #e0e0e0;
    border-radius: 80px;
    color: #e0e0e0;
    cursor: pointer;
    float: right;
    font-size: 1.55em;
    font-weight: lighter;
    height: 40px;
    text-align: center;
    width: 40px;
}

    #myc-prev-week:hover, #myc-next-week:hover {
        border: 1px solid #bdbdbd;
        color: #bdbdbd;
    }

#myc-week-container {
    border: 1px solid #e0e0e0;
    overflow: auto;
}

#myc-dates-container {
    background-color: #fafafa;
    display: flex;
}

.myc-date-header {
    border-right: 1px solid #e0e0e0;
    min-height: 50px;
    padding: 15px 0px 15px 15px;
    vertical-align: top;
    width: 8.4vw;
    min-width: 157px;
}

    .myc-date-header:first-of-type {
        padding-left: 15px;
    }

    .myc-date-header:last-of-type {
        border-right: none;
        width: 13%;
    }

#myc-available-time-container {
    border-top: 1px solid #e0e0e0;
    height: 510px;
    display: flex;
}

.myc-available {
    padding: 15px 15px 15px 15px;
    border-right: 1px solid #e0e0e0;
}

    .myc-available:nth-child(odd) {
        background-color: #ebebeb;
    }

    .myc-available:nth-child(even) {
        background-color: #f8f8f8;
    }

.myc-day-time-container {
    display: inline-block;
    height: 100%;
    vertical-align: top;
    width: 8.4vw;
    min-width: 157px;
}

    .myc-day-time-container:last-of-type {
        border-right: none;
        width: 13.77%;
    }

.myc-date-number {
    font-size: 1.2em;
    font-weight: lighter;
}

.myc-available-time {
    border-radius: 7px;
    color: #ffffff;
    display: block;
    text-align: center;
    padding: 1.7vh;
    white-space: nowrap;
}

.available {
    background-color: #309012;
}

.booked {
    background-color: #e7e715;
}

.notavailable {
    background-color: gray;
}

.myc-available-time.selected {
    background-color: gray;
}

.myc-available-time:hover {
    /* background-color: #29b6f6; */
    background-color: gray;
}

.alreadySelected {
    background-color: gray;
}

.myc-date-display {
    font-weight: lighter;
}

@media only screen and (max-width: 768px) {
    .myc-date-header, .myc-day-time-container {
        width: 13.5%;
    }
    /*.myc-date-header:last-of-type, .myc-day-time-container:last-of-type {
        width: 12%;
    }*/
}


.noVisible {
    display: none;
}

.cancelBtn {
    margin-top: 25px;
    cursor: pointer;
    padding: 5px;
}


/*Model Popup*/

.modal {
    position: absolute;
    z-index: 10000; /* 1 */
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
}


.modal-toggle {
    cursor: pointer;
}

.modal.is-visible {
    visibility: visible;
    display: block !important;
}

.modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-wrapper {
    position: absolute;
    z-index: 9999;
    top: 6em;
    left: 50%;
    width: 32em;
    margin-left: -16em;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
}

.modal-transition {
    transition: all 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
}

.modal.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}

.modal-header,
.modal-content {
    padding: 1em;
    text-align: center;
}

  .modal-content button {
    margin-top: 10px;
    margin-right: 15px;
  }

.icsp-grid-button .modal-toggle {
  margin-top: 10px;
  margin-right: 15px;
}


  .modal-header {
    position: relative;
    background-color: #fff;
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
    border-bottom: 1px solid #e8e8e8;
    text-align: center;
  }

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
    color: #aaa;
    background: none;
    border: 0;
}

    .modal-close:hover {
        color: #777;
    }

.modal-heading {
    font-size: 1.125em;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modal-content > *:first-child {
    margin-top: 0;
}

.modal-content > *:last-child {
    margin-bottom: 0;
}
