/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

iframe {
	min-height: 50px !important;
}


/*Add your own styles here:*/

.html_header_top.html_header_topbar_active.html_header_sticky.html_large #top #main {
    padding-top: 172px;
}

.content, .sidebar{
	padding-top: 30px;
    padding-bottom: 30px;
}

.container_wrap{
	border: none;
}

/*Иконка записей*/
.main_color .rounded-container, #top .main_color .pagination a:hover, .main_color .small-preview, .main_color .fallback-post-type-icon, .main_color .small-preview:hover{
	background: transparent;
}

/*Fonts*/

body, html,
div .main_color .button,
.main_color #submit,
.main_color input[type='submit']{
	font: 16px/1.5 'Comfortaa', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2{
	text-transform: none;
	font-weight:normal;
}

.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2, h3, .av-special-heading-tag, .modern-quote .av-special-heading-tag{
	font-weight: bold;
}

h1, h1 a{
	font-size:36px;
	line-height: 1.4em;
}
h2, h2 a{
	font-size: 32px;
   	line-height: 1.4em;
}
h3, h3 a{
	font-size: 28px;
    line-height: 1.4em;
}
h4, h4 a{
	font-size: 24px;
    line-height: 1.4em;
	margin-bottom: 14px;
}
h5, h5 a{
	font-size: 20px;
    line-height: 1.4em;
}
h6, h6 a{
	font-size: 18px;
    line-height: 1.4em;
	margin-bottom: 10px;
}

.alternate_color .breadcrumb, .alternate_color .breadcrumb a, #top .alternate_color.title_container .main-title, #top .alternate_color.title_container .main-title a {
    color: #008641;
}

td{
	vertical-align:middle;
}

#top .widget_nav_menu li{
	font-size: 16px;
}

.main_color .widget_first, .main_color strong, .main_color b, .main_color .special_amp{
	color: #666666;
}

.main_color a strong,.main_color a b{
	color: #008641;
}


/*Header*/

#header{
	background:rgba(255,255,255,.8);
}

.av_minimal_header_shadow.av_header_transparency {
    box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.25);
}

/*Small bar*/

.phone-info{
	padding: 15px 0;
}

.phone-info span{
	font-size:16px;
	font-weight: bold;
	line-height:1.4;
	color: #f78f1e !important;
}

.sub_menu>ul>li>a{
    font-size:16px;
	font-weight: bold;
	line-height:1.4;
}

.av-main-nav > li > a{
	font-size: 16px;
	text-transform: uppercase;
}

/*Main Content*/

#imgonmain .avia_ajax_form input[type="checkbox"]{
	top: -2px;
}

#ui-datepicker-div{
	z-index: 555 !important;
}


#imgonmain label.input_checkbox_label {
    font-weight: bold;
    font-size: 0.72em;
    margin-left: 25px;
}

#imgonmain .avia_ajax_form.av-form-labels-hidden p:nth-of-type(6){
	text-align: center;
}

@media only screen and (max-width:767px){
	#imgonmain .container{
		height: auto !important;
		padding-top: 20px !important;
		padding-bottom: 25px;
	}
}


/*Блоки на главной*/

#service{
	margin: 20px auto 20px;
}

.home #service{
	margin: 40px auto 10px;
}

#service .flex_column_table{
	margin-bottom: -1px !important;
}

#service .flex_column {
    z-index: 5;
}
#service .flex_column:hover {
    z-index: 5555;
}

#service .service-item{
	width: 100%;
}

#service .service-item-caption h6{
	margin-bottom: 20px;
}
#service .service-item-caption{
	font-size: 15px;
}

#service .flex_column:hover .service-item-caption{
	color: #008641;
}

.service-item{
	width:33.33%;
	float:left;
	padding:0;
	margin:0;
	display:block;
}

.service-item-img{
	width:50%;
	height:100%;
	float:left;
	position:relative;
	overflow:hidden;
}

.service-item-img-hover{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	display:none;
}

.service-item-img-hover img,
.service-item-img-gray{
	width:100%;
	height:100%;
	display:block;
	vertical-align: bottom;
}

.service-item-caption{
	width:50%;
	float:left;
	padding:4.5% 3% .5%;
	word-wrap:break-word;
	overflow:hidden;
	color:#ffffff;
}

.service-item-caption p{
	margin-top:20px;
	font-size:15px;
}

.service-item:hover .service-item-img-hover{
	display:block;
}

