
/**
    Colours
    
    Residencial / habitage
    Red #C0381F (PDF)
    
    Comercia / oficines
    Orange #EEC78D (PDF)
           #FEA41C (better)

*/

body {
    font-size: 0.8em;
    font-family: Helvetica, Arial, sans-serif;
    color: #222;
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
}
img {
    border: 0;
}
a, a:hover, a:visited {
    color:#222222;
    text-decoration:none;
}
a:hover {
    color:#000000;
    text-decoration:underline;
}
.w1,.w2,.w3,.w4,.w5,.w6,.w8,.w9,.w10,.w12,.w3-2,.w4-3,.w5-2,.w5-3,.w5-4,.w8-3,.w8-5,.w8-7{
    float: left;
    margin: 0;
    border: 0;
    padding: 0;
    *margin-left: -0.04em;
}

.clear {
    clear: right;
}

.w1  {width: 100%}
.w2  {width: 50%}
.w3  {width: 33.33%}
.w4  {width: 25%}
.w5  {width: 20%}
.w6  {width: 16.67%}
.w8  {width: 12.5%}
.w9  {width: 11.11%}
.w10 {width: 10%}
.w12 {width: 8.33%}
.w3-2{width: 66.67%}
.w4-3{width: 75%}
.w5-2{width: 40%}
.w5-3{width: 60%}
.w5-4{width: 80%}
.w8-3{width:37.5%}
.w8-5{width:62.5%}
.w8-7{width:87.5%}
h1 {
    margin: 0;
    padding: 0;
    background: #fff url(/images/vas_anguera_logo.gif) no-repeat top left;
    height: 80px;
    width: 308px;
    text-indent: -999px;
}
    h1 a {
        display: block;
        width: 308px;
        height: 80px;
    }
    h1 a span {
        display: none;
    }


#wrap {
    width: 100%;
    border-top: 1px solid #FFFFFF;
    background-color: #FFFFFF;
}

#head, #main, #tail, #footer {
    width: 924px;
    margin: 1em auto;
    background-color: #FFFFFF;
}

#footer {
    clear: both;
}
    #footer div {
        margin: 40px auto;
        clear: both;
        padding-top: 1em;
        border-top: 3px solid #375F8C;
        color: #666666;
        font-size: 10px;
    }

#head {
    margin: 1em auto;
    height: 80px;
    background: #fff url(/images/header_background_2.gif) repeat top left;
}
    #head h1 {
        margin: 0;
        padding: 0;
        background: #fff url(/images/vas_anguera_logo.gif) no-repeat top left;
        height: 80px;
        width: 308px;
        text-indent: -999px;
    }
    #head h2 {
        color: #0757A3;
        clear: right;
        line-height: 60px;
        padding-left: 1em;
    }
    #topmenu {
        float: right;
        list-style-type: none;
    }
    #topmenu li {
        display: inline;
        list-style-type: none;
        margin: 0;
        line-height: 15px;
        font-size: 12px;
        text-align: right;
    }
    #topmenu li a {
        text-align: left;
        text-decoration: none;
        padding-bottom: 2px;
    }
    #topmenu li a:hover {
        border-bottom: 2px solid #e5e5e5;
    }
    #topmenu li img {
        vertical-align: middle;
    }
    #topmenu li.selected {
        font-weight: bold;
    }
    #topmenu li.last {
        padding-left 0;
    }

#imagenav {
    list-style-type: none;
}
    #imagenav li {
        list-style-type: none;
        border: 0 none;
        height: 70px;
        margin: 0 0 5px 0;
        overflow: hidden;
        padding: 0;
    }
    #imagenav li a {
        width: 100px;
        height: 75px;
        display: block;
        text-indent: -999px;
    }

    #imagenav li a.comercial { background-image: url(/images/comercial/centre-comercial-port-halley/DSC09537-l.jpg);}
    #imagenav li a.comercial-active { background-image: url(/images/comercial-active.jpg);}
    
    #imagenav li a.concursos { background-image: url(/images/concursos.jpg);} 
    #imagenav li a.concursos-active { background-image: url(/images/concursos/CEIP-Poblenou/ceip-poblenou-2-l.jpg);}
    
    #imagenav li a.sanitari {background-image: url(/images/sociosanitari.jpg);}
    #imagenav li a.sanitari-active { background-image: url(/images/sanitari-assistencial/mutuam/P1050033-l.jpg);}
    
    #imagenav li a.habitatge {background-image: url(/images/habitatge.jpg);}
    #imagenav li a.habitatge-active {background-image: url(/images/habitatge/reforma-cabrils/cabrils-despues-2-l.jpg);}

