/*  Theme HTML Template */

@media only screen and (max-width: 1600px){
	.contact-style-two .form-column .inner-box{
		padding:100px 30px;	
	}
}

@media only screen and (max-width: 1400px){
	.testimonial-style-two .owl-controls .owl-nav,
	.testimonial-style-three .owl-controls .owl-nav,
	.testimonial-style-one .owl-controls .owl-nav,
	.latest-works-section .owl-controls .owl-nav{
		position:relative;
		margin-top:50px;
	}	
	.testimonial-style-two .owl-controls .owl-nav [class*="owl-prev"],
	.testimonial-style-two .owl-controls .owl-nav [class*="owl-next"],
	.testimonial-style-three .owl-controls .owl-nav [class*="owl-prev"],
	.testimonial-style-three .owl-controls .owl-nav [class*="owl-next"],
	.testimonial-style-one .owl-controls .owl-nav [class*="owl-prev"],
	.testimonial-style-one .owl-controls .owl-nav [class*="owl-next"],
	.latest-works-section .owl-controls .owl-nav [class*="owl-prev"],
	.latest-works-section .owl-controls .owl-nav [class*="owl-next"]{
		position:relative;
		left:0px;
		right:0px;
		margin:0px 5px;	
	}
	.fact-counter .column{
		margin-left: 30px;
		margin-right: 80px;
	}
	.fact-counter .column:last-child{
		margin-right: 0px;
	}
}

@media only screen and (max-width: 1350px){

	.main-header .header-upper:before{
		display: none;
	}
	.main-header .header-upper:after{
		display: none;
	}
	.main-header .header-upper{
		padding: 9px 10px;
	}
	.footer-section .footer-bottom:before{
		display: none;
	}
	.footer-section .footer-bottom:after{
		display: none;
	}

}

@media only screen and (max-width: 1200px){

	.bottom-bg:before{
		display: none;
	}
	.bottom-bg:after{
		display: none;
	}
	.contact-form .form-section{
		margin-bottom: 30px;
	}
	.contact-form .item{
		margin-left: 50px;
	}
	.nav_right_area .search_option form{
		left: -220px;
	}
	.contact-form .search_option .search{
		position: absolute;
		bottom: 0px;
		right: 0px;
	}
	.gallery_wrapper .content .reting-box{
		right: 5px;
		top: 5px;
	}
	.gallery_wrapper .single_item .content{
		padding: 5px;
	}
	.gallery_wrapper .gallery_menu li{
		padding: 0px 14px;
	}
	.gallery_wrapper .content-text li{
		margin: 30px 5px;
	}
	.header-upper .main-logo{
		position: relative;
		text-align: center;
		float: none !important;
		margin-bottom: 30px;
	}
	.header-upper ul li{
		margin-left: 25px;
	}
	.container.menu-bg:after{
		display: none;
	}
	.container.menu-bg:before{
		display: none;
	}
	.nav_right_area .search_option button{
		margin-right: 20px;
	}
	.menu-bar{
		margin: 0px;
	}

	#polyglotLanguageSwitcher{
		border-left: none;
		padding-left: 15px;
	}
	.main-menu .navigation > li{
		margin-right: 10px;
	}
	.sticky-header .main-menu .navigation > li{
		margin-right: 10px;
	}
	.recent_news_footer{
		margin-left: 0px;
	}
	.service-section .inner-box:hover .img-content {
		top: 0%;
	}
	.fact-counter .single-item-two {
		padding: 0px;
	}
	.fact-counter .single-item-three{
		padding: 0px;
	} 
	.working-section .single-item-two {
		padding: 0px;
	}
	.working-section .single-item-three {
		padding: 0px;
	}
	.working-section .single-item-four{
		padding: 0px;
	}
	.cta-section .img-box:before{
		right: 0px;
	}
	.video-section .fluid-image img{
		width: 100%;
	}
	.cart-page .coupon-code input {
		margin-bottom: 15px;
	}
	.video-section:before{
		display: none;
	}
	.video-section:after{
		display: none;
	}
	.about-section .about-content {
	    position: relative;
	    padding: 100px 55px 100px 0px;
	}
	.video-section .fluid-image img {
	    padding: 25px 0px 0px 0px;
	}
	.video-section .fluid-image span{
		top: 42%;
	}
	.banner-title h2{
		left: 30px;
	}
	.banner-title h1{
		left: 30px;
	}
	.banner .text{
		left: 30px;
	}
	.banner .btn-style-one{
		left: 30px;
	}
	.home-hero-carousel,
	.home-hero-carousel .carousel-inner,
	.home-hero-carousel .item,
	.home-hero-slide,
	.home-hero-content{
		min-height: 520px;
	}
	.home-hero-content{
		padding: 100px 30px 90px;
	}

	.appointment-section{
		margin-top: 0px;
	}

}

