.schedules_block {
    margin-bottom: 3rem;
}

/*tabs*/
.schedules_block .nav {
    gap: 1rem 4rem;
}

.schedules_block .nav-link {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--theme-color-grey-middle);
    padding: 0;
    background: transparent;
    border-bottom: 2px dotted transparent;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.schedules_block .nav-link:hover {
    border-color: currentColor;
}

.schedules_block .nav-link.active {
    color: inherit;
    background: transparent;
    border-color: currentColor;
}

/*items*/
.schedules_item {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    padding: 2rem;
    background: rgba(196, 196, 196, 0.15);
    border-radius: 2rem;
}

.schedules_item_top {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    gap: 1rem;
}

.schedules_item_name {
    font-size: 1.2rem;
    font-weight: 400;
}

.schedules_item_duration {
    font-size: 0.8rem;
    color: var(--theme-color-grey-middle);
    margin-top: 0.5rem;
}

.schedules_item_prices {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 400;
}

.schedules_list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
}

.schedules_elem {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: start;
    gap: 1rem;
}

.schedules_elem_time_block {
    display: -webkit-flex;
    display: flex;
    gap: 0.5rem;
    min-width: 14rem;
    padding: 0.5rem  1rem;
    background: #fff;
    border-radius: 1rem;
}

.schedules_elem_time_value {
    font-size: 1.2rem;
    font-weight: 400;
}

.schedules_elem_time_desc {
    font-size: 0.6rem;
    line-height: 1;
    white-space: nowrap;
    color: #8DB7E1;
}

.schedules_elem_time_arrow {
    width: 26px;
    min-width: 26px;
}

.schedules_elem_time_arrow svg {
    width: 100%;
    height: auto;
}

.schedules_elem_desc {
    font-size: 0.8rem;
    padding-top: 0.5rem;
}

@media all and (max-width: 991px){
    .schedules_block .nav {
        gap: 1rem 2rem;
    }
}

@media all and (max-width: 767px){
    .schedules_block .nav {
        gap: 0.5rem 1rem;
    }
}

@media all and (max-width: 575px){
    .schedules_block .nav-link {
        font-size: 1.2rem;
    }

    .schedules_item {
        padding: 1.5rem 0.5rem;
    }

    .schedules_item_top {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .schedules_elem_time_block {
        gap: 0.25rem;
        min-width: unset;
        padding: 0.25rem  0.25rem;
        background: #fff;
        border-radius: 0.5rem;
    }

    .schedules_elem_desc {
        padding-top: 0.25rem;
    }
}

@media all and (max-width: 359px){
    .schedules_elem {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
}