#contenedor {
    margin: -61px 0px;
    width: 51%;
    /* [disabled]background: #333333; */
    text-align: center;
    clear: both;
    float: right;
}

#contenedor h1 {
    font: italic bold 36px Georgia, "Times New Roman", Times, serif;
    color: #510500;
    margin-top: 40px;
    margin-bottom: 50px;
    text-shadow:1px 1px 0 #ce4239;
    -moz-text-shadow:1px 1px 0 #ce4239;
    -webkit-text-shadow:1px 1px 0 #ce4239;
}
#contenedor ul {
    text-align: left;
    width: 100%;
    background: #fff;
/*    background: #1e5799;  Old browsers 
    background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);  FF3.6+ 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8));  Chrome,Safari4+ 
    background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);  Chrome10+,Safari5.1+ 
    background: -o-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);  Opera 11.10+ 
    background: -ms-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);  IE10+ 
    background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);  W3C 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );  IE6-9 */


    margin: 0px;
    padding: 0px 0px 0px 39px;
    /*border: 3px solid #7d7e7d;*/
    list-style: none;
    position: relative;
    float:left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /*	border-radius: 5px;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;*/
}
#contenedor ul li {
    display: block;
    float:left;
    position: relative;
}
#contenedor ul li#buscador {
    float: right;
    position: relative;
}
#contenedor ul li a {/*Listas primer nivel*/
    font: bold 14px Tahoma, Geneva, sans-serif;
    color: #022c13;
    text-decoration: none;
    display: block;
    float:left;
    padding: 13px;
}
#contenedor ul li a:hover, #contenedor ul li a.active {/*Estado Hover/Activo de los enlaces*/
    background: #fff;
    color: #00A897;
    font-weight: bold;
}
#contenedor ul li ul {/*Estilos de la lista secundaria*/
    margin: 0px;
    padding: 0px;
    width: 150px;
    height: 0;
    float: left;
    position: absolute;
    left: 0px;
    top: 43px;
    border: 0;
    opacity: 0;
    filter: alpha(opacity=0); /* Internet Explorer*/
    overflow: hidden;
    background: #00A897;
    z-index: -1;
    border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    -webkit-border-radius: 0px 0px 5px 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
#contenedor ul li ul.children li a{
    color: #FFF !important;
    padding: 13px 0 13px 20px;
    width: 130px;
    border-bottom: 1px solid #CEE5ED;
    background: url(../img/arrow-normal.png) no-repeat 7px center !important;
    font-size: 12px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#contenedor ul li ul li:last-child a{border-bottom:none !important;}
#contenedor ul li ul li a:hover{
    color: #FFF !important;
    font-weight: bold;
    padding-left:28px;
    background: url(../img/arrow-normal.png) no-repeat 15px center !important;
}
#contenedor ul li:hover ul.children{height:auto;opacity:1;z-index:1000}
#contenedor ul#menu:after {
    /* Posiciona la sobora por detras del color de la caja*/
    z-index: -1;
    position: absolute;
    /* no aplico ning�n contenidos HTML */
    content: "";
    /* posiciona la sombra con respecto al derecho y superior */
    right: 10px;
    top: 45%;
    /* configura el ancho */
    width: 48%;
    height: 20px;
    /* color de fondo */
    background: #901D78;
    /* definicion de la sombra estandar para box-shadow */
    box-shadow: 0 0 8px 7px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 8px 7px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 8px 7px rgba(0, 0, 0, 0.7);
    /* rotacion de la sombra */
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -o-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    transform: rotate(2deg);
}
#contenedor ul#menu:before{
    /* Posiciona la sobora por detras del color de la caja*/
    z-index: -1;
    position: absolute;
    /* no aplico ning�n contenidos HTML */
    content: "";
    /* posiciona la sombra con respecto al izquierdo y superior */
    left: 10px;
    top: 45%;
    /* configura el ancho */
    width: 50%;
    height: 20px;
    /* color de fondo */
    background: #901D78;
    /* definicion de la sombra estandar para box-shadow */
    box-shadow: 0 0 8px 7px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 8px 7px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 8px 7px rgba(0, 0, 0, 0.7);
    /* rotacion de la sombra */
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    transform: rotate(-2deg);
}
#contenedor ul li ul#menu:before,#contenedor ul li ul#menu:after{visibility:hidden;}