:root {
  --tempolia-ink: #172033;
  --tempolia-muted: #536176;
  --tempolia-line: #dbe2ea;
  --tempolia-page: #f4f7fb;
  --tempolia-card: #ffffff;
  --tempolia-blue: #2563eb;
  --tempolia-teal: #0f9f9a;
}

html,
body {
  background: var(--tempolia-page);
  color: var(--tempolia-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: #2458c7;
}

a:hover,
a:focus {
  color: #0f766e;
  text-decoration: none;
}

:where(a, button, input, textarea, select, [tabindex]):focus {
  outline: 0;
}

:where(a, button, input, textarea, select, [tabindex]):focus:not(:focus-visible) {
  box-shadow: none;
  outline: 0;
}

:where(a, button, [tabindex]):focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 159, 154, .16);
  outline: 2px solid rgba(15, 159, 154, .45);
  outline-offset: 2px;
}

.fusio-header {
  align-items: center;
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid var(--tempolia-line);
  box-shadow: 0 8px 24px rgba(23, 32, 51, .06);
  display: flex;
  min-height: 72px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.fusio-header .navbar-header {
  display: flex;
  float: none;
}

.fusio-header .navbar-brand {
  align-items: center;
  color: var(--tempolia-ink);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 14px;
  height: 72px;
  letter-spacing: 0;
  padding: 0;
}

.fusio-brand-logo {
  background: url("../img/tempolia-logo.svg") left center / contain no-repeat;
  display: inline-block;
  height: 41px;
  width: 210px;
}

.fusio-brand-label {
  border-left: 1px solid var(--tempolia-line);
  padding-left: 14px;
}

.fusio-header nav {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

.fusio-header .nav {
  display: flex;
  float: none;
  gap: 6px;
  margin: 0 0 0 28px;
}

.fusio-header .nav > li {
  float: none;
}

.fusio-header .nav > li > a {
  border-radius: 6px;
  color: #344256;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 14px;
}

.fusio-header .nav > li > a:hover,
.fusio-header .nav > li > a:focus {
  background: #eef5f8;
  color: #0f766e;
}

.fusio-header .nav span {
  color: var(--tempolia-teal);
  margin-right: 6px;
}

.fusio-header-loggedin {
  color: var(--tempolia-muted);
  margin-left: auto;
  padding: 0;
}

.fusio-main {
  padding: 0;
}

.fusio-main > .ng-scope > .row {
  align-items: stretch;
  display: flex;
  margin-left: 0;
  margin-right: 0;
  min-height: calc(100vh - 72px);
}

.fusio-intro {
  background-color: #172033;
  background-image: linear-gradient(90deg, rgba(23, 32, 51, .92), rgba(23, 32, 51, .74) 48%, rgba(23, 32, 51, .28)), url("../img/header.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 0;
  height: auto;
  margin: 0;
  min-height: 430px;
  padding: 78px 0 86px;
}

.fusio-intro .container {
  max-width: 1180px;
}

.fusio-intro-kicker {
  color: #8df0dd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.fusio-intro h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 22px;
  max-width: 760px;
}

.fusio-intro p {
  color: #eef6f9;
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 30px;
  max-width: 920px;
}

.fusio-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.form-control,
.alert,
.panel,
.modal-content,
.nav-tabs > li > a {
  border-radius: 6px;
}

.btn {
  border-width: 1px;
  box-shadow: none;
  font-weight: 800;
}

.btn-lg {
  padding: 13px 20px;
}

.btn-primary {
  background: var(--tempolia-teal);
  border-color: var(--tempolia-teal);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0d8783;
  border-color: #0d8783;
  color: #ffffff;
}

.btn-default {
  background: rgba(255, 255, 255, .94);
  border-color: transparent;
  color: var(--tempolia-ink);
}

.btn-default:hover,
.btn-default:focus {
  background: #ffffff;
  color: #0f766e;
}

.fusio-intro-subline {
  background: #ffffff;
  border-bottom: 1px solid var(--tempolia-line);
  color: var(--tempolia-ink);
  margin: 0;
  padding: 34px 0;
}

.fusio-intro-subline .container {
  max-width: 1180px;
}

.fusio-intro-subline h2 {
  color: var(--tempolia-ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.fusio-intro-subline p {
  color: var(--tempolia-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 1040px;
}

.fusio-intro-subline .fusio-tempolia-home-link {
  margin-top: 14px;
}

.fusio-tempolia-home-link a {
  font-weight: 800;
}

.fusio-quicklinks {
  max-width: 1180px;
  padding-top: 44px;
}

.fusio-quicklinks-secondary {
  padding-bottom: 56px;
  padding-top: 0;
}

.tempolia-api-themes-container {
  max-width: 1180px;
  padding-top: 40px;
}

.tempolia-api-themes {
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  color: var(--tempolia-ink);
  margin: 0;
  padding: 0;
}

.tempolia-api-themes__head {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 14px;
}

.tempolia-api-themes__head h2 {
  color: var(--tempolia-ink);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.tempolia-api-themes__head p {
  color: #607087;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.tempolia-api-theme-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tempolia-api-theme-card {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 51, .06);
  min-width: 0;
  padding: 17px;
  position: relative;
}

.tempolia-api-theme-card::before {
  background: var(--tempolia-theme-color, #64748b);
  border-radius: 999px;
  content: "";
  height: 9px;
  left: 17px;
  position: absolute;
  top: 18px;
  width: 9px;
}

.tempolia-api-theme-card h3 {
  color: var(--tempolia-ink);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 3px;
  min-width: 0;
  padding-left: 18px;
}

.tempolia-api-theme-card__count {
  color: var(--tempolia-theme-color, #64748b);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
  padding-left: 18px;
}

.tempolia-api-theme-card__summary {
  color: #536176;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.tempolia-api-theme-card__items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tempolia-api-theme-card__items a {
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  color: #344256;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  max-width: 100%;
  padding: 6px 10px;
  text-align: left;
}

.tempolia-api-theme-card__items a:hover,
.tempolia-api-theme-card__items a:focus {
  background: #ffffff;
  border-color: var(--tempolia-theme-color, #64748b);
  color: var(--tempolia-ink);
}

.fusio-content .tempolia-api-themes {
  border: 0;
  box-shadow: none;
  margin: 26px 0 32px;
  padding: 0;
}

.fusio-content .tempolia-api-theme-card {
  box-shadow: none;
}

.fusio-api-documentation-extra {
  margin: -38px auto 64px;
  max-width: 1120px;
}

.fusio-intro-column {
  background: var(--tempolia-card);
  border: 1px solid var(--tempolia-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, .06);
  margin: 0 0 30px;
  min-height: 238px;
  padding: 30px 26px;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fusio-intro-column:hover {
  border-color: rgba(15, 159, 154, .45);
  box-shadow: 0 18px 38px rgba(23, 32, 51, .1);
  transform: translateY(-2px);
}

.fusio-intro-column-icon {
  align-items: center;
  background: #edf8f7;
  border: 1px solid #ccece9;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0;
  height: 58px;
  justify-content: center;
  margin-bottom: 22px;
  width: 58px;
}

.fusio-intro-column-icon a {
  align-items: center;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.fusio-intro-column-icon span {
  color: var(--tempolia-teal);
  font-size: 34px;
  line-height: 1;
}

.fusio-intro-column h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
}

.fusio-intro-column h3 a {
  color: var(--tempolia-ink);
}

.fusio-intro-column p {
  color: var(--tempolia-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.fusio-sidebar {
  background-color: #172033;
  background-image: none;
  border-right: 1px solid rgba(255, 255, 255, .08);
  flex: 0 0 282px;
  float: none;
  min-height: calc(100vh - 72px);
  padding: 26px 18px;
  width: 282px;
}

.fusio-nav {
  min-height: 0;
}

.fusio-nav h3 {
  color: #b8c6da;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.fusio-nav ul {
  margin: 0;
  padding: 0;
}

.fusio-nav li a {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 3px solid var(--tempolia-teal);
  border-radius: 6px;
  color: #edf4fb;
  font-family: inherit;
  margin-bottom: 8px;
  opacity: 1;
  padding: 11px 12px;
}

.fusio-nav li a:hover,
.fusio-nav li a:focus {
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
  text-decoration: none;
}

.fusio-sidebar + .col-md-10 {
  background: var(--tempolia-page);
  flex: 1 1 auto;
  float: none;
  min-width: 0;
  padding: 38px 42px 70px;
  width: auto;
}

.fusio-content {
  background: #ffffff;
  border: 1px solid var(--tempolia-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 32, 51, .06);
  color: var(--tempolia-ink);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 auto 64px;
  max-width: 1120px;
  padding: 36px 40px 44px;
}

.fusio-content h1 {
  color: var(--tempolia-ink);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 28px;
}

.fusio-content h2 {
  color: var(--tempolia-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 30px 0 14px;
  padding: 0;
}

.fusio-content h1 + h2,
.fusio-content h2:first-child {
  margin-top: 0;
}

.fusio-content h2:first-child {
  font-size: 34px;
  line-height: 1.16;
  margin-bottom: 22px;
}

.fusio-content p,
.fusio-content li,
.fusio-content dd {
  color: var(--tempolia-muted);
}

.fusio-content p {
  margin-bottom: 14px;
}

.fusio-content ul {
  background: #f8fbfd;
  border: 1px solid var(--tempolia-line);
  border-radius: 8px;
  margin: 18px 0 24px;
  padding: 18px 24px 18px 42px;
}

.fusio-content li {
  margin: 6px 0;
}

.fusio-content dl {
  background: #f8fbfd;
  border: 1px solid var(--tempolia-line);
  border-radius: 8px;
  display: grid;
  gap: 10px 18px;
  grid-template-columns: minmax(170px, max-content) 1fr;
  margin: 18px 0 26px;
  padding: 18px;
}

.fusio-content dt {
  color: var(--tempolia-ink);
  font-weight: 800;
}

.fusio-content dd {
  margin: 0;
  min-width: 0;
}

.fusio-content code,
.fusio-property {
  background: #eef5f8;
  border: 1px solid #d8e8ee;
  border-radius: 5px;
  color: #0f766e;
  padding: 2px 5px;
}

.fusio-content pre {
  background: #101827;
  border: 1px solid #263347;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  color: #dce7f3;
  font-size: 13px;
  line-height: 1.55;
  margin: 20px 0 8px;
  max-height: 72vh;
  overflow: auto;
  padding: 22px;
  white-space: pre;
}

.fusio-content pre code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

.fusio-login-container {
  background: #ffffff;
  border: 1px solid var(--tempolia-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 32, 51, .08);
  margin-top: 70px;
  max-width: 430px;
  padding: 28px;
}

.fusio-login-container h1 {
  color: var(--tempolia-ink);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 22px;
}

.fusio-login-container .fusio-login-ruler {
  border-bottom: 1px solid var(--tempolia-line);
}

.form-control {
  border-color: #cbd5e1;
  box-shadow: none;
  min-height: 42px;
}

.form-control:focus {
  border-color: var(--tempolia-teal);
  box-shadow: 0 0 0 3px rgba(15, 159, 154, .15);
}

@media (max-width: 991px) {
  .fusio-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 12px 18px;
    position: static;
  }

  .fusio-header .navbar-brand {
    height: 48px;
  }

  .fusio-header nav,
  .fusio-header .nav {
    width: 100%;
  }

  .fusio-header .nav {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .fusio-sidebar {
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
  }

  .fusio-main > .ng-scope > .row {
    display: block;
    min-height: 0;
  }

  .fusio-sidebar + .col-md-10 {
    padding: 24px 18px 48px;
  }

  .tempolia-api-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .fusio-brand-logo {
    height: 38px;
    width: 146px;
  }

  .fusio-brand-label {
    font-size: 14px;
  }

  .fusio-intro {
    min-height: 0;
    padding: 52px 0 68px;
  }

  .fusio-intro .container,
  .fusio-intro-subline .container,
  .fusio-quicklinks {
    padding-left: 20px;
    padding-right: 20px;
  }

  .fusio-intro h1 {
    font-size: 34px;
  }

  .fusio-intro p {
    font-size: 17px;
  }

  .fusio-intro-actions {
    display: block;
  }

  .fusio-intro-actions .btn {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }

  .fusio-intro-actions .btn:last-child {
    margin-bottom: 0;
  }

  .fusio-intro-subline h2 {
    font-size: 24px;
  }

  .fusio-quicklinks {
    padding-top: 28px;
  }

  .tempolia-api-themes-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 28px;
  }

  .tempolia-api-themes {
    padding: 20px;
  }

  .tempolia-api-themes__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tempolia-api-themes__head .btn {
    width: 100%;
  }

  .tempolia-api-theme-grid {
    grid-template-columns: 1fr;
  }

  .fusio-content {
    padding: 28px 20px;
  }

  .fusio-content h1 {
    font-size: 30px;
  }

  .fusio-content h2:first-child {
    font-size: 28px;
  }

  .fusio-content dl {
    display: block;
  }

  .fusio-content dt {
    margin-top: 12px;
  }
}
