/*
Open Sans font licensed under SIL OPEN FONT LICENSE
license can be downloaded from /static/fonts/OFL.txt
*/
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url("/static/fonts/open-sans-v40-latin-300.e4bedefe2836.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url("/static/fonts/open-sans-v40-latin-300italic.a4d8bcebf094.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url("/static/fonts/open-sans-v40-latin-regular.8655d20bbcc8.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url("/static/fonts/open-sans-v40-latin-italic.386fb59be54b.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url("/static/fonts/open-sans-v40-latin-500.d26a2372aa87.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url("/static/fonts/open-sans-v40-latin-500italic.4f6daaf40675.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url("/static/fonts/open-sans-v40-latin-600.c1422f94ea80.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url("/static/fonts/open-sans-v40-latin-600italic.a50e831d954c.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url("/static/fonts/open-sans-v40-latin-700.36f81686bbf9.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url("/static/fonts/open-sans-v40-latin-700italic.bf4fde8989e5.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url("/static/fonts/open-sans-v40-latin-800.ba9faafd151f.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url("/static/fonts/open-sans-v40-latin-800italic.aecf1dbc0342.woff2") format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --bs-body-font-weight: 400;
  --bs-primary-light: color-mix(in srgb, var(--bs-primary) 70%, white);
}

body {
  font-family: "Open Sans";
  font-weight: 300;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  color: var(--bs-primary);
}

h1, h2 {
  font-size: 1.8em;
}

label {
  font-size: small;
  font-weight: bold;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}

.errorlist {
  color: red;
  font-size: x-small;
}

.errorlist > li {
  list-style-type: none;
}

.field-required {
  font-weight: bold;
}

.field-required:after {
  content: " *";
}

.btn {
  border: solid 1px;
  border-radius: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  letter-spacing: 0.1em;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-light {
  background-color: white;
  border-color: white;
  color: var(--bs-primary);
}

.btn:hover {
  background: none;
  border-color: var(--bs-primary);
}

.btn-light:hover {
  border-color: white;
}

.btn:active {
  background: none;
  border-color: var(--bs-primary);
}

.btn:first-child:active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  color: var(--bs-primary);
}

.btn-primary:active {
  color: var(--bs-primary);
}

.btn-light:hover {
  color: white;
}

.btn-light:active {
  color: white;
}

footer {
  font-size: x-small;
}

.card {
  background-color: rgba(248,249,250,1) !important;
}

.box {
  box-sizing: border-box;
  background-color: rgba(248,249,250,1) !important;
  padding: 1em;
  margin: 1em;
}

.logo-image {
  height: 60px;
}

.titlebar {
  padding-top: 36px;
  padding-bottom: 36px;
  margin-left: 36px;
  margin-right: 36px;
}

.menubar {
  border-bottom: 1px solid var(--bs-border-color-translucent);
  --bs-navbar-padding-y: 0;
}

.nav-link {
  font-size: 16px;
  font-weight: 400;
}

.nav-item {
  margin-left: 36px;
  margin-right: 36px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.menubar .nav-item {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.nav-item .active {
  font-weight: 600;
  color: var(--bs-primary) !important;
}

.page-link {
  color: var(--bs-primary);
}

.logo-text {
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: middle;
  color: var(--bs-primary);
  font-size: 1.4em;
  font-weight: 300;
}

.bd-callout-warning {
  --bd-callout-color: var(--bs-warning-text-emphasis);
  --bd-callout-bg: var(--bs-warning-bg-subtle);
  --bd-callout-border: var(--bs-warning-border-subtle);
}

.bd-callout {
  --bs-link-color-rgb: var(--bd-callout-link);
  --bs-code-color: var(--bd-callout-code-color);
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--bd-callout-color, inherit);
  background-color: var(--bd-callout-bg, var(--bs-gray-100));
  border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
  border-radius: var(--bs-border-radius);
}

.border-start {
    border-right: 1px solid var(--bs-border-color-translucent) !important;
    border-top: 1px solid var(--bs-border-color-translucent) !important;
    border-bottom: 1px solid var(--bs-border-color-translucent) !important;
    border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
}

.icon-circle {
  height: 3rem;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.flag-icon {
  border: 1px solid gray;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[readonly] {
  background-color: var(--bs-secondary-bg);
}

.form-control::placeholder {
  color: var(--bs-gray-400);
}

.formerror {
  color: red;
}

.formerror .form-control {
  border-color: red;
}

#index-content {
  background-color: var(--bs-primary);
  padding-bottom: 3rem;
}

#index-heading {
  color: white;
  font-size: 2.8rem;
  font-weight:500;
}

footer {
  display: block;
  margin-top: auto;
  background-color: var(--bs-primary);
  color: white;
  padding: 1.5em;
  text-align: center;
}

/* Infobubble */
.omtt {
  border-radius: 1.2rem;
  border-width: 0;
  border: 2px solid white;
  width: 50px;
  overflow: hidden;
  white-space: nowrap;
}

.omtt.slide-out {
  border: 2px solid var(--bs-primary);
  width: auto;
}

#omtt-text {
  transition: opacity 0.5s ease-in-out;
  visibility: hidden;
  width: 6px;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
}

.omtt.slide-out #omtt-text {
  visibility: visible;
  width: auto;
  padding-left: 1em;
  padding-right: 1em;
  opacity: 1;
}

.text-primary-dark {
  color: var(--bs-primary);
}

.omtt-body {
  padding: 0.8rem;
}


/* Chevron */
.chevron-bar {
  padding-top: 20px;
  margin-bottom: 20px;
  background-color: var(--bs-primary);
  background-size: cover;
}

.chevron-container {
  display: flex;
}

@media (min-width: 992px) {
  .chevron-container {
    padding-left: 6em;
    padding-right: 6em;
  }
}

.chevron-step {
  width: 33.3%;
  position: relative;
  text-align: center;
  padding: 10px;
  background-color: var(--bs-primary-light);
  color: white;
  display: flex;
  align-items: center;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

.chevron-step-arrow {
  clip-path: polygon(0 0, 0% 33%, 100% 50%, 0% 66%, 0% 100%, 0 100%);
  background-color: var(--bs-primary-light);
  width: 15px;
}

.chevron-step.active {
  background-color: white;
  filter: none;
  opacity: 1;
}

.chevron-step-arrow.active {
  background-color: white;
}

.chevron-step::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.chevron-step.active::after {
  display: none;
}

.chevron-step:last-child::after {
  display: none;
}

@media (max-width: 575.98px) {
  .chevron-step-number {
    display: none;
  }
}
@media (min-width: 576px) {
  .chevron-step-number {
    margin-right: 10px;
    margin-left: 20px;
    font-size: xxx-large;
  }
}

.chevron-step.active .chevron-step-number {
  color: var(--bs-primary);
}

.chevron-step-text {
  font-weight: bold;
  font-size: small;
  text-align: left;
}

.chevron-step.active .chevron-step-text {
  color: var(--bs-primary);
}

.prereg-code-box {
  display: inline-block;
  border-radius: 1.8rem;
  border: 2px solid var(--bs-primary);
  background-color: var(--bs-primary);
  color: white;
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}

.tooltip {
  --bs-tooltip-max-width: 300px;
}

.detail-box {
  border: 1px solid lightgray;
}