@media only screen and (max-width: 1140px){
	
	.main-footer .news-widget{
		margin-right: 10px;
		width: 100%;
	}
	.main-header .header-upper .logo-outer,
	.main-header .header-upper .upper-right{
		width:100%;
		text-align:center;
	}
	.main-footer .widget-content .images-box{
		width: 30%;
	}
	.header-lower .link-btn{
		right: 0px;
	}
	
	.main-header .header-upper .logo-outer{
		margin-bottom:30px;	
	}
	
	.main-header .info-box{
		display:inline-block;
		margin:10px 25px;
		float:none;
		text-align:left;
		width:260px;
	}
	
	.main-header .info-box:last-child{
		text-align:center;	
	}
	
	.main-header .header-upper .info-box::after{
		display:none;	
	}
	.main-header .header-top li{
		padding: 17px 5px;
	}
	.main-footer .footer-widget{
		margin-bottom: 30px;
	}

}

@media only screen and (min-width: 768px){
	.main-menu .navigation > li > ul,
	.main-menu .navigation > li > ul > li > ul{
		display:block !important;
		visibility:hidden;
		opacity:0;
	}
}

@media only screen and (max-width: 1023px){
	
	.page-wrapper{
		overflow:hidden;	
	}
	
	.main-footer .widget-content .images-box{
		width: 30%;
	}
	.main-menu .navigation > li{
		margin-right:10px;	
	}	
	
	.sticky-header{
		display:block;	
	}
	.main-menu{
		width: 100%;
	}
	.home-hero-carousel,
	.home-hero-carousel .carousel-inner,
	.home-hero-carousel .item,
	.home-hero-slide,
	.home-hero-content{
		min-height: 460px;
	}
	.home-hero-content{
		max-width: 100%;
		padding: 80px 20px 70px;
	}
	.home-hero-content .text{
		max-width: 100%;
	}
	.home-hero-carousel .carousel-control{
		width: 40px;
	}
	.home-hero-carousel .carousel-control span{
		width: 34px;
		height: 34px;
		line-height: 34px;
	}

	.services-one .tabs-outer{
		position:relative;
		height:auto;
		width:100%;
		margin:0px;
		padding:0px;
		border:none;
		background:none;
		text-align:center;	
	}
	
	.services-one .tabs-outer .circular-layer{
		display:none;
	}
	
	.services-one .tabs-outer .service-tabs{
		position:relative;
		width:auto;
		height:auto;
		margin:0px;
		left:0;
		top:0;
	}
	
	.services-one .tabs-outer .service-tabs .tab-btn,
	.services-one .tabs-outer .service-tabs .tab-btn:nth-child(1),
	.services-one .tabs-outer .service-tabs .tab-btn:nth-child(2),
	.services-one .tabs-outer .service-tabs .tab-btn:nth-child(3),
	.services-one .tabs-outer .service-tabs .tab-btn:nth-child(4),
	.services-one .tabs-outer .service-tabs .tab-btn:nth-child(5),
	.services-one .tabs-outer .service-tabs .tab-btn:nth-child(6),
	.services-one .tabs-outer .service-tabs .tab-btn:nth-child(7){
		position:relative !important;
		display:inline-block;
		margin:0px 50px 20px !important;
		left:0px !important;
		bottom:0px !important;
		right:0px !important;
		top:0px !important;	
	}
	
	.services-one .tabs-outer .service-tabs .tabs-content,
	.services-one .tabs-outer .service-tabs .tab{
		position:relative !important;
		left:0px;
		bottom:0px;
		width:auto;
		height:auto;	
	}
	
	.services-one .tabs-outer .service-tabs .tab .content-box{
		position:relative;
		width:100%;
		height:auto;
		border-radius:10px;
		padding:50px 30px;	
	}
	.services-one .tab-buttons .content-text{
		position: relative!important;
	    text-align: center;
	    left: 0px!important;
	    top: 0px!important;
	    margin-left: 0px!important;
	}
	.services-one .tabs-outer .service-tabs .tab-btn .icon-box{
		display: inline-block;
	}	
}

