#nav {
    background-color: rgb(255, 255, 255);
    background-image: url(../images/bgmenu.jpg);
    background-repeat: repeat-x;
       font-size: 14px;
   
    height: 36px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 12px;
    padding-right: 0;
    padding-top: 0;
    position: relative;
    z-index: 500;
	border-radius:14px;
}
#nav li.top {
    display: block;
    float: left;
}
#nav li a.top_link {
    -moz-text-decoration-color: -moz-use-text-color;
    -moz-text-decoration-line: none;
    -moz-text-decoration-style: solid;
    background-image: url(../imagenes/bgmenu.jpg);
    background-repeat: repeat-x;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    float: left;
    font-size: 12px;
    font-weight: bold;
    height: 36px;
    line-height: 35px;
    padding-bottom: 0;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 0;
}
#nav li a.top_link span {
    
    background-repeat: repeat-x;
    display: block;
    float: left;
    height: 36px;
    padding-bottom: 0;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 0;
}
#nav li a.top_link span.down {
    background-color: rgb(85, 85, 85);
    display: block;
    float: left;
    height: 36px;
    padding-bottom: 0;
    padding-left: 12px;
    padding-right: 19px;
    padding-top: 0;
}
#nav li a.top_link:hover {
    background-color: rgb(163, 8, 13);
    color: rgb(255, 255, 255);
}
#nav li a.top_link:hover span {
   background-color: rgb(163, 8, 13);
   opacity:0.8;
}
#nav li a.top_link:hover span.down {
    background-color: rgb(163, 8, 13);
}
#nav li:hover > a.top_link {
    background-color: rgb(163, 8, 13);
    color: rgb(255, 255, 255);
}
#nav li:hover > a.top_link span {
    background-color: rgb(163, 8, 13);
	 opacity:0.8;
}
#nav li:hover > a.top_link span.down {
    background-color: rgb(163, 8, 13);
}
#nav li:hover {
    position: relative;
    z-index: 200;
}
#nav ul, #nav li:hover ul ul, #nav li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul ul {
    height: 0;
    left: -9999px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    position: absolute;
    top: -9999px;
    width: 0;
}
#nav li:hover ul.sub {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(255, 255, 255);
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    border-bottom-color: rgb(51, 51, 51);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100% 100% 100% 100%;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color-ltr-source: physical;
    border-left-color-rtl-source: physical;
    border-left-color-value: rgb(51, 51, 51);
    border-left-style-ltr-source: physical;
    border-left-style-rtl-source: physical;
    border-left-style-value: solid;
    border-left-width-ltr-source: physical;
    border-left-width-rtl-source: physical;
    border-left-width-value: 1px;
    border-right-color-ltr-source: physical;
    border-right-color-rtl-source: physical;
    border-right-color-value: rgb(51, 51, 51);
    border-right-style-ltr-source: physical;
    border-right-style-rtl-source: physical;
    border-right-style-value: solid;
    border-right-width-ltr-source: physical;
    border-right-width-rtl-source: physical;
    border-right-width-value: 1px;
    border-top-color: rgb(51, 51, 51);
    border-top-style: solid;
    border-top-width: 1px;
    height: auto;
    left: 0;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    top: 31px;
    white-space: nowrap;
    width: 130px;
    z-index: 300;
}
#nav li:hover ul.sub li {
    display: block;
    float: left;
    font-weight: normal;
    height: 20px;
    position: relative;
    width: 90px;
}
#nav li:hover ul.sub li a {
    -moz-text-decoration-color: -moz-use-text-color;
    -moz-text-decoration-line: none;
    -moz-text-decoration-style: solid;
    color: rgb(0, 0, 0);
    display: block;
    font-size: 11px;
    height: 20px;
    line-height: 20px;
    text-indent: 5px;
    width: 130px;
}
#nav li ul.sub li a.fly {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(255, 255, 255);
    background-image: url(../images/arrow.gif);
    background-origin: padding-box;
    background-position: 80px 7px;
    background-repeat: no-repeat;
    background-size: auto auto;
}
#nav li:hover ul.sub li a:hover {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(34, 34, 34);
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    color: rgb(255, 255, 255);
}
#nav li:hover ul.sub li a.fly:hover {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(34, 34, 34);
    background-image: url(../images/arrow_over.gif);
    background-origin: padding-box;
    background-position: 80px 7px;
    background-repeat: no-repeat;
    background-size: auto auto;
    color: rgb(255, 255, 255);
}
#nav li:hover ul li:hover > a.fly {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(34, 34, 34);
    background-image: url(../images/arrow_over.gif);
    background-origin: padding-box;
    background-position: 80px 7px;
    background-repeat: no-repeat;
    background-size: auto auto;
    color: rgb(255, 255, 255);
}
#nav li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(255, 255, 255);
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    border-bottom-color: rgb(51, 51, 51);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100% 100% 100% 100%;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color-ltr-source: physical;
    border-left-color-rtl-source: physical;
    border-left-color-value: rgb(51, 51, 51);
    border-left-style-ltr-source: physical;
    border-left-style-rtl-source: physical;
    border-left-style-value: solid;
    border-left-width-ltr-source: physical;
    border-left-width-rtl-source: physical;
    border-left-width-value: 1px;
    border-right-color-ltr-source: physical;
    border-right-color-rtl-source: physical;
    border-right-color-value: rgb(51, 51, 51);
    border-right-style-ltr-source: physical;
    border-right-style-rtl-source: physical;
    border-right-style-value: solid;
    border-right-width-ltr-source: physical;
    border-right-width-rtl-source: physical;
    border-right-width-value: 1px;
    border-top-color: rgb(51, 51, 51);
    border-top-style: solid;
    border-top-width: 1px;
    height: auto;
    left: 90px;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    top: -4px;
    white-space: nowrap;
    width: 90px;
    z-index: 400;
}