/*
   MaxLand Theme Responsive Design
*/

@media (max-width: 1140px) and (min-width: 0px) {
    .top__bar-cards {
        max-width: 70px;
    }
    .header-section .navbar-brand img {
        height: 45px;
    }
    
}

@media (max-width: 1024px) {
	
}

@media screen and  (min-width: 992px) {
    .contact__col.d-flex p.top__bar-text {
        max-width: 220px;
		font-size: 14px;
    }
	

}

/* ---- Start of max-width 992px CSS ---- */
@media screen and (max-width: 992px) {
		
	.contacts-wrapper > *:first-child{
		position:relative;
		left:auto;
		top:auto;
		bottom:auto;
		right:auto;
	}
	.contacts-wrapper > *:first-child::before{
		display:none;
	}
	.dl-slider .slick-dots{
		width:100%;
	}
	.slider-icons{
		display:none;
	}
		.dl-slider .slick-current.slick-active .kenburns-top-right {
    -webkit-animation: kenburns-top 10s ease-out both;
            animation: kenburns-top 10s ease-out both;
            animation-delay: 0.1s;
}
	.dl-slider .bg-img{
		width:100%;
		left:0;
	}
	.blog-item{
		height:auto;
	}
    .sm-padding {
        padding: 15px;
    }

    .header-section .navbar-brand {
        height: 80px;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .menu-btn,
    .js #mainmenu {
        display: none;
    }

    .project-2 .project-item,
    .js .slicknav_menu {
        display: block;
    }

   

    .year-box {
        padding-left: 0;
    }

    .error-content .error-info {
        padding-left: 10px;
    }

    .counter-content {
        text-align: left;
        padding-left: 70px;
    }

    .counter-wrap .col-lg-4:last-child {
        margin-top: 50px;
    }
form.wpcf7-form input.wpcf7-form-control.wpcf7-submit{
		font-size:16px;
	}
	body .pum-theme-158 .pum-title, .pum-theme-tema-po-umolchaniyu .pum-title{
		font-size:20px;
	}
	body.page .pum-container.custom-position{
		padding:60px 30px;
	}

	.mobile-nav .sub-menu a{
		color:#285654;
		padding:5px;
	}
	body .header-section .navbar-brand, body .header-section{
		height:60px;
	}
	.mobile-nav.mobile-nav_active{
		left:0;
		width:100%;
	}
	.header-callback, .default-btn, .bordered-btn {
        font-size:16px;
		min-width:180px;
    }
	body .hamburger{
		display:block;
	}
	
    .contact__col.d-flex p,
    .contact__col.d-flex p.top__bar-text {
        font-size: 14px;;
        text-align: center;
        margin-right: 0;
        width: 100%;
    }

    .header-sectionn {
        top: 76px;
    }
    .team-boss-wrap .team-item-boss .row {
        flex-wrap: wrap;
    }
    .team-boss-wrap .team-item-boss .team-photo {
        max-width: 335px;
        margin: 0px auto 30px auto;
        width: 100%;
        flex: 0 0 100%;
    }
    .team-content-item .team-content-icon {
        margin: 0 auto;
    }
   
    .team-boss-wrap .team-item-boss.second__style .row .team-content {
        order: 2;
    }
    .team-boss-wrap .team-item-boss.second__style .row .team-photo.col {
        order: 1;
    }
    .dl-slider .slider-content {
        position: relative;
        padding-left: 33px;
        padding-right: 33px;
    }
    .dl-slider .dl-caption.big {
        white-space: normal;
        height: auto;
    }

    .top__bar .top__bar-tels {
        margin-bottom: 15px;
        font-size: 16px;
		text-align: center;
    }
    .top__bar .top__bar-address {
        margin-bottom: 15px;
    }
    .top__bar .top__bar-address a {
        font-size: 16px;
    }
    .header-sectionn {
        top: 123px;
    }

    .header-callback {
        margin-right: 60px;
    }

    .team-boss-wrap .team-item-boss .row {
        flex-wrap: wrap;
    }

    .team-boss-wrap .team-item-boss .team-photo {
        max-width: 335px;
        margin: 0px auto 30px auto;
        width: 100%;
        flex: 0 0 100%;
    }

    .team-content-item .team-content-icon {
        margin: 0 auto;
    }

   
    .team-boss-wrap .team-item-boss.second__style .row .team-content {
        order: 2;
    }

    .team-boss-wrap .team-item-boss.second__style .row .team-photo.col {
        order: 1;
    }

    .dl-slider .slider-content {
        position: relative;
        padding-left: 33px;
        padding-right: 33px;
    }

    .dl-slider .dl-caption.big {
        white-space: normal;
        height: auto;
    }
}



