.map-adresses .address-column,
.map-adresses .map-column {
	max-height: 580px;
}

.map-adresses #ymap-container {
	height: 580px;
}

.map-adresses.with-search .address-column {
	max-height: 536px;
}

.map-adresses .office-search {
	display: none;
	max-height: 40px;
	position: relative;
}

.map-adresses .office-search .bi-search {
	position: absolute;
	left: 1.3rem;
	top: 0.4rem;
}

.map-adresses .office-search input {
	padding-left: 3.5rem;
	font-size: 0.9rem;
	border-radius: 0;
}

.map-adresses.with-search .office-search {
	display: block;
}

.map-adresses .address-column {
	overflow-y: scroll;
}

.map-adresses .address-column::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 9px;
	background-color: var(--ant-bg-light-alt);
    border-radius: 4px;
}

.map-adresses .address-column::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 165, 191, 0.81);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.map-adresses .map-address-list {
	background-color: var(--ant-bg-light);
	height: 100%;
}

.map-adresses .map-address-list li {
	display: flex;
	align-items: center;
	position: relative;
	background-color: var(--ant-bg-light);
	border-bottom: 1px solid var(--ant-bg-light-alt);
	padding: 0.8rem 0.3rem 0.8rem 3.5rem;
	min-height: 5.5rem;
}

.map-adresses .map-address-list li:hover {
	background-color: #e3e9f0;
}

.map-adresses .map-address-list li .address-name {
	float: none!important;
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.2;
}

.map-adresses .map-address-list li.type_labushka .address-name {
	font-weight: 500;
}

.map-adresses .map-address-list li .detail-link {
	font-weight: 300;
	font-size: 0.75rem;
	bottom: 0rem;
	right: 0.25rem;
	opacity: 0;
	transition: opacity 0.2s ease-in-out 0s;
	z-index: 50;
}

.map-adresses .map-address-list li:hover .detail-link {
	opacity: 1;
	transition: opacity 0.25s ease-in-out 0.25s;
}

.map-adresses .map-address-list li .detail-link .bi {
	font-size: 0.6rem;
}

.map-adresses .map-address-list .location-icon {
	position: absolute;
	left: 0.75rem;
	top: calc(50% - 1.0rem);
	width: 2.0rem;
	height: 2.0rem;
	text-align: center;
	color: #fff;
}

.map-adresses .map-address-list .location-icon.map-location-icon {
	background: url(/local/img/map/icon_adress_location2_w.svg) center center no-repeat;
	background-size: 14px auto;
}

.map-adresses .map-address-list .location-icon.mline_metro {
	background: url(/local/img/map/icon_adress_mosmetro_w.svg) center center no-repeat;
	background-size: 22px auto;
}

.map-adresses .map-address-list .location-icon.mline_metro_spb {
	background: url(/local/img/map/icon_adress_spbmetro_w.svg) center center no-repeat;
	background-size: 22px auto;
}

.map-adresses .map-address-list .location-icon.mline_mcd_d1 {
	background: url(/local/img/map/icon_adress_mcdd1_w.svg) center center no-repeat;
	background-size: 22px auto;
}

.map-adresses .map-address-list .location-icon.mline_mcd_d2 {
	background: url(/local/img/map/icon_adress_mcdd2_w.svg) center center no-repeat;
	background-size: 22px auto;
}




/* @group Map Baloon */
.ymaps-2-1-79-balloon__content {
	margin-right: 0 !important;
	padding: 1rem !important;
	position: relative !important;
}
.ymaps-2-1-79-balloon__content > ymaps {
	height: auto !important;
	overflow: hidden;
}

#ymap-container ymaps[class$=-balloon_layout_normal] {
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35), 0 5px 15px -7px rgba(0,0,0,0.9);
}

#ymap-container ymaps[class$=-balloon__layout] {
	border-bottom: 4px solid var(--bs-primary);
}

#ymap-container ymaps[class$=-balloon__tail]::after {
	background-color: var(--bs-primary);
}

#ymap-container ymaps[class$=-balloon__content] {
	padding: 1.1rem 0 0.85rem 1.5rem;
}

#ymap-container ymaps[class$=-balloon-content__footer],
#ymap-container ymaps[class$=-cluster-content__footer] {
	margin-top: 0.5rem;
	color: #999;
}

#ymap-container ymaps[class$=-balloon-content__footer] .small,
#ymap-container ymaps[class$=-cluster-content__footer] .small {
	font-size: 0.8rem;
}


