html {
	scroll-behavior: smooth;
}

#target-block {
	scroll-margin-top: 250px;
}

.add_load{
	background: rgba(30, 41, 59, 0.3);
	backdrop-filter: blur(24px);
	border-radius: 16px;
	padding: 12px 24px;		
	display: flex;
	align-items: : center;
	justify-content: center;
	gap: 8px;
	color: #F8FAFC;
	cursor: pointer;
	width: auto;
}

/*Стили для куков*/
.cookie__wrapper{
	position: fixed;
	z-index: 10000;
	background: #fff;
	padding: 15px;
	display: none;
	flex-direction: column;
	border-radius: 8px;
	bottom: 0;
	right: 0;
	width: 350px;
	border: 1px solid rgb(244, 244, 244);
	box-sizing: border-box;
}
.cookie__wrapper.show{
	display: flex;
}
.cookie__wrapper-close{
	width: max-content;
	position: absolute;
	top: 5px;
	right: 10px;
	z-index: 2;
	font-size: 26px;
	line-height: 26px;
	transition: 0.3s;
	background-color: transparent;
}
.cookie__wrapper-close:hover{
	cursor: pointer;
	color: #008000;
}
.cookie__wrapper-title{
	background: #fff;
	font-size: 18px;
	font-weight: 600;
	padding-right: 31px;
	width: 100%;
	box-sizing: border-box;
	z-index: 1;
}
.cookie__wrapper-text{
	margin: 10px 0 15px 0;
	font-size: 15px;
	line-height: 20px;
}
.cookie__wrapper-send{
	background: #008000;
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 16px;
	line-height: 1.42857143;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	color: white;
	transition: all .2s;
}
.cookie__wrapper-send:hover{
	cursor: pointer;
	background: #A3E635;
}

@media (max-width: 1500px) {
	.cookie__wrapper-title{
		font-size: 16px;
	}
	.cookie__wrapper-text,
	.cookie__wrapper-send{
		font-size: 14px;
	}
}

@media (max-width: 760px) {
	.cookie__wrapper-text{
		display: none;
	}
	.cookie__wrapper{
		width: 100%;
		padding: 15px 10px;
	}
	.cookie__wrapper-close{
		right: 13px;
		font-size: 32px;
		top: 12px;
	}
	.cookie__wrapper-title {
		text-align: center;
		margin-bottom: 10px;
	}
}

@media (max-width: 374px) {
	.cookie__wrapper-title {
		font-size: 14px;
	}
}


/*Стили переопределение rnova*/ 

.rnova-widget .v-application .blue-grey.lighten-5{
	border-radius: 24px ;
}

/*Стили для карты*/

.contact__items_left {
	width: 544px;
	height: 348px;
	overflow: hidden;
	border-radius: 24px;
}

@media(max-width: 767px){
	.contact__items_left {
		width: 100%;
	}	
}

#map {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

.location__item_map {
	width: 100%;
	height: 100%; /* или нужная вам высота */
	border-radius: 36px;
	overflow: hidden;
}

@media(max-width: 767px){
	.location__item_map {
		width: 100%;
		height: 400px; /* или нужная вам высота */
		border-radius: 36px;
		overflow: hidden;
	}	
	.location__callback_button	a.btn-greendark{
		width: 100%;
		display: flex;
		align-items: : center;
		justify-content: center;
	}

}

/*.slidergoriz__text{
	color: white;
	}*/

ol{
	margin-left: 20px;
}

.servises3__title{
	z-index: 1;
}

.header__search-result{
	display: none;
	position: absolute;
	top: calc(100% + 5px);
	width: 100%;
	left: 0;
	background: #F8FAFC;
	border-radius: 16px;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}
