@media only screen and (max-width: 1390px){
	.gallery-tabs .tabs-two .tab{
		padding-right:30px;	
	}
    .tp-banner {
        height: 450px!important;
        max-height: 450px!important;
    }
    .header-top-infos > ul > li {margin-left:1.5vw;}
    .why-us .title-box h3 {font-size: 24px;}
    .why-us .title-box h4 {font-size: 16px;}
    .why-us .text-content .text {font-size:14px;}
    .navbar-expand-lg .navbar-nav .nav-link {padding-right:0.75rem;padding-left:0.75rem;font-size:12px;}
    .navbar .navbar-collapse > ul > li.dropdown > a {padding-right:calc(14px + 0.75rem)}
    .navbar .navbar-collapse > ul > li.dropdown > a:after {right:10px;top:16px;}
    .navbar .navbar-collapse > ul > li > ul > li > a,.navbar .navbar-collapse > ul > li > ul > li > ul > li > a {font-size: 13px;padding:12px 18px;}
    .why-us .box .tab-link {padding: 0 10px 0 75px;height:80px;}
    .why-us .box .tab-link .icon{width:70px;height:70px;left:6px;top:4px;}
    .why-us .box .tab-link h4 {font-size: 14px;}
    .iconbox {padding: 1.5rem 1.5rem 0.5rem 1.5rem;}
    .featured-services {padding:3rem 0px;}
    .featured-services .container-xl {padding: 0 0.5rem;}
    .column-view .column-box {margin: 1rem 0;padding: 0 1rem;}
    .iconbox .box-header .box-icon i {font-size: 1.5rem;width: 3rem;height: 3rem;line-height: 3rem;left: 1.5rem;}
    .iconbox .box-header .box-title {font-size: 16px;}
    .iconbox .box-header {margin-bottom: 0.75rem;}
    .iconbox .box-content {font-size: 13px;}
    .iconbox .box-readmore {margin-top: 0.75rem;margin-bottom: 0.75rem;}
    .iconbox .box-readmore a:before {bottom: -1.25rem;}
    .quick-form {padding:1.5rem 1.5rem 0.75rem 1.5rem;}
    .quick-form h4 {font-size: 18px}
    .quick-form svg {margin-right:2rem;margin-top:-0.15rem;}
    .quick-form p {margin-bottom:0.75rem;}
    .quick-form .button {font-size:13px;}
    .quick-form div {margin-bottom:0.75rem;font-size:10px;line-height:1.2em;margin-top: 0.25rem;}
    .blog-section {padding:3.5rem 0;}
    .blog-posts .entry-cover a {height:195px !important}
    .blog-posts .entry-header .entry-title {font-size:14px;}
    .blog-posts .entry-cover .entry-time, .post-detail .post-title .date {width:54px;height:68px;font-size:12px;}
    .blog-posts .entry-cover .entry-time span.entry-day, .post-detail .post-title .date span.day {font-size:20px;}
    .blog-posts .entry-cover .entry-time span.entry-year, .post-detail .post-title .date span.year {font-size:10px;}
    .blog-posts .entry-content-wrap:after {width: 54px;}
    .blog-posts .entry-header .entry-title a:after {font-size:12px;line-height:14px;margin-left:8px}
    .blog-posts:hover .entry-header .entry-title a:after {margin-left:12px}
	.page-banner:after {left:62%;}
    .page-banner:before {width:62%;}
    .sidebar-page .left-content {padding-right:2rem;}
    .sidebar-page .post .post-title h2 {font-size:24px;padding-top:0.2em;}
    .sidebar-page .post .post-image {margin-bottom: 2rem;}
    .xfieldimagegallery {margin: 1rem 0;}
    .latest-post .entry-cover a {width: 120px;height:80px;}
    .latest-post .entry-wrapper .entry-content-wrap .entry-header .entry-title {font-size:13px;}
    .specialnosti-full .specialnosti-head {padding:5rem 0;}
    .specialnosti-full .ico {width:27rem;height:27rem;top:calc(50% - 11.5rem);left:-3rem;}
    
}
@media only screen and (max-width: 1199px){
	input#sec_code {
		width: 100%;
	}
}
@media only screen and (max-width: 1139px){
	
	.intro-section h3{
		margin-bottom:15px;	
	}
	
	.vertical-gallery .slide-desc{
		position:absolute;
		left:0px !important;
		bottom:0px !important;
		margin-bottom:0px;
		padding:20px 20px 20px 90px !important;
		opacity:1 !important;	
	}
}

