/*
Theme Name: DonPig Clean Theme
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress desarrollada por DonPig: Diseño Digital.
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: 'MushyanWeb';
	src: url(fonts/Mushyan.ttf);
	font-weight: normal;
	font-style: normal;
}
body,html,document{
	max-width: 100%;
	overflow-x: none;
	overflow-y: auto;
}
body{
	font-family: Lora, Times, 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 !important;
	cursor: pointer;
}

h1,h2,h3{
	font-family: 'MushyanWeb',Mushyan,'Times New Roman', Times, serif;
	font-weight: normal;
}

/* GENERALES */


body>header{
	position: fixed;
	background:var(--header_bg_color);
	color: var(--header_text_color);
	top:2em;
	left:0;
	right: 0;
	z-index: 100;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 0 2.5%;
	border-top: var(--accent) solid 1px;
	border-bottom: var(--accent) solid 1px;
}

header ul,header menu{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	font-weight: bold;
	text-transform: uppercase;
}
header li{
	display: block;
	margin: 0 0.5em;
	padding: 0;
}
#logo img{
	display: block;
	height: 4em;
}

menu button{
	background: #222;
	padding: 0.5em 2em;
	border-radius: 2em;
	letter-spacing: 0.1em;
	color: white;
}
menu button:hover{
	background: white;
	color: #000;
}
menu li{
	padding: 0 1em;
	margin: 0;
	letter-spacing: 0.1em;
}
menu li:last-child{
	border-right: none;
}
menu li:hover{
	color: var(--accent);
}
menu>div>ul>li{
	line-height: 2em;
}


menu>div>ul>li>ul{
	display: none;
	height: 0;
	width: 0;
	overflow: visible;
	position: relative;
	left: -5em;
	line-height: 1.5em;
}
menu>div>ul>li>ul ul{
	margin: 0;
	padding: 0;
	font-size: 0.8em;
}
menu>div>ul>li>ul>li{
	border-right: none;
}
menu>div>ul>li:hover>ul{
	display: block;
}
menu>div>ul>li>ul>li a{
	display: block;
	min-width: 14em;
	line-height: 1.5em;
	padding: 0.5em 1em;
	background: #222;
	color: white;
	text-align: left;
}
menu>div>ul>li>ul>li a:hover{
	padding-left: 1.25em;
	padding-right: 0.75em;
	background: black;
	color: var(--accent);
}
menu>div>ul>li>ul ul li a{
	padding-left: 1.5em;
	min-width: 17.5em;
	background: #222;
}
menu>div>ul>li>ul ul li a:hover{
	padding-left: 1.75em;
	padding-right: 0.75em;
}
menu>div>ul>li>ul>li>ul{
	flex-direction: column;
	align-items: start;
}
menu>div>ul>li>ul>li>ul>li{
	padding: 0 !important;
	border-right: none !important;
}
menu>div>ul>li>ul>li>ul>li a{
	background: #000;
}

menu a i.fa{
	color: var(--accent);
}

#content{
	min-height: 90vh;
	background:var(--content_bg_color);
	color: var(--content_text_color);
}

footer{
	background:var(--footer_bg_color);
	color: var(--footer_text_color);
	padding: 0.25em 5%;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	border-top: var(--accent) solid 1px;
}
footer img{
	height: 5em;
	margin-bottom: 1.5em;
}
footer ul{
	margin: 0 auto; padding: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	font-weight: bold;
	text-transform: uppercase;
	gap:1em;
}
footer li{
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
footer .menu{
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}
footer a:hover{
	color: var(--accent);
}

#social_menu{
	font-size: 2em;
}
#social_menu svg{
	height: 1em;
	translate:0 0.15em;
}
#social_menu a{
	color: #999;
	width: 1em;
	height: 1em;
	display: inline-block;
	line-height: 1em;
	box-sizing: content-box;
	text-align: center;
}
#social_menu a:hover{
	border-color:var(--accent)
}

