/*
Theme Name: Wabah
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress para el sitio Mileto.com
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
*/

@font-face {
	font-family: 'AgencyWeb';
	src: url(fonts/agency.otf);
	font-weight: normal;
	font-style: normal;
}
:root{
	--lime:#8eE756;
	--navy:#22203F;
	--gray:#ECECEC;
}

body{
	font-family: Lato, Galvji, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: 1vw;
}
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;
	grid-auto-rows: minmax(50%, auto);
}
.grid3{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0;
	grid-auto-rows: minmax(33%, auto);
}
.grid5{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 0;
	grid-auto-rows: minmax(20%, auto);
}
.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;
}

h1,h2,h3,h4,header,button{
	font-family: AgencyWeb,Agency,Poppins,sans-serif !important;
	font-weight: normal !important;
}

/* GENERALES */

header{
	position: sticky;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	background: #252436;
	color: white;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 1em 2.5%;
	font-size: 1.25em;
}
header button{
	color:white;
	background: var(--lime);
	padding: 0.5em 2em;
	border-radius: 2em;
}
header button:hover{
	background: white;
	color: var(--lime);
}
#logo img{
	height: 2.5em;
}
#content{
	min-height: 100vh;
	background: var(--gray);
}

menu,menu ul,menu li{
	margin: 0;
	padding: 0;
}
menu ul{
	display: flex;
}
menu li{
	display: block;
	margin: 0 1em;
}
menu li:hover{
	color: var(--lime);
}

#home h1 small{
	font-family: Lato,sans-serif;
	font-weight: 500;
	float: right;
	padding: 0.75em 4em 0 0;
}
#home_features p{
	text-shadow: rgba(0,0,0,0.2) 0 1px 2px;
}
#home_features p strong{
	color: var(--navy);
	text-shadow: rgba(255,255,255,0.6) 0 1px 2px;
}

#home_form{
	translate:0 2em;
	box-shadow: rgba(0,0,0,0.2) 0 0.25em 0.5em;
	color: var(--navy);
	position: relative;
	z-index: 2;
}
#home_form h2{
	font-size: 2em;
	text-align: center;
	margin-top: 0;
	text-wrap: balance;
}
#home_form *:is(label,input,select,button,a){
	display: block;
}
#home_form label{
	font-weight: 700;
	margin: 1em auto;
}
#home_form *:is(input,select){
	box-sizing: border-box;
	width: 100%;
	padding: 0.5em 1em;
	border-radius: 2em;
	background: white;
	border:#CCC solid 1px;
	margin:0.25em auto;
	font:inherit;
	font-size:1.5em;
	appearance:none;
}
#home_form button:nth-child(3){
	background: var(--lime);
	color: white;
	padding: 0.25em;
	border-radius: 2em;
	text-align: center;
	font-size: 2em;
	width: 100%;
	margin: 1em 0 0.5em 0;
}
#home_form button:nth-child(3):hover{
	background: var(--navy);
}
#home_form button.simular{
	background: var(--lime);
	color: white;
	padding: 0.25em;
	border-radius: 2em;
	text-align: center;
	font-size: 2em;
	width: 100%;
	margin: 1em 0 0.5em 0;
}
#home_form button.simular:hover{
	background: var(--navy);
}
#home_form button img{
	height: 1em;
	translate:0 0.25em;
}
#home_form button.agendar{
	padding: 0.5em;
	border-radius: 2em;
	text-align: center;
	width: 100%;
	border:var(--navy) solid 1px;
	line-height: 2em;
	margin-bottom: 2em;
}
#home_form button.agendar{
	background: var(--navy);
	color: white;
}
#home_form a{
	display: block;
	text-decoration: underline;
	text-align: center;
}
.nomargin,.nomargin *{
	margin: 0;
}

#beneficios_allianz h3{
	line-height: 1.2em;
	min-height:3.6em;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	padding: 0 1em;
	text-wrap:balance;
}

#ventajas_list li{
	display:block;
	margin:0 0 2em 0;
}
#ventajas_list li strong{
	color: var(--navy);
}
#ventajas_list ul{
	counter-reset: ventajasCounter;
}
#ventajas_list li:before{
	counter-increment: ventajasCounter;
	content: counter(ventajasCounter);
	display: block;
	float: left;
	font-size: 2em;
	font-family: AgencyWeb,Agency,Poppins,sans-serif !important;
	width: 1em;
	height: 1em;
	text-align: center;
	line-height: 1em;
	background: var(--navy);
	padding: 0.2em;
	border-radius: 2em;
	margin-right: 0.5em;
	box-sizing: content-box;
}
#quantities_title{
	font-size: 2.5em;
	text-align: left;
	padding-left: 20%;
	background: url(images/iso_lime.png) left center no-repeat;
	background-size: 15% auto;
	line-height: 1em;
}
#quantities_title select{
	box-sizing: border-box;
	padding: 0.25em 1em;
	border-radius: 2em;
	background: #EEE;
	border:#CCC solid 1px;
	margin:0.25em auto;
	font:inherit;
	appearance:none;
}