@media only screen and (max-width: 767px){
	.home-hero-carousel,
	.home-hero-carousel .carousel-inner,
	.home-hero-carousel .item,
	.home-hero-slide,
	.home-hero-content{
		min-height: 360px;
	}
	.home-hero-content{
		padding: 65px 18px 55px;
	}
	.banner-title h2{
		font-size: 22px;
		line-height: 28px;
	}
	.banner-title h1{
		font-size: 34px;
		line-height: 40px;
	}
	.home-hero-content .text{
		font-size: 14px;
		line-height: 24px;
		margin-top: 12px;
	}
	.home-hero-actions{
		margin-top: 22px;
	}
	.home-hero-carousel .carousel-control{
		display: none;
	}
}

@media only screen and (max-width: 991px){
	.container.menu-bg{
		margin-bottom: -100px;
	}

	.border-bottom:before{
		display: none;
	}
	.border-right:after{
		display: none;
	}
	.main-header .outer-area .logo{
		display: block;
		width: 225px;
		margin: 0 auto;
	}
	.about-section .about-btn a.btn-style-one {
		margin-bottom: 20px;
	}
	.video-section{
		margin: 0px;
	}
	.about-section .about-content {
	    position: relative;
	    padding: 100px 0px 50px 0px;
	}
	.video-section .fluid-image img {
	    padding: 25px 0px 100px 0px;
	}
	.service-section .single-item {
		margin-bottom: 30px;
	}
	.fact-counter .single-item-four {
		float: none;
	}
	.appointment-section .appointment-area {
	    padding: 93px 0px 100px 0px;
	}
	.working-section .single-item-one {
		float: none;
		width: 145px;
		margin: 0 auto;
		padding: 0px 0px 20px 0px;
	}
	.working-section .single-item-two {
	    width: 132px;
	    margin: 0 auto;
	    float: none;
	    padding: 0px 0px 20px 0px;
	}
	.working-section .single-item-three{
		float: none;
		width: 132px;
		display: block;
		margin: 0 auto;
	} 
	.working-section .single-item-four{
		float: none;
		width: 132px;
		display: block;
		margin: 0 auto;
	} 
	.working-section h4 {
		text-align: left;
	}
	.testimonial-faq-section .testimonial-area {
		margin-bottom: 60px;
	}
	.news-section .single-item .news-content{
		margin-bottom: 30px;
	}
	.footer-section .logo-widget{
		margin-bottom: 30px;
	}
	.footer-section .link-widget {
	    left: 0px;
	    margin-bottom: 60px;
	}
	.cart-page .cart-table{
		margin-bottom: 0px;
	}
	.cart-page .coupon-code .coupon-content {
		padding: 23px 0px 11px 10px;
	}
	.checkout-content .additional-content {
		margin-bottom: 100px;
	}
	.blog-single .comment-form button {
		margin-bottom: 100px;
	}
	.contact-section .single-item.style-two {
	    padding: 0px;
	    width: 300px;
	    margin: 0 auto;
	}
	.contact-section .single-item .text{
		margin-bottom: 30px;
	}
	.google-map-area {
	    margin-bottom: 50px;
	}
	.main-header .outer-area .single-info-box {
		float: none;
		width: 625px;
		margin: 0 auto;
		display: block;
	}
	.video-section .fluid-image span{
		top: 38%;
	}



}
@media only screen and (max-width: 767px){
	
	.nav_right_area {
	    position: absolute;
	    right: 12px;
	    top: 5px;
	}
	.nav_right_area .search-box{
		right: 20px;
	}
	.header-upper .main-logo{
		position: relative;
		text-align: center;
		float: none !important;
		margin-bottom: 30px;
	}

	.hephaistos.tparrows{
		display: none;
	}
	.header-upper .top-info {
	    position: relative;
	    float: none !important;
	}
	.header-upper .top-info li{
		margin-bottom: 30px;
	}
	.header-upper ul li.single-info-box {
	  position: relative;
	  padding-left: 62px;
	  top: 5px;
	  margin-left: 18%;
	}
	.header-upper ul li.link_btn {
	    position: relative;
	    text-align: center;
	    display: block;
	    margin-left: 0px;
	}
	.nav_right_area .search_option form button{
		right: -45px;
	}
	.main-header .nav-outer{
		padding-right:0px;	
	}

	.main-header .main-menu{
		padding-top:0px;
		margin:0px;
		right: 10px;
		left: 0px;
	}
	
	.main-menu .collapse {
		overflow:auto;
		float:none;
		width:100%;
		padding:10px 0px 0px;
		border:none;
		margin:0px;
		-ms-border-radius:3px;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
		-o-border-radius:3px;
		border-radius:3px;
   }
   
	.main-menu .collapse.in,
	.main-menu .collapsing{
		padding:10px 0px 0px;
		border:none;
		margin:0px 0px 15px;
		-ms-border-radius:3px;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
		-o-border-radius:3px;
		border-radius:3px;	
	}
	
	
	.main-menu .navbar-header {
	    position: relative;
	    display: inline-block;
	    text-align: right;
	    padding: 12px 0px;
	    right: 0px;
	    z-index: 12;
	}
	
	.main-menu .navbar-header .navbar-toggle{
		display:inline-block;
		z-index:7;
		border: 1px solid #181d37;
		float:none;
		margin: 0px 15px 0px 15px;
		border-radius:0px;
		background: #071740;
	}
	
	.main-menu .navbar-header .navbar-toggle .icon-bar{
		background:#ffffff;	
	}
	
	.main-menu .navbar-collapse > .navigation{
		float:none !important;
		margin:0px !important;
		width:100% !important;
		background:#071740;
		border:1px solid #ffffff;
		border-top:none;
	}
	
	.main-menu .navbar-collapse > .navigation > li{
		margin:0px !important;
		float:none !important;
		width:100%;
	}
	
	.main-menu .navigation > li > a,
	.main-menu .navigation > li > ul:before{
		border:none;	
	}
	
	.main-menu .navbar-collapse > .navigation > li > a{
		padding:10px 10px !important;
		border:none !important;
	}
	
	.main-menu .navigation li.dropdown > a:after,
	.main-menu .navigation > li.dropdown > a:before,
	.main-menu .navigation > li > ul > li > a::before,
	.main-menu .navigation > li > ul > li > ul > li > a::before{
		color:#ffffff !important;
		right:15px;
		font-size:16px;
		display:none !important;
	}
	
	.main-menu .navbar-collapse > .navigation > li > ul,
	.main-menu .navbar-collapse > .navigation > li > ul > li > ul{
		position:relative;
		border:none;
		float:none;
		visibility:visible;
		opacity:1;
		display:none;
		margin:0px;
		left:auto !important;
		right:auto !important;
		top:auto !important;
		width:100%;
		background:#071740;
		-webkit-border-radius:0px;
		-ms-border-radius:0px;
		-o-border-radius:0px;
		-moz-border-radius:0px;
		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 > .navigation > li > ul,
	.main-menu .navbar-collapse > .navigation > li > ul > li > ul{
		border-top:1px solid rgba(255,255,255,1) !important;	
	}
	
	.main-menu .navbar-collapse > .navigation > li,
	.main-menu .navbar-collapse > .navigation > li > ul > li,
	.main-menu .navbar-collapse > .navigation > li > ul > li > ul > li{
		border-top:1px solid rgba(255,255,255,1) !important;
		opacity:1 !important;
		top:0px !important;
		left:0px !important;
	}
	
	.main-menu .navbar-collapse > .navigation > li:first-child{
		border:none;	
	}
	
	.main-menu .navbar-collapse > .navigation > li > a,
	.main-menu .navbar-collapse > .navigation > li > ul > li > a,
	.main-menu .navbar-collapse > .navigation > li > ul > li > ul > li > a{
		padding:10px 10px !important;
		line-height:22px;
		color:#ffffff;
		background: #071740;
		text-align:left;
	}
	
	.main-menu .navbar-collapse > .navigation > li > a:hover,
	.main-menu .navbar-collapse > .navigation > li > a:active,
	.main-menu .navbar-collapse > .navigation > li > a:focus{
		background:#071740;
	}
	
	.main-menu .navbar-collapse > .navigation > li:hover > a,
	.main-menu .navbar-collapse > .navigation > li > ul > li:hover > a,
	.main-menu .navbar-collapse > .navigation > li > ul > li > ul > li:hover > a,
	.main-menu .navbar-collapse > .navigation > li.current > a,
	.main-menu .navbar-collapse > .navigation > li.current-menu-item > a{
		background: #071740;
		color:#60c5e4 !important;
	}
	
	.main-menu .navbar-collapse > .navigation li.dropdown .dropdown-btn{
		display:block;
	}
	.main-menu .navbar-collapse > ul li.dropdown .dropdown-btn{
		right: 10px;
	}
	
	.main-menu .navbar-collapse > .navigation li.dropdown:after,
	.main-menu .navigation > li > ul:before{
		display:none !important;	
	}
	

	.main-footer .widget-content .images-text{
		margin-left: 30px;
		margin-right: 30px;
	}
	#polyglotLanguageSwitcher{
		border-left: none;
		padding-left: 0px;
	}
	.header-upper{
		border-bottom: none;
	}
	.container.menu-bg{
		margin-bottom: 0px;
	}

	.contact-form .form-section{
		margin-left: 0px;
	}
	.contact-form .search_option{
		position: absolute;
		right: 0px;
		bottom: 0px;
	}
	.events-column .content-box {
	  	position: relative;
	  	margin-bottom: 30px;
	}
	.contact-form .form-widght{
		margin-top: 20px;
	}
	.sponsors-logos{
		padding-bottom: 50px;
	}
	.more-option .search-box.now-visible {
	    top: 179%;
	}
	.main-header .header-upper .top-left .text {
		width: 325px;
		margin: 0 auto;
		display: block;
	}
	.main-header .header-upper .top-right {
	    display: block;
	    float: none;
	    width: 290px;
	    margin: 0 auto;
	}
	.main-header .outer-area .single-info {
	    display: block;
	    padding: 12px 0px 10px 50px;
	    width: 200px;
	    margin: 0 auto;
	}
	.sticky-header .more-option .search-box.now-visible {
	    top: 192%;
	}
	.sticky-header .more-option {
    	top: 18px;
	}
	.video-section .fluid-image span{
		top: 35%;
	}
	.service-section .inner-box:hover .img-content {
    	top: 40%;
	}
	.fact-counter .column:last-child {
	    margin-right: 0px;
	    width: 170px;
	    display: block;
	    margin: 0 auto;
	    padding: 0px 0px 20px 0px;
	}
	.footer-widget.contact-widget {
		margin-bottom: 30px;
	}
	.footer-widget.contact-widget{
		padding: 0px;
	}
	.footer-section .link-widget{
		margin-bottom: 30px;
	}
	.shop-page .single-product .single-content{
		left: 0px;
	}
	.shop-page .single-product .img-box{
		padding: 0px;
		margin-bottom: 30px;
	}
	.main-header .header-upper:after{
		display: none;
	}
	.main-header .header-upper:before{
		display: none;
	}
	.main-header .outer-area .single-info-box {
		display: none;
		width: 100%;
	}
	.main-header .outer-area .logo{
		display: block;
		text-align: center;
		padding: 0px;
	}
	.main-header .outer-area{
		padding: 16px 0px;
	}
	.main-header .outer-area .logo img{
		margin: 0 auto;
	}
	.header-mobile-contacts{
		display: block;
	}
	.cta-section .cta-content .cta-btn{
		float: none;
	}
	.cta-section .cta-content .cta-btn a.btn-style-one{
		top: 10px;
	}
	.cta-section .cta-content p{
		display: block;
	}
	.contact-section .single-item.style-three {
		padding: 0px;
	}

}
@media only screen and (max-width: 599px){
	.main-header .outer-area .single-info-box{
		display: none;
	}
	.main-header .outer-area .logo{
		display: block;
		text-align: center;
		padding: 0px;
	}
	.main-header .outer-area{
		padding: 16px 0px;
	}
	.main-header .outer-area .logo img{
		margin: 0 auto;
	}
	.header-mobile-contacts{
		padding: 12px 12px 14px;
	}
	.header-mobile-contact-label{
		font-size: 11px;
	}
	.header-mobile-contact-value,
	.header-mobile-contact-link,
	.header-mobile-contacts .header-phone-menu a{
		font-size: 13px;
		line-height: 21px;
	}
	.header-mobile-phone-toggle{
		font-size: 15px;
	}
	
	.main-header .header-top .top-left,
	.main-header .header-top .top-right{
		float:none !important;
		text-align:center;
	}
	.nav_right_area .search-box{
		left: 0px;
	}
	.blog-section .item .content-text .icon-links li{
		border-left: none;
	}
	.blog-section .item .content-text .icon-links li:first-child{
		padding-left: 10px;
	}
	.header-upper ul li.single-info-box{
		margin-left: 30%;
	}
	.bottom_footer p{
		float: none !important;
		text-align: center;
		margin-left: 20px;
	}
	.social-links{
		float: none !important;
		text-align: center;
	}
	.shop-page .tab-content{
		padding: 20px 10px;
	}
	.shop-page .tab-title {
		margin: 0px 10px;
	}
	.blog-single .comment-area .comment-box.replay-comment{
		left: 0px;
	}
}

