/* Behike Cruise branding */
:root {
  --bh-navy: #152245;
  --bh-navy-2: #1e2f5f;
  --bh-gold: #c9a050;
  --bh-gold-2: #d4b370;
  --bh-ivory: #f7f3ea;
}

body, .popupmenu, .ui-dialog, input, select, textarea, button {
  font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
}

#layout-menu .popover-header img, #layout-menu #logo { max-height: 56px; }

/* ---------- Login page ---------- */
body.task-login {
  background: var(--bh-navy);
  min-height: 100vh;
}
body.task-login #layout {
  display: flex;
  min-height: 100vh;
  background: transparent;
}
.behike-hero {
  position: fixed;
  inset: 0 440px 0 0;
  background: linear-gradient(180deg, rgba(21,34,69,.15) 0%, rgba(21,34,69,.05) 45%, rgba(21,34,69,.85) 100%),
              url(images/boat.jpg) center 60% / cover no-repeat;
}
.behike-hero-text {
  position: absolute;
  left: 56px; right: 56px; bottom: 56px;
  color: #fff;
}
.behike-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bh-gold-2);
}
.behike-title {
  margin: 0;
  font-family: 'Marcellus', Georgia, serif;
  font-size: 46px;
  line-height: 1.15;
}
.behike-title span { color: var(--bh-gold-2); }
.behike-sub { margin: 12px 0 0; font-size: 15px; opacity: .85; }

body.task-login #layout-content {
  position: relative;
  margin-left: auto;
  flex: 0 0 440px !important;
  width: 440px !important;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px !important;
  background: var(--bh-navy);
  border-top: 3px solid var(--bh-gold);
  box-sizing: border-box;
}
body.task-login #logo {
  position: static !important;
  top: auto !important;
  display: block;
  width: 230px;
  max-width: 70%;
  margin: 0 auto 40px !important;
}
body.task-login #login-form { max-width: none !important; margin: 0 !important; position: static !important; top: auto !important; }
body.task-login #login-form table,
body.task-login #login-form tbody,
body.task-login #login-form tr,
body.task-login #login-form td { display: block; width: 100%; }
body.task-login #login-form td.input { display: flex; flex-wrap: nowrap; padding: 0; }
body.task-login #login-form td.input .input-group-prepend { display: flex; }
body.task-login #login-form td.input input.form-control { flex: 1 1 auto; width: 1%; }
body.task-login #login-form td.title { display: none !important; }
body.task-login #login-form tr { margin-bottom: 14px; }
body.task-login #login-form .input-group { width: 100%; }
body.task-login #login-form .input-group-prepend,
body.task-login #login-form .input-group-text {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: var(--bh-gold-2) !important;
}
body.task-login #login-form input.form-control {
  height: 48px;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #fff !important;
  font-size: 15px;
}
body.task-login #login-form input.form-control::placeholder { color: rgba(255,255,255,.55); }
body.task-login #login-form input.form-control:focus {
  border-color: var(--bh-gold) !important;
  box-shadow: 0 0 0 3px rgba(201,160,80,.25) !important;
  background: rgba(255,255,255,.1) !important;
}
body.task-login #login-form input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 40px #26345a inset !important;
}
body.task-login #login-form .formbuttons { margin-top: 8px; }
body.task-login #rcmloginsubmit {
  width: 100%;
  height: 50px;
  border: 0 !important;
  border-radius: 4px;
  background: var(--bh-gold) !important;
  color: var(--bh-navy) !important;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s;
}
body.task-login #rcmloginsubmit:hover,
body.task-login #rcmloginsubmit:focus { background: var(--bh-gold-2) !important; }
.behike-help {
  margin: 22px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  text-align: center;
}
body.task-login #login-footer {
  margin-top: 28px;
  color: rgba(255,255,255,.4) !important;
  font-size: 12px;
  text-align: center;
}
body.task-login #login-footer a { color: var(--bh-gold-2) !important; }
body.task-login #messagestack { z-index: 10; }

@media (max-width: 860px) {
  .behike-hero { inset: 0 0 auto 0; height: 34vh; position: absolute; }
  .behike-hero-text { left: 24px; right: 24px; bottom: 22px; }
  .behike-title { font-size: 28px; }
  .behike-kicker { font-size: 11px; }
  .behike-sub { display: none; }
  body.task-login #layout { display: block; }
  body.task-login #layout-content {
    flex: none !important;
    width: 100% !important;
    min-height: 66vh;
    margin-top: 34vh;
    padding: 36px 24px !important;
    justify-content: flex-start;
  }
  body.task-login #logo { width: 180px; margin-bottom: 28px !important; }
}
