/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

.responsive .boxed#top, .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header {
    width: 100%;
    max-width: calc(100% - 64px);
}
#header .container {
  padding: 0px;
}
.cosial {
    max-width: 190px;
    display: flex;
    justify-content: space-between;
    margin: 1em auto;
    align-items: center;
}
p.mess {
    max-width: 400px;
    margin: 10px auto;
}
p.mess, p.mess span a{
    display: flex;
    justify-content: space-around;
    align-items: center;
	flex-wrap:wrap;
}
p.mess img {
    margin: 0 4px;
    width: 20px;
}
#footer .container {
    padding: 0 40px;
display: grid;
align-items: center;
}
#footer .container .av_one_fourth{
	width:100%;
	margin:0;
}
#socket .container p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.button-r, .button-u {
    background: #ae5e65;
    color: #fff;
    text-transform: uppercase;
    max-width: 280px;
    padding: 1em;
    margin: 0 auto;
}
.top-addr {
text-align: center;
    z-index: 10;
    margin-right: 50px;
}
.top-addr a {
    color: #222222;
    font-size: 1.3em;
}
.top-addr a:hover{
 color: #222222;   
}
#av-burger-menu-ul li, span.mega_menu_title.heading-color.av-special-font {
    font-family: 'raleway'!important;
}
.main-slides{
	margin-top:30px;
}
.main-slides .caption_fullwidth.av-slideshow-caption.caption_left .slideshow_align_caption {
    text-align: center;
}
.main-slides .caption_fullwidth.av-slideshow-caption.caption_left .slideshow_align_caption h1{
font-size: 42px;
    color: #222222;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1.5em;	
}
span.mega_menu_title.heading-color.av-special-font{
text-transform:uppercase;
  background-color: rgb(241 197 192 / 55%);
padding:13px 22px;
color:#222222;
font-weight:normal!important;
}
#menu-item-222 span.mega_menu_title.heading-color.av-special-font, #menu-item-63 span.mega_menu_title.heading-color.av-special-font{
  background-color: transparent!important;	
}
.pum-theme-12 .pum-container, .pum-theme-lightbox .pum-container {
    padding: 44px 24px 24px 24px!important;
}
.peper-rose {
    position:relative;
}
.peper-rose:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 75%;
    background: #faefed;
    top: 50%;
    transform: translate(0, -50%);
}
.peper-rose .avia_codeblock_section:before, .peper-rose .avia-image-container:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #F0CDC9;
    left: 20px;
    top: 20px;
    z-index: -1;
}
.peper-rose .container {
    max-width: 80%;
}
.procedure {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 8px 0;
}
.procedure-price {
    text-align: right;
}
.av-minimal-toggle.togglecontainer .single_toggle .toggler{
background:#f1c5c0!important; 
border-color:#faefed!important; 
outline:none;  

}
.av-minimal-toggle .toggle_content {
    border-radius: 0;
    border: none;
    padding: 12px!important;
}
.av-minimal-toggle .toggle_icon {
    border-color: #222222!important;
}
.avia-gallery-thumb {
    display: flex;
	flex-wrap:wrap;
    justify-content: center;
    align-items: center;
}
.do-posle .container {
    max-width: 1200px;
}
.gallery-do-posle:before {
    content: '';
    display: block;
    width: calc(80% + 32px);
    height: 90%;
    position: absolute;
    left: 50%;
    top: 20px;
    border: solid #F1D4D1;
    transform: translate(-50%, 10px);
    z-index:-1;
}
.mfp-title{
    display:none;
}
.header_color .main_menu .menu ul li a{
background-color:transparent!important;
}
#top #layer_slider_1 {
    box-shadow: none;
	margin-top:40px!important;
}
#top .avia-layerslider .ls-nav-prev, #top .avia-layerslider .ls-nav-next {
	top:100%;
	background: #ae5e66;
	opacity:1;
	height: 24px;
	width:24px!important;
    line-height: 24px;
	z-index:100!important
}
#top .avia-layerslider .ls-nav-prev:before, #top .avia-layerslider .ls-nav-next:before{
font-size: 16px;
    line-height: 24px;	
	background:transparent;
}
#top .avia-layerslider .ls-nav-next {
    left: 50%;
    transform: translate(-88px, 0px);
}
#top .avia-layerslider .ls-nav-prev {
    left: 50%;
    transform: translate(-120px, 0px);
}
.procedures, .procedures .av_one_third, .first-text-main {
    position: relative;
    background: transparent!important;
}
.procedures::before, .first-text-main:before {
    display: block;
    content: '';
    width: 80%;
    height: 90%;
    background: #FAEFED;
    top: 0;
    left: 50%;
    position: absolute;
    transform: translate(-50%, 0);
}
.first-text-main:before{
    transform: translate(-50%, 120px);
    height: 60%;
}
a.p-inst {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.procedures .av_one_third:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 10px;
    top: 10px;
    background: #F1C5C0;
    visibility: visible;
}
.procedures .av_one_third .av-special-heading{
margin-top:20px;	
}
.procedures .av_one_third .av-special-heading h3{
	text-align:right;
	padding-right:20px;
}
.first-text-main .entry-content-wrapper {
    display: flex;
	flex-wrap:wrap;
    justify-content: space-around;
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
}
#top .avia-slider-testimonials.avia-testimonial-wrapper{
	min-height:400px;
}
.book-u, .book-r {
    text-align: center;
    background: #ae5e65;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
    bottom:0;
    box-sizing: border-box;
    padding: 16px;
    position: fixed;
    font-weight: bold;
    z-index: 100001;
}
ul.l-menu {
    display: grid;
    position: absolute;
    right: 26px;
    top: 4px;
}
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */
@media only screen and (max-width: 500px) {

.procedures .flex_column.av_one_third {
    max-width: 100%;
    float: none;
    margin-left: auto!important;
    margin-right: auto!important;
	margin-bottom: 40px!important;
}
}
@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
#footer .container {
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 2em;
}