.service-item-caption h6{
	color:#ffffff;
	font-weight:bold;
}

.service-item.first{
	background:#00afdb;
}
.service-item.second{
	background:#f78f1e;
}
.service-item.third{
	background:#008641;
}
.service-item.fourth{
	background:#f78f1e;
}
.service-item.fifth{
	background:#008641;
}
.service-item.fifth h6{
	font-size:17.1px;
}
.service-item.sixth{
	background:#00afdb;
}
.service-item.seventh{
	background:#00afdb;
}
.service-item.eighth{
	background:#f78f1e;
}
.service-item.ninth{
	background:#008641;
}

.service-item:hover h6,
.service-item:hover p{
	color:#008641;
}

.service-item:hover{
	background:#fff;
    transform: scale(1.02);
    z-index: 5555;
    outline: 2px solid #fff10a;
}

.right{
	float:right;
	text-align:right;
}

.service-item,
.service-item:hover,
.service-item-caption,
.service-item-img-hover,
.service-item-img{
	-webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    -ms-transition: .3s;
}

/*@media only screen and (max-width: 1245px) and (min-width: 1131px){
	.service-item-caption p{
		font-size:13px;
		line-height:1;
		margin-top:5px;
	}
}*/
@media only screen and (min-width: 923px) and (max-width: 1245px){
	.service-item-caption p{
		font-size:13px;
		line-height:1;
		margin-top:5px;
	}
	#service .service-item-caption{
		font-size:13px;
		line-height:1;
	}
	#service .service-item-caption h6{
		margin-bottom:5px;
	}
	.service-item-caption h6,
	.service-item.fifth h6{
		font-size:13px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 922px){
	.service-item-caption p{
			display:none;
	}
	.service-item-caption h6,
	.service-item.fifth h6	{
		font-size:13px;
	}
	.service-item-img{
		width:100%;
	}
	.service-item-caption{
		text-align:center;
		width:100%;
		height:45px;
	}
	.service-item-wrap:after{
		display:none;
	}
}
@media only screen and (max-width: 767px){
	.right{float:left;text-align:left;}
	.service-item-img:nth-of-type(2n+2){float:right;text-align:right;}
	.service-item{width:100%;}
	.service-item-img-hover{display:block;}

	div.clearfix a.service-item{background:#fff; outline: 2px solid #fff10a;margin-top:20px;}
	#service .service-item-caption,.service-item-caption p,.service-item-caption h6{color:#008641 !important;}
}

@media only screen and (max-width: 365px){
	.service-item-caption,
	.service-item-img{
		width:100%;
		text-align:center;
		
	}
	.service-item-caption p,
	.service-item{
		margin-top:10px;
	}
	#service .service-item-caption h6,
	#service .service-item-caption{
		margin-bottom:10px;
	}
}

/*Блоки c главной в сайдбаре*/

.sidebar .inner_sidebar{
	margin-left: 20px;
    margin-right: 10px;
}

.sidebar .inner_sidebar .service-item{
	width: 100%;
	float: none;
}

.sidebar .inner_sidebar .service-item p{
	display: none;
}

.sidebar .inner_sidebar .service-item h6{
	font-size: 14px;
}

.sidebar .inner_sidebar .right{float:left;text-align:left;}
.sidebar .inner_sidebar .service-item-img:nth-of-type(2n+2){float:right;text-align:right;}
.sidebar .inner_sidebar .service-item-img-hover{display:block;}
.sidebar .inner_sidebar  .service-item:nth-of-type(2n) .service-item-img{
	float: right;
}

/*Слайдер с преимуществами*/
.slider-on-main div{
	display: table-cell;
	width: 50%;
}

.slider-on-main img{
	border:2px solid #fff10a;
	padding:0;
	margin:0;
	margin: 0 auto;
}

.slider-on-main .slider-on-main-cap{
	vertical-align: middle;
	padding-left: 15px;
}

@media only screen and (max-width:910px){
	.slider-on-main div{
		display:block;
		width:100%;
		text-align:center;
	}
	.slider-on-main .slider-on-main-cap{
		padding:0;
	}
}

/*Как мы работаем*/

.rabotaem-wrap{
	position: relative;
    background: #00afdb;
    color: #fff;
    margin: 0 15%;
    line-height: 1.6;
	padding: 25px 30px 35px 270px;
}
.rabotaem-wrap-right{
	padding: 25px 270px 35px 30px;
	background: #008641;
}

