/* map */

.page .map {
	position: unset;
	top: unset;
	left: unset;
	width: unset;
	height: unset;
}

.map__wrap {
    display: flex;
    position: relative;
}

.map__wrap:before {
    content: '';
	width: 100%;
    padding-bottom: 35%;
}

.map__wrap iframe, #map {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
	object-fit: cover;
	border-radius: 1.5rem;
}

.contact-item__cover-thumb .map {
	border-radius: 0 !important;
}

.contacts-list {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
}

/* .contact-item__info, .contact-item__info-wrap, .contacts-items .contact-sub-items {
	flex: 1;
} */

.contact-sub-items {
	margin-top: .5rem;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.contacts-items .btn {
	width: 100%;
}

.contact-item.tel:after {
	display: none;
}

.contact-item.tel {
	width: fit-content;
}

.contact-item.tel path {
	fill: var(--fill-1);
}

.contact-item .tag-item {
	border-color: var(--fill-gray);
	color: var(--fill-font) !important;
	font-size: .875rem;
	pointer-events: none;
	margin: 0 !important;
}

.contact-item a.tag-item {pointer-events: all;}

.contact-item a.tag-item:hover {
	border-color: var(--fill-1);
	color: var(--fill-1) !important;
}

.contacts-item__cover-thumb, .contact-item__cover-thumb {
	position: relative;
	padding-bottom: 60%;
}

.contacts-item__cover-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contacts-list__address {
	padding: 0;
}

.contacts-list a {
	width: fit-content;
	display: block;
}

.contacts-list__address {
	text-align: left;
}

.contacts-list {
	text-align: left;
}

/* .ymaps-2-1-79-balloon img {
	background: transparent;
	width: fit-content;
	height: 10rem;
	border-radius: 1rem;
} */

.map .btn {
	flex-direction: row !important;
}

.map .btn img {
	width: 1.25rem;
	height: 1.25rem;
	margin-right: .5rem;
	transition: var(--transition);
	filter: brightness(5);
}

.map .btn:hover img {
	filter: brightness(1);
}

.contact-item__info {
	display: flex;
	flex-direction: column;
}

.contact-item__info-head + .contact-sub-items {
	margin-top: 1rem;
}

.contact-item .post-title {
	font-weight: 400 !important;
	/* letter-spacing: .05rem; */
	line-height: 1.5;
}

.contact-sub-item__label {
	color: var(--fill-1);
	/* font-size: .875rem; */
}

.contact-sub-item__value {
	margin-top: .25rem;
	/* font-size: 1.125rem; */
}

/* .contact-sub-item {
	font-weight: 300;
} */

.contact-sub-item:not(:first-child) {
	margin-top: 1rem;
	/* padding-top: .75rem;
	border-top: 1px solid var(--fill-gray); */
}

.contact-sub-item .link {
	display: block;
}

.contact-sub-item .link:not(:last-child) {
	margin-right: 1rem;
}

.contact-sub-item__value.--mode {
	font-size: 1rem;
}

.contact-sub-item__value b {
	font-weight: 500;
}

/* .contact-sub-item__value span {
	opacity: .7;
} */

.contact-sub-item__value hr, .contact-sub-item hr {
	margin: 0.25rem 0;
}

.contact-item .tabs, .contact-sub-item__wrap {
	margin-top: .5rem;
}

.contact-item .tags-items {
	margin-top: .25rem;
	gap: .75rem !important;
}



@media screen and (max-width: 991px) {

	.map__wrap:before {
		padding-bottom: 50%;
	}

	.contact-item__cover-thumb {
		order: 1;
	}

	.contacts-list__more-btn, .contacts-list__order-btn, .contacts-list .btn {
		width: 100% !important;
	}

}

@media screen and (max-width: 640px) {
	
	.map .title {
		text-align: left !important;
	}

	.map__wrap:before {
		padding-bottom: 100%;
	}

}

/* /map */



/* map 2.0 */

.contact-item .tab-tag {
    padding: .25rem .5rem;
    font-size: .875rem;
}

.contact-item .tab-tag:not(:last-child) {
    margin-right: .75rem;
}

.contact-item .tabs-items {
    margin-top: 1rem;
    padding: unset;
}

.contact-item .contact-btns {
    gap: 1rem;
}

.contact-item .btn-booking {
    flex: 1;
}

.contact-item .consultation-card__button {
    margin: unset;
    padding: 1.5rem;
}

.contact-item .consultation-card__button::before {
    content: unset;
}

.contact-item .tabs-items:first-child {
    margin-top: unset;
}

@media screen and (max-width: 640px) {

	.contact-item .tabs-items {
		margin-top: unset !important;
	}

}

/* /map 2.0 */


/* Теги в baloons */

.ymaps-2-1-79-balloon {
	/* min-height: 60vh; */
	border: none;
	border-radius: 1rem;
}

.map .btns {
	max-width: 100%;
	gap: .5rem;
	flex-wrap: wrap;
	/* position: absolute;
	z-index: 1;
	bottom: -1rem;
	padding-bottom: 1rem; */
}

.map .btn {
	width: 100%;
}

@media (max-width: 640px) {

}

/* /Теги в baloons */