@media only screen and (max-width: 1023px){
	.header-top .custom-class {display:none}
	.fixed-top-header{
		position:relative;	
	}
	
	.main-header .logo,
	.main-header .header-top .search-form,
	.main-header .header-top .user-links{
		float:none !important;
		width:100% !important;
		text-align:center;	
	}
	
	.main-header .header-top .search-form .form{
		padding:0px;	
	}
	
	.main-header .header-top .large{
		width:60%;	
	}
	
	.main-header .header-top .medium{
		width:40%;	
	}
	
	.owl-carousel .owl-stage-outer{
		overflow:visible;	
	}
	
	.blog-section .column-box .inner-box{
		padding-left:0px;	
	}
	
	.blog-section .column-box .inner-box .image{
		position:relative;
		width:100%;
		height:auto;
	}
	
	.blog-section .column-box .inner-box .image img{
		display:block;	
	}
		
}

@media only screen and (min-width: 768px){
	.navbar .navbar-collapse > ul > li > ul,
	.navbar .navbar-collapse > ul > li > ul > li > ul {
		display:block !important;
		visibility:hidden;
		opacity:0;
	}
}


@media only screen and (max-width: 767px){
	
	.main-header{
		overflow:hidden;	
	}
	
	.fixed-top-header{
		position:relative !important;	
	}
	
	.main-header .logo{
		float:none;
		width:100%;	
	}
	
	.main-header .main-menu{
		float:none;
		width:100%;
		padding:0px;
		margin:16px 0px 0px;
	}
	
	.main-menu .collapse {
	   max-height:none;
		overflow:hidden;
		padding:0px;
		border:1px solid #ffffff;
		margin:10px;
		border-radius:3px;
		-ms-border-radius:3px;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
		-o-border-radius:3px;
   }
   
	.main-menu .collapse.in,
	.main-menu .collapsing{
		padding:0px;
		border:1px solid #ffffff;
		margin:10px;
		border-radius:3px;
		-ms-border-radius:3px;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
		-o-border-radius:3px;	
	}
	
	
	.main-menu .navbar-header{
		position:relative;
		float:none;
		display:block;
		top:-7px;
		right:15px;
		width:auto;
		z-index:12;
	}
	
	.main-menu .navbar-header .navbar-toggle{
		display:block;
		z-index:7;
		border:1px solid #ffffff;
		margin:0px 0px 0px 0px;
	}
	
	.main-menu .navbar-header .navbar-toggle .icon-bar{
		background:#ffffff;	
	}
	
	.main-header .main-menu .navbar-nav{
		float:none !important;
		margin:0px;
		width:100%;
		background:#fb4848;
	}
	
	.main-menu .navbar-collapse > ul > li{
		margin:0px;
		float:none;
		width:100%;
	}
	
	.main-menu .navbar-collapse > ul > li > a{
		padding:10px 10px !important;
	}
	
	.main-menu .navbar-collapse > ul > li > a:after{
		display:none;	
	}
	
	.main-menu .navbar-collapse > ul > li > ul,
	.main-menu .navbar-collapse > ul > li > ul > li > ul{
		position:relative;
		border:none;
		float:none;
		visibility:visible;
		opacity:1;
		display:none;
		left:auto !important;
		right:auto !important;
		top:auto !important;
		width:100%;
		background:#fb4848;
		border-radius:0px;
		-webkit-border-radius:0px;
		-ms-border-radius:0px;
		-o-border-radius:0px;
		-moz-border-radius:0px;
		transition:none !important;
		-webkit-transition:none !important;
		-ms-transition:none !important;
		-o-transition:none !important;
		-moz-transition:none !important;
	}
		
	.main-menu .navbar-collapse > ul > li > ul,
	.main-menu .navbar-collapse > ul > li > ul > li > ul{
		border-top:1px solid rgba(255,255,255,1) !important;	
	}
	
	.main-menu .navbar-collapse > ul > li,
	.main-menu .navbar-collapse > ul > li > ul > li,
	.main-menu .navbar-collapse > ul > li > ul > li > ul > li{
		border-top:1px solid rgba(255,255,255,1) !important;	
	}
	
	.main-menu .navbar-collapse > ul > li:first-child{
		border:none;	
	}
	
	.main-menu .navbar-collapse > ul > li > a,
	.main-menu .navbar-collapse > ul > li > ul > li > a,
	.main-menu .navbar-collapse > ul > li > ul > li > ul > li > a{
		padding:10px 10px !important;
		line-height:22px;
		color:#ffffff;
		background:#36404b;
	}
	
	.main-menu .navbar-collapse > ul > li > a:hover,
	.main-menu .navbar-collapse > ul > li > a:active,
	.main-menu .navbar-collapse > ul > li > a:focus{
		background:#fb4848;
	}
	
	.main-menu .navbar-collapse > ul li.dropdown .dropdown-btn{
		display:block;
	}
	
	.main-menu .navbar-collapse > ul li.dropdown:after,
	.main-menu .navbar-collapse > ul > li.dropdown > a::after{
		display:none !important;	
	}
	
	.main-header .header-lower .social-outer{
		position:absolute;
		left:0px;
		top:0px;
	}
	
	.main-header .header-lower .social-outer .text-right{
		text-align:left;
		z-index:6;
		max-width:240px;	
	}
	
	.gallery-tabs .tabs-two .tabs-content{
		position:relative;
		padding:0px !important;
		margin:20px 0px 0px;
		height:350px;	
	}
	
	.gallery-tabs .tabs-two .tab,
	.gallery-tabs .tabs-two .slide-item{
		padding:0px !important;
		height:350px;	
	}
	
	.gallery-tabs .tabs-two .bx-controls{
		right:22px !important;	
	}
	
	.ms-tabs-vertical-template{
		padding-right:0px !important;	
	}
	
	.ms-vertical-template .ms-thumb-list.ms-dir-v,
	.vertical-gallery .slide-desc{
		display:none !important;	
	}
	
	.sidebar-page .comments-area .reply-btn{
		position:relative;
		top:5px;
		bottom:0px;	
	}
	
	.sidebar-page .side-bar{
		margin-top:50px;	
	}
	
	.map-location{
		height:300px;	
	}
	
	.page-banner{
		padding-top:50px;	
	}
	
	.page-banner .page-title h1{
		font-size:30px;	
	}
	
	.tabs-box .tab-title h2{
		font-size:26px;	
	}
	
	.tabs-box .tab-title h3{
		font-size:18px;	
	}
	
	.column-carousel.four-column,
	.column-carousel.two-column{
		padding-top:0px;	
	}
	
	.owl-theme .owl-controls .owl-nav{
		display:none;	
	}
	
	.column-carousel .owl-controls{
		top:-20px;	
	}
	.header-top-infos > ul > li {
		width: 85% !important;
		margin: auto;
		margin-bottom: 15px;
		border: none;
		border-bottom: 1px solid #D3D3D3;
		padding-bottom: 15px;
	}
	.header-top-infos > ul > li:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}
	
	.gallery-tabs{
		margin-bottom:30px;	
	}

}


