/* CSS Document */

header {
	position: sticky;
	top: 0px;
	padding: var(--rellenoestrecho) calc(var(--rellenoancho) - (var(--rellenoestrecho) / 2));
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: .875rem;
	z-index: 10;
	background-color: var(--ui100);
}
header img {
	height: 3em;
	width: auto;
	display: block;
	cursor: pointer;
}

header > #menupc {
	display: flex;
	align-items: center;	
}
header > #menupc a {	 
	color: var(--txt400);
	white-space: nowrap;
}

header > #menupc a:not(:first-of-type), #contenedoriconomenu {
	margin-left: 2rem;
}
#contenedoriconomenu {
	display: none;
	height:2.375rem;
	width: 2.375rem;
	overflow:hidden;
}
#contenedoriconomenu img {
	height: 100%;
	width: auto;
	transition: transform .2s ease-in 0s;
}
#contenedoriconomenu.abierto img {
	transform: translateX(-100%);
}
#menumovil {
	position: absolute;
	left: 0px;
	top: 100%;
	width: 100%;
	padding-left: 2rem;
	padding-right: 2rem;
	padding-bottom: 1rem;
	background-color: var(--ui100);	
	display: flex;
	flex-direction: column;
	transition: transform .2s ease-in 0s;
	transform: scale(1,0);
	transform-origin: top center;
}
#menumovil.abierto {
	transform: scale(1,1);
}
#menumovil a  {
	color: var(--txt400);	
	padding: 1rem .5rem;
}
#menumovil a:not(:last-of-type)  {
	border-bottom: solid 1px var(--txt400)	
}
@media (max-width: 980px) {
	header #menupc a:not(:last-of-type) {
		display: none;
	}
	#contenedoriconomenu {
		display: flex;
	}
	#contenedoriconomenu {
    	margin-left: 1rem;
	}
}
@media (max-width: 700px) {
	header {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	header > #menupc a:not(:first-of-type) {		
		padding-left: 1rem;
		padding-right: 1rem;
	}
}