.book-u, .book-r{
width:280px;  
transform: rotate(-90deg) translate(-15%, 111px);
right: 0;
bottom: 50%;
}
.top-addr {
width: 280px;
}
}
@media only screen and (min-width: 475px) and (max-width:1280px) {
	.procedures .container .entry-content-wrapper .av_one_third{
		width:43%;
		margin-left:0!important
	}
	.procedures .container .entry-content-wrapper .av_one_third:after, .clearfix:after{
		display:none;
	}
.procedures .container .entry-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.procedures .av_one_third .av-special-heading {
    font-size: 1.3em!important;
}
li.services-menu.av-active-burger-items {
    display: flex!important;
	flex-wrap:wrap;
}
li.services-menu.av-active-burger-items > a{
		width:100%;
	}
li.services-menu.av-active-burger-items > .sub-menu {
   width:50%;
}	
	li.services-menu.av-active-burger-items li.av-width-submenu > ul > li {
margin-top:0!important;
margin-bottom:0!important;
	}
li.services-menu.av-active-burger-items li.av-width-submenu > a {
    background-color: rgb(241 197 192 / 0.6);
    display: inline-block;
    padding: 10px 0;
    margin: 0 10px;
}	
li.menu-item-63.av-width-submenu.av-active-burger-items > .sub-menu {
    font-size: 0.8em;
}

}
li.pll-parent-menu-item.current-menu-parent.current-menu-item.menu-item-80.av-width-submenu.av-active-burger-items > a {
    display: none!important;
}	
}

@media only screen and (min-width: 768px) and (max-width:1023px){
	#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {
    width: 26%;
}
.ls-wrapper.ls-in-out{
		left:30px!important;
	}
.otzuv-conteiner {
    font-size: 0.7em;
}
}

@media only screen and (min-width: 768px) and (max-width:1280px){
div .av_two_fifth {
    margin-left: 0;
    width: 48%;
}
.first-text-main:before {
    transform: translate(-50%, 50px);
    height: 80%;
    width: 100%;
}
.first-text-main .entry-content-wrapper .flex_column_table{
display:flex!important;
justify-content:space-around;
align-items:center;
flex-wrap:wrap;
}
#top .flex_column_table_cell{
		display:block;
	}
.peper-rose .container {
    max-width: 100%;
}
#top .peper-rose .flex_column_table {
    display: flex!important;
    width: 90%!important;
    justify-content: space-around;
    align-items: center;
    margin: auto;
}	
}

@media only screen and (min-width: 1024px) {
  /* Add your Desktop Styles here */
.top-addr {
    transform: translate(-40%, 50%);
    position: absolute;
    left: 50%;
}
ul.l-menu {
display:none;    
}
ul.sub-menu, ul.sub-menu li {
    background: #f3e8e4;
    border: 0!important;
}
	.main-slides .avia-slideshow.image_no_stretch li img{
		margin: 0 200px 0 auto!important;
	}
}


@media only screen and (min-width: 1280px) {
  /* Add your Desktop Styles here */
#footer .container {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.5em;
}
.top-addr {
    position:absolute;
    transform: translate(-150px, 20%);
    left: 300px;
}
	.main_menu {max-width:710px;}	
#top #header .services-menu .avia_mega_div>.sub-menu {
    display: grid;
padding: 0 10px;
}