@media only screen and (max-width: 599px){
.tp-banner {
    height: 200px !important;
    max-height: 200px !important;
}
.main-header .header-top .large,
.main-header .header-top .medium{
		width:100%;
		margin-bottom:10px;
	}
	
	.main-header .header-top .form select{
		border-right:1px solid #dddddd;	
	}
	
	.sidebar-page .social-links strong{
		display:block;	
	}
	
	.sidebar-page .comments-area .reply-comment{
		margin-left:0px;	
	}
	
	.header-top-infos{
		display:none;	
	}
    
    .header-top {padding: 0.75rem 0 !important;position: fixed;z-index: 981;width: 100%;
    	-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        -ms-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        -o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    }
    .header-top .logo img {max-height: 40px}
    .main-header {overflow: visible;position: fixed !important;top: calc(1.5rem + 40px);z-index: 982;}
    .navbar-toggler {position: absolute;top:calc(-0.75rem - 40px);right: 0.5rem;z-index: 99;border:none;}
    .navbar-toggler:focus {box-shadow:none;}
    .main-header .navbar .container-xl {padding: 0;}
    .navbar-expand-lg .navbar-nav .nav-link {padding:0.75rem 1.25rem;font-size:14px;line-height:20px;}
    .navbar .navbar-collapse > ul > li.dropdown > a:after {right:-0.75rem;top:4px;position: relative;display:inline-block;line-height:10px;height:16px;}
    .navbar .social-links {padding: 0.25rem 1rem 2rem;}
	.main-slider {margin-top: calc(1.5rem + 40px);}
    .why-us {padding: 1.5rem 0;}
    .why-us .title-box {padding-left: 0.75rem;margin-left:0.25rem;}
    .why-us .title-box h3 {font-size: 20px;}
    .why-us .text-content .text p {padding-left: 1.25rem;}
    .why-us .text-content .text li {padding-left: 1.25rem;}
    .why-us .text-content .text li:before {top: 0.25em;}
    .why-us .box {margin-bottom:1.25rem;padding:0 2rem;}
    .why-us .box .tab-link h4 {font-size: 18px;}
    .featured-services {padding: 2rem 1.5rem;}
    .blog-section {padding:2.25rem 0;}
    .blog-section .sec-title {margin-bottom: 1rem;}
    .blog-section .container-xl {padding:0 2rem;}
    .blog-posts .entry-header .entry-title {font-size: 16px;}
    .links {padding: 0 0 2rem 0;}
    .main-footer .footer-upper {padding:2rem 1rem 1rem;}
    .main-footer .footer-upper .footer-widget {max-width: 100%;}
    .main-footer .footer-upper .text {background:none;padding:0;}
    .main-footer .footer-upper .col-md-3 {margin-bottom:0.25rem;}
    .main-footer .footer-upper .info {text-align: left !important;}
    
    .main-footer .footer-bottom {padding: 1rem;}
    .main-footer .footer-bottom .copyright a {display:block;margin: 0.5rem 0 0;}
    
    .page-banner {display: none;}
    .sidebar-page {padding-top: calc(1.5rem + 40px);padding-bottom: 0.5rem;}
    .sidebar-page .left-content {padding: 0 1.5rem;}
    
    .sidebar-page .post .post-image {margin: 0 -1.5rem 1.5rem;}
    .sidebar-page .post .post-title {position:relative;overflow:inherit;margin-top: 1.5rem;}
    .sidebar-page .post-detail .post-title .date {position:absolute;top:calc(-1.5rem - 68px);}
    .sidebar-page .post .post-title h2 {font-size: 22px;}
    .sidebar-page .post .post-img .xfieldimagegallery {margin: 1.5rem 0 0;}
    .sidebar-page .post .post-img .xfieldimagegallery li img {width: 100%;}
    .sidebar-page .post .post-img .xfieldimagegallery li:last-child img {margin-bottom:0;}
    .attachment {font-size: 14px;}
    .sidebar-page .side-bar {border-top: 3px solid #fb4848;margin: 2rem 0 0 0;padding: 1.25rem 1.5rem 0;}
    .sidebar-page .side-bar .widget.latest-posts {margin-top: 0.25rem !important;}
    
    .latest-post .entry-wrapper .entry-content-wrap .entry-footer {display: none;}
    .latest-post .entry-wrapper .entry-content-wrap .entry-header .entry-title {font-size: 14px;}
    .sidebar-page .post-detail h2 {font-size:22px;font-weight:900;}
    .sidebar-page .post-detail h3 {font-size:18px;font-weight:900;}
    .sidebar-page .post-detail hr {margin: 1.5rem 0 !important;}
    .flat-accordion .flat-toggle .toggle-content {max-width:100%;overflow-x:scroll;}
    
    .page {margin-top: calc(3.5rem + 40px);padding: 0 0.75rem;}
    .page .blog-posts {margin: 0;}
    .page .blog-posts .entry-content-wrap {min-height: auto;}
    
    .specialnosti-full .specialnosti-head {margin-top: calc(1.5rem + 40px);padding: 3rem 0;}
    .specialnosti-full .ico {width:15rem;height:15rem;top:calc(50% - 7.5rem);left:-5rem;opacity: 0.1;}
    .specialnosti-full .spec-name {padding-top:0;margin-left:0.75rem;}
    .specialnosti-full .title {font-size: 2.5rem;}
    .specialnosti-full .specialnosti-body .opisanie {padding: 0.75rem;margin-bottom: 2rem;}
    .specialnosti-full .specialnosti-body .table-list {column-count:1;border-bottom:none;padding-bottom: 0;margin: 0 0.75rem;}
    .advantage {margin: 0.75rem 0.75rem 0.75rem 3rem;}
    .specialnosti-full .specialnosti-btn {margin:0.75rem 0 1rem;padding: 0.75rem;}
    .specialnosti-full .specialnosti-btn .dark-btn {width: 100%;margin:0.75rem 0;}
    
    .pagination {justify-content: center;padding:0;margin-bottom:-1.5rem;margin-top:0.75rem;}
    .pagination a, .pagination span {padding: 3px 15px;font-size: 14px;}
    
	.page-info {border-top: 3px solid #cccccc;margin-top: 1.5rem;padding-top: 1rem;line-height: 1.2;font-size: 0.75em;}
    
}


@media only screen and (max-width: 479px){
	.c-captcha {
		width: 100%;
	}
	.gallery-tabs .tabs-two .tab,
	.gallery-tabs .tabs-two .slide-item,
	.gallery-tabs .tabs-two .tabs-content{
		height:250px;	
	}
}

@media only screen and (max-width: 390px){
    .blog-posts .entry-cover a {height: 165px !important;}
}

/* Код для адаптации видео */
.video-responsive {position:relative;padding-bottom:53%;padding-top:30px;height:0;overflow:hidden;margin-bottom:30px;}
.video-responsive iframe,.video-responsive object,.video-responsive embed {position:absolute;top:0;left:0;width:100%;height:100%;}
.dleplyrplayer {position:relative;padding-bottom:53%;padding-top:30px;height:0;overflow:hidden;margin-bottom:30px;}
.dleplyrplayer video {position:absolute;top:0;left:0;width:100%;height:100%;}
.video-item {margin: 1.8em 0;}
/* Конец кода для адаптации видео */