/*
Theme Name: Lost Soldier
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{
	--namber:#eaaa54;
	--nbrown:#33322f;
}
*,*>*{
	scroll-behavior: smooth;
}
body{
	font-family: Montserrat, Avenir, Lato, Helvetica, sans-serif;
	text-align: left;
	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: 1em;
}
.grid3{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 1em;
}
.grid4{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1em;
}
.grid5{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 1em;
}
.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;
}

#wpadminbar{ opacity: 0; }
#wpadminbar:hover{ opacity: 1; }
html,body{ margin-top: 0 !important; }

/* GENERALES */

body>header{
	position: fixed;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	background: linear-gradient(90deg,rgba(50,45,40,0),rgba(50,45,40,0.85));
	color:white;
	padding: 0.5em 2.5%;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: start;
	max-height: 4em;
}
body>header.scrolled{
	background: linear-gradient(90deg,rgba(50,45,40,0.8),rgba(50,45,40,0.85));
	backdrop-filter: blur(3px);
}
header menu{ margin: 0; padding: 0; min-width: 60%; }
header menu>div>ul{
	padding: 0; margin: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	min-height: 4em;
}
header menu>div>ul>li{
	display: block;
	list-style: none;
	letter-spacing: 0.1em;
	font-weight: 700;
}
header menu>div>ul>li>a{
	display: block;
	padding: 0 1em;
	border-right: var(--namber) solid 3px;
}
header menu>div>ul>li:last-child a{
	border-right: none;
}
header menu a:hover{
	color: var(--namber);
}
#logo img{
	height: 8em;
	transition: all 0.25s ease;
}
header.scrolled #logo img{
	height: 3.6em;
	margin: 0.2em 0;
}

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::before{
	display: block;
	content:'';
	height: 1em;
	width: 100%;
	min-width: 14em;
	background: rgba(0,0,0,0.01) url(images/marcador.png) 80% bottom no-repeat;
	background-size: contain;
}
menu>div>ul>li:hover>ul{
	display: block;
}
menu>div>ul>li>ul>li{
	list-style: none;
}
menu>div>ul>li>ul>li a{
	display: block;
	min-width: 14em;
	line-height: 1.5em;
	padding: 0.5em 1em;
	background: white;
	color: #333;
	text-align: left;
}
menu>div>ul>li>ul>li a:hover{
	padding-left: 1.25em;
	padding-right: 0.75em;
	background: var(--namber);
	color: white;
}



body>footer{
	padding: 2.5%;
}
body>footer::before{
	content:'';
	width:90%;
	margin: 0 auto 5% auto;
	background: #EEE;
	height: 3px;
	display: block;
}
footer img{
	width: 50%;
}
footer ul li{
	list-style: none;
	line-height: 2em;
	font-weight: bold;
}
footer ul li ul{
	margin: 0;
	padding: 0;
}
footer ul li ul li{
	margin: 0;
	padding: 0 0 0 0.5em;
	border-left: #EEE solid 3px;
}
footer>div>div:last-child{
	text-align: right;
}
footer a img{
	width: 2.5em;
	translate: 0 0.75em;
	margin: 0 0.25em 0 0.5em;
}
footer a:hover{
	color: var(--namber);
}
footer span{
	font-size:2em;
	color: var(--namber);
}

button{
	text-transform: uppercase;
	font:inherit;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding: 0.75em 2em;
	border-radius: 0.5em;
	background: var(--nbrown);
	color: white;
}
#home button{
	background: var(--namber);
	color: var(--nbrown);
}
form button{
	background: var(--namber);
	color: var(--nbrown);
	display: block;
	margin: 0 auto;
}
button:hover,#home button:hover{
	background:#EEE;
	color: var(--namber);
}

#video_container{
	height: 0;
	overflow: visible;
}
#video_container>div{
	height: 45vw;
	overflow: hidden;
}
#video_container video{
	width: 100%;
}

