:root {
  --sea: #4087a8;
  --sea-dark: #075d82;
  --sea-nav: #006699;
  --sea-link: #2275c0;
  --sea-link-deep: #005db3;
  --sea-wash: #eef9fd;
  --sea-edge: #98bfce;
  --sun: #ffff00;
  --sun-logo: #f5d000;
  --ink: #333333;
  --muted: #666666;
  --line: #e6e6e6;
  --paper: #ffffff;
  --danger: #cc0000;
  --ui: Arial, "Noto Sans", Helvetica, sans-serif;
}

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

html {
  background: var(--paper);
}

body {
  min-height: 100%;
  font: normal 12px/16px var(--ui);
  color: var(--ink);
  background: url("../assets/bg.jpg") repeat-x top left #ffffff;
}

img {
  border: 0;
  max-width: 100%;
  display: block;
}

a {
  color: var(--sea-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input {
  font: inherit;
}

#main {
  width: 900px;
  margin: 0 auto;
  padding-bottom: 72px;
}

.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 110px;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  width: 263px;
  height: 110px;
  object-fit: contain;
  object-position: left center;
}

.brand__crm {
  padding-top: 28px;
}

.brand__kicker {
  color: var(--sea-dark);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__title {
  margin-top: 4px;
  color: var(--sea);
  font-size: 22px;
  font-weight: bold;
  line-height: 1.1;
}

.brand__title span {
  color: var(--sun-logo);
}

.brand__sub {
  margin-top: 4px;
  color: var(--sea);
  font-size: 11px;
}

.masthead__meta {
  padding: 18px 0 0;
  text-align: right;
}

.masthead__host {
  color: var(--muted);
  font-size: 11px;
}

.masthead__host a {
  color: var(--sea-dark);
  font-weight: bold;
}

.lang {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}

.lang img {
  width: 30px;
  height: 24px;
}

#menuriba {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0 10px;
}

.nupp {
  display: inline-block;
  background: var(--sea-nav);
  color: var(--paper);
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}

.nupp:hover {
  background: #075d82;
  color: var(--paper);
  text-decoration: none;
}

.nupp.is-on {
  background: var(--sea);
}

.panel {
  clear: both;
  margin-top: 6px;
  background: var(--sea-wash);
  border: 1px solid var(--sea-edge);
}

.panel__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 20px;
}

.loginbox {
  background: var(--paper);
  border: 2px solid var(--sea-dark);
}

.loginbox__head {
  background: var(--sea);
  color: var(--paper);
  font-size: 13px;
  font-weight: bold;
  padding: 8px 10px;
  border-bottom: 2px solid var(--sea-dark);
}

.loginbox__body {
  padding: 16px 14px 14px;
}

.lead {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 18px;
}

.field {
  margin-bottom: 12px;
}

.field__label {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
}

.field__label em {
  color: var(--danger);
  font-style: normal;
}

.field__input {
  width: 100%;
  height: 28px;
  padding: 4px 6px;
  border: 1px solid #c8c8c8;
  background: var(--paper);
  color: #000;
  font-size: 14px;
  line-height: 20px;
}

.field__input:focus {
  outline: none;
  border-color: var(--sea-dark);
}

.field.is-invalid .field__input {
  border-color: var(--danger);
  background: #fff6f6;
}

.field__row {
  display: flex;
  gap: 6px;
}

.field__row .field__input {
  flex: 1;
}

.field__reveal {
  width: 72px;
  border: 1px solid #c8c8c8;
  background: #f4f4f4;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.field__reveal:hover {
  background: #ececec;
}

.field__error {
  min-height: 14px;
  margin-top: 3px;
  color: var(--danger);
  font-size: 11px;
}

.submit {
  display: inline-block;
  min-width: 163px;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--sea-dark);
  background: var(--sea);
  color: var(--paper);
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.submit:hover {
  background: var(--sea-nav);
}

.form__links {
  margin-top: 12px;
}

.unlock {
  display: none;
  padding: 8px 0 4px;
}

.unlock.is-open {
  display: block;
}

.unlock__kicker {
  color: var(--sea-dark);
  font-weight: bold;
  margin-bottom: 6px;
}

.unlock__text {
  line-height: 18px;
}

.side h2,
.sheet h1 {
  color: var(--sea-dark);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.facts {
  margin: 0 0 14px 18px;
  color: var(--ink);
}

.facts li {
  margin-bottom: 6px;
  line-height: 16px;
}

.booked {
  list-style: none;
}

.booked li {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.booked img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #d3d3d3;
  background: var(--paper);
  flex-shrink: 0;
}

.booked strong {
  display: block;
  color: var(--sea-link-deep);
  font-size: 12px;
  font-weight: bold;
}

.booked span {
  color: var(--muted);
  font-size: 11px;
}

.note {
  display: none;
  margin-top: 10px;
  padding: 8px;
  background: #fff8c6;
  border: 1px solid var(--sun-logo);
  color: var(--ink);
  line-height: 16px;
}

.note.is-open {
  display: block;
}

.sheet {
  background: var(--paper);
  border: 1px solid #d3d3d3;
  padding: 16px;
}

.sheet p,
.sheet li {
  margin-bottom: 10px;
  line-height: 18px;
}

.sheet ul {
  margin-left: 18px;
}

.sitefoot {
  margin-top: 12px;
  padding: 12px 20px 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 16px;
}

.sitefoot a {
  color: var(--sea-dark);
}

.helper {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: 940px;
  margin-left: -470px;
  height: 35px;
  background: var(--sea);
  color: var(--paper);
  border-top: 3px solid var(--sea-edge);
  border-left: 3px solid var(--sea-edge);
  border-right: 3px solid var(--sea-edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 12px;
}

.helper a {
  color: var(--sun);
  font-weight: bold;
}

.helper a:hover,
.helper a:visited {
  color: var(--sun);
}

@media (max-width: 960px) {
  #main,
  .helper {
    width: auto;
    margin: 0 10px;
  }

  .helper {
    left: 10px;
    right: 10px;
    margin-left: 0;
    width: auto;
  }

  .panel__inner {
    grid-template-columns: 1fr;
  }

  .brand__logo {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 640px) {
  .masthead {
    flex-direction: column;
    min-height: 0;
  }

  .masthead__meta {
    text-align: left;
    padding-top: 0;
    padding-bottom: 8px;
  }

  .lang {
    justify-content: flex-start;
  }

  .brand {
    flex-direction: column;
    gap: 0;
  }

  .brand__crm {
    padding: 0 0 10px;
  }
}
