:root {
  --primary: #001066; /*#1a73e8;*/
}

html, body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Fira Sans', sans-serif;
  color: #111111;
  background: var(--primary);
}

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

* {
  box-sizing: border-box;
}

.dn { display: none; }

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 12px;
  position: relative;
}
@media only screen and (min-width: 600px) {
  .container {
    padding: 0 32px;
  }
}
.flex > * {
  flex: 1 1;
}
@media only screen and (min-width: 600px) {
  .flex {
    display: flex;
  }
}
.centered {
  margin: 0 auto;
}
.mw-500 {
  max-width: 500px;
}
.mb3 {
  margin-bottom: 16px;
}
.mb-phone {
  margin-bottom: 30px;
}
@media only screen and (min-width: 600px) {
  .mb-phone {
    margin-bottom: 0;
  }
}

.field {
  margin-bottom: 16px;
}
.label {
  display: block;
  margin-bottom: 4px;
}
.input {
  width: 100%;
  border: 1px solid #dedede;
  padding: 12px 12px;
}
.button {
  padding: 12px 24px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-weight: bold;
}

.topbar {
  text-align: center;
  margin-bottom: 8px;
}
.topbar a {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  padding: 6px 8px;
}
@media only screen and (min-width: 600px) {
  .topbar {
    text-align: right;
  }
  .topbar a {
    padding: 6px 16px;
  }
}

.header {
  padding: 12px 0 0;
  color: #ffffff;
  text-align: center;
  background-image: linear-gradient(to bottom, rgba(0, 16, 102, 0.8), rgba(255, 255, 255, 0.5)), url(/images/hero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.header .brand {
  color: #ffffff;
  text-shadow: 1px 1px rgba(0,0,0,0.25);
  font-size: 28px;
  display: block;
}
.header .brand {
  text-decoration: none;
  opacity: 0.9;
}
.header .navigation {
  flex: 1 1;
}
.header .navigation a {
  color: #ffffff;
  text-shadow: 1px 1px rgba(0,0,0,0.25);
  display: inline-block;
  padding: 8px 12px;
  transition: background 200ms;
}
.header .navigation a:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.25);
}
@media only screen and (min-width: 600px) {
  .header {
    padding: 24px 0;
    text-align: left;
  }
  .header .header-content {
    display: flex;
    align-items: center;
  }
  .header .navigation {
    text-align: right;
  }
  .header .navigation a {
    display: inline;
    padding: auto;
    padding: 16px 24px;
  }
}

.content {
  padding: 30px 0;
}
.content .container {
  color: #111;
  background: #fff;
  padding-top: 24px;
  padding-bottom: 8px;
}
@media only screen and (min-width: 600px) {
  .content {
    padding: 80px 0;
  }
}
.content h1:first-child {
  margin-top: 0;
}
.content-home {
  padding: 80px 0;
}
.content-home .container {
  color: #ffffff;
  background: transparent;
}
.content-box {
  position: relative;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  padding: 45px 15px;
}
.content-box h1 {
  font-weight: bold;
  font-size: 24px;
  text-shadow: 1px 1px rgba(0,0,0,0.25);
}
.content-box p {
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 0;
}
.content-home-image {
  display: none;
  position: absolute;
  z-index: 0;
  width: 600px;
  height: 450px;
}
.content-home-image div {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.4);
}
.content-home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-home-image:nth-child(1) {
  top: 300px;
  left: -10%;
}
.content-home-image:nth-child(2) {
  top: 380px;
  left: 50%;
}
.content-home-image:nth-child(3) {
  top: 600px;
  left: 20%;
}
@media only screen and (min-width: 600px) {
  .content-home {
    padding: 0 0 800px;
  }
  .content-box {
    width: 80%;
    padding: 80px;
  }
  .content-box h1 {
    font-size: 42px;
  }
  .content-box p {
    font-size: 24px;
  }
  .content-home-image {
    display: block;
  }
}
.gray-box {
  background: #eee;
  padding: 32px;
}
.picture-box img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center center;
}
.gallery {
  margin: 0 -16px 32px;
}
.gallery-image {
  padding: 0 16px;
  cursor: pointer;
}
.gallery-image img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}
.products-navigation {
  margin-bottom: 32px;
}
.products-navigation a {
  display: block;
  font-size: 16px;
  padding: 8px;
  color: var(--primary);
}
.products-navigation a.active {
  background: var(--primary);
  color: #fff;
}
@media only screen and (min-width: 600px) {
  .products-navigation a {
    display: inline;
    margin-right: 24px;
  }
}

.footer {
  background: #ffffff;
  color: #111111;
  padding: 45px 0 30px;
}
.footer-column {
  flex: 0 0 33.33%;
}
.footer a {
  color: #111111;
  display: block;
  margin-bottom: 4px;
}
@media only screen and (min-width: 600px) {
  .footer {
    padding: 100px 0 60px;
  }
  .footer .container {
    display: flex;
  }
  .footer-column:last-child {
    text-align: right;
  }
}

.alert {
  padding: 16px;
  margin-bottom: 24px;
}
.alert.alert-error {
  background: #FBCFBD;
}
.alert.alert-success {
  background: #D8EACC;
}

.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.modal-content {
  margin: 0 auto;
  padding: 5vh 0;
  height: 100%;
  width: 95vw;
  display: flex;
  justify-content: center;
}
.modal-content img {
  width: 100%;
  object-fit: contain;
}
.modal-close {
  cursor: pointer;
  user-select: none;
  position: absolute;
  color: white;
  font-size: 24px;
  font-family: sans-serif;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10vw;
  height: 80px;
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.5);
}
.modal-left, .modal-right {
  cursor: pointer;
  user-select: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10vw;
  color: white;
  font-size: 36px;
  font-weight: bold;
  font-family: sans-serif;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-left:hover, .modal-right:hover {
  background: rgba(0, 0, 0, 0.5);
}
.modal-left {
  left: 0;
}
.modal-right {
  right: 0;
}
@media only screen and (min-width: 600px) {
  .modal-content {
    padding: 10vh 0;
    width: 80vw;
  }
  .modal-left, .modal-right {
    display: flex;
  }
}
