/* Estilos del encabezado y sus elementos */

/*Evitar seleccionar texto en el menu*/
#menu {
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select:none;
}

.header 
{
	text-align: center;
	
    box-shadow: 0px 5px 8px -6px #4e707c;
	-moz-box-shadow: 0px 5px 8px -6px #4e707c;
    -webkit-box-shadow: 0px 5px 8px -6px #4e707c;

	z-index: 999;
	background: #292c2f;  /* background: #4bb5ef; background: #182c39; */ 
	font-size: 16px;
	font-weight: bold;
	color: #fff; /* color: #fff; */
	line-height: 0; /* line-height: 44px; */ 

	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	padding: 0 50px;
	
	-webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select:none;
}

.header.fixed 
{
	position: sticky;
	top: 0;
	left: 0;
}

/*Area izquierda (Boton menu)*/
.left
{
	display: block;
	width: 60px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
    float: left;
}

.left a 
{
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

/*Area central (titulo, cuadro de busqueda)*/
.center
{
    width:auto;
	height: 100%;
    margin:0 auto;
	margin-left:12px;
	margin-right:12px;
}

/*Area derecha (Boton buscar)*/
.right
{
	display: block;
	width: 60px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
    float: right;
	cursor: pointer;
}

/*Area derecha (Cancelar busqueda)*/
.hdright
{
	display: block;
	width: 60px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
    float: right;
	cursor: pointer;
}

/*Ocultar menu hasta terminar de cargar el documento*/
nav:not(.mm-menu) 
{
	display: none;
}

/*Contenedor de titulo y cuadro de busqueda*/
#wrap 
{
	display: inline-block;
  	position: relative;
  	height: 100%;
  	width:100%;
  	float: right;
  	padding: 0;
}

/*Titulo de la pagina*/
#titulo
{
	box-sizing: border-box;
	font-family: "Supra-NormalMezzo";
  	font-size: 19px;
  	color:#eee;
	display: flex;
  	flex-flow: column wrap;
  	justify-content: center;
  	align-content: center;
 	align-items: center;
  	height: 100%;
	border:1px solid transparent;
}

/*Cuadro de busqueda*/
#searchnav 
{
	height: 30px;
  	font-size: 17px;
  	font-family: Arial, Helvetica, Verdana;
  	display: inline-block;
	display:none;
  	font-weight: 100;
  	border: none;
  	outline: none;
  	color: #eee;
  	padding-top: 3px;
  	padding-right: 0px;
  	width: 0px;
  	position: absolute;
  	top: 1px;
  	right: 0;
  	background: none;
  	z-index: 3;
  	transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
  	cursor: pointer;
  	letter-spacing: 0.04em;
}

#searchnav:focus:hover 
{
	border-bottom: 1px solid #BBB;
}

#searchnav:focus 
{
	width: 100%;
 	z-index: 1;
  	border-bottom: 1px solid #BBB;
  	cursor: text;
  	background: #292c2f;
  	text-transform:lowercase;
}

#searchnav::placeholder
{
	text-transform: none;
 	text-align:left;
}

#searchnav::-moz-placeholder
{
	text-transform: none;
 	text-align:left;
}

#searchnav::-webkit-input-placeholder
{
	text-transform: none;
 	text-align:left;
}

#searchnav::-ms-input-placeholder
{
	text-transform: none;
 	text-align:left;
}

/*Boton de apertura de menu principal*/
.mburger 
{
	width: 60px;
    height: 60px;
	--mb-button-size: 60px;
	--mb-bar-width: 0.45;
    --mb-bar-height: 2px;
	--mb-bar-spacing: 6px;
}

/*Boton buscar o cancelar busqueda*/
.center-position 
{
	position: absolute;
 	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
  	border-radius: 8px;
}

.search-button 
{
	width: 32px;
  	height: 32px;
  	transition: all 0.3s ease-in-out;
  	cursor: pointer;
  	border:1px solid transparent;
}

.search-button::before 
{
	content: "";
  	position: absolute;
  	top: 22.5%;
  	right: 23.5%;
  	width: 0;
  	height: 2px;
  	margin-top: -2px;
  	background-color: #eee;
  	transform: rotate(-45deg);
  	transform-origin: right top;
}

.search-button::after 
{
	content: "";
  	position: absolute;
  	bottom: 22.5%;
  	right: 23.5%;
  	width: 29%;
  	height: 2px;
  	margin-top: -2px;
  	background-color: #eee;
  	transform: rotate(45deg);
  	transform-origin: right bottom;
}

.search-icon 
{
	position: absolute;
  	display: block;
  	top: 20%;
  	left: 20%;
  	width: 35%;
  	height: 35%;
  	border-radius: 50%;
  	border-width: 2px;
  	border-style: solid;
  	border-color: #eee;
}

.search-button.active::before,
.search-button.active::after 
{
	width: 82%;
}
.search-button.active 
.search-icon 
{
	width: 0;
  	height: 0;
  	border-color: transparent;
}

.search-button.active,
.search-button:hover 
{
	background-color: transparent;
}


/*Capa de opacidad sobre el area de contenido de la pagina (Activa al mostrarse el cuadro de busqueda)*/
.overlay 
{
	opacity: 1;
}

.overlay:after 
{
	content: '\A';
    position: absolute;
	width: 100%;
	height: 100%;
    top:0; 
	left:0;
    background:rgba(0,0,0,0.6);
    opacity: 0.5;
    transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
	-ms-transition: opacity 0.5s;
}