#home{
	text-align: right;
	position: relative;
	z-index: 1;
}
#home>div{
	box-shadow: var(--nbrown) 0 -25em 10em -10em inset;
}
#home a{
	display: inline-block;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding: 0.75em 2em;
	border-radius: 0.5em;
	color: white;
	text-transform: uppercase;
	box-shadow: var(--namber) 0 0 0 3px inset;
	margin-right: 0.5em;
}
#home a:hover{
	background: var(--namber);
	color: var(--nbrown);
}
#home h1{
	font-size: 5em;
	margin: 0;
	text-wrap: balance;
	font-weight: 600;
}
#home h2{
	font-size: 2.5em;
	margin: 0 0 2em 0;
	font-weight: 500;
}
#home h2:after{
	display: none;
}

h2{
	font-size: 2.5em;
	font-weight: 500;
	line-height: 1.2em;
}
h2:after{
	content:'';
	width: max(40%,10em);
	height: 2px;
	margin: 0 0 2em 0;
	background: var(--namber);
	translate:-2.5em 0.25em;
	display:block;
}
#content *:is(p,li){
	font-size: 1.15em;
	line-height: 1.5em;
}
#about-us img{
	margin: 1em auto;
	width: 100%;
}
h4{
	font-size: 1.5em;
	color: var(--namber);
	margin-top: 0;
}
h5{
	font-size: 1.15em;
	color: var(--namber);
	margin-top: 0;
}
#content *:is(p,li) a{
	color: var(--namber);
	font-weight: 600;
	text-decoration: underline;
}
#investment-highlights{
	color: white;
}
#investment-highlights h2:after{
	width: 14.5em;
}
#investment-highlights h3{
	margin:0 0 0.5em 0;
	color: var(--namber);
	font-weight: 600;
}
#investment-highlights p{
	margin: 0 0 3em 0;
	font-weight: 300;
	line-height: 1.5em;
}
#investment-highlights img{
	float: right;
	width:5em;
}
#subscribe{
	padding: 5% 10%;
	border-radius: 0.5em;
	background: rgba(50,45,40,0.75);
}
#subscribe h3{
	font-size: 1.5em;
	text-wrap: balance;
}
#subscribe p{
	line-height: 1.5em;
}
form input,form textarea{
	display: block;
	box-sizing: border-box;
	padding: 0.5em;
	border:none;
	background: transparent;
	font: inherit;
	color: white;
	margin-bottom: 1em;
	width: 100%;
	border-bottom:#666460 solid 2px;
}
form textarea{
	border-right:#666460 solid 2px;
}
#our-team h3{
	margin: 0;
	font-size: 1.35em;
}
#our-team h4{
	font-size: 1.25em;
	margin-bottom: 0;
}
#our-team p{
	margin-top: 0.5em;
}
#discoveries h2:after{
	translate:0 0.25em;
	margin: 0 auto;
}
#discoveries h2{
	margin-bottom: 2em;
}
#discoveries *:is(h4,p,li){
	margin: 0;
}
#discoveries h4{
	margin-bottom: 0.5em;
}
#discoveries img{
	margin-bottom: 4em;
}
#discoveries div.wp-block-kadence-column:nth-child(2n+1) .wp-block-columns{
	direction: rtl;
}
#discoveries div.wp-block-kadence-column .wp-block-columns div{
	direction: ltr;
}
#discoveries button{
	display: block;
	margin: 1em auto;
}
#discoveries ul{ margin: 1em 0; padding: 0; }
#discoveries li{ margin: 0; padding: 0 0 0.5em 0.75em; list-style: none; }

#discoveries li:before{
	content: '•';
	color: var(--namber);
	display: inline-block;
	position: absolute;
	translate:-0.5em 0;
	font:inherit;
	font-size:1.5em;
	line-height: 0.75em;
}

#news time{
	font-size: 1.25em;
	margin: 0.5em auto;
}
.wp-block-kadence-posts a.post-more-link{
	text-transform: none;
}

#contact h3,#contact2 h3{
	font-size: 2.5em;
	font-weight: 500;
	margin: 0;
}
#contact p,#contact2 p{
	font-weight: 300;
}

