*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}
html {
	font-size: 14px;
}


/* ********************** шапка */
#company_logo {
	width: 100px;
	height: 100px;
}

#company_logo img {
	height: 100%;
	border-radius: 50%;
}

#nav_header {
	width: 95%;
	margin: 0 auto;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#header_menu_container {
	width: 100%;
	display: flex;	
	align-items: start;
	gap: 1rem;
}

#top_menu {
	background-color: rgb(68, 68, 70);
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
	height: 75px;
	border-bottom: solid 2px rgb(68, 68, 70);
	padding: 2.5rem 1rem 2.25rem 1rem;
	width: 100%;
	margin-bottom: -1px;
}

#top_menu li:not(#burger_menu) {
    list-style: none;
    background-color: white;
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    height: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#top_menu li:not(#burger_menu):hover {
    background-color: #d0d0d0;
    transform: translateY(-5px);
}

/* #top_menu li:last-child { */
#top_menu #li_lk {
    height: 3.5rem;  /* Устанавливаем одинаковую высоту для кнопки */
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#top_menu li a {
    text-decoration: none;
    color: black;
}

#top_menu ul {
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
	gap: 1rem;
}

#lines_container {
    display: flex;
    flex-direction: column;
    width: 100%;
	font-size: clamp(15px, 0.875vw, 17px);
}

#burger_menu {
	display: none;
	list-style: none;
    background: none;
    padding: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    height: 3.5rem;
    justify-content: start;
    align-items: center;
	
	img {
		width: 30px;
		filter: invert(1);
	}
}


/*тут кнопки от  --Все новостройки и тд */
#nav_burger_menu {
	display: none;
	list-style: none;
    background: none;
    padding: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    height: 3.5rem;
    justify-content: start;
    align-items: center;

	img {
		width: 30px;
	}
}
#nav_li_short {
	display: none;
}
#nav_li {
    height: 50px;
    width: 100%;
    /* margin-left: 1rem; */
	/* margin: 0 1rem; */
	padding: 2.5rem 1rem;
    border: solid 7px rgb(68, 68, 70);
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}
#nav_li li:not(#nav_burger_menu) {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.55rem 0.75rem;
    /* box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3); */
    background-color: white;
    border-radius: 10px;
	width: 100%;
	height: 3.5rem;
	/* background-color: rgb(68, 68, 70); */
}

#nav_li_ul {
    width: 100%;
    display: flex;  /* Включаем flexbox для равномерного распределения */
    justify-content: flex-start;
    /* justify-content: space-between; */
	li a {
		width: 100%;
		text-align: center;
	}
}

#nav_li li:not(#nav_burger_menu):hover {
	background-color: #d0d0d0;
}
#nav_li #nav_li_ul {
	height: 100%;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

#nav_li a, #nav_li div {
    text-decoration: none;
    /* font-size: 1.2rem; */
	color: #444447;
}




#kp_div, #zk_div, #ak_div {
	position: relative;
	cursor: pointer;
	width: 100%;
	height: 100%;
	text-align: center;
	line-height: 2.5rem;
}
.submenu_li {
	position: relative;
}
.submenu-title {
	display: block;
	width: 100%;
}
.arrow_svg_icon {
	transition: transform 0.5s ease;
}
.js-stop-scroll {
	display: none;
	/* display: block; */
	position: absolute;
	right: -20rem;
	top: 0;
	width: 100%;
}
#kp_list, #zk_list, #ak_list {
	position: absolute;
	z-index: 1000;
	display: none;
	/* display: block; */
	width: 20rem;

}

#kp_list li, #zk_list li, #ak_list li {
	z-index: 1000;
	background: gray;
	width: 100%;
	text-align: center;
	padding: 0.5rem 0;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}
.span_arrows_head {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	white-space: nowrap;
}
.arrows_head {
	transform: rotate(-90deg);

	img {
		width: 15px;
		height: 15px;
	}

}


/* бургер меню */
#block_burger_menu {
	display: none;
	position: absolute;
	z-index: 100;
	background-color: rgb(68, 68, 70);
	/* background-color: white; */
	/* width: calc(95% - 100px); */
	width: 96%;
	margin: 0 2%;
	min-height: 235px;
	left: 0;
	border-radius: 10px;
	border: 2px solid rgb(68, 68, 70);

	span {
		font-size: 50px;
		position: absolute;
		right: 0;
		top: 0;
		margin: 5px 15px;
		color: white;
		cursor: pointer;
	}
	ul {
		display: none;
		flex-direction: column;
		align-items: center;
		gap: 15px;
		padding: 10px;
		width: 100%;
	}
	li {
		list-style: none;
		font-size: 14px;
		background-color: white;
		padding: 7px;
		border-radius: 10px;
		min-width: 40%;
		text-align: center;

		a {
			text-decoration: none;
			color: rgb(68, 68, 70);
		}
	}
}

