﻿/*
Theme Name: StarMedica
Theme URI: 
Description: 
Version: 1.0
Author: Maksim Brilliant
Author URI: https://www.instagram.com/maksimbrilliant/
*/


/*   
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*/

@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap');


@font-face {
  font-family: 'TildaSans'; /* Имя шрифта для использования */
  src: url('font/TildaSans.woff2') format('woff2'),
       url('font/TildaSans.woff') format('woff'), /* Пути к файлам */
       url('font/TildaSans.ttf') format('ttf'); /* Пути к файлам */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TildaSansR'; /* Имя шрифта для использования */
  src: url('font/TildaSans-Regular.woff2') format('woff2'),
       url('font/TildaSans-Regular.woff') format('woff'); /* Пути к файлам */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TildaSansM'; /* Имя шрифта для использования */
  src: url('font/TildaSans-Medium.woff2') format('woff2'),
       url('font/TildaSans-Medium.woff') format('woff'); /* Пути к файлам */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TildaSansSB'; /* Имя шрифта для использования */
  src: url('font/TildaSans-Semibold.woff2') format('woff2'),
       url('font/TildaSans-Semibold.woff') format('woff'); /* Пути к файлам */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TildaSansSB'; /* Имя шрифта для использования */
  src: url('font/TildaSans-Semibold.woff2') format('woff2'),
       url('font/TildaSans-Semibold.woff') format('woff'); /* Пути к файлам */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TildaSansB'; /* Имя шрифта для использования */
  src: url('font/TildaSans-Bold.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}



   
  
  
   
html {
    margin: 0 auto;
    overflow-x: hidden !important;
}

* {
	padding: 0; margin:0;
	font-optical-sizing: auto;
	outline:none !important;
	font-family: "TildaSansR", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}
   
body {
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden !important;
	background: #f2f9ff !important;
}


.clear {
	clear:both;
}

a {
	text-decoration:none;
	outline:none !important;
}

a:hover {
	text-decoration:none;
}

a:active {
	text-decoration:none;
}

input[type="text"]:focus { outline: none; }
input[type="email"]:focus { outline: none; }
textarea[type="text"]:focus { outline: none; }
input[type="button"]:focus { outline: none; }

/*
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
	
	-moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg); 
    transform: rotate(360deg);
*/	
.page_loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999999999;
    background: #f2f9ff;
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.page_loader img {
    max-height: 100px !important;
	width:auto;
}

.page_loader.hidden_loader {
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

img.animated {
    transform: translate(0px, 0px);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

@keyframes bounceOnce {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-15px); /* поднимаемся */
    }
    50% {
        transform: translateY(-10px); /* небольшое подергивание вниз */
    }
    70% {
        transform: translateY(-12px); /* лёгкий отскок */
    }
    100% {
        transform: translateY(0); /* приземляемся */
    }
}

@keyframes bounceRotate {
    0% {
        transform: rotate(0);
    }
    30% {
        transform: rotate(15deg); /* поднимаемся */
    }
    50% {
        transform: rotate(-10deg); /* небольшое подергивание вниз */
    }
    70% {
        transform: rotate(-12deg); /* лёгкий отскок */
    }
    100% {
        transform: rotate(0); /* приземляемся */
    }
}

.animated.active {
	animation: bounceOnce 1s ease-out forwards;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.animated.active2 {
	animation: bounceRotate 1s ease-out forwards;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

strong {
	font-family: "TildaSansB", sans-serif;
}

.container {
    width: 100% !important;
    max-width: 1214px;
}

body.admin-bar .header__scroll {
    top: 32px;
}

body {
    padding-top: 80px;
}

body.admin-bar .header__line {
    top: 32px;
}



.header__line {
    padding: 15px 0;
    z-index: 9;
    position: fixed;
    top: 0;
    width: 100%;
    background: #f2f9ff;
    backdrop-filter: blur(12px);
    z-index: 999;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.header__line .container {
    width: 100% !important;
    max-width: 1500px;
}

.header__line.active_fixed {
    padding: 5px 0;
    background: rgb(242 249 255 / 59%);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.header__line_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span.logo {
    font-family: Prata;
    font-size: 26px;
    font-weight: 300;
    color: #4078A3 !important;
}

@keyframes textScale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.page_loader span.logo {
    animation: textScale 1.5s ease-in-out infinite;
    display: inline-block;
}

.header__line_flex_logo a {
    text-decoration: none !important;
}

.header__line_flex_nav ul {
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.header__line_flex_nav a {
    display: block;
    font-size: 16px;
    color: #000;
    text-decoration: none !important;
    padding: 5px 10px;
	position:relative;
}

.header__line_flex_nav a:after {
    content: '';
    width: 0px;
    height: 0px;
    background: #d9e6f1;
    position: absolute;
    top: 60%;
	border: 1px solid #fff;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 100%;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.header__line_flex_nav a:hover:after {
    width: 35px;
    height: 35px;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.header__line_flex_nav li.menu-item-35 a {
    color: #4078A3;
    position: relative;
}

.header__line_flex_nav li.menu-item-35 a:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(img/hot.svg) no-repeat center;
    background-size: 100%;
    position: absolute;
    top: -17px;
    right: 20px;
}

div#ajaxsearchliteres1 * {
    font-family: "TildaSansR", sans-serif !important;
}

.asl_w_container.asl_w_container_1 * {
    font-family: "TildaSansR", sans-serif !important;
}

.header__line_flex_lang img {
    width: 25px;
    height: 25px;
}

.header__line_flex_lang_button_color_flex {
    display: flex;
    gap: 20px;
    align-items: center;
}

.button_style {
    background: #4078A3;
    color: #fff;
	cursor:pointer;
    display: table;
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    font-size: 16px;
    border-radius: 25px;
    border: 2px solid #4078A3;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.button_style:hover {
    background: #fff;
    color: #000;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.abs_search {
    position: absolute;
    right: 15px;
    max-width: 400px;
    width: 100%;
    margin-top: 30px;
    opacity: 0;
    visibility: hidden;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.abs_search.active {
    margin-top: 15px;
    opacity: 1;
    visibility: visible;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.container.relative {
    position: relative;
}

.header__line_flex_button a {
    text-decoration: none !important;
}

.header__line_flex_search_btn {
    width: 40px;
    height: 40px;
    background: #4078A3;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #4078A3;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.header__line_flex_search_btn:hover {
    background: #fff;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.header__line_flex_search_btn * {
    fill: #fff;
}

.header__line_flex_search_btn:hover * {
    fill: #4078A3;
}

.header__line_flex_search_btn svg {
    width: 20px;
}

.header__line_flex_button {
    width: 230px;
}


.header_body {
    position: relative;
    overflow: hidden;
}

.bg_style {
	background: linear-gradient(180deg, #f2f9ff 20%, #fff 100%);
	padding-top: 50px;
	position:relative;
}

.header_body_img img {
    max-width: 450px;
    height: auto;
    position: relative;
    z-index: 2;
	border-radius: 0 0 25% 25%;
}

.header_body__flex {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 9;
}

.header_body__content {
    padding-top: 100px;
    padding-left: 50px;
}

.header_body__content h1 {
    color: #163954;
    font-size: 38px;
    margin: 0;
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 500px;
	font-family: 'Prata';
}

.header_body__content h1 span {
    color: #163954;
    font-size: 38px;
    font-weight: 600;
	position:relative;
}

.header_body__content h1 strong {
    color: #163954;
    font-size: 38px;
    font-weight: 600;
    position: relative;
    font-family: 'Prata';
}

.header_body__content_button {
    margin-top: 30px;
    max-width: 335px;
}

.header_body__content_button a {
	text-decoration:none !important;
}

.header_body__content p {
    color: #000;
    font-size: 16px;
    margin: 0;
    margin-bottom: 15px;
    font-family: "TildaSansR", sans-serif;
    max-width: 500px;
}

.header_body_img {
    position: relative;
}

.header_body_img_rad {
    content: '';
    width: 550px;
    height: 550px;
    position: absolute;
    right: -88px;
    background: #4078a3;
    border-radius: 100%;
    z-index: 0;
    top: 79px;
	opacity:0.5;
}

.header_body_img_rad:before {
    content: '';
    width: 90%;
    height: 90%;
    position: absolute;
    border-radius: 100%;
    border: 1px solid #9cbed9;
    top: 5%;
    left: 5%;
}

.directions_box_img img {
    max-width: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover; /* Масштабирует, сохраняя пропорции */
}	

.directions_box {
    border-radius: 5% 30% 10% 30% / 10% 30% 50% 30%;
    background: #fff;
    position: relative;
    border: 1px solid #ceddeb;
    height: 100%;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.directions_box:hover {
	border-radius: 10% 40% 20% 30% / 20% 40% 60% 30%;
    border: 1px solid #4078a3;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.directions__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 115px 30px;
    margin-top: 86px;
}

.directions__grid a {
    text-decoration: none !important;
}

.directions_box_img {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    overflow: hidden;
    margin-top: -86px;
    position: relative;
    margin-left: 30px;
    margin-bottom: 20px;
	transform: scale(1);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.directions_box:hover .directions_box_img {
	transform: scale(1.05);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.directions_box_img:after {
    width: 90%;
    height: 90%;
    border: 1px solid #ceddeb;
    position: absolute;
    content: '';
    left: 5%;
    top: 5%;
    border-radius: 100%;
}

.section_title {
    text-align: center;
    position: relative;
    z-index: 9;
}

.section_title h3 {
    color: #163954;
    font-size: 38px;
    font-weight: 500;
    max-width: 500px;
    font-family: "Prata", sans-serif;
    margin: 0 auto;
}

.section_title h4 {
    color: #163954;
    font-size: 30px;
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
	position:relative;
	font-family: "Prata", sans-serif;
}

.work__grid_box .section_title h4:after {
    content: '';
    width: 200%;
    height: 100%;
    position: absolute;
    background: #ffffff;
    left: -100%;
    z-index: -1;
    padding: 6px 0px;
    top: -5px;
    border-radius: 0 15px 30px 0;
	opacity:0.3;
}

.section_title.left h4 {
    margin: 0;
    text-align: left;
}

.section_rad_top_left {
    width: 800px;
    height: 800px;
    position: absolute;
    top: -300px;
    border-radius: 100%;
    border: 80px solid #ebf3f9;
    left: -300px;
    z-index: 1;
}

.section_rad_top_right {
    width: 800px;
    height: 800px;
    position: absolute;
    top: -300px;
    border-radius: 100%;
    border: 80px solid #ebf3f9;
    right: -300px;
    z-index: 1;
}

.section_rad_bottom_right {
    width: 800px;
    height: 800px;
    position: absolute;
    bottom: 0;
    border-radius: 100%;
    border: 80px solid #ebf3f9;
    right: -300px;
    z-index: 1;
}

.directions_box_text {
    padding: 0 20px;
    padding-bottom: 30px;
    padding-left: 35px;
	position:relative;
	z-index:2;
}

.directions_box_text h3 {
    color: #163954;
    font-size: 20px;
    font-weight: 500;
    max-width: 500px;
	margin:0;
	margin-bottom:15px;
	font-family:Prata;
}

.directions_box_text p {
    color: #000;
    font-size: 15px;
    margin: 0;
    margin-bottom: 15px;
    font-family: "TildaSansR", sans-serif;
    max-width: 500px;
}

.directions_box_text p:last-child {
    margin-bottom: 0px;
}

.section_container {
    padding: 50px 0;
	position:relative;
	z-index:2;
}

.section_line:after {
    content: '';
    background: #f3f9ff;
    position: absolute;
    width: 100%;
    height: 100px;
    border-radius: 50% 50% 0% 0% / 80% 29% 0% 0%;
    top: -100px;
    z-index: 0;
}

.section_line:before {
    content: '';
    width: 600px;
    height: 200px;
    border-radius: 100% 100% 100% 100% / 100% 100% 100% 100%;
    position: absolute;
    background: #f2f9ff;
    top: -162px;
    left: 35%;
}

.why_we__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.why_we_box img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.why_we_box {
    width: 100%;
    height: 300px;
    border-radius: 20% 10% 20% 10% / 20% 10% 20% 10%;
    overflow: hidden;
	position:relative;
}

.why_we_box_abs {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    z-index: 2;
}

.why_we_box_abs_cont h4 {
    color: #163954;
    font-size: 20px;
    font-weight: 500;
    max-width: 500px;
    margin: 0;
    margin-bottom: 15px;
	font-family:Prata;
}

.why_we_box_abs_cont p {
    color: #000;
    font-size: 14px;
    margin: 0;
    margin-bottom: 15px;
    font-family: "TildaSansR", sans-serif;
    max-width: 500px;
    line-height: 160%;
}

li.menu-item-35 a {
    font-family: "TildaSansSB", sans-serif;
}

ul.sub-menu .menu-item-has-children:after {
    content: '';
    width: 7px;
    height: 7px;
    background: url(img/arrow.svg) no-repeat center;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translate(0px, -50%);
    background-size: 100%;
    z-index: 1;
    opacity: 0.8;
}

ul#topmenu>li {
    position: relative;
}

ul#topmenu>li.menu-item-has-children {
    padding-right: 7px;
}

ul#topmenu>li.menu-item-has-children:after {
    content: '';
    width: 7px;
    height: 7px;
    background: url(img/arrow.svg) no-repeat center;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translate(0px, -50%) rotate(90deg);
    background-size: 100%;
    z-index: 1;
    opacity: 0.8;
}

.why_we_box_abs_cont p:last-child {
    margin-bottom: 0px;
}

.why_we_box_abs_cont {
    position: relative;
    z-index: 2;
}

.why_we_box_abs:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    backdrop-filter: blur(3px);
    background: linear-gradient(180deg, rgb(184 199 211 / 30%) 20%, rgb(255 255 255 / 30%) 100%);
}

.why_we_box:after {
    border-radius: 20% 10% 20% 10% / 20% 10% 20% 10%;
    content: '';
    left: 10px;
    bottom: 10px;
    right: 10px;
    top: 10px;
    position: absolute;
    border: 1px solid #ceddeb;
    z-index: 2;
}

.why_we_icon img {
    width: 300px;
    height: 300px;
}

.why_we_icon {
    position: absolute;
    left: 0;
    top: 10%;
}

.video_content {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video_content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6); /* фон поверх видео */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: 0.5s; /* под анимации */
}

.video-overlay.active {
    /* тут ты делаешь fade / scale / blur / slide и т.п. */
    pointer-events: none;
}

section.video {
    z-index: 2;
    position: relative;
}

.overlay-content {
    text-align: center;
	position:relative;
}

.video-overlay.active {
    opacity: 0;
    transform: scale(1.1);
}

.video-overlay.active {
    transform: translateY(-100%);
}

.video-overlay.active {
    backdrop-filter: blur(10px);
}

.video-controls button {
    background: none !important;
    border: 0;
    color: #fff;
    cursor: pointer;
}

span#time {
    color: #fff;
}

.video-controls input[type="range"] {
    flex: 1;
}

.video_content {
    position: relative;
    overflow: hidden;
}

/* overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
    transition: transform .6s ease, opacity .6s ease;
    background: linear-gradient(180deg, rgb(59 145 209 / 42%) 20%, rgb(141 175 201 / 12%) 100%);
    filter: 8px;
    backdrop-filter: blur(15px);
}

/* overlay уезжает вверх */
.video-overlay.active {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* controls */
.video-controls {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    z-index: 2;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .6s ease, opacity .6s ease;
    background: rgba(0,0,0,0.6);
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* controls выезжают снизу */
.video-controls.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.section_title p {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 15px;
}

.overlay-content:after {
    content: '';
    width: 55px;
    height: 55px;
    background: #02c4fb url(img/play.svg) no-repeat center;
    background-size: 50%;
    position: absolute;
    border-radius: 100%;
	background-position: 15px center;
    padding: 10px;
    bottom: -70px;
	box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    left: 50%;
    transform: scale(1) translate(-50%, 0px);
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}







.offer_box_img img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
	transform: scale(1);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.offer_box:hover .offer_box_img img {
	transform: scale(1.05);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.offer_box:after {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    border: 50px solid #ebf3f9;
    position: absolute;
    content: '';
    bottom: -80px;
    left: -80px;
    z-index: -1;
}

.offer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px 30px;
}


.services_block1_grid_img img {
    width: 100%;
    height: auto;
}

.services_block1_grid_img {
    overflow: hidden;
    border-radius: 30% 30% 30% 50% / 30% 30% 30% 50%;
    background: #fff;
    position: relative;
    border: 1px solid #ceddeb;
}

.services_block1_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.services_block1_grid_content p {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    margin: 0;
    margin-bottom: 15px;
}

.services_block1_grid_content p span {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    margin: 0;
    margin-bottom: 15px;
}

.services_block1_grid_content p:last-child {
    margin-bottom: 0px;
}

.services_block1_grid_content li {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    margin: 0;
    margin-bottom: 5px;
    margin-left: 25px;
	position:relative;
}

.services_block1_grid_content li span {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    margin: 0;
    margin-bottom: 5px;
    margin-left: 25px;
	position:relative;
}

.services_block1_grid_content ul,
.services_block1_grid_content ol {
    margin-bottom: 15px;
}

.services_block2_grid_content {
    z-index: 9;
    backdrop-filter: blur(12px);
    border-radius: 30px;
    overflow: hidden;
    padding: 30px;
    background: linear-gradient(180deg, rgb(255 255 255 / 50%) 20%, rgb(255 255 255 / 70%) 100%);
    position: relative;
    border-bottom: 1px solid #ceddeb;
    border-left: 1px solid #ceddeb;
    border-right: 1px solid #ceddeb;
}

.services_block1_grid_content.mt {
    margin-top: 20px;
}

.services_block2_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.services_block2_grid.one {
    grid-template-columns: 1fr;
}


.section__img_bg img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: blur(12px);
}

.section__img_bg {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    right: 0;
    overflow: hidden;
	border-left: 1px solid #a6cdef;
	border-right: 1px solid #a6cdef;
}

.section__img_bg.size70 {
    width: 70%;
}

section.services_block2 {
    padding-top: 0;
    background: linear-gradient(180deg, #f2f9ff 20%, #fff 100%);
}


.size70 {
    max-width: 70%;
}

.section_icon img {
    width: 400px;
    height: 400px;
}

.section_icon.right {
    position: absolute;
    right: 100px;
    bottom: -16px;
}



.services_block3_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.services_block3_grid_content.mt {
    margin-top: 50px;
}

section.services_block3:after {
    content: '';
    width: 50%;
    height: 100%;
    background: url(img/no.svg) no-repeat center, rgb(255 0 0);
    position: absolute;
    right: 0;
    top: 0;
    background-size: auto 120%;
    background-position: right top;
    opacity: 0.15;
}

section.services_block3:before {
    content: '';
    width: 50%;
    height: 100%;
    background: url(img/yes.svg) no-repeat center, rgb(0 128 0);
    position: absolute;
    left: 0;
    top: 0;
    background-size: auto 80%;
    background-position: 20px 50px;
    opacity: 0.15;
}

.services_block3_grid_content ul {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.services_block3_grid_content ul li {
    color: #163954;
    font-size: 15px;
    font-family: "TildaSansM", sans-serif;
    margin: 0;
    list-style: none;
    z-index: 9;
    backdrop-filter: blur(12px);
    border-radius: 30px;
    overflow: hidden;
    padding: 15px;
    background: linear-gradient(180deg, rgb(255 255 255 / 50%) 20%, rgb(255 255 255 / 70%) 100%);
    position: relative;
    border-bottom: 1px solid #ceddeb;
    border-left: 1px solid #ceddeb;
    border-right: 1px solid #ceddeb;
    display: table;
}

section.services_block3 .container {
    width: 90% !important;
    max-width: 90%;
}


.services_block3_grid_content.red .services_block3_grid_content ul li {
    background: linear-gradient(180deg, rgb(255 0 0 / 30%) 20%, rgb(255 0 0 / 50%) 100%);
    color: #fff;
}

.services_block3_grid_content.green .services_block3_grid_content ul li {
    background: linear-gradient(180deg, rgb(0 255 14 / 30%) 20%, rgb(16 255 0 / 50%) 100%);
    color: #163954;
}

.services_block3_zone_flex {
    display: flex;
    gap: 80px;
    align-items: center;
}

.services_block33 {
    padding: 0;
}

.services_block3_grid_content.blue ul li {
    background: linear-gradient(180deg, rgb(64 120 163 / 27%) 20%, #e8f4ff 100%);
    color: #163954;
    padding: 15px 35px;
}

.section_title.left p {
    text-align: left;
    margin: 0;
}

.form_container_input_box_flex label {
    background: #fff;
    padding: 8px 15px;
    border-radius: 25px;
    color: #163954;
    font-size: 16px;
    justify-content: start;
    display: flex;
    font-family: "TildaSansSB", sans-serif;
	gap:10px;
    align-items: center;
    margin-bottom: 0;
    border: 1px solid #bbd7ed;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.form_container_input_box_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form_container_input_box_flex label:has(input:checked) {
    background: #4078a3;
    color: #fff;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.form_container_input_box_flex label input {
    width: auto;
	margin:0;
}

.form_container_input_box_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.form_container_button__grid {
    display: grid;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.form_container_button__grid_price span {
    font-size: 30px !important;
}

.form_container_button__grid .form_container_button.flex p {
	font-size:14px;
}

.form_container_button__grid .form_container_button.flex {
    grid-template-columns: 2fr 3fr;
    margin-top: 0;
}


@media (min-width:1199px) {
.offer__grid .item {
    width: 100% !important;
}

}


.offer__grid__button {
    max-width: 330px;
    margin: 0 auto;
    margin-top: 45px;
}

.offer__grid__button a {
    text-decoration:none !important;
}

.offer_box_img {
    width: 100%;
    height: 250px;
    border-radius: 0% 0% 40% 15% / 0% 0% 30% 20%;
    overflow: hidden;
	position:relative;
}

.offer_box.full .offer_box_img {
    border-radius: 0% 0% 40% 60% / 0% 0% 30% 75%;
}

.offer_box {
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgb(64 120 163 / 30%) 20%, rgb(255 255 255 / 30%) 100%);
    position: relative;
    border-bottom: 1px solid #ceddeb;
    height: 100%;
    border-left: 1px solid #ceddeb;
    border-right: 1px solid #ceddeb;
}

.offer_box_content {
    padding: 30px;
    margin-top: -60px;
    padding-top: 90px;
    border-radius: 30px;
    padding-bottom: 95px;
}

.offer_box_content h4 {
    color: #163954;
    font-size: 20px;
    font-weight: 500;
    max-width: 500px;
    margin: 0;
    margin-bottom: 15px;
	font-family:Prata;
}

.offer_box_content p {
    color: #000;
    font-size: 15px;
    margin: 0;
    margin-bottom: 15px;
    font-family: "TildaSansR", sans-serif;
    max-width: 500px;
}

.offer_box_content p:last-child {
    margin: 0;
}


.offer_box_content_price span {
    color: #163954;
    font-size: 24px;
    font-family: "TildaSansSB", sans-serif;
    max-width: 500px;
    margin: 0;
}

.offer_box_content_btn_price_flex {
    position: absolute;
    left: 0px;
    padding: 30px;
    padding-bottom: 20px;
    width: 100%;
    display: grid;
    align-items: center;
    bottom: 0;
    grid-template-columns: auto 1fr;
    gap: 50px;
}

.offer_box_content_btn a {
	text-decoration:none !important;
}

.reviews_box {
    border-radius: 5% 15% 10% 5% / 10% 15% 50% 17%;
    background: #fff;
    position: relative;
    padding: 40px;
    border: 1px solid #ceddeb;
    margin-top: 15px;
    padding-bottom: 15px;
    padding-top: 50px;
}

.reviews_box p {
    color: #000;
    font-size: 15px;
    margin: 0;
    margin-bottom: 15px;
    font-family: "TildaSansR", sans-serif;
    line-height: 160%;
}

.reviews_box_name span {
    color: #163954;
    font-size: 20px;
    font-family: "TildaSansM", sans-serif;
    max-width: 500px;
    margin: 0;
    margin-bottom: 15px;
    margin-left: 30px;
}

.owl-carousel .owl-stage-outer {
    overflow: inherit !important;
}

.reviews_box:after {
    content: '';
    position: absolute;
    top: 0;
    font-size: 50px;
    width: 50px;
    height: 50px;
    background: url(img/reviews_icon.svg) no-repeat center;
    background-size: 100%;
    top: -20px;
    left: 90%;
}

.owl-dots {
    display: flex;
    padding-left: 30px;
    margin-top: 30px;
    gap: 10px;
}

.owl-dots div {
    width: 15px;
    height: 15px;
    background: #bfd3e3;
    border-radius: 7px;
	border: 1px solid #4078a3;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.owl-dots div.active {
    width: 40px;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    background: #4078a3;
}

.owl-nav {
    display: flex;
    gap: 10px;
    position: absolute;
    margin-top: 17px;
    right: 0;
}

.owl-nav div {
    width: 40px;
    height: 40px;
    background: url(img/reviews_arrow.svg) no-repeat center;
    background-size: 45%;
    border-radius: 100%;
    border: 1px solid #ceddeb;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.owl-nav .disabled {
    opacity: 0.5;
}

.owl-prev {
    transform: rotate(180deg);
}

.reviews_box_img {
    width: 50px;
    height: 50px;
    position: absolute;
    background: url(img/reviews_user.svg) no-repeat center;
    background-size: 100%;
}

.reviews_box_img {
    width: 60px;
    height: 60px;
    position: absolute;
    background: url(img/reviews_user.svg) no-repeat center;
    background-size: 100%;
    left: 18px;
    top: -15px;
    border-radius: 100%;
}

section.reviews {
    padding-bottom: 100px;
}

footer {
    background: #4078a3 !important;
    padding-top: 0 !important;
}


footer.section_line:after {
    background: #4078a3 !important;
}

footer.section_line:before {
    background: #4078a3 !important;
}

.footer_map {
    width: 650px;
    height: 300px;
    overflow: hidden;
    border-radius: 5% 30% 10% 30% / 10% 30% 50% 30%;
}

.footer_content_box_logo {
    margin-top: -50px;
}

.footer_grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
}

.footer_content_box * {
    color: #c9e0f1 !important;
    text-decoration: none !important;
    margin-bottom: 0px;
}

.footer_content_box h5 {
    margin: 0;
    margin-bottom: 10px;
    font-family: "TildaSansSB", sans-serif;
    font-size: 16px;
}

.footer_content_box__flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer_content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer_content_box_grid_button span {
    background: #c9e0f1;
    color: #000;
}

.footer_content_box_grid_button span:hover {
    background: #fff;
    color: #000;
}

.footer_content_box_grid_button a {
    text-decoration: none !important;
}

.footer_copyright__flex {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.footer_copyright {
    background: #376d97;
}

.footer_copyright__flex * {
    color: #c9e0f1 !important;
    text-decoration: none !important;
    margin-bottom: 0px;
	position:relative;
}

.footer_copyright__flex a:after {
    content: '';
    width: 100%;
    position: absolute;
    height: 1px;
    background: #c9e0f1;
    bottom: 0;
    left: 0;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.footer_copyright__flex a:hover:after {
    bottom: -5px;
	opacity:0;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.offer_box_content_btn_price_flex.full {
    grid-template-columns: 1fr;
}

.offer_box_content_icon img {
    width: 100%;
    height: 100%;
}

.offer_box_content_icon {
    width: 100px;
    height: 80px;
    position: absolute;
    margin-top: -115px;
    border-radius: 15% 30% 21% 70% / 40% 30% 50% 30%;
    background: linear-gradient(45deg, #ffffff, transparent);
    border: 1px solid #ceddeb;
    padding: 15px;
    left: 20px;
}

section.in_page {
    padding-bottom: 150px;
}

.offer_box_content_info span {
    color: #163954;
    font-size: 14px;
    font-family: "TildaSansSB", sans-serif;
    margin: 0;
    display: table;
}

.offer_box_content_info.st1 {
    margin-bottom: 10px;
}

.offer_box_content_info_cont {
    position: relative;
    z-index: 1;
}

.offer_box_content_info_cont:after {
    content: '';
    background: linear-gradient(90deg, rgb(64 120 163 / 30%) 20%, rgb(230 239 246) 100%);
    position: absolute;
    left: -20px;
    right: -5px;
    bottom: -5px;
    top: -5px;
    border-radius: 13% 12% 40% 15% / 13% 20% 30% 20%;
    z-index: -1;
	opacity:0.5;
}

.offer_box_img span {
    top: 10px;
    z-index: 1;
    padding: 8px;
    right: 10px;
    transform: rotate(-3deg);
    position: absolute;
    border-radius: 10% 20% 10% 20% / 20% 10% 20% 10%;
    background: linear-gradient(45deg, #ffffff, #f8fcff);
    border: 1px solid #ceddeb;
    color: #163954;
    font-size: 14px;
    font-family: "TildaSansSB", sans-serif;
    margin: 0;
    display: table;
    line-height: 120%;
}

.offer__grid.one {
    grid-template-columns: 1fr;
}

.section_title.left h3 {
    margin: 0;
    text-align: left;
}

.price_item_flex_button {
    width: 150px;
    min-height: 37px;
}

.price_item_flex {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr auto;
    border: 1px solid #ceddeb;
    border-radius: 35px;
    padding: 10px 20px;
	padding-left:30px;
}

.price_item_flex_button a {
    text-decoration: none !important;
}

.price_list {
    margin-top: 30px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

span.button_style.small {
    padding: 8px 19px;
}

.price_item_flex_title span {
    display: table;
    color: #163954;
    font-size: 14px;
    font-family: "TildaSansM", sans-serif;
}

.price_item_flex_price span {
    display: table;
    color: #163954;
    font-size: 14px;
    font-family: "TildaSansSB", sans-serif;
}

.price_item_flex:nth-child(odd) {
    background: linear-gradient(90deg, #e6f2fd 20%, #fff 100%);
}


.price_item_flex:nth-child(even) {
    background: #fff;
}

.section_title.small h3 {
    font-size: 32px;
    margin-left: 30px;
}

.header_body_img.company img {
    max-width: 600px;
    border-radius: 5% 30% 10% 30% / 10% 30% 50% 30%;
    background: #fff;
    position: relative;
    border: 1px solid #ceddeb;
    overflow: hidden;
    right: -110px;
}

.header_body__content h1 span:after {
    content: '';
    width: 120px;
    height: 120px;
    background: #d9e6f1;
    position: absolute;
    border-radius: 32% 30% 23% 30% / 18% 30% 62% 29%;
    z-index: -1;
    left: -15px;
    top: -10px;
}

.header_body__content h1 strong:after {
    content: '';
    width: 120px;
    height: 120px;
    background: #d9e6f1;
    position: absolute;
    border-radius: 32% 30% 23% 30% / 18% 30% 62% 29%;
    z-index: -1;
    left: -15px;
    top: -10px;
}

.header_body_img.company .header_body_img_rad {
    top: -44px;
    right: 179px;
    width: 400px;
    height: 400px;
}

.clinic_grid_img img {
    max-width: 100%;
    height: auto;
    border-radius: 5% 30% 10% 30% / 10% 30% 50% 30%;
    background: #fff;
    position: relative;
    border: 1px solid #ceddeb;
    overflow: hidden;
}

.clinic_grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
}

.clinic_grid_content_cont p {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    max-width: 400px;
    margin: 0;
    margin-bottom: 15px;
}

.clinic_grid_content_cont li {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    margin: 0;
    margin-bottom: 5px;
    margin-left: 25px;
}

.clinic_grid_content_cont ul,
.clinic_grid_content_cont ol {
    margin-bottom: 15px;
}

.clinic_grid_content_cont {
    margin-top: 20px;
}

.why_we_box.mini {
    height: 150px;
}

.why_we_box.mini .why_we_box_abs_cont h4 {
	margin:0;
}

.reviews_box.license {
    min-height: 250px;
    overflow: hidden;
}

.reviews_box.license img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.reviews_box.license:after {
    display: none;
}

.owl-stage-outer .owl-item:nth-child(even) .reviews_box.license {
    border-radius: 15% 5% 10% 50% / 20% 10% 20%;
}

.clinic_grid.left {
    grid-template-columns: auto 1fr;
}

.clinic_grid_content_cont.big p {
    max-width: 500px;
}

.clinic_grid_img.big img {
    border-radius: 100% 30% 100% 30% / 100% 30% 100% 30%;
}

.clinic_grid_img.big {
    width: 135%;
	position:relative;
}

.philosophy_logo {
    position: absolute;
    bottom: 0;
    z-index: 9;
    left: 40px;
    opacity: 0.5;
}


.clinic_grid_img.big:before {
    content: '';
    left: 18px;
    top: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #fff;
    position: absolute;
    border-radius: 100%;
    z-index: 1;
}

.specialist__grid {
    /* display: grid; */
    /* grid-template-columns: auto 1fr; */
    /* gap: 50px; */
    /* padding-left: 360px; */
    position: relative;
}

.specialist__grid_content {
    width: 500px;
}

.specialist__grid_content p {
    width: 100%;
    max-width: 100%;
}

.specialist__grid_item_slider {
    padding-left: 840px;
    position: relative;
    z-index: 1;
    padding-top: 45px;
    padding-bottom:45px;
}

.specialist_grid_img img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    background: #fff;
    position: relative;
    border: 1px solid #ceddeb;
    overflow: hidden;
    max-width: 380px;
}

.specialist__grid_item_content {
    position: absolute;
    top: 50%;
    transform: translate(0px, -50%);
    padding-left: 260px;
    height: 100%;
    display: flex;
    align-items: center;
	border:1px solid #fff;
    background: rgb(64 120 163 / 4%);
    z-index: 9;
    backdrop-filter: blur(12px);
    border-radius: 30px;
    overflow: hidden;
    padding-right: 30px;
}

.specialist__grid_slider_box {
    padding: 20px;
}

.specialist_Slider .owl-item .offer_box.full {
    transform: scale(1);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.specialist_Slider .first-active .offer_box.full {
    transform: scale(1.1);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.specialist__grid_slider .owl-nav {
    right: 60px;
}

.offer_box_img.big {
    height: 350px;
    border-radius: 0% 0% 30% 10% / 0% 0% 10% 25% !important;
}

.offer_box_content h4 span {
    color: #163954;
    font-size: 14px;
    font-weight: 500;
    max-width: 500px;
    margin: 0;
    margin-bottom: 15px;
}

.specialist .section_title h3 {
    max-width: 700px;
}

.work__grid {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
}

section.work .container {
    max-width: 90%;
}

.clinic_grid_content_cont.full * {
    width: 100%;
    max-width: 100%;
}

.work__grid_box {
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgb(255 255 255 / 30%) 20%, rgb(255 255 255 / 30%) 100%);
    position: relative;
    border: 1px solid #fff;
    height: 100%;
    padding: 25px 40px;
    display: flex;
    align-items: center;
}

.work__grid_box img {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
	opacity:0.1;
}

.clinic_grid_content {
    position: relative;
    z-index: 1;
}

.work__grid>div:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    overflow: hidden;
}

.work__grid>div:nth-child(2) {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: -30px;
}

.work__grid>div:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}

.work__grid>div:nth-child(4) {
    grid-column-start: 2;
    grid-column-end: 5;
    grid-row-start: 2;
    grid-row-end: 3;
    overflow: hidden;
    margin-left: -30px;
    margin-right: 100px;
}


.work__grid_box:after {
    width: 1000px;
    height: 1000px;
    border-radius: 100%;
    border: 50px solid #bfdef7;
    position: absolute;
    content: '';
    bottom: -80px;
    left: -50%;
    z-index: -1;
}

.work__grid_box:before {
    width: 1000px;
    height: 1000px;
    border-radius: 100%;
    border: 50px solid #dbe7f1;
    position: absolute;
    content: '';
    bottom: -80px;
    right: -111%;
    z-index: -1;
}

.work__grid_box_icon {
    display: flex;
    align-items: end;
    height: 100%;
}

.work__grid_box_icon img {
    height: auto;
    max-width: 80%;
    position: relative;
    left: -50px;
    bottom: -30px;
}

.work__grid_box p {
    font-size: 16px;
}

.work__grid>div:nth-child(1) .work__grid_box {
    border-radius: 13% 12% 40% 15% / 13% 20% 30%;
}

.work__grid>div:nth-child(2) .work__grid_box {
    border-radius: 13% 5% 40% 15% / 23% 10% 30%;
}

.work__grid>div:nth-child(4) .work__grid_box {
    border-radius: 8% 9% 40% 5% / 9% 40% 16%;
}

section.work {
    background: #d8ebff;
}

section.work.section_line:before {
	background: #d8ebff;
}

section.work.section_line:after {
	background: #d8ebff;
}

.super__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.super__grid_box img {
    max-width: 135px;
    display: table;
    margin: 0 auto;
    margin-bottom: 25px;
}

.super__grid_box {
    text-align: center;
}

.footer_contanct .footer_grid>div:last-child {
    display: none;
}

.footer_contanct .footer_content div {
    display: none;
}

.footer_contanct .footer_content div:nth-child(1) {
    display: block;
}

.footer_contanct .footer_content {
    justify-content: center;
    flex-direction: inherit;
}

.contact_page_contact p {
    color: #000 !important;
    font-size: 16px;
    margin: 0;
    margin-bottom: 5px;
    font-family: "TildaSansR", sans-serif;
    max-width: 500px;
}

.contact_page_contact a {
    color: #000 !important;
    font-size: 16px;
    margin: 0;
    margin-bottom: 5px;
    font-family: "TildaSansR", sans-serif;
    max-width: 500px;
}

.contact_page_contact h5 {
    margin: 0;
    margin-bottom: 10px;
    font-family: "TildaSansSB", sans-serif;
    font-size: 16px;
    color: #163954 !important;
}

.footer_map.big {
    height: 450px;
    width: 1000px;
    margin-left: 0;
}

.contact_page_contact .footer_content {
    width: 400px;
}

.contact_form_grid_img img {
    max-width: 100%;
    height: auto;
}

.contact_form_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e8f4ff;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #fff;
}

.form_container_input_style {
    background: #fff;
    color: #4078a3;
    display: table;
    width: 100%;
    padding: 8px 15px;
    font-size: 16px;
    border-radius: 25px;
	border: 1px solid #bbd7ed;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.form_container_input_style:focus {
    border: 1px solid #4078A3;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.form_container_input_box span {
    color: #163954;
    font-size: 15px;
    font-family: "TildaSansR", sans-serif;
    display: table;
    margin-bottom: 5px;
}

textarea.form_container_input_style.input-style {
    height: 100px;
    resize: none;
}

.form_container_input {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form_container_button.flex {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
}

.form_container_button.flex p {
    color: #163954;
    font-size: 15px;
    font-family: "TildaSansR", sans-serif;
    display: table;
    margin-bottom: 0;
    line-height: 125%;
}

.form_container_button.flex a {
    color: #4078a3;
    font-family: "TildaSansR", sans-serif;
}

.contact_form_grid_content_form {
    margin-top: 25px;
}

.contact_form_grid_content {
    padding: 50px;
}

.contact_page_contact .footer_grid {
    align-items: center;
}

.contact_form_grid_img {
    position: relative;
    width: 100%;
    height: 100%;
}

.contact_form_grid_img img {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
    opacity: 1;
}

.terviseamet_flex img {
    max-width: 300px;
    width: 100%;
}

.terviseamet_flex p {
    color: #000;
    font-size: 15px;
    margin: 0;
    margin-bottom: 0;
    font-family: "TildaSansR", sans-serif;
    line-height: 160%;
}

.terviseamet_flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.terviseamet {
    padding: 35px 0px;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    margin-bottom: 85px;
    margin-top: -180px;
    z-index: 0;
    position: relative;
}

.terviseamet_flex p strong {
    font-family: "TildaSansM", sans-serif;
}

.owl-carousel .owl-item img {
	height:100%;
}

.services_block_grid_content.right {
    margin-left: auto;
}

.services_block_grid_content {
    z-index: 9;
    backdrop-filter: blur(12px);
    border-radius: 30px;
    overflow: hidden;
    padding: 30px;
    background: linear-gradient(180deg, rgb(255 255 255 / 50%) 20%, rgb(255 255 255 / 0%) 100%);
    position: relative;
    border-right: 1px solid #ceddeb;
}

.section_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.section_img.right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
}

.section_img.left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40%;
}

.section__img_bg.left {
    left: 0;
}

.services_reability ul li::marker {
    content: '';
}

.services_reability ul li::after {
    content: '';
    width: 20px;
    height: 20px;
    background: url(img/checked.svg) no-repeat center;
    background-size: 100%;
    position: absolute;
    left: -26px;
    top: 3px;
}

.services_reability {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.services_reability.right {
    display: flex;
    justify-content: end;
}

.services_reability__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
}

.why_we_icon.right {
    right: 0;
    left: auto;
}

.services_price li {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansM", sans-serif;
    margin: 0;
    margin-bottom: 5px;
    position: relative;
    list-style: none;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #163954;
    gap: 30px;
}

.services_price p {
    margin: 20px 0;
    font-size: 14px;
    font-family: "TildaSansR", sans-serif;
}

.services_price p b,
.services_price p strong
 {
    margin: 20px 0;
    font-size: 14px;
    font-family: "TildaSansB", sans-serif;
}

.services_price li strong {
    color: #163954;
    font-size: 18px;
    font-family: "TildaSansB", sans-serif;
    margin: 0;
    margin-bottom: 5px;
    position: relative;
    list-style: none;
}

.services_price {
    display: table;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.form_container_button.flex label {
    color: #163954;
    font-size: 14px;
    font-family: "TildaSansR", sans-serif;
    display: table;
    margin-bottom: 0;
    line-height: 125%;
    padding-left: 20px;
    position: relative;
	font-weight:500;
}

.form_container_button.flex label input {
    position: absolute;
    left: 0;
    top: 2px;
    margin: 0;
}

ul.sub-menu {
    background: #fff;
    position: absolute !important;
    border: 1px solid #f4faff;
    flex-direction: column;
    opacity: 0;
    box-shadow: 1px 1px 3px rgb(242 249 255 / 10%);
    visibility: hidden;
    min-width: 250px;
    border-radius: 4px;
    padding: 10px 0;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

ul#topmenu li.menu-item-has-children:hover>ul.sub-menu {
	opacity: 1;
    visibility: visible !important;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

ul.sub-menu li {
    position: relative;
    width: 100%;
}

ul.sub-menu li a {
    width: 100% !important;
    /* text-align: left; */
    margin: 0 auto;
    display: table;
	padding-right:16px;
}

ul.sub-menu li ul.sub-menu {
    left: 100%;
	top:0;
}


.hp-calendar-container {
    width: 100%;
}

.online_biling {
    max-width: 800px;
    margin: 0 auto;
	padding-bottom:140px;
}

.hp-calendar-container {
    width: 100%;
    background: #e8f4ff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #fff !important;
    padding: 20px;
    color: #000;
}

.hp-lists {
    margin: 0 !important;
    margin-bottom: 20px !important;
}

.hp-calendar {
    background: #e8f4ff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #fff !important;
    padding: 20px;
    color: #000;
    position: relative;
    margin: 0 !important;
    max-width: 350px !important;
    width: 100%;
}

.hp-loading {
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
}

p.hp-tooltip-doctor .hp-clear {
    display: none;
}

.hp-tooltip-slot button {
    margin: 0 !important;
    background: #4078A3;
    color: #fff;
    cursor: pointer;
    display: table;
    text-align: center;
    padding: 3px 9px;
    font-size: 16px;
    border-radius: 25px;
    border: 2px solid #4078A3;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.hp-tooltip-slot button:hover {
    background: #fff;
    color: #000;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.hp-tooltip-slot {
    padding: 8px 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 !important;
}

.hp-tooltip {
    width: 100% !important;
    max-width: 300px;
}

.hp-calendar-info {
    width: 100%;
    max-width: 300px;
}

.hp-tooltip-container {
    max-height: 300px;
    padding-right: 10px !important;
}


.hp-day-box.hp-available {
    color: #4078a3 !important;
    font-family: "TildaSansB", sans-serif;
}

.hp-day-box.hp-available.hp-active {
    background: #4078a3 !important;
    color: #fff !important;
}

.hp-day-box.hp-today {
    background: #c9e0f1 !important;
    color: #000 !important;
}

.hp-lists select {
    background: #fff;
    color: #4078a3;
    display: table;
    width: 100% !important;
    padding: 8px 5px;
    overflow: hidden;
    font-size: 14px;
    border-radius: 15px !important;
    border: 1px solid #bbd7ed;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -webkit-appearance: none;
    appearance: none;
    background:#fff url(img/arrow_vertical.svg) no-repeat;
    background-size: 15px;
    background-position: 97% center;
}


.hp-week-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.hp-days-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.single_button_container {
    position: relative;
    z-index: 9;
    max-width: 240px;
    margin: 0 auto;
}

.single_button_container a {
    text-decoration: none !important;
}

.services_block2_grid.one .services_block2_grid_content {
    max-width: 900px;
    margin: 0 auto;
}

.services_reability.min {
    max-width: 600px;
    margin: 0;
    margin-left: 50px;
}

.why_we_icon.top {
    top: 0;
}

.services_header_button {
    max-width: 260px;
    margin-top: 40px;
}

.services_header_button a {
    text-decoration:none !important;
}

@media (max-width:1300px) {
.header__line_flex_button {
    display: none;
}
}

@media (max-width:1199px) {
.header__line_flex_search_btn {
    display: none;
}
.offer__grid.offer_mobile_slider {
	display:block;
}

.offer__grid.offer_mobile_slider .owl-stage {
    display: flex;
}
.why_we__grid {
    grid-template-columns: 1fr 1fr;
}
.footer_map {
    width: 550px !important;
}
.offer__grid {
    grid-template-columns: 1fr 1fr;
}
.specialist__grid_item_content {
    padding-left: 15px !important;
}
.specialist__grid_item_slider {
    padding-left: 600px;
}
.work__grid {
    display: flex;
    flex-direction: column;
}
.work__grid>div:nth-child(3) {
    order: 1;
}
.work__grid>div:nth-child(4) {
    order: 0;
}

}


@media (max-width:991px) {
.mobile_burger {
    display: block !important;
}
.mobile_burger__burger span {
    width: 35px;
    height: 3px;
    background: #000000;
    margin-bottom: 7px;
    display: table;
    border-radius: 5px;
}
.mobile_burger__burger span:last-child {
    margin-bottom: 0px;
}
.header__line_flex_nav ul {
    flex-direction: column;
    text-align: left;
    align-items: start;
}
.header__line_flex_nav ul a {
    font-size: 18px;
}
.header__line_flex_nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background: #f2f9ff;
    z-index: 99999;
    height: 100%;
    width: 40%;
	right:-50%;
    padding: 60px 10px;
    box-shadow: -5px 0px 5px rgb(0 0 0 / 17%);
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}
.header__line_flex>div:nth-child(2) div {
    display: none !important;
}
body.home.admin-bar .header__line_flex_nav {
    padding-top: 92px;
}
.header__line_flex_nav__close {
    width: 35px;
    height: 35px;
    position: absolute;
    background: url(img/x.svg) no-repeat center;
    background-size: 75%;
    top: 15px;
    right: 15px;
}

body.home.admin-bar .header__line_flex_nav__close {
	top:47px
}
.header__line_flex_nav__shadow {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgb(242 249 255 / 45%);
    z-index: 999;
    backdrop-filter: blur(12px);
	visibility:hidden;
	opacity:0;
	transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.header__line_flex_nav.active {
    right: 0;
}

.header__line_flex_nav__shadow.active {
    visibility: visible;
    opacity: 1;
}
.header_body__flex {
	flex-direction: column;
	gap: 30px;
}
.header_body__content h1,
.header_body__content p {
    max-width: 100%;
}
.header_body_img {
    text-align: right;
}
.directions__grid {
    grid-template-columns: 1fr 1fr;
}
.footer_map {
    width: 350px !important;
}
.header_mobile_menu {
	display:block !important;
}
.clinic_grid {
    grid-template-columns: 1fr;
	gap:30px;
}
.clinic_grid.left {
    grid-template-columns: 1fr;
}
.clinic_grid_content_cont.big p {
	max-width:100%;
}
.clinic_grid>div:last-child {
    order: 0;
}
.clinic_grid>div:first-child {
    order: 1;
}
.clinic_grid.left>div:last-child {
    order: 1;
}
.clinic_grid.left>div:first-child {
    order: 0;
}
.specialist__grid_item_content {
    max-width: 400px;
}
.specialist__grid_item_slider {
    padding-left: 450px;
}
.super__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.contact_form_grid.single {
    grid-template-columns: 3fr 1fr;
}
.header_mobile_menu ul.sub-menu {
    display: none !important;
}
ul#topmenu>li.menu-item-has-children {
    padding-right:0 !important;
}
ul#topmenu>li.menu-item-has-children:after {
    display: none !important;
}
body.home section.directions .section_rad_bottom_right {
    display: none;
}
.why_we_icon.top {
    opacity: 0.1;
}
.header__line_flex_button {
    display: block;
}
.header__line_flex_search_btn {
    display: flex;
}
}


@media (max-width:850px) {
.specialist__grid_item_content {
    position: relative;
    max-width: 100%;
    top: auto !important;
    transform: translate(0px, 0px);
    margin-left:15px;
    margin-right:15px;
}
.specialist__grid_content {
    width: 100%;
}
.specialist__grid_item_slider {
	padding-left: 15px;
}
}
	
	
	
@media (max-width:767px) {
body.admin-bar .header__line {
    top: 46px;
}
body.home.admin-bar .header__line_flex_nav {
    padding-top: 106px;
}

body.home.admin-bar .header__line_flex_nav__close {
	top:61px
}
.item.reviews_size {
    width: 500px !important;
}
.footer_grid {
    grid-template-columns: 1fr;
}
.footer_map {
    width: 100% !important;
}
.services_block2_grid {
    grid-template-columns: 1fr;
    gap: 30px;
}
.hp-calendar-info {
    width: 100% !important;
    max-width: 100% !important;
}
.hp-tooltip {
    width: 100% !important;
    max-width: 100% !important;
}
.contact_page_contact .hp-tooltip-slot {
    max-width:100% !important
}
.hp-calendar {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    margin-bottom: 30px !important;
}

}


@media (max-width:650px) {
.directions__grid {
    grid-template-columns: 1fr;
}
.why_we__grid {
    grid-template-columns: 1fr;
}
.footer_copyright__flex {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.offer__grid {
    grid-template-columns: 1fr;
}
.header_body_img.company .header_body_img_rad {
    right: -139px;
}
section.work .container {
    max-width: 100%;
}
.work__grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.work__grid>div:nth-child(2) {
    margin: 0 !important;
}
.work__grid>div:nth-child(4) {
    order: 0;
    margin: 0;
}
.work__grid_box_icon img {
    left: 0;
    max-width: 300px;
}
.work__grid_box {
    padding: 20px;
}
.header__line_flex_nav {
    width: 50%;
    right: -60%;
}
.services_block1_grid {
    grid-template-columns: 1fr;
    gap: 30px;
}
.services_block2_grid_content {
    padding: 20px;
}
.contact_form_grid.single {
    grid-template-columns: 1fr;
}
}


@media (max-width:550px) {
.header__line_flex_lang_button_color_flex>div:nth-child(2) {
    display: none;
}
.header_body__content {
    padding-top: 0;
    padding-left: 0;
}
.overlay-content h3 {
    font-size: 24px;
}
.overlay-content {
    padding: 0 15px;
}
.item.reviews_size {
    width: 400px !important;
}
.terviseamet {
    padding-bottom: 60px;
}
.contact_form_grid_content {
    padding: 20px;
}
section.directions.bg_style.section_line.in_page .section_rad_bottom_right {
    display: none;
}
.header__line_flex_nav {
    width: 80%;
    right: -90%;
}
.form_container_input_box_grid {
    grid-template-columns: 1fr;
}

}


@media (max-width:450px) {
.header_body__content h1 {
	font-size:26px;
}
.header_body__content h1 * {
	font-size:26px !important;
}
.overlay-content {
    margin-top: -50px;
}
.item.reviews_size {
    width: 350px !important;
}
.contact_form_grid {
    grid-template-columns: 1fr;
}
.contact_form_grid_img img {
    position: relative;
}
.specialist__grid_item_slider .item {
    width: 350px !important;
}
.form_container_button__grid {

    
}
.contact_form_grid_content .section_title h3 {
    font-size: 28px;
}
.section_title h3 {
    font-size: 30px;
}
.services_block_grid_content.size70 {
    width: 100%;
    max-width: 100%;
}
.specialist_grid_img img {
    max-width: 100%;
    height: auto;
}
.specialist__grid_item_slider {
    padding: 0px 15px;
}
.abs_search {
    max-width: 100%;
    left: 15px;
    right: 15px;
    width: auto;
}
}


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

















