.calendar {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.calendar .card {
    border-radius: 40px !important;
    margin: 0;
}

.calendar .card:after {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    border-radius: 40px;
    width: 100%;
    height: 100%;
    border: 2px solid #0a9396;
    z-index: -1;
}

.calendar .calendar-strip {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0;
    /*border-bottom: 1px solid #dbdada;*/
}

.calendar .calendar-strip .instance {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    cursor: pointer;
    padding: 40px 30px;
    width: 14.285%;
    border: solid #dddbdb;
    border-width: 0 1px 1px 0;
    position: relative;
}

.calendar .calendar-strip .instance:first-child {
    border-top-left-radius: 40px;
}


.calendar .calendar-strip .instance:nth-child(7) {
    border-top-right-radius: 40px;
}

.calendar .calendar-strip .instance:nth-child(7n) {
    border-right: 0;
}

.calendar .calendar-strip .instance .day {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.calendar .calendar-strip .instance .date {
    display: flex;
    font-size: 16px;
    font-weight: 400;
}

.calendar .calendar-strip .instance .marker {
    height: 6px;
    width: 31px;
    background: #dddbdb;
    border-radius: 10px;
    position: absolute;
    top: 105px;
}

.calendar .calendar-strip .instance .marker.has-slots {
    background: #6bde6b;
}

.calendar .calendar-strip .instance .marker.no-slots {
    background: #ea7878;
}

.calendar .calendar-strip .instance:hover {
    background: #e5e5e5;
}

.calendar .calendar-strip .instance.active {
    background: #7BAE35;
    color: white;
}

.calendar .selector {
    display: none;
    justify-content: center;
    padding: 40px 0;
    font-size: 20px;
    background: #7BAE35;
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.calendar .selector .date {
    margin: 0 20px;
    font-weight: 500;
    cursor: default;
    min-width: 300px;
    text-align: center;

}

.calendar .selector .prev, .calendar .selector .next {
    cursor: pointer;
}

.calendar .selector .prev.disabled, .calendar .selector .next.disabled {
    cursor: no-drop;
    color: #b3b3b3;
}

.calendar .slots-list {
    padding: 30px;
    /*min-height: 460px;*/
}

.calendar .slots-list .no-slots {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-weight: 300;
    width: 100%;
    border-radius: 10px;
}

.calendar .slots-list .no-slots img {
    max-height: 50px;
    margin: 10px;
}

.calendar .slots-list .no-slots span {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
}

.calendar .slots-list .time {
    margin-bottom: 30px;

}

.calendar .slots-list .hour {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.calendar .slots-list .page {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.calendar .slots-list .instance {
    padding: 12px 20px 12px 20px;
    border: 1px solid #dddbdb;
    margin: 10px;
    font-size: 18px;
    cursor: pointer;
    width: 151px;
    justify-content: center;
    text-align: center;
    border-radius: 50px;
    position: relative;
}

.calendar .slots-list .instance:hover {
    background-color: #e5e5e5;
}


@media (max-width: 972px) {

    .calendar .selector {
        display: flex;
    }

    .calendar .calendar-strip {
        display: none;
    }
}

.calendar .slots-list .instance .location {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #7BAE35;
}


@media (max-width: 480px) {

    .calendar .slots-list .instance {
        width: 124px;
        font-size: 16px;
        margin: 5px;
    }

    .calendar .slots-list {
        padding: 10px;
    }

}

@media (max-width: 580px) {
    .calendar .selector .date {
        min-width: 190px;
        margin: 0 10px;
    }
}