#top_menu li#li_icon_lk,
#top_menu li#li_icon_phone {
	display: none;
	background: none;
	box-shadow: none;
	color: white;
	opacity: 90%;
	width: 80px;

	svg {
		width: 35px;
	}
}

#top_menu li#li_company_logo {
	display: none;
}

li#burger_menu, #top_menu li#li_company_logo,
li#nav_burger_menu {
	width: 70px;
}

/* адаптив шапка */
@media (width <= 1440px) {
	#lines_container {
		font-size: clamp(12px, 1vw, 15px);
	}
}
@media (width <= 1300px) {
	#lines_container {
		font-size: clamp(12px, 0.95vw, 13px);
	}
	#company_logo {
		img {
			width: 90px;
			height: 90px;
		}
	}
}
@media (width <= 1024px) {
	#burger_menu {
		display: flex;
	}
	#top_menu li#li_contact, 
	#top_menu li#li_banki {
		display: none;
	}
	#nav_li_long {
		display: none;
	}
	#nav_li_short {
		display: flex;
	}
}
@media (width <= 768px) {
	#nav_burger_menu {
		display: flex;
	}
	#top_menu li#li_zastroishiki, 
	#nav_li li#li_investirovanie {
		display: none;
	}
}
@media (width <= 700px) { 
	#top_menu li#li_partneram,
	#top_menu li#li_lk,
	#top_menu li#li_karta,
	#nav_li li#li_vse_novostroiki,
	#company_logo
	{
		display: none;
	}

	#top_menu li#li_icon_lk,
	#top_menu li#li_icon_phone {
		display: flex;
	}

	#top_menu li#li_company_logo {
		background: none;
		box-shadow: none;
	}

	#top_menu li#li_company_logo,
	#li_company_logo #company_logo {
		display: flex;
		justify-content: center;
		align-items: center;
		img {
			width: 50px;
			height: auto;
		}
	}
}
@media (width <= 600px) {
	/* #company_logo {
		img {
			width: 85px;
			height: 85px;
		}
	} */
	#nav_li li#li_vse_novostroiki {
		display: flex;
	}
	/* #top_menu li#li_spec_empty,  */
	#nav_li li#li_kp, #nav_li li#li_ak, 
	#nav_li li#li_zhk {
		display: none;
	}

	#block_burger_menu li {
		width: clamp(120px, 70%, 250px);
	}
}
@media (width <= 500px) {
	#company_logo {
		z-index: 0 !important;
	}
}
@media (width <= 448px) {
	#block_burger_menu {
		min-height: 275px;
		ul {
			gap: 25px;
		}
	}
}


/* ******************* блок есть вопрос */
#head_number_phone {
    display: flex;
    align-items: center; /* Центрируем элементы по вертикали */
    justify-content: center; /* Центрируем элементы по горизонтали */
    gap: 1.5rem; /* Расстояние между элементами */
    padding: 0.5rem;
    margin-top: 2rem;
	font-size: clamp(14px, 1.2vw, 18px);
    background-color: rgb(209, 209, 209);
    width: 100%;  /* Растягиваем на всю ширину экрана */
    border-radius: 10px;
}

#number_text {
    display: flex;  /* Элементы выстраиваются по горизонтали */
    align-items: center;  /* Центрируем элементы по вертикали */
    gap: 1rem; /* Расстояние между номером и ссылкой */
}

#number_phone a {
    font-weight: bold;
}

#number_text a {
    text-decoration: underline; 
}

#number_text a:hover {
	cursor: pointer;
}

#head_number_phone span {
    text-align: center; 
    margin-right: 1rem; 
}


/* ----------------- адаптив есть вопрос */
@media (width <= 716px) {
	#head_number_phone {
		flex-wrap: wrap;
		height: fit-content;
	}
}