@media only screen and (max-width: 499px) {
	
	.header-main-box .nav-outer .search-box-btn{
		display:none;	
	}
	.contact-form .search_option{
		position: relative;
	}
	.header-upper ul li.single-info-box{
		margin-left: 25%;
	}
	.main-header .header-upper .upper-column.info-box {	
		margin-left: auto;
		margin-right: auto;
		float: none;
	}	
	.video-section .fluid-image span{
		top: 32%;
	}
	.service-section .inner-box:hover .img-content{
		top: 25%;
	}
	.page-title .bread-crumb{
		display: block;
		float: none;
	}
	.blog-single .post-share-option .social-link {
	    display: block;
	    float: none;
	    top: 15px;
	}
	.faq-page .faq-content p{
		padding: 0px;
	}

}

@media only screen and (max-width: 399px){

	.video-section .fluid-image span{
		left: 40%;
		top: 28%;
	}
	.testimonial-faq-section .testimonial-content{
		padding: 0px 0px 0px 20px;
	}
	.sidebar-page-container .service-detail .service-detail-content .title{
		font-size: 20px;
	}
	.main-header .header-upper {
	    padding: 9px 5px 9px 5px;
	}
	.main-header .header-upper .top-left .text{
		width: 100%;
		display: block;
		left: 5px;
	}
	.main-header .header-upper .top-right .text{
		display: block;
		left: 15px;
	}
	.main-header .header-upper .top-right .text:before{
		display: none;
	}
	.main-header .header-upper .top-right .text a{
		width: 101px;
		display: block;
		margin: 0 auto;
	}
	.main-header .header-upper .top-right .social-link{
		width: 141px;
		display: block;
		margin: 0 auto;
	}
	.service-section .inner-box:hover .img-content{
		top: 0%;
	}
	.service-section .img-content p{
		font-size: 12px;
	}
	.accordion .acc-btn{
		font-size: 15px;
		margin: 0px;
		padding: 9px 30px 11px 5px;
	}
	.cta-section .cta-content .title{
		font-size: 36px;
	}
	.shop-page .shop-btn li a{
		height: 40px;
		width: 40px;
		line-height: 40px;
	}
	.shop-page .shop-btn li{
		margin: 0px;
	}
	.shop-page .single-product .single-content .cart-social li{
		margin-right: 0px;
	}
	.shop-page .tab-content p{
		padding: 0px;
	}
	.checkout-content .your-order .single-item {
	    padding: 30px 5px 31px 5px;
	}
	.checkout-content .your-order .single-item .text span{
		right: 10px;
	}
	.sticky-header .more-option{
		right: 0px;
	}
	.more-option{
		right: 10px;
	}
	.error-section .error-text h1 {
		font-size: 150px;
	}

}

