/*   
Theme Name: Индивидуальная тема
Theme URI: https: //kwork.ru/user/ravlex
Version: 1.0
Description: С вниманием к деталям
Author: Ravlex
Author URI: https: //kwork.ru/user/ravlex
*/
.header__logo img {
	width: 150px;
	height: auto;
}
.header__tel {
	text-decoration: none;
}

.header__tel:hover {
	color: #fff;
}

.header-top__phone {
	text-decoration: none;
	display: inline-flex;
}

.static-page:not(.sticky) .header__tel,
.static-page:not(.sticky) .header__links {
	color: #000;
}

.static-page:not(.sticky) .header__links img,
.static-page:not(.sticky) .header__tel:before {
	-webkit-filter: brightness(0);
	filter: brightness(0);
}

@media (max-width: 768px) {
	.main-text__item ul {
		grid-template-columns: repeat(2, 1fr);
	}

	.map__text {
		flex: 1;
	}
}

.main-objects__item {
	text-decoration: none;
	cursor: pointer;
}

.modal__t-input {
	z-index: 2;
}

.modal>div {
	position: relative;
	z-index: 2;
}

.wpcf7-not-valid-tip {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin-right: 10px;
	text-align: right;
	font-size: 12px;
}

.wpcf7-not-valid {
	border-color: red !important;
}

.wpcf7 form .wpcf7-response-output {
	font-size: 12px;
}

.modal .btn {
	outline: none;
}

.form__tel input {
	border: 1px solid transparent;
}

.form__tel .wpcf7-not-valid-tip {
	display: none;
}

.form-bottom {
	color: #fff;
}

.agree {
	display: none
}

#top {
	position: fixed;
	left: 40px;
	bottom: 40px;
	border-radius: 5px;
	background-color: #fff;
	background-color: #2340d9;
	-webkit-box-shadow: 3px 3px 10px rgb(0 0 0 / 40%);
	box-shadow: 3px 3px 10px rgb(0 0 0 / 40%);
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-transition-duration: .15s;
	-o-transition-duration: .15s;
	transition-duration: .15s;
	opacity: 0;
	visibility: hidden;
	width: 40px;
	height: 40px;
	z-index: 100;
	cursor: pointer;
	padding-top: 3px;
}

#top::before {
	content: '';
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
	border: solid #fff;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}

#top.show {
	opacity: 1;
	visibility: visible;
}


.city_modal {
	width: 860px;
	-webkit-box-shadow: 4px 4px 84px rgba(0, 0, 0, 0.09);
	box-shadow: 4px 4px 84px rgba(0, 0, 0, 0.09);
	/* height: 300px; */
	background: #fff;
	position: fixed;
	top: 50%;
	right: 0;
	left: 0;
	margin: auto;
	display: none;
	opacity: 0;
	z-index: 1005;
	box-sizing: border-box;
	padding: 40px 30px 30px;
	padding: 70px 80px;
}

.city_modal>* {
	position: relative;
	z-index: 3;
}

.city_modal:before {
	border: 27px solid #f2f3f8;
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.city_modal .city_modal_close {

	position: absolute;
	top: 40px;
	right: 40px;
	cursor: pointer;
	display: block;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.links-city {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 20px;
}

.city_overlay {
	z-index: 1001;
	/* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
	position: fixed;
	/* всегдa перекрывaет весь сaйт */
	background-color: #000;
	/* чернaя */
	opacity: 0.8;
	/* нo немнoгo прoзрaчнa */
	-moz-opacity: 0.8;
	/* фикс прозрачности для старых браузеров */
	filter: alpha(opacity=80);
	width: 100%;
	height: 100%;
	/* рaзмерoм вo весь экрaн */
	top: 0;
	/* сверху и слевa 0, oбязaтельные свoйствa! */
	left: 0;
	cursor: pointer;
	display: none;
	/* в oбычнoм сoстoянии её нет) */
}

.choose_city_title {
	color: rgb(45, 46, 58);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.17;
	margin-bottom: 30px;
	display: block;
}


.city_modal a {
	font-weight: 500;
	font-size: 14px;
	line-height: 1;
	color: #9B9FB3;
	display: flex;
	align-items: center;
	position: relative;
	padding: 10px;
	text-decoration: none;
}

.city_modal a.current-city {
	background-color: #000;
}

.city_modal a.current-city .icon-checkbox {
	background-color: #fff;
	border-color: #fff;
	position: relative;
}

.city_modal a.current-city .icon-checkbox:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 6px;
	height: 6px;
	background-color: #000;
	border-radius: 100%;
}

.city_modal a .icon-checkbox {
	content: '';
	border: 1px solid #C5CFD8;
	width: 12px;
	height: 12px;
	border-radius: 100%;
	flex-shrink: 0;
	margin-right: 9px;
}

.city_modal a:hover {
	text-decoration: none;
}


.adress_popover {
	position: relative;
	z-index: 100;
	cursor: pointer;
	display: inline-block;
}

.header__city span {
	display: contents;
}
.current-main-city {
	cursor: pointer;
}
.city_popover {
	display: none;
	width: 230px;
	float: left;
	font-size: 16px;
	background-color: #fff;
	position: absolute;
	color: #000;
	top: 100%;
	left: 50%;
	box-sizing: border-box;
	padding: 20px;
	text-align: center;
	border: 3px solid #50ad30;
	margin-top: 35px;
	opacity: 0;
	font-weight: bold;
}

.city_popover:after {
	content: '';
	position: absolute;
	top: -18px;
	left: 50%;
	margin-left: -12px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 15px 15px 15px;
	border-color: transparent transparent #50ad30 transparent;
	z-index: -1;
}

.city_popover a {
	display: inline-block;
	margin: 10px 20px 0;
	color: #50ad30;
}

.city_name {
	display: inline-block;
}
.mobile-wrapper .header__city{
margin: 30px 0 0;
}
.mobile-wrapper .header__city:before {
filter: invert(1);
}
@media (max-width: 992px) {
	.city_modal {
			padding: 25px 15px;
			width: 100%;
	}
	.city_modal::before {
		border-width: 5px;
	}
	.city_modal .city_modal_close {
		color: #fff;
		right: 10px;
		top: 20px;
		z-index: 10;
	}
	.choose_city_title {
		font-size: 22px;
	}
}
@media (max-width: 992px) {
	.links-city {
		grid-template-columns: repeat(2,1fr);
		gap: 0;
	}
	.city_modal a {
		font-size: 12px;
		padding: 10px;
	}
}
