.schedule_list_time_container,
.itc-select {
    position: relative;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 16px;
}

.itc-select__toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: left;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-size: 18px;
    position: relative;
    color: #777;
    border: 1px solid var(--umc-border-color);
    padding: 8px 32px 8px 12px;
}

.itc-select__toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%); /* Корректируем, чтобы элемент был точно по центру */
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='matrix(.70907 .70514 -.70907 .70514 0 2)' stroke='%23000' stroke-width='2' d='M0-1h8.505'/%3E%3Cpath transform='matrix(.70907 -.70514 .70907 .70514 5.97 8)' stroke='%23000' stroke-width='2' d='M0-1h8.505'/%3E%3C/svg%3E");
    -webkit-transition: -webkit-transform .5s ease-in-out;
    transition: -webkit-transform .5s ease-in-out;
    -o-transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out, -webkit-transform .5s ease-in-out;
}
.itc-select_show .itc-select__toggle::before {
    -webkit-transform: translateY(-50%) rotate(180deg);
        -ms-transform: translateY(-50%) rotate(180deg);
            transform: translateY(-50%) rotate(180deg);
    -webkit-transform-origin: center;
        -ms-transform-origin: center;
            transform-origin: center; /* Центр вращения элемента */
}

.itc-select__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 2;
    background-color: white;
    width: 100%;
    border-radius: 8px;
    visibility: hidden;
    border: 1px solid var(--umc-border-color);
    /*box-shadow: 0px 0px 12px 0px var(--umc-border-color);*/
    -webkit-transition: .33s;
    -o-transition: .33s;
    transition: .33s;
    max-height: 0px;
}

.itc-select__dropdown ul {
    -webkit-transition: .33s;
    -o-transition: .33s;
    transition: .33s;
    overflow: hidden;
    border-radius: 8px;
    max-height: 0px;
    margin: 0;
    padding: 0;
}

.custom_select.active:not(.loaded) .itc-select__dropdown,
.itc-select_show .itc-select__dropdown {
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    visibility: visible;
    max-height: 220.5px;
}


.custom_select.active:not(.loaded) .itc-select__dropdown ul,
.itc-select_show .itc-select__dropdown ul {
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    overflow: auto;
    max-height: 220.5px;
}

.schedule_list .itc-select__dropdown {
    top: auto;
    bottom: calc(100% + -30px);
}

.schedule_list_time,
.schedule_list_date {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
    row-gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    max-height: 124px;
}

.schedule_list_time span,
.schedule_list_date span {
    border-radius: 8px;
    border: 1px solid var(--umc-border-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 2px;
    color: #777;
    padding: 8px 12px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    min-width: 100px;
    line-height: 1.5;
    font-size: 1rem;
}

.schedule_list_time span.active,
.schedule_list_date span.active {
    background: var(--umc-main-color);
    color: white;
}

.itc-select__options {
    display: grid;
    grid-template-columns: 1fr;
}

.itc-select__option {
    text-align: center;
    padding: 12px;
    cursor: pointer;
    color: var(--umc-main-color);
    font-size: 15px;
}

.itc-select__option_selected {
    background: var(--umc-main-color);
    color: white;
}

.itc-select__option:hover {
    background-color: var(--umc-second-color);
    color: white;
}

.itc-select__option.itc-select__option_selected:hover {
    background: var(--umc-main-color);
    color: white;
}

.itc-select-title {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-size: 20px;
    color: #777;
}

.itc-select-title span {
    position: relative;
}

.itc-select-title span::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--umc-main-color);
    border-radius: 50px;
}

.form_exchange {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3003;
    background: rgba(85, 85, 85, 0.3);
    width: 100%;
    height: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.form_exchange a {
    text-decoration: none;
}

.form_exchange_padding {
    width: 92.5%;
    /* max-height: 80vh; */
    max-width: 840px;
    background: white;
    padding: 32px 12px 24px 24px;
    position: relative;
    border-radius: 8px;
    /* overflow-x: hidden;
    overflow-y: auto; */
}

.form_exchange.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.form_exchange_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    position: relative;
    padding-right: 12px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow: hidden;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}