/* ********** форма обратной связи тг */
.popup_forms {
    background-color: #f9f9f9;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 75%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    justify-content: center;
    align-items: center;
    z-index: 1000;

	#fb_form {
		width: 55%;
		display: flex;
		max-height: 90%;

		img:first-child {
			width: 50%;
			border-radius: 10px 0 0 10px;
			object-fit: cover;
		}
	}

	#background_form {
		background-color: white;
		border-radius: 0 10px 10px 0;
		padding: 3rem;
		position: relative;
		width: 50%;
	}

	.close_popup_forms {
		cursor: pointer;
		position: absolute;
		right: 1.5rem;
		top: 1.5rem;
	}

    /* Контейнер формы */
    .form-container {
		background: #fff;
		padding: 20px;
		border-radius: 10px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
		max-width: 400px;
		width: 100%;
    }

    h2 {
        text-align: center;
		margin-top: 10px;
        margin-bottom: 15px;
		font-size: clamp(16px, 1.7vw, 21px);
    }

    /* Поля ввода */
    input[type="text"],
	input[type="tel"],
    textarea,
	#i_have {
        width: 100%;
        padding: 10px;
        margin: 5px 0;
        border: 2px solid #ccc;
        border-radius: 10px;
		font-size: clamp(12px, 1.4vw, 16px);
    }
	#i_have {
		margin-top: 10px;
	}
    textarea {
        resize: none;
    }

    /* Обязательные поля */
    span {
        font-size: 12px;
        color: #666;
    }

    .sub-header {
        font-weight: bold;
        display: block;
        margin-top: 25px;
        font-size: 14px;
    }

    /* Соглашение о персональных данных */
    .privacy_agreement {
        display: flex;
        align-items: center;
        margin-top: 10px;
        font-size: 14px;
    }

    .privacyAgreement {
        margin-right: 5px;
    }
	.privacy_agreement label {
		font-size: 12px;
		color: #666;
	}
    .label a {
        color: #007bff;
        text-decoration: none;
    }

    .label a:hover {
        text-decoration: underline;
    }

    /* Кнопка отправки */
    .submit_button {
        text-align: center;
        margin-top: 15px;
    }

    input[type="submit"] {
        /* background: #28a745; */
        background: #3b5998;
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }

    input[type="submit"]:hover {
        /* background: #218838; */
        background: #496cb8;
    }
}

#connect_for_me {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 15px 0;

	span {
		font-weight: bold;
	}
}
#connect_for_me_icons {
	display: flex;
	gap: 10px;

	img {
		width: 30px;
		height: 30px;
		cursor: pointer;
	}
}

#form_inputs div {
	margin-bottom: 5px;
}

/* ********** адаптив форма обратной связи тг */
@media (width <= 1680px) {
	.popup_forms #fb_form {
		width: 60%;
	}
}
@media (width <= 1440px) {
	.popup_forms #fb_form {
		width: 65%;
	}
}
@media (width <= 1240px) {
	.popup_forms #fb_form {
		width: 75%;
	}
}
@media (width <= 1024px) {
	.popup_forms #fb_form {
		width: 80%;
	}
	#connect_for_me_icons img {
		width: 20px;
		height: 20px;
	}
	div#fb_form div#background_form {
		padding: 30px;
	}
	#connect_for_me span {
		font-size: 10px;
	}
}
@media (width <= 768px) {
	#fb_form_img {
		display: none;
	}
	.popup_forms #fb_form {
		justify-content: center;
		width: 100%;
	}
	#fb_form #background_form {
		border-radius: 10px;
		padding: 25px;
		width: 60%;
		background-image: url('/assets/img_feedback_form.jpg');
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center center;
		background-color: rgba(255, 255, 255, 0.8);
		background-blend-mode: lighten;

	}
	#message {
		height: 100px;
	}
}
@media (width <= 568px) {
	#fb_form #background_form {
		width: 75%;
	}
}
@media (width <= 414px) {
	#fb_form #background_form {
		width: 85%;
	}
}



/* **************** поиск */
#search_panel {
	display: none !important; 
	background-color: white;
	width: 95%;
	margin: 0 auto;
	padding: 0.5rem;
	border-radius: 15px;
	border: solid 5px rgb(209, 209, 209);
	box-shadow: 0 4px 10px rgb(200, 200, 200);
	font-size: clamp(15px, 1vw, 16px);
	color: black;
}
#search_sections {
	background-color: rgb(209, 209, 209);
	height: 42px;
	display: flex;
	align-items: center;
	text-align: center;
	gap: 2rem;
	box-shadow: 0 0 0 0.5rem rgb(209, 209, 209);
}
#search_sections a {
	text-decoration: none;
}
.select_a {
	border-bottom: solid 2px black;
}
#search_sections span {
	font-weight: bold;
}

#find_form {
	margin-left: 1rem;
}

#smart_search {
	width: 40%;
}

#items_search {
	display: flex;
	gap: 140px;
	margin-top: 20px;
}

#input_div input {
	display: block;
	border-radius: 10px;
	border: solid 2px black;
	height: 3rem;
	width: 100%;
	margin-top: 0.5rem;
	padding: 0 5px;
}

#input_div {
	position: relative;
}

