:root {
  --footer-height: 150px;
  --content-width: 850px;
  --text-width: 670px;
  --dark-blue-bg: #0c2444;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

.truncate-width {
  max-width: 94%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: 500;
  text-align: justify;
  font-size: larger;
}

.hero-image {
  width: 90%;
}

h1 {
  font-weight: 600;
  font-size: xxx-large;
}

#primary {
  height: calc(100vh - var(--footer-height));
  background-color: #003b8b;
  display: flex;
  align-items: center;
  padding: 1em;
  box-sizing: border-box;
}

.btn-link {
  color: white !important;
  background-color: #205db0 !important;
}

.topbar-link,
.topbar-link:hover,
.topbar-link:visited,
.topbar-link:focus {
  color: white !important;
  text-decoration: none;
}

.topbar-image {
  width: 30px;
  height: 30px;
}

.topbar-label {
  margin: 6px 0 0 8px;
  /* text-decoration: underline; */
}

.topbar-link .topbar-label:hover {
  text-decoration: underline;
}

.main-logo,
.nav-logo-height {
  height: 40px;
}

.topbar {
  background-color: var(--dark-blue-bg);
  color: white;
  padding: 5px 0;
}

.navbar-translate {
  width: 100%;
  position: relative;
  display: flex;
  -ms-flex-pack: justify !important;
  /*justify-content: space-between !important;*/
  -ms-flex-align: center;
  align-items: center;
}

.navbar {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  min-height: 86px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  padding: 0.5rem 1rem;
}

.bg-primary {
  background-color: #205db0 !important;
}

.form-control {
  width: 12.5em;
  height: 2.25em;
  border-color: #fff;
  color: #fff;
  border: 1px solid #ccc;
  border-width: 1px !important;
  border-radius: 30px !important;
  font-size: 0.8571em;
  line-height: 1.7;
  padding: calc(0.5 * 20px);
  margin: 0 2px;
  max-width: 100%;
  background-color: transparent;
  transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
}

.form-control::placeholder {
  color: #fff;
}
.nav-item {
  margin-right: 8px;
}

.navbar a:not(.btn):not(.dropdown-item) {
  color: #fff;
}

.navbar p {
  display: inline-block;
  margin: 0;
  line-height: 21px;
}

@media (min-width: 1600px) {
  .hero-image {
    width: 100%;
  }

  .truncate-width {
    font-size: x-large;
  }

  .btn-link {
    font-size: larger;
  }
}

@media (max-width: 900px) {
  :root {
    --content-width: 100%;
    --text-width: 100%;
  }

  #primary,
  #footer {
    height: auto !important;
  }

  #primary .content {
    padding: 3em 1em;
  }
}

@media only screen and (min-height: 900px) and (orientation: portrait) {
  #primary {
    height: calc(100vh - var(--footer-height)) !important;
  }
}

@media (max-width: 600px) {
  #footer .content {
    flex-direction: column;
    gap: 1em;
  }
}