.rabotaem-wrap div.rabotaem{
	position: absolute;
   	top:-25px;
    left: -25px;
}
.rabotaem-wrap div.rabotaem-right{
	position: absolute;
	bottom:-25px;
    right: -25px;
}

.rabotaem-wrap img{
	vertical-align:bottom;
	border: 2px solid #fff10a;
	border-radius: 80px 0;
}

@media only screen and (max-width: 1050px){
	.rabotaem-wrap,
	.rabotaem-wrap-right,
	.rabotaem-wrap div.rabotaem,
	.rabotaem-wrap div.rabotaem-right{
		position: static;
		width: 100%;
		height: auto;
		padding:0;
		margin:0 auto;
		text-align: center;
	}
	.rabotaem-wrap,
	.rabotaem-wrap div.rabotaem-right,
	.rabotaem-wrap div.rabotaem{
		padding: 15px;
	}
}

/*Слайдер с врачами*/

#vrachi .slide-entry-excerpt.entry-content img{
	padding: 0;
	border: 2px solid #fff10a;
	border-radius: 20px;
}

#vrachi .slide-entry-excerpt.entry-content hr{
	border-color: #008641;
}

/*consult*/

#consult h3,
#consult h5,
#consult p strong{
	color: #fff;
}

@media only screen and (max-width:990px){
	#consult,
	#consult .av-section-color-overlay-wrap .av-section-color-overlay{
		background: transparent !important;
		background-image: none !important;
	}
	#consult h3,
	#consult h5,
	#consult p strong{
		color: #008641;
	}
}

/*fonsgradientom*/

#fonsgradientom .av-section-color-overlay{
    background: linear-gradient(150deg, transparent 38%, white 61%);
	background: -moz-linear-gradient(150deg, transparent 38%, white 61%);
	background: -o-linear-gradient(150deg, transparent 38%, white 61%);
	background: -webkit-linear-gradient(150deg, transparent 38%, white 61%);
}

#fonsgradientom p{
	line-height: 2;
}

@media only screen and (max-width:767px){
	#fonsgradientom .av-section-color-overlay{
		background: rgba(255,255,255,.9);
	}
}

/*tabsOnMain*/

#tabsonmain .av-tab-arrow-container{
	display: none;
}

#tabsonmain  .av-inner-tab-title{
	text-transform: none;
	font-size: 14px;
    text-align: left;
	margin-top:0;
	line-height: 1.3;
}

#tabsonmain .av-inner-tab-title,
#tabsonmain .av-tab-section-icon,
#tabsonmain .av-tab-arrow-container,
#tabsonmain .av-tab-section-image{
	width: 120px;
}

#tabsonmain .av-tab-section-tab-title-container{
	padding: 0;
}

#tabsonmain .av-section-tab-title{
	padding: 20px 20px 0px 20px;
	vertical-align: top;
	height: 143px;
	border-top: 1px solid #fff10a;
	border-left: 1px solid #fff10a;
}

#tabsonmain .av-section-tab-title:last-of-type{
	border-right: 1px solid #fff10a;
}

#tabsonmain a.av-active-tab-title,
#tabsonmain .av-active-tab-content {
    color: #fff;
    background: #00afdb;
}

/*formonmain*/

#formonmain{
	max-width: 1230px;
	margin: 0 auto;
}

#formonmain .avia_ajax_form input[type="checkbox"]{
	top: 1px;
}

#formonmain .form_element:nth-of-type(6){
	position: absolute;
    right: 0;
    width: 24.2%;
}

#formonmain input[type='submit']{
	padding: 11px 20px 10px;
	width: 100%;
}

#formonmain .button,
#formonmain input[type='submit']{
	background-color: #00afdb;
	border-color: #00afdb;
}
#formonmain input[type='submit']:hover{
	background-color: #008641;
}

@media only screen and (max-width:480px){
	#formonmain .form_element:nth-of-type(6){
		position: static;
		width: 100%;
	}
}

@media only screen and (max-width:767px) and (min-width:479px){
	#formonmain .button, #formonmain input[type='submit']{
		padding: 11px 10px 10px;
	}
}

/*Картинки перед футером*/

.beforefooter{
	text-align: center;
}

.beforefooter li {
    display: inline-block;
    width: 33%;
    text-align: center;
}

@media only screen and (max-width: 1055px){
	.beforefooter li:nth-of-type(1),.beforefooter li:nth-of-type(3){
    	display: none;
	}
	.beforefooter li:nth-of-type(2){
    	width: 100%;
    	text-align: center;
	}
}

