* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0.5em 1em;
  background-color: #333333;
}

a, a:link, a:link, a:link, a:hover {
  color: #0099CC;
  text-decoration:none;
}

p {
  font-family: "Trebuchet MS", Arial;
  font-size: 0.7em;
  color: #666666;
}

h3 {
  font-family: "Trebuchet MS", Arial;
  font-size: 1.1em;
  color: #333333;
  background-color: #ffffff;
  margin: 0.4em 0;
  font-weight: normal;
}

h3 a {
  font-size: 0.8em;
  margin: 0 0.6em;
  font-weight: bold;
  font-variant: small-caps;
}

h5 {
  font-family: "Trebuchet MS", Arial;
  font-size: 0.8em;
  color: #333333;
  background-color: #ffffff;
  margin: 0.4em 0;
  font-weight: bold;
}

#header {
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  width: 100%;
  float: left;
  clear: both;
  min-width: 870px;
}

#logo {
  float: left;
  margin: 1.1em 0 0 1.2em;
  width: 200px;
  border: none;
}

#upper_menu {
  float: right;
  width: 36.5em;
  list-style-type: none;
  margin: 2.7em 1.6em 0.7em 0;
}

#upper_menu li {
  float: left;
  width: 4.2em;
  height: 3.2em;
  margin: 0;
  padding-right: 1.2em;
  padding-left: 0.4em;
  text-align: right;
  border-right: 1px dotted #0099CC
}

#upper_menu li a {
  font-family: "Trebuchet MS", Arial;
  font-size: 0.75em;
  font-weight: normal;
}

#middle_wrap {
  height: 2.5em;
  padding: 0.3em 0;
  background-color: #ffffff;
  clear:both;
  margin: 0 1.2em;
  border-top: 1px dotted #0099CC;
  border-bottom: 1px dotted #0099CC;
}

#middle {
  height: 2.5em;
  background-color: #f7f7f7;
}

#middle_menu {
  float: left;
  width: auto;
  list-style-type: none;
  margin: 0.7em 0 0 1em;
}

#middle_menu li {
  background-image: url(list_bullet.gif);
  background-position: left top;
  background-repeat: no-repeat;
  width: 5em;
  float: left;
  padding-left: 1em;
}

#middle_menu li a {
  vertical-align: text-top;
  font-family: "Trebuchet MS", Arial;
  font-size: 0.8em;
  font-weight: normal;
}

#middle p {
  display: block;
  float: right;
  width: auto;
  margin: 1.2em 1em 0 0;
  padding: 0;
}

#news_search {
  float: left;
  width: auto;
  margin: 0.7em 0 0 4em;
}

#news_search fieldset {
  border: none;
}

#news_search input {
  width: 15em;
  background-color: #f5f5f5;
  font-size: 0.7em;
  color: #666666;
  vertical-align: text-top;
}

#news_search input#search_button {
  width: 81px;
  height: 20px;
}

#footer_wrap {
  height: auto;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  width: 100%;
  clear: both;
  min-width: 870px;
  float: left;
}

#footer {
  border-top: 1px dotted #0099CC;
  margin: 0 1.2em;
  padding: 1em 0;
  height: auto;
}

#footer p#center {
  text-align: center;
  margin-bottom: 3em;
}

#footer p#xhtml {
  padding-left: 5em;
  float: left;
  width: auto;
}

#footer p#xhtml a img {
  height: 31px;
  width: 88px;
  border: none;
}

#footer p#css {
  padding-right: 5em;
  float: right;
  width: auto;
}

#footer p#css a img {
  height: 31px;
  width: 88px;
  border: none;
}

#content-wrap {
  height: auto;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  width: 100%;
  clear: both;
  min-width: 870px;
  float: left;
}

#content-basico {
  width: 35%;
  padding: 0.5em 1.5em;
  float: left;
  clear: left;
  height: auto;
}

#content-avanzado {
  width: 53%;
  padding: 0.5em 1.5em;
  float: left;
  clear: left;
  height: auto;
}

#cols-wrap-bas {
  float: right;
  clear: right;
  width: 58%;
  height: auto;
  padding: 0;
  margin-bottom: 1em;
}

#cols-wrap-adv {
  float: right;
  clear: right;
  width: 38%;
  height: auto;
  padding: 0;
  margin-bottom: 1em;
}

div.right_col-bas, div.right_col-adv {
  float: right;
  clear: right;
  padding: 0.5em 1em 1em 1em;
  height: 100%;
  border-left: 1px dotted #0099CC;
  border-bottom: 1px dotted #0099CC;
  margin: 0.5em 1em 0.5em 0;
}

div.right_col-bas {
  width: 38%;
}

div.right_col-adv {
  width: 100%;
}

div.right_col-bas h5, div.right_col-adv h5 {
  font-family: "Trebuchet MS", Arial;
  font-size: 0.7em;
  color: #333333;
  background-color: #ffffff;
  margin: 0 0 0.4em 0;
  font-weight: bold;
}

div.right_col-bas p, div.right_col-adv p {
  font-size: 0.7em;
  color: #666666;
}

