/*
Theme Name: Ore Group
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress a la medida para Ore Group
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: Lato, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: max(0.9vw,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;
}

#tickers{
	color: white;
	text-align: center;
	display: flex;
	justify-content: center;
	align-content: centers;
	align-items: center;
	gap:1em;
	font-size: 0.85em;
	text-shadow: rgba(0,0,0,0.25) 0 1px 3px;
}
#tickers span{
	color: #0C6;
	display: inline-block;
	margin-right: 0.5em;
}

/* GENERALES */


body>header{
	position: sticky;
	background:#000;
	color: white;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 1em 2.5%;
}

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: #000;
	border: #ea3 solid 2px;
	padding: 0.5em 2em;
	border-radius: 0.25em;
	color: #ea3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	margin-left: 2em;
}
menu button:hover{
	background: #ea3;
	color: #000;
}
menu li{
	padding: 0 1em;
	margin: 0;
	letter-spacing: 0.1em;
}
menu li:last-child{
	border-right: none;
}
menu li:hover{
	color: #ea3;
}
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: #ea3;
}
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: #ea3;
}

#content{
	min-height: 90vh;
}

footer{
	background: black;
	padding: 2.5% 5%;
	color:white;
}
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;
	letter-spacing: 0.1em;
}
footer .menu{
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	gap:1.5em;
}
footer a:hover{
	color: #ea3;
}

#social_menu{
	position: absolute;
	right: 2em;
	translate:0 1em;
}
#social_menu svg{
	height: 1em;
	translate:0 0.15em;
}
#social_menu a{
	width: 1em;
	height: 1em;
	display: inline-block;
	line-height: 1em;
	border:white solid 2px;
	border-radius: 3em;
	padding: 0.5em;
	box-sizing: content-box;
	text-align: center;
}
#social_menu a:hover{
	border-color:#ea3
}

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


.event-item{
	display: flex;
	gap:2em;
	padding: 1.5em 0;
	text-align: left;
	border-bottom: #DDD solid 2px;
}
.event-item:last-child{
	border-bottom: none;
}
.event-item>div{
	flex-grow: 1;
}
.event-thumbnail{
	min-width: 35% !important;
	max-width: 35% !important;
}
.event-thumbnail img{
	display: block;
	width: 100%;
	border-radius:1em;
}
.event-content{
	padding-right: 15%;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}
.event-item h3{
	margin: 0.5em 0;
	font-size: 1.3em;
}
.event-date{
	color: #A96A4E;
	font-weight: 600;
	font-size: 1.1em;
}
.readmore-btn{
	color: #AAA;
	font-size: 0.9em;
}

.press-release-item{
	text-align: left;
	padding: 1em 0;
	border-bottom: #eee solid 2px;
}
.press-release-item:last-child{
	border-bottom: none;
}
.press-release-item h3{
	margin: 0.25em 0;
	font-size: 1.3em;
}
.press-date{
	color: #A96A4E;
	font-weight: 600;
	font-size: 1.1em;
}
.press-excerpt{
	color: #666;
	font-weight: 400;
}

.video-item{
	margin-bottom: 1.5em;
}
.video-item h3{
	margin: 0.25em 0;
	font-size: 1.3em;
}
.video-item>div{
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #EEE;
	border-radius: 1em;
}

.youtube-playlist{
	display: flex;
	gap:2em 5%;
	text-align: left;
	flex-wrap: wrap;
}
.youtube-video{
	flex:1;
	max-width: 47.5%;
	min-width: 47.5%;
}
.youtube-video h3{
	min-height: 3.6em;
	line-height: 1.2em;
	margin: 0.5em 0;
	font-size: 1.3em;
}
.youtube-video date{
	color: #A96A4E;
	font-weight: 600;
	font-size: 1.1em;
	margin: 0.5em auto;
	display: block;
}
.youtube-video iframe{
	display: block;
	background: #999;
	aspect-ratio: 16 / 9;
}

#home_videos .youtube-video:first-child{
	max-width: 100% !important;
	min-width: 100% !important;
}


#single_header{
	background: #CCC url('http://localhost/annia_oregroup/wp-content/uploads/2026/06/home.jpg') center center;
	background-size: cover;
	padding: 10%;
	box-shadow: rgba(0,0,0,0.25) 0 0 100vw 100vw inset;
}
#single_header h1{
	color: white;
	text-align: left;
	font-size: 3em;
}
#single_content{
	line-height: 1.6em;
	text-align: justify;
	padding: 5% 20%;
}

.team_card span{
	color: #A96A4E;
	display: block;
	border-left: #EA3 solid 3px;
	line-height:1.25em;
	padding-left: 0.5em;
	margin-bottom: 0.5em;
}
.team_card p a{
	color: #999;
	font-size: 0.85em;
}
.team_card .bio{
	display: none;
}

