/* v6, OZONE 6.0: framework/css/styler.php's output, rewritten by hand. The values are the ones Chrome applied to the
   2013 site in the frozen harness's pictures: where 2013 wrote a declaration Chrome drops (the unprefixed gradients
   with `top`, `font: 400 x-large "Droid Sans" bold`, `font: 'Journal'`, `box-radius`), it is gone here too, and where
   a prefixed one won, it is written unprefixed. Gone with the code they served: fancybox, the login window, the
   inline editor's fields and buttons, and the parallax layers index.php had commented out. */

/* The fonts the 2013 head loaded from Google that this sheet uses (Yellowtail and Shadows Into Light it never did). */
@import url('https://fonts.googleapis.com/css?family=Droid+Sans:400,700|Coustard|Indie+Flower');

@font-face {
  font-family: 'Journal';
  src: url(/skins/v6/journal.ttf) format('truetype');
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
}

/* 2013's <body id="body">: the document's body is bare and this wrapper has what that body had. Its own stacking
   context, so the sky's layers at negative z-index paint over its gradient and under the page; a flow root, so the
   gradient reaches down past the mountains floated at the bottom, as the 2013 canvas did (which is also why 2013's
   20px of padding at the bottom never showed, and is not here). Never narrower than the frame: in a window under 770px
   the frame overflows the viewport, and the sky must reach as far as it does, as 2013's body did. The 46px at the top
   are where 2013's black menubar and its shadow stood; the bar went with the admin (Juan, 2026-11-18), the banner
   stays where it was. */
#body {
  display: flow-root;
  padding-top: 46px;
  position: relative;
  z-index: 0;
  min-width: 770px;
  min-height: 100vh;
  text-align: center;
  font-size: 12px;
  font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
}

/* The sky: Environment::giveMeBackgroundProperties(), one rule per phase. */
#body.fase-amanecer {
  background: #3fa0f4 linear-gradient(to bottom, #3fa0f4 0%, #56ccf7 41%, #e4f5fc 86%, #efa55b 100%, #c6604b 100%);
}

#body.fase-dia {
  background: #0167b2 linear-gradient(to bottom, #0167b2 0%, #769dd4 100%);
}

#body.fase-atardecer {
  background: #0f0e3e linear-gradient(to bottom, #0f0e3e 1%, #2f1e4b 47%, #743d51 77%, #9a5c62 86%, #d0ab94 100%);
}

#body.fase-noche {
  background: #08073a linear-gradient(to bottom, #08073a 2%, #0f0e3e 74%, #313c54 87%, #3f4c6b 95%, #2c539e 100%);
}

strong,
b {
  color: #A9D401;
  font-weight: bold;
}

.center {
  text-align: center;
}

img {
  border: 0;
}

.grand {
  font-size: 20px;
  font-weight: bold;
}

a:link,
a:visited,
a:active {
  color: #E66E6E;
  text-decoration: none;
}

a:hover {
  font-weight: bold;
}

/* Layout */

#banner {
  width: 770px;
  height: 53px;
  text-align: left;
  margin-right: auto;
  margin-left: auto;
  background: url(/skins/v6/img/banner.png) no-repeat;
}

#header,
#main,
#footer {
  width: 770px;
  margin-right: auto;
  margin-left: auto;
}

#header,
#footer {
  height: 51px;
}

#header {
  text-align: left;
  background: url(/skins/v6/img/header_bg.png) no-repeat;
}

#tech {
  position: relative;
  float: left;
  left: 0;
  margin: 0;
  overflow: hidden;
  background: url(/skins/v6/img/mountains.png) no-repeat;
  height: 178px;
  width: 100%;
}

#main {
  text-align: left;
  background: url(/skins/v6/img/main_bg.png) repeat-y;
  overflow: hidden;
}

#leftcol {
  float: left;
  margin-left: 50px;
  padding-bottom: 32767px;
  margin-bottom: -32767px;
}

#logo {
  height: 120px;
  width: 170px;
  background: url(/skins/v6/img/marco.png) no-repeat center center;
}

#rightcol {
  width: 478px;
  margin-left: 270px;
  margin-top: 0;
  padding-bottom: 32767px;
  margin-bottom: -32767px;
}

