/*
 ________  __       __       __    __  _____      __
|   __   ||  |     /  \     |  |  |  ||  __ \    |  |
|  |__|  ||  |    /    \    |  |\ |  || |__) |   |  |
|   _____||  |   /  /\  \   |  | \|  ||      /   |  |____ ___      ___
|  |      |  |  /  /__\  \  |  |\ |  ||  __  \   |  ___  |\  \    /  /
|  |      |  | /  /    \  \ |  | \|  || |__)  |_ | |___| | \  \__/  /
|__|      |__|/__/      \__\|__|  |__||_______(_)|_______|  \      /
                                                            _|    /
                                                           |     /
                                                           |____/
*/
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,dialog,div,dl,dt,em,embed,fieldset,figcaption,figure,font,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,meter,nav,object,ol,output,p,pre,progress,q,rp,rt,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video,xmp{border:0;margin:0;padding:0;font-size:100%}body,html{height:100%}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}b,strong{font-weight:700}img{color:transparent;font-size:0;vertical-align:middle;max-width:100%;max-height:100%;width:auto;height:auto;-ms-interpolation-mode:bicubic}ol,ul{list-style:none}li{display:list-item}table{border-collapse:collapse;border-spacing:0}caption,td,th{font-weight:400;vertical-align:top;text-align:left}q{quotes:none}q:after,q:before{content:'';content:none}small,sub,sup{font-size:75%}sub,sup{line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}svg{overflow:hidden}.clear,.clr{display:block;clear:both;overflow:hidden;line-height:0!important;height:0!important;font-size:0;margin:0;padding:0}.clearfix:after,.clearfix:before{content:"";display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both}.clearfix{zoom:1}html{overflow-x:hidden}hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}ol{list-style:decimal}ul{list-style:disc}li{margin-left:30px}address,dl,fieldset,figure,hr,ol,p,pre,table,ul{margin-top:0}
.hr-shadow{position:relative;overflow:hidden;height:25px}.hr-shadow:after{position:absolute;content:'';z-index:1;height:20px;top:-20px;left:50%;width:100%;margin-left:-50%;-webkit-border-radius:200px/10px;-moz-border-radius:200px/10px;border-radius:200px/10px;box-shadow:0 0 30px rgba(0,0,0,.28)}

.swal2-popup {width: 70rem !important;}
.swal2-popup.swal2-toast {padding: 2rem !important;font-size: 2rem !important;}
h2#swal2-title {font-size: 1.5rem;line-height: 1.5rem !important;}

#scrollup {z-index: 10;right: 0;bottom: 0;position: fixed;width: 65px;opacity: 0;visibility: hidden;height: 65px;background: #e7ecf0;cursor: pointer;text-align: center;display: flex;justify-content: center;align-items: center;transition: 0.5s;transform: rotate(180deg);}

/* Верстка ---------------------- */
.fw:before,.fw:after {content: '';display: block;background: inherit;position: absolute;height: 100%;width: 10000px;top: 0;}
.fw:before{right: 100%;} .fw:after{left: 100%;}

