/*
Theme Name: easyclean
Theme URI: https://engenius.dev
Author: Muzain Mubarak
Author URI: https://virtualmcube.com
Description: A custom theme for easy clean car deatiling company
Text Domain: easyclean
Version: 1.0.0
License: GNU General Public License v2 or later
*/

@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,400italic,700');

@import url('css/global.css');
@import url('css/iconmoon.css');
@import url('css/structure.css');
@import url('css/slider-pro.min.css');
@import url('css/mechanic3.css');

/*@import url('css/bootstrap.min.css');*/

.themecolor {
	color: #2196F3;
}
.display_table_cell {
    display: table-cell;
    vertical-align: middle;
    float: none;
    overflow: hidden;
    zoom: 1;
    box-sizing: border-box;
}
.header_right_buttons {
    white-space: nowrap;
    padding: 20px 0px;
    text-align: right;
    overflow: visible;
    float: right;
    
    padding-left: 20px;
}
@media only screen and (max-width: 1240px){
	.header_right_buttons{
		padding-right: 60px;
	}
}
#Top_bar #logo, .header-fixed #Top_bar #logo, .header-plain #Top_bar #logo, .header-transparent #Top_bar #logo {
    height: 80px;
    /*line-height: 60px;*/
    /*padding: 25px 0;*/
}
.quick-contact{
	font-size: 20px;
    line-height: 24px;
    margin: 0;
    font-weight: 400;
    color: #311B92;
}
a.quick-number{
	font-size: 30px;
	color: #03A9F4;
}
a:hover.quick-number{
	text-decoration: none;
}
@media only screen and (max-width: 1239px){
	#Top_bar a.responsive-menu-toggle i {
		color: #03A9F4;
	}	
}
.top_bar_mobile{
	background: #03A9F4;
    padding: 5px 0;
    color: #ffffff;
    text-align: center;
}
.pad-top-120, .pad-top-120-alt{
	padding-top: 120px;
}
.pad-about-section{
	padding-top:280px; 
	padding-bottom:120px;
}
.pad-testimonial-section{
	padding-top:140px; 
	padding-bottom:120px;
}

@media screen and (min-width: 600px){
    #Top_bar > .has-mega-menu{
        position:static;
    }
    #Top_bar li.has-mega-menu .sub-menu {
        width: 100%;
        position: absolute;
        top: NNpx; /*insert the needed value*/
        z-index: 100;
        left:0px;
        right:0px;
    }
    #Top_bar > li.has-mega-menu:hover>.sub-menu{
    /*flexbox fallback for browsers that do not support CSS GRID lyout*/
        display: flex;
        flex-wrap: wrap;
    /*CSS GRID lyout*/ 
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(50%, 1fr));   
    }
}
@media screen and (min-width: 992px){
    #Top_bar > li.has-mega-menu:hover>.sub-menu{grid-template-columns: repeat(auto-fit,minmax(33.3333%, 1fr)); }
}
@media screen and (min-width: 1200px){
    #Top_bar > li.has-mega-menu:hover>.sub-menu{grid-template-columns: repeat(auto-fit,minmax(25%, 1fr)); }
}
@media screen and (min-width: 600px){
    #Top_bar > li.mega-menu-column {
        width: 100%;
        max-width: 100%;
        min-height: 1px;
        padding: 10px 25px;
        flex: 1 0 calc(50%);
    }
}
@media screen and (min-width: 992px){
    #Top_bar > li.mega-menu-column {flex: 1 0 calc(33.333%);}
}
@media screen and (min-width: 1200px){
    #Top_bar > li.mega-menu-column {flex: 1 0 calc(25%);}
}


#mfn-rev-slider {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.clip-shape{
	-webkit-clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%); 
	clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
/*	-webkit-clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%); 
	clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);*/
	display: block;
	min-height: 150px;

}
.clip-shape-invert{
	-webkit-clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
	clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
	display: block;
	min-height: 150px;

}
.clip-shape-testimonial{
	-webkit-clip-path: polygon(0 20%, 100% 0, 100% 80%, 0% 100%);
	clip-path: polygon(0 20%, 100% 0, 100% 80%, 0% 100%);
}
@media only screen and (max-width: 780px){
	.clip-shape{
		-webkit-clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); 
		clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%);
	}
	.clip-shape-invert{
		-webkit-clip-path: polygon(0 3%, 100% 0, 100% 97%, 0% 100%);
		clip-path: polygon(0 3%, 100% 0, 100% 97%, 0% 100%);
		}
	.clip-shape-testimonial{
		-webkit-clip-path: polygon(0 7%, 100% 0, 100% 90%, 0% 100%);
		clip-path: polygon(0 7%, 100% 0, 100% 90%, 0% 100%);
	}
}
/*---------------*/
/***** Chico *****/
/*---------------*/
.grid {
	position: relative;
	margin: 0 auto;
	/*padding: 1em 0 4em;*/
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	/*margin: 10px 1%;*/
/*	min-width: 320px;
	max-width: 480px;*/
	max-height: 360px;
	/*width: 48%;*/
	background: #000000;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
/*	width: 100%;
	height: 100%;*/
	width: 70%;
    height: 65%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
}