/* 2013 wrote #sheet-bottom5 here, so the bottom of the sheet has the column's width. */
#sheet-top,
#sheet-main {
  width: 458px;
}

#sheet-top,
#sheet-bottom {
  height: 26px;
}

#sheet-top {
  background: url(/skins/v6/img/sheet_top.png) no-repeat;
}

#sheet-main {
  padding-right: 16px;
  background: url(/skins/v6/img/sheet_main.png) repeat-y;
  margin-top: -1px;
}

#sheet-bottom {
  background: url(/skins/v6/img/sheet_bottom.png) no-repeat;
}

#signature {
  height: 83px;
  width: 400px;
  background: url(/skins/v6/img/signature.png) no-repeat center right;
}

#footer {
  text-align: center;
  background: url(/skins/v6/img/footer_bg.png) no-repeat;
}

/* The skin picker, which 2013 did not have: a row of chips like the history's months, each the skin's name on the
   months' green, the one on show on the calendar's blue (Juan, 2026-11-18). */
/* The column is a float with no width of its own, so a row of chips must wrap inside the width the bubbles and the
   calendar give it (190px), or the row widens the column and pushes the posts (Juan, 2026-11-18). */
#leftcol #skins li.bloque {
  max-width: 190px;
  padding: 0 0 0 3px;
  white-space: normal;
}

#leftcol #skins li.bloque > span {
  display: inline-block;
  margin: 0 3px 3px 0;
  padding: 0 7px;
  height: 25px;
  line-height: 25px;
  font-size: 11px;
  text-align: center;
  box-shadow: inset 0 0 0 1px #f0f5f7;
  background: #c2dd61 linear-gradient(to bottom, #c2dd61 57%, #a0db00 100%);
}

#leftcol #skins li.bloque > span:hover {
  background: #a90329 linear-gradient(to bottom, #a90329 0%, #8f0222 89%, #6d0019 100%);
}

#leftcol #skins li.bloque > span a {
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

#leftcol #skins li.bloque > span:has(a[aria-current]) {
  background: #a9abe3 linear-gradient(to bottom, #a9abe3 0%, #a0a7e0 53%, #747eb8 75%, #525e8f 93%);
}

/* Graphical specs */

#leftcol div {
  margin-bottom: 10px;
}

#leftcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#leftcol li {
  font-size: medium;
  color: #92B600;
  padding: 2px 0 0 3px;
  vertical-align: middle;
}

/* The height is the one declaration that survived 2013's HTML comment inside this rule. Each title but the first has
   room above it, so it sits with its own block rather than under the one before (Juan, 2026-11-18); as padding, since
   a margin would collapse into the 10px between the blocks. */
#leftcol li.title {
  font-size: large;
  font-weight: bold;
  color: #1f4476;
  padding: 14px 0 0;
  height: 40px;
}

#leftcol #search li.title {
  padding-top: 0;
}

.poesia {
  margin-top: 30px;
  margin-bottom: 30px;
  background: #f9f9f9 url(/skins/v6/img/register-bg.gif);
  padding: 10px;
  border: 1px solid #c9c9c9;
  box-shadow: 2px 2px 10px 2px #ddd;
}

.poesia-in {
  font: x-large 'Indie Flower';
  background: #FFF url(/skins/v6/img/sello.png) no-repeat 100% 0%;
  color: rgb(85, 85, 85);
  padding: 15px;
  border: 1px solid #eee;
  box-shadow: inset 0 0 8px 3px #f0f5f7;
}

.poesia-in .poesia-title {
  text-transform: capitalize;
  font-size: xx-large;
  max-width: 70%;
}

.poesia-in img {
  border-radius: 8px;
}

.large {
  font-size: large;
}

#leftcol #tags a,
#leftcol #sections a {
  color: #92B600;
  text-decoration: none;
}

#leftcol #tags a:hover,
#leftcol #sections a:hover {
  color: #92B600;
  font-weight: bold;
}

input[type="search"] {
  appearance: textfield;
  outline-offset: -2px;
}

