/*
Theme Name: Air Solutions
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress a la medida para Air Solutions
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: DonPigTemplate
*/

body{
	font-family: Montserrat, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: max(1vw,12px);
}
input[type="button"],button{
	border:none;
	background:none;
	font-size:1em;
	cursor:pointer;
}
img{
	border:none;
}
a{
	color: inherit;
	text-decoration: none;
}
*[onclick],*[href]{
	cursor: pointer;
}
textarea{
	resize:none;
}
.clr{
	clear:both;
}
.columnas2{
	-webkit-column-count:2;
	-moz-column-count:2;
	column-count:2;
}
.columnas3{
	-webkit-column-count:3;
	-moz-column-count:3;
	column-count:3;
}
.columnas4{
	-webkit-column-count:4;
	-moz-column-count:4;
	column-count:4;
}
.columnas5{
	-webkit-column-count:5;
	-moz-column-count:5;
	column-count:5;
}
.grid2{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 0;
}
.grid3{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0;
}
.grid4{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 0;
}
.grid5{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 0;
}
.flex{
	display: flex;
	flex-flow: row wrap;
	align-content: space-between;
	justify-content: space-between;
}
.flex>*{
	flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    text-align: center;
}

.site_error>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #C44;
	border:#C44 solid 1px;
	background: #EDD;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_error{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

.site_success>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #494;
	border:#494 solid 1px;
	background: #DED;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_success{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

@keyframes siteError{
	0%{opacity:1;top:5em;}
	90%{opacity:1}
	99%{opacity:0;top:5em;}
	100%{opacity:0;top:-20em;}
}

.hide_me{
	height: 0;
	width: 0;
	overflow: hidden;
	opacity: 0;
	font-size: 1px;
}

a,input,button,*[onclick],*[href]{
	transition: all .25s ease-in-out;
	cursor: pointer;
}

/* GENERALES */

header{
	position: sticky;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	background: blue;
	color:white;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	color: black;
	padding: 0.5em 2.5%;
	height: 3em;
}
#logo{
	display: flex;
	align-items: center;
	gap:0.5em;
	padding: 1em;
	background: white;
	box-shadow: rgba(0,0,50,0.3) 0 0 0.25em;
}
#logo img{
	height: 5em;
}
menu,menu>div>ul,menu>div>ul>li{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	list-style: none;
	gap:2em;
	font-weight: 600;
	color: white;
}
menu>div>ul{
	display: flex;
	justify-content: end;
	align-content: end;
	align-items: start;
	gap:3em;
}
menu>div>ul>li{
	display: block;
	list-style: none;
	line-height: 4em;
	height: 4em;
	overflow: visible;
	transition: all 0.25s ease;
}

menu>div>ul>li>ul{
	width:0;
	height:0;
	overflow: visible;
	line-height: 2em;
	display: none;
	color:#666;
	text-align: left;
	margin: 0;
	padding: 0;
	translate:-6em 0;
}
menu>div>ul>li:hover>ul{
	display: block;
	filter: drop-shadow(rgba(0,0,0,0.15) 0 0.25em 0.25em);
}
menu>div>ul>li>ul>li{
	background: white;
	padding: 0.5em 2em;
	min-width: 12em;
	display: block;
	list-style: none;
	transition: all 0.25s ease;
}
menu>div>ul>li>ul>li:hover{
	color:#369;
	background: #eee;
}
menu li i.fa-angle-down{
	transition: all 0.25s ease;
	font-size:0.8em;
}
menu li:hover i.fa-angle-down{
	rotate:-180deg;
}

#content{
	min-height:100vh;
}

#topbar{
	background: #039;
	color:white;
	padding:3px 2.5%;
	display: flex;
	justify-content: end;
	align-content: end;
	align-items: center;
	letter-spacing: 0.15em;
	font-size: 0.8em;
	font-weight: 600;
	gap:2em;
}
#topbar button,#topbar a{
	padding: 0.5em 2em;
	border: white solid 2px;
	border-radius: 0.2em;
	color:white;
	font-weight: bold;
	text-transform: uppercase;
}
#topbar a:hover{
	background: white !important;
	color: #039 !important;
}
form :is(input,select,textarea){
	background: transparent;
	color:white;
	border:none;
	border-bottom: white solid 1px;
	text-transform: uppercase;
	box-sizing: border-box;
	padding: 0.5em;
	margin-bottom: 1em;
	font:inherit;
	font-style: italic;
	display:block;
	width:100%;
	font-weight: 600;
}
#contact form :is(label,legend){
	color: white !important;
}
#contact form{
	margin:0 auto
}
form button{
	background: rgba(200,240,250,0.75);
	color:#039;
	padding: 0.5em 2em;
	font:inherit;
	font-weight: 600;
	border-radius: 2em;
	margin-top: 2em;
}
form button:hover{
	background: white;
}
.wpforms-submit-container button{
	border: white solid 2px !important;
	color: white !important;
	background: transparent !important;
}

