/*
Theme Name: Join Safe
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
*/
:root{
	--oran:#FF7107;
	--gray:#D8D8D8;
	--scrollPosition:0;
}
body{
	font-family: Montserrat, Lato, Helvetica, sans-serif;
	text-align: left;
	margin:0 0 0 0;
	cursor:default;
	font-size: max(1vw,12px);
	background: #0E0F0F;
	color: var(--gray);
}
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: relative;
	z-index: 10;
	background: var(--gray);
	color: black;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 1em 2.5%;
}
#logo img{
	height: 6em;
}

body>nav{
	opacity: var(--scrollPosition);
	position: fixed;
	z-index: 8;
	top:0;
	left:0;
	width:20%;
	box-sizing: border-box;
	padding: 2.5%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
	margin: 0;
}
nav img{
	height: 6em;
}
#bg_container{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
#bg_container iframe{
	width: 100%;
	height: 100vh;
	border:none;
	display: block;
	opacity: 0.25;
}

footer{
	position: relative;
	z-index: 10;
	background: #111;
	padding: 5%;
	border-top:#222 solid 1px;
}
*:is(menu,footer,#social) *:is(ul,li){
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	gap:1em;
	margin: 0;
	padding: 0;
}
menu{
	margin: 0;
	padding: 0;
	min-width: 40%;
	text-transform: uppercase;
}
#social{
	color: var(--oran);
	font-size: 1.2em;
}
footer button{
	font-size: 1em;
	translate:0 1em;
}

menu a:hover,footer a:hover{ color: var(--oran); }
#social a:hover{ color: black; }

#content{
	width: 75%;
	overflow: hidden;
	min-height: 100vh;
	margin: 0 0 0 25%;
}
footer ul{
	flex-wrap: wrap;
	justify-content: start !important;
	align-content: start !important;
}
footer li{
	min-width: 25%;
}
nav ul,nav li{
	display: block;
	margin: 0;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
}
nav li{
	margin-top: 3em;
}
nav li a{
	display: inline-block;
	line-height:2em;
	padding: 0 1em;
}
nav li:hover{
	border:white solid 1px;
	color: white;
	border-radius: 0.2em;
}

#whatsapp{
	position: fixed;
	bottom:0.5em;
	right:0.5em;
	font-size: 4em;
	color: white;
	z-index: 8;
}

#marquee{
	position: fixed;
	z-index:9;
	top:0;
	left: 0;
	right: 0;
	background: #999;
	color: white;
	padding: 0.5em 0;
	overflow: hidden;
}
#marquee>div{
	width: 200%;
	position: relative;
	left: 0;
	animation: marqueeAnim 10s infinite;
	animation-timing-function: linear;
}
@keyframes marqueeAnim{
	0%{ left:0; }
	100%{ left:-100%; }
}
#marquee span{
	display: block;
	float: left;
	width: 50%;
	letter-spacing: 0.25em;
}
button{
	font: inherit;
	color: white;
	background: var(--oran);
	padding: 0.25em 1em;
	border-radius: 0.2em;
	border:none;
	font-size: 1.5em;
}
button:hover{
	background: #EEE;
	color: var(--oran);
}
#home{
	text-align: center;
}
#home h1{
	margin: 0;
	font-weight: 300;
}
h2{
	text-transform: uppercase;
	margin: 0 0 2em 0;
	font-size: 4em;
	font-weight: 500;
}
.wp-block-column.incluye_item{
	background: url(images/incluye.png) center center no-repeat;
	background-size:contain;
}
.incluye_item figure{
	padding: 2em;
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}
.incluye_item.active:after{
	content:'';
	height: 2em;
	width: 1px;
	background: white;
	display: block;
	margin:0 auto;
	position: absolute;
	translate:5.1vw 0;
}
.incluye_item img{
	filter: contrast(1.5);
	mix-blend-mode: screen;
}
.incluye_item:hover img{
	scale:1.35;
}

