/* Menu with jquery.horizontalNav.js */
/*resp*/ /*bordemenu*/
#logogdo{
    height: 1%;
    width:auto;
}

nav { 
    /*position:relative; */
    position: relative;
    display: flex; /* flex*/
    z-index: 11;
    margin-top: 40px;
    background: url(../images/bg-6.gif) 0 bottom repeat-x;
    padding-bottom: 10px; 
    justify-content: center;
    align-items: center; 
}
/*eeeeeeee*/
.sf-menu {
    width: 100%; 
    height: auto;
    margin: 0; 
    padding: 0; 
    display: flex; 
    list-style: none; 
    position: relative; 
    justify-content: space-around; 
    background-color: #2698ce;
}
    
.sf-menu > li > span {display: flex; position: relative;}
.sf-menu ul {
    width: 100%; 
    height: auto;
    position: absolute;
    top: -999px; 
    display: none;


}
.sf-menu li { 
    padding-left: 0px; 
    position: relative; 
    background: none;
}
    .sf-menu a {
        display: flex;
        font-family: 'Open Sans', sans-serif;
        text-decoration: none;
        font-size: 10px; /* Reducido de 12px a 10px */
        line-height: 12px; /* Reducido para mejorar la legibilidad */
        color: #000;
        text-transform: uppercase;
    }
        .sf-menu a:hover {text-decoration: none;}
        .sf-menu li:hover span {color:#1b1b1b;}

/*================================>> 1 Level <<========================================*/

li.sfHover {position: relative;}
.sf-menu > li > a {
    /*position: relative;*/
    display: block;
    height: 40px; /* Reducido de 50px a 40px */
    width: 127px; /* Reducido de 150px a 120px */
    text-align: center;
    vertical-align: middle;
    color: #fff;
    text-transform: capitalize;
    font-size: 10px; /* Reducido de 12px a 10px */
    border-left: 1px solid #2698ce; /* Ajusta el grosor del borde */
    border-right: 1px solid #000;
    line-height: 40px; /* Reducido para centrar el texto verticalmente */
    text-transform: uppercase;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease;
    z-index: 100;
    font-weight: 600;
    /*background-color: ; /*cambiar color de subm*/
}
.sf-menu > li.home > a { 
    width: 40px; /* Reducido de 50px a 40px */
    background:   url(../images/icon-2.png) center center no-repeat; 
    border-left: none;
    background-color: #2698ce; /*cambiar color de boton casita*/
}
.sf-menu > li.home > a > span { display: none;}
.sf-menu > li:first-child > a { border-left: 0px;}
.sf-menu > li {
    display: block;
    position: relative;
    float: left;
    background: #2081c3 url(../images/bg-4.gif) 0 0 repeat-x;
     -moz-transition: background 0.3s ease-out;
    -o-transition: background 0.3s ease-out;
    -webkit-transition: background 0.3s ease-out;
    transition: background 0.3s ease;
}

    .sf-menu > li:hover > a, 
    .sf-menu > li.current > a, 
    .sf-menu > li.sfHover > a,
    .sf-menu > li:hover > span, 
    .sf-menu > li.current > span, 
    .sf-menu > li.sfHover > span {
        font-size: 80%;
    }
    .sf-menu > li.current,

    .sf-menu > li:hover {
        background: #2081c3 url(../images/bg-5.gif) 0 0 repeat-x;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease;
        
    }

.sf-menu li span {
    position: absolute;
}

.sf-menu > li > a > .sf-sub-indicator {
    height: 0px;
    width: 0px;
    left: 50%;
    margin-left: -3px;    
    top: 30px; /* Ajustado para el nuevo tamaño del menú */
    -moz-transition: top 0.3s ease-out;
    -o-transition: top 0.3s ease-out;
    -webkit-transition: top 0.3s ease-out;
    text-indent: -1000px;
    overflow: hidden;
    border: 6px solid;
    border-color: #8cd3fd transparent transparent transparent;
}
.sf-menu > li.sfHover > a > .sf-sub-indicator {
    top: 45px; /* Ajustado para el nuevo tamaño del menú */
    z-index: 100;
}

/*================================>> 2 Level <<========================================*/
.sf-menu > li > ul, 
.sf-menu > li.sfHover > ul {
    top: 45px; /* Ajustado para coincidir con el nuevo tamaño del menú */
    width: 100%;
    z-index: 99;
    background: #000000;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 20px;
    margin-left: 0px;
}
.sf-menu > li > ul > li {height: auto; border: none; margin: 0; padding: 0;}

.sf-menu > li > ul > li > a {
    display: block;
    padding: 3px 0; /* Reducido para menos espaciado */
}
.sf-menu li li a:hover, 
.sf-menu li.sfHover li.sfHover > a,
.sf-menu li.sfHover li.sfHover span { 
    background: url(../images/bg-5.gif) 0 0 repeat-x;
}

.sf-menu li li.sfHover {
    background: inherit;
}

.sf-menu > li > ul .sf-sub-indicator {
    line-height: 15px;
}

.sf-menu > li > ul .sf-sub-indicator {
	width: 0;
	height: 0;
	border: 6px solid;
	border-color: transparent transparent transparent #8cd3fd;
	text-indent: -1000px;
	overflow: hidden;
}

/*================================>> 3 Level <<========================================*/

.sf-menu li li ul {
	left: 187px;
	top: -3px;
	width: 154px;
	z-index:99;
	background-color: #8cd4fc;
	position: absolute;
	padding-top: 26px;
	padding-bottom: 33px;
	text-align: center;
}
.sf-menu li li ul:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -12px;
	right: auto;
	top: 12px;
	bottom: auto;
	border: 6px solid;
	border-color: transparent #8cd3fd transparent transparent;
}
.sf-menu li li li {height: auto; border: none; margin: 0;}
.sf-menu li li li a {
	display: block;
	padding: 6px 0 6px 0px;
}
.sf-menu li li li:first-child > a {
	border: none;
}
.sf-menu li li li a:hover {	color: #ffffff;}
.sf-menu > li > li.sfHover > span {
	background: url(../images/bg-5.gif) 0 0 repeat-x;
}

.sf-menu > li > ul > li > a > span { top: 8px; right: 6px;}
.sf-menu > li.home > a:hover {
    background-size: 75%;
    color: #fff;
    background-color: #2081c3; /* Cambiar al mismo color de fondo en hover que otros botones */
}

/*==================================RESPONSIVE LAYOUTS===============================================*/

@media only screen and (max-width: 995px) {
	.sf-menu > li > a { width: 135px;}
	.sf-menu > li.home > a {width: 62px;}
	.sf-menu li li ul { left: 147px;}
}
@media only screen and (max-width: 795px) {

}
@media only screen and (max-width: 767px) {
	nav {margin-bottom: 0px;padding-bottom: 0px;margin-top: 0px;}
	.sf-menu { display:none !important;}

	nav select {
		height: 35px;
		border: 1px solid #1b1b1b;
		font-family: Arial, sans-serif;
		font-size: 14px;
		line-height: 20px;
		color: #000;
		background-color: #2490ca;
		width:100%;
	    outline: none;
	    padding: 5px;
		font-weight: normal;
		margin-top: 30px;
		margin: 0; padding: 0; display: flex; /* Alineación horizontal */
        list-style: none; /* Eliminar puntos de lista */
	}
	nav select option:first-child {
		color:#ffffff;
	}
	nav { padding-bottom: 0px; margin-top: 0px;margin-bottom: 0px; height: 70px;}
	nav { background: none;}
}

@media only screen and (max-width: 479px) {
}