#icon_search {
	position: absolute;
	width: auto;
	height: 100%;
	top: 0;
	right: 0;
	border-left: solid 1px black;
}

#one_line {
	display: flex;
	margin-top: 2.5rem;
	gap: 140px;
}

#checkboxes div {
	margin-bottom: 0.25rem;
}
#checkboxes div:last-child {
	border-top: 1px solid black;
	padding-top: 0.25rem;
}
#checkboxes label {
	margin-left: 0.5rem;
}


#item_search_type {
	span {
		display: inline-block;
		margin-bottom: 0.5rem;
	}

	div {
		margin-bottom: 0.25rem;
	}
}






#two_line {
	display: flex;
	gap: 140px;
	border-top: 3px dashed rgb(209, 209, 209, 0.5);
	margin-top: 2rem;
	padding-top: 2rem;
}


#two_line_one {
	display: flex;
	/* flex-direction: column; */
	gap: 28px;
}

#two_line_two {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

#inputs_t_l_t {
	display: flex;
	gap: 14px;
}

.items_two_line_one {
	display: none;
	flex-direction: column;
	gap: 7px;

	button {
		width: 140px;
	}
}

.dropdown_menus {
	height: 3rem;
	border-radius: 5px;
	border: solid 1px rgb(209, 209, 209);
	background: none;
	cursor: pointer;

	span {
		display: flex;
		justify-content: center;
		align-items: center;	
		gap: 10px
	}
	img {
		width: 15px;
		height: 15px;
		rotate: -90deg;
	}
}

#item_price_min input, #item_price_max input, #item_price_option button {
	height: 3rem;
	border-radius: 5px;
	border: solid 1px rgb(209, 209, 209);
	background: none;
	padding: 5px;
}
#item_price_option button {
	width: 5rem;
}

#buttons {
	display: flex;
	gap: 3rem;
	justify-content: flex-end;
	padding: 1rem;
	margin-top: 20px;

	input {
		background-color: white;
		border: solid 2px rgb(209, 209, 209);
		border-radius: 5px;
		padding: 1rem;
		width: 10rem;
		color: black;
	}
}

#buttons input:first-child:hover {
	background-color: rgb(89, 243, 89);
}
#buttons input:last-child:hover {
	background-color: rgb(240, 92, 92);
}


/* адаптив поиск */
@media (width <= 1440px) {
	#items_search {
		gap: 80px;
	}
	#search_panel {
		font-size: clamp(14px, 1.2vw, 15px);
	}
}
@media (width <= 1240px) {
	#items_search {
		gap: 60px;
	}
	#one_line {
		gap: 80px;
	}
	#two_line {
		gap: 90px;
	}
}
@media (width <= 1100px) {
	#two_line {
		flex-direction: column;
		gap: 15px;
	}
}
@media (width <= 850px) {
	#one_line {
		flex-direction: column;
		gap: 0px;
	}
	#smart_search {
		width: 60%;
	}
	#items_search {
		gap: clamp(40px, 12vw, 140px);
	}
}
@media (width <= 768px) {
	#smart_search {
		width: 80%;
	}
}
@media (width <= 580px) {
	#items_search {
		gap: clamp(40px, 8vw, 80px);
		flex-wrap: wrap;
		row-gap: 20px;
	}
	#smart_search {
		width: 95%;
	}
	#search_sections {
		flex-wrap: wrap;
		min-height: 42px;
		height: fit-content;
		padding-bottom: 10px;
	}
	#two_line_one {
		gap: 15px;
		button {
			width: clamp(80px, 25vw, 140px);
		}
		span {
			font-size: 12px;
		}
		label {
			font-size: clamp(12px, 3.5vw, 14px);
		}
	}
	#item_price_min, #item_price_max {
		width: clamp(75px, 29vw, 175px);

		input {
			width: 100%;
		}
	}
}



/* *********************** h1 */
h1 {
	text-align: center;
	margin: 40px 0;
	/* padding-bottom: 40px; */
	/* border-bottom: solid 3px rgb(209, 209, 209); */
	text-decoration: none;
	font-size: clamp(22px, 3vw, 28px);
}


/* ********************** карта / альбом */
#interactive_map
{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	/* width: 100%; */
}
#block_map_photo {
	display: flex;
	justify-content: center;
	align-items: center;
	width: fit-content;
	margin: auto;
}
#map_photo
{
	/* width: 50rem; */
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}
.prev_next_photos {
	display: none;
	justify-content: center;
	align-items: center;
	/* position: absolute; */
	/* top: 50%; */
	/* transform: translateY(-50%); */
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.25);
	padding: 1rem;
	cursor: pointer;
	transition: 0.3s;
	width: 75px;
	height: 75px;

	img {
		width: 50px;
		height: 50px;
		opacity: 0.25;
		filter: invert(1);
	}
}
.prev_next_photos:hover {
	background: rgba(0, 0, 0, 0.75);
	img {
		opacity: 1;
	}
}
#arrows {
	position: none;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 900px;
}