#typemenu {
    list-style-type: none;
    width: 297px;
}
    #typemenu li {
        list-style-type: none;
        margin: 0 0 5px 0;
        border-bottom: 1px solid #EEEEEE;
    }
    #typemenu li.last {
        border: 0 none;
    }
    #typemenu li a {
        display: block;
        font-weight: bold;
        line-height: 70px;
        text-align: center;
        text-decoration: none;
    }
    #typemenu li a:hover {
        background-color:#EFEFEF;
        text-decoration:none;
    }
    #typemenu a.urbanisme {
        background-color: #ABD3F5;
        background-color: #fff;
    }
    #typemenu a.urbanisme-selected, #typemenu a.urbanisme:hover {
        background-color: #0757A3;
        color: #FFFFFF;
    }
    #typemenu a.comercial {
        background-color: #FFD470;
        background-color: #fff;
    }
    #typemenu a.comercial-selected, #typemenu a.comercial:hover {
        background-color: #FFB300;
    }
    #typemenu a.sanitari {
        background-color: #85EB73;
        background-color: #fff;
    }
    #typemenu a.sanitari-selected, #typemenu a.sociosanitari:hover {
        background-color: #279611;
        color: #FFFFFF;
    }
    #typemenu a.habitatge {
        background-color: #FF5E5E;
        background-color: #EB8686;
        background-color: #fff;
    }
    #typemenu a.habitatge-selected, #typemenu a.residencial:hover {
        background-color: #DB1A1A;
        color: #FFFFFF;
    }

#leftmenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 308px;
}
    #leftmenu li {
        list-style-type: none;
        padding: 3px 0;
        border-bottom: 1px solid #EEEEEE;
        height: 70px;
        display: block;
    }
    #leftmenu li.first {
        padding-top: 0;
    }
    #leftmenu li.last {
        padding-bottom: 0;
        border: 0 none;
    }
    #leftmenu li a {
        display: block;
        font-weight: bold;
        line-height: 70px;
        text-align: center;
        text-decoration: none;
    }
    #leftmenu li a span {
        display: block;
    }
    #leftmenu li a span.w4 {
        text-indent: -999px;
        overflow: hidden;
        z-index: 2;
    }

    #leftmenu li.concursos a {
        background-color: #ABD3F5;
        background-color: #FFFFFF;
    }
    #leftmenu li.concursos a:hover span {
        background-color: #0757A3;
        color: #FFFFFF;
    }
    #leftmenu li.concursos a span.w4 {
        background-image: url(/images/concursos.jpg);
    }
    #leftmenu li.concursos a:hover span.w4 {
        background-image: url(/images/concursos/CEIP-Poblenou/ceip-poblenou-2-t.jpg);
    }

    #leftmenu li.comercial a {
        background-color: #FFFFFF;
    }
    #leftmenu li.comercial a:hover span {
        background-color: #FFB300;
        color: #FFFFFF;
    }
    #leftmenu li.comercial a span.w4 {
        background-image: url(/images/comercial.jpg);
    }
    #leftmenu li.comercial a:hover span.w4 {
        background-image: url(/images/comercial-active.jpg);
    }

    #leftmenu li.sanitari a {
        background-color: #85EB73;
    }
    #leftmenu li.sanitari a:hover span {
        /* background-color: #0757A3; */
        background-color: #279611;
        color: #FFFFFF;
    }
    #leftmenu li.sanitari a span.w4 {
        background-image: url(/images/sanitari.jpg);
    }
    #leftmenu li.habitatge a:hover span.w4 {
        background-image: url(/images/sanitari/mutuam/P1050033-t.jpg);
    }

    #leftmenu li.habitatge a {
        background-color: #FFFFFF;
    }
    #leftmenu li.habitatge a:hover span {
        background-color: #DB1A1A;
        color: #FFFFFF;
    }
    #leftmenu li.habitatge a span.w4 {
        background-image: url(/images/habitatge.jpg);
    }
    #leftmenu li.habitatge a:hover span.w4 {
        background-image: url(/images/habitatge/reforma-cabrils/cabrils-despues-2-t.jpg);
    }

#categorymenu {
    margin: 1em 0;
}
    #categorymenu li {
        display: inline;
        list-style-type: none;
        margin: 0;
        line-height: 10px;
        text-align: center;
        border-right: 1px solid #CCCCCC;
        width: 230px;
    }
    #categorymenu li.last {
        border-right: 0;
    }
    #categorymenu li a {
        display: block;
        text-decoration: none;
        line-height: 30px;
        font-weight: bold;
        color: #999999;
    }
    #categorymenu li.selected a {
        color: #212121;
    }
    #categorymenu li a:hover {
        background-color: #EEEEEE;
    }