@media only screen and (max-width: 300px){

	.video-section .fluid-image span{
		width: 60px;
		height: 60px;
		line-height: 62px;
	}


}

@media only screen and (max-width: 991px){
	.home-services-section .home-services-grid,
	.team-section .home-experts-grid,
	.news-section .home-news-grid{
		display:flex;
		flex-wrap:wrap;
	}
	.home-services-section .home-services-grid__item,
	.team-section .home-experts-grid__item,
	.news-section .home-news-grid__item{
		display:flex;
		float:none;
		margin-bottom:24px;
	}
	.home-services-section .home-service-card__media{
		aspect-ratio:16 / 11;
	}
	.team-section .home-expert-card__media{
		aspect-ratio:1 / 1;
	}
	.news-section .home-news-card__media,
	.choose-section .home-choose-media{
		aspect-ratio:4 / 3;
	}
	.home-services-section .home-service-card__media img,
	.team-section .home-expert-card__media img,
	.news-section .home-news-card__media img,
	.choose-section .home-choose-media img{
		position:absolute;
		inset:0;
		width:100%;
		height:100%;
		padding:0 !important;
		object-fit:cover;
		object-position:center center;
	}
	.home-services-section .home-service-card .img-content{
		padding:16px 0 0;
	}
	.news-section .home-news-card .news-content{
		padding:0 16px 18px;
	}
}

