.schedule-section{
    margin-top: 20px;
    margin-bottom: 20px;
}

.schedule-container {
    background: #fafafc;
    padding-left: 20px;
}

.schedule-doctors-info {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-gap: 15px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 0px;
}

@media (max-width: 768px) {
    .schedule-container {
        padding: 0px;
    }
    .schedule-doctors-info {
        padding: 15px;
        background: #fff;
    }
}

.schedule-doctors-image {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background: #F3F3F5;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.schedule-doctors-image .empty{
    align-self: center;
    max-width: 90%;
}

.schedule-doctors-name {
    font-size: 16px;
    margin-bottom: 15px;
}

.schedule-doctors-name a{
    color: inherit;
}

.schedule-doctors-name span{
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.schedule-doctors-detail {
    margin-bottom: 15px;
    font-size: 14px;
}

.schedule-doctors-specialization {
    margin-bottom: 15px;
}

.schedule-doctors-specialization svg {
    vertical-align: baseline;
}

.schedule-doctors-specialization,
.schedule-doctors-specialization a{
    text-decoration: none;
    color: #536666;
}

.schedule-doctors-clinic,
.schedule-doctors-clinic a{
    color: #CC3C35;
}

.schedule-doctors-specialization a:hover, 
.schedule-doctors-clinic a:hover{
    text-decoration: underline;
}

.schedule-doctors-image img {
    object-fit: cover;
    width: 100%;
}

.schedule-doctors {
    width: 100%;
    max-width: 1600px;
}

.schedule-doctors-month {
    border-bottom: 1px solid #61AC81;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fafafc;
    margin-left: -20px;
}

@media (max-width: 768px) {
    .schedule-doctors-month {
        margin-left: 0px;
        padding-left: 0px;
    }
}

.schedule-col {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 16px;
    cursor: pointer;
    position: relative;
    font-size: 12px;
}

.schedule-col:after {
    content: "";
    display: block;
    height: 40px;
    width: 2px;
    background: #f3f3f5;
    position: absolute;
    bottom: 0;
    left: 0;
}

@media(max-width: 768px) {
    .slides-block>div {
        border-left: none;
        min-height: 70px;
        padding: 0px;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .schedule-col:after {
        height: 70px;
    }

    .slides-block>div:first-child:after {
        display: none;
    }

    .slides-block>div:first-child {
        border-left: none;
        min-height: 70px;
    }
}

.schedule-doctors-month-arrow {
    padding-right: 40px;
    align-items: center;
    justify-content: flex-end;
    display: flex;
}

@media (max-width: 768px) {
    .schedule-doctors-month-arrow {
        display: none;
    }
}

.slider-arrows {
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-arrows .slider-arrow {
    position: static;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #F3F3F5;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all .3s;
}

.slider-arrows .slider-arrow-left {
    background-image: url("data:image/svg+xml,%3Csvg width='23' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23536666' stroke-width='2' stroke-linecap='round' d='M22 6H2M6 11L1.455 6 6 1'/%3E%3C/svg%3E");
}

.slider-arrows .slider-arrow-right {
    background-image: url("data:image/svg+xml,%3Csvg width='23' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23536666' stroke-width='2' stroke-linecap='round' d='M1 6h20M17 11l4.546-5L17 1'/%3E%3C/svg%3E");
}

.schedule-doctors-list {
    overflow: hidden;
}

.schedule-doctors-date-item.current {
    color: #61AC81;
}

.schedule-doctors-date-item span {
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    display: block;
}

.schedule-doctors-list-item {
    position: relative;
}

.schedule-doctors-month,
.schedule-doctors-list-item {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
}

.schedule-doctors-month{
    overflow: hidden;
}

.schedule-doctors-list-item{
    grid-template-columns: 340px 1fr;
}

@media (max-width: 768px) {

    .schedule-doctors-month,
    .schedule-doctors-list-item {
        grid-template-columns: 1fr;
    }

    .schedule-doctors-list-item{
        margin-bottom: 40px;
    }

    .schedule-doctors-list-item:last-child{
        margin-bottom: 0px;
    }
}

.schedule-doctors-list-item:after {
    content: "";
    display: block;
    height: 2px;
    width: calc(100% - 80px);
    background: #f3f3f5;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media (max-width: 768px) {
    .schedule-doctors-list-item:after {
        width: 100%;
    }
}

.schedule-doctors-month-times.slides-block,
.schedule-doctors-month-dates.slides-block {
    display: grid;
    grid-template-columns: repeat(29, 187px);
}

@media (max-width: 1200px) {

    .schedule-doctors-month-times.slides-block,
    .schedule-doctors-month-dates.slides-block {
        grid-template-columns: repeat(29, 180px);
    }
}

@media (max-width: 992px) {

    .schedule-doctors-month-times.slides-block,
    .schedule-doctors-month-dates.slides-block {
        grid-template-columns: repeat(29, 150px);
    }
}

@media (max-width: 768px) {

    .schedule-doctors-month-times.slides-block,
    .schedule-doctors-month-dates.slides-block {
        grid-template-columns: repeat(29, 160px);
    }
}

.schedule-doctors-month-times:not(.slides-block){
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 2px solid #f3f3f5;
    padding: 25px;
}

.schedule-time {
    background: #fff;
    border-left: 2px solid #f3f3f5;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    text-align: center;
    transition: all .3s;
    gap: 10px;
}

.schedule-doctors-date-item.hidden,
.schedule-time.hidden {
    display: none;
}

.schedule-time-hover {
    display: none;
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: #fff;
    -webkit-box-shadow: 16px 24px 8px rgba(34, 101, 101, 0.06), 16px 16px 48px rgba(34, 101, 101, 0.2);
    box-shadow: 16px 24px 8px rgba(34, 101, 101, 0.06), 16px 16px 48px rgba(34, 101, 101, 0.2);
    z-index: 3;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 40px 16px 16px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-weight: 700;
    gap: 10px;
}

@media (min-width: 992px) {
    .schedule-time:hover .schedule-time-hover {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

.schedule-time.last {
    color: #A9B8B8;
    background: transparent;
}

.schedule-time button {
    font-size: 14px;
    white-space: nowrap;
    width: 100%;
    padding: 0;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #30915a;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
    border: none;
    -webkit-transition: background-color .3s;
    -o-transition: background-color .3s;
    transition: background-color .3s;
    padding: 6px 10px;
    cursor: pointer;
    text-decoration: none;
}

.slides-block::-webkit-scrollbar {
    width: .5%;
    min-width: 2px;
    height: 2px;
}

.slides-block::-webkit-scrollbar-track {
    background: transparent;
}

.slides-block::-webkit-scrollbar-thumb {
    border-left: 1px solid #F3F3F5;
    background: #536666;
}

@media (max-width: 992px) {
    .slides-block {
        overflow-x: auto;
    }

    .slider-arrows {
        display: none;
    }
}