.form_exchange_fields {
    display: grid;
    gap: 12px;
}

.form_exchange_field_title {
    color: #777;
    font-size: 18px;
}

.form_exchange_field_text {
    color: #777;
    font-size: 16px;
}

.form_exchange_field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
    gap: 6px;
}

.form_exchange_step {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    width: 100%;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}

.form_exchange_select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 16px;
}

.form_exchange_select_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form_exchange_button_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.form_exchange_button:hover,
.form_exchange_button {
    padding: 12px 16px;
    background: var(--umc-main-color);
    color: white;
    border-radius: 8px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    cursor: pointer;
}

.form_exchange_button {
    font-size: 18px;
    margin-top: auto;
}

.form_exchange_button_container .form_exchange_button {
    width: 50%;
}

.close_close {
    cursor: pointer;
    top: 0px;
    right: 12px;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 21px;
    height: 21px;
    z-index: 2;
    background: white;
}

.close_close::before {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    content: "";
    width: 21px;
    height: 21px;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='21' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000' d='M0 10.5h21M10.5 21V0'/%3E%3C/svg%3E");
}

.loaded.form_exchange_button span {
    opacity: 0;
}

.loaded.form_exchange_button,
.loaded.custom_select .itc-select-title,
.loaded.custom_select .itc-select__toggle {
    background: rgb(234, 240, 242);
    color: rgb(234, 240, 242);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: none;
}

.loaded.form_exchange_button::after,
.loaded.custom_select .itc-select-title::after,
.loaded.custom_select .itc-select__toggle::after {
    content: "";
    display: block;
    width: 20px;
    height: 200px;
    margin-left: 50px;
    background: #fff;
    background: -webkit-gradient(linear,
    left top, left bottom,
    from(rgba(255, 255, 255, 0.5)),
    color-stop(50%, rgba(255, 255, 255, 1)),
    to(rgba(255, 255, 255, 0.5)));
    background: -o-linear-gradient(top,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.5) 100%);
    background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.5) 100%);
    left: -40px;
    top: -100px;
    z-index: 1;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    position: absolute;
    -webkit-animation: movingFlare 2s ease-in-out 0.05s infinite;
            animation: movingFlare 2s ease-in-out 0.05s infinite;
}

@-webkit-keyframes movingFlare {
    0% {
        left: -30px;
        margin-left: 0px;
    }

    80% {
        left: 100%;
        margin-left: 80px;
    }

    100% {
        left: 100%;
        margin-left: 80px;
    }
}

@keyframes movingFlare {
    0% {
        left: -30px;
        margin-left: 0px;
    }

    80% {
        left: 100%;
        margin-left: 80px;
    }

    100% {
        left: 100%;
        margin-left: 80px;
    }
}

.loaded.custom_select .itc-select-title {
    height: 23px;
}

.loaded.custom_select .itc-select__toggle {
    border: none;
    height: 40px;
}

.loaded.custom_select .itc-select__toggle::before {
    width: 0;
    height: 0;
}

.form_exchange_title {
    color: #777;
    font-size: 24px;
}