/*Footer*/

#footer{
	padding: 0;
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
}

#top #footer .widget ul{
	margin-top: -7px;
}

#footer .textwidget{
	margin-top: -17px;
}

#footer .widget,
.responsive #top #wrap_all #footer .flex_column{
	margin-bottom: 0;
}

/*Детская стоматология*/

#gridsramkoy .container{
	padding-left: 0;
	padding-right: 0;
	margin: auto 0;
	max-width: 100%;
}

#gridsramkoy .avia_textblock a{
	text-decoration: none;
}

#gridsramkoy .avia_textblock a:hover{
	text-decoration: underline;
}


#gridsramkoy .avia_textblock{
	padding-bottom: 10px;
}

#gridsramkoy .avia_textblock p:nth-of-type(1),
#gridsramkoy .avia_textblock img{
	padding: 0;
	margin: 0;
	width: 100%;
}

#gridsramkoy h6{
	font-weight: bold;
}

#gridsramkoy .avia_textblock p:nth-of-type(1) ~ p,
#gridsramkoy h6,
#gridsramkoy h5{
	padding-left:15px;
	padding-right: 10px;
}

#gridsramkoy .avia_textblock p:nth-of-type(1) ~ ul{
	padding-left: 5px;
	padding-right: 10px;
	margin-top: 0.7em;
}

@media only screen and (max-width:1200px) and (min-width:768px){
	#gridsramkoy{
		font-size: .9em;
		word-wrap: break-word;
	}
	#gridsramkoy h6{
		font-size: 15px;
	}
}

#spisok .avia-icon-list .iconlist-timeline{
	border-color: #fff10a;
}

/*BButton right*/
.BButton_btns {
    bottom: 75px !important;
    left: auto !important;
    right: 20px !important;
    -ms-flex-align: end !important;
    align-items: flex-end !important;
    -webkit-transform-origin: right bottom !important;
	    -ms-transform-origin: right bottom !important;
	        transform-origin: right bottom !important;
}

.BButton_btns_group {
     -ms-flex-align: end !important;
    align-items: flex-end !important;
}

.BButton_btns.close .BButton_btns_group {
    margin-bottom: auto !important;
	margin-right: -150% !important;
	margin-left: auto !important;
	transition: visibility 0s 1s, margin-right 0s 1s !important;
	-webkit-transform-origin: right bottom !important;
	    -ms-transform-origin: right bottom !important;
	        transform-origin: right bottom !important;
}

.BButton_btns .BButton_btn:nth-child(1) {
	-webkit-transition: margin-right .2s 0s, -webkit-transform .33s .1s !important;
	transition: margin-right .2s 0s, -webkit-transform .33s .1s !important;
	-o-transition: transform .33s .1s, margin-right .2s 0s !important;
	transition: transform .33s .1s, margin-right .2s 0s !important;
	transition: transform .33s .1s, margin-right .2s 0s, -webkit-transform .33s .1s !important;
}

.BButton_btns .BButton_btn:nth-child(2) {
	-webkit-transition: margin-right .2s 0s, -webkit-transform .33s .2s !important;
	transition: margin-right .2s 0s, -webkit-transform .33s .2s !important;
	-o-transition: transform .33s .2s, margin-right .2s 0s !important;
	transition: transform .33s .2s, margin-right .2s 0s !important;
	transition: transform .33s .2s, margin-right .2s 0s, -webkit-transform .33s .2s !important;
}

.BButton_btns .BButton_btn:nth-child(3) {
	-webkit-transition: margin-right .2s 0s, -webkit-transform .33s .3s !important;
	transition: margin-right .2s 0s, -webkit-transform .33s .3s !important;
	-o-transition: transform .33s .3s, margin-right .2s 0s !important;
	transition: transform .33s .3s, margin-right .2s 0s !important;
	transition: transform .33s .3s, margin-right .2s 0s, -webkit-transform .33s .3s !important;
}

.BButton_btns.close .BButton_btn {
	-webkit-transform: translateX(150%) !important;
	    -ms-transform: translateX(150%)  !important;
	        transform: translateX(150%)  !important;
}

.BButton_btn:hover {
	margin-right: 10px !important;
	margin-left: auto !important;
}
/*fixed-button*/
.fixed-button {
	right: 30px !important;
	bottom: 30px !important;
}

