*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
    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_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;
    /* font-size: 1.2rem; */
}

#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;
	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 { */
		#fb_form_img {
			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%;
	}
}


#main_column {
	width: 95%;
	margin: 0 auto;
}

#container {
	display: flex;
	width: 100%;
	gap: 50px;

}

/* *************************** левый блок */
#main_block {
	width: 70%;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: start;
	gap: 50px;
} 

#left_block_img {
	display: flex;
	justify-content: start;
	gap: 20px;
	width: 100%;
	height: 600px;

	#main_img {
		width: 65%;
		height: auto;
		object-fit: cover;
		border-radius: 25px;
	}
}

#imgs {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 30%;

	img {
		width: 100%;
		height: 190px;
		border-radius: 25px;
	}
}

/* **************************** видео */
  .video-preview {
    position: relative;
    width: 100%;
    max-width: 600px;
    cursor: pointer;
  }
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
  }
  .modal-content {
    margin: auto;
    background: #000;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    border-radius: 10px;
  }
  .close {
    color: white;
    position: absolute;
    top: 10px; right: 20px;
    font-size: 30px;
    cursor: pointer;
  }
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    text-shadow: 0 0 10px black;
  }

/* *************************** правый блок */
#right_block.rb_in_main_block {
	display: none;
}

#right_block {
	position: sticky;
    top: 20px;          
    background-color: white; 
	font-size: clamp(14px, 1.8vw, 16px);
	width: 30%;
	height: fit-content;
	border: solid 3px rgb(209, 209, 209);
	border-radius: 25px;
	padding: 20px;

	p, input, button {
		margin-bottom: 10px;
	}

	p:first-of-type {
		color: gray;
		margin-bottom: 20px;
	}
	#name_zk {
		font-weight: bold;
		font-size: clamp(16px, 2vw, 21px);
	}
	#msg_form {
		font-weight: bold;
		margin-top: 20px;
	}
}
#rb_inputs {
	display: flex;
	flex-direction: column;

	input {
		height: 2.5rem;
		border-radius: 10px;
		padding: 10px;
		border: none;
		background-color: rgb(209, 209, 209, 0.25);
	}
}

#rb_buttons {
	display: flex;
	flex-direction: column;

	button {
		/* font-size: 1.2rem; */
		font-size: clamp(12px, 2.5vw, 14px);
		height: 3rem;
		border-radius: 10px;
		cursor: pointer;
	}
	button:first-of-type {
		background-color: #077eff;
		border: none;
		color: white;
		margin-top: 5px;
	}
	button:last-child {
		background-color: none;
		border: 1px solid #077eff;
		color: #077eff;
	}

}

#left_block {
	display: flex;
	flex-direction: column;
}



#back_popup_rb_form {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}
#popup_rb_form {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-image: url('/assets/background_rb_form.png');
	background-repeat: no-repeat;
	background-size: cover;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    width: 100%;
	max-height: 250px;
	height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease;
	font-size: 1.4rem;
	font-weight: bold;
	
	p:last-of-type {
		margin-top: 10px;
		font-weight: 100;
		font-size: 1.2rem;
	}
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
#popup_rb_form button {
    margin-top: 30px;
	width: 50%;
    padding: 10px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 10px;
    cursor: pointer;
	font-size: 1.2rem;
}


/* ************************ адаптив правый блок */
@media (width <= 1230px) {
	#right_block.rb_main {
		display: none;
	}

	#right_block.rb_in_main_block {
		display: block;
		position: relative;
		width: 100%;
	}

	#main_block {
		width: 100%;
	}
}

/* ************************ адаптив левый блок */
@media (width > 600px) and (width <= 900px) {
	#left_block_img {
		height: 400px;
	}
	#imgs {
		justify-content: space-between;
		img, div {
			height: 30%;
		}
		div img {
			height: 100%;
		}
	}
	.play-button {
		top: 40%;
	}
}
@media (width <= 600px) {
	#left_block_img {
		flex-direction: column;
		height: fit-content;
	}
	#left_block_img #main_img {
		width: 100%;
		border-radius: 15px;
	}
	#imgs {
		flex-direction: row;
		width: 100%;
		justify-content: space-between;

		img, div {
			width: 33%;
			height: 100%;
			border-radius: 10px;
		}
		div img {
			width: 100%;
		}
	}
	.play-button {
		top: 70%;
		font-size: clamp(40px, 10vw, 60px);
	}
}
@media (width <= 400px) {
	.play-button {
		font-size: clamp(20px, 9vw, 40px);
	}
}