.grid figure h2 {
	/*word-spacing: -0.15em;*/
	word-spacing: 0;
	font-weight: 400;
	font-size: 28px;
    line-height: 30px;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}


figure.effect-chico img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.12);
	transform: scale(1.12);
}

figure.effect-chico:hover img {
	opacity: 1;
	/*opacity: 0.5;*/
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-chico figcaption {
	padding: 3em;
}

figure.effect-chico figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

figure.effect-chico figcaption::before,
figure.effect-chico p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-chico h2 {
	padding: 20% 0 20px 0;
	color: #fff;
}

figure.effect-chico p {
	margin: 0 auto;
	max-width: 200px;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-chico:hover figcaption::before,
figure.effect-chico:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

@media only screen and (max-width: 1240px) {
	.grid figure figcaption, .grid figure figcaption > a {
	    width: 60%;
	    height: 55%;
	}
	.grid figure h2 {
	    font-size: 20px;
	    line-height: 22px;	
	}


}
@media only screen and (max-width: 780px){
	.pad-top-120{
		padding-top: 40px;
	}
	.pad-top-120-alt{
		padding-top: 0px;
	}
	.pad-about-section{
		padding-top:140px; 
		padding-bottom:40px;
	}
	.pad-testimonial-section{
	    padding-top: 100px;
	    padding-bottom: 190px;
	}
	.grid figure figcaption, .grid figure figcaption > a {
		width: 71%;
		height: 68%;
	}
	.grid figure h2 {
		line-height: 24px;	
	}
	figure.effect-chico h2 {
		padding: 20% 0 20px 0;
		font-size: 20px;
	}
}
@media only screen and (max-width: 360px){
	.grid figure figcaption, .grid figure figcaption > a {
		width: 60%;
		height: 56%;
	}
	.grid figure h2 {
		line-height: 18px;	
	}
	figure.effect-chico h2 {
		padding: 10% 0 20px 0;
		font-size: 15px;
	}
}
#service-gallery .sp-selected-thumbnail {
	border-bottom: 3px solid #2196F3;
}
@media only screen and (max-width: 780px){
	.section-service-mobile {
	    background-color: #fff;
	    padding-top: 60px;
	    margin-top: 40px;
	}
}
.select-service{
	font-size: 13px;
	padding-left: 10px;
}

a.social-media-icons {
    font-size: 28px;
	color: #2091ec;
}
a.social-media-icons:hover {
	text-decoration: none;
	color: #4FC3F7;
}

/*.heading {
    text-align: center;
    color: #454343;
    font-size: 30px;
    font-weight: 700;
    position: relative;
    margin-bottom: 70px;
    text-transform: uppercase;
    z-index: 999;
}
.white-heading{
    color: #ffffff;
}
.heading:after {
    content: ' ';
    position: absolute;
    top: 100%;
    left: 50%;
    height: 40px;
    width: 180px;
    border-radius: 4px;
    transform: translateX(-50%);
    background: url(img/heading-line.png);
    background-repeat: no-repeat;
    background-position: center;
}
.white-heading:after {
    background: url(https://i.ibb.co/d7tSD1R/heading-line-white.png);
    background-repeat: no-repeat;
    background-position: center;
}

.heading span {
    font-size: 18px;
    display: block;
    font-weight: 500;
}
.white-heading span {
    color: #ffffff;
}*/
/*-----Testimonial-------*/

.testimonials_slider.single-photo .testimonials_slider_ul li .single-photo-img {
    display: block !important;
    margin: 0 auto 20px;
    height: 85px;
    width: 85px;
    line-height: 0;
    overflow: hidden;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.dark blockquote::after {
    content: "";
    width: 55px;
    height: 40px;
    background: url(images/blockquote_dark.png);
    position: absolute;
    left: -25px;
    top: -15px;
}
.button-stroke a.button, .button-stroke a.button .button_icon i, .button-stroke a.tp-button {
    border-color: #ffffff00;
    color: #090c32;
    /*font-size: 30px;*/
}
.button-stroke a:hover.button, .button-stroke a:hover.tp-button {
    background-color: rgba(255, 255, 255, 0) !important;
    color: #fff;
}

#contactWrapper .column {
    margin-bottom: 25px;
}
.wpcf7-not-valid-tip {
	position: absolute !important;
    left: 0px !important;
    top: 38px !important;
    width: 160px !important;
    height: 44px !important;
    padding: 0 !important;
    background: url(../../../images/contact_form_error.png) !important;
    overflow: hidden;
    text-indent: 0px !important;
    padding: 0;
    border: none !important;
}
span.wpcf7-list-item {
    float: left;
    width: 40%;
}
span.wpcf7-not-valid-tip {
    font-size: 0.8em;
}
.select-service span.wpcf7-not-valid-tip{
	top: 110% !important;
    left: -10px !important;
    font-size: 0.95em;
}

@media only screen and (max-width: 780px){
	.select-service span.wpcf7-list-item{
		width: 100%;
	}
}
a.footer-social-media-icons {
    font-size: 22px;
	color: #fff;
}
a.footer-social-media-icons:hover {
	text-decoration: none;
	color: #4FC3F7;
}