#tagline{
	margin-top: 1.5em;
	font-weight: 300;
	letter-spacing: 0.05em;
}
#tagline span{
	color: var(--accent);
	font-weight: bold;
}

.elementor-swiper-button{
	z-index: 10 !important;
}

form{
	display: flex;
	gap:1em;
	flex-wrap: wrap;
	align-items: flex-start;
}
input,select,textarea{
	background: rgba(10,10,10,0.9);
	border: var(--accent) solid 1px;
	padding: 0.5em;
	box-sizing: border-box;
	width: 40%;
	vertical-align: top;
	font:inherit;
	color:white;
}
*::placeholder{
	color: white;
	opacity: 0.5;
}
*:is(input,select,textarea):nth-child(2n){
	width: 55%;
}
button{
	display: block;
	padding: 0.5em 1em;
	margin: 1em auto;
	background: linear-gradient(90deg,var(--accent),#D60);
	color:black;
	text-transform: uppercase;
	font:inherit;
	font-size: 1.25em;
}
button:hover{
	box-shadow: white 0 0 0 3em inset;
}


#content h1,#content h2,#content h3,#content h4,#content h5,#content p,#content img,#content a,#content form *,#content li{
	opacity: 0;
	top:2em;
	position: relative;
	transition: all 0.5s ease-in-out !important;
}


/* 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);
	}
	
	body>header{
		height: 60px;
		padding: 0 10px;
		top:0;
	}
	#logo img{
		height: 40px;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: var(--accent);
		width: 36px;
		position: relative;
		top:0;
		left: 0;
		opacity: 1;
		rotate: 0deg;
		transition: all 0.25s ease-in-out !important;
	}
	#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; }

	header menu{
		position: fixed;
		left: 0;
		right: 0;
		top:60px;
		background: rgba(10,10,10,0.9);
		backdrop-filter: blur(5px);
		padding: 2em;
		text-align: left;
		display: none;
		z-index: 9;
		font-size: 1.25em;
	}
	header menu ul{
		display: block;
		line-height: 3em;
	}
	menu>div>ul>li{
		line-height: 3em;
	}

	header menu>div>div>ul{
		display: flex !important;
		margin: 1em auto;
		padding: 0 1em;
		font-size: 1.5em;
	}
	header menu>div>div>ul li{
		padding: 0;
	}
	menu svg{
		fill:white;
		height: 1em;
		width: 1em;
		translate:0 0.25em;
	}

	menu>div>ul>li:has(ul)>a:after{
		content:'\f078';
		font-family: FontAwesome;
		font-size: 0.65em;
		display: inline-block;
		margin-left: 0.5em;
		translate: 0 -0.25em;
		width: 4em;
		text-align: center;
		background: rgba(0,0,0,0.1);
		border-radius: 0.2em;
		float:right;
	}
	menu>div>ul>li>ul{
		display: block;
		height: 0;
		overflow: hidden;
		width: 120vw;
		background: rgba(0,0,0,0.25);
	}
	menu>div>ul>li.opened>ul{
		height: auto !important;
	}
	menu>div>ul>li.opened a:after{
		rotate: 180deg;
	}
	menu>div>ul>li>ul>li{
		margin-bottom: 0;
		width: auto;
		background: none;
	}
	menu>div>ul>li>ul>li a{
		background: none;
		padding-left: 5em;
		border-top:#222 solid 1px;
		line-height: 2em;
		font-size: 0.8em;
		min-width: 18em;
	}

	#home_slider img{
		height: 130vw;
		width: auto !important;
		max-width: none !important;
	}

	header li{
		border-right: none;
	}
	form{
		flex-direction: column;
		margin-bottom: 5em;
	}
	input,select,textarea{
		width: 100% !important;
		font-size: 1.5em;
	}
	button{
		font-weight: bold;
		font-size: 1.75em;
	}
	footer{
		flex-direction: column;
		gap:0.5em;
		font-size: 1.25em;
		padding: 5%;
	}
}