#ymap-container ymaps div,
#ymap-container ymaps p  {
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 0.888rem;
	font-weight: 300;
}

#ymap-container ymaps[class*=cluster-tabs__content-item] h6,
#ymap-container ymaps[class*=balloon-content] h6 {
	font-size: 1rem;
}

#ymap-container ymaps[class*=cluster-tabs__menu] h6 {
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 0.8rem;
	line-height: 1.1;
	font-weight: 400;
}

#ymap-container ymaps[class*=cluster-tabs__content-item] h4,
#ymap-container ymaps[class*=cluster-tabs__content-item] h5,
#ymap-container ymaps[class*=cluster-tabs__content-item] h6,
#ymap-container ymaps[class*=balloon-content] h4,
#ymap-container ymaps[class*=balloon-content] h5,
#ymap-container ymaps[class*=balloon-content] h6 {
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.1;
	font-weight: 400;
	color: var(--bs-dark);
	margin-bottom: 1rem;
}

#ymap-container .address-metro-name {
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 20px;
	font-weight: 300;
	margin-bottom: 0.75rem;
}

#ymap-container .address-metro-name > *{
	line-height: 20px;
	vertical-align: text-bottom;
}

#ymap-container .address-metro-name .metro-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

#ymap-container .address-metro-name .metro-icon.mline_metro {
	background: url(/local/img/map/icon_adress_mosmetro_w.svg) center center no-repeat;
	background-size: 15px auto;
}

#ymap-container .address-metro-name .metro-icon.mline_metro_spb {
	background: url(/local/img/map/icon_adress_spbmetro_w.svg) center center no-repeat;
	background-size: 15px auto;
}

#ymap-container .address-metro-name .metro-icon.mline_mcd_d1 {
	background: url(/local/img/map/icon_adress_mcdd1_w.svg) center center no-repeat;
	background-size: 15px auto;
}

#ymap-container .address-metro-name .metro-icon.mline_mcd_d2 {
	background: url(/local/img/map/icon_adress_mcdd2_w.svg) center center no-repeat;
	background-size: 15px auto;
}

#ymap-container .address-metro-name .metro-name {
	line-height: 20px;
	padding-left: 0.35em;
}


/* @end */

@media (max-width: 767.98px) {
	.map-adresses .address-column {
		max-height: 330px;
	}

	.map-adresses .map-column {
		max-height: 400px;
	}

	.map-adresses #ymap-container {
		height: 400px;
	}
	
	.map-adresses.with-search .address-column {
		max-height: 290px;
	}
	.map-adresses .map-address-list li {
		padding: 0.5rem 0.25rem 0.5rem 3.5rem;
		min-height: 3.0rem;
	}
	.map-adresses .address-column {
		margin-bottom: 0.1rem;
		border-bottom: 3px solid var(--ant-bg-light-alt);
	}

}

@media (max-width: 389.98px) {
	.map-adresses .address-column {
		max-height: 300px;
	}

	.map-adresses .map-column {
		max-height: 320px;
	}

	.map-adresses #ymap-container {
		height: 320px;
	}
	
	.map-adresses.with-search .address-column {
		max-height: 260px;
	}
	.map-adresses .map-address-list li {
		padding: 0.5rem 0.25rem 0.5rem 3.5rem;
		min-height: 3.0rem;
		font-size: 0.83334rem;
	}
	.map-adresses .map-address-list li .address-name {
		font-size: 0.83334rem;
	}
	.map-adresses .address-column {
		margin-bottom: 0.1rem;
		border-bottom: 3px solid var(--ant-bg-light-alt);
	}

}

@media(min-width: 1200px) {
	.map-adresses  .map-tabs {
		display: none;
	}
	.map-adresses .tab-content>.tab-pane.fade:not(.show) {
		opacity: 1;
	}
	.map-adresses .tab-content>.tab-pane {
		display: block;
	}
	.modal--address .title a {
		pointer-events: none;
		color: var(--bs-heading-color);
		text-decoration: none;
		border-bottom: none;
	}
}

.modal--address .title .tfl__link-label {
	display: none;
}

.modal--address .title a {
	border-bottom: none;
	outline: none;
}

.modal--address .title a:focus-visible {
	outline: none !important;
}