.header__search-result.show{
	display: flex;
	flex-direction: column;
}
.search__main{
	padding: 12px 24px;
}
.search__body{
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.search__body-title{
	font-weight: 500;
	font-size: 18px;
	color: #475569;
}
.search__list{
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.search__spec{
	display: grid;
	align-items: center;
	grid-template-columns: 60px 1fr;
	gap: 0 10px;
}
.search__spec > img{
	border-radius: 50%;
	object-fit: cover;
	grid-column: 1;
	grid-row: 1 / span 2;
	border: 2px solid transparent;
	transition: 0.3s;
}
.search__spec-name{
	color: #020617;
	font-size: 18px;
	font-weight: 500;
	transition: 0.3s;
}
.search__spec-dolj{
	color: #475569;
	font-size: 14px;
	line-height: 17px;
}
a.search__spec:hover .search__spec-name{
	color: #45A700;
}
a.search__spec:hover > img{
	border-color: #A3E635;
}
.search__spec-price{
	grid-template-columns: 1fr minmax(0, 80px);
	gap: 0 20px;
}
.search__spec-price .search__spec-name{
	font-size: 16px;
}
.search__spec-price .search__spec-dolj{
	font-weight: 500;
	font-size: 16px;
	line-height: 150%;
}
.close-search:hover{
	cursor: pointer;
}
.alldoctors__img a:not(:first-child) img{
	margin-left: -15px;
}

@media(max-width: 1600px){
	.search__body-title,
	.search__spec-name{
		font-size: 16px;
	}
	.search__body{
		gap: 12px;
	}
	.search__list{
		gap: 8px;
	}
	.search__spec > img{
		width: 50px;
		height: 50px;
	}
	.search__spec{
		grid-template-columns: 50px 1fr;
		gap: 0 15px;
	}
	.search__spec-price{
		grid-template-columns: 1fr minmax(0, 70px);
		gap: 0 15px;
	}
	.search__spec-price .search__spec-name,
	.search__spec-price .search__spec-dolj {
		font-size: 15px;
	}

}
@media(max-width: 1349px){

}
@media(max-width: 1199px){

}
@media(max-width: 991px){
	.search__spec > img{
		display: flex;
	}
}
@media(max-width: 767px){
	.header__search-result {
		max-height: 600px;
	}
}
@media(max-width: 575px){
	.header__search_mob{
		padding-left: 12px;
	}
	.search__main {
		padding: 12px;
	}
	.search__spec{
		gap: 4px 8px;
		align-items: flex-start;
	}
	.search__spec-name{
		padding-top: 4px;
	}
	.search__body-title, .search__spec-name {
		font-size: 15px;
	}
	.search__spec-price .search__spec-name, .search__spec-price .search__spec-dolj {
		font-size: 14px;
	}
}
@media(max-width: 374px){

}

.header__always-cities{
	display: flex;
	flex-direction: column;
	align-items: end;
	gap: 8px;
	border-right: 1px solid #F1F5F9;
	padding-right: 16px;
}

.header__always-city{
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

span.header__title-inline{
	font-weight: 700;
}

.header__selected-city{
	display: flex;
	flex-direction: column;
	padding-left: 16px;
	gap: 4px;
}

.header__selected-city > .header__clock{
	order: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: center
}	
.header__selected-city > .header__filial{
	order: 1;
}

.header__top_right{
	align-items: end!important;
}

.header__filial{
	max-width: min-content;
}
.footer__item_callback{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.footer__item_fillials{
	/*flex: 0 0 40px;*/
	/*min-width: max-content;*/
}

.footer__item_fillials .header__always-city{
	flex-direction: column;
}
.footer__item_fillials .header__clock{
	flex-direction: column;
}	
.footer__item_fillials .header__always-cities{
	align-items: start;
	border-right: none;
}

.footer__item_fillials 	span.header__title-inline{
	display: block
}

.popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.popup.open{
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
.popup-message{
    z-index: 1010;
}
.popup__container{
    max-height: 95%;
    overflow-y: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}
.popup__main{
    background: #fff;
    width: 600px;
    position: relative;
    padding: 40px 20px 30px 20px;
    height: 100%;
    border-radius: 36px;
    margin-top: 23px;
}
.popup__block{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.popup__block-title{
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;
    text-align: center;
}
.popup__block-preview{
    font-weight: 500;
    font-size: 15px;
    line-height: 120%;
    text-align: center;
    color: #64748B;
    margin: 10px 0 0 0;
}
.popup__block-btn{
    width: 100%;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    padding: 18px 26px;
    margin-top: 20px;
    text-align: center;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup__close{
    position: absolute;
    top: -23px;
    right: -23px;
    width: 46px;
    height: 46px;
    background: #F1F5F9;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup__close svg path{
    transition: 0.3s;
}
.popup__close:hover{
    cursor: pointer;
}
.popup__close:hover svg path{
    stroke: var(--color-violet);
}
.popup-form__error{
    display: none;
    color: #ff0000;
    font-size: 16px;
    margin-top: 5px;
}
.popup-form__form{
	margin-top: 30px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.popup-form__input{
    background: #F8FAFC;
    color: #1b1d20;
    width: 100%;
    font-size: 16px;
    padding: 15px 20px;
    border-radius: 16px;
    line-height: 130%;
    resize: none;
}
.popup-form__input::placeholder{
    color: #1b1d20;
    opacity: 0.7;
    transition: 0.3s;
}
.popup-form__input:focus::placeholder{
	opacity: 0;
}
.popup-form__agreement{
	margin-top: 10px;
}
.popup-form__agreement label {
    position: relative;
}
.popup-form__agreement label > input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.popup-form__agreement label > p {
    user-select: none;
    margin: 0;
    color: #64748B;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    padding-left: 33px;
    position: relative;
    width: fit-content;
}
.popup-form__agreement label > p a{
	text-decoration: underline;
	color: #64748B;
	transition: 0.3s;
}
.popup-form__agreement label > p::before {
    content: '';
    width: 24px;
    height: 24px;
    background: #D9F99D;
    border-radius: 6px;
    position: absolute;
    left: 0;
    transition: 0.3s;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
}
.popup-form__agreement label > input:checked + p::before{
	background-color: #D9F99D;
    background-image: url('/local/templates/cvmmed/images/form-checkbox-checked.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 17px 14px;
}
.popup-form__agreement label:hover{
	cursor: pointer;
}
.popup-form__agreement label > p a:hover{
	color: #222;
}
.ss-main.zapis{
	background: #F8FAFC;
    border: none;
    padding: 0;
    border-radius: 16px;
}
.ss-main.zapis:focus{
	box-shadow: none;
}
.ss-main.zapis .ss-values .ss-single{
	color: #222;
    font-size: 16px;
    padding: 15px 20px;
    margin: 0;
}
.ss-main.zapis .ss-arrow{
	margin-right: 15px;
}
.popup__block-btn:hover{
	cursor: pointer;
}
@media(max-width: 1600px){
	.popup__close{
		top: -20px;
	    right: -20px;
	    width: 40px;
	    height: 40px;
	}
	.popup__main{
		margin-top: 20px;
		padding: 30px 16px 25px 16px;
	}
	.popup__block-title{
		font-size: 28px;
	}
	.popup__block-preview{
		font-size: 14px;
	}
	.popup-form__form{
		margin-top: 20px;
		gap: 7px;
	}
	.popup-form__input,
	.ss-main.zapis .ss-values .ss-single{
		font-size: 15px;
		padding: 12px 15px;
	}
	.popup-form__agreement label > p{
		padding-left: 28px;
	}
	.popup-form__agreement label > p::before{
		width: 20px;
		height: 20px;
	}
	.popup-form__agreement label > input:checked + p::before{
	    background-size: 14px 11px;
	}
	.popup-form__agreement {
	    margin-top: 5px;
	}
	.popup__block-btn{
		margin-top: 15px;
		padding: 15px 25px;
		font-size: 16px;
	}
	.popup-form__error{
		font-size: 14px;
		line-height: 16px;
		margin-top: 2px;
	}

}
@media(max-width: 1500px){
	
}
@media(max-width: 1349px){

}
@media(max-width: 1199px){

}
@media(max-width: 991px){
	
}
@media(max-width: 767px){
	.popup__main{
		border-radius: 16px;
	}
	.popup__close {
        top: 5px;
        right: 5px;
        width: 40px;
        height: 40px;
    }

}
@media(max-width: 575px){
	.popup .popup__container{
		margin-left: 5px;
		margin-right: 5px;
	}
	.popup__close {
        top: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
    }
    .popup__block-title {
        font-size: 22px;
    }
    .popup__block-preview {
        font-size: 13px;
        margin: 7px 0 0 0;
    }
    .popup__main {
        margin-top: 0;
        padding: 40px 10px 20px 10px;
    }
    .popup-form__agreement label > p{
    	line-height: 17px;
    }

}
@media(max-width: 374px){

}