#block_map_photo
{
	display: none;
	justify-content: center;
	align-items: center;
}

/* *************** адаптив - карта / альбом */
@media (width <= 1150px) {
	#arrows {
		gap: clamp(100px, 77vw, 900px);
	}
	.prev_next_photos {
		width: clamp(20px, 12vw, 75px);
		height: clamp(20px, 12vw, 75px);

		img {
			width: clamp(20px, 6vw, 50px);
			height: clamp(20px, 6vw, 50px);
		}
	}
}
@media (width <= 1000px) {
	#arrows {
		gap: 75vw;
	}
}
@media (width <= 900px) {
	#arrows {
		gap: 73vw;
	}
}
@media (width <= 800px) {
	#arrows {
		gap: 71vw;
	}
}
@media (width <= 750px) {
	#arrows {
		gap: 69vw;
	}
}
@media (width <= 700px) {
	#arrows {
		gap: 67vw;
	}
}
@media (width <= 650px) {
	#arrows {
		gap: 65vw;
	}
}
@media (width <= 600px) {
	#arrows {
		gap: 63vw;
	}
}
@media (width <= 500px) {
	#arrows {
		gap: 61vw;
	}
}
@media (width <= 430px) {
	#arrows {
		gap: 59vw;
	}
}
@media (width <= 380px) {
	#arrows {
		gap: 57vw;
	}
}

/* **************************************** специальные предложения */
.blocks_lines {
	width: 95%;
	margin: 0 auto;
	margin-top: 3rem;
	border: 5px solid rgb(209, 209, 209);
	border-radius: 15px;
	padding: 0.5rem;
	box-shadow: 0 4px 10px rgb(200, 200, 200);
}

.title_blocks_lines {
	text-align: center;
	background-color: rgb(209, 209, 209);
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	box-shadow: 0 0 0 0.5rem rgb(209, 209, 209);
}
/* КЛАСС ДЛЯ НАДПИСИ "ГЕНБАНК АККРЕДИТОВАЛ НОВОСТРОЙКИ */
.title_blocks_lines_1 {
	text-align: center;
	/* background-color: rgb(232, 33, 33); */
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	/* box-shadow: 0 0 0 .5rem rgb(209, 209, 209); */
}

/* Базовые стили для десктопа */
.catalog_top_builds .top_info,
.catalog_top_builds .top_info span,
.catalog_top_builds .top_info b,
.catalog_top_builds .top_info a {
    font-size: 16px;
    line-height: 1.4;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
    .catalog_top_builds .top_info,
    .catalog_top_builds .top_info span,
    .catalog_top_builds .top_info b,
    .catalog_top_builds .top_info a {
        font-size: 14px !important;
    }
    .catalog_top_builds .btn_more {
        font-size: 13px !important;
        padding: 7px 14px !important;
    }
}
/* **************************************** топ  */
.blocks_top_builds {
	margin-bottom: 1.5rem;
}



/* ***************************** текст описание */
#description_text {
	width: 100%;
	font-size: clamp(14px, 1.5vw, 16px);
	margin-top: 20px;
	margin-bottom: -15px;

	p {
		margin-bottom: 10px;
		text-indent: 2em;
		font-family: 'Roboto', sans-serif;
	}
}
#description_text_2 {
	display: none;
	transition: max-height 0.3s ease-in-out;
}
#toggle_button {
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #077eff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
	font-size: clamp(12px, 1.5vw, 14px);
	display: block;
	margin: 0 auto;
}

#toggle_button:hover {
    background-color: #0d76e7;
}


/* ******************** над футером */
#block_footer_number_phone {
	width: 95%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}
#footer_number_phone {
	display: flex;
	justify-content: center; /* Центрирую по вертикале*/
	align-items: center; /* Выравниваю по вертикали */
	padding: 0.5rem;
	font-size: clamp(14px, 1.2vw, 18px);
	background-color: rgb(209, 209, 209);
	border-radius: 10px;
	width: 100%;
	margin: 2rem 0;
	height: 3rem;
	align-items: center;
	gap: 1rem;
}

/* адаптив по вопросам рекламы */
@media (width <= 716px) {
	#footer_number_phone {
		flex-wrap: wrap;
		height: fit-content;
	}
}