.otzuv-conteiner {
    transform: translate(30px, 50px);
    margin-left: 0!important;
    width: 45%!important;
}
	.procedures::before, .first-text-main:before{
		width:100%;
	}
}
@media only screen and (min-width: 1440px) {
	#top #header .services-menu .avia_mega_div > .sub-menu{
		padding:0 10px 10px!important;
	}
	#top #header .av-main-nav > li > a{
		font-size:14px!important;
	}
.otzuv-conteiner{
transform: translate(100px, 50px);	
}
#menu-item-163, #menu-item-177, #menu-item-660, #menu-item-245, #menu-item-249, #menu-item-880 {
    width: 300px!important;
}
#top #header li#menu-item-296, #top #header li#menu-item-294 {
    width: 530px;
    position: absolute;
    left: 320px;
    top: 0;
}	

#top #header li#menu-item-296 .sub-menu, #top #header li#menu-item-294 .sub-menu	{
		display: grid;
    grid-template-columns: 1fr 1fr;
}
#top #header li#menu-item-452, #top #header li#menu-item-855 {
    width: 500px;
    position: absolute;
    left: 870px;
    top: 0;
}
#top #header li#menu-item-452 >.sub-menu li, #top #header li#menu-item-855 >.sub-menu li {
    max-width: 48%;
}
#top #header li#menu-item-481, #top #header li#menu-item-862 {
    position: absolute;
    top: 0;
    left: 259px;
    max-width: 230px;
}
#top #header li#menu-item-481 > .sub-menu li, #top #header li#menu-item-862 > .sub-menu li {
    max-width: 100%;
}
}
@media only screen and (min-width: 1500px) {
  /* Add your Desktop Styles here */

.top-addr {
    left: 500px;

}
	#top #header .av-main-nav > li > a .avia-menu-text, #top #header .av-main-nav > li > a .avia-menu-subtext {
    font-size: 14px;
}
	
}

@media only screen and (min-width: 1280px) and (max-width:1400px) {
  /* Add your Desktop Styles here */
#top #header .av-main-nav > li > a .avia-menu-text, #top #header .av-main-nav > li > a .avia-menu-subtext {
    font-size: 12px;
}
.logo img {
    max-width: 250px;
}
.top-addr {
    transform: translate(0, 50%) scale(0.9);
    left: 233px;
}
#menu-item-296, #menu-item-294 {
    position: absolute!important;
    left: 330px!important;
}	
#menu-item-452, #menu-item-855 {
    position: absolute!important;
    left: 650px!important;
}	
#menu-item-862, #menu-item-481 {
    position: absolute!important;
    left: 290px!important;
    max-width: 300px;
    top: 0px!important;
}
	#top #header .services-menu .avia_mega_div>.sub-menu{
min-height: 100vh;
	}	
}

@media only screen and (max-width: 1024px) {
  /* Add your Mobile Styles here */
.peper-rose:before {
    height:100%;
}
	li.pll-parent-menu-item.current-menu-parent.current-menu-item.menu-item-80.av-width-submenu.av-active-burger-items > a, 
li.pll-parent-menu-item.current-menu-parent.current-menu-item.menu-item-227.av-width-submenu.av-active-burger-items > a {
    display: none!important;
}	
}

/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
.pll-parent-menu-item>a {
    display: none!important;
}
#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {
    width: 100%!important;
}
	h1 {
		font-size: 28px;
	margin-top:1.5em!important;
	}
	#top .flex_column_table_cell{
		display:block;
	}
.first-text-main .entry-content-wrapper .flex_column_table{
display:flex;
justify-content:space-around;
align-items:center;
flex-wrap:wrap;
}
	.ls-wrapper ls-in-out{
		left:10px!important;
	}
.first-text-main:before {
    transform: translate(-50%, 0px);
    height: 100%;
    width: 100%;
}
.otzyvy {
    background-size: contain;
}
	.otzyvy {
    background-size: contain;
}
	.otzyvy .flex_column.av_three_fifth {
    display: none!important;
}
.page-id-23	#after_section_6{
		display:none;
	}
.otzuv-conteiner {
    transform: translate(0px, 50px);
}

	li.services-menu.av-active-burger-items li.av-width-submenu > ul > li {
margin-top:0!important;
margin-bottom:0!important;
	}
li.services-menu.av-active-burger-items li.av-width-submenu > a {
    background-color: rgb(241 197 192 / 0.6);
    display: inline-block;
    padding: 10px 0;
    margin: 0 10px;
}	
li.menu-item-63.av-width-submenu.av-active-burger-items > .sub-menu{
    font-size: 0.8em;
}
#socket {
    padding-bottom:50px;
    text-align:center;
}
#form9 .fm-form-builder .wdform_column, #form8 .fm-form-builder .wdform_column{
     flex-direction: column;   
}
	div#license img {
    max-width: 80%;
	margin: 0 auto;
}
}