#anlz_offices .map-tabs .nav-link{
    border-radius: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    color: var(--grey, #8E8E8E);
    flex-grow: 1;
    border-bottom-width: 0;
    position: relative;
	display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
	text-decoration: none;
    background: 0 0;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

#anlz_offices .map-tabs .nav-link.active {
    color: var(--green, #00A4BF);
    border-color: var(--bs-body-bg) var(--bs-body-bg) var(--green, #00A4BF);
}

#anlz_offices .map-tabs .nav-link.active::before {
	background: var(--green, #00A4BF);
}

#anlz_offices .map-tabs .nav-link::before {
    content: '';
    width: 100%;
    height: 2px;
    display: block;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
}

#anlz_offices .map-tabs{
	margin-bottom: 15px;
}

#modal-city .modal-content{
	border-radius: 24px;
	border: none;
}

#modal-city .city__link{
	display: block;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 26px;
	letter-spacing: 1px;
	color:#222;
	margin-bottom: 20px;
	text-decoration: none;
}

#modal-city .modal-title{
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; 
	letter-spacing: 0.16px;
	color: #8E8E8E;
}

#modal-city .modal-header {
    padding: 24px 24px 10px;
}

#modal-inform .inform__address{
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 0.16px;
	color: #222;
	margin-bottom: 5px;
}

#modal-inform .modal-header{
	padding: 24px 24px 0;
}

#modal-inform .inform__center{
    color: var(--bs-secondary-color)!important;
	font-weight: 300;
	margin-bottom: 15px;
}

#modal-inform .inform__center .center__name{
	text-decoration: none;
	border-bottom: 1px dashed #ccc;
	color: #212529;
}

#modal-inform .inform__metro .metro__address{
	font-weight: 300;
	margin-bottom: 10px;
	display: block;
    line-height: 20px;
    padding-left: 0.35em;
    font-size: 14px;
}

#modal-inform .metro__mode{
	font-weight: 300;
	font-size: 14px;
}

#modal-inform .modal-content{
	border-radius: 0.8rem 0.8rem 0px 0px;
	margin-top: auto;
}

#modal-inform .btn__pass{
    margin-top: 40px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
}

#modal-inform .modal-dialog.modal-dialog-centered{
	width: 100%;
    margin: 0;
    height: 100%;
	min-width: 100%;
}

#modal-inform .modal-body .inform__desc{
	width: 100%;
	max-height: 250px;
	overflow-x: scroll;
	overflow-y: scroll;
	display: flex;
    justify-content: center;
	border: 2px solid #8e8e8e2e;
    padding: 14px;
}

#modal-inform .modal-body .inform__content{
	width: max-content;
}

#modal-inform .address-metro-name {
	display: flex;
}

#modal-inform .metro-icon{
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

#modal-inform .metro-icon.mline_metro{
    background: url(/local/img/map/icon_adress_mosmetro_w.svg) center center no-repeat;
    background-size: 14px auto;
}

.map-adresses.with-search  .office-search--map, .map-adresses.with-search  .office-search--list {
	display: none;
}

@media(max-width: 1199px) {

	#lq-addresses-list .title{
		font-size: 24px;
		font-style: normal;
		font-weight: 600;
		line-height: 30px; 
		letter-spacing: 1.2px;
	}

	#lq-addresses-list .title a{
		color: var(--green, #00A4BF);
		text-decoration: underline;
	}

	.map-adresses.with-search .address-column {
		max-height: 360px;
	}
	#lq-addresses-list {
		height: 100%;
	}
	.modal.modal--address .modal__content{
		height: 100%;
	}

	.modal.modal--address .tab-content{
		height: calc(100vh - 280px);
	}
	.modal.modal--address .tab-content>.active {
		display: flex;
		flex-direction: column;
	}
	.modal.modal--inform {
		backdrop-filter: blur(2px);
	}
}

@media(max-width: 767px) {
	#modal-address .is-close-btn{
		width: 27px;
		height: 27px;
	}

	#modal-address .is-close-btn svg{
		width: 15px;
		height: 15px;
	}

	#lq-addresses-list .title{
		margin-right: 35px;
	}
}

#modalInformLabel .inform__title{
	margin-bottom: 3px;
}

#modalInformLabel .address-metro-name{
    margin-bottom: 10px;
}

#modalInformLabel .address-metro-name .metro-icon{
	margin-right: 4px;
}

#modalInformLabel .btn.btn-light, #modalInformLabel .col.small{
	display: none;
}