/* The box keeps the browser's own small font: 2013's font shorthand ended in a stray `bold`, so Chrome dropped it. */
#leftcol .searchbox {
  background: #FFF url(/skins/v6/img/lupa.png) no-repeat 10px 50%;
  border: #D2D2D2 solid 1px;
  box-shadow: inset 0 0 0 3px #f0f5f7;
  padding: 5px;
  padding-left: 30px;
  width: 170px;
  border-radius: 4px;
  color: #7eafd5;
}

#leftcol .commentInput {
  width: 90px;
  background: transparent;
  font-weight: bold;
  color: #888;
  margin: 0;
  vertical-align: middle;
  border: 0;
}

#leftcol .commentTextArea {
  width: 154px;
  font-weight: normal;
  border: 0;
  background: #FFF;
  margin: 0;
  padding: 8px;
  color: #888;
  resize: vertical;
  margin-right: 2px;
  overflow: auto;
}

#leftcol .bocadillo {
  width: 170px;
  padding: 8px;
  border: 1px solid #d1d1d1;
  background: #fff;
  border-radius: 10px;
  margin: 0;
  color: #666;
  overflow-wrap: break-word;
}

.bocadillo-bottom {
  width: 170px;
  margin-top: -2px;
  background: url(/skins/v6/img/bocadillo-bottom.png) no-repeat top center;
}

.commentNombre {
  color: #888;
  margin: 0;
  font-weight: bold;
  padding-left: 52px;
  padding-top: 7px;
}

/* What the book answered when it would not take a signature, inside the form the Guestbook title opens. 2013 had no
   such message. */
#guestbook .status {
  color: #E66E6E;
  font-weight: bold;
}

/* The calendar */

#calendar li.calendar {
  border: 1px solid #DCDCDC;
  background-color: #f9f9f9;
  margin: 0;
  padding: 4px;
  width: 175px;
  text-align: center;
}

#calendar table {
  border: 1px solid #DCDCDC;
  background-color: #f9f9f9;
  width: 175px;
  height: 150px;
  border-collapse: collapse;
}

#calendar td {
  border: 0 solid #DCDCDC;
  font-size: 11px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  color: #666666;
  width: 25px;
  height: 25px;
  padding: 0;
}

#calendar .month {
  width: auto;
  background: #a9abe3 linear-gradient(to bottom, #a9abe3 0%, #a0a7e0 53%, #747eb8 75%, #525e8f 93%);
  vertical-align: text-top;
}

#calendar .month span {
  vertical-align: top;
}

#calendar .month-text {
  font-size: medium;
  color: #e8e9f7;
  font-weight: bold;
}

#calendar .month-button {
  line-height: 25px;
  height: 25px;
}

#calendar .day {
  background-color: #fefefe;
  color: #666;
  border: 1px solid #DCDCDC;
}

#calendar .link,
.histBody li > span {
  box-shadow: inset 0 0 0 1px #f0f5f7;
  background: #c2dd61 linear-gradient(to bottom, #c2dd61 57%, #a0db00 100%);
}

#calendar .link:hover,
.histBody li > span:hover {
  box-shadow: inset 0 0 0 1px #f0f5f7;
  background: #a90329 linear-gradient(to bottom, #a90329 0%, #8f0222 89%, #6d0019 100%);
}

#calendar .day a,
.histBody li > span a {
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
}

#calendar .day a:link,
.histBody li > span a:link {
  display: block;
}

#calendar .day a:visited,
.histBody li > span a:visited {
  color: #FEFEFE;
  text-decoration: none;
}

#calendar .day a:hover,
.histBody li > span a:hover {
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
}

#calendar .day a:active,
.histBody li > span a:active {
  color: #E66E6E;
  text-decoration: none;
}

#calendar .day:hover,
.histBody li > span:hover {
  color: #444;
}

#calendar .weekday {
  background-color: #859ee6;
  color: #fff;
  font-weight: bold;
}

/* The history: a year, then its months as a table of initials. */

#history .grand + li {
  border: 1px solid #DCDCDC;
  background-color: #f9f9f9;
  padding: 2px;
  margin: 0;
  width: auto;
}

.histBody li > span {
  display: table-cell;
  font-size: 11px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  color: #666;
  width: 25px;
  height: 25px;
  margin: 0;
  padding: 0;
}

.histBody li > span.first {
  display: table-row;
  height: 0;
}

