/*Кастомный скроллбар*/
@media screen and (min-width: 1201px) {
    /* For Chrome, Safari, and Opera */
    ::-webkit-scrollbar-thumb {
        background: #6B6E74;
    }
    
    ::-webkit-scrollbar {
        width: 5px;
        height: 5px;
        background: #212429;
    }
    
    /* For Firefox */
    html {
      scrollbar-color: #6B6E74 #212429;
      scrollbar-width: thin;
    }
}

/*Cтили для модальных окон и попапов*/
.t450.t450__menu_show {
    overflow: auto;
}

@media screen and (max-width: 560px) {
    .t-body_scrollable-fix-for-android.t-body_popupshowed {
        overflow: hidden !important;
    }
}

@media screen and (max-width: 560px) {
    .t702 .t-popup_show .t-popup__container {
        display: flex;
    }
}

.t-popup .t331__youtube {
    overflow: hidden;
}

.t-popup .t331__video-carier {
    max-height: 100vh;
}

.shirina {
    background:none !important;
    right: 0 !important;
    left: 0 !important;
}

.parpadding {
    padding:0 !important;
}

.uc-popup-based .t-popup::after {
    content: '';
    display: block;
    position: fixed;
    /*width: 100vw;*/
    height: 100vh;
	background-color: #fff;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.uc-popup-based .t-popup {
    overflow: hidden !important;
}

.uc-popup-based .t-popup__container {
    display: flex;
    height: 100%;
    align-items: center;
    margin: 0 auto !important;
}

.t-popup__close {
    display: block !important;
}

.uc-popup-overlay .t-popup_show {
	background-color: transparent !important;
}

.uc-popup-overlay .t-popup_show::after {
    content: '';
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
	background-color: rgba(0,0,0,.8);
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	zoom: 20;
}

.arrow-left, .arrow-right {
    cursor: pointer;
}

/*Скругление углов у Lead-баннеров*/
.uc-lead-banner .t396__elem .tn-atom {  
    border-radius: 0px 0px 25px 25px;
    -webkit-border-radius: 0px 0px 25px 25px;
    -moz-border-radius: 0px 0px 25px 25px;  
}

/*Общие стили для слайдеров*/

/* For Chrome, Safari, and Opera */
.custom-slider .t396__artboard::-webkit-scrollbar {
    display: none !important;
    background: transparent;
    width: 0;
    height: 0;
    appearance: none;
    -webkit-appearance: none;
}

.custom-slider .t396__artboard::-webkit-scrollbar-thumb {
    background: transparent;
}

.custom-slider .t396__artboard::-webkit-scrollbar-button {
    background: transparent;
}

/* For Firefox */
.custom-slider .t396__artboard {
    scrollbar-width: none;
    -moz-appearance: none;
}

.custom-slider .t396__artboard {
    max-width: none !important;
    overflow-y: hidden !important;
}

.dragscroll {
    cursor: grabbing;
}

/*Фикс некорректных размеров изображений учреждений в Firefox, Opera*/
.img-zoom .tn-atom__scale-wrapper {
    position: absolute;
    overflow: hidden;
}

.img-zoom:has(.tn-atom__scale-wrapper) {
    overflow: auto;
}

/*Стили для спойлеров*/
.content-accord.time-step, 
.accord-icon { 
    transition: all 0.4s ease-in-out;
}

.content-accord {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
}

.active-accord .accord-icon {
    transform: rotate(45deg);
}

.hide-accord {
    height: 0 !important;
    pointer-events: none !important;
}

.accord {
    cursor: pointer;
}

div[data-tilda-page-id="38631145"] #rec637251439 {
    transition-duration: 1s !important;
}

/*Формы*/
.t-checkbox__indicator {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    width: 20px;
    border: 1px solid #000000;
    box-sizing: border-box;
    margin-right: 10px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    opacity: 1;
    border-color: #cccccc !important;
}

.uc-consult-form .t-checkbox__control a {
    position: relative;
    z-index: 1;
}

.uc-consult-form textarea {
    overscroll-behavior-y: contain;
}

.uc-consult-form .t-checkbox__indicator {
    border-color: #777777 !important;
}

.uc-consult-form .t-input-error:after {
    top: -11px !important;
}
 
#tildaformsuccesspopup {
    z-index: 100000;
}

#tilda-popup-for-error {
    display: none !important;
}

/*Фикс направления появления формы "Задать вопрос"*/
/*@media screen and (max-width: 560px) {*/
    
/*    #rec623192886 .t-popup__container {*/
/*        display: flex;*/
/*        align-items: center;*/
/*        justify-content: center;*/
/*        min-height: 100% !important;*/
/*    }*/
    
/*    #rec623192886 .t-popup__container {*/
/*        -moz-transform: translateY(30%) scale(.9);*/
/*        -webkit-transform: translateY(30%) scale(.9);*/
/*        -o-transform: translateY(30%) scale(.9);*/
/*        transform: translateY(30%) scale(.9);*/
/*    }*/
    
/*    #rec623192886 .t-popup_show .t-popup__container {*/
/*        -moz-transform: translateY(0);*/
/*        -webkit-transform: translateY(0);*/
/*        -o-transform: translateY(0);*/
/*        transform: translateY(0);*/
/*    }*/
    
/*    #rec623192886 .t-popup_show::after {*/
/*        content: '';*/
/*        display: block;*/
/*        position: fixed;*/
/*        width: 100vw;*/
/*        height: 100vh;*/
/*    	background-color: #fff;*/
/*    	z-index: -1;*/
/*    	top: 0;*/
/*    	bottom: 0;*/
/*    	left: 0;*/
/*    	right: 0;*/
/*    }*/
/*}*/

/*@media screen and (min-width: 1200px){*/
/*    #rec623192886 .t-popup__container {*/
/*        -moz-transform: translateY(-30%) scale(.9);*/
/*        -ms-transform: translateY(-30%) scale(.9);*/
/*        -webkit-transform: translateY(-30%) scale(.9);*/
/*        -o-transform: translateY(-30%) scale(.9);*/
/*        transform: translateY(-30%) scale(.9);*/
/*        top: 50% !important;*/
/*    }*/
    
/*    #rec623192886 .t-popup_show .t-popup__container {*/
/*        -moz-transform: translateY(-50%);*/
/*        -webkit-transform: translateY(-50%);*/
/*        -o-transform: translateY(-50%);*/
/*        transform: translateY(-50%);*/
/*        margin: 0 auto !important;*/
/*    }*/
/*}*/

/*Прочее*/
.uc-noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none; 
    -ms-user-select: none;
    user-select: none;
}

.visuallyhidden { 
    opacity: 0 !important;
    position: absolute !important;
}

.visuallyhidden .t396__artboard {
    position: fixed;
}