@media only screen and (max-width: 767px){
	.home-services-section .home-services-grid__item,
	.team-section .home-experts-grid__item,
	.news-section .home-news-grid__item{
		margin-bottom:20px;
	}
	.home-services-section .home-service-card .img-title,
	.team-section .home-expert-card .single-content{
		padding-top:14px;
	}
	.news-section .home-news-card .news-content p{
		min-height:0;
	}
}

/* Layout repair overrides */
@media only screen and (max-width: 991px){
	html,
	body{
		overflow-x:hidden;
	}

	.page-wrapper img,
	.page-wrapper video,
	.page-wrapper iframe{
		max-width:100%;
		height:auto;
	}

	.page-wrapper figure{
		margin:0;
	}

	.about-section .about-content:before,
	.video-section:before,
	.video-section:after,
	.cta-section .img-box:before{
		display:none !important;
	}

	.about-section .about-content{
		padding:40px 0 24px !important;
	}

	.about-section .about-btn{
		display:flex;
		flex-wrap:wrap;
		gap:12px;
	}

	.about-section .about-btn a.btn-style-one,
	.about-section .about-btn a.btn-style-two{
		margin:0 !important;
	}

	.video-section{
		margin:20px 0 0 !important;
	}

	.video-section .fluid-image{
		position:relative;
		max-width:580px;
		margin:0 auto;
	}

	.video-section .fluid-image img{
		left:0 !important;
		padding:0 !important;
		width:100%;
		border-radius:16px;
	}

	.video-section .fluid-image span{
		left:50% !important;
		top:50% !important;
		transform:translate(-50%, -50%);
	}

	.service-section .single-item,
	.service-section.style-2 .single-item{
		padding:16px !important;
		margin-bottom:24px;
	}

	.service-section .inner-box,
	.service-section.style-2 .inner-box,
	.shop-page .inner-box,
	.team-section .inner-box{
		overflow:hidden;
		border-radius:16px;
	}

	.service-section .img-box,
	.service-section.style-2 .img-box,
	.shop-page .img-box,
	.team-section .img-box,
	.news-section .img-box,
	.blog-single .img-box,
	.sidebar-page-container .service-detail .img-box{
		width:100%;
		margin:0;
	}

	.service-section .img-box img,
	.service-section.style-2 .img-box img,
	.shop-page .img-box img,
	.team-section .img-box img,
	.news-section .img-box img,
	.blog-single .img-box img,
	.sidebar-page-container .service-detail .img-box img{
		display:block;
		width:100%;
		height:auto;
		aspect-ratio:4 / 3;
		object-fit:cover;
	}

	.service-section .overlay-box,
	.service-section.style-2 .overlay-box,
	.shop-page .overlay-box{
		display:none !important;
	}

	.service-section .img-content,
	.service-section.style-2 .img-content,
	.shop-page .img-content{
		position:static !important;
		left:auto !important;
		right:auto !important;
		top:auto !important;
		bottom:auto !important;
		width:100%;
		height:auto;
		padding:14px 0 0 !important;
		opacity:1 !important;
		visibility:visible !important;
		text-align:left;
		transform:none !important;
		background:none !important;
	}

	.service-section .img-content p,
	.service-section.style-2 .img-content p,
	.shop-page .img-content p{
		color:#666 !important;
		margin-bottom:12px;
	}

	.service-section .img-title,
	.service-section.style-2 .img-title,
	.shop-page .single-content{
		padding-top:14px;
	}

	.catagory-section .single-item{
		height:auto;
		min-height:0;
		padding:28px 20px;
	}
	.catagory-section .categories-grid{
		display:block;
	}
	.catagory-section .categories-grid__item{
		display:block;
		margin-bottom:0;
	}
	.catagory-section .category-card{
		min-height:0;
	}
	.catagory-section .category-card .catagory-content,
	.catagory-section .category-card h3{
		min-height:0;
	}

	.choose-section{
		padding-top:70px;
	}

	.choose-section .choose-row{
		display:block;
	}

	.choose-section .choose-column--left,
	.choose-section .choose-column--right{
		padding-left:15px;
		padding-right:15px;
	}

	.choose-section .img-box{
		max-width:560px;
		margin:0 auto 30px;
	}

	.choose-section .img-box img{
		padding:0 !important;
		border-radius:16px;
	}

	.choose-section .single-item,
	.choose-section .choose-right .single-item{
		padding:0 !important;
		margin:0 0 28px;
		text-align:center;
	}

	.choose-section .single-item .icon-box,
	.choose-section .choose-right .single-item .icon-box{
		position:relative !important;
		top:auto !important;
		right:auto !important;
		left:auto !important;
		margin:0 auto 16px;
	}

	.working-section{
		background-attachment:scroll;
	}

	.working-section .single-item-one,
	.working-section .single-item-two,
	.working-section .single-item-three,
	.working-section .single-item-four{
		float:none !important;
		width:100% !important;
		padding:0 !important;
		margin:0 0 28px !important;
		text-align:center;
	}

	.working-section .icon-box{
		margin:0 auto 14px;
	}

	.working-section .number{
		left:50%;
		top:-10px;
		transform:translateX(-50%);
	}

	.working-section h4{
		text-align:center !important;
	}

	.testimonial-faq-section .testimonial-content{
		padding:24px 20px !important;
		margin-top:24px !important;
	}

	.testimonial-faq-section .testimonial-area,
	.testimonial-faq-section .accrodian-area{
		padding:0 !important;
	}

	.testimonial-faq-section .section-title:before{
		left:50%;
		margin-left:-25px;
	}

	.cta-section .img-box{
		display:none;
	}

	.cta-section .cta-content{
		padding-left:0 !important;
	}

	.cta-section .cta-content p{
		display:block !important;
		margin-bottom:18px;
	}

	.cta-section .cta-content .cta-btn{
		float:none !important;
		right:auto !important;
	}

	.sidebar-page-container .service-detail{
		padding:0 !important;
	}

	.sidebar-page-container .service-detail .img-box{
		margin-bottom:24px !important;
	}

	.news-section .single-item .news-content .top-content,
	.blog-single .news-content .top-content{
		margin-left:0 !important;
		padding-top:84px !important;
	}

	.news-section .single-item .news-content .top-content .date,
	.blog-single .news-content .top-content .date{
		left:0 !important;
		top:14px !important;
	}
}