#incluye_video_container{
	background: black;
	font-size: 1.5em;
}
#incluye_video_container video,#incluye_video_container iframe{
	display: block;
	margin: 0 auto 1em auto;
	max-width: 100%;
	height: 95vh;
}
.product_description{
	padding: 2.5% 10%;
}
.product_description h3{
	font-weight: 300;
	font-size: 2em;
	color: var(--oran);
	opacity: 1 !important;
	top: 0 !important;
}
.product_description p{
	line-height: 1.6em;
	opacity: 1 !important;
	top: 0 !important;
}


#home_gifs img{
	filter: contrast(1.5);
	mix-blend-mode: screen;
}

#tienda{
	padding: 2em;
	background: black;
	border: #333 solid 1px;
}
#tienda h2{
	margin-bottom: 0;
}
#tienda h3{
	font-size: 2em;
	margin: 0;
	font-weight: 500;
}
#tienda_content_data{
	padding: 5%;
}
#store_interactions label{
	display: block;
	padding: 4px;
	border:#666 solid 1px;
	border-radius: 0.5em;
	margin-bottom: 0.5em;
	display: flex;
	justify-content: start;
	align-content: start;
	align-items: center;
}
#store_interactions label input{
	background: black;
	color: white;
	font:inherit;
	min-width: 3em;
	text-align: center;
	font-size: 2em;
	border:#EEE solid 1px;
	border-radius: 0.25em;
}
#store_interactions label span{
	display: block;
	margin-left: 0.5em;
	padding-left: 0.5em;
	border-left: white solid 1px;
	line-height: 1.25em;
	font-size: 1.25em;
}
#store_interactions small{
	font-size: 0.6em;
	color: #999;
}
#store_interactions button{
	margin-top: 3em;
}
#store_interactions figure{
	padding: 8em 0;
}
#store_interactions figure#metodos_pago{
	padding: 0.25em 0;
}
#store_interactions div.grid2{
	gap:0.5em 2em;
}
#realiza{
	text-align: right;
}
#totals_container{
	padding: 1em;
	margin-top: 2em;
	border-radius: 1em;
	border: #ccc solid 1px;
}
#totals_container span{
	color: #F70;
	font-size: 2em;
	line-height: 1.5em;
}
#totals_container h3{
	color:white;
	text-align: right;
	line-height: 1.5em;
}
#totals_container>div:last-child{
	margin-top: 0.25em;
	padding-top: 0.25em;
	border-top:#F70 solid 1px;
}

#metodos_pago img{
	max-width: 50%;
}

#comunidad button{
	float: right;
}
#comunidad img{
	width: 10em;
	clear:both;
	margin: 1em auto;
	display: block;
}
#comunidad h2{
	margin-bottom: 0;
}
#comunidad p.about{
	font-size: 1.5em;
	line-height: 2em;
	font-weight: 300;
	text-align: justify;
	text-align-last: center;
}
.valores i.fa{
	display: block;
	width: 1em;
	height: 1em;
	font-size: 4em;
	color: black;
	padding: 0.5em;
	border-radius: 4em;
	background: #DDD;
	text-align: center;
	margin: 0.5em auto 0 auto;
}
.valores h4{
	color: var(--oran);
	text-transform: uppercase;
	font-weight: 500;
	margin: 1em auto;
	font-size: 1.25em;
}
.valores p{
	line-height: 2em;
	text-wrap: balance;
}

.testimonio_item{
	gap:0 !important;
	margin-bottom: 2em;
	color: #666;
	background: white;
}
.testimonio_item h3{
	font-size: 1.5em;
	text-transform: uppercase;
	font-weight: 500;
	color: black;
}
.testimonio_item:nth-child(2n+1){
	direction: rtl !important;
}
.testimonio_item>div{
	direction: ltr;
	min-height: 100%;
}
.testimonio_item p{
	font-size: 1.25em;
	line-height: 2em;
}
.testimonio_item i.fa{
	font-size: 1.25em;
	margin-right: 0.25em;
	color: #F0F960;
}
#referidos_content{
	background: #333;
	border-radius: 1em;
}
#referidos_content h2{
	margin-bottom: 0;
}
#referidos_content label{
	display: block;
	box-sizing: border-box;
	padding: 0.5em;
	border-radius: 0.5em;
	border:#999 solid 1px;
	margin-bottom: 1em;
	display: flex;
	gap:1em;
	justify-content: start;
	align-content: start;
	align-items: center;
	color: #999;
}
#referidos_content *:is(input,select,textarea){
	background: black;
	box-sizing: border-box;
	padding: 0.25em;
	font: inherit;
	border-radius: 0.5em;
	border:none;
	color: white;
	font-size: 1.5em;
	display: block;
}
#referidos_content div{
	gap:1em;
}
#referidos_content textarea{
	width: 100%;
	margin-bottom: 1em;
}

