
/*** HEADER ***/

/*
#####################################################
##	Estilos Search Form
#####################################################
*/


#searchform {
	margin-left: auto;
}
#searchform .search-field {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
    outline-offset: none;
    box-shadow: none;
	outline: none;
	border: 0; 
	border-radius: 17px;
	padding: 4px 20px;
	width: 320px;
}
#searchform .search-field:-ms-input-placeholder { transition: color .4s ease; color:#999 }
#searchform .search-field::placeholder { transition: color .4s ease; color:#999 }
#searchform .search-field:focus:-ms-input-placeholder { color:#ccc }
#searchform .search-field:focus::placeholder { color:#ccc }

#call-search {
	right: 15px; 
	z-index: 2;
	opacity: .8;
}

/*
#####################################################
##	FIN Estilos Search Form
#####################################################
*/


/*
#####################################################
##	Estilos MENU
#####################################################
*/


.header-contendor-fluid {
	background-color: #ffffff;
	z-index:1000;
	transition: .1s ease-in-out all;
}
@media(min-width:992px){
	.header-contendor-fluid {
		background-color: transparent;
		position: fixed;
	}
}
.header-contendor-fluid-active {
	background-color: #ffffff;
}
.header-contendor-fluid-active ul li a {
	color: var(--body);
}

.header-logo-principal {
	display: block;
}
.header-logo-secundario {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

@media(min-width:992px){
	.header-logo-secundario {
		display: block;
	}
}

.navbar-principal {
	display: flex;
	align-items: center;
	text-align: center;
	flex-direction: column;
	transition: .1s ease-in-out all;
}

@media (min-width:992px) {
	.navbar-principal {
		flex-direction: row;
	}
}

.navbar-principal li {
	padding: 1rem;
	box-sizing: border-box;
	position: relative;
	display: block;
	text-align: center;
	width: 100%;
}

@media(min-width:992px){
	.navbar-principal li {
		padding: .5rem 1rem;
		width: auto;
	}
}

.navbar-principal li > ul {
	background-color: var(--primaryhover);
	text-transform: lowercase;
	width: 100%;
	text-align: center;
}


@media(min-width:992px){
	.navbar-principal li > ul {
		position: absolute;
		top:100%;
		left: 0;
		z-index: 1000;
		width: max-content;
	}
}

.navbar-principal li > ul li a {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 18px;
}

@media(min-width:992px) {
	.navbar-principal li > ul li a {
		text-align: left;
	}
}


.sub-menu {
	display: none;
}

.menu-angle::after {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-image: url(../images/iconos/angle_down.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	margin-left: .4rem;
	transition: .1s ease-in-out all;
	transform: rotateX(0deg);
}
.menu-angle {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu-angle-active::after {
	transform: rotateX(180deg);
}


.sub-menu.active {
	display: block;
	animation-name: toggleSubMenu;
	animation-duration: .2s;
	animation-iteration-count: 1;
	animation-direction: linear;
}

@keyframes toggleSubMenu {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}

.navbar-principal li a {
	color: #333333;
	font-size: 20px;
	transition: .1s ease-in-out all
}

.navbar-principal li a:hover {
	text-decoration: underline;
}

@media(min-width:992px){
	.navbar-principal li a {
		font-size: 20px;
		color: #ffffff;
	}	
}

@media(min-width:1400px){
	.navbar-principal li a {
		font-size: 22px;
	}	
}


/* ########### MENU RESPONSIVE ############ */

.button-display-menu {
	top: 1.6rem;
	right: 1.6rem;
	width: 35px;
	height: 20px;
	background-color: transparent;
	padding: 0;
	border: 0;
	transition: .3s all ease-in-out;
	z-index: 5000;
}

@media (min-width: 992px) {
	.button-display-menu {
		display: none;
	}

	.contenedor-header-principal {
		position: initial;
		padding-bottom: 0;
	}
}

.container-bars-menu {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	display: -ms-flexbox;
	flex-direction: column;
	-ms-flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.button-display-menu span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--body);
	transition: .3s all ease-in-out;
}

.button-display-menu span:first-child {
	transition-delay: .3s;
}

.button-display-menu span:last-child {
	transition-delay: .3s;
}


.navmenu-contenedor {
	position: fixed;
	height: 100vh;
	z-index: 100;
	width: 100vw;
	transition: .3s all ease-in-out;
	transform: translateX(-150%);
	left: 0;
	padding-top: 3rem;
	background-color: #ffffff;
}

@media (min-width: 992px) {
	.navmenu-contenedor {
		background-color: transparent;
		transform: inherit;
		position: initial;
		height: auto;
		width: 100%;
		padding-top: inherit;
	}
}

/*
#####################################################
##	FIN estilos MENU
#####################################################
*/