/* футер */
footer {
	background-color: rgb(186, 186, 186);
}
#footer_div {
	display: flex;
	justify-content: space-around;
	font-size: clamp(14px, 1.2vw, 20px);
	padding-top: 10px;

	p {
		margin-bottom: 15px;
	}
}
#footer_div li {
	list-style: none;
	padding-bottom: 0.5rem;
}
#footer_text {
	width: 20%;
}
#footer_div div {
	padding-top: 0.5rem;
	padding-bottom: 2rem;
}

#copyright, #sitemap {
	padding-left: 1rem;
	padding-bottom: 1rem;
	font-size: clamp(12px, 1vw, 16px);
}

/* адаптив футер */
@media (width < 900px) {
	#footer_div {
		flex-wrap: wrap;

		div:not(#footer_text) {
			width: 22%;
		}
	}
	#footer_text {
		width: 90%;
	}
}
@media (width < 700px) {
	#footer_div {
		div:not(#footer_text) {
			width: 45%;
			padding-left: 7%;
		}
	}
}
@media (width < 400px) {
	#footer_div {
		div:not(#footer_text) {
			padding-left: 3%;
		}
	}
}






.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 0;
	list-style: none;
	font-size: 14px;
	text-align: left;
	background-color: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 4px;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	background-clip: padding-box
}

.dropdown-menu.pull-right {
	right: 0;
	left: auto
}

.dropdown-menu .divider {
	height: 1px;
	margin: 9px 0;
	overflow: hidden;
	background-color: #e5e5e5
}

.dropdown-menu>li>a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #76767b;
	white-space: nowrap
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
	text-decoration: none;
	color: #69696e;
	background-color: #f5f5f5
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
	color: #fff;
	text-decoration: none;
	outline: 0;
	background-color: #337ab7
}

.dropdown-menu>.disabled>a,
.dropdown-menu>.disabled>a:focus,
.dropdown-menu>.disabled>a:hover {
	color: #bbbbbe
}

.dropdown-menu>.disabled>a:focus,
.dropdown-menu>.disabled>a:hover {
	text-decoration: none;
	background-color: transparent;
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	cursor: not-allowed
}

.open>.dropdown-menu {
	display: block
}

.open>a {
	outline: 0
}

.dropdown-menu-right {
	left: auto;
	right: 0
}

.dropdown-menu-left {
	left: 0;
	right: auto
}

.dropdown-header {
	display: block;
	padding: 3px 20px;
	font-size: 12px;
	line-height: 1.42857143;
	color: #bbbbbe;
	white-space: nowrap
}

.dropdown-backdrop {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 990
}

.pull-right>.dropdown-menu {
	right: 0;
	left: auto
}

.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
	border-top: 0;
	border-bottom: 4px dashed;
	border-bottom: 4px solid\9;
	content: ""
}

.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
	top: auto;
	bottom: 100%;
	margin-bottom: 2px
}


.btn-group,
.btn-group-vertical {
	position: relative;
	display: inline-block;
	vertical-align: middle
}

.btn-group-vertical>.btn,
.btn-group>.btn {
	position: relative;
	float: left
}

.btn-group-vertical>.btn.active,
.btn-group-vertical>.btn:active,
.btn-group-vertical>.btn:focus,
.btn-group-vertical>.btn:hover,
.btn-group>.btn.active,
.btn-group>.btn:active,
.btn-group>.btn:focus,
.btn-group>.btn:hover {
	z-index: 2
}

.btn-group .btn+.btn,
.btn-group .btn+.btn-group,
.btn-group .btn-group+.btn,
.btn-group .btn-group+.btn-group {
	margin-left: -1px
}


html {
	font-family: sans-serif;
	/* -ms-text-size-adjust: 100%; */
	/* -webkit-text-size-adjust: 100% */
}

/* ???????????????????????????????????? */
/* *,
:after,
:before {
	-webkit-box-sizing: inherit;
	box-sizing: inherit
} */


/* ***************** футер */
#footer-icons {
    position: fixed;  /* Закрепляем значки на экране */
    bottom: 20px;  /* Отступ от нижнего края */
    right: 20px;  /* Отступ от правого края */
    z-index: 1000;  /* Обеспечиваем, чтобы значки были сверху */
}

.footer-icon {
    width: 50px; /* Фиксированная ширина значков */
    height: 50px; /* Фиксированная высота значков */
    margin: 10px; /* Отступы между значками */
    display: inline-block;
    border-radius: 50%; /* Скругление иконок для круглой формы */
    object-fit: cover; 
    transition: transform 0.3s ease-in-out; 
}