.histBody li.bloque {
  display: inline-block;
}

/* The sheet and the posts */

#sheet-main em.date {
  font-size: medium;
  font-style: normal;
  font-weight: normal;
  color: #526bb3;
}

/* The header of a post had 2013's 2px between the title and the date and 4px before the body; Juan found it crowded
   (2026-11-18): a few px between the star, the title and the date, 1.5em before the body. */
#sheet-main div.title {
  font-weight: bold;
  font-size: large;
  font-style: normal;
  text-transform: capitalize;
  margin-bottom: 5px;
  padding: 0;
}

#sheet-main div.title a {
  color: #1f4476;
  text-decoration: none;
}

#sheet-main div.title a:hover {
  color: #2A5DA0;
  text-decoration: underline;
}

#sheet-main .post {
  color: #888;
  line-height: 180%;
  font-size: 14px;
  margin: 1.5em 10px 30px 10px;
}

#sheet-main .post-wrapper {
  padding: 0 16px;
  text-align: justify;
}

#sheet-main div.post img,
#sheet-main video,
#sheet-main iframe {
  border: 1px solid #c9c9c9;
  background-color: #f9f9f9;
  padding: 6px;
  box-shadow: inset 0 0 0 3px #f0f5f7, 2px 2px 10px 2px #ddd;
}

/* A <video> sized by its attributes in another shape than its clip (400 by 315 for a 16:9 clip) shows the clip
   letterboxed, and the frame's light background as a band above it (post 761). Its height follows the clip instead, so
   the frame closes round the picture; until the clip's size is known the attributes' shape holds. */
#sheet-main div.post video {
  height: auto;
}

/* A strip of tape over the top edge of each picture in a post, as the visitor's centre at juan.is tapes its
   fly-posters: the world's strips (site/guestbook/guestbook.css), the piece picked by entapar in skin.js. The span
   holds the picture in its frame and the strips sit over the frame's top edge; it stays on the baseline, where its
   picture sits, so a row of pictures of mixed heights lines up as it did bare. The world yellows its clear tape with
   the year, and here it is the newest year's. A click goes through a strip to the picture and its link. */
.cinta {
  position: relative;
  display: inline-block;
}

.cinta::before,
.cinta::after {
  pointer-events: none;
}

.cinta::before,
.cinta.t-corners::after,
.cinta.t-pair::after {
  content: "";
  position: absolute;
  top: -7px;
  height: 13px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(0, 0, 0, .12);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}

.cinta.t-clear::before {
  width: 46px;
  left: 50%;
  margin-left: -23px;
  transform: rotate(-3deg);
}

.cinta.t-clear-wide::before {
  width: 60px;
  left: 44%;
  transform: rotate(5deg);
}

.cinta.t-yellowed::before,
.cinta.t-yellowed-left::before,
.cinta.t-corners::after,
.cinta.t-pair::after {
  background: rgba(240, 214, 130, .55);
  border-color: rgba(120, 90, 0, .25);
}

.cinta.t-yellowed::before {
  width: 52px;
  left: 40%;
  transform: rotate(2deg);
}

.cinta.t-yellowed-left::before {
  width: 44px;
  left: 20%;
  transform: rotate(-4deg);
}

.cinta.t-masking::before,
.cinta.t-masking-left::before {
  height: 15px;
  background: #e6d8b4;
  border-color: rgba(0, 0, 0, .18);
}

.cinta.t-masking::before {
  width: 40px;
  left: 60%;
  transform: rotate(-5deg);
}

.cinta.t-masking-left::before {
  width: 40px;
  left: 30%;
  transform: rotate(3deg);
}

.cinta.t-long::before {
  width: 72%;
  left: 14%;
  height: 11px;
  background: rgba(255, 255, 255, .42);
  transform: rotate(1deg);
}

.cinta.t-scrap::before {
  width: 22px;
  left: 28%;
  background: rgba(255, 255, 255, .6);
  transform: rotate(8deg);
}

.cinta.t-corners::before {
  width: 34px;
  left: -10px;
  top: 8px;
  transform: rotate(-45deg);
}

.cinta.t-corners::after {
  width: 34px;
  left: auto;
  right: -10px;
  top: 8px;
  transform: rotate(45deg);
}