footer{
	background: #039 url(images/contacto.jpg) center bottom;
	background-size: cover;
	box-shadow: rgba(0,0,50,0.5) 0 -50vh 0 0 inset;
	color: white;
	padding: 1em 2.5% 1em 50%;
	text-align: left;
	grid-gap:2em;
}
footer ul{
	margin: 1em 0;
	padding: 0;
	font-size: 0.8em;
}
footer li{
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.5em;
}
footer img{
	width:70%;
	display: block;
	margin: 2em auto 1em auto;
}
/*
#home_services .elementor-image-box-description::after{
	content: "Learn more";
	background:#A03;
	color: white;
	display: block;
	text-align: center;
	padding: 0.5em;
	font-size: 1.25em;
	font-weight: bold;
	letter-spacing: 0.1em;
	border-radius: 0.2em;
	margin-top: 1em;
	transition: all 0.25s ease;
}
#home_services .elementor-image-box-description:hover::after{
	background: #EEE;
	color:#039;
}
*/
#home_services .elementor-image-box-title{
	min-height: 2.4em;
	margin: 0.5em auto .25em auto;
	font-weight: 600 !important;
}
#home_services .elementor-image-box-title:hover{
	color: #06c;
}
#home_services .elementor-image-box-description{
	padding-bottom: 3em;
}
#content h1,#content h2,#content h3,#content h4,#content h5,#content p,#content img,#content a,#content li{
	position: relative;
	top: 2em;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}

#map_container{
	height: 20em;
	overflow: visible;
}
#map_container>div{
	overflow: visible !important;
}


#single_header{
	padding: 10% 5%;
	background: black url(images/home.jpg) center center;
	background-size: cover;
	color: white;
}
#single_header h1{
	margin: 0;
	font-size: 4em;
}

/* MODAL */

#modal{
	background:rgba(0,0,0,0.8);
	position:fixed;
	display:none;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:10;
	text-align:center;
}


/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

@media all and (max-width:960px){
	.mobile_only{
		display:block !important;
	}
	.desktop_only{
		display:none !important;
	}
	.columnas2,.columnas3{
		-webkit-column-count:1;
		-moz-column-count:1;
		column-count:1;
	}
	.columnas4{
		-webkit-column-count:2;
		-moz-column-count:2;
		column-count:2;
	}
	.columnas5{
		-webkit-column-count:3;
		-moz-column-count:3;
		column-count:3;
	}
	.grid2,.grid3,.grid4,.grid5,.flex{
		display: block;
	}
	.grid2mobile{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.grid3mobile{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
	
	header{
		height:60px;
		padding: 0 1em;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: white;
		width: 36px;
		position: relative;
		opacity: 1;
		rotate: 0deg;
		left:0;
		top:0;
		transition: all 0.25s ease;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}

	#menu_opener.opened>div:nth-child(1){ top:9px; rotate:45deg; }
	#menu_opener.opened>div:nth-child(4){ top:-9px; rotate:-45deg; }
	#menu_opener.opened>div:nth-child(2){ left:50px; opacity: 0; }
	#menu_opener.opened>div:nth-child(3){ left:-50px; opacity: 0; }

	#logo img{
		height: 40px;
	}

	header:has(.opened){
		box-shadow: rgba(0,0,0,0.95) 0 2em 0 0 !important;
	}
	menu,menu ul,menu li{
		display: block;
		line-height: 3em;
		color:white;
	}
	menu{
		position: fixed;
		top:60px;
		font-size: 1.5em;
		background: rgba(0,0,50,0.95);
		padding: 2em;
		text-align: center;
		left: 0;
		right: 0;
		display: none;
		color: white;
	}
	#topbar{
		display: none;
	}
	
	#single_header h1{
		font-size: 2em;
	}
	#map_container{
		height: auto !important;
	}
	footer{
		padding: 5%;
		text-align: center;
		background: #012;
	}
	footer img{
		width: 40%;
	}
	footer ul{
		font-size: 1.25em;
		line-height: 2em;
	}

	
	menu>div>ul{
		display: block;
	}
	menu>div>ul>li{
		line-height: 3em;
		height: auto;
		min-height: 3em;
		border-bottom: #BCD solid 1px;
	}
	menu li i.fa-angle-down{
		border-radius: 0.5em;
		padding:0.5em;
		font-size: 1em;
	}
	menu>div>ul>li>a{
		display: flex;
		justify-content: space-between;
		align-content: space-between;
		align-items: center;
	}
	menu>div>ul>li>ul{
		height: auto;
		width: auto;
		translate:0 0;
		margin: 0;
		padding: 0;
		box-shadow: none;
		filter:none !important;
		display: none !important;
	}
	menu>div>ul>li>ul>li{
		width: auto;
		background: #024;
		translate:0;
	}
	menu>div>ul>li>ul.opened{
		display: block !important;
	}
	menu>div>ul>li:has(.opened) i.fa-angle-down{
		rotate: 180deg;
	}
}