.entry-content-wrap{
	padding: 1em 0 !important;
	border-bottom:white solid 2px;
}
.entry-content-wrap *,.wp-block-kadence-posts .loop-entry .entry-summary p, .wp-block-kadence-posts .loop-entry .entry-header .entry-meta{
	margin: 0;
}
.entry-content-wrap h3{
	font-size: 1.5em;
}
.entry-content-wrap p{
	font-size: 1em !important;
}

#single_header{
	color: white;
	text-align: center;
	padding: 15% 5% 5% 5%;
	background: var(--nbrown) url('images/affiliates_hero.jpg') center center;
	background-size: cover;
}
#single_header h1{
	font-size: 4em;
	margin: 0;
}
#single_content{
	padding: 5% 15%;
}

/* 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;
}
#modal>form{
	background: white;
	width: max(35%,300px);
	padding: 2em;
	box-sizing: border-box;
	border-radius: 0.5em;
	margin: 10vh auto;
	text-align: left;
	background:var(--nbrown);
	color: white;
	overflow: hidden;
}
#modal>form h2{
	font-size: 2em;
	margin-top: 0;
	clear: both;width: 100%;
}
#modal>form>a{
	float: right;
	color: #999;
	translate:1em -1em;
}

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


#drilling_logo img{
	max-width: 14em;
}

/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

@media all and (max-width:960px){
	#wpadminbar{ display: none !important; }
	body{
		font-size:12px;
	}
	.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;
	} 
	
	body>header,body>header.scrolled{
		height:60px;
		background: var(--nbrown);
		max-height: none;
		padding: 0 2.5%;
	}
	#logo img,header.scrolled #logo img{
		height: 50px;
		margin: 5px 0;
	}
	header menu{
		position: fixed;
		top:60px;
		left:0;
		right: 0;
		background: var(--namber);
		color: var(--nbrown);
		display: none;
		text-transform: uppercase;
	}
	header menu>div>ul{
		display: block;
		line-height: 3em;
		text-align: right;
		padding: 1em;
	}
	header menu>div>ul>li>ul{
		height: auto;
		width: 100%;
		display: block;
		left:0;
	}
	header menu>div>ul>li>ul::before{
		display: none;
	}
	header menu>div>ul>li>ul>li>a{
		background: rgba(0,0,0,0.15);
		margin-bottom: 1px;
		text-align: right;
		line-height: 3em;
		padding: 0 2em;
	}

	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
		border-radius: 3px;
		background: rgba(0,0,0,0.3);
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: var(--namber);
		width: 36px;
		position: relative;
		top:0;
		left: 0;
		opacity: 1;
		rotate: 0deg;
		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; }

	#content{
		margin-top: 60px;
	}

	button,#home a{
		width:100%;
		margin-bottom: 1em;
		box-sizing: border-box;
		padding:1em;
		text-align: center;
	}
	#investment-highlights img{
		float:none;
		display: block;
		margin: 0 auto;
		width: 5em;
	}
	#investment-highlights p{
		margin-bottom: 2em;
	}
	#home h1{
		font-size: 7.5vw !important;
		text-align: center;
	}
	#home h2{
		font-size: 4vw !important;
		text-align: center;
		margin-bottom: 4em;
	}
	#discoveries img{
		margin: 2em 0 0 0;
	}
	h2 br{
		display: none;
	}
	#single_header{
		padding: 10%;
	}
	#single_header h1{
		font-size: 4vw;
	}
	#video_container>div{
		max-width: 100%;
		height: 100vw;
	}
	#video_container video{
		width: auto;
		height: 100vw;
		position: relative;
		left:50%;
		translate:-50% 0;
	}
	#about-us>div{
		box-shadow: var(--nbrown) 2em 0 0 2em;
	}
	body>footer{
		padding-bottom: 3em;
	}
	footer>div>div>img{
		margin: 1em auto;
		display: block;
		width: 40%;
	}
	footer ul{
		font-size: 1.25em;
		line-height: 1.5em;
	}
	footer ul ul{
		font-size: 1em;
	}
	footer ul a{
		display: block;
	}
	footer>div>div:last-child{
		text-align: center;
		font-size: 1.5em;
	}
	footer>div>div:last-child button{
		font-size: 0.8em;
	}
}