#team_bio{
	padding: 5% 10%;
	display: flex;
	gap:4em;
	justify-content: space-between;
	align-content: space-between;
	align-items: start;
	text-align: left;
}
#team_bio:empty{
	padding: 0;
}
#team_bio figure{
	min-width: 25%;
}
#team_bio figure img{
	width: 100%;
	border-radius: 1em;
}
#team_bio>div{
	width: 70%;
}
#team_bio .bio{
	white-space: pre-wrap;
	color: #666;
	line-height: 1.6em;
}
#team_bio h3{
	font-size: 2em;
	margin: 0;
}
#team_bio span{
	color: #A96A4E;
	font-weight: bold;
}
#team_bio a{
	display: none;
}
#team_bio>i.fa{
	color: #999;
	font-size: 2em;
}

.company_summary{
	display: none;
}
.company_summary.active{
	display: block;
}
#companies_menu>div.active{
	background: #EEE;
}

.companies_indicator{
	height:2px;
	background:#EEE;
	border-radius: 1em;
	box-shadow: white 5em 0 0 inset,white -5em 0 0 inset;
}
.companies_indicator>div{
	width: 3.5%;
	margin: 0 3.5%;
	background: #EA3;
	border-radius: 2em;
	height: 6px;
	position: relative;
	translate: calc(var(--i) * 11.875vw) -2px;
	transition: all 0.5s ease-in-out !important;
}

.companies_navigation{
	display: flex;
	height: 0;
	overflow: visible;
	justify-content: space-between;
	align-items: center;
	align-content: space-between;
	color:#CCC;
	translate: 0 40vh;
	position: relative;
	z-index: 5;
}
.companies_navigation i.fa{
	width: 1em;
	height: 1em;
	line-height: 1em;
	text-align: center;
	padding: 0.25em;
	border:#ccc solid 1px;
	border-radius: 2em;
	box-sizing: content-box;
	font-size: 1.5em;
	cursor:pointer;
}
.companies_navigation i.fa:hover{
	background: #CCC;
	color: white;
}

#news_filter_companies a.active{
	font-weight: bold;
	color:#334;
}
#news_filter_companies a.active::before{
	content: ">";
}
#news_filter_year .active a{
	font-weight: bold;
	box-shadow: #EA3 0 -4px 0 0 inset;
	color: #334;
	border-radius: 0 !important;
}
#news_filter_year .active{
	border-radius: 0 !important;
	translate: 0 2px;
}

.filtros-activos{
	text-align: left;
	color: #999;
	font-size: 0.85em;
}
.filtro-tag,.filtro-clear{
	display: inline-block;
	padding: 0.2em 1em;
	background: #EEE;
	border-radius: 1em;
	margin: 0 0.25em;
}


#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;
	}
	#tickers_social{
		height: 30px;
		padding: 0 10px;
		font-size:10px;
	}
	#tickers_social ul{
		display: none;
		font-size: 1.5em;
	}
	#tickers_social li{
		margin: 0 3px;
	}
	#logo img{
		height: 30px;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: #ea3;
		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;
		float: right;
		width: 4em;
		text-align: center;
		background: rgba(0,0,0,0.1);
		border-radius: 0.2em;
	}
	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;
	}

	menu button{
		margin-left: 0 !important;
	}


	header li{
		border-right: none;
	}
	.event-item{
		flex-direction: column;
	}
	.event-thumbnail{
		max-width: 100% !important;
	}

	.youtube-video{
		min-width: 100% !important;
		max-width: 100% !important;
	}

	#companies_menu,.companies_indicator{
		display: none;
	}
	.company_summary .elementor-widget-image{
		min-height: 25em;
	}
	.company_summary .elementor-widget-image img{
		width: auto !important;
		max-width: 100%;
		height: 25em;
	}

	footer #menu-footer_menu{
		flex-direction: column;
	}
	#social_menu{
		position: static;
		margin: 1em auto;
	}

	#news_filter_companies{
		display: none;
	}
	#news_filter_year{
		display: grid !important;
		grid-template-columns: repeat(1, 1fr);
		grid-gap:0.25em;
	}
	#news_filter_year>div{
		background:#F8f8F8 !important;
		translate: 0 0 !important;
	}
	#news_filter_year>div a{
		background: none !important;
		display: block;
		width: 100%;
	}

	#team_bio{
		flex-direction: column;
	}
	#team_bio>figure{
		width: 100%;
	}
	#team_bio>div{
		width: 100%;
	}
	#team_bio>i.fa{
		position: absolute;
		color: white;
		text-shadow: rgba(0,0,0,0.75) 0 2px 4px;
		font-size: 3em;
		right:1em
	}
}