/*
Theme Name: Wise Shippers
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress a la medida para Wise Shippers
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: 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: white;
	color: #036;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: start;
	height: 6em;
	padding: 0 0 0 2.5%;
	background: white linear-gradient(#a7b9ce,#a7b9ce) center top no-repeat;
	background-size: 100% 2.5em;
}
header>div{
	text-align: right;
	min-width: 50%;
}
#logo{
	display: flex;
	align-items: center;
	gap:0.5em;
}
#logo img{
	height: 8em;
}
menu,menu ul,menu 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;
}
menu{
	margin-right: 10%;
}
menu>div{
	width: 100%;
}
menu li{
	line-height: 3.5em;
}
header>div>button{
	background: #036;
	color:white;
	line-height: 2.5em;
	padding: 0 2em;
	border-top-left-radius: 4em;
	border-bottom-left-radius: 0.5em;
}
header button i.fa{
	color: #E72;
}
menu li:hover{
	color: #F70;
}
#content{
	min-height:100vh;
}
#topbar{
	background: #a7b9ce;
	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;
}
#topbar ul{
	margin: 0 0 0 2em;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	list-style: none;
	gap:1em;
}

#whatsapp_link{
	float: right;
	position: fixed;
	bottom: 1em;
	right: 1em;
	color: white;
	z-index: 5;
}
#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;
}
#whatsapp_link>i.fa:hover{
	background: white;
	color: #49C87A;
	box-shadow: #49C87A 0 0 0 3px;
}
footer{
	background: #035;
	color: white;
	padding: 2em 2.5%;
}
footer h4{
	font-weight: 400;
	margin: 0;
}
footer img{
	height: 3em;
}
footer div{
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
}
footer span{
	color: #F70;
	display: inline-block;
	margin: 0 1em;
	font-weight: 900;
	font-size: 1.2em;
}

form :is(input,textarea,select){
	display: block;
	background: rgba(230,240,255,0.8);
	border:none;
	border-radius: 0.5em;
	padding: 0.5em;
	box-sizing: border-box;
	width:100%;
	font:inherit;
	font-size: 1.25em;
	margin-bottom: 1em;
}
form input{
	width:70%;
}
form button{
	display: block;
	background: #DC7249;
	color:white;
	margin: 0 auto;
	padding: 0.5em 2em;
	border-radius: 2em;
	font-size: 1.5em;
	font-weight: bold;
	text-transform: uppercase;
}
form button:hover{
	color: #DC7249;
	background: white;
}

#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;
}

#single_header{
	background: #EEE url(images/home.jpg);
	color: white;
	padding: 10%;
}
#single_header h1{
	font-size: max(4em,24px);
	margin: 0;
}
#single_content{
	padding: 5% 15%;
	text-align: left;
}

/* 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>div>button{
		border-radius: 2em !important;
	}
	
	#menu_opener{
		float:right;
		margin: 2.5em 10px 0 0;
		width:30px;
		height:40px;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: #012;
		width: 30px;
		opacity: 1;
		transition: all 0.25s ease-in-out;
		top:0;
		left: 0;
		transform: rotate(0deg);
		position: relative;
	}
	#menu_opener>div:first-child{
		margin-top: 10px;
	}
	#menu_opener.opened>div:nth-child(1){
		top:9px;
		transform: rotate(45deg);
	}
	#menu_opener.opened>div:nth-child(4){
		top:-9px;
		transform: rotate(-45deg);
	}
	#menu_opener.opened>div:nth-child(2){
		left: 50px;
		opacity: 0;
	}
	#menu_opener.opened>div:nth-child(3){
		left: -50px;
		opacity: 0;
	}
	menu{
		position: fixed;
		top:5em;
		left: 0;
		right: 0;
		background: rgba(0,20,40,0.95);
		backdrop-filter: blur(5px);
		padding: 5px;
		color: white;
		display: none;
		margin-right: 0;
		font-size: 1.25em;
	}
	header menu>div>ul{
		display: block;
		line-height: 3em;
		padding: 1em;
	}
	form{
		font-size: 1.25em;
	}
	form input{
		width: 100%;
	}
	footer{
		line-height: 4em;
	}
	#single_content{
		padding: 5%;
	}
	header>div{
		text-align: left;
	}
}