element.style {
}
.fixed-button {
    right: 30px !important;
    bottom: 30px !important;
}
@media only screen and (max-width: 767px) {
.fixed-button {
    right: 20px !important;
    bottom: 20px !important;
	}
}

/*Букет к 8 марта*/

#top #logo-flower {
	max-height: 100px !important;
}

@media only screen and (max-width: 410px) {
	#top #logo-flower {
		display: none;
	}
}


/* *** БАННЕР НОВОГОДНИЙ *** */
 #top .banner1 {
	width: auto;
    position: fixed;
    left: 0;
	bottom: 50px;
	margin: 0 0;
	transition: 2000ms;
	z-index: 10000;
	
}

#top .banner1 img {
	width: 200px;
	animation: tada linear infinite 3s;
}

#top .banner1:hover .avia-image-overlay-wrap::before,
#top .banner1:focus .avia-image-overlay-wrap::before,
#top .banner1:active .avia-image-overlay-wrap::before {
	left: 100%;
	transition: 2000ms;
}

#top .banner1 .avia-image-overlay-wrap::before {
	display: block;
    content: '';
	background: url('/wp-content/uploads/2023/12/ny1.webp') center no-repeat;
	background-size: cover;
    width: 400px;
    height: 300px;
    position: absolute;
    left: -900px;
	bottom: 0;
    background-color: #fff;
    padding: 20px;
	
	text-align: center;
	font-size: 20px;
	border-radius: 16px;
	transition: 2000ms;
}

@keyframes tada {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }

    10%,20% {
        -webkit-transform: scale3d(.9,.9,.9) rotate(-3deg);
        transform: scale3d(.9,.9,.9) rotate(-3deg)
    }

    30%,50%,70%,90% {
        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(3deg);
        transform: scale3d(1.1,1.1,1.1) rotate(3deg)
    }

    40%,60%,80% {
        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(-3deg);
        transform: scale3d(1.1,1.1,1.1) rotate(-3deg)
    }

    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }
}

@media only screen and (max-width: 1100px) {
	#top .banner1 img {
		width: 100px;
	}
	#top .banner1 .avia-image-overlay-wrap::before {
	display: block;
    content: '';
	background: url('/wp-content/uploads/2023/12/ny1.webp') center no-repeat;
	background-size: cover;
    width: 400px;
    height: 300px;
    position: absolute;
    left: -500px;
	bottom: 0;
    background-color: #fff;
    padding: 20px;
	
	text-align: center;
	font-size: 20px;
	border-radius: 16px;
	transition: 2000ms;
}

}

@media only screen and (max-width: 489px) {

	#top .banner1 .avia-image-overlay-wrap::before {
	display: block;
    content: '';
	background: url('/wp-content/uploads/2023/12/ny1.webp') center no-repeat;
	background-size: cover;
    width: 300px;
    height: 150px;
    position: absolute;
    left: -400px;
	bottom: 0;
    background-color: #fff;
    padding: 20px;
	
	text-align: center;
	font-size: 20px;
	border-radius: 16px;
	transition: 2000ms;
}
	#top .banner1:hover .avia-image-overlay-wrap::before,
	#top .banner1:focus .avia-image-overlay-wrap::before,
	#top .banner1:active .avia-image-overlay-wrap::before {
		left: 50%;
		transition: 2000ms;
}


}

/*8 марта*/

#top .banner__wrapper {
	width: 120px;
    position: fixed;
    left: 100px;
	bottom: 50px;
	margin: 0 0;
	transition: 2000ms;
	z-index: 100000;
}

#top .banner__wrapper img {
	width: 120px;
	height: auto;
	animation: tada linear 3s infinite;
}

@keyframes tada {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }

    10%,20% {
        -webkit-transform: scale3d(.9,.9,.9) rotate(-3deg);
        transform: scale3d(.9,.9,.9) rotate(-3deg)
    }

    30%,50%,70%,90% {
        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(3deg);
        transform: scale3d(1.1,1.1,1.1) rotate(3deg)
    }

    40%,60%,80% {
        -webkit-transform: scale3d(1.1,1.1,1.1) rotate(-3deg);
        transform: scale3d(1.1,1.1,1.1) rotate(-3deg)
    }

    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }
}

@media only screen and (max-width: 989px) {
	
	
	#top .banner__wrapper{
		width: 80px;
		left: 0;
		bottom: 0;
	}
	#top .banner__wrapper img{
		width: 80px;
	}
} 



