/* top level elements */
#nav, #nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav {
    background-color: rgb(115,115,115);
    background: -moz-linear-gradient(top, rgba(115,115,115,1) 0%, rgba(193,193,193,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(115,115,115,1)), color-stop(100%, rgba(193,193,193,1)));
    background: -webkit-linear-gradient(top, rgba(115,115,115,1) 0%, rgba(193,193,193,1) 100%);
    background: -o-linear-gradient(top, rgba(115,115,115,1) 0%, rgba(193,193,193,1) 100%);
    background: -ms-linear-gradient(top, rgba(115,115,115,1) 0%, rgba(193,193,193,1) 100%);
    background: linear-gradient(to bottom, rgba(115,115,115,1) 0%, rgba(193,193,193,1) 100%);

    border-bottom: 1px solid #3A4B7B;
    height: 22px;
    padding: 10px 0 10px 5px;
    position: relative;
}
#nav > li {
    float: left;
    height: 22px;
    padding-right: 6px;
    position: relative;
    text-align: left;
    z-index: 1000;
}
#nav > li > a {
    border: 1px solid transparent;
    color: #FFFFFF;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: 27px;
    line-height: 27px;
    margin: -3px 0 0 -1px;
    padding: 0 1px 0 11px;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.5);
}
#nav > li:hover > a, #nav > a:hover {
    background-color: rgb(115,115,115);
    border-radius: 2px 2px 2px 2px;
    color: #FFFFFF;
    margin-right: -8px;
    padding: 0 9px 0 11px;
    position: relative;
    z-index: 1;
}
#nav > li.subs:hover > a {
    background-color: #FFFFFF;
    border: 1px solid rgba(100, 100, 100, 0.4);
    border-bottom-width: 0;
    border-radius: 2px 2px 0 0;
    color: #000000;
    text-shadow: 0 0 transparent;
    z-index: 2;
}


/* submenu */
#nav ul {
    background-color: #FFFFFF;
    border: 1px solid rgba(100, 100, 100, 0.4);
    *border: 1px solid rgb(100, 100, 100);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    display: none;
    left: -1px;
    margin-top: 2px;
    min-width: 200px;
    padding: 6px 0;
    position: absolute;
    top: 100%;
    z-index: 1;
}
#nav li:hover ul {
    display: block;
}
#nav ul li a {
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
    color: #232B37;
    display: block;
    font-size: 14px;
    line-height: 20px;
    padding: 0 22px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#nav ul li a:hover {
    background-color: rgb(115,115,115);
    border-bottom: 1px solid #3B5998;
    border-top: 1px solid #3B5998;
    color: #FFFFFF;
}

/* responsive rules */
@media all and (max-width : 980px) {

    #nav {
        /* display: none; */
    }
    #nav_v2 {
        background-color: rgb(115,115,115);
        border: 1px solid #3A4B7B;
        color: #FFFFFF;
        cursor: pointer;
        display: block;
        margin-bottom: 30px;
        padding: 6px;
        width: 100%;
    }
    #nav_v2 select {
        color: #FFFFFF;
        cursor: pointer;
    }
}



/* FOOTER BOTTOM --------------------------------------------------------*/

#bottom{
    position: relative;
    width: 100%;
    font-size: 12px;
    line-height: 1.5em;
    line-height: 45px;
    color: #001f1d;
    background-color: #001f1d;
    background-image: url(../img/bottom-shadow.png);
    background-repeat: repeat-x;
}

#bottom #bottom-text{
    width: 600px;
    overflow: hidden;
    margin-left: 30px;  
}

#bottom a{
    color: #AFEAF9;
    text-decoration: none;
}

#bottom #to-top{
    position: absolute;
    right: 30px;
    top: -22px;
    width: 33px;
    height: 33px;
    background: url(../img/to-top.png) no-repeat;
    cursor: pointer;
}

/* SOCIAL --------------------------------------------------------*/

.footer-home a{
    margin-top: 10px;
  background-image: url("../image/cargo_32.png");
  display: block;
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer-home a:hover{
  background-position: 0px -32px;
}

.footer-espacio{
    margin-top: 10px;
  display: block;
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer-twitter a{
    margin-top: 10px;
  background-image: url("../image/twitter_32.png");
  display: block;
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer-twitter a:hover{
  background-position: 0px -32px;
}

.footer-facebook a{
    margin-top: 10px;
  background-image: url("../image/facebook_32.png");
  display: block;
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer-facebook a:hover{
  background-position: 0px -32px;
}

.footer-youtube a{
    margin-top: 10px;
  background-image: url("../image/youtube_32.png");
  display: block;
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer-youtube a:hover{
  background-position: 0px -32px;
}

.footer-mail a{
    margin-top: 10px;
  background-image: url("../image/vimeo_32.png");
  display: block;
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer-mail a:hover{
  background-position: 0px -32px;
}


/* FOOTER MENU---------------------------------------------------*/
#footer {
    color: #fff;
    background: #003f3a url(../image/footer-glow2.jpg) no-repeat center top;
    position: relative;
    top: 0px;
    left: 0px;
    visibility: visible;
    display: block;
}

.wrapper {
    width: 966px;
    position: relative;
    background-image: none;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
}

ol, ul {
    list-style: none;
}
#footer-cols {
    display: block;
    overflow: hidden;
    color: #bbbaba;
    line-height: 1.5em;
    background-image: url(../image/footer-glow2.jpg);
    margin: -8px;
}

#footer-cols li.collogo {
    display: block;
    font-size: 12px;
    width: 300px;
    float: left;
    margin-left: 30px;
    margin-bottom: 30px;
}

#footer-cols li.col {
    display: block;
    font-size: 12px;
    width: 180px;
    float: left;
    margin-left: 30px;
    margin-bottom: 10px;
}

#footer-cols li.col ul li:first-child {
    border-top: none;
}
#footer-cols li.col ul li.page_item {
    display: block;
    line-height: 2.5em;
    padding-left: 17px;
    border-top: 1px solid #4a4a4a;
    border-bottom: 1px solid #000;
}

#footer-cols li.col ul li a {
    text-decoration: none;
    color: #bbbaba;
}