.footer-icon:hover {
    transform: scale(1.1); /* Увеличение значков при наведении */
}
/*Чтобы текст сверху был*/
.content_text_krim p {
    display: block; 
    width: 100%; 
    margin: 0 0 10px 0; /* Добавляет отступ между абзацами */
}
.content_text_krim {
    display: block; /* Отключает flex, если он был */
}
/*----*/
/* Стили для блока с изображениями */
.partners_block {
    display: flex;
    justify-content: center; /* Центрирует изображения по горизонтали */
    gap: 15px; /* Добавляет отступы между изображениями */
    justify-content: space-around; /* Центрирует изображения по горизонтали */
    /* gap: 3rem; Добавляет отступы между изображениями */
    flex-wrap: wrap; /* Позволяет изображениям переходить на следующую строку, если экран маленький */
    width: 100%; /* Блок с изображениями занимает всю ширину */
    text-align: center; /* Центрирует изображения внутри блока */
    margin-top: 20px; /* Отступ сверху, чтобы изображения не были слишком близко к тексту */
    margin-top: 2rem; /* Отступ сверху, чтобы изображения не были слишком близко к тексту */
}

.partners_block img {
    max-width: 100%; /* Изображения будут адаптироваться по ширине */
    height: auto; /* Сохраняет пропорции */
	border-radius: 10px;
}


/*анимация для октрытия кнопки 'хочу купить'*/
/* Стиль для кнопки с выпадающим списком */
.location-panel .btn-group {
    display: flex;
    flex-direction: column; /* Разделение кнопок по вертикали */
    gap: 0.625rem; /* Отступ между кнопками */
    width: 100%; /* Меню будет растягиваться на всю ширину */
}

/* Стиль для кнопок в выпадающем меню */
.location-panel .btn-group button {
    background-color: #ccc; /* Серый цвет кнопок */
    color: black; /* Черный цвет текста */
    border: none;
    padding: 0.75rem 1rem; /* 12px сверху и снизу, 16px слева и справа */
    font-size: 1rem; /* 16px */
    border-radius: 0.375rem; /* 6px */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%; /* Кнопки занимают всю ширину контейнера */
}

/* Эффект при наведении на кнопки */
.location-panel .btn-group button:hover {
    background-color: #aaa; /* Темнее при наведении */
    transform: scale(1.05); /* Легкое увеличение */
}

/* Стиль для неактивных кнопок */
.location-panel .btn-group button:disabled {
    background-color: #e0e0e0; /* Светло-серый цвет для неактивных кнопок */
    cursor: not-allowed;
}

/* Стиль для выпадающего списка */
.location-panel .dropdown-menu {
    border-radius: 0.375rem; /* Закругленные углы у выпадающего меню */
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1); /* Тень */
    padding: 0.625rem; /* 10px */
    width: 25rem; /* Увеличиваем ширину меню */
    display: block;
    height: auto; /* Убираем фиксированную высоту */
}

/* Элементы выпадающего списка */
.multiselect-container li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Эффект при наведении на элементы выпадающего списка */
.multiselect-container li:hover {
    background-color: #f3f3f3;
}

/* Стили для кнопок в disabled-статусе */
.disabled-button {
    display: none;
}

/* Стили кнопки с выпадающим списком */
.location-panel .btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
}

/* Стиль для кнопки */
.location-panel .btn-group button {
    background-color: #ccc;
    color: black;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

/* Эффект при наведении */
.location-panel .btn-group button:hover {
    background-color: #aaa;
    transform: scale(1.05);
}

/* Стиль для выпадающего списка */
.location-panel .dropdown-menu {
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
    padding: 0.625rem;
    width: 25rem;
    display: none; /* Скрыто по умолчанию */
}

/* Стили для элементов списка */
.multiselect-container li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Эффект при наведении на элементы списка */
.multiselect-container li:hover {
    background-color: #f3f3f3;
}

/*кнопка город */
/* Стили для кнопки с выпадающим списком */
.location-panel .btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
}