/* ******************************** калькулятор */
#calculate_ipoteka {
	width: 100%;
	font-size: 1.2rem;
	border: 3px solid rgb(209, 209, 209);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: 30px;
}
#calc_text_start {
	width: 100%;
	
	p {
		font-size: clamp(14px, 2vw, 16px);
		margin-top: 10px;
	}
}
#calc_main {
	width: 100%;
	display: flex;
}
#calc_main_left {
	width: 50%;

	p {
		font-size: 1rem;
		margin-bottom: 5px;
	}

	input {
		border: 2px solid rgb(209, 209, 209);
		height: 3rem;
		padding: 10px;
		border-radius: 10px;
		width: 100%;
	}

	button {
		border: none;
		border-radius: 10px;
		width: 75%;
		height: 3rem;
		background-color: #077eff;
		color: rgb(255, 255, 255, 0.9);
		font-weight: bold;
		margin-top: 20px;
		cursor: pointer;
	}
}
.blocks_inputs {
	width: 75%;
	position: relative;
	margin-bottom: 20px;
	
	span {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		font-weight: bold;
	}
}



#calc_main_right {
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background-color: rgb(209, 209, 209, 0.25);
	padding: 10px;
	border-radius: 5px;
}

.bank {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	background-color: white;
	border-radius: 10px;
	padding: 10px;

	img {
		width: 30%;
		min-width: 80px;
	}
}
.bank_info {
	display: flex;
	justify-content: space-between;
	font-size: clamp(12px, 1vw, 14px);
}
.bank_info_content {
	display: flex;
	flex-direction: column;
	gap: 5px;

	p:last-child {
		font-weight: bold;
	}
}
#last_text {
	font-size: clamp(12px, 2vw, 14px);
	color: gray;
}



/* ****************** адаптив калькулятор */
@media (width <= 1230px) {
	.bank_info {
		font-size: clamp(12px, 1.2vw, 14px);
	}
}
@media (width <= 950px) {
	.bank_info {
		font-size: clamp(12px, 2vw, 14px);

		div:first-child {
			display: none;
		}
	}
}
@media (width <= 500px) {
	#calc_main_right {
		display: none;
	}
	#calc_main_left {
		width: 100%;
	}
}




/* Все предложения в категориях ****************  */
#list_category {
	width: 100%;
	border: 3px solid rgb(209, 209, 209);
	border-radius: 15px;
	padding: 30px;
	font-size: clamp(12px, 1.3vw, 14px);
	max-height: 500px;
	overflow: auto;

	  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,       
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.5) 100%      
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.1) 100%
  );

	h2 {
		margin-bottom: 30px;
	}

	ul {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		min-width: 900px;
		overflow: auto;
	}

	li {
		list-style: none;
		cursor: pointer;
		width: fit-content;
		padding: 10px 20px;
		border-radius: 25px;
		background-color: rgb(221, 235, 255);
		display: flex;
		justify-content: center;
		align-items: center;
	}
}



/* ********************************* таблица */
#description_table {
	display: flex;
	justify-content: space-evenly;
	gap: 20px;
	width: 100%;
	overflow-x: auto;
	font-size: clamp(12px, 1.8vw, 14px);
	padding-bottom: 10px;
	scroll-behavior: smooth;

  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,       
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.5) 100%      
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.1) 100%
  );
}
#header_table {
	width: 100%;
	text-align: center;
	margin-bottom: -30px;
}
.descr_tables {
	display: grid;
	grid-template-columns: minmax(150px, 400px) minmax(125px, 400px);
	border-radius: 10px;
	border: 1px solid rgb(209, 209, 209);
	background-color: rgb(209, 209, 209, 0.15);

	div:not(:last-child):not(:nth-last-child(2)) {
		border-bottom: 1px solid rgb(209, 209, 209);
	}
	div:nth-child(odd) {
		border-right: 1px solid rgb(209, 209, 209);
	}
	div {
		padding: 15px 10px;
	}
}

/* ***************************** текст описание */
#description_text {
	width: 100%;
	font-size: clamp(14px, 1.5vw, 16px);
	margin-top: -30px;
	margin-bottom: -30px;

	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;
}
/* *********************** адаптив текст описание */
/* @media (width <= 600px) { */
	/* #description_text p:last-of-type { */
		/* display: none; */
	/* } */
/* } */

/* *********************************** планировки */
#planirovki {
	width: 100%;
	text-align: center;
}
#planirovki_imgs {
	margin-top: 20px;
	display: flex;
	gap: 30px;
	overflow-x: auto;

	  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,       
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.5) 100%      
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.5) 100%
  );

	img {
		/* width: 23%;
		min-width: 200px;
		flex-wrap: nowrap;
		height: auto; */

		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 200px;
		object-fit: contain;
		flex-shrink: 0;
	}
}


/* ************************************** цены */
#prices {
	width: 100%;
	text-align: center;
	font-size: clamp(14px, 2vw, 16px);

	h2 {
		margin-bottom: 20px;
	}
}
#prices table {
	width: 100%;
	border-collapse: collapse;

	td {
		border: 2px solid rgb(209, 209, 209);
		padding: 10px;
		text-align: center;
	}
}
#table_prices_one {
	tr:first-of-type {
		font-weight: bold;
	}
}
#table_prices_two {
	display: none;

	td:first-of-type {
		font-weight: bold;
	}
	td {
		width: 280px;
	}
}
#prices_yes_block {
	display: flex;
	gap: 20px;
	justify-content: center;
}
.prices_yes {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 5px;

	span:first-of-type {
		font-weight: bold;
		border: 2px solid rgb(209, 209, 209);
		border-radius: 5px;
		text-align: center;
		padding: 10px;
		width: fit-content;
	}
}

