/* industrial, the 2004 skin drawn as a machine: a blue scene (industrial.gif, 1000 by 520) with a window for the
   posts, a panel for the guestbook and a frame of pipes for its form, and the menus in one column down the right.
   Its values, from index.php, conf/configuracion_general.php, conf/cabecera_industrial.txt and
   conf/body_industrial.furia:
     $color_de_fondo   #12588C  the ground, under industrial.gif (once, top left)
     $color_de_input   #9DB08C  the boxes, the posts and the fields, under fondo_industrial.gif (khaki lines)
     $bordercolor      #000000  every box's, strip's and field's border
     $color_de_fuente  black, $tamanyo_de_fuente 10px, Verdana; text justified
     links             #666666, teal and underlined on hover ($color_de_puntero); the menus' links black
     the column        147px at 845px, 17px down; superior_industrial.gif (12px) over its first box,
                       inferior_industrial.gif (12px) under its last, the boxes 2px apart
     the posts         an iframe 363 by 340 at 119px, 99px, on the drawn window; each post three bordered strips
                       1px apart (.postup2, .post, .postdown2: a 15px band, the box, a 7px foot), 348px wide
     the guestbook     an iframe 139 by 150 at 602px, 30px, on the drawn panel; its form at 620px, 216px, in
                       the pipes; botoncito_industrial.gif, a bordered khaki ENVIAR, the button
     $ancho1           300px, the rule over a post's foot
   Over clasico's markup the window, the panel and the form keep those places, the posts and the book's entries
   scroll inside them, and the rest (the search, the sections, the skins, the calendar, the history, the bookmarks)
   runs down the column. The drawn THIRD OZONE LAYER V3.1 is the site's name. All of it from 62.5em, where the
   1000px scene fits; one column below, on the blue, in khaki boxes. */

:root { color-scheme: light; }

*, ::before, ::after { box-sizing: border-box; }

/* the body and the frame */
body {
  margin: 0;
  padding: 16px 16px 19px;
  background: #12588C;
  color: black;
  font: 13px/1.2 Verdana, Arial, sans-serif;
  overflow-wrap: break-word;
}

a { color: #666666; text-decoration: none; }
a:hover, a:focus-visible { color: teal; text-decoration: underline; }

input, textarea, button { font: inherit; color: black; }
input, textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 1px 2px;
  border: 1px solid black;
  border-radius: 0;
  background: #9DB08C url(/skins/clasico/img/industrial/fondo_industrial.gif);
  font-size: 16px;
}
textarea { height: 6em; resize: vertical; }
button {
  display: block;
  width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid black;
  border-radius: 0;
  background: #9DB08C url(/skins/clasico/img/industrial/fondo_industrial.gif);
  font-weight: bold;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
button:disabled { opacity: .5; cursor: progress; }

/* the header: the scene's drawn THIRD OZONE LAYER V3.1 stands for the site's name, which stays in the link */
body > header { margin: 0 0 12px; }
body > header h1 { margin: 0 0 8px; }
body > header h1 a {
  display: block;
  width: 270px;
  max-width: 100%;
  height: 40px;
  background: url(/skins/clasico/img/industrial/industrial.gif) -540px -440px no-repeat;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
}
/* the search: a box like the others, its word the first line, the field and its button under it */
body > header form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 4px; padding: 2px 5px; }
body > header label { grid-column: 1 / -1; font-weight: bold; }
body > header button { width: 140px; }

/* the boxes: khaki lines in a black border, as .menu */
body > header form, body > nav, aside section, body > main {
  margin: 0 0 10px;
  border: 1px solid black;
  background: #9DB08C url(/skins/clasico/img/industrial/fondo_industrial.gif);
}

/* the sections */
body > nav ul { margin: 0; padding: 2px 5px; list-style: none; }
body > nav a { color: black; }

