html, body {
  height: 100%;
}

body {
  font-family: "Liberation serif";
  font-weight: 300;
  font-size: 16px;
  color: #336699;

  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;

  margin-top: 70px;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .navbar, #footer, .btn {
  font-family: "Comfortaa";
}

.left {
  text-align: left;
}
.right {
  text-align: right;
}
.justify {
  text-align: justify;
}
.centered {
  text-align: center;
}
.vcentered {
  display: flex;
  align-items: center;
}

.row > div {
  padding-top: 10px;
  padding-bottom: 10px;
}

.row > div > .box {
  padding-left: 10px;
  padding-right: 10px;

  border: 1px solid #86BBD8;
  border-radius: 1rem;
  box-shadow: 3px 3px 3px #33669933;
}
.row > div > .box > h3 {
  min-height: 5rem;
}

.table > thead {
  background-color: #336699;
  color: white;
}

form label, form input, select {
  width: 100%;
}

/* Links */
a {
  color: #22181C;
  text-decoration: underline;
  word-wrap: break-word;
}
a:hover, a:focus {
  color: #86BBD8;
  outline: 0;
}

/* Buttons */
.btn {
  margin: 3px;
}

.btn-nxhop-dark {
  font-size: 16px;
  text-decoration: none;
  color: white;
  background-color: #336699;
}
.btn-nxhop-dark:hover {
  color: #9EE493;
  background-color: #22181C;
}

.btn-nxhop-light {
  font-size: 16px;
  text-decoration: none;
  color: #22181C;
  background-color: #86BBD8;
}
.btn-nxhop-light:hover {
  color: white;
  background-color: #22181C;
}

/* Grid */
.grid img {
  opacity: .7;
  max-width: 100%;
  max-height: 50px;
}
.grid img:hover {
  opacity: 1;
}

/* Navigation bar */
.navbar {
  font-weight: 800;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #22181C;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
  border: 0;
}
.navbar-fixed-bottom .navbar-collapse,
.navbar-fixed-top .navbar-collapse {
  max-height: 500px;
}
.navbar-default {
  border: 0;
}
.navbar-default .navbar-nav li > a,
.navbar-default .navbar-nav > .open .dropdown-menu > li > a {
  color: white;
  text-decoration: none;
}
.navbar-default .navbar-nav li > a.disabled,
.navbar-default .navbar-nav > .open .dropdown-menu > li > a.disabled {
  opacity: .5;
  pointer-events: none;
}
.navbar-default .navbar-nav > .open .dropdown-menu > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #86BBD8;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: #336699;
}
.navbar-default .navbar-nav .dropdown-menu {
  font-size: 16px;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #336699;
}
.navbar-default .navbar-nav .active > a,
.navbar-default .navbar-nav .active > a:hover,
.navbar-default .navbar-nav .active > a:focus,
.navbar-default .navbar-nav li > a:hover,
.navbar-default .navbar-nav li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > .open .dropdown-menu > li > a:focus {
  color: #22181C;
  background-color: #86BBD8;
  text-decoration: none;
}
.navbar-brand {
  padding-top: 0px;
  padding-bottom: 0px;
}
.navbar-brand img {
  height: 100%;
}

/* Header */
#header {
  width: 100%;
}
#header.small {
  padding-top: 25px;
  padding-bottom: 25px;
  color: white;
  background-color: #336699;
}
#header.large {
  height: 400px;
  padding-top: 50px;
  padding-bottom: 50px;
  color: #9EE493;
  background-color: #22181C;
}
#header img {
  max-width: 100%;
  padding-left: 25px;
  padding-right: 25px;
}

/* Horizontal */
.horizontal {
  font-weight: 400;
  font-size: 20px;
  flex: 1 0 auto;
}

.horizontal.filled {
  color: white;
  background-color: #336699;
  padding-bottom: 25px;
}

.horizontal.empty {
  padding-top: 25px;
  padding-bottom: 25px;
}

.horizontal h3, .horizontal h2 {
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 10px;
}

.horizontal img {
  max-width: 100%;
}

.horizontal .anchor {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
}

/* Footer */
#footer {
  color: white;
  background-color: #22181C;
  padding-top: 15px;
  padding-bottom: 15px;
  flex-shrink: 0;
}

#footer a {
  color: #86BBD8;
  text-decoration: none;
}
#footer a:hover, #footer a:focus {
  color: white;
  text-decoration: underline;
}