.cinta.t-pair::before {
  width: 40px;
  left: 18%;
  transform: rotate(4deg);
}

.cinta.t-pair::after {
  width: 40px;
  left: 62%;
  transform: rotate(-6deg);
}

/* A picture mount finds under 64px once loaded (an icon with no width attribute) keeps no strips. */
.cinta.chica::before,
.cinta.chica::after {
  display: none;
}

#pagination {
  color: #888;
  text-align: center;
  font-size: 16px;
}

#pagination strong {
  font-size: 16px;
}

#pagination a {
  color: #888;
  text-decoration: none;
}

#pagination a:hover {
  color: #E66E6E;
  font-weight: bold;
  text-decoration: underline;
}

/* The guestbook's OK! button, the one of 2013's buttons left. */

.button {
  position: relative;
  border: 1px solid;
  border-radius: 4px;
  height: 30px;
  width: 100px;
  cursor: pointer;
  color: #FFF;
  font-weight: bold;
  text-shadow: 0 1px 0 black;
  padding-left: 22px;
  text-align: center;
  background-position: 6px;
  background-repeat: no-repeat;
  margin: 10px;
}

.green {
  background-color: #a6c52e;
  border-color: #718915;
}

.green:hover {
  background-color: #b4da22;
}

.addcomment {
  background-image: url(/skins/v6/img/comment_add.png);
}

.thinbutton {
  width: 70px;
}

.righter {
  float: right;
}

.lefter {
  float: left;
}

/* Quotes: the citas section in Journal, with Coustard's marks. 2013 pushed the closing mark a whole width to the
   right of the text as an inline, which put it on the sheet's edge; here the quote keeps room on its right and the
   mark sits in that room (Juan, 2026-11-18). */

blockquote {
  position: relative;
  padding: 0 48px 0 5%;
  margin: 1em 40px 60px 40px;   /* the browser's own 1em and 40px, which 2013 left alone, with its 60px below */
  font: 28px 'Journal';
  color: #666;
  quotes: "\201C" "\201D";
  letter-spacing: 2px;
}

blockquote::before,
blockquote::after {
  font-size: 200%;
  font-style: normal;
  color: #d5e7ff;
  font-family: 'Coustard';
}

blockquote::before {
  content: open-quote;
  margin-left: -20%;
}

blockquote::after {
  content: close-quote;
  position: absolute;
  right: 0;
  bottom: -0.35em;
}

cite {
  color: #666;
}

.out {
  margin-left: 41px;
}

.middle {
  vertical-align: middle;
}

/* The Guestbook title opens and closes the signing form (mount). */
#xCommentLink {
  cursor: pointer;
}

/* A picture from a post, over the page: fancybox's place, taken by a <dialog>. */

dialog.visor {
  padding: 10px;
  border: 0;
  border-radius: 4px;
  background: #f9f9f9;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

dialog.visor::backdrop {
  background: rgba(119, 119, 119, 0.7);
}

dialog.visor img {
  display: block;
  max-width: calc(100vw - 80px);
  max-height: calc(100vh - 80px);
}

/* The sky's layers: two of cloud by day and at dawn, the stars at dusk and by night. They stand still, as on the real
   2013 site: ajax.js had its jquery.backgroundPosition drift commented out. All of them start at the top of the
   window: 2013's stars started 90px down, under its black bar, and with the bar gone that left a band with none
   (Juan, 2026-11-18). */

#midground-clouds {
  background: url(/skins/v6/img/parallax/midground-clouds.png) repeat-x;
  position: fixed;
  top: 0;
  left: -100px;
  right: 0;
  bottom: 0;
  z-index: -200;
}

#foreground-clouds {
  background: url(/skins/v6/img/parallax/foreground-clouds.png) repeat-x;
  position: fixed;
  top: 0;
  left: 200px;
  right: 0;
  bottom: 0;
  z-index: -300;
}

#parallax {
  width: 100%;
  height: 100%;
  background: url(/skins/v6/img/parallax/foreground.png) 5% 5%,
    url(/skins/v6/img/parallax/midground.png) 20% 20%,
    url(/skins/v6/img/parallax/background.png) 90% 110%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: fixed;
  z-index: -300;
}