.form_exchange_error,
.form_exchange_complite {
    color: #777;
    font-size: 20px;
    gap: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.form_exchange_complite::before {
    content: "";
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='30' height='30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='matrix(.7071 .7071 -.71102 .70317 8 15)' stroke='%2300BE13' stroke-width='2' d='M0-1h8'/%3E%3Cpath transform='matrix(.70215 -.71203 .71591 .69819 14 20.968)' stroke='%2300BE13' stroke-width='2' d='M0-1h14'/%3E%3Ccircle cx='15' cy='15' r='14.4' stroke='%2300BE13' stroke-width='1.2'/%3E%3C/svg%3E");
}

.form_exchange_error::before {
    content: "";
    width: 31px;
    height: 31px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='31' height='31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.085 15.768c0 7.91-6.413 14.323-14.322 14.323-7.91 0-14.322-6.413-14.322-14.324 0-7.91 6.412-14.323 14.322-14.323 7.91 0 14.322 6.413 14.322 14.323z' stroke='%23BE0000' stroke-width='1.2'/%3E%3Cpath fill='%23BE0000' d='M7.825 22.748l14.92-14.922 1.27 1.27-14.92 14.922z'/%3E%3Cpath fill='%23BE0000' d='M22.746 24.018L7.824 9.094l1.27-1.27 14.922 14.924z'/%3E%3C/svg%3E");
}

.form_exchange_step .form_exchange_errors {
    position: absolute;
    top: -500px;
    left: 50%;
    -webkit-transform: translate(-50%);
        -ms-transform: translate(-50%);
            transform: translate(-50%);
    background: #BE0000;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    padding: 8px 12px;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.form_exchange_step .form_exchange_errors.active {
    top: 0;
}

.form_exchange_step[data-step='2'],
.form_exchange_step[data-step='3'],
.form_exchange_step[data-step='4'],
.form_exchange_step[data-step='5'] {
    position: absolute;
    -webkit-transform: translate(125%);
        -ms-transform: translate(125%);
            transform: translate(125%);
    visibility: hidden;
}

.form_exchange[data-step='2'] .form_exchange_step[data-step='1'],
.form_exchange[data-step='3'] .form_exchange_step[data-step='1'],
.form_exchange[data-step='3'] .form_exchange_step[data-step='2'],
.form_exchange[data-step='4'] .form_exchange_step[data-step='1'],
.form_exchange[data-step='4'] .form_exchange_step[data-step='2'],
.form_exchange[data-step='4'] .form_exchange_step[data-step='3'],
.form_exchange[data-step='5'] .form_exchange_step[data-step='1'],
.form_exchange[data-step='5'] .form_exchange_step[data-step='2'],
.form_exchange[data-step='5'] .form_exchange_step[data-step='3'],
.form_exchange[data-step='5'] .form_exchange_step[data-step='4'] {
    -webkit-transform: translate(-125%);
        -ms-transform: translate(-125%);
            transform: translate(-125%);
    width: 90%;
}

.form_exchange[data-step='2'] .form_exchange_step[data-step='2'],
.form_exchange[data-step='3'] .form_exchange_step[data-step='3'],
.form_exchange[data-step='4'] .form_exchange_step[data-step='4'],
.form_exchange[data-step='5'] .form_exchange_step[data-step='5'] {
    -webkit-transform: translate(0);
        -ms-transform: translate(0);
            transform: translate(0);
    visibility: visible;
    position: relative;
}

.form_exchange[data-step='2'] .form_exchange_step[data-step='1'],
.form_exchange[data-step='3'] .form_exchange_step[data-step='1'],
.form_exchange[data-step='4'] .form_exchange_step[data-step='1'],
.form_exchange[data-step='5'] .form_exchange_step[data-step='1'] {
    position: absolute;
}

.form_exchange_step[data-step='1'] .form_exchange_select_container {
    grid-template-columns: 1fr;
}

.form_exchange_input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-size: 18px;
    position: relative;
    color: #777;
    border: 1px solid var(--umc-border-color);
    padding: 8px 32px 8px 12px !important;
}

.form_exchange_input.error {
    border-color: red;
}

.form_exchange_input:focus-visible {
    outline: none
}

.hidden {
    display: none !important;
}


.calendar-wrapper a {
    text-decoration: none;
}

.calendar-wrapper {
    width: 360px;
    margin: 3em auto;
    padding: 2em;
    border: 1px solid #dcdcff;
    border-radius: 5px;
    background: #fff;
}