div.right_col-bas ol, div.right_col-adv ol {
  font-family: "Trebuchet MS", Arial;
  font-size: 0.7em;
  margin-left: 2em;
}

div.middle_col {
  float: right;
  padding: 0.5em 1em 1em 1em;
  width: 38%;
  height: 100%;
  border-left: 1px dotted #0099CC;
  border-bottom: 1px dotted #0099CC;
  margin: 0.5em 1em 0.5em 0;
}

div.middle_col h5 {
  font-family: "Trebuchet MS", Arial;
  font-size: 0.7em;
  color: #333333;
  background-color: #ffffff;
  margin: 0 0 0.4em 0;
  font-weight: bold;
}

div.middle_col ol {
  font-family: "Trebuchet MS", Arial;
  font-size: 0.7em;
  margin-left: 2em;
}

div.middle_col p {
  font-size: 0.7em;
  color: #666666;
}

#tapadigesto {
  float: right;
  margin: 0.2em;
  width: 100px;
  height: 100px;
  border: none;
}

/* Buscador básico */
#basic fieldset {
  margin: 1em 0 0.5em 0;
  width: 100%;
}

#basic legend {
  margin-left: 1em;
  font-family: "Trebuchet MS", Arial;
  font-size: 13px;
  color: #666666;
  font-weight:bold;
}

#basic input {
  width: 20em;
  display: block;
}

#basic fieldset.submit {
  float: none;
  width: auto;
  padding-top: 0.5em;
  padding-left: 5em;
  border: none;
}

#basic input.f-submit {
  clear: left;
  float: left;
  width: 10em;
}

#basic select {
  width: 20em;
  display: block;
}

#basic input:focus, textarea:focus {
  background:#ffc;
}

#basic label {
  padding: 0;
  margin-top: 10px;
  margin-left: 0.5em;
  display: block;
  width: auto;
  height: auto;
  font-family: "Trebuchet MS", Arial;
  font-size: 11px;
  color: #666666;
  font-weight:bold;
}

#basic fieldset fieldset.checkboxes {
  margin: 0 0 0 0.5em;
  width: 20em;
  border: none;
}

#basic fieldset fieldset.checkboxes legend {
  margin: 0;
  padding-bottom: 0.3em;
  padding-top: 1em;
  font-family: "Trebuchet MS", Arial;
  font-size: 11px;
  color: #666666;
  font-weight:bold;
}

#basic input.checkbox {
  clear: left;
  float: left;
  margin: 0 0.5em 0 1em;
  width: 2em;
}

#basic label.l-checkbox {
  margin: 0 0 0 2em;
  padding: 0 0 0.5em 0;
  height: 1.5em;
  width: 21em;
  font-weight: normal;
  clear: none;
}

#basic p.help {
  margin: 0 0 0 0.8em;
  font-size: 0.6em;
  font-weight: normal;
  width: 20em;
}

/* Buscador Avanzado */

#advanced fieldset {
  margin: 1em 0 0.5em 0;
  width: 100%;
}

#advanced legend {
  margin-left: 1em;
  font-family: "Trebuchet MS", Arial;
  font-size: 13px;
  color: #666666;
  font-weight:bold;
}

#advanced label {
  padding: 0;
  margin-top: 10px;
  margin-left: 0.5em;
  display: block;
  width: 20em;
  height: 40px;
  font-family: "Trebuchet MS", Arial;
  font-size: 11px;
  color: #666666;
  font-weight:bold;
}

#advanced fieldset fieldset.right-fieldset {
  padding: 10px 0 0 0;
  margin: 0 0 0 0.5em;
  width: 12em;
  height: 40px;
  border: none;
}

#advanced label.left-field {
  width: 20em;
  clear: left;
  float: left;
}

#advanced label.right-field {
  width: 20em;
  float: left;
}

#advanced label.long-left-field {
  clear: both;
  float: left;
  width: 40em;
}

#advanced fieldset fieldset.checkboxes {
  margin: 0 0 0 0.5em;
  width: 20em;
  border: none;
  float: left;
  clear: left;
}

#advanced fieldset fieldset.checkboxes legend {
  margin: 0;
  padding-bottom: 0.3em;
  padding-top: 1em;
  font-family: "Trebuchet MS", Arial;
  font-size: 11px;
  color: #666666;
  font-weight:bold;
}

#advanced fieldset fieldset.left-submit {
  margin: 0 0 0 0.5em;
  width: 10em;
  border: none;
  clear: left;
}

#advanced input {
  width: 12em;
  display: block;
}

#advanced input.long-field {
  width: 30em;
}

#advanced fieldset.submit {
  float: none;
  width: auto;
  padding-top: 0.5em;
  padding-left: 13em;
  border: none;
}

#advanced input.f-submit {
  clear: left;
  float: left;
  width: 10em;
}

#advanced select {
  width: 12em;
  display: block;
}

#advanced input:focus, textarea:focus {
  background: #ffc;
}