@media only screen and (max-width: 767px){
	.about-section .about-btn{
		flex-direction:column;
		align-items:stretch;
	}

	.about-section .about-btn a.btn-style-one,
	.about-section .about-btn a.btn-style-two{
		width:100%;
		text-align:center;
	}

	.video-section .fluid-image span{
		width:64px;
		height:64px;
		line-height:66px;
	}

	.video-section .fluid-image span:before{
		font-size:28px;
	}

	.service-section .single-item,
	.service-section.style-2 .single-item{
		padding:14px !important;
	}

	.service-section .img-box img,
	.service-section.style-2 .img-box img,
	.shop-page .img-box img,
	.team-section .img-box img,
	.news-section .img-box img,
	.blog-single .img-box img,
	.sidebar-page-container .service-detail .img-box img{
		aspect-ratio:16 / 11;
	}

	.team-section .img-content{
		display:none !important;
	}

	.team-section .single-content{
		padding:12px 8px 0;
	}

	.news-section .single-item .news-content .top-content .title,
	.blog-single .news-content .top-content .title{
		font-size:22px;
		line-height:30px;
	}

}

/* Home card image fixes for mobile */
@media only screen and (max-width: 991px){
	.team-section .home-expert-card__media,
	.news-section .home-news-card__media{
		aspect-ratio:auto;
	}

	.team-section .home-expert-card__media figure,
	.news-section .home-news-card__media figure,
	.news-section .home-news-card__media a{
		display:block;
		width:100%;
		height:auto;
	}

	.team-section .home-expert-card__media img,
	.news-section .home-news-card__media img{
		position:relative;
		inset:auto;
		width:100%;
		height:auto;
		aspect-ratio:auto;
		object-fit:contain;
		object-position:center top;
	}
}