/* Modal ---------------------- */
    /*behavior*/
    .fon_modal {z-index: 10001;top: 0;left: 0;bottom: 0;right: 0;position: fixed;display: none;}
    .modalwrapper {-webkit-overflow-scrolling: touch;perspective: 1000px;overflow-y: scroll;z-index: 1000;top: 0;right: 0;width: 100%;height: 100%;display: none;position: fixed;}
    .modal {right: -300px;transform: translate(-50%, 0%);bottom: auto;opacity: 0;z-index: 10002;box-sizing: border-box;transition: .5s;display: none;position: absolute;}
    .modal .close_modal {position: absolute;z-index: 999999;text-align: center;cursor: pointer;transition: .5s;}

    /*modal width & position*/
    .modal {width: 850px;height: 100%;top: 50%;transform: translateY(-50%);overflow: auto;}
    .modal.poehali {opacity: 1;right: 0;margin-top: 0;}

    /*style*/
    .modalwrapper {background: rgba(0, 0, 0, 0.5);}
    .modal {background: #fff;box-shadow: 5px 5px 15px #000;padding: 30px 80px;}
    .modal .close_modal {color: var(--textcolor);background: transparent;width: 35px;height: 35px;line-height: 35px;font-size: 30px;border-radius: 5px;left: 15px;top: 15px;}
    .modal .close_modal:hover {transform: rotate(90deg);}
    .modal .h2.title {color: var(--hcolor);font-weight: 700;font-size: 4rem;padding: 20px 0 0;}
    .modal p.comment {color: var(--textcolor);}
    
    .modal::-webkit-scrollbar {width: 5px;height: 8px;background: #000;}
    .modal::-webkit-scrollbar-track {background: transparent;}
    .modal::-webkit-scrollbar-thumb {background-color: var(--maincolor2);border-radius: 10px;}

    

/* Список кружочки  ---------------------- */
    .circle-list, #uslugi-page  ul, .blog-full  ul {margin: 25px 0 25px 25px;}
    .circle-list li, #uslugi-page li, .blog-full li {list-style-type: none;margin: 0 0 12px 0;padding-left: 25px;position: relative;}
    .circle-list li:before, #uslugi-page li:before, .blog-full li:before {content:'';height: 9px;background: var(--darkgrey);width: 9px;border-radius: 100%;left: 0;top: 8px;/* transform: translateY(-50%); */position: absolute;display: block;}
    
    
/* ol li customization ---------------------- */
    ol.numbered, .blog-full  ol {margin: 25px 0 25px 25px;display: block;counter-reset: myCounter;}
    ol.numbered li, .blog-full ol li {margin: 0 0 20px;list-style-type: none;padding-left: 28px;position: relative;}

    ol.numbered li:before, .blog-full ol li:before {border: 2px solid var(--maincolor2);color: var(--maincolor2);counter-increment: myCounter;content: counter(myCounter);position: absolute;left: -31px;top: 0px;display: inline-block;text-align: center;margin: 5px 10px;width: 30px;height: 30px;line-height: 30px;border-radius: 20px;}
    #modal_3 ol.numbered li:before {color: var(--maincolor2);border: 2px solid var(--maincolor2);}
    #modal_2 .howitworks_button {background: transparent;/* text-decoration: underline; */padding: 0 0 5px !important;color: var(--maincolor2);line-height: 15px;border-radius: 0;border-bottom: 1px dashed var(--maincolor2) !important;}

/* Fancybox    ---------------------- */  
    a[data-fancybox] {position: relative;display: inline-block}
    a[data-fancybox]:after {background: url(/assets/img/icons/zoom.svg) 50% 50%/20px no-repeat, rgb(0 0 0 / 30%);display: block;border-radius: 10px;content:"";position: absolute;left: 0;top: 0;width: 100%;height: 100%;opacity: 0;transition:.5s}
    a[data-fancybox]:hover:after {opacity: 1}
    a[data-fancybox] > img {box-shadow: rgb(206 208 210) 0px 0px 20px 0px;box-sizing: border-box;width: 100%;}

    
/* Breadcrumbs    ------------------- */
    .breadcrumb {list-style-type: none;font-size: .8em;display: block; padding: 0 0 10px;}
    .breadcrumb li {display: inline-block;color: #222;margin-left: 0;}
    .breadcrumb a {color: var(--maincolor2);text-decoration: none;}
    .breadcrumb a:hover {text-decoration: underline;}
    .breadcrumb .divider {padding: 0 5px;display: inline-block;}
    
    #breadcrumbs_sub {position: absolute;z-index: 9;text-align: center;left: 0;bottom: -80px;width: 100%;}
    #breadcrumbs_sub .breadcrumb a {color: var(--maincolor2);}

/* TABLE  ---------------------- */  
    .table{max-width:100%;overflow-x:auto;width: 100%;}
    .table table {width: 100%}
    .table::-webkit-scrollbar {width: 5px;height: 5px;background: var(--maincolor);}
    .table::-webkit-scrollbar-track {background: transparent;}
    .table::-webkit-scrollbar-thumb {background-color: var(--grey);border-radius: 10px;}
    
    .table tr {border-bottom: 1px solid #f3f4f4;text-align: center;}
    .table tr:last-child {border: none;}
    .table td {padding: 5px 10px;color: var(--textcolor);vertical-align: middle;text-align: left;width: auto !important;height: auto !important;}
    .table td:last-child, .table th:last-child {text-align: right;}
    .table tr th {font-weight: 600;padding: 5px 10px;background: var(--maincolor);color: #fff;}
    
    .table.prices table tr {background-image: url(/assets/img/fon/tr.svg);background-repeat: repeat-x;background-size: auto 1px;background-position: 0 35px;border-bottom: none;}
    .table.prices table td {padding: 14px 10px 14px 0;vertical-align: top;}
    .table.prices td:last-child {line-height: 130%;font-size: 2.2rem;position: relative;padding-top: 10px !important;text-align: right;color: var(--maincolor2);font-weight: 500;white-space: nowrap;}
    
/* faq */
    .q {padding: 15px 40px 15px 0;background: transparent;position: relative;color: var(--milk);border-bottom: 1px solid var(--maincolor2);cursor:pointer;transition:border-color .5s;z-index:2;}
    .q:after {position: absolute;content: "";right: 0;top: 50%;transform: translateY(-50%);text-align: center;background: url(/assets/images/icons/arrow_down_black.png)  50% 50% no-repeat;width: 12px;height: 12px;background-size: 12px 12px;line-height: 12px;border-radius: 0;transition: .5s;}
    .a {padding: 15px 0;border-top:0;margin-bottom:20px;display:none;line-height: 26px;z-index:2;}
    .q.open:after {transform: rotate(180deg);top: 20px;}


a.icon {padding: 0 20px;font-size: 14px;}
a.icon:hover {color: #fff;}
a.icon > img {width: 20px;margin:-3px 5px 0 0;}


/* OWL Carousel    ------------------- */

/* arrows 1 */
    .owl-arrows1 .owl-nav button {top: 50%;transform: translateY(-50%);outline: none;background: url(/assets/img/icons/arrow-right-slider.svg) center no-repeat !important;background-size: 50px 50px !important;position: absolute;width: 50px;height: 50px;}
    .owl-arrows1 .owl-nav button span {font-size: 0;}
	.owl-arrows1 .owl-nav .owl-prev {left: 10px;transform: translateY(-50%) rotate(-180deg);}
    .owl-arrows1 .owl-nav .owl-next {right: 10px;}

/* arrows 2 */
    .owl-arrows2 {padding: 0 40px;margin: 0;box-sizing: border-box;}
    .owl-arrows2 .owl-prev, 
    .owl-arrows2 .owl-next {background: var(--darkgrey) !important;height: 45px;line-height: 45px !important;width: 45px;border-radius: 0;padding: 0;box-sizing: border-box;font-size: 0;color: #fff !important;position: absolute;transition: 0.3s;top: 50%;transform: translateY(-50%);outline: none;}
    .owl-arrows2 .owl-prev {left: 0px}
    .owl-arrows2 .owl-next {right: 0px;}

/* arrows 3 */
    .owl-arrows3 .owl-nav {top: -50px;right: 0;position: absolute;}
    .owl-arrows3 .owl-nav button {width: 40px;height: 40px;line-height: 40px !important;background: var(--maincolor2) !important;color: #fff !important;border-radius: 5px;margin-left: 10px;outline: none;}
    .owl-arrows3 .owl-nav button.disabled {background: var(--dark) !important;cursor: initial;}
    
    /* otzyvy */
    .otzyvy-page.owl-arrows3 .owl-nav {top: -80px;left: 250px;position: absolute;}
    
/* dots 1 */
    .owl-dots1 .owl-dots {margin-top: 10px;text-align: center;}
    .owl-dots1 .owl-dots button {background: #e9e9e9 !important;width: 12px;height: 12px;margin: 0 10px;border-radius: 30px;transition: .2s;outline: none;display: inline-block;}
    .owl-dots1 .owl-dots button.active, 
    .owl-dots1 .owl-dots button:hover {background: var(--maincolor2) !important;}

/* dots 2 */
    .owl-dots2-wrapper {text-align: center;line-height: 10px;}
    .owl-dots2 {background: #dadada;padding: 10px;border-radius: 25px;margin: 10px 0;text-align: center;display: inline-block;line-height: 0px;}
    .owl-dots2 button {background: var(--grey) !important;width: 10px;height: 10px;margin: 0 5px;border-radius: 30px;transition: .2s;outline: none;display: inline-block;border: 0;padding: 0;}
    .owl-dots2 button.active, 
    .owl-dots2 button:hover {background: var(--maincolor) !important;}


/* pagination */
        ul.pagination li {list-style: none; display:inline-block;margin-left: 5px;}
        ul.pagination li a {margin: 0;}
        .pagination a{display:inline-block;background:var(--grey);line-height:40px;padding:0 15px;margin:0 5px;text-decoration:none;color:#000;border-radius:5px}
        .pagination a:hover, .pagination li.active a{background:var(--maincolor2);color:#fff}



/*------------------ -------------------*/
/*                COMMON                */
/*------------------ -------------------*/
:root {
    --maincolor: #fff;
    --maincolor2: #1c9fab;
    --textcolor: #184470;
    --hcolor: #1e3246;
    --red: #e84118;
    --orange: #f3a416;
    --blue: #ebf4fa;
    --green: #4ba767;
    --grey: #f6f7fa;
    --yellow: #fdf9f0;
    --white: #fff;
    --dark: #1b1f2a;
    --darkgrey: #6f7186;
    --boxshadow: box-shadow: 0 9px 36px rgba(0,0,0,0.03);
    --gradient: linear-gradient(85.88deg,var(--maincolor2) 62.24%,#007e89 103.91%);
    --gradientwhite: linear-gradient(85.88deg,#f1fcfd 62.24%,#a0f1f9 103.91%);;
}

.maincolor {color: var(--maincolor)}
.maincolor2 {color: var(--maincolor2)}
.maincolor2darker {color: var(--maincolor2darker)}
.textcolor {color: var(--textcolor)}
.hcolor {color: var(--hcolor)}
.red {color: var(--red)}
.blue {color: var(--blue)}
.green {color: var(--green)}
.grey {color: var(--grey)}
.darkgrey {color: var(--darkgrey)}
.yellow {color: var(--yellow)}
.white {color: var(--white)}
.dark {color: var(--dark)}
.orange {color: var(--orange)}

.bg-maincolor {background: var(--maincolor);}
.bg-maincolor2 {background: var(--maincolor2);}
.bg-textcolor {background: var(--textcolor);}
.bg-hcolor {background: var(--hcolor);}
.bg-red {background: var(--red);}
.bg-blue {background: var(--blue);}
.bg-green {background: var(--green);}
.bg-grey {background: var(--grey);}
.bg-yellow {background: var(--yellow);}
.bg-white {background: var(--white);}
.bg-dark {background: var(--dark);}
.bg-orange {background: var(--orange);}
.bg-gradient {background: var(--gradient);}
.bg-gradientwhite {background: var(--gradientwhite);}

body::-webkit-scrollbar {width: 6px;background: transparent;}
body::-webkit-scrollbar-track {background: transparent;}
body::-webkit-scrollbar-thumb {background-color: var(--maincolor2);border-radius: 10px;}
::selection {background: var(--maincolor2);color: #fff;}

html {font-size: 10px;}
body {font-size: 2rem;line-height:3.5rem;font-weight: 500;font-family: 'Raleway', sans-serif;font-feature-settings: "pnum" on,"lnum" on;background: var(--grey);color: var(--textcolor);}
.main {max-width: 1540px;clear: both;box-sizing: border-box;margin: 0 auto;padding: 0 10px;position: relative;}
a {font-weight:500;color: var(--maincolor2darker);outline: none;text-decoration: none;transition: .5s;}
p {margin-bottom: 20px;}
h1, .h1 {font-size: 4rem;line-height: 5rem;}
h2, .h2 {font-size: 3.5rem;line-height: 4.5rem;}
h3, .h3, .blog-full h2 {font-size: 3.0rem;line-height: 4rem;}
h4, .h4, .blog-full h3 {font-size: 2.5rem;line-height: 3.5rem;}
h5, .h5, .blog-full h4 {font-size: 2.2rem;line-height: 3.2rem;}
h6, .h6 {font-size: 1.95rem;line-height: 2.95rem;}
h1,h2,h3,h4,h5,h6 {font-weight: 700;color: var(--hcolor);margin-bottom: 40px;}
.h2.title {font-weight: 700;margin-bottom: 40px;font-size: 4rem;}

/*.white-overlay {position: fixed;left: 0;top: 0;right: 0;bottom: 0;z-index: 9999;background: #fff;display: flex;flex-direction: column;justify-content: center;align-items: center;}
.white-overlay > img {width: 300px;}
.white-overlay > .loading {width: 100px;}*/

.bshad {box-shadow: 0 9px 36px rgba(0,0,0,0.03);}
.beforetapi {position: relative;color: var(--hcolor);padding: 0 0 0 130px;}
.beforetapi:before {display: inline-block;height: 2px;width: 100px;background: var(--hcolor);content: "";position:  absolute;top: 50%;transform: translateY(-50%);left: 0;}
.beforetapi-main {color: var(--maincolor);}
.beforetapi-main:before {background: var(--maincolor);}
   
.bottom-line {position: relative;z-index: 2;display: inline-block;padding: 0 5px;}
.bottom-line:before{left:0;bottom: 0px;width: 100%;max-width: 500px;display: inline-block;height: 10px;background: var(--maincolor2);border-radius:2px;position:absolute;content:'';z-index:-1;}
.small {font-size: 1.45rem;line-height: 2rem;}
.big {font-size: 1.45em;line-height: 2em;}
.iframe_usl {width:100%;height:315px;}
.maxwidth600 {max-width: 600px;margin: 0 auto;}
.maxwidth900 {max-width: 900px;margin: 0 auto;}
.maxwidth1000 {max-width: 1000px;margin: 0 auto;}

.pre_header {font-size: 1.5rem;line-height: 2.0rem;text-transform: lowercase;color: #9E9E9E;letter-spacing: 4.0px;margin: 0px 0px 5px 3px;}
.big {font-size: 25px;line-height: 30px;font-weight: 400;}

/* FORM  ---------------------- */
input[type="text"], 
textarea, 
input[type="email"], 
input[type="date"], 
input[type="time"], 
input[type="tel"], select {border: none;border-bottom: solid 1px #C6D4DE;padding: 0;margin: 0 0 20px 0;font-size: 1.8rem;font-weight: 600;color: #000;min-height: 60px;line-height: 60px;border-radius: 0;-webkit-appearance:none;width: 100%;background: transparent;font: inherit;outline: none;box-sizing: border-box;display: block;transition: border .5s;}
input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="tel"]::placeholder, textarea::placeholder, select::placeholder {color: #000 !important;font-weight: 400;}
input[type="text"].error, input[type="email"].error  {border-bottom: 1px solid #EB5757;color: #EB5757;}
textarea {line-height: normal;resize: vertical;padding-top: 20px;}
input:focus, textarea:focus {border-bottom: 1px solid var(--maincolor2);}

input[type="time"].time:before {content: 'Время:';margin-right: .6em;color: #222;}
input[type="date"].date:before {content: 'Дата:';margin-right: .6em;color: #222;}

.labelFile{padding:0;line-height:40px;text-align: center;max-width:230px;margin: 10px 0;display:block;border: 2px solid var(--maincolor);position: relative;border-radius: 5px;transition:.5s;}
.labelFile:hover {background: var(--maincolor2);border: 2px solid var(--maincolor2);} 
    .input-file{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}
    .input-file + .labelFile{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10px;cursor:pointer}
    .labelFile:before {content: "";background: url(/assets/img/icons/file.png) 50% 50%/100% no-repeat;/* color: var(--maincolor); */display: inline-block;left: 0;width: 20px;height: 20px;transform: translateY(3px);/* margin: 5px 3px 0 0; */}

select {border: none;border-bottom: solid 1px #C6D4DE;font-weight: 400 !important;border-radius: 0;outline: none;padding: 0;color: #000 !important;background: #fff;display: block;font-size: initial;margin: 0 0 10px 0;display: inline-block;font: inherit;width: 100%;cursor: pointer;background: url(/assets/img/icons/menu-down-arrow-b.svg) no-repeat 96% 50% #fff;background-size: 10px 10px;-webkit-appearance: none;}

select option {
    color: #000;
    font-size: 1.8rem;
    display: block;}

/* checkboxed */
input[type=checkbox] {position: relative;border: 2px solid #222;border-radius: 2px;background: none;cursor: pointer;line-height: 0;margin: 0 0  0;outline: 0;padding: 0 !important;vertical-align: text-top;height: 20px;width: 20px;-webkit-appearance: none;opacity: .5;}
input[type=checkbox]:hover {opacity: 1;}
.checkbox label:hover, .open_modal:hover {cursor: pointer;}
input[type=checkbox]:checked {background-color: #222;opacity: 1;}
input[type=checkbox]:before {content: '';position: absolute;right: 50%;top: 50%;width: 4px;height: 10px;border: solid #fff;border-width: 0 2px 2px 0;margin: -1px -1px 0 -1px;transform: rotate(45deg) translate(-50%, -50%);z-index: 2;}
#modal_1 input[type=checkbox]:before {content: '';position: absolute;right: 50%;top: 50%;width: 4px;height: 10px;border: solid #fff;border-width: 0 2px 2px 0;margin: -1px -1px 0 -1px;transform: rotate(45deg) translate(-50%, -50%);z-index: 2;}

.bigbutton {font-family: inherit;text-align: center;white-space:nowrap;box-sizing: border-box;background: var(--gradient);border-radius: 30px;border: 0;display: inline-block;line-height: 60px;font-size: 1.45rem;font-weight: 600;padding: 0 50px;color: #fff;text-transform: uppercase;position: relative;transition: .5s;cursor: pointer;}
.bigbutton:hover {color: #fff;}

.bigbutton.white {background: var(--gradientwhite); color: var(--textcolor);}
.bigbutton.red {background: #d26f6f;}

.effect{position:relative;overflow:hidden}
.effect:before{content:'';width:100%;height:60px;display:block;position:absolute;z-index:3;border-left:100px solid rgba(255,255,255,.3);box-shadow:-20px 30px 30px rgba(255,255,255,.3);background:0 0;top:0;left:-100px;margin-left:-1px;transition:all 0s ease-in-out;transform:translate(0,0)}
.effect:hover:before{-webkit-transition:all .4s ease-in-out;-moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;transition:all .4s ease-in-out;-webkit-transform:translate(115%,0);-moz-transform:translate(115%,0);-ms-transform:translate(115%,0);-o-transform:translate(115%,0);transform:translate(115%,0)}

    /*blik*/
    .blik{position:relative;overflow:hidden}    
    .blik:before{content:'';width:100%;height:60px;display:block;position:absolute;z-index:3;border-left:100px solid rgba(255,255,255,.2);box-shadow:-20px 30px 30px rgba(255,255,255,.1);background:0 0;top:0;left:-100px;margin-left:-1px;transition:all 0s ease-in-out;transform:translate(0,0)}
    .blik:hover:before{-webkit-transition:all .4s ease-in-out;-moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;transition:all .4s ease-in-out;-webkit-transform:translate(115%,0);-moz-transform:translate(115%,0);-ms-transform:translate(115%,0);-o-transform:translate(115%,0);transform:translate(115%,0)}
    
/* slide down from top */
.overlay {height: 0%;width: 100%;position: fixed;z-index: 99;top: 0;left: 0;background-color: rgb(0 0 0 / 85%);overflow-y: scroll;transition: .5s;}
body.over_lay {overflow-y: hidden !important;}
.overlay-content {position: relative;top: 5%;width: 500px;margin: 30px auto;z-index: 100;}
.overlay a {padding: 8px;text-decoration: none;font-size: 36px;color: #fff;display: block;transition: .5s;}
.overlay .closebtn {position: absolute;top: 20px;right: 45px;font-size: 80px;font-weight: 300;color: #fff;}
.overlay-content h2, .overlay-content p {color: #fff; margin-bottom: 10px;font-weight: 600;text-align: center;}
.overlay-content p {margin-bottom: 20px !important;}
.overlay-content .labelFile{background: #f3f4f8;padding: 5px 50px 5px 5px;border: 4px solid var(--maincolor);}
.bord1 {border: 1px solid var(--blue);}

.white-overlay {
    position: fixed;
    left: 0;
    top: 0;
    background: url(/assets/img/fon/02.jpg) 50% 50%/cover no-repeat, #ebf4fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
}

.white-overlay img.overlay-logo {
    width: 900px;
    max-width: 100%;
}

.white-overlay img.overlay-loading {
    width: 130px;
    max-width: 100%;
}


/* Header    ---------------------- */
    #header{height: 80px;top: 0;background: transparent;box-sizing:border-box;position:fixed;width: 100%;z-index:5;}
    #header > .main {height: 80px;}
    /* logo */
    #header .logo{width: 100px;left: 10px;vertical-align: middle;font-size: 1.65rem;line-height: 2.2rem;display: flex;align-items: center;top: 10px;position: absolute;transition: .5s;display: block;}
    .homepage #header .slogan {left: 185px;top: 24px;font-size: 1.85rem;line-height: 2.5rem;}
    #header .slogan {width: 200px;left: 118px;vertical-align: middle;font-size: 1.5rem;line-height: 1.85rem;color: var(--maincolor2);display: flex;align-items: center;top: 15px;position: absolute;transition: .5s;display: block;}

    .homepage #header .logo{width: 160px;}

    #header.min .logo, .homepage #header.min .logo {width: 100px;}
    #header.min .slogan, .homepage #header.min .slogan {left: 118px;top: 13px;font-size: 1.5rem;line-height: 1.9rem;}
    
    #header .zapis {right: 10px;top: 50%;line-height: 45px;transform:translateY(-50%);position:absolute;transition: .5s;cursor: pointer;}

/*MAIN MENU  ---------------------- */
  #mainmenu {box-sizing: border-box;position: absolute;transform:translateY(-50%);right: 150px;top: 50%;transition: .5s;}
  #mainmenu ul.desktop-mainmenu {transition:.5s;} 
  .mobile-mainmenu-button, .mobile-mainmenu-outer {display: none;}
  .desktop-mainmenu-vertical {opacity: 0;visibility: hidden;top: 65px;position: absolute;background: #fff;display: block;left: 0;width: 100%;z-index: 15;transition: .5s;}
  .desktop-mainmenu-vertical.opened {opacity: 1;visibility: visible;}
  .desktop-mainmenu-vertical:before, .desktop-mainmenu-vertical:after {content: '';display: block;position: absolute;height: 100%;width: 10000px;top: 0;z-index: 5;}
  .desktop-mainmenu-vertical:before {background: var(--blue);right: 100%;}
  .desktop-mainmenu-vertical:after  {left: 100%;background: #fff;}

   #desktop-mainmenu-vertical-image {position: absolute;top: 0;right: 0;}

  .uslugi_button {padding: 0 70px;line-height: 65px;text-align: center;background: url(/assets/img/icons/tooth.png) 35px 47%/20px no-repeat;font-weight: 600;border-left: 1px solid #EAF2F6;border-right: 1px solid #EAF2F6;text-transform: uppercase;display: inline-block;cursor: pointer;}
  .uslugi_button.clicked {background: url(/assets/img/icons/close.png) 35px 47%/20px no-repeat;}
  
  body.min #header {background: #fff;box-shadow: 10px 10px 15px #00000017;}


/* DESKTOP  ---------------------- */
    /* STYLE */
        /* common */
            ul.desktop-mainmenu {margin-bottom: 0;margin-left: 0;text-align: left;white-space: nowrap;}
            ul.desktop-mainmenu li {margin: 0;padding: 0;list-style-type: none;box-sizing: border-box;}
            ul.desktop-mainmenu a {color: var(--textcolor);font-size: 1.5rem;display: block;line-height: 80px;font-weight: 600;text-decoration: none;transition: .5s;}

        /* 1 level */
            li.menu-level-1 {padding: 0 0 0 50px !important;list-style-type: none;transition: .35s;display: inline-block;}
            li.menu-level-1:last-child {margin-right: 0 !important;}
                /* hover-active-decoration */
                    li.menu-level-1 > a {text-transform: uppercase;}
                    li.menu-level-1.active > a, li.menu-level-1 > a:hover {color: var(--maincolor2);} 

    /* BEHAVIOR */
        /* common */
            ul.desktop-mainmenu li {position: relative;}ul.desktop-mainmenu a {position: relative;}
        /* 2 level */
            li.menu-level-1> ul.submenu {top: calc(100% + 20px);left: 0;z-index: 2;position: absolute;transition: .35s;opacity: 0;visibility: hidden;z-index: 10;}
            li.menu-level-1.parent:hover > ul.submenu {top: calc(100% - 1px);opacity: 1;visibility: visible;}
            
            /* li.menu-level-1.id5042 > ul.submenu {top: calc(100% - 1px);opacity: 1;visibility: visible;} */
        /* 3 level */
            li.menu-level-2 > ul.submenu  {padding: 0;background: #fff;position: relative;transition: .35s;box-shadow: none;border-radius: 0;width: 100%;z-index: 3;position: absolute;left: 100%;top: 20px;opacity: 0;visibility: hidden;}
            li.menu-level-2.parent:hover > ul.submenu {top: 0;opacity: 1;visibility: visible;}


            
/*HOMEPAGE  ---------------------- */
    #banner {position: relative;padding: 210px 0;
        /* background: url(/assets/img/fon/01.png) #fff 100% 50%/cover no-repeat; */
        background: #daeef3
        
    }
    #banner .text {max-width: 850px;position: relative;z-index: 2;}
    #banner h1, .banner_sub h1 {font-size: 6rem;line-height: 7.5rem;}
    #banner p {font-size: 2.6rem;line-height: 170%;}
    #banner li {display: inline-block;background: #429ecc;color: #fff;border-radius: 14px;text-align: center;padding: 8px 15px;margin: 0 10px 15px;}
    
    .button_border {background: #fff;border: 2px solid var(--maincolor2);line-height: 58px;color: #222;}
    .button_border:hover {background: var(--maincolor2);color: #fff}
    
    .form-socials-messengers img {width: 25px;margin-right: 6px;}
    .form-socials-messengers > div > a {width: 100%;}
    
    .doctors-owl {width: 30%;}
    .uslugi .blocks {display: flex;}
    .uslugi .image img {height: 100px;margin-right: 15px;max-width: none;max-height: none;}
    
    .specs .text-block img {border-radius: 20px;}
    
    .owl-doctors.owl-arrows3 .owl-nav {bottom: 43px;right: 22px;position: absolute;top: auto;}
    .owl-doctors.owl-arrows3 .owl-nav button {border-radius: 100%;outline: none;background: var(--gradient) !important;width: 60px;height: 60px;}
    
    .reviews-block {align-items: flex-start;}
    
    #banner .homepage-banner-image {
        position: absolute;
        bottom: 0;
        left: 75%;
        z-index: 1;
        opacity: 0;
        transition: opacity 3s;
        max-width: 50%;
        transform: translateX(-50%);
    }
    #banner .homepage-banner-image.shown {opacity: 1;}

   
    #content {margin-top: 100px;min-height: calc(100vh - 220px);}
    .howitworks .flex {align-items: flex-start;}
    .pay-title {text-shadow: 2px 2px #00848e;}
    .prices .image {background: url(/assets/img/fon/prices.jpg) 100% 50%/cover no-repeat;min-height: 300px;border-radius: 0 20px 20px 0;}
    
/* Contacts */
	.contacts-text {margin-top: 26px;padding: 0 15px;color: #000;display: inline-block;}	
	.contacts-icons {display: inline-block;vertical-align: top;transform: translateY(24px);}
	.contacts-icons img {width: 45px;/* transform: translateY(-7px); */}
	.contacts-text, .contacts-text a {color: #000;font-size: 20px;line-height: 32px;border-bottom: none;text-decoration: none;}
	.contacts-text a:hover {text-decoration: underline;}
	

/* Footer    ---------------------- */
    #footer-main {background: #191c22;z-index: 1;}
	#footer-main .logo{vertical-align: middle;line-height: 2.2rem;display: flex;align-items: center;}
    #footer-main .logo img {width: 40px;margin-right: 10px;display: inline-block;transition: .5s;}
    




@media all and (max-width: 1600px) {
    .author {width: 450px;}
    .aboutus.sub .author {left: calc(100vw - 775px/2);width: 400px;}
    
    #banner .img1 {top: -50px;right: 150px;width: 350px;}
    #banner .img2 {top: 320px;right: 250px;width: 210px;}
    #banner .img3 {top: 245px;right: -25px;width: 255px;}
    
    #header .tel_socials {left: 380px;}
    #header .adr_time {left: 600px;}
    #header .zapis {width: 250px;}
    .uslugi .flex > div img {max-width: 315px;}
    

}
@media all and (max-width: 1220px) {
    .main {width: 920px;}
    
    h1, .h1 {font-size: 3.5rem;line-height: 4.5rem;}
    h2, .h2 {font-size: 3.0rem;line-height: 4rem;}
    h3, .h3 {font-size: 2.5rem;line-height: 3.5rem;}
    h4, .h4 {font-size: 2.2rem;line-height: 3.2rem;}
    h5, .h5 {font-size: 1.95rem;line-height: 2.95rem;}
    h5, .h5 {font-size: 1.85rem;line-height: 2.95rem;}
    
    .uslugi_button {padding: 0 50px;background: url(/assets/img/icons/tooth.png) 20px 47%/20px no-repeat;}
    .uslugi_button.clicked {background: url(/assets/img/icons/close.png) 20px 47%/20px no-repeat;}


    #banner {padding: 120px 0;}
    #banner h1, .banner_sub h1 {font-size: 5rem;line-height: 6.5rem;}
    #banner p {font-size: 2.0rem;line-height: 150%;max-width: 500px;}
    #banner .text {max-width: 600px;}
    
    .homepage #header .slogan {left: 125px;font-size: 1.6rem;line-height: 2.0rem;top: 12px;}
    .homepage #header .logo {width: 100px;height: 50px;}

    .h2.title {font-size: 4rem;}
    .uslugi .flex > div img {max-width: 250px;}
    .uslugi .block4 img {right: -40px!important;}
    .banner_sub .banner_sub_image {max-width: 400px;right: -100px;}
    
    #header .tel_socials {left: 240px;}
    #header .adr_time {left: 440px;font-size: 1.4rem;}
    #header .zapis {width: 220px;right: 10px;font-size: 1.5rem;}
    #header .tels > a, #header .adr_time > a {font-size: 1.6rem;line-height: 2.0rem;}
    .specs .more {display: inline-block;padding-bottom: 80px;}
    
    .specs .image {min-height: 350px;border-radius: 15px 15px 0 0;}
    #mainmenu {right: 10px;}
    .specs .text-block img {max-width: 400px;}

}  

/* l */
@media all and (max-width: 980px) {
    .main {width:770px;}
    body {font-size: 1.85rem;line-height: 3.2rem;}
    
    .mobile-mainmenu-topBlock .logo_m{color: var(--maincolor);text-decoration: none;font-size: 48px;line-height: 26px;letter-spacing: 1.0px;font-weight: 900;text-align: center;white-space: nowrap;display: block;}
    .mobile-mainmenu-topBlock .logo_m span {font-size: 12px;display: block;color: #000;letter-spacing: normal;}

    .desktop-mainmenu, #footer-main .podval2 {display: none;}
    
    .mobile-mainmenu-button {position: absolute;display: block;top: 50%;transform: translateY(-50%);right: 20px;margin: 0;padding: 0;width: 35px;z-index: 95;cursor: pointer;}
    .mobile-mainmenu-button img {width: 100%;}
    
    /*MOBILE MENU */
      #header #mainmenu {border: none;left: auto;top: auto;height: 100%;transform: none;position: initial;}
      .mobile-mainmenu {text-align: left;}
       #mainmenu.min {display: none;}
    /* wrapper */
        .mobile-mainmenu-outer {background: #fff;border-left: 2px solid var(--maincolor2);top: 0;width: 290px;right: -290px;transition: .5s;height: 100%;z-index: 1000;position: fixed;display: block;overflow-y: auto;box-sizing: border-box;}
        .mobile-mainmenu-active .mobile-mainmenu-outer {right: 0;}
        /* close */
            .mobile-mainmenu-close {width: 18px;padding: 10px;left: 0px;top: 0;cursor:  pointer;position: absolute;}
        	.mobile-mainmenu-close img {width: 100%}
        	.mobile-mainmenu-close:hover {transform:rotate(180deg); transition: .7s;}
        /* top block */
        .mobile-mainmenu-topBlock {margin: 30px 15px;text-align: center;display: block;position: relative;}
            .mobile-mainmenu-topBlock .logo_m {margin: 45px auto 10px;display: block;}
            .mobile-mainmenu-topBlock .logo_m img {width: 200px;}
        	.mobile-mainmenu-topBlock .tel_m {margin: 10px auto 10px; font-size: 2.2rem;color: var(--maincolor2);font-weight: 600;text-decoration: none;display: block;}
            .mobile-mainmenu-topBlock .tel_m > img, .mobile-mainmenu-topBlock .email_m > img {width: 25px;display: inline-block;margin: -3px 5px 0 0;}
            .mobile-mainmenu-topBlock .email_m {font-size: 1.85rem;margin-bottom: 30px;color: #222;font-weight: 500;text-decoration: none;display: block;}
            .mobile-mainmenu-topBlock .bigbutton {font-size: 1.3rem;padding: 0px 15px;line-height: 45px;}


            
    /* Style */
        /* common */
        .mobile-mainmenu ul {margin: 0;}
        .mobile-mainmenu li {border-bottom: 1px solid #f1f1f1;margin: 0;list-style: none;}
        .mobile-mainmenu li:last-child {border: none;}
        .mobile-mainmenu li a {color: #000;padding: 12px 20px;font-size: 14px;font-weight: 400;line-height: 20px;text-decoration: none;display: block;}
        .mobile-mainmenu li.active > a:not(.opened) {color: var(--maincolor2);font-weight: 600;}

            /* parent */
            .mobile-mainmenu li.parent > a {padding-right: 35px;position: relative;}
            .mobile-mainmenu li.parent > a:after {width: 15px;height: 15px;background: url(/assets/img/icons/mobile-mainmenu-plus.svg) 50% 50%/100% no-repeat;top: 50%;right: 15px;transform: translateY(-50%);position: absolute;display: block;content: '';}
            .mobile-mainmenu li.parent > a.opened:after {background-image: url(/assets/img/icons/mobile-mainmenu-minus.svg);}
            
            /* submenu */
            .mobile-submenu {padding-left: 10px;}

    h1, .h1 {font-size: 3.0rem;line-height: 4rem;}
    h2, .h2 {font-size: 2.5rem;line-height: 3.5rem;}
    h3, .h3 {font-size: 2.2rem;line-height: 3.2rem;}
    h4, .h4 {font-size: 1.95rem;line-height: 2.95rem;}
    h5, .h5 {font-size: 1.85rem;line-height: 2.95rem;}
    .h2.title {font-size: 3rem;}
    #banner h1, .banner_sub h1 {font-size: 4rem;line-height: 5.5rem;}
    #banner p {font-size: 1.85rem;max-width: 400px;}   
    .specs .text-block img {max-width: 300px;}
        
    .banner_sub .banner_sub_image {max-width: 350px;right: -100px;}
    
    #header .tels_m > a, #header .adr_time_m > a {font-size: 1.8rem;line-height: 2.1rem;}
    #header .tels > a, #header .adr_time > a {font-size: 1.5rem;line-height: 2.0rem;}
    #header .slogan {left: 93px;width: 180px;font-size: 1.4rem;line-height: 1.8rem;top: 10px;}

    .white-overlay img.overlay-logo {width: 650px;}
    .owl-doctors.owl-arrows3 .owl-nav {bottom: 30px;}
    
    .prices .image {min-height: 600px;border-radius: 0 0 20px 20px;}

    #footer-main .logo{float: right;margin-bottom: 25px;}

    /* Modal ---------------------- */
    .modal {padding: 20px;left: 0;top: 0;transform: none !important;width: 100%;min-height: 100%;border-radius: 0;}
    .modal .close_modal {top: 5px;right: 5px;}  
    .modal {text-align: left;}
}


/* m */
@media all and (max-width: 768px) {
    .main {width: 100%;}
    
    h1, .h1 {font-size: 2.6rem;line-height: 4rem;}
    h2, .h2 {font-size: 2.5rem;line-height: 3.5rem;}
    h3, .h3 {font-size: 2.2rem;line-height: 3.2rem;}
    h4, .h4 {font-size: 1.95rem;line-height: 2.95rem;}
    h5, .h5 {font-size: 1.85rem;line-height: 2.95rem;}
    h6, .h6 {font-size: 1.7rem;line-height: 2.6rem;}
    
    #banner h1, .banner_sub h1 {font-size: 3rem;line-height: 4rem;}
    .owl-dots1 .owl-dots button {width: 9px;height: 9px;margin: 0 3px;}
    
    .white-overlay img.overlay-logo {width: 400px;}
    .white-overlay img.overlay-loading {width: 100px;}
    .specs .bord1 {font-size: 1.45rem;}
    .contact-info {transform: none;}
    
    
    #mainmenu {right: 10px;}
    li.menu-level-1 {padding: 0 0 0 30px !important;}
     
    .banner_sub .banner_sub_image {max-width: 350px;right: -50px;opacity: .4;z-index: 1;}
    .banner_sub .banner-content, .banner_sub .open_modal1.bigbutton {position: relative; z-index: 2;}
    .form-priziv .image {position: absolute;bottom: 0;left: -50px;width: 300px;max-width: none;}
    #contacts_block .details {box-shadow: none;}
    
    /* #banner {padding: 90px 0;background: url(/assets/img/fon/01.png) #fff 76% 50%/cover no-repeat;position: relative} */
    /* #banner:after {content: '';position: absolute;top:0;width:100%;height: 100%;background: rgb(255 255 255 / 60%);z-index: 1;} */
    
    #banner {padding: 90px 0;}
    #banner .main {z-index: 2;} 

}

/* s */
@media all and (max-width: 570px) {
    .main {width: auto;padding: 0 10px;}
    #header, #header .main {height: 55px;}
    #banner, #content, #doctors {margin-top: 55px;}
    .mobile-mainmenu-button img {width: 38px !important;}
    .bigbutton {line-height: 50px;padding: 0 35px;}
    .button_border {line-height: 48px;}
    body {font-size: 1.75rem;line-height: 3rem;}
    .h2.title, .modal .h2.title {font-size: 2.5rem;margin-bottom: 30px;}
   
    #banner h1, .banner_sub h1 {font-size: 3rem;line-height: 4rem;}
    #banner p {font-size: 1.65rem;max-width: 310px;}  
    #banner {padding: 50px 0;/* background: url(/assets/img/fon/01.png) #fff 75% 50%/cover no-repeat; */}
    /* #banner:after {background: rgb(50 50 50 / 75%);z-index: 1;} */
    /* #banner, #banner h1 {color: #fff;} */
    
    #banner .homepage-banner-image.shown {opacity: .5;}
    #banner .homepage-banner-image {left: 50%;max-width: 100%;}
    #banner p {color: #000; font-weight: 700;}


    body.min #header {box-shadow: 5px 5px 15px rgb(18 18 18 / 25%);height: 50px;}
    body.min #header .main {height: 50px;}
    .white-overlay img.overlay-logo {width: 275px;}
    .white-overlay img.overlay-loading {width: 70px;}
    .modal .close_modal {top: 5px;right: 5px;left: auto;font-size: 2.5rem;}  
    
    #mainmenu {right: 30px;}
    li.menu-level-1 {padding: 0 0 0 20px !important;}
    .owl-doctors.owl-arrows3 .owl-nav {bottom: auto;/* position: relative; *//* right: auto; */top: 10px;right: 10px;text-align: center;/* margin-bottom: 25px; */}
    .owl-doctors.owl-arrows3 .owl-nav button {width: 40px;height: 40px;}.table.prices td:last-child {font-size: 1.7rem;}
    .table.prices table tr {background-image: none;}
    .prices .image {min-height: 400px;}

    li.id1 {display: none;}
    #header .logo{left: 5px;top: 2px;height: 45px;}

    .specs .spec-block {border-radius: 0 0 15px 15px;}
    #scrollup {width: 45px;height: 45px;}
    
    .form-priziv .image {width: 350px;opacity: .3;left:  auto;right: -100px;}
    .form-priziv .bigbutton {padding: 0 20px;font-size: 1.4rem;}
    #contacts_block .details_box a, #contacts_block .details_box p {margin: 0;}
    #contacts_block h2 {margin: 10px 0 25px;}
    
    .banner_sub ul.circle-list  li {font-size: 1.8rem;}
    .banner_sub .banner-content, .banner_sub .open_modal1.bigbutton {position: relative;z-index: 2;padding: 0 20px;font-size: 1.4rem;}
    
    .specs .zapis, .specs .button_border {font-size: 1.3rem;padding: 0 25px;left: 10px;}
    #header .adr_time_m > a {font-size: 1.6rem;line-height: 2.0rem;}
    
    .howitworks .bigbutton {width: 100%;padding: 0;}
    
    .specs .more {display: inline-block;padding-bottom: 115px;margin:  0 !important;}
    .table.prices table td {width: 20%;}
    .table.prices td {white-space: initial;}
}