body {
    margin: 0;
    padding: 0;
    font-family: "helvetica", "arial", sans-serif;
    color: #8c8c8c;
    font-size: 0.8em;
}

.width {
    width: 902px;
    margin: 0 auto;
}

.clear {
    clear: both;
}

#header {
    height: 45px;
    padding: 13px 0;
}

#header h1 small {
    font-weight: normal;
}

#menu {
    background: url(img/twolines.png) repeat-x top white;
    font-weight: 600;
    text-align: right;
    padding-top: 7px;
    overflow: hidden;
}

#menu ul {
    overflow: hidden;
    float: right;
    padding: 0;
    margin: 0;
    font-size: 10px;
    letter-spacing: 1px;
}

#menu li {
    text-transform: uppercase;
    padding: 8px 2.5em;
    list-style: none;
    float: left;
}

#menu li a, #menu li a:link, #menu li a:visited, #menu li a:active {
    text-decoration: none;
    color: #8c8c8c;
}

#menu li.current {
    border-top: 2px solid #1880b0;
    padding-top: 6px;
}

#menu li.current a {
    color: #1880b0;
}

#menu li div.sub {
    display: none;
    position: absolute;
}

#menu li:hover div.sub {
    display: block;
}

#center {
    margin-top: 10px;
    /*background: url(img/background.jpg) repeat-x white top;*/
    background-color: #f0f0f0;
}

#placeholder {
    background: #ccc;
    height: 400px;
}

#content {
    margin-top: 20px;
}

#sidebar {
    float: left;
    width: 275px;
    padding: 0 3px;
}

h2 { 
    font-weight: normal;
    padding: 0;
    margin: 0;
    background: url(img/twolines.png) repeat-x bottom white;
    padding-bottom: 10px;
}

#sidebar h2 {
    background: url(img/twolines-br.png) repeat-x bottom white;
    color: #c53b21;
}

#sidebar h2 em {
    font-family: "times new roman", serif;
}

#maincontent h2 {
    background: url(img/twolines-bl.png) repeat-x bottom white;
    color: #075f87;
}

#maincontent h3 {
    color: #075f87;
    font-weight: normal;
}

#maincontent1 {
    margin-left: 300px;
    position: relative;
}

#maincontent2 {
    margin-left: 306px;
    position: relative;
}

p, ul, ol, label {
    font-size: 11px;
    line-height: 1.7em;
    color: #222;
    letter-spacing: 1px;
}

.leermas {
    background-color: #40b0c8;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.graybar {
    background: url(img/twolines.png) repeat-x top white;
    height: 8px;
}

p.direccion {
    font-size: 9px;
    color: #777;
}
p.direcion span {
    font-size: 10px;
}

#footer {
    background: url(img/twolines.png) repeat-x top white;
    padding-top: 10px;
    margin-bottom: 1em;
}

#footer p {
    padding: 0;
    margin: 0;
    font-size: 9px;
    color: #777;
}

.datoscontacto span {
    color: #075f87;
    font-weight: bold;
    font-size: 1.1em;
}

#formcontacto label {
    display: block;
    width: 100%;
    overflow: hidden;
}

#formcontacto label input, #formcontacto label textarea {
    width: 350px;
    float: right;
    background: #eee;
    border: 1px outset #ccc;
}

.contentlinks a, .contentlinks a:link, .contentlinks a:visited {
    color: #075f87;
    text-decoration: none;
    font-size: 16px;
    padding-right: 15px;
    background: url(img/arrowblueh.png) right no-repeat transparent;
}

#obras {
    overflow: hidden;
    clear: both;
}

#obrasside {
    width: 300px;
    height: 486px;
    float: left;
    background: #4d4d4d;
    border-right: 1px solid white;
}

#obrasside h1 {
    background: url(img/obrasf3.png) repeat-y top left;
    padding: 1em 0.8em;
    margin: 0;
    border-bottom: 1px solid white;
}

#obrasside ul {
    margin: 6px 4px;
    padding: 0;
    cursor: default;
}

#obrasside ul li {
    list-style: none;
    background: url(img/obrasf1.png) repeat-y top left;
    margin: 3px;
    color: white;
    padding: 0 4px;
    font-size: 10px;
    letter-spacing: -0.5px;
}

#obrasside ul li.selected, #obrasside ul li:hover {
    background: url(img/obrasf2.png) repeat-y top left;
}

#obrasmain {
    float: left;
}

#obras.expanded #obrasmain {
    display: none;
}

#obras.expanded #obrasside {
    width: 100%;
}

#obras.expanded #masobras {
    width: 100%;
    display: block;
    text-align: right;
    background-color: #525254;
}

#obrasuls {
    overflow: hidden;
    background-color: #5e5f61;
}

#obrasuls ul {
    float: left;
    width: 290px;
}

#obrascol2, #obrascol3 {
    display: none;
}

#obras.expanded #obrascol2, #obras.expanded #obrascol3 {
    display: block;
}

#obrasuls a {
    color: white;
    text-decoration: none;
}

#obrastitle {
    text-transform: capitalize;
}
