#wrapper {
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}




/* HEADER ================================================== */
.subnav-hero-section {
  padding:10px 10px 0;
  text-align: center;
  background: #1779ba;
  background-size: cover;
  position: relative;
  overflow: visible;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  min-height: 300px;
}

.subnav-hero-section .logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}


.subnav-hero-section .subnav-hero-headline {
  color: #fefefe;
}

.subnav-hero-subnav {
  float: none;
  text-align: center;
  width: 100%;
}

.subnav-hero-subnav li {
  float: none;
  display: inline-block;
}

.subnav-hero-subnav li a {
  padding: 0.9rem 1rem;
  font-size: 0.75rem;
  color: #fefefe;
  text-transform: uppercase;
  display: block;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.35s ease-in-out;
}

.subnav-hero-subnav li a.is-active {
  background: rgba(254, 254, 254, 0.15);
}

.subnav-hero-subnav li a:hover {
  background: rgba(254, 254, 254, 0.15);
}

.dropdown.menu>li>a{
  padding:1rem;
}

.dropdown.menu .is-active>a {
  background: rgba(254, 254, 254, 0.15);
  color: #ffeb3b;
}

.dropdown.menu.vertical>li.opens-right>a::after {
  border-color: #3f6bb5 transparent transparent transparent !important;
}

.subnav-hero-subnav li li a {
  color: #0078bd;
}

.subnav-hero-subnav li li a.is-active {
  color: #03A9F4;
}

.top-bar{
  padding:0;
}

.top-bar,
.top-bar ul {
  background-color: transparent;
}

.top-bar ul ul {
  background: #fff;
}

.dropdown.menu.vertical>li.opens-right>a::after {
  border-color: #fff transparent transparent transparent !important;
}

.dropdown.menu>li.is-active>a {
  color: #fff;
}

.dropdown.menu .is-active>a{
  color:#1779ba;
}


/* OTHER ====================================================*/
pre {
  background: #eee;
  padding: 16px;
  border-radius: 10px;
  box-shadow: inset 2px 1px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  font-size: 14px;
}
code {
    border: 1px solid #cacaca;
}
code[class*="language-"], pre[class*="language-"] {
   font-size: 0.9em;
   line-height: 1.3;
   border: none;
}


/* FOOTER ================================================== */
.marketing-site-footer {
  background: #2c3840;
  color: #8aa0ae;
  padding: 2rem 0 0;
}

.marketing-site-footer>.grid-x {
  margin-bottom: 1rem;
}

@media screen and (max-width: 39.9375em) {
  .marketing-site-footer .cell {
    margin-bottom: 2rem;
  }
}

.marketing-site-footer-bottom {
  background: #020304;
  padding: 1rem 0;
}

.marketing-site-footer-bottom p,
.marketing-site-footer-bottom .menu {
  margin-bottom: 0;
}

.marketing-site-footer-bottom .marketing-site-footer-bottom-links {
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.marketing-site-footer-bottom .marketing-site-footer-bottom-links a {
  color: #8aa0ae;
}

@media screen and (max-width: 63.9375em) {
  .marketing-site-footer-bottom .marketing-site-footer-bottom-links {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media screen and (max-width: 63.9375em) {

  .subnav-hero-section{
    min-height: 0;
  }

  .logo img{
    max-width: 70px;
  }

  .logo h1{
    font-size:1.5rem;
  }

  .marketing-site-footer-bottom {
    text-align: center;
  }
}

@media screen and (max-width: 40em) {

  .menu-holder{
    background:#000;
    padding:10px;
    margin:0 auto;
    width:50px;
  }

  .subnav-hero-section{
    display:block;
  }
  #nav{
    margin:0 auto;
  }

  .logo img{
    max-width: 50px;
  }

  .logo h1{
    font-size:1.3rem;
  }

  .top-bar{
    width:100%;
    display:block !im;
  }
  .dropdown.menu.medium-horizontal>li.opens-right>.is-dropdown-submenu {
    top: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

}