.calendar-wrapper table {
    clear: both;
    width: 100%;
    border: 1px solid #dcdcff;
    border-radius: 3px;
    border-collapse: collapse;
    color: #444;
}

.calendar-wrapper td {
    height: 48px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #dcdcff;
    border-top: 1px solid #dcdcff;
    width: 14.28571429%;
}

.calendar-wrapper td.not-current {
    color: #c0c0c0;
}

.calendar-wrapper td.today {
    font-weight: 700;
    color: #28283b;
    font-size: 1.5em;
}

.calendar-wrapper thead td {
    border: none;
    color: #28283b;
    text-transform: uppercase;
    font-size: 1.5em;
}

#calendar_btnPrev {
    float: left;
    margin-bottom: 20px;
}

#calendar_btnPrev:before {
    content: '\f104';
    font-family: FontAwesome;
    padding-right: 4px;
}

#calendar_btnNext {
    float: right;
    margin-bottom: 20px;
}

#calendar_btnNext:after {
    content: '\f105';
    font-family: FontAwesome;
    padding-left: 4px;
}

#calendar_btnPrev:hover,
#calendar_btnNext:hover {
    color: #28283b;
    font-weight: bold;
}

.preloader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 32px;
}

.preloader svg {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    -webkit-animation: preloader 3s ease-in-out 0.05s infinite;
            animation: preloader 3s ease-in-out 0.05s infinite;
}

.loading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

@-webkit-keyframes preloader {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

@keyframes preloader {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

.nav_top {
    width: 12.5%;
    height: 25%;
    background: white;
    position: absolute;
    top: -1px;
    right: 6px;
}

.nav_bottom {
    width: 12.5%;
    height: 25%;
    background: white;
    position: absolute;
    bottom: -1px;
    right: 6px;
}

@media (max-width:768px) {
    .itc-select__dropdown {
        position: relative;
    }

    .form_exchange_select_container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form_exchange_select {
        gap: 12px;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 60vh;
    }

    .form_exchange_title {
        font-size: 20px;
    }

    .form_exchange_error,
    .form_exchange_complite,
    .itc-select-title {
        font-size: 18px;
    }

    .form_exchange_input,
    .form_exchange_button,
    .itc-select__toggle {
        font-size: 16px;
    }

    .form_exchange_step[data-step='2'] .form_exchange_errors,
    .itc-select__option {
        font-size: 14px;
    }

    .schedule_list_time,
    .schedule_list_date {
        max-height: none;
    }
}
.widget_umc{
    --umc-border-color: #045C017F;
    --umc-main-color: #87bf17;
    --umc-second-color: #267b57;
}

.widget_umc{
    font-family: var(--umc-font);
}

.widget_umc input, .widget_umc textarea, .widget_umc select{
    font-family: var(--umc-font);
}


.zapis {
    -webkit-animation: shadow-pulse 1.5s infinite;
            animation: shadow-pulse 1.5s infinite;
}
.zapis:hover {
    -webkit-animation: none;
}

@-webkit-keyframes shadow-pulse
{
    0% {
        -webkit-box-shadow: 0 0 0 0px rgba(0, 184, 217, 0.4);
                box-shadow: 0 0 0 0px rgba(0, 184, 217, 0.4);
    }
    100% {
        -webkit-box-shadow: 0 0 7px 25px rgba(0, 184, 217, 0);
                box-shadow: 0 0 7px 25px rgba(0, 184, 217, 0);
    }
}

@keyframes shadow-pulse
{
    0% {
        -webkit-box-shadow: 0 0 0 0px rgba(0, 184, 217, 0.4);
                box-shadow: 0 0 0 0px rgba(0, 184, 217, 0.4);
    }
    100% {
        -webkit-box-shadow: 0 0 7px 25px rgba(0, 184, 217, 0);
                box-shadow: 0 0 7px 25px rgba(0, 184, 217, 0);
    }
}
