/*
  Cascading style sheets for "Marco Legal" (2010-06-09)
  ---
  Designed in 2010 by Emanuele Rodriguez <erodri@inte.es>
  ---
  main.css - Main page structures
*/

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend,  textarea, p, blockquote {
    margin: 0;
    padding: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, /*em,strong,*/
th, var, optgroup {
    font-style: inherit;
    font-weight: inherit;
}

del, ins {
    text-decoration: none;
}

li {
    list-style: none;
}

caption, th {
    text-align: left;
}

q:before, q:after {
    content: '';
}

abbr, acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: baseline;
}

sub {
    vertical-align: baseline;
}

legend {
    color: #000;
}

body {
    font: 18px/1.25 'PT serif', serif;
    /* Fix iOS "feature" of text resizing when changing orientation */
    -webkit-text-size-adjust: 100%;
    background-color: #000000;
    color: #111;
}

input {
    font: 18px/1.25 'PT serif', serif;
}

p {
    margin: 0 0 1em 0;
}

img,
embed,
object {
    display: block;
}

/*
  generic form definitions
*/
* html form .i_check {
    margin: -.4em -.5em -.3em -.4em;
}

* + html form .i_check {
    margin: -.4em -.1em -.3em -.4em;
}

* html form .i_radio {
    margin: -.4em -.5em -.3em -.4em;
}

* + html form .i_radio {
    margin: -.4em -.1em -.3em -.4em;
}

/*
  generic / special elements
*/

#quicknav,
.hidden {
    position: absolute;
    left: -999em;
    overflow: hidden;
}

/*
  page
*/


/*
  structure: shared properties
*/
#header,
#pre,
#content,
#nav2b,
#auth,
#footer {
    clear: both;
}

#header .inner,
#pre .inner,
#content .inner,
#nav2b .inner,
#auth .inner,
#footer .inner {
    margin: 0 auto;
    width: 950px;
}

/*
  header
*/

#header {
    background-color: #cbcbcb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 150px;
}

#header .inner,
#pre .inner,
#footer .inner {
    width: 1034px;
}

#logo {
    float: left;
}

.p_00 #header {
    background-color: #1f1d20;
}

.p_01 #logo {
    filter: brightness(15%);
}

/*
  pre
*/

#pre {
    background-color: #cbcbcb;
}

#pre .inner {
    padding: 0 0 15px 0;
    position: relative;
}

#pre .inner .wrapper {
    min-height: 90px;
}

/* navigation: shared properties */
#nav,
#nav2,
#nav3 {
    float: left;
    width: 60%;
}

#nav .menu,
#nav2 .menu,
#nav3 .menu {
    width: 100%;
}

#nav .menu li,
#nav2 .menu li,
#nav3 .menu li {
    float: left;
    white-space: nowrap;
    color: #161616;
}

#nav .menu li a,
#nav2 .menu li a,
#nav3 .menu li a {
    color: #161616;
}

#nav .menu li a:hover,
#nav2 .menu li a:hover,
#nav3 .menu li a:hover,
#nav .menu li.sel a,
#nav2 .menu li.sel a,
#nav3 .menu li.sel a {
    color: #fff;
}

#nav .menu li.first,
#nav2 .menu li.first,
#nav3 .menu li.first {
    padding-left: 0;
}

#nav .menu li.last,
#nav2 .menu li.last,
#nav3 .menu li.last {
    background: none;
    margin-right: 0;
    padding-right: 0;
}

/* nav */

#nav {
    padding-top: 5px;
}

#nav .menu {
    padding: 4px 0 0 0;
}

#nav .menu li {
    font-size: 2em;
    font-weight: bold;
    letter-spacing: -.05em;
    margin-right: 5px;
    padding-right: 15px;
}

#nav .menu li.sel {
    letter-spacing: -.025em;
}

/* nav2 */

#nav2 {
}

#nav2 .menu {
    padding: 6px 0 0 0;
}

#nav2 .menu li {
    letter-spacing: -.03em;
    margin-right: 3px;
    padding-right: 10px;
}

#nav2 .menu li.sel {
    letter-spacing: 0;
}

/* nav3 */

#nav3 {
}

#nav3 .menu {
    padding: 8px 0 0 0;
}