/* ************************* адаптив цены */
@media (width <= 600px) {
	#table_prices_one {
		display: none;
	}
	#table_prices_two {
		display: flex;
	}
	#prices {
		font-size: clamp(12px, 3vw, 14px);
	}
	#prices_yes_block {
		gap: 15px;
	}
	.prices_yes span:first-of-type {
		padding: 5px;
	}
}

/* *********************** 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(20px, 3vw, 28px);
}

/* *********************** h2 */
h2 {
	font-size: clamp(16px, 3vw, 21px);
}


/* ********************** варианты покупки */
#variants_buy {
	width: 100%;
	margin-top: 20px;

	h2 {
		margin-bottom: 20px;
	}
	img {
		width: 60px;
		height: 60px;
	}
}
#var_blocks {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	flex: 1;
	gap: 20px;
	padding-bottom: 10px;

	  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,       
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.5) 100%      
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.1) 100%
  );
}
.var_block {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 30%;
	border: 3px solid rgb(209, 209, 209);
	height: 250px;
	min-height: 200px;
	max-height: 400px;
	padding: 20px;
	border-radius: 10px;

	p:first-of-type {
		font-weight: bold;
	}
}

/* ******************* адаптив варианты покупки */
@media (width <= 900px) {
	.var_block {
		gap: 10px;
	}
}
@media (width <= 800px) {
	#var_blocks {
		overflow-x: auto;
	}
	.var_block {
		min-width: 220px;
	}
}
/* ************************** экскурсия */
#tour_block {
	width: 100%;
	min-height: 300px;
	height: fit-content;
	background-image: url('https://i.pinimg.com/originals/0f/d5/40/0fd5408363da8b47a1e41533dba8b427.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 20px;
	border: 3px solid rgb(209, 209, 209);
	padding: 20px;
}

#inputs {
	display: flex;
	gap: 20px;
	width: 50%;
	min-width: 170px;
	margin-top: 2rem;
}
.tour_l_r {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;

	input:not([type="checkbox"]), button {
		border: 2px solid rgb(209, 209, 209);
		border-radius: 10px;
		padding: 10px;
		height: 3rem;
		font-size: clamp(12px, 1.5vw, 14px);
	}

	button {
		background-color: #077eff;
		color: white;
		border: none;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	
	div {
		width: fit-content;
		display: flex;
		gap: 3px;
	}

	span {
		font-size: clamp(12px, 1.2vw, 14px);
		white-space: nowrap;
	}
}

/* ********************* адаптив экскурсия */
@media (width <= 550px) {
	#tour_block {
		background-position: right;
	}
	.tour_l_r div {
		width: 50%;

		span {
			white-space: wrap;
		}
	}
}
@media (width <= 430px) {
	#inputs {
		flex-direction: column;
	}
	.tour_l_r div {
		width: 150%;
	}
}

/* *************** похожие новостройки ялты */
#sim_nov_header {
	text-align: center;
	background-color: rgb(209, 209, 209);
	box-shadow: 0 0 0 20px rgb(209, 209, 209);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
#similar_novostroiki {
	width: 100%;
	border: 3px solid rgb(209, 209, 209);
	border-radius: 20px;
	padding: 20px;

	ul {
		display: flex;
		justify-content: space-around;
		margin-top: 40px;
		flex-wrap: nowrap;
		width: 100%;
		overflow-x: auto;
		gap: 20px;
		padding-bottom: 10px;

		  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,       
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.5) 100%      
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    black 40px,
    black calc(100% - 40px),
    rgba(0, 0, 0, 0.1) 100%
  );
	}

	li {
		list-style: none;
		text-align: center;
		width: 23%;
		min-width: 200px;
		/* background-color: rgb(232, 232, 250); */
		padding: 10px;
		border-radius: 5px;
	}
	li p {
		margin-top: 10px;
		font-size: clamp(14px, 1.5vw, 16px);
	}
	img {
		width: 175px;
		border-radius: 10px;
		width: 65%;
	}
}
#sim_nov_last_text {
	text-align: center;
	margin-top: 20px;
	font-size: clamp(14px, 1.5vw, 16px);
}


/* ******************** над футером */
#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: nowrap; /* Позволяет изображениям переходить на следующую строку, если экран маленький */
    width: 100%; /* Блок с изображениями занимает всю ширину */
    text-align: center; /* Центрирует изображения внутри блока */
    margin-top: 20px; /* Отступ сверху, чтобы изображения не были слишком близко к тексту */
    margin-top: 2rem; /* Отступ сверху, чтобы изображения не были слишком близко к тексту */
}

.partners_block img {
    max-width: 30%;
    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;
}