#content>:is(p,ul){
	line-height: 1.5em;
	text-align: justify;
	margin-right: 5%;
}
#price_total{
	color: var(--oran);
	font-weight: 300;
}
/*
#price_total:before{
	font: inherit;
	font-size: 0.7em;
	content: '$';
	display: inline-block;
	margin-right: 0.5em;
}*/
#totals_container h3:after{
	font: inherit;
	font-size: 0.7em;
	content: 'MXN';
	display: inline-block;
	margin-left: 0.5em;
}
section.related{
	clear:both;
	width:100%;
}

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

#content:has(>.woocommerce,>.alignwide){
	background: black;
	box-sizing: border-box;
	padding: 2.5% 7.5% 2.5% 2.5%;
}
#content:has(>.woocommerce,>.alignwide) *:is(p,h1,h2,h3,h4,h5,li,a,img){
	opacity: 1 !important;
	top:0 !important;
}
.wc-block-components-button,.button{
	background: var(--oran) !important;
	color: white !important;
}
.quantity input{
	display: block;
	box-sizing: border-box;
	width:100%;
	padding: 0.5em;
}

.testimonio_card{
	background: #CCC;
	color: black;
	border-radius: 0.5em;
}
.testimonio_card i.fa-star{
	color: var(--oran);
	margin-right: 0.5em;
}
.testimonio_card svg{
	opacity: 0.4;
}

.payments_table{
	gap:0.5em;
	font-size: 0.75em;
	font-weight: 600;
}
.payments_table>div{
	border:#999 solid 1px;
	padding: 0.5em;
	border-radius: 0.5em;
}
.payments_table>div:nth-child(2n){
	text-align: right;
}
.woocommerce nav li{
	text-align: left;
	margin-top: 1em;
	background: #333;
	border-radius: 0.25em;
}

.wc-stripe-installment__options{
	padding: 0.5em;
	background: #30363F;
	color: white;
	border: #50565F solid 1px;
	border-radius: 0.25em;
	font: inherit;
}

/* 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;
}
.fa-spin{
	animation-iteration-count: infinite !important;
	animation-duration: 1s !important;
}
.woocommerce-checkout-review-order-table :is(td,th){
	padding: 0.5em 0;
	font-size: 1.2em;
}
tr.fee :is(td,th){
	border-top:#666 solid 1px;
}
tr.order-total :is(td,th){
	border-top:#666 solid 1px;
}




/* 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 !important;
		grid-template-columns: repeat(3, 1fr);
	}
	
	header{
		position: fixed;
		height:60px;
		padding: 0 5px;
		top:0;
		left:0;
		right: 0;
		display: block;
	}

	#marquee,#social{
		display: none;
	}
	body>nav{ display: none !important; }
	#menu_opener{
		float:right;
		margin: 5px;
		width:48px;
		height:48px;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: black;
		width: 36px;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}
	#logo img{
		height: 50px;
		margin: 5px 0;
	}
	#content{
		width: 90%;
		margin: 100px auto;
	}
	menu{
		display: none;
		position: fixed;
		top:60px;
		left:0;
		right:0;
		background: rgba(0,0,0,0.9);
		color: white;
		padding: 2em;
		border-bottom: #666 solid 1px;
	}
	menu ul,menu li{
		display: block !important;
		line-height: 3em !important;
		text-transform: uppercase;
		text-align: center;
	}
	h2{
		font-size: 2em;
		text-align: center !important;
	}
	#referidos_content label{
		display: block;
	}
	#referidos_content label input{
		max-width: 90%;
	}
	.incluye_item.active:after{
		display: none;
	}
	.payments_table>div{
		margin-bottom: 0.25em;
	}
	.payments_table>div:nth-child(2n){
		margin-bottom: 1em;
		text-align: left;
	}
}