.coins_indicator{
	font-size: 1.2em;
	color: white !important;
	background: var(--navy);
	padding: 0.5em;
	border-radius: 3em;
	margin: 0;
	text-align: center;
}
.coins_indicator *{
	color: white !important;
}
.coins_indicator small{
	display: block;
	font-size: 0.6em;
}
.coins_indicator small span{
	display: none;
}
.coins_indicator:after{
	display: block;
	content:'';
	width: 1em;
	height: 0.5em;
	background: url(images/indicator_navy_down.svg) center top no-repeat;
	background-size: 100% auto;
	margin: 0.45em auto;
	position: absolute;
	left:45%;
}
.coins_indicator:nth-child(1){ translate: -1em 5em; }
.coins_indicator:nth-child(2){ translate: -2.5em 3em; }
.coins_indicator:nth-child(3){ translate: -4em 0.5em; }
.coins_indicator:nth-child(4){ translate: -3em -0.5em; }
.coins_indicator:nth-child(5){ translate: -2em -2em; }

#coins_notif{
	position: absolute;
	left: 0;
	right: 0;
	top:41.75vw;
}
#preguntas_home h3{
	font-size: 1.5em !important;
}

.esparati h3{
	line-height: 1.2em;
	min-height:3.6em;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	padding: 0 0;
	text-wrap:balance;
}
.esparati p{
	margin: 0;
	min-height: 11.5em;
}
.esparati img{
	position: absolute;
	top:-9em;
	translate: -2.5em 0;
}
.esparati:nth-child(1) img{
	top:-7.5em;
}
.esparati:nth-child(2) img{
	top:-8em;
	translate: -1em 0;
}

.botonera{
	position: absolute;
	text-align: center;
	width: 100%;
	top:-5em;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	filter: drop-shadow(rgba(0,0,0,0.5) 0 2px 4px);
	z-index: 2;
}
.botonera button{
	font-size: 2em;
	background: white;
	color: var(--navy);
	padding: 0.5em 1em;
	border-left:#99A solid 2px;
}
.botonera button:first-child{
	border-top-left-radius: 2em;
	border-bottom-left-radius: 2em;
	border-left: none;
}
.botonera button:last-child{
	border-top-right-radius: 2em;
	border-bottom-right-radius: 2em;
	border-right: none;
}

.botonera.green button{
	background: var(--lime);
	color: white;
	border-color: #6B4 !important;
}

.testimonioibox img{
	translate:-1em -1em;
	opacity:0;
}
.testimonioibox p{
	min-height: 12em;
	display: flex;
	align-items: center;
}
#address p strong{
	color: var(--lime);
}

#single_header{
	text-align: center;
	padding: 5% 10%;
	color: white;
	background-size: cover;
	background-position: center center;
}
#single_header h1{
	font-size: 3em;
}
#single_content{
	padding: 2.5% 15%;
	background: white;
	text-align: justify;
}



/* MODAL */

#modal{
	background:rgba(0,0,0,0.8);
	position:fixed;
	display:none;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:15;
	text-align:center;
	backdrop-filter: blur(5px);
}
#modal>input{
	color:white;
	float: right;
	font: initial;
	font-weight: 300;
	font-size: 3em;
}
#graph{
	width: 60%;
	min-width: 320px;
	background: white;
	padding: 1em;
	border-radius: 1em;
	margin:5vh auto;
	text-align: left;
}

#graph *:is(input,select){
	box-sizing: border-box;
	width: 100%;
	padding: 0.5em 1em;
	border-radius: 2em;
	background: white;
	border:#CCC solid 1px;
	margin:0.25em auto;
	text-align: center;
	font:inherit;
	font-size:1.25em;
	appearance:none;
	background: #EEE;
}
#graph label{
	color: var(--navy);
	font-weight: 700;
	font-size: 1.2em;
}
#graph button{
	background: var(--lime);
	color: white;
	display: block;
	margin: 0.5em auto;
	border-radius: 2em;
	padding: 0.25em 1em;
	font-size: 2em;
	animation:btnPulse 1s infinite;
}
@keyframes btnPulse{
	from{ box-shadow:rgba(100,240,50,1) 0 0 0 0; }
	to{ box-shadow:rgba(100,240,50,0) 0 0 0 0.5em; }
}

#graph .grid2{
	grid-gap:3em;
}
#graph svg text{
	font-family: Lato,sans-serif;
	font-weight: bold;
}

