/* Shared header and footer treatment for all non-home pages. */
.nav-bar {
  padding: 6px 0 !important;
  box-shadow: 0 8px 26px rgba(20, 33, 61, .08) !important;
  position: relative;
  z-index: 20;
}

.logo {
  align-items: center;
  display: flex;
  height: 118px !important;
}

.logo a { display: block; line-height: 0; }

.logo img {
  display: block;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  width: 250px !important;
}

.navigation { margin-top: 0 !important; }

@media (min-width: 768px) {
  .nav-bar > .container > .row,
  .nav-bar > .container > .row > .col-sm-8 > .row {
    align-items: center;
    display: flex;
  }

  .nav-bar .btn-default.pull-right {
    float: none !important;
    margin-left: auto;
  }
}

.footer-main-block {
  background: #14213d !important;
  background-image: none !important;
  color: #edf2fa;
}

.footer-block { padding: 42px 0 36px !important; }
.footer-heading { color: #fff !important; }
.footer-widget p, .footer-widget li { color: #d9e2f1 !important; }
.footer-widget a { color: #fff !important; }
.footer-widget a:hover { color: #ffb09b !important; }

@media (max-width: 767px) {
  .logo {
    height: auto !important;
    justify-content: center;
    padding: 8px 0;
  }

  .logo img { max-width: 90vw !important; width: 220px !important; }
}