/* Стиль для кнопки */
.location-panel .btn-group button {
    background-color: #ccc;
    color: black;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

/* Эффект при наведении */
.location-panel .btn-group button:hover {
    background-color: #aaa;
    transform: scale(1.05);
}

/* Стиль для выпадающего списка */
.location-panel .dropdown-menu {
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
    padding: 0.625rem;
    width: 25rem;
    display: none; /* Скрыто по умолчанию */
}

/* Стили для элементов списка */
.multiselect-container li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Эффект при наведении на элементы списка */
.multiselect-container li:hover {
    background-color: #f3f3f3;
}

/* БЛОК БОЛЬШОЙ ФОТОГРАФИИ ГЕНБАНКА И ОПИСАНИЯ  */

.blocks_lines_1{
	width: 95%;
	margin: 0 auto;
	margin-top: 3rem;
	/* border: 5px solid rgb(209, 209, 209); */
	border-radius: 15px;
	padding: 0.5rem;
	/* box-shadow: 0 4px 10px rgb(200, 200, 200);  */
}

.container {
  max-width: 100%;
  margin: 0;
  padding: 0.5rem;
  box-sizing: border-box;
}

/* Верхняя часть с фото и описанием */
.top-block {
  display: flex;
  gap: 2rem;
  align-items: stretch; /* делает высоты одинаковыми */
  margin-bottom: 2rem;
}

.photo {
  flex: 4; /* 4 части из 5 */
}

.photo img {
  width: 100%;
  max-width: 90%;
  max-height: 400px; /* уменьшенная высота */
  height: auto;
  object-fit: cover;
  display: block;
}

.text {
	
  flex: 1; /* 1 часть из 5 */
  font-size: 1.9rem;
  line-height: 2.5rem;
  padding: 1rem;
  border: 3px solid #ccc;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center; 
}



.text p {
  margin: 0.6rem 0;
}

/* Нижняя часть с кнопкой */
.bottom-block {
  display: flex;
  justify-content: flex-end; /* выравнивание по правому краю */
  margin-right: 1.5rem; /* подстраиваем отступ, чтобы совпадало по краю с .text */
  margin-top: 1rem;
}


.btn_more_1 {
  display: inline-block;
  margin-top: 1rem;
  padding: 1.2rem 4rem; /* Увеличили вертикальный и горизонтальный отступ */
  width: auto;           /* Убираем фиксированную ширину — она подстраивается под контент и padding */
  font-size: 1.4rem;     /* Увеличили шрифт */
  border: solid 2px rgb(209, 209, 209);
  border-radius: 8px;    /* Чуть более круглые углы */
  color: white;
  background-color: #3b5998;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn_more_1:hover {
  background-color: #3b5998;
  transform: translateY(-3px);
}





/* БЛОК В КОТОРОМ НАХОДЯТСЯ ВСЕ КЛАССЫ ДЛЯ ПОДБЛОКА "ГЕНБАНК АККРЕДИТОВАЛ НАСТРОЙКИ */

.content_top_builds {
	margin: 1.5rem;
	display: flex;
	justify-content: space-around;
	gap: 0.5rem;

	img {
		border-radius: 10px;
		width: 15rem;;
		height: auto;
	}
}

.content_catalog_top_builds {
	width: 450px; /* Задайте нужное значение */
	min-height: 200px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background-color: rgb(232, 232, 250);
	border-radius: 15px;
	padding: 1rem;
}



.catalog_top_builds {
	display: flex;
	gap: 1rem;
	
}

.top_title {
	font-size: 1.5rem;
}

.top_info {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 1.15rem;

	button {
		/* position: absolute; */
		right: 0;
		bottom: 0;
	}
}

.btn_more {
	/* margin-top: auto; */
	margin-top: 1rem;
	background: none;
	padding: 1rem 3rem;
	width: 8rem;
	border: solid 2px rgb(209, 209, 209);
	border-radius: 5px;
	color: white;
	background-color: #3b5998;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: auto;
}
.btn_more:hover {
	background-color: #3b5998;
	transform: translateY(-3px);
	transition: transform 0.5s ease;
}

/* Адаптив для планшетов и ниже */
@media (max-width: 1024px) {
  .top-block {
    flex-direction: column;
    align-items: center;
  }

  .photo {
    flex: none;
    width: 100%;
  }

  .photo img {
    max-width: 100%;
    max-height: 300px;
  }

  .text {
    flex: none;
    width: 95%;
    font-size: 1.6rem;
    line-height: 2.2rem;
    margin-top: 1rem;
  }

  .content_top_builds {
    flex-direction: column;
    align-items: center;
  }

  .content_catalog_top_builds {
    width: 90%;
  }

  .catalog_top_builds {
    flex-direction: column;
    align-items: center;
  }
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
  .text {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .btn_more_1, .btn_more {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.2rem;
  }

  .content_catalog_top_builds {
    width: 95%;
  }

  .content_top_builds img {
    width: 100%;
    max-width: 300px;
  }
}

/* Адаптив для очень маленьких экранов */
@media (max-width: 480px) {
  .text {
    font-size: 1.2rem;
    line-height: 1.8rem;
    padding: 0.5rem;
  }

  .btn_more_1, .btn_more {
    font-size: 1rem;
  }

  .top_title {
    font-size: 1.3rem;
  }

  .top_info {
    font-size: 1rem;
  }
}
