/* ***** base styles reset ***** */
h1 {
	line-height: initial;
	letter-spacing: initial;
}

p {
	margin-bottom: 0;
	line-height: initial;
	letter-spacing: initial;
}

ol,
ul {
	margin-bottom: 0;
	padding-left: 0;
}

/* ***** /base styles reset ***** */
.contacts {
	padding-top: 68px;
	font-family: 'Geometria';
	background-color: #f4f4f4;
	padding-bottom: 48px;
	/* background-image: url(/img/bicyclist-gray-vector.svg);
	background-size: 614px 500px;
	background-repeat: no-repeat;
	background-position: calc(50% + 370px) calc(100% - 45px); */
}

/* .contacts__body {
	padding-bottom: 48px;
	background-image: url(/img/bicyclist-gray-vector.svg);
	background-size: 614px 500px;
	background-repeat: no-repeat;
	background-position: calc(50% + 370px) calc(100% - 45px);
} */
.contacts__title {
	margin-bottom: 45px;
	font-size: 46px;
	font-weight: 700;
	color: #2C2826;
}

.contacts__row {
	/* display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px; */
	margin-bottom: 40px;
}

.contacts__col {
	flex: 1 1 100%;
}

/* .contacts__col:first-child {
	margin-right: 20px;
} */
.contacts__par {
	font-size: 17px;
	line-height: 1.7;
	text-align: justify;
	color: #545250;
}

.contacts__details {
	margin-bottom: 40px;
	color: #545250;
}

.contacts__details-title {
	margin-bottom: 20px;
	font-size: 22px;
	font-weight: 700;
}

.contacts__details-par {
	font-size: 18px;
	font-weight: 700;
}

.contacts__details-par:not(:last-of-type) {
	margin-bottom: 20px;
}

.contacts__tel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 35px;
}

.contacts__tel-par {
	margin-right: 20px;
	font-size: 22px;
	font-weight: 700;
	color: #302b2b;
}

.contacts__tel-link,
.contacts__mail-link {
	font-size: 22px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #ff335f;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	color: #ff335f;
}

.contacts__address,
.contacts__schedule {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.contacts__address {
	margin-bottom: 35px;
}

.contacts__address-par,
.contacts__schedule-par {
	margin-right: 20px;
	font-size: 22px;
	font-weight: 700;
	color: #302b2b;
}

.contacts__address-item {
	padding-left: 20px;
	color: #ff335f;
	font-weight: 500;
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.7223 1.94628L5.94685 9.37116C5.08297 10.2096 4.71269 10.2096 3.84912 9.37116L0.393575 6.01796C-0.840748 4.82034 1.13414 3.26372 2.1215 4.34121L4.83648 6.97578L11.9944 0.269372C12.3646 -0.0897908 13.352 -0.0897908 13.7223 0.269372C14.0926 0.628688 14.0926 1.58696 13.7223 1.94628Z' fill='%23ff335f'/%3E%3C/svg%3E");
	background-size: 14px 10px;
	background-repeat: no-repeat;
	background-position: left 8px;
}

.contacts__address-item:not(:last-child) {
	margin-bottom: 5px;
}

.contacts__schedule-par .nowrap {
	white-space: nowrap;
}

.contacts__address-par--hl,
.contacts__schedule-par--hl {
	margin-right: 0;
	color: #ff335f;
}

.contacts__mail {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* margin-bottom: 35px; */
}

.contacts__mail-par {
	margin-right: 20px;
	font-size: 22px;
	font-weight: 700;
	color: #302b2b;
}

.contacts__schedule-par .nowrap {
	white-space: nowrap;
}

.contacts__ya-map {
	width: 100%;
	height: 100%;
	/* height: 440px; вычисляется через JS*/
	box-shadow: 0px 0px 10px 5px rgb(100 100 100 / 15%);
}

.placemark-caption {
	position: absolute;
	z-index: -1;
	left: 0;
	top: 50px;
	display: inline;
	max-width: 250px;
	padding: 4px 8px;
	white-space: nowrap;
	text-overflow: ellipsis;
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	overflow: hidden;
}

.balloon__name {
	margin-bottom: 2px;
	font-size: 15px;
	font-weight: 700;
	color: #ff335f;
}

.balloon__address {
	margin-bottom: 2px;
}

.balloon__contacts {
	font-weight: 700;
}

@media (max-width: 1399.98px) {
	/* .contacts {
		background-position: calc(50% + 350px) calc(100% - 45px);
	} */
}

@media (max-width: 1199.98px) {
	/* .contacts {
		background-size: 500px 370px;
		background-position: calc(50% + 280px) calc(100% - 30px);
	} */
}

@media (max-width: 991.98px) {
	.contacts {
		padding-top: 50px;
		padding-bottom: 40px;
		/* background-image: none; */
	}

	.contacts__title {
		margin-bottom: 40px;
		font-size: 35px;
	}

	.contacts__row {
		grid-template-columns: 100%;
	}

	/* .contacts__col:first-child {
		margin-right: 0;
		margin-bottom: 40px;
	} */
	.contacts__ya-map {
		height: 300px;
	}

	.contacts__par {
		font-size: 16px;
	}

	.contacts__details {
		margin-bottom: 30px;
	}

	.contacts__details-title {
		font-size: 20px;
		margin-bottom: 15px;
	}

	.contacts__details-par {
		font-size: 16px;
	}

	.contacts__details-par:not(:last-of-type) {
		margin-bottom: 15px;
	}

	.contacts__tel-par,
	.contacts__tel-link,
	.contacts__mail-par,
	.contacts__mail-link,
	.contacts__address-par,
	.contacts__schedule-par {
		font-size: 18px;
	}

	.contacts__tel,
	.contacts__mail,
	.contacts__address {
		margin-bottom: 25px;
	}
}

@media (max-width: 767.98px) {
	.contacts__title {
		font-size: 30px;
	}

	.contacts__tel-par,
	.contacts__mail-par,
	.contacts__address-par,
	.contacts__schedule-par {
		margin-right: 15px;
	}

	.contacts__address-par--hl,
	.contacts__schedule-par--hl {
		margin-right: 0;
	}

	.placemark-caption {
		transform: translateX(-95px);
	}
}

@media (max-width: 575.98px) {
	.contacts {
		padding: 40px 0;
	}

	.contacts__title {
		margin-bottom: 30px;
		font-size: 28px;
	}

	.contacts__row {
		margin-bottom: 30px;
	}

	.contacts__ya-map {
		height: 200px;
	}

	.contacts__details {
		margin-bottom: 20px;
	}

	.contacts__tel-par,
	.contacts__tel-link,
	.contacts__mail-par,
	.contacts__mail-link,
	.contacts__address-par,
	.contacts__schedule-par {
		font-size: 16px;
	}

	.contacts__tel-par,
	.contacts__mail-par,
	.contacts__address-par,
	.contacts__schedule-par {
		flex: 1 1 100%;
		margin-right: 10px;
	}

	.contacts__tel,
	.contacts__mail {
		margin-bottom: 15px;
	}
}