/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1800px) {
	section.main-area ul {
    	width: 100%;
	}
	section.main-area .content a { 
 	   margin-top: 55px;
 	}
}
@media only screen and (max-width : 1700px) {	
	section.main-area .content a { 
 	   margin-top: 20px;
 	} 	
}
@media only screen and (max-width : 1600px) {		
 	section.main-area .content {
    	padding: 25px 0 0 0;
	} 	
}
@media only screen and (max-width : 1500px) {		
 	section.main-area .content {
    	padding: 10px 0 0 0;
	} 
	section.main-area .content a { 
 	   margin-top: 0;
 	}
 	section.services-content .service-item-row-2 img {
    	margin-top: -420px;
	}	
}
@media only screen and (max-width : 1400px) {		
 	section.main-area ul {    
    	font-size: 14px;
	}
}
@media only screen and (max-width : 1300px) {		
 	section.main-area ul li {
    	margin-bottom: 10px;
	}
	section.main-area ul li::before {
    	font-size: 12px;
	}
	section.main-area ul li::after {
    	height: 80%; 
    	top: 17px;
    	left: 7px;    
	}
	section.services-content .service-item-row-2 img {
 	   margin-top: -440px;
	}
}
@media only screen and (max-width : 1200px) {
	header .top-line-header .main-logo {
		width: 100%;		
	}
	header .top-line-header .sub-logo {
		width: 48%;	
	}
	.slider-main .slider-nav div {
    	top: 88px;    
	}
	.slider-main .slide a {
	    padding: 15px 20px;
	    font-size: 25px;
	}
	section.superiorities .ch-item {
    	margin: 10px 5px;
	}
	section.about-us .img-wraper {
		padding: 40px 0;
	}	
	section.about-us .top-img {
	    width: 308px;
	    height: 233px;
	}
	section.about-us .top-img::before {    
    	left: calc(34% - 6px);
    }
    section.about-us .bottom-img {
	    width: 300px;
	    height: 225px;
    }
    section.about-us h1 {
    	font-size: 2em;
	}
	section.about-us p {
	    font-size: 16px;
	    line-height: 1.4;    
	}
	section.about-us .img-wraper::before {    
    	left: 97%;    
	}
	section.about-us .img-wraper::after {    
    	left: 96.1%;
    }
    section.main-area .content {
    	padding: 5px 0 0 0;
	} 
	section.main-area .content a { 
 	   margin-top: 5px;
 	}
 	section.main-area h2 {
    	margin-bottom: 0;
	}
	section.main-area ul li {
    	margin-bottom: 5px;
	}
	section.bottom-img .flex-first img {	
		height: 350px;		
	}
	section.services-content {
    	padding: 130px 0 250px;
	}	 
	section.services-content .service-item-row-1 img {
 	   margin-top: 70px;
	}
	section.services-content .service-item-row-2 img {
 	   margin-top: -470px;
	}
	section.services-content .service-item-row-2 { 
    	margin-top: 100px;
	}
	section.services-content .service-item-row-3 img {
	   margin-top: 100px;
	}
	section.services-content .skew-row-4 .inside-box {    
    	background-position: right -70%;    
    	height: 750px;    
	}
	section.services-content .skew-row-4 .inside-box .wraper-item {    
	    left: 4%;
	    top: 21%;
	}
	section.services-content .service-item-row-5 img {
		margin-top: -220px;
	}
	section.services-content .service-item-row-5 {
 	   margin-top: 35px;
	}
	section.contacts-content .float-box {
		left: 3%;
	}
	section.contacts-content .float-box-2 {
		right: 3%;
	}
	section.patient-content .article-item.inside.otzyvy p {    
    	width: 70%;
	}
}
@media only screen and (max-width : 1100px) {		
 	section.main-area ul li {
    	margin-bottom: 5px;
	}
	section.main-area ul {
    	font-size: 12px;
	}	
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	header .top-line-header .adress-tel ul, 
	header .top-line-header .grafik ul {
		padding-left: 43px;
		margin-top: -4px;
	}
	header .top-line-header {
 	   padding: 10px 0 20px;
	}		
	header .top-line-header .adress-tel ul .fav-icon, header .top-line-header .grafik ul .fav-icon {    
    	left: -50px;
	}
	header .top-line-header .adress-tel a, header .top-line-header .grafik a {
    	font-size: 15px;    
	}
	header .top-line-header .sub-logo {
    	width: 54%;
	}
	header .top-line-header .adress-tel ul li a:hover +span,
	header .top-line-header .grafik ul li a:hover +span {
		transform: none;
	}
	header .top-line-header .dantist-wrap span {
		opacity: .5;	
		margin-top: 10px;
		padding: 5px;
	}
	header .top-line-header .dantist-wrap a:hover +span {	
		margin-top: 10px;
	}
	header .main-menu ul li a {
	    font-size: 16px;
	    padding: 20px 4.7px;
	}
	.slider-main .slider-nav div {
    	top: 48px;    
	}
	.slider-main .slide a {    
    	font-size: 20px;
	}
	section.about-us .top-img::before {
    	left: calc(50% - 6px);
	}
	section.about-us .bottom-img {
		margin-left: 30px;
		margin-top: -15px;	
    }
	section.about-us h1 {
    	font-size: 1.8em;
	}
	section.about-us p {    
    	margin: 20px 0;
	}
	section.about-us .button-wrapper {
    	margin: 30px 0 0 0px;
	}
	section.about-us .button-wrapper a:last-child {
    	margin-left: 0;
	}
	section.about-us .img-wraper::before {
    	left: 96.1%;
	}
	section.about-us .img-wraper::after {
    	left: 95%;
	}
	section.map-otzyvy .otzyvy-wrapper h2 {
		margin-top: 30px;
	}
	section.map-otzyvy #praktik-map,
	section.map-otzyvy #dantist-map {
		width: 85%;		
	}
	section.map-otzyvy h2 {
    	font-size: 1.6em;
	}
	section.map-otzyvy .otzyvy-wrapper .quote {	    
	    font-size: 14px;
	}
	footer .top-line-footer .bottom-logo {
		width: 16%;
		margin-bottom: 30px;
	}
	footer .top-line-footer .logo-box {
		text-align: center;		
	}
	section.content::after {    
    	height: 20%;    
    	bottom: -3%;
    }
    section.main-area .content {
		padding: 50px 0 50px 50px;
	}
	section.main-area h2 {
		margin-bottom: 20px;
	} 
	section.main-area ul { 
    	font-size: 16px;
	}
	section.main-area ul li {
		margin-bottom: 20px;
	}
	section.main-area .content a {
    	margin-top: 20px;
	}
	section.main-area ul li::before {
    	font-size: 16px;
	}
	section.main-area ul li::after {
    	height: 100%; 
    	top: 20px;
    	left: 8px;    
	}
	section.main-area .button-wrapper {
    	text-align: center;
	}
	section.main-area .img-wrapper { 
    	margin-right: -15px;
	}
	section.licence h2 {
	    margin-bottom: 20px;
	    text-align: center;
	}
	section.licence .licence-wrapper {    
    	padding: 20px 0 30px 0;    	
	}
	section.services-content .service-item-row-2 img {
    	margin-top: 50px;
	}
	section.services-content .service-item-row-3 img {
 	   margin-top: 50px;
	}
	section.services-content .service-item-row-5 img {
 	   margin-top: 50px;
	}
	section.services-content .service-item-row-5, 
	section.services-content .service-item-row-3, 
	section.services-content .service-item-row-2 {
    	margin-top: 0;
	}
	section.services-content .skew-row-4 {
		margin-top: 100px;
	}
	section.contacts-content .float-box {
		background-color: rgba(255, 255, 255, 1);
		margin: 0 auto;
		position: static;	
		padding: 30px 20px;		
	    transform: none;
	    z-index: 1; 
	}
	section.contacts-content .float-box-2 {
		background-color: rgba(255, 255, 255, 1);
		margin: 0 auto;
		position: static;
		padding: 30px 20px;	
		transform: none;
		z-index: 1; 	
	}
	section.contacts-content .float-box h2,
	section.contacts-content .float-box-2 h2,
	section.contacts-content .float-box-2 h4,
	section.contacts-content .float-box .button-wrapper {
		text-align: center;		
	}
	section.contacts-content #praktik-map-contact,
	section.contacts-content #dantist-map-contact {		
		margin: 0 5px;
	}

}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	header .top-line-header {	
		padding: 20px 0;
	}
	header .top-line-header .main-logo {
		width: 25%;		
	}
	header .top-line-header .adress-tel a, header .top-line-header .grafik a {
    	font-size: 17px;    
	}		
	header .top-line-header .adress-tel ul, header .top-line-header .grafik ul {
    	padding-left: 90px;
    	margin-top: 20px;
	}	
	header .top-line-header .logo-wrap {    
    	margin-top: 25px;
	}
	header .top-line-header .sub-logo {
    	width: 40%;
	}
	header .top-line-header .dantist-wrap span {    
    	padding: 10px;
    	margin-left: -40px;
	}
	header .top-line-header .dantist-wrap span::before {
		content: "";
		width: 0;
		height: 0;
		position: absolute;
		left: -8%;
		bottom: calc(50% - 6px);
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
		border-right: 7px solid #007fff;
		}
	header .top-line-header .dantist-wrap span.d::before {
		border-right: 7px solid #7A9653;
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
	}	
	header .top-line-header .dantist-wrap span::after {
		content: "";
		width: 0; 
		height: 0;
		position: absolute; 
		left: -5%;
		bottom: calc(50% - 4px);
		border-top: 5px solid transparent;		
		border-bottom: 4px solid transparent;
		border-right: 5px solid #fff;	
		}
	header .main-menu nav {
		text-align: left;		
	}
	header .main-menu ul {
		display: none;		
		text-align: left;				
		position: absolute;
		background-color: #ececec;
		width: 100%;
		z-index: 50;
		margin-left: -15px;
		top: 55px;
	}
	header .main-menu ul li {
		border-left: none;	
		display: block;
		padding-bottom: 0;				
	}	
	header .main-menu ul li a {		
    	font-size: 20px;
    	padding: 10px 0 10px 60px;
	}
	section.slider-main {
		background-image: none;
	}	
	.slider-main .slider-nav-container { 
    	display: none;
	}
	.slider-main .slide a {
    	font-size: 16px;
	}
	section.bread-crumbs .pos-line {    
    	left: 0;    	
	}
	section.about-us .img-wraper {
		border: none;
	}
	section.about-us .img-wraper::before {
		content: none;
	}	
	section.about-us .img-wraper::after {
		content: none;
	}	
	section.about-us .img-wraper {
    	padding: 0px 0 20px 0;
    	text-align: center;    	
	}
	section.about-us .top-img {
    	width: 208px;
    	height: 158px;
	}
	section.about-us .top-img::before {
	    top: calc(50% - 17px);
	    left: 101%;
	    border-top: 17px solid transparent;
	    border-bottom: 17px solid transparent;
	    border-left: 17px solid #fa8f1d;
	}
	section.about-us .bottom-img {
    	margin-left: 15px;
    	width: 200px;
    	height: 150px;    	
	}
	section.about-us .button-wrapper {    
    	text-align: center;
	}
	section.about-us .button-wrapper a:last-child {
 		margin-left: 20px;
	}
	footer .top-line-footer .top-panel {    
	    width: 75%;
	    margin: 0 auto 30px;    
	}
	section.bread-crumbs .wrapper {
    	height: 360px;
	}
	section.licence .licence-wrapper {
    	border: none;
    }
    section.licence .licence-wrapper {
    	padding: 0;
	}
	section.licence {
    	padding: 40px 0;
	}
	section.licence .img-licence-wrapper {
		margin-top: 15px;
		text-align: center;		
	}
	section.licence .licence-wrapper img {
		display: inline;
		width: 140px;
	}	
	section.bottom-img .wrapper-img {
		margin-top: 20px;
	}
	section.bottom-img .first-wrapper-img.wrapper-img {
		margin-top: 0;
	}
	section.bottom-img .flex-first img {	
		height: 300px;		
	}	
	/*отрубаю анимацию из анимейт Css*/
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}
	section.services-content .skew-row-4 .inside-box .wraper-item {
    	width: 310px;
    }
    section.prices-content .accordeon-header::after {	
		right: 20%;
	}
	section.contacts-content #praktik-map-contact, 
	section.contacts-content #dantist-map-contact {		
		height: 450px;
	}
	section.patient-content .article-item h3::before,
	section.patient-content .article-item h3::after {
		content: none;
	}
	section.patient-content .article-item h3 span::before,
	section.patient-content .article-item h3 span::after {
		content: none;
	}
	section.patient-content .article-item .zagolovok {
		text-align: center;		
	}
	section.patient-content .article-item .zagolovok a,
	section.patient-content .article-item.inside .zagolovok h3 {
	margin-left: 0;
	}
	.spisok li::before {		
		transform: none;
		top: 0;
	}
	section.patient-content .article-item.inside .wraper-person { 
    float: none;
    	margin: 10px 0;
	}
	section.patient-content .article-item.inside.otzyvy p {
		position: static;
		width: 100%;
		transform: none;
		margin-bottom: 20px;		
	}
	section.patient-content .article-item.inside.otzyvy p::before {
	    top: 55%;
	}	
	section.patient-content .article-item.inside.otzyvy p::after {
	    top: 90%;
	}
	section.bottom-img .flex-first {
		margin: 0;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {	
	header .top-line-header .main-logo {
    	width: 40%;
	}
	header .top-line-header .sub-logo {
    	width: 35%;
    	display: block;
    	margin: 0 auto;
	}
	header .top-line-header .dantist-wrap span {
    	padding: 10px;    
    	display: block;
    	width: 63%;
    	margin: 15px auto 0 auto;
	}
	header .top-line-header .logo-wrap {
    	margin-top: 35px;
	}
	header .top-line-header .dantist-wrap span::before {
		content: "";
		width: 0; 
		height: 0;
		position: absolute; 
		bottom: 100%; 
		left: calc(50% - 6px);
		border-left: 6px solid transparent;		
		border-right: 6px solid transparent;
		border-bottom: 7px solid #007fff;	
	}
	header .top-line-header .dantist-wrap span.d::before {
		border-left: 6px solid transparent;		
		border-right: 6px solid transparent;
		border-bottom: 7px solid #7A9653;		
	}
	header .top-line-header .dantist-wrap span::after {
		content: "";
		width: 0; 
		height: 0;
		position: absolute; 
		bottom: 100%; 
		left: calc(50% - 4px);
		border-left: 4px solid transparent;		
		border-right: 4px solid transparent;
		border-bottom: 5px solid #fff;	
	}
	header .top-line-header .dantist-wrap a:hover +span {	
		margin-top: 15px;
	}
	.slider-main .slide a {
    	display: none;    
	}
	.slider-main .owl-dots {    
    	bottom: 0px;
	}
	.slider-main .owl-dots .owl-dot {    
    	width: 10px;
    	height: 10px;
	}
	section.superiorities .ch-item {
    	margin: 5px 0px;
	}
	section.about-us .img-wraper {    	
    	text-align: right;
	}
	section.about-us .top-img {
	    width: 298px;
	    height: 225px;
	    margin-right: 20%;
	}
	section.about-us .bottom-img {
	    margin: -20px 20px 0 0;
	    width: 290px;
	    height: 218px;
	}
	section.about-us .top-img::before {
	    left: calc(50% - 17px);
	    top: 101%;
	    border-left: 17px solid transparent;
	    border-right: 17px solid transparent;
	    border-top: 17px solid #fa8f1d;
	}
	section.about-us .button-wrapper a:last-child {
		margin: 10px 0 0 5px;    
	}
	section.map-otzyvy .otzyvy-wrapper .slider-nav {    
    	display: none;
    }
    footer .top-line-footer .bottom-logo {
    	width: 23%; 
	}
	section.bread-crumbs .wrapper {
    	height: 300px;
	}
	section.bread-crumbs h1 {
    	font-size: 2.1em; 
	}
	section.bread-crumbs .pos-line ul li:first-child {		
		display: none;		
	}
	section.bread-crumbs .wrapper {
    	height: 330px;
	}
	section.content::after {
	    height: 15%;
	    bottom: -2%;
	}
	section.main-area .content {
   		padding: 50px 0;
	}
	.border-img-left-right::before {
		content: none;
	}
	.border-img-left-right::after {		
		top: 100%; 
		left: calc(50% - 17px);
		border-left: 17px solid transparent;		
		border-right: 17px solid transparent;
		border-top: 17px solid #fa8f1d;
	}
	section.bottom-img .flex-first img {
		object-fit: cover;
		/*width: 100%;
		height: auto;*/
		min-width: auto;
		height: 100%;
	}
	section.bottom-img .flex-first {		
		-webkit-flex-flow: row wrap;
		flex-flow: row wrap;	
	}
	section.bottom-img .flex-first .wrapper-img-first, 
	section.bottom-img .flex-first .wrapper-img-third {
		-webkit-flex: 1; 
		-ms-flex:  1; 
		flex:  1;		
	}
	section.bottom-img .flex-first .wrapper-img-second {
		-webkit-order: -1;
		order: -1;
		margin: 0 0 -4px 0;
		-webkit-flex: auto; 
		-ms-flex:  auto; 
		flex:  auto;	
	}
	section.bottom-img .flex-first .wrapper-img-second {
		
	}
	section.bottom-img .flex-first .wrapper-img-first {
		margin: 0 -3px 0 0;
	} 	
	section.services-content {
 	   padding: 50px 0 150px;
	}
	section.services-content .service-item-row-2, 
	section.services-content .service-item-row-3,
	section.services-content .service-item-row-5 {
 	   padding-top: 100px;    
	}
	section.services-content .skew-row-4 .inside-box .wraper-item {
    	width: 211px;
    	left: 4%;
    	top: 16%;
	}
	section.prices-content .accordeon-header::after {
		right: 10px;    
	}
	section.prices-content .accordeon-body tr td:not(.table_zag):first-child,
	section.prices-content .accordeon-body tr th:first-child
	 {
		display: none;		
	}
	section.contacts-content .float-box, 
	section.contacts-content .float-box-2 {
		width: 320px;	
	}	
	section.patient-content .article-item a.image {
		display: block;		
	}
	section.patient-content .article-item.inside img {
		display: block;
		margin: 0 auto 15px;
		width: 270px;
	}
	section.patient-content .article-item img {
		display: block;		
		float: none;
		margin: 0 auto 15px;
		width: 270px;		
	}
	section.patient-content .article-item.inside.otzyvy p::before {
	    top: 48%;
	}	
	section.patient-content .article-item.inside.otzyvy p::after {
	    top: 92%;
	}
	section.form input, section.form textarea {
		width: 100%;
	}		
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {	
    section.contacts-content .float-box, 
	section.contacts-content .float-box-2 {
		margin-left: -12px;
	}	
}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	header .main-menu ul {
		display: block !important;
	}

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	
}