/*************Responsive Styles*****************/

/*******************************************/

/**************iPad Landscape***************/
@media screen and ( max-width: 1500px ){
	.swiper-button-prev, .swiper-rtl .swiper-button-next {
		left: 40% !important;
	}
	.swiper-button-next, .swiper-rtl .swiper-button-prev {
		right: 40% !important;
	}
	.imageslider ~ .swiper-button-prev,.imageslider ~  .swiper-rtl .swiper-button-next {
		left: 0% !important;
	}
	.imageslider ~ .swiper-button-next,.imageslider ~  .swiper-rtl .swiper-button-prev {
		right: 0% !important;
	}
	.swiper-button-next, .swiper-button-prev{
		top: 110% !important;
	}
	.imageslider ~ .swiper-button-next,.imageslider ~ .swiper-button-prev{
		top: 60% !important;
	}
	.bottom-box{
		left: 0;
		right: 0;
		margin: auto;
		max-width: 80%;
	}
	.homeservice{
		gap: 4%;
	}
}
@media screen and ( max-width: 1320px ){
	.post-image-container{
		height: 350px;
		position: relative;
		z-index: -1;
	}
	.bottom-box{
		bottom: -58%;
		max-width: 95%;
	}
	/* .contact-informations{
		position: initial;
		max-width: 100%;
		margin-bottom: 20px;
		padding-left: 20px;
	}
	.contact-contact-form{
		max-width: 100%;
		padding-left: 20px;
	} */
	.homeservice,.imageslider,.commentslider{
		padding-left: 15px;
		padding-right: 15px;
	}
	.contact-informations {
		padding-right: 45px;
		padding-left: 50px;
	}
	.contact-page{
		margin-top: 60px;
		margin-bottom: 60px;
	}
}
@media screen and ( max-width: 1024px ){
	.bottom-box{
		position: initial;
		margin-top: -20px;
		max-width: 95%;
	}
	.blog-head {
		margin-bottom: 60px;
	}
	.single-body {
		margin-bottom: 60px;
	}
}
@media screen and ( max-width: 991px ){
	.post-image-container{
		height: auto;
	}
	.bottom-box{
		max-width: 95%;
	}
	.servicepage {
		/* margin-bottom: 70px; */
		margin-top: 40px;
	}
	.contact-page{
		margin-top:60px;
		margin-bottom: 60px;
	}
	.contact-contact-form{
		padding-right: 20px;
	}
	#navbarSupportedContent .navbar-nav{
		position: absolute;
		background-color: var(--color4);
		top: 95px;
		left: 0%;
		right: 0;
	    width: 100%;
		max-width: 100%;
	    transition: 0s;
	    padding: 24px 15px;
	    z-index: 50;
	    /* height: 100vh; */
		overflow: scroll;
	}
	#navbarSupportedContent li a{
		line-height: 11px;
		font-size: 16px;
	}
	.noscroll{
		overflow: hidden;
	}
	.sec-navbar .navbar-nav{
		height: 100vh;
		padding-bottom: 40px !important;
		justify-content: end;
		background-color: var(--color8) !important;
	}
	.dropdown-menu{
		display: flex;
		flex-direction: column;
		background-color: var(--color5);
		border: 0px;
		margin-left: 20px;
		padding: 0px;
	}
	.navbar-brand{
		margin: 0%;
		padding: 0px;
	}
	#navbarSupportedContent li {
	    margin: 10px 0px;
	}
	footer .row div:nth-child(1),
	footer .row div:nth-child(1){
		margin-bottom: 30px;
	}
	body {
	    /* margin: 110px 0px 0px 0px; */
	}
	#navbarSupportedContent li .nav-link {
	    margin: 10px 0px;
	}
	.dropdown-toggle::after{
		display: none;
	}
	.imageslider{
		height:300px;
	}
	.footer-contact-col{
		/* width: fit-content; */
		border: 0;
	}
	.blog-head h1{
		font-size:55px ;
		line-height:65px ;
	}
	
}
/*******************************************/

/*************************iPad Portrait***************/
@media screen and (max-width: 985px){
	.contact-informations{
		position: initial;
		max-width: 100%;
		margin-bottom: 20px;
		padding-left: 20px;
	}
	.contact-contact-form{
		max-width: 100%;
		padding-left: 20px;
	}
	.bottom-box{
		bottom: -50%;
	}
	.bottom-box{
		position: initial;
		margin-top: -100px;
	}
	.post-image-container img{
		object-fit: cover;
	}
	.post-image-container{
		height: 270px;
		margin-bottom: 20px;
		position: relative;
		z-index: -1;
	}
	.servicepage .service-bottom-box{
		position: relative;
		top: 0;
		margin: auto;
		margin-top: -50px;
		width: 98%;
		padding: 35px 20px;
	}
	.servicepage .post-container{
		margin-bottom: 50px;
		margin-top: 0;
	}
	.imageslider ~ .swiper-button-next,.imageslider ~ .swiper-button-prev{
		top: 116% !important;
	}
	.imageslider ~ .swiper-button-next, .imageslider ~ .swiper-rtl .swiper-button-prev{
		right: 40% !important;
	}
	.imageslider ~ .swiper-button-prev, .imageslider ~ .swiper-rtl .swiper-button-next {
		left: 40% !important;
	}
}
/*******************************************/