#slides {
    /*
    border: 1px solid #CCCCCC;
    */
    margin: 0 14px;
    width: 400px;
    height: 300px;
    /*
    -moz-box-shadow: 0px 0px 5px #666;
    -webkit-box-shadow:0px 0px 5px #666;
    box-shadow:0px 0px 5px #666;
    */
}
    #slides .slide {
        position: absolute;
        left: 0;
        top: 0;
        width: 400px;
        height: 300px;
    }
    .nivo-directionNav a {
        display:block;
        width:30px;
        height:30px;
        background:url(/js/nivo-slider/arrows-dark.png) no-repeat;
        text-indent:-9999px;
        border:0;
    }
    a.nivo-nextNav {
        background-position:-30px 0;
        right:15px;
    }
    a.nivo-prevNav {
        left:15px;
    }
    .nivo-controlNav {
    }
    .nivo-controlNav img {
        display: inline-block; /* Unhide the thumbnails */
        position: relative;
        margin: 0 10px 10px 0;
        border: 1px solid #ddd;
    }
#leftmenu.submenu {
    width: 16.66%;
}
    #leftmenu div.subsection-title {
        background-color: #DB1A1A;
        color: #cccccc;
        font-weight: bold;
        padding: 5px 0;
        margin-bottom: 5px;
    }
    div.subsection-title a {
        color: #ffffff;
        margin-left: 5px;
    }
    #leftmenu.submenu li {
        height: auto;
    }
    #leftmenu.submenu li a {
        line-height: 15px;
        padding: 5px 0;
    }
    #leftmenu.submenu li.selected {
        background-color: #0757A3;
    }
    #leftmenu.submenu li.selected a {
        color: #FFFFFF;
    }
    #leftmenu.submenu li a:hover {
        background-color: #0757A3;
        color: #FFFFFF;
        /* color: #375F8C; */
    }
    #leftmenu.submenu li.selected a:hover {
        color: #FFFFFF;
    }
    #leftmenu.submenu ul.closed {
        display: none;
    }
    #leftmenu.submenu .comercial li.selected , #leftmenu.submenu .comercial li a:hover {
        background-color: #FFB300;
    }
    #leftmenu.submenu .sanitari li.selected , #leftmenu.submenu .sanitari li a:hover {
        background-color: #279611;
    }
    #leftmenu.submenu .habitatge li.selected , #leftmenu.submenu .habitatge li a:hover {
        background-color: #DB1A1A;
    }

#meta {
    width: 186px;
}
    .meta {
        padding: 2px 5px;
        background: #fff url(/images/1-fade.jpg) no-repeat top right;
        font-size: 10pt;
        height: 155px;
        *height: 150px;
        margin-bottom: 5px;
        /*
        border-top: 1px solid #CCCCCC;
        border-bottom: 1px solid #CCCCCC;
        */
    }
    .meta h3 {
        margin: 0 0 6px 0;
        text-transform: uppercase;
        font-size: 10pt;
        font-weight: bold;
        color: #333333;
    }
    .meta p {
        margin: 0;
    }
    .meta ul {
        margin-top: 0;
    }
    .meta ul li {
        margin: 0;
    }
    .meta a {
        color: #3A6494;
    }

.intro {
    background-color: #000000;
    color: #e5e5e5;
    height: 135px;
    *height: 130px; 
    font-size: 1.4em;
    padding: 5px 20px;
    vertical-align: middle;
    display: table-cell;
    vertical-align: middle;
}
    .intro a {
        color: #999999;
        text-decoration: none;
    }
    .intro a:hover {
        color: #ffffff;
    }
    .intro strong {
        font-weight:bold;
        color: #3A6494;
    }

.box {
    border: 0px;
    margin-bottom: 2px;
}
.inner {
    border: 3px solid #e5e5e5;
    height: 40px;
    width: 100%
}
.meta .minigallery {
    width: 320px;
    clear: both;
}
    .meta .minigallery a {
        border: 3px solid #CCCCCC;
        width: 75px;
        height: 75px;
        overflow: hidden;
    }

.blue   {background-color: #8489F3;}
.red    {background-color: #FF6060;}
.green  {background-color: #9AFF83;}
.orange {background-color: #FFC254;}
.yellow {background-color: #F5FF54;}
.black  {background-color: #000000; color:#EEEEEE;}

hr {
    height: 0;
    border: 0;
    width: 100%;
    display: block;
    clear: both;
}

.main-category #meta {
    width: 335px;
}
    .main-category #meta .meta {
        height: auto;
        overflow: auto;
    }