#modalInformLabel .map__btns .btn{
    display: block;
    width: 100%;
	margin-top: 50px;
	padding: 10px;
}

#modalInformLabel .clinic-data{
	margin-bottom: 10px;
	font-weight: 300;
	font-size: 0.888rem;
}

#modalInformLabel .map__btns .btn.btn-light{
  display: none;
}
 
#modalInformLabel .inform__body{
	font-weight: 300;
	font-size: 0.888rem;   
}

#modal-inform .modal-body{
	padding: 50px 16px 21px;
}

#modalInformLabel .address-metro-name .metro-icon.mline_metro_spb {
	background: url(/local/img/map/icon_adress_spbmetro_w.svg) center center no-repeat;
	background-size: 14px auto;
}

/* Переключатель взрослые/детские */
.patient-type {
	align-items: center;
	display: flex;
	gap: 4px;
	margin-bottom: 12px;
}
.patient-type-btn {
	word-break: break-word;
	position: relative;
}
.patient-type-btn.act {
	color: #00a6c0;
}
.patient-type-btn .type-det {
	cursor: pointer;
}
.patient-type-switch {
	margin: 0;
	padding: 0;
	color: #071c2c;
	font-size: 14px;
	line-height: 22px;
	position: relative;
	display: inline-block;
	min-width: 44px;
	height: 22px;
	vertical-align: middle;
	background: rgba(0, 0, 0, 0.35);
	border: 0;
	border-radius: 100px;
	cursor: pointer;
	transition: all 0.2s;
	user-select: none;
}
.patient-type-switch-handle {
	position: absolute;
	top: 2px;
	inset-inline-start: 2px;
	width: 18px;
	height: 18px;
	transition: all 0.2s ease-in-out;
	font-size: 14px;
}
.patient-type-switch-handle::before {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	bottom: 0;
	inset-inline-start: 0;
	background-color: #00a6c0;
	border-radius: 9px;
	box-shadow: 0 2px 4px 0 rgba(0, 35, 11, .2);
	transition: all .2s ease-in-out;
	content: "";
}
.patient-type-switch._checked .patient-type-switch-handle {
	inset-inline-start: calc(100% - 20px);
}
.patient-type-switch-inner {
	display: block;
	overflow: hidden;
	border-radius: 100px;
	height: 100%;
	padding-inline-start: 24px;
	padding-inline-end: 9px;
	transition: padding-inline-start .2s ease-in-out, padding-inline-end .2s ease-in-out;
	background-color: #fff;
	border: 1px solid #e7e9ef;
}
.patient-type-switch-inner-checked,
.patient-type-switch-inner-unchecked {
	display: block;
	color: #fff;
	font-size: 12px;
	transition: margin-inline-start 0.2s ease-in-out, margin-inline-end 0.2s ease-in-out;
	pointer-events: none;
}
.patient-type-switch-inner-checked {
	margin-inline-start: calc(-100% + 22px - 48px);
	margin-inline-end: calc(100% - 22px + 48px);
}
.patient-type-switch-inner-unchecked {
	margin-top: -22px;
	margin-inline-start: 0;
	margin-inline-end: 0;
}

.ant-popover._hidden {
	display: none;
}
.ant-popover {
	z-index: 1060;
	position: absolute;
	top: 130%;
	left: 50%;
	transform: translateX(-50%);
	background-color: white;
	padding: 12px;
	border-radius: 8px;
	box-shadow: 2px 2px 12px rgba(0, 0, 0, .05);
}
.ant-popover .ant-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 12px;
	margin-bottom: 12px;
}
.ant-popover .ant-btn {
	border-radius: 10px;
	font-size: 14px;
	color: #00a6c0;
	border: 0;
	padding: 4px 8px;
	white-space: nowrap;
}
.ant-popover .ant-btn.act {
	color: white;
	background-color: #00a6c0;
}
.ant-popover .ant-btn:not(.ant-btn-primary) {
	padding: 6px 8px;
	width: 90px;
}
.ant-popover .ant-popconfirm-buttons {
	text-align: end;
}
.ant-popover .ant-btn-primary {
	color: white;
	background-color: #00a6c0;
}

@media screen and (max-width: 800px) {
	.ant-popover {
		padding: 8px;
	}
	.ant-popover .ant-row {
		grid-gap: 8px;
		margin-bottom: 8px;
	}
	.ant-popover .ant-btn:not(.ant-btn-primary) {
		width: 80px;
		font-size: 13px;
	}
}