/* the posts: in the window, each a band, a box and a foot, three bordered strips 1px apart */
body > main { padding: 12px 7px 0; }
main article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: repeat(4, auto);
  row-gap: 1px;
  margin: 0 0 13px;
}
main article::before {
  content: "";
  grid-area: 2 / 1 / 4 / -1;
  border: 1px solid black;
}
.meta {
  grid-area: 1 / 1;
  margin: 0;
  padding: 2px 0 1px 10px;
  border: 1px solid black;
  border-right: 0;
  color: #424242;
  font-size: 11px;
  line-height: 13px;
  white-space: nowrap;
}
main article > h2 {
  grid-area: 1 / 2;
  margin: 0;
  padding: 2px 10px 1px;
  border: 1px solid black;
  border-left: 0;
  color: #424242;
  font-size: 11px;
  font-weight: normal;
  line-height: 13px;
  text-align: center;
}
.contenido {
  grid-area: 2 / 1 / 3 / -1;
  padding: 4px 7px 3px;
  text-align: justify;
}
.contenido img, .contenido video { max-width: 100%; height: auto; }
.contenido iframe, .contenido embed, .contenido object { max-width: 100%; }
.contenido pre { overflow-x: auto; }
.enlace {
  grid-area: 3 / 1 / 4 / -1;
  margin: 0;
  padding: 7px 9px 9px;
  background: linear-gradient(black, black) 10px 0 / calc(100% - 20px) 1px no-repeat;
  font-weight: bold;
}
.enlace a { color: black; }
main article::after {
  grid-area: 4 / 1 / 5 / -1;
  content: "...";
  content: "..." / "";
  padding: 0 0 0 18px;
  border: 1px solid black;
  line-height: 12px;
}
.no-encontrado h2 { grid-column: 1 / -1; border-left: 1px solid black; font-size: 13px; }

main > h2 { margin: 0 0 12px; font-size: inherit; }
.paginas { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 13px; padding: 3px 8px; border: 1px solid black; }
.paginas a { color: black; font-weight: bold; }

/* the sidebar: the column's boxes, each title its first line */
aside section { padding: 2px 5px; }
aside h2 { margin: 0 0 2px; font-size: inherit; }
aside ul { margin: 0; padding: 0; list-style: none; }
aside a { color: black; }

