@font-face {
    font-family: 'Inter';
    src: url('./assets/font/Inter-VariableFont_opsz,wght.ttf'); 
}



:root {

	--bs-border-radius: 0.5rem;	 
	
}
* { box-sizing: border-box; }
html, body { padding: 0; margin: 0;}
html {font-family: 'Inter', Open Sans,lucida grande,Segoe UI,arial,verdana,lucida sans unicode,tahoma,sans-serif;}
body { background: #F3F3F3; color: #333;}
form { padding: 0; margin: 0;}
a { text-decoration: none; color: #0169B4;}
buttom, input[type=submit] { outline: none; background:inherit; border: 0;}


.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0169b4;
    --bs-btn-border-color: #0169b4;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #015999;
    --bs-btn-hover-border-color: #015490;
    --bs-btn-focus-shadow-rgb: 39,128,191;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #015490;
    --bs-btn-active-border-color: #014f87;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0169b4;
    --bs-btn-disabled-border-color: #0169b4
}

.btn {
	background: #fff;
	border: 2px solid #767676;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 18px;
	display: inline-block;
}
.btn-primary { background-color: #0169B4; color: #fff; border: 0; font-size: 16px; padding: 10px; }
.hide-mobile {
  display: none !important;
}
.hide-desktop {
  display: none !important;
}
.none_desctop { display: none !important;}

@media (max-width: 768px) {
	.none_desctop {display: inline-block !important;}
    .hide-desktop {display: block !important;}
}

.none_mobile { display: none !important;}

@media (min-width: 768px) {
	.none_mobile { display: inline-block !important;}
    .hide-mobile {display: block !important;}
}

@media (max-width: 768px) {
	h2 {
		font-size: 28px !important;
		letter-spacing: -1.31px !important;
		text-transform: none !important;
	}
}

/*-------------header---------------*/

header { position: absolute; top: 0; left: 0; right: 0; height: 162px; background: #fff; }

.__header_first_wrap { display: inline-block; width: 100%; border-bottom: 1px solid #BEBEBE; height: 89px;}
.__header_content { display: grid; align-items: center; grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "logo seach btn"; gap: 20px; margin: 0 auto; padding: 0 20px; max-width: 1200px; height: 100%;}

.__header_content .logo-header { grid-area: logo; display: flex; align-items: center; gap: 10px; font-size: 16px; }

.__header_search { grid-area: seach; position: relative;}
.__header_search input[type=text] { width: 100%; border: 2px solid #0169B4; padding: 10px 15px; border-radius: 5px;}
.__header_search .__search_btn { position: absolute; right: 15px; top: 10px; width: 20px; height: 20px; background-image: url('./img/search_btn.svg'); background-repeat:no-repeat; background-position: center center;}

.__header_btn { display: flex; justify-content: flex-end; }
.__header_btn .btn { color: #767676;display: flex;justify-content: center;align-items: center;}

.__header_second_wrap { display: flex; justify-content: space-between; padding: 10px 20px; margin: 0 auto; max-width: 1200px; }
.__header_second_wrap ul { display: flex; gap: 10px; margin: 0; padding: 0;}
.__header_second_wrap ul li { display: inline-block;}
.__header_second_wrap ul li a { display: inline-block; padding: 19px 18px; font-size: 16px; color: #000;} 
.__header_second_wrap ul li:first-child a { padding-left: 0;}

.__btn_head { display: flex; align-items: center; gap: 20px;}
/* --- Общие стили иконок --- */
.__btn_head .__icons { 
    display: inline-block; 
    width: 36px; 
    height: 36px; 
    background-repeat: no-repeat; 
    background-position: center center;
    cursor: pointer; /* Добавляем курсор-руку */
    transition: 0.2s; /* Плавность для ховера */
}

/* --- Иконка Звезды (по умолчанию) --- */
.__btn_head .__icons.__star {
    background-image: url('./img/star.svg');
}

.__icons.__file {
    background-image: url('./img/attach-file.svg');
}
.__icons.__submit {
    background-image: url('./img/svg/chevron-right.svg'); filter: sepia(100%) hue-rotate(130deg) saturate(1000%);
}

/* --- Иконка Звезды (АКТИВНАЯ - когда добавлено в избранное) --- */
/* Класс .active обычно добавляется JS-скриптом при клике */
.__btn_head .__icons.__star.active {
    /* Вариант А: Если есть закрашенная звезда, укажите путь к ней */
    /* background-image: url('./img/star_filled.svg'); */
    
    /* Вариант Б: Если картинки нет, используем CSS фильтр, чтобы окрасить текущую в синий */
    filter: sepia(100%) hue-rotate(190deg) saturate(500%);
}

/* --- Иконка Юзера --- */
.__btn_head .__icons.__user {
    background-image: url('./img/user.svg');
}

/* Ховер эффект (легкое затемнение при наведении) */
.__btn_head .__icons:hover {
    opacity: 0.7;
}
.__btn_head .btn { white-space: nowrap;}

.__top_line { padding: 40px 0;}

.__bread_wrap { display: inline-block; width: 100%;}
.__bread_wrap  .container { overflow: hidden;}
.__bread_wrap ul { margin: 0; padding:0; display: flex; align-items: center; gap: 20px; width: 100%;}
.__bread_wrap ul li { display: inline-block; position:relative;}
.__bread_wrap ul li:after { content: "->"; white-space: nowrap; position: absolute; left: 100%; top: 20%; color: #767676;}
.__bread_wrap ul li:last-child:after { display: none;} 
.__bread_wrap ul li a:first-child { padding-left: 0;}
.__bread_wrap ul li a { display: inline-block; padding: 5px 0px; margin-right: 10px; font-size: 16px; color: #767676; white-space:nowrap; border-bottom: 1px solid #767676}
.__bread_wrap ul li span { display: inline-block; padding: 5px 0px; margin-right: 10px; font-size: 16px; color: #767676; white-space:nowrap; }


@media (max-width: 768px) {
	.__bread_wrap {padding: 20px 0;}
}

.hamburger {  display: none; grid-area: hamburger; align-self: center; justify-self: center; background-color:inherit; border: none; width: 40px; height: 40px; position:relative; padding: 0; cursor: pointer; transition-property: opacity, -webkit-filter; transition-property: opacity, filter; transition-property: opacity, filter, -webkit-filter; transition-duration: 0.15s; transition-timing-function: linear; font: inherit; color: inherit; text-transform: none; margin: 0; overflow: visible; outline: 0!important; }

.hamburger-box {width: 30px; height: 14px; display: inline-block; position: relative; }
.hamburger-box { -webkit-perspective: 80px; perspective: 80px;}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { top:6px; left:0; width: 30px; height: 2px; background-color: #000; border-radius: 4px; position: absolute; transition-property: -webkit-transform; transition-property: transform; transition-property: transform, -webkit-transform; transition-duration: 0.15s; transition-timing-function: ease;}
.hamburger-inner::before, .hamburger-inner::after { content: ""; display: block;}
.hamburger-inner::before { top: -8px;}
.hamburger-inner::after { bottom: -8px; top:auto;}	


@media (max-width: 768px) {
	header { height:auto;}
	.__header_content { grid-template-areas: "logo btn seach hamburger"; gap: 15px; }
	.logo-header { padding-right: 10px;}
	.hamburger { display: block;}
	.__header_second_wrap { display: none;}
	.__header_search input[type=text] { display: none; }
	.__header_search .__search_btn { position: relative; top: auto; right: auto; width: 40px; height: 40px; background-size: 40px;}
	
	.__header_btn .btn {  width: 40px; height: 40px; padding: 0; text-align: center;}
	.__header_btn .btn.__mibok_glaza { font-size: 20px; background-color: #1677DC; border-color: #1677DC; color: #fff; font-weight: bold; }
}


/*-------------content--------------*/
.container { margin: 0 auto; max-width: 1200px; padding: 0 20px;}

.inner_wrap { display: inline-block; width: 100%; min-height: 100vh; padding-top: 162px; padding-bottom: 50px; overflow:hidden;}

.__page_content { position: relative; display:inline-block; width: 100%; background: #fff; border-radius: 12px;}
.content_body p { font-size: 20px; color: #000;}
.content_body a { color: #0169B4;}
.content_body ul {}
.content_body ul li, .content_body ol li { padding-bottom: 20px;}
.content_body ul li p, .content_body ol li p { margin: 0;}

.__page_title { display: inline-block; width: 100%;}
.__page_title h1 { font-size: 40px; font-weight:500; color: #333333;}
.__page_title p { color: #333333; font-size: 18px; line-height: 125%;}
.__page_desc { padding-bottom: 30px;}

.__page_banner { position: relative; display: inline-block; width: 100%; margin: 30px 0 0 0; max-height: 400px; min-height: 400px; overflow: hidden; border-radius: 12px;}
.__page_banner img { position: absolute; top: 50%; left: 50%; width: 100%; min-height: 400px; transform: translate(-50%, -50%);}

@media (max-width: 768px) {
	.inner_wrap {padding-top: 102px; }
	.__page_title h1 { font-size: 28px;}
	.__page_title p { font-size: 16px; }
}

.__action_grid_wrap {display: flex; flex-direction: column; background: #fff;  position:relative; width: 100%; padding: 18px 20px; top: -34px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__action_grid_wrap h2 { margin: 0; padding-bottom: 20px; font-size: 28px; font-weight: normal; }
.__action_grid_wrap .__action_wrap { display: flex; gap: 10px; flex-wrap: wrap; box-shadow:none; top: 0; padding: 0; border-radius: 0;}

.__action_wrap { display: flex; overflow:hidden; background: #fff; gap: 10px; position:relative; width: 100%; padding: 18px 20px; top: -34px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__action_wrap p { margin: 0; padding: 0;}
/*, .__action_wrap > div, */
.__action_wrap > a, .__action_wrap .custom-input__text { display: inline-block; cursor: pointer !important; padding: 5px 10px; font-size: 16px; border: 1px solid #767676; color: #333; border-radius: 4px; white-space:nowrap; order: 1;}
.__action_wrap > a.is_active, .__action_wrap > div.is_active { background: #0169B4; border-color: #0169B4; color: #fff;}
.__action_wrap > div.__search { padding-right: 40px; background-image: url('./img/search_btn.svg'); background-repeat: no-repeat; background-position: 90% 50%;}
.__action_wrap input[type=checkbox] { display: none;}
.__action_wrap label {cursor: pointer !important;}

.__action_wrap .form-check-input:checked[type=checkbox]+.form-check-label {background: #0169B4; border-color: #0169B4; color: #fff;order: 0;}

.__articles_page_wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding-bottom: 50px;}
.__articles_page_wrap .item { display:inline-block; width: 100%; padding: 20px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__articles_page_wrap .item .__picture { position: relative; top: 0; left: 0; right: 0; height: 280px; overflow: hidden; border-radius: 12px; }
.__articles_page_wrap .item .__picture img {position: absolute; top: 50%; left: 50%; max-height: 200%; min-width: 100%; transform: translate(-50%, -50%);}

.__articles_page_wrap .item .__articles_expr { display: flex; flex-direction: column; border-bottom: 1px solid #767676;  margin-bottom: 5px;}
.__articles_page_wrap .item .__articles_expr .__inf { display: flex; justify-content: space-between; padding: 20px 0; font-size: 14px; color: #767676;}
.__articles_page_wrap .item .__articles_expr .__inf .__like { cursor: pointer; text-transform:uppercase; padding-right: 25px; background-image: url('./img/heart.svg'); background-repeat: no-repeat; background-position: 100% 50%; }
.__articles_page_wrap .item .__articles_expr .__articles_title { margin: 0; padding: 0; padding-bottom: 20px;}
.__articles_page_wrap .item .__articles_expr .__articles_title h2 { font-size: 18px; font-weight: normal; margin: 0; padding: 0; color: #000; }
.__articles_page_wrap .item .__articles_expr .__articles_desc { display:inline-block; width: 100%; padding-bottom: 25px;}
.__articles_page_wrap .item .__articles_expr .__articles_desc p { color: #767676; margin: 0; font-size: 16px;}
.__articles_page_wrap .item .__articles_tags { padding: 0px 0;}
.__articles_page_wrap .item .__articles_tags > a { text-transform:uppercase; float: left; margin-right: 10px; margin-top: 10px; padding: 5px 10px; background: #1869A4; border-radius: 30px; color: #fff; font-size: 12px;}

@media (max-width: 768px) {
	.__articles_page_wrap {grid-template-columns: 1fr;}
    .__action_grid_wrap .__action_wrap {
        flex-wrap: nowrap;
        overflow-x: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .__action_grid_wrap .__action_wrap::-webkit-scrollbar {
        display: none;
    }
}

.__page_detail_wrap { display: grid; grid-template-columns: 1fr 300px; gap: 45px; padding-bottom: 50px;}
.__page_detail_content { display: grid; align-items: start; grid-template-columns: 1fr; gap: 30px; padding: 30px 0;}
.__page_detail_content .__page_text p { line-height: 150%; font-size: 18px;}
.__page_detail_content .__page_text h1 { font-size: 28px;}

.__page_detail_structure { width: 100%; padding-top: 170px;}

.__page_detail_structure > div p { color: #000; margin: 0; font-size: 18px; padding-bottom: 20px;}
.__page_detail_structure > div ul, .__page_detail_structure > div ol { margin: 0; padding-left: 20px; color: #0169B4;}
.__page_detail_structure > div ul li, .__page_detail_structure > div ol li { padding-bottom: 10px;}
.__page_detail_structure > div ul li a, .__page_detail_structure > div ol li a { color: #0169B4; }


@media (max-width: 768px) {
	.__page_detail_content {grid-template-columns: 1fr;}
	.__page_detail_structure { display: none;}
}


.__docs_page_wrap { display: grid; grid-template-columns: 1fr; gap: 25px; padding-bottom: 50px;}
.__docs_page_wrap .item { background: #fff; display:inline-block; width: 100%; padding: 20px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__docs_page_wrap .item .__docs_expr { display: flex; flex-direction: column; border-bottom: 1px solid #767676;  margin-bottom: 5px;}
.__docs_page_wrap .item .__docs_expr .__inf { display: flex; justify-content: space-between; padding: 20px 0; font-size: 14px; color: #767676;}

.__docs_page_wrap .item .__docs_btn { display: flex; gap: 8px; justify-content: flex-end;}
.__docs_page_wrap .item .__docs_btn span { cursor: pointer; display: inline-block; width: 44px; height: 44px; border: 1px solid #0169B4; border-radius: 8px; }
.__docs_page_wrap .item .__docs_btn > span.__like {background-image: url('./img/heart_medium.svg'); background-repeat: no-repeat; background-position: 50% 50%;}
.__docs_page_wrap .item .__docs_btn > span.__like.in-favourite {background-image: url('./img/heart_filled.svg');}
.__docs_page_wrap .item .__docs_btn > span.__download {background-image: url('./img/download.svg'); background-repeat: no-repeat; background-position: 50% 50%;}

.__docs_page_wrap .item .__docs_expr .__inf .__like {  text-transform:uppercase; padding-right: 25px; background-image: url('./img/heart.svg'); background-repeat: no-repeat; background-position: 100% 50%; }

.__docs_page_wrap .item .__docs_expr .__docs_title { display: grid; grid-template-columns: 1fr 150px; margin: 0; padding: 0; padding-bottom: 20px;}
.__docs_page_wrap .item .__docs_expr .__docs_title a { font-size: 20px; line-height: 140%; font-weight: normal; margin: 0; padding: 0; color: #000; }


.__docs_page_wrap .item .__docs_expr .__news_desc { display:inline-block; width: 100%; padding-bottom: 20px;}
.__docs_page_wrap .item .__docs_expr .__news_desc p { color: #767676; margin: 0;}

.__docs_page_wrap .item .__docs_tags { padding: 0px 0;display: flex; flex-wrap: wrap;}
.__docs_page_wrap .item .__docs_tags > a { text-transform:uppercase; display: block; margin-right: 10px; margin-top: 10px; padding: 5px 10px; background: #1869A4; border-radius: 30px; color: #fff; font-size: 12px;}
.__docs_btn-mobile {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.__docs_doc-date {
    font-size: 14px;
    color: #767676;
}
@media (max-width: 768px) {
	.__docs_page_wrap .item .__docs_expr .__docs_title {grid-template-columns: 1fr;}
	.__docs_page_wrap .item .__docs_expr .__docs_title h2 {  font-size: 16px !important;}
	.__docs_page_wrap .item .__docs_tags > a { font-size: 10px;}
	
	.__page_content { padding-top: 20px;}
    .__docs_page_wrap .item .__docs_btn span {
        width: 36px; height: 36px;
    }
    /*.__page_desc-docs {display: none;}*/
}

.__docs_list_wrap { display: inline-block; width: 100%; padding: 20px 0;}
.__docs_list_wrap h2 { font-size: 40px; font-weight: normal;}
.__docs_list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.__docs_list .item {  position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 12px; text-align: left; box-shadow: 0 3px 4px rgb(0 56 95 / 25%); }
.__docs_list .item .__docs_expr { display: flex; flex-direction: column;}
.__docs_list .item .__docs_expr .__docs_title { display: grid; align-items: center; grid-template-columns: 1fr 150px; margin: 0; padding: 15px; }
.__docs_list .item .__docs_expr .__docs_title h2 { font-size: 20px; line-height: 140%; font-weight: normal; margin: 0; padding: 0; }

.__docs_list .item .__docs_btn { display: flex; gap: 20px; justify-content: flex-end;}
.__docs_list .item .__docs_btn > span { cursor: pointer; display: inline-block; width: 44px; height: 44px; padding: 5px; border: 1px solid #0169B4; border-radius: 8px; }
.__docs_list .item .__docs_btn > span.__like {background-image: url('./img/heart_medium.svg'); background-repeat: no-repeat; background-position: 50% 50%;}
.__docs_list .item .__docs_btn > span.__download {background-image: url('./img/download.svg'); background-repeat: no-repeat; background-position: 50% 50%;}

@media (max-width: 768px) {
	.__docs_list .item .__docs_expr .__docs_title {grid-template-columns: 1fr; gap: 20px;}
	.__docs_list .item .__docs_expr .__docs_title h2 { font-size: 16px !important;}
}

/*--------------slider---------------*/

.sSlider__slider { margin: -8px; padding: 8px}
.sSlider__slider  .swiper-wrapper { height:auto; align-items: stretch;}
.sSlider__slider .swiper-slide { height:auto;}
.slider-controls { align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between}
.swiper-pagination { position: static; text-align: left; width: auto!important}
.swiper-pagination-bullet { height: 7px; margin: 0 8px!important; width: 7px}
.slider-buttons { display: flex;}
.slider-buttons>* { margin-top: 0; position: static}
.slider-buttons>:after { content: none}
.slider-buttons .icon { stroke: #0a0a0a; fill: none; height: 16px; width: 16px;}
.swiper-button-prev { margin-right: 16px}

/*--------------footer---------*/

footer { display: inline-block; width: 100%; background: #fff; padding: 30px 0 20px 0;}
footer a { font-size: 16px; color: #767676; font-weight: bold; letter-spacing: -2%;}

.footer_content { display: grid; grid-template-columns: 0.8fr 1fr 1fr 0.5fr 0.5fr; gap: 37px; padding: 50px 0; border-bottom: 1px solid #BEBEBE;}
.footer_content > div { display: flex; flex-direction: column; justify-content: space-between;}
.footer_content  .__footer_logo { display: flex; align-items: center; }

.footer_content ul { padding: 0; margin:0; }
.footer_content ul li { display:inline-block; width: 100%; padding: 5px 0; }
.footer_content ul li a { font-weight: normal;}
.footer_content ul li:first-child a { font-weight: bold; color: #000; text-transform: uppercase;}
.footer_content ul li:first-child { font-weight: bold; color: #000; text-transform: uppercase;}

.copyright { display: flex; align-items: center; justify-content: space-between; padding: 40px 0; color: #767676; }


@media (max-width: 768px) {
	.footer_content {grid-template-columns: 1fr; gap: 0; padding: 20px 0;}
	.footer_content ul { padding-bottom: 20px;}
	
	.__first_column { padding-bottom: 40px;}
	.__first_column .__contact { display: none;}

}

/* --- СТИЛИ ДЛЯ ВЫПАДАЮЩЕГО МЕНЮ --- */

/* 1. Родительский пункт */
.__header_second_wrap > ul > li.parent {
    position: relative; /* Якорь для позиционирования */
    padding-right: 20px; /* Место, чтобы не слипалось */
}

/* 2. Выпадающее меню (скрыто по умолчанию) */
.__header_second_wrap ul.submenu {
    display: none;       /* Скрываем */
    position: absolute;  /* Вырываем из потока */
    top: 100%;           /* Ровно под кнопкой */
    left: 0;
    
    /* СБРАСЫВАЕМ ВАШ ГЛАВНЫЙ FLEX */
    flex-direction: column !important; 
    gap: 0 !important;
    
    /* Оформление */
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-top: 3px solid #0169B4; /* Синяя шапка */
    padding: 10px 0 !important;
    z-index: 1000;
}

/* 3. Показываем при наведении */
.__header_second_wrap li.parent:hover > ul.submenu {
    display: flex !important; /* Или block */
}

/* 4. Пункты внутри выпадающего меню */
.__header_second_wrap ul.submenu li {
    display: block !important;
    width: 100%;
}

.__header_second_wrap ul.submenu li a {
    display: block !important;
    padding: 10px 20px !important; /* Уменьшаем ваши большие отступы */
    font-size: 15px !important;
    white-space: nowrap;
    color: #333 !important;
    font-weight: normal !important;
}

.__header_second_wrap ul.submenu li a:hover {
    background-color: #f0f0f0;
    color: #0169B4 !important;
}

/* --- 2. Исправляем иконку скачивания (Download) --- */

/* Базовый стиль для всех иконок, если его нет */
.icon {
    display: inline-block;
    vertical-align: middle;
}

/* Конкретно для иконки скачивания */
.icon-download {
    width: 10px;   /* Размер как на скриншоте (довольно крупная) */
    height: 10px;
    fill: #000;    /* Черный цвет заливки */
    min-width: 10px; /* Чтобы не сжималась */
    margin-right: 15px; /* Отступ от текста */
}

/* 1. Делаем родительский контейнер относительным, 
   чтобы кнопка позиционировалась внутри него, а не улетала в угол экрана */
.search-input-text-wrap {
    position: relative; 
}

/* 2. Стили для самой кнопки очистки */
.search-input-text-wrap .clear {
    position: absolute; /* Позиционируем поверх инпута */
    top: -10px;
    right: 10px; /* Отступ справа для мобильных */
    height: 100%; /* Или 55px, как было в оригинале */
    
    display: none; /* Скрыта по умолчанию */
    align-items: center;
    justify-content: center;
    
    background: none !important; /* Убираем серый фон кнопки */
    border: none !important;     /* Убираем рамку кнопки */
    padding: 0;
    cursor: pointer;
    z-index: 5;
}

/* 3. Показываем кнопку, если есть класс active */
.search-input-text-wrap .clear.active {
    display: flex;
}

/* 4. Корректировка положения для десктопа (учитываем ширину кнопки "Найти") */
@media (min-width: 576px) {
    .search-input-text-wrap .clear {
        /* 145px взято из вашего старого кода, это чтобы кнопка не наезжала на "Найти" */
        right: 145px; 
    }
}

/* 5. ВАЖНО: Ограничиваем размер самого крестика (SVG) */
.search-input-text-wrap .clear .icon {
    width: 25px;  /* Установите нужный размер крестика */
    height: 25px;
    fill: #333;   /* Цвет крестика (черный/серый) */
}
/*Helper*/
.search-page select[name="where"]{
    display: none;
}

.hand-wave{
    animation: wave 1s infinite;
    transform-origin: 88% 30%;
}
 .search-popup-el-cnt{
    
}
div.search-popup-row {
    background: #f5f5f5!important;
}
 .search-popup{
    border: 0px solid transparent!important;
    background: #f5f5f5 !important;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    padding: 5px 10px!important;
}
@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.search-page input[type="submit"]{
    display: none;
}
.search-helper-btn{
    border: 0px;
    background: transparent;
}
.grey__block {
    background-color: rgba(243, 243, 243, 0.6);
    color: rgba(64, 65, 73, 1);
    font-size: 16px;
    border-radius: 10px;
    padding: 14px 12px;
    text-decoration: none;
}

#helper__block.show {
    display: flex;
    opacity: 1;
    animation: helper-fade-show .2s;
}

@keyframes helper-fade-show {
    0% {
        opacity: 0;
        display: none;
    }
    100% {
        opacity: 1;
        display: flex;
    }
}
#helper__block .container{
    height: 100%;
}
/* Set the width of the scrollbar */
.scroll-block::-webkit-scrollbar {
    width: 8px;
}

/* Style the thumb of the scrollbar */
.scroll-block::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.5);
    border-radius: 4px;
}

/* Style the track of the scrollbar */
.scroll-block::-webkit-scrollbar-track {
    background-color: transparent;
}

/*Modals*/
.modal-overlay {
    display: none;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.modal-overlay.opened {
    display: flex;
}
.modal-wrap {
    min-width: 300px;
    max-width: 450px;
    padding: 0;
    border-radius: 10px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}
.modal-header {
    display: flex;
    justify-content: end;
    padding: 10px;
}
.modal-close {
    cursor: pointer;
}
.modal-body {
    padding: 0 10px 10px;
}
.modal-body h3 {
    text-align: center;
}
#infoPopupContent {
    text-align: center;
}
@media (min-width: 992px) {
  .headerBlock--mission ul, .headerBlock--mission ol {
    font-size: 1.125rem;
  }
}
.error-found h2 {
    line-height: 1.2;
}
.error-found img {
    border-radius: 15px;
}
.file-input__label {
    align-items: center;
    background-color: transparent;
    border: 1px solid #0169b4;
    border-radius: .5rem;
    color: #0169b4;
    display: flex !important;
    font-family: GolostextVf;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    margin-bottom: 0;
    margin-top: 12px;
    overflow: hidden;
    padding: 0;
    position: relative;
    justify-content: space-between;
    cursor: pointer;
}
.file-input__label .form-wrap__btn-span-wrap {
  align-items:center;
  background-color:transparent;
  display:flex;
  height:100%;
  justify-content:center;
  padding:.3125rem .3125rem;
  transition:background-color .3s ease-in-out;
  flex: 1 1 auto;
  overflow: hidden;
}
.file-input__label .form-wrap__btn-span-wrap .form-wrap__btn-span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-input__label .form-wrap__icon-span-wrap {
  background-color:#0169b4;
  height:100%;
  transition:background-color .3s ease-in-out;
  width:48px;
  flex-shrink: 0;
  background-image: url(./img/paperclip.svg);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center center;
}
.file-input__label .form-wrap__icon-span-wrap.selected {
    background-image: url(./img/close.svg);
}
.form-errors-wrap {
    color: #f00;
}
.error-found-note {
	font-family: HeliosCond;
  	font-size: 14px;
  	font-weight: 400;
  	opacity: .5;
}

/*helper*/
#helper__block {
    background-color: rgba(243, 243, 243, 1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 94;
    width: 100vw;
    height: auto;
    opacity: 0;
    display: none;
    transition: all .2s linear;
    justify-content: center;
    align-items: center;
}

.helper__btn:active {
    scale: .96;
    transition: all .2s linear;
}

.helper__btn {
    cursor: pointer;
    transition: all .2s linear;
    position: fixed;
    right: 40px;
    bottom: 40px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 16px 0px;
    width: 80px;
    aspect-ratio: 1/1;
    z-index: 100;
}

.helper-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -48px;
}

.helper-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.helper__title {
    font-size: 30px;
    font-weight: 400;
    line-height: 95%;
    margin-bottom: .5rem;
    margin-top: 0;
}

#close__helper__block {
    cursor: pointer;
}

.shadow__block {
    display: block;
    color: unset;
    text-decoration: unset;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    padding: 40px;
    border-radius: 10px;
}

.helper__input__block {
    background: rgba(243, 243, 243, 0.6);
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    padding: 16px 30px;
    align-items: center;
    margin-bottom: 0;
}

#helper_search , .search-suggest-helper{
    width: 100%;
    border: 0px;
    background-color: transparent;
    margin-left: 20px;
    font-size: 20px;
    font-family: HeliosCond;
    box-shadow: none;
    outline: none;
    color: rgba(10, 10, 10, 1);
}

#helper_search::placeholder , .search-suggest-helper::placeholder{
    border: 0px;
    background-color: transparent;
    margin-left: 20px;
    font-size: 20px;
    font-family: HeliosCond;
    color: #818181;
}

.helper__btns_block {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.helper__btns_block input[type=radio]{
    display: none;
}
.helper__btns_block input[type=radio]:checked + .h_w_block{
    color: #282828;
    transition: all .2s linear;
    box-shadow: unset;
    border: .5px #272727 solid;
}
.h_w_block {
    transition: all .2s linear;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 8px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.07);
    color: #818181;
    line-height: 107%;
}

.h_w_block:hover {
    color: #282828;
    transition: all .2s linear;
    box-shadow: unset;
}

.helper__messages {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-height: 160px;
    justify-content: end;
}

.helper__messages .helper__message:last-child {
    border-radius: 10px 10px 10px 3px;
}

.helper__message {
    color: white;
    background-color: rgba(1, 105, 180, 1);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 5px;
    animation: fade .2s;
    transition: all .2s linear;
}
.helper-f-width {
    width: 100%;
    padding: 0 20px;
    flex: 0 0 auto;
    margin-top: 3rem;
}
@keyframes fade {
    0%{
        opacity: 0;
        transform: translateY(10px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
.scroll-block{
    padding: 80px 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

.helper-links-item {
    display: flex;
}
.helper-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.helper-links-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    width: 100%;
    justify-content: space-between;
}
.helper-links-text {
    flex: 1 1 auto;
}
.helper-form {
    width: 100%;
    margin-top: 24px;
    padding: 0 20px;
}
.helper-where-btns {
    width: 100%;
    margin-top: 24px;
    padding: 0 20px;
}
.helper-messages {
    display: flex;
    gap: 10px;
}
.rowsBlock {
    display: none;
}
.helper-last-materials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.helper-last-materials a {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}
.helper-answer-items {
    padding: 16px 8px;
}
.helper-answer-items .rows {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
@media (max-width: 992px) {
    .helper__message {
        color: white;
        background-color: rgba(1, 105, 180, 1);
        border-radius: 8px;
        padding: 10px 14px;
        margin-bottom: 5px;
        animation: fade .2s;
        transition: all .2s linear;
        font-size: 13px;
    }
}
@media (max-width: 768px) {
    .helper-links {
        grid-template-columns: 1fr;
    }
    .helper-last-materials {
        grid-template-columns: 1fr;
    }
}

/*suggests*/
.loader-wrap {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    z-index: 999999;
}
.loader-wrap.showed {
    display: flex;
}
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #6ebeff;
  border-bottom-color: #337AB7;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.cep-help-modal-wrap {
    min-width: 400px;
    max-width: 1300px;
}
.cep-help-modal-header {
    justify-content: space-between;
    gap: 25px;
}
.cep-help-title {
    display: flex;
    justify-content: space-between;
    flex: 1 1 auto;
}
.cep-help-title-text {
    font-weight: bold;
}
.cep-help-title-count {
    color: hsla(0,0%,4%,.5);
}
.modal-body-content-title {
    color: hsla(0,0%,4%,.5);
    padding-bottom: 10px;
}
.modal-body-content-image img {
    max-width: 100%;
}
.modal-body-content-text {
    padding-top: 30px;
    gap: 50px;
    display: flex;
}
.help-text-block {
    display: flex;
    gap: 25px;
    align-items: end;
}
.help__message {
  color: white;
  background-color: rgba(1, 105, 180, 1);
  border-radius: 8px;
  padding: 10px 14px;
  animation: fade .2s;
  transition: all .2s linear;
}
.help-img {
    flex: 0 0 auto;
}
.help-btns {
    gap: 25px;
    display: flex;
    align-items: center;
}
.help-btns button {
    border: none;
    outline: none;
    background-color: rgba(1, 105, 180, 1);
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-size: 16px;
}
.help-btns button:hover {
    background-color: #015999;
}
.help-btns button.disabled {
    background-color: #ddd;
}
@media (max-width: 768px) {
    .cep-help-modal-wrap {
        min-width: unset;
        max-width: 100%;
    }
    .modal-body-content-text {
        flex-direction: column;
        padding-top: 10px;
        gap: 10px;
    }
    .help-btns {
        order: -1;
        justify-content: center;
    }
    .help__message {
        font-size: 14px;
    }
    .help-btns button {
        font-size: 14px;
    }
}
.scrollTop {
    position: fixed;
    right: 20px;
    bottom: 140px;
    height: 60px;
    width: 60px;
    display: none;
    padding: 10px;
    background-image: url(./img/up-arrow.png);
    background-position: center center;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 16px 0px;
    transition: all .5s linear;
    background-repeat: no-repeat;
    opacity: 0;
    background-color: #fff;
    z-index: 999;
}
.scrollTop.active {
    display: block;
    opacity: 1;
}