#graph svg .st0.pop,#graph svg .st6.st7.pop{
	animation:popUpQty 0.5s 1;
}
@keyframes popUpQty{
	from{ opacity: 0; translate: 0 2em; }
	to{ opacity: 1; translate: 0 0; }
}
#graph small{
	font-size: 0.8em;
	display: block;
	margin: 0.5em auto;
	line-height: 1em;
	color: #777;
}


#contact{
	width: 30%;
	min-width: 300px;
	background: white;
	padding: 1em 2em;
	border-radius: 1em;
	margin:10vh auto;
	text-align: left;
}
#contact *:is(input,select){
	box-sizing: border-box;
	width: 100%;
	padding: 0.25em 1em;
	border-radius: 2em;
	background: white;
	border:#CCC solid 1px;
	margin:0.25em auto;
	font:inherit;
	font-size:1.5em;
	appearance:none;
	margin-bottom: 0.5em;
	background: #EEE;
}
#contact button{
	background: var(--lime);
	color: white;
	display: block;
	margin: 1em auto;
	border-radius: 2em;
	padding: 0.25em;
	width: 100%;
	font-size: 1.5em;
}
#contact h2{
	text-align: center;
	text-wrap: balance;
	color: var(--navy);
}
#contact svg text{
	font-family: Lato,sans-serif;
	font-weight: bold;
}


#whatsapp_link{
	position: fixed;
	bottom: 1em;
	left: 1em;
	color: white;
	z-index: 5;
}
@keyframes pulse{
	0%{ box-shadow: rgba(100,240,50,1) 0 0 0 0; }
	100%{ box-shadow: rgba(100,240,50,0) 0 0 0 0.3em; }
}
#whatsapp_link>i.fa{
	font-size: 3em;
	background: #00ae41;
	width: 1.4em;
	height: 1.4em;
	line-height: 1.4em;
	border-radius: 2em;
	text-align: center;
	transition: all .25s ease-in-out;
	animation:pulse 2s infinite;
}
#whatsapp_link>i.fa:hover{
	background: white;
	color: #49C87A;
	box-shadow: #49C87A 0 0 0 3px;
}

/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

@media all and (max-width:767px){
	body{
		font-size:16px;
	}
	.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,.grid5,.flex{
		display: block;
	}
	
	header{
		height:50px;
		padding: 0 2.5%;
	}
	#logo img{
		height: 30px;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:40px;
		height:40px;
		background: rgba(0,0,0,0.5);
		border-radius: 0.25em;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: white;
		width: 30px;
		position: relative;
		opacity: 1;
		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:6px;
		rotate:45deg;
	}
	#menu_opener.opened>div:nth-child(3){
		top:-6px;
		rotate:-45deg;
	}
	#menu_opener.opened>div:nth-child(2){
		opacity: 0;
		left: -100px;
	}


	header>button{
		font-size: min(4vw,16px);
		padding: 0.5em 1em;
	}

	menu{
		position: fixed;
		top: 50px;
		left: 0;
		right: 0;
		background: rgba(10,0,40,0.9);
		backdrop-filter: blur(5px);
		display: none;
	}
	menu ul{
		display: block;
		padding: 1em;
		line-height: 3em;
	}
	#home_features p strong{
		color: var(--lime);
		text-shadow: none !important;
	}
	#home_form{
		translate: 0 0;
	}
	#home_form *:is(input,select){
		font-size: 1.25em;
	}
	#home_form button:nth-child(3){
		font-size: 1.2em;
		padding: 1em;
	}
	#home_form button{
		line-height: 1.2em !important;
	}
	#home_form a{
		margin-bottom: 2em;
	}
	#quantities_title{
		font-size: 1.5em;
		background: none;
		padding: 0;
		text-align: center;
		line-height: 1.6em;
	}
	.coins_indicator small span{
		display: inline;
	}
	.coins_indicator{
		translate: 0 0 !important;
	}
	.coins_indicator::after{
		display: none;
	}
	#coins_notif{
		position: static;
		left: 0;
		right: 0;
		top:0;
		border-radius: 1em;
		padding: 1em !important;
	}
	#preguntas_home h3{
		font-size: 1em !important;
	}
	.esparati img{
		position: absolute;
		top:-9em;
		translate: -0.5em 0;
	}
	.esparati:nth-child(1) img{
		translate: -1em 0;
	}
	.esparati:nth-child(2) img{
		top:-8em;
		translate: 1em 0;
	}
	.esparati:nth-child(4) img{
		top:-14em;
	}
	.botonera{
		top:-3em;
	}
	.botonera button{
		font-size: 5vw;
	}
	.testimonioibox img{
		translate:0 0;
	}
	.testimonioibox p{
		min-height: none;
	}
	#single_content{
		padding:5%;
	}
	#graph form label div[style]{
		font-size: 0.5em !important;
		height: auto !important;
		max-width: 100% !important;
	}
	#graph form label div h2{
		margin: 0;
	}
	#graph button{
		font-size: 1.25em;
		width: 100%;
	}
}