.calendario table { width: 100%; border-collapse: collapse; text-align: center; }
.calendario caption { margin-bottom: 2px; }
.calendario th { color: #424242; font-weight: normal; }
.calendario td a { font-weight: bold; }

.historico li > a:first-child { font-weight: bold; }

.firmas li { margin: 0 0 6px; }
.firmas p { margin: 0; }
.quien { color: #424242; }
.quien .by { color: black; font-weight: bold; }

.firmar { margin-top: 8px; }
.firmar label { display: block; margin: 0 0 2px; color: #424242; font-size: 11px; }
.firmar button { margin-top: 2px; }
.status:empty { display: none; }
.status { margin: 0; padding: 2px; color: black; }

/* the honeypot: out of sight and out of reach */
.tarro { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the skin picker: the 2004 Skins box, the column's third, the skins of then as their buttons */
aside .pieles { padding: 2px; }
.pieles h2 { margin: 0 0 2px 3px; }
.skins { margin: 0; padding: 0; list-style: none; }
.skins li { margin: 0 0 2px; }
.skins a { padding-left: 3px; color: black; }
.skins a[href="?skin=creativo"], .skins a[href="?skin=rojo"], .skins a[href="?skin=verde"],
.skins a[href="?skin=azul"], .skins a[href="?skin=prof"], .skins a[href="?skin=v21"],
.skins a[href="?skin=industrial"], .skins a[href="?skin=verde2"] {
  display: block;
  width: 141px;
  max-width: 100%;
  height: 17px;
  padding: 0;
  background: 0 0 no-repeat;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
}
.skins a[href="?skin=creativo"] { background-image: url(/skins/clasico/img/botones/creativo.gif); }
.skins a[href="?skin=rojo"] { background-image: url(/skins/clasico/img/botones/rojo.gif); }
.skins a[href="?skin=verde"] { background-image: url(/skins/clasico/img/botones/verde.gif); }
.skins a[href="?skin=azul"] { background-image: url(/skins/clasico/img/botones/azul.gif); }
.skins a[href="?skin=prof"] { background-image: url(/skins/clasico/img/botones/prof.gif); }
.skins a[href="?skin=v21"] { background-image: url(/skins/clasico/img/botones/v21.gif); }
.skins a[href="?skin=industrial"] { background-image: url(/skins/clasico/img/botones/industrial.gif); }
.skins a[href="?skin=verde2"] { background-image: url(/skins/clasico/img/botones/verde2.gif); }
.skins a[href="?skin=linuxero"] {
  display: block;
  width: 141px;
  max-width: 100%;
  height: 17px;
  padding: 0;
  border: 2px solid #FF6600;
  background: white;
  color: #FF6600;
  font: bold 9px/13px Helvetica, Arial, sans-serif;
  letter-spacing: .3em;
  text-align: center;
  text-decoration: none;
  text-indent: .3em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.skins a[href="?skin=pixel"] {
  display: block;
  width: 141px;
  max-width: 100%;
  height: 17px;
  padding: 0;
  border: 1px solid black;
  background: linear-gradient(#4F4F4F, #4F4F4F) 50% 50% / 60px 11px no-repeat, repeating-linear-gradient(-45deg, #F5D547 0 6px, #3C3C3C 6px 12px);
  color: white;
  font: bold 9px/15px Verdana, Arial, sans-serif;
  letter-spacing: .3em;
  text-align: center;
  text-decoration: none;
  text-indent: .3em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

/* the 2004 scene: the window, the panel and the pipes where body_industrial.furia put them, the column at 845px;
   10px Verdana, 9px in the bands and the fields */
@media (min-width: 62.5em) {
  body {
    position: relative;
    min-width: 1000px;
    min-height: 520px;
    padding: 17px 0 19px 845px;
    background: url(/skins/clasico/img/industrial/industrial.gif) 0 0 no-repeat #12588C;
    font-size: 10px;
  }
  input, textarea { height: 17px; font-size: 9px; }
  textarea { height: 50px; }
  button { min-height: 0; height: 23px; }

  /* the column: the search, the sections, the skins, the calendar, the history and the bookmarks, 2px apart,
     between the two metal ends */
  body > header, body > nav, aside section { width: 147px; margin: 0 0 2px; }
  body > header { padding-top: 12px; background: url(/skins/clasico/img/industrial/superior_industrial.gif) 0 0 no-repeat; }
  body > header h1 { position: absolute; top: 444px; left: 552px; margin: 0; }
  body > header h1 a { width: 228px; height: 28px; background: none; }
  body > header form { grid-template-columns: minmax(0, 1fr); margin: 0; }
  body > header button { width: 100%; }
  aside > section:nth-last-child(1 of :not(.libro)) {
    padding-bottom: 14px;
    border-bottom: 0;
    background:
      url(/skins/clasico/img/industrial/inferior_industrial.gif) -1px 100% no-repeat,
      #9DB08C url(/skins/clasico/img/industrial/fondo_industrial.gif);
  }

  .meta, main article > h2 { font-size: 9px; line-height: 11px; }

  /* the window: the posts scroll inside it, on its own khaki */
  body > main {
    position: absolute;
    top: 99px;
    left: 119px;
    width: 363px;
    height: 340px;
    margin: 0;
    padding: 12px 7px 0 8px;
    border: 0;
    overflow: auto;
  }

  /* the panel and the pipes: the entries scroll on the panel, whose drawn GUESTBOOK is the title; the form sits
     in the pipes */
  aside .libro {
    position: absolute;
    top: 30px;
    left: 602px;
    width: 139px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
  }
  .libro h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .firmas { height: 150px; padding: 2px; overflow: auto; }
  .libro .firmar { position: absolute; top: 186px; left: 18px; width: 141px; margin: 0; }
  .firmar label { margin: 0; color: white; font-size: 9px; }
  .firmar label + label { margin-top: 2px; }
  .firmar button { width: 140px; }
}