/**********************iPhone Landscape*************/
@media screen and (max-width: 767px){
	.swiper-button-next, .swiper-button-prev{
		width: 25px !important;
		height: 25px !important;
	}
	.blog-head h1{
		font-size:45px ;
		line-height:55px ;
	}
	.post-container{
		height: fit-content;
	}
	.homeservice{
		grid-template-columns: 1fr;
	}
	.blog-head {
		margin-bottom: 40px;
	}
	.single-body {
		margin-bottom: 50px;
	}
	.bottom-box {
		position: initial;
		left: 0;
		right: 0;
		margin-left:0;
		max-width: 605px;
		
		/* position: inherit; */
		/* margin-top: -25%; */
		margin-top: -20px;
	}
	.servicepage .post-image-container{
		height:300px;
	}
	.single-post h3 {
		font-size: 13px;
		line-height: 17px;
	}
	
	.servicepage {
		/* margin-bottom: 80px; */
		margin-top: 60px;
		margin-bottom: 60px;
	}
	footer .row >div{
		margin-bottom: 30px;
	}
	body {
	    /* margin: 90px 0px 0px 0px; */
	}
	.founder {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.contact-page{
		margin-top:30px;
		margin-bottom: 30px;
	}
	.blog-head{
		height: 295px;
	}
	
}
@media screen and (max-width: 700px){
	.elementor-tab-content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.elementor-tab-content ul {
		position: initial;
		border: 1px solid #fff !important;
		border-top: 0px !important;
		left: 0;
		right: 0;
		width: 100%;
		margin: auto;
		background: black;
		padding: 20px !important;
		padding-left: 30px !important;
		padding-right: 30px !important;
		z-index: 2;
	}
}
@media screen and (max-width: 600px){
	.footer-middle {
		grid-template-columns: 1fr;
	}
	footer h3{
		margin-bottom: 10px;
	}
	
	.footer-top{
		padding-top: 40px;
	}
	footer .navbar-brand{
		margin-bottom: 40px;
	}
	.footer_copy{
		padding-top: 25px;
		padding-bottom: 30px;
		margin-top: 30px;
	}
	.form-grid{
		grid-template-columns: 1fr;
	}
	footer h3,.footer-top p{
		/* text-align: left; */
	}
	footer ul a,footer p a{
		/* justify-content: start; */
	}
	.top-bar div:first-child{
		width: 100%;
		justify-content: space-between;
	}
}
@media screen and (max-width: 575px){
	.imageslider{
		height: 200px;
		margin-bottom: 20px;
	}
	.badge {
		top: 10px;
		font-size: 10px;
		padding: 10px 20px;
	}
	.error404 h1 {
		font-size: 25px;
		line-height: 35px;
	}
	.img-container img{
		width: 100%;
	}
	.blog h2{
		margin-top: 15px;
	}
	.top-bar .social-media-icon{
		display: none;
	}
	.footer_copy{
		justify-content: center;
		gap: 10px;
		display: grid;
	}
	.social-media-icon{
		margin: auto;
	}
	.footer-middle > div ,.footer-middle > div h3,.footer-middle > div p ,.footer-middle > div a{
		width: 100%;
		margin: auto;
		text-align: center;
		justify-content: center;
		font-size: 14px;
		line-height: 26px !important;
	}
	.footer-middle{
		justify-content: center !important;
	}
	.footer-contact-col{
		margin: 10px auto !important;
	}
}
/*******************************************/

/***************iPhone Portrait**************/
@media screen and (max-width: 479px){
	body {
		/* margin: 80px 0px 0px 0px; */
	}
	.top-bar div:first-child{
		flex-wrap: wrap;
		gap: 10px;
	}
	.blog-head h1{
		font-size:35px ;
		line-height:45px ;
	}
	#gallery-1 img{
		height: auto;
	}
	#gallery-1 .gallery-item:first-child img{
		height: auto;
	}
}
@media screen and (max-width: 380px){
	.imageslider {
		height: 120px;
	}
}
/*******************************************/
@media screen and (max-height: 500px){
	
	footer .navbar-brand{
		margin-bottom: 30px;
	}
	.banner-h .elementor-widget-wrap,.blog-head{
		padding: 0% !important;
		align-items: center;
		align-content: center;
		height: 60vh;
	}
	
	.blog-head .container{
		padding: 0;
	}
	.banner-h h1{
		font-size: 45px !important;
    	line-height: 55px !important;
	}
	.banner-h h2{
		font-size: 13px !important;
    	line-height: 17px !important;
	}
	.footer-middle > div ,.footer-middle > div h3,.footer-middle > div p ,.footer-middle > div a{
		width: 100%;
		margin: auto;
		text-align: center;
		justify-content: center;
		font-size: 14px;
		line-height: 26px !important;
	}
	#navbarSupportedContent .navbar-nav {
		height: calc(100vh - 221px);
		overflow: scroll;
		flex-direction: column;
		flex-wrap: nowrap;
	}
	
	
	.footer-middle{
		justify-content: center !important;
	}
	.footer-contact-col{
		margin: 10px auto !important;
	}
	.footer_copy {
		padding: 10px 0px;
		margin-top: 40px;
	}
	.footer-top{
		padding-top: 40px;
	}
}