/* ---- Start of max-width 767px CSS ---- */
@media all and (max-width: 767px) {
	.top__bar{
		display:none;
	}
	.count-section{
		margin-bottom:30px;
	}
	.page-inner h1{
		padding-top:40px;
	}
	.padding.consult-section{
		padding:0;
	}
	.consult-form{
		max-width:100%;
	}
	.about-section{
		margin-bottom:0;
	}
	 .about-section .container::before{
		display:none;
	}
	.brown-bg {
		background:#A45435;
	}
	.about-content .default-btn{
		margin-top:0;
	}
	.about-img{
		height:200px;
		width:100%;
		top:auto;
		bottom:auto;
		position:relative;
	}
	.slider-content-wrap{
		align-items:flex-start!important;
	}
	#main-slider{
		background:#285654;
	}
	.dl-slider .bg-img{
		width:100%;
		top:300px;
		height:300px;
	}
	.dl-slider .dl-caption.dl-border:before{
		display:none;
	}
	
	.team-photo{
		height:440px;
	
	}
	.boss-name{
		margin:20px 0;
	}
	.team-item-boss.second__style{
		margin-top:20px;
	}
 .team-photo img{
		width:100%;
		height:100%;
		object-fit:cover;
	}
	.recent_homes-btns{
		
		justify-content:center;
	}
	.blog-content{
		padding:20px;
	}
	.owl-controls .owl-nav {
    
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}
	
	.bg-dark .title::before{
		width:100px;
	}
	.blog-item{
		flex-direction:column;
	}
	.blog-item > *{
		width:100%!important;
	}
	.blog-item .blog-thumb{
		height:240px;
	}
	.remont-kvartir, .geologicheskie-izyskaniya, .podshiv-svesov-krovli {
    break-after: auto;
    margin-bottom: 20px;
}
	.widget-content .widget-links {
    column-count: 2;
}
   

    h1 {
        font-size: 30px;
    }

    h2, .benefit-item h3, .project-single-title, .blog-price{
        font-size: 20px;
    }
	
	.blog-price{
		margin-left:auto;
	}
	

    h3, .home__labels .home__label, .blog-content-item .project-details *  {
        font-size: 16px;
    }

    p br {
        display: none;
    }

    .padding {
        padding: 30px 0;
    }
	
	.padding-medium {
    padding: 30px 0;
}
	
	.single-page .articles-block{
		padding-top:30px; 
		padding-bottom:30px;
	}
	.call-to-action .padding-medium{
		padding:30px 24px;
	}

    .xs-padding {
        padding: 15px;
    }

    .contact__col.d-flex p.top__bar-text {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .top__bar-callback {
        display: inline-block;
        margin-bottom: 15px;
    }

    .header-sectionn {
        top: 188px;
    }

    .header-callback {
        display: none;
    }

    .header-callback {
        display: none;
    }

    .hero-section {
        height: 350px;
    }

    .hero-section .scroll-down {
        display: none;
    }

    .hero-section h1 {
        font-size: 40px;
        margin: 0 0 10px;
    }

    .page-header {
        height: 250px;
    }

    .page-content h2 {
        font-size: 30px;
        margin: 0;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .error-content {
        display: block;
    }

    .error-content .error-info h2 {
        font-size: 120px;
        margin-bottom: 30px;
    }

    .error-content .error-info a {
        display: block;
    }

    .contact-form .form-group .col-sm-6:first-child {
        margin-bottom: 15px;
    }


    .sidebar-wrap {
        padding-left: 0;
    }

    .blog-single-content h2 a {
        font-size: 22px;
    }


    .year-bg {
        width: 100%;
    }
}

/* ---- End of max-width 767px CSS ---- */


/* ---- Start of max-width 580px CSS ---- */
@media all and (max-width: 580px) {
	.subservice-links a{
		width:100%;
		display:block;
	}

	.benefit-item{
		height:auto;
		flex-direction:column;
	}
	.benefit-img {
  
    width: 100%;
    height: 200px;
}
	.benefit-img img{
		object-fit:cover;
	}
	.benefit-content{
		padding:15px;
		order:2;
	}
	footer .container:nth-child(2) {
		    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #cccccc;
	}
	footer .container:first-child {
		margin-bottom:0; 
		border-bottom:0;
		padding-bottom:0;
	}
	.navbar-yandex img{
		display:block; 
	
	}
	a.navbar-yandex{
		width:70px;
	}
	.footer-logo img{
		display:block;
		margin:0 auto;
	}
	.widget-content .widget-links {
    column-count: 1;
}
	ul.widget-links.footer__links li a {
    padding: 3px 0;
}
    .top__bar-cards {
        margin-right: 20px;
    }
    .navbar {
        flex-wrap: nowrap;
    }
    .header-section .navbar-brandd img {
        height: auto;
    }
    .subscribe-form {
        width: 100%;
    }

    .counter-wrap .col-lg-4:first-child {
        margin-bottom: 50px;
    }
	
	footer .container:first-child{
		order:2;
	}
	footer .container:last-child{
		order:3;
	}
	footer .container:nth-child(2){
		order:1;
	}
	footer .row > * > *:not(:last-child) {
    margin-bottom: 10px;
}
}

@media all and (max-width: 575px) {
.section-2 .service-item {
    padding: 15px 15px 20px 15px;
    padding-top: 15px;
    height: auto;
}
}

/* ---- End of max-width 580px CSS ---- */


@media (max-width:486px) {
    .top__bar .top__bar-address {
        margin-left: 0px;
        width: 100%;
    }
    .top__bar .top__bar-address a {
        text-align: center;
    }
    .header-sectionn {
        top: 242px;
    }
}
@media (max-width:434px) {
    .header-sectionn {
        top: 260px;
    }
    .top__bar .top__bar-address {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
    .top__bar .top__bar-address a {
        text-align: center;
    }
}
@media (max-width: 400px) {
    .cta-benefits .cta-benefits-item .cta-benefit-inner a.default-btn {
        position: relative;
        left: unset !important;
        right: unset !important;
        top: unset !important;
        display: block;
    }
    .cta-benefits .cta-benefits-item .cta-benefit-inner .second-btn {
        margin-top: 15px;
    }
}
/* ---- Start of max-width 420px CSS ---- */
@media all and (max-width: 420px) {

}

/* ---- End of max-width 420px CSS ---- */

/* ---- Start of max-width 400px CSS ---- */
@media (max-width: 400px) {
    .cta-benefits .cta-benefits-item .cta-benefit-inner a.default-btn {
        position: relative;
        left: unset !important;
        right: unset !important;
        top: unset !important;
        display: block;
    }

    .cta-benefits .cta-benefits-item .cta-benefit-inner .second-btn {
        margin-top: 15px;
    }
}

/* ---- End of max-width 400px CSS ---- */

/* ---- Start of max-width 380px CSS ---- */
@media all and (max-width: 380px) {

}

@media (max-width:355px) {
    .header-sectionn {
        top: 279px;
    }
}

/* ---- End of max-width 380px CSS ---- */