@media only screen and (max-width: 767px){
	.main-menu .navigation > li > ul.services-dropdown-menu{
		width:100%;
		max-height:none;
		overflow:visible;
	}

	.main-menu .navbar-collapse > .navigation > li > ul.services-dropdown-menu > li.services-dropdown-menu__columns{
		display:block !important;
	}

	.main-menu .navigation > li > ul.services-dropdown-menu .services-dropdown-menu__columns{
		display:block;
	}

	.main-menu .navigation > li > ul.services-dropdown-menu .services-dropdown-menu__column{
		display:block !important;
		position:relative !important;
		width:100%;
	}

	.main-menu .navigation > li > ul.services-dropdown-menu .services-dropdown-menu__column + .services-dropdown-menu__column{
		border-left:none;
		border-top:1px solid rgba(255,255,255,1);
	}

	.floating-contact-widget{
		right:16px;
		bottom:16px;
	}

	.floating-contact-toggle{
		width:58px;
		height:58px;
		font-size:23px;
	}

	.floating-contact-menu{
		width:200px;
		padding:10px;
		bottom:calc(100% + 12px);
	}

	.floating-contact-link{
		padding:9px 10px;
	}

	.floating-contact-link__icon{
		width:38px;
		height:38px;
		flex-basis:38px;
		font-size:18px;
	}

	.team-section--home-experts .team-title{
		margin-bottom:12px;
	}

	.team-section--home-experts .owl-controls{
		margin-top:14px;
	}

	.team-section--home-experts .owl-theme .owl-controls .owl-nav [class*="owl-"]{
		width:48px;
		height:48px;
		line-height:36px;
		font-size:20px;
	}
}
