/*
Theme Name: Divi_hijo
Theme URI: 
Template: Divi
Description: Modificación del tema original
Author: Dadú estudio
Author URI: 
Version: 1.0
  
*/

@import url("../Divi/style.css");


header#main-header .container{width: 90% !important}
#top-menu li.current-menu-item>a{color: #9e1158 !important;}

/**** MENU ****/
ul#top-menu li.ingles span {
    content: url(https://ercalum.com/wp-content/uploads/2024/02/english-flag.svg);
    width: 25px!important;
    height: 25px!important;
    background: none;
}
ul#top-menu li.espanol span {
    content: url(https://ercalum.com/wp-content/uploads/2024/02/bandera-espanol.svg);
    width: 25px!important;
    height: 25px!important;
    background: none;
}
:lang(es) ul#top-menu li.espanol, :lang(auto) ul#top-menu li.espanol{display: none}
:lang(es) ul#top-menu li.ingles, :lang(auto) ul#top-menu li.ingles{display: inline-block !important;}
:lang(en) ul#top-menu li.ingles{display: none}
:lang(en) ul#top-menu li.espanol{display: inline-block !important;}
li.espanol, li.ingles{margin-top: -6px; padding-right: 0 !important; top: -2px;}
li.espanol a:first-child, li.ingles a:first-child{display: none !important}
li.espanol a, li.ingles a{padding-bottom: 0 !important}



/**** RESPONSIVE MENU ******/
@media all and (min-width: 981px) {
	li.espanol, li.ingles{right: 0;}
}


@media all and (max-width: 980px) {
	#top-menu{display: block !important}
	#top-menu .escondermenumovil{display: none !important}
	header#main-header{position: fixed !important; top: 0 !important}
	header#main-header .container{width: 95% !important;}
	header#main-header.et-fixed-header{background: white !important}
	header#main-header #logo{max-width: 100% !important; height: auto; width: 150px !important; max-height: none;}
	header#main-header #et-top-navigation{padding-top: 10px!important; padding-left: 0 !important}
	header#main-header #et-top-navigation .mobile_menu_bar{padding-bottom: 6px !important;}
	header#main-header #et-top-navigation .mobile_menu_bar:before, header#main-header.et-fixed-header #et-top-navigation .mobile_menu_bar:before{font-size: 55px; color: #991055 !important; z-index: 99999;}
	header#main-header.et-fixed-header div#et-top-navigation{padding-top: 10px!important; padding-bottom:0 !important}
	#top-menu-nav #top-menu li.lang-item{top: 13px !important; right: 8px;}
	ul#mobile_menu li.lang-item{display: none !important}
	.opened ul#mobile_menu{background: #f1f1f1; display: flex !important; flex-direction: column; height: 100vh; width: 100%; position: fixed; top: 0; border: none; padding-top: 85px;}
	ul#mobile_menu li a{color: black !important; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-size: 5vw; border: none; margin-bottom: 15px; padding: 3vw;} 
	ul#mobile_menu li.espanol, ul#mobile_menu li.ingles{display: none;}
	ul#mobile_menu li.implantifai{background: #1f8b9c; padding: 5px 25px!important; font-weight: 700!important; text-transform: uppercase; font-size: 13px!important; width: fit-content; margin-left: auto; margin-right: auto;}
	ul#mobile_menu li.implantifai a{color: white !important; margin-bottom: 0; padding-left: 3vw; padding-right: 3vw;}
	header#main-header #et-top-navigation .opened .mobile_menu_bar:before{color: #991055 !important; content: '\4d' !important;}
	li.espanol, li.ingles{top: 11px; margin-top: 0;}
}

/****** ESTILOS PROYECTOS ******/
.project-template-default #main-header{background: white !important}
.project-template-default #top-menu li a{color: #333333;}
.project-template-default #top-menu li.proyectos>a{color: #9e1158!important;}
.project-template-default .seccion-principal{padding-top: 130px !important;}
.project-template-default .descripcion-proyecto strong{color: #9e1158!important;}

@media all and (max-width: 767px){
	.project-template-default .seccion-principal{padding-top: 100px !important;}
}