#advanced input#adv-update {
  margin-top: 1em;
  width: 13em;
}

#advanced input.checkbox {
  clear: left;
  float: left;
  margin: 0 0.5em 0 1em;
  width: 2em;
}

#advanced label.l-checkbox {
  margin: 0 0 0 2em;
  padding: 0 0 0.5em 0;
  height: 1.5em;
  width: 21em;
  font-weight: normal;
  clear: none;
}

#advanced input#adv-date {
  float: left;
  clear: left;
  margin: 1em 0 0 0;
  width: 10em;
}

#advanced input#adv-tram {
  float: left;
  margin: 1em 0 1em 3em;
  width: 10em;
}

#advanced label.sel-mul-check {
  margin: 0 0 1em 5em;
  width: auto;
  height: auto;
}

#advanced label.sel-mul {
  width: auto;
  height: auto;
}

#advanced input#part-field, #advanced select.tram-select {
  width: 30em;
  margin-bottom: 0.5em;
  font-family: "Trebuchet MS", Arial;
  font-size: 11px;
  color: #666666;
  font-weight: normal;
}

#advanced #hidden_search {
  display: none;
}

#results {
  width: 90%;
  padding: 0.5em 3em;
}

#results h3#dige-title {
  padding-bottom: 0.4em;
  border-bottom: 1px dotted #0099CC;
}

#results h5 {
  font-size: 1.1em;
  margin: 0.8em 0 0.2em 0;
  font-weight: normal;
}

#results h5 a {
  font-weight: normal;
}

#results hr {
  color: #ffffff;
  width: 100%;
  border-top: 1px dotted #666666;
  margin-top: 0.3em;
}

#results p#search_results {
  font-size: 0.8em;
  border-bottom: 1px dotted #0099CC;
  padding: 0 0 0.4em 0;
}

#results p.description {
  font-size: 0.8em;
  margin-top: 0.4em;
}

#results p#pagination {
  font-size: 0.8em;
  margin: 0.7em 0;
  text-align: center;
}

#results p#pagination span {
  margin: 0 0.2em;
}

#results h4 {
  font-family: "Trebuchet MS", Arial;
  color: #333333;
  font-size: 1em;
  font-weight: normal;
  margin: 0.3em 0;
}

#results h4#title {
  padding-left: 1em;
}

#results h4#chapter {
  padding-left: 2em;
  padding-bottom: 0.4em;
  border-bottom: 1px dotted #0099CC;
}

#results ul {
  margin-left: 3em;
  list-style-type: disc;
}

#results ul li {
  font-family: "Trebuchet MS", Arial;
  color: #333333;
  font-size: 1.0em;
  font-weight: normal;
  margin: 0.2em 0;
}

#results ul li ul {
  margin-left: 2em;
  list-style-type: circle;
}

#results p.all_search {
  font-size: 0.9em;
  margin: 0.6em 0 0 0.5em;
}

#disp {
  width: 90%;
  padding: 0.5em 3em;
}

#disp h3 {
  padding-bottom: 0.4em;
  border-bottom: 1px dotted #0099CC;
}

#disp p {
  font-size: 0.8em;
}

#disp p.disp-title {
  font-size: 1.2em;
  margin: 0.8em 0;
}

#disp p.disp-title a {
  font-size: 0.65em;
}

#disp p.disp-section {
  line-height: 160%;
  margin: 0.8em 0;
}

#disp p.disp-subsection {
  line-height: 160%;
  margin: 0.2em 0 0 1em;
}

#disp p span.bold-title {
  font-weight: bold;
  text-decoration: underline;
}

#disp table.table {
  border: none;
  border-collapse: collapse;
  table-layout: fixed;
  width: 90%;
  margin: 0.5em;
}

#disp table.table tr.rowH {
  background-color: #ffffff;
  border: 1px solid #000000;
}

#disp table.table th {
  font-family: "Trebuchet MS", Arial;
  color: #333333;
  border: 1px solid #000000;
  font-size: 0.8em;
  font-weight: normal;
  padding: 0.4em;
}

#disp table.table th.th-status {
  text-align: left;
  width: 15%;
}

#disp table.table th.th-date {
  text-align: center;
  width: 15%;
}

#disp table.table th.th-spec {
  text-align: left;
  width: 70%;
}

#disp table.table th.th-left {
  text-align: left;
}

#disp table.table tr {
  vertical-align: text-top;
  border: 1px solid #ffffff;
}

#disp table.table tr.rowA {
  background-color: #eeeeee;
}

#disp table.table tr.rowB {
  background-color: #cecece;
}

#disp table.table tr td {
  padding: 0.2em;
  border: 1px solid #ffffff;
}

#disp table.table tr td.td-left {
  text-align: left;
}

#disp table.table tr td.td-center {
  text-align: center;
}

#disp table.table tr td p {
  padding: 0.3em 0;
}

#disp ul {
  list-style-type: none;
}

#disp li {
  margin: 0 0 0.4em 3em;
  font-family: "Trebuchet MS", Arial;
  font-size: 0.8em;
  color: #666666;
}