#nav3 .menu li {
    background: url(../rcs/nav3_div.gif) no-repeat right;
    letter-spacing: -.02em;
    margin-right: 2px;
    padding-right: 7px;
}

#nav3 .menu li.sel {
    letter-spacing: 0;
}

/* intro */

#intro {
    clear: both;
    line-height: 1;
    overflow: hidden;
    padding: 18px 0 0 0;
}

#intro h1 {
    font-weight: bold;
}

#intro h2 {
    letter-spacing: -.05em;
}

#intro p {
    font-weight: bold;
    margin: 5px 0 0 0;
    text-transform: uppercase;
}

/*
  content
*/

#content {
    padding: 20px 0 40px 0;
    background-color: #ffffff;
    float: left;
    height: auto;
    min-height: 210px;
    width: 100%;
}

#content .main {
    float: left;
    width: 640px;
}

#content .sidebar {
    float: right;
    width: 250px;
}

/*
  footer
*/

#footer {
    padding: 20px 0 0 0;
    color: #ffffff;
}

#footer .inner {
    overflow: hidden;
    padding: 9px 0;
}

* html #footer .inner {
    height: 1%;
}

#footer .copyright {
    float: left;
    font-size: 0.8em;
}

#footer .menu {
    float: right;
    margin: 0 -6px 0 0;
}

#footer .menu li {
    background: url(../rcs/lang_div.gif) no-repeat 0;
    float: left;
    padding: 0 2px 0 3px;
}

#footer .menu li.first {
    background: none;
    margin-left: 0;
    padding-left: 0;
}

#footer .menu li a {
    padding: 0 4px;
}

#footer .menu li a:hover {
    background-color: #cbcbcb;
    color: #394252;
}

/*
  defaults:
*/

img {
    border: none;
}

ul {
    color: #0A0A0A;
    margin: 0;
    padding: 0.5em 0 1em 1.4em;
}

ul li {
    margin: 0;
}

#nav4 {
    float: right;
    width: 39%;
}

span.opciones {
    color: #fff;
}

span.opciones img {
    float: right;
    padding-bottom: 10px;
}

.error {
    color: red;
}

A {
    color: #000000;

}

A:hover {
    color: #2b323e;
    text-decoration: none;
}

a.opciones {
    text-decoration: none;
}

.titulares {
    color: #CCCCCC;
    font-weight: bold;
}

.menu {
    font-weight: normal;
    color: #333333;
}

.textos {
    color: #0A0A0A;
    text-align: justify;
}

p.textos,
.textos p {
    margin: 0;
    padding: 1.3em 0 0 0;
}

.tabla_extranet {
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: none;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: none;
    border-top-color: #006666;
    border-right-color: #006666;
    border-bottom-color: #006666;
    border-left-color: #006666;
}

.titulo {
    font-weight: bold;
    color: #ffffff;
}

.subtitulo {
    font-weight: bold;
    color: #CCCCCC;
}

.form_extranet {

    border: 1px solid #006666;
}

#menu_extranet {
    margin-bottom: 20px;
}

#menu_extranet td {
    color: #0A0A0A;
    padding: 4px 2px;
}

#menu_extranet td.item {
    padding-left: 15px;
    color: #999999;
}

#menu_extranet td.item a {
    margin-top: 0;
    color: #000000;
    text-decoration: none;
}

#menu_extranet td.titol {
    color: #0A0A0A;
    padding-left: 16px;
    padding-top: 10px;
}

#menu_extranet td.item:hover {
    background-color: #2b323e;
    cursor: pointer;
    color: #fff;
}

#menu_extranet td.item:hover a {
    color: #fff;
}

#cont_enet p {
}

#cont_enet p.textos {
}

#cont_enet input, #cont_enet select {
    border: solid 1px black;
    font-size: .9em;
    margin: 10px 0;
}

#cont_enet img,
#cont_enet .no_border {
    border: none;
}

#cont_enet td {
    padding: 2px 5px 0 0;
}

#cont_enet form td {
    padding: 2px 5px 2px 10px;
}

#cont_enet p.blaufosc {
    color: #0A0A0A;
    padding-top: 15px;
    font-weight: bold;
}

hr {
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: solid 1px black;
}

tr.foot td {
    background-color: #000;
    color: #fff;
}