/**
 * Top Row
 *
 */
.main-header {
  background-color: #f9c952;
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  height: 296px;
  justify-content: space-between;
  transition: height 200ms linear;
}

.main-header.main-header--expanded {
  min-height: 346px;
}

.bg-container {
  background-color: #ffc97f;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 800px;
  z-index: -1;
}

.bg-container:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-image: linear-gradient(to bottom, rgba(255,255,255,.1), white);
}


@media (max-width: 736px) {
  .main-header.main-header--expanded {
    height: initial;
    min-height: unset;
  }
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row wrap;
  width: 100%;
}

@media (max-width: 736px) {
  .main-header {
    flex-direction: row;
    height: initial;
  }
}

/**
 * Logo
 *
 */
.logo-container {
  margin: 0;
  max-width: 1140px;
  padding: 10px 0;
  width: 229px;
}

@media (min-width: 1024px) {
  .logo-container {
    padding: 50px 0 20px 0;
  }
}

@media (min-width: 1024px) and (max-width: 1065px) {
  .main-header.main-header--expanded {
    min-height: 420px;
  }
}

.main-header .logo-img {
  width: 229px;
  height: 170px;
}

@media (max-width: 736px) {
  .main-header .logo-img {
    width: 110px;
    height: initial;
  }
}

.logo-img {
  height: 100%;
}

.logo {
  text-align: center;
}

@media (max-width: 736px) {
  .logo {
    height: 80px;
  }

  .logo-container {
    margin: 0 auto;
    padding: 0 0 10px;
  }
}

/**
 * Nav menu
 *
 * Blue nav menu below top header row on desktop. On mobile,
 * blue panel sliding from left.
 */
.mobile-nav-menu {
  display: none;
}

.nav {
  background: #29a7ed;
  display: flex;
  height: 50px;
  justify-content: space-between;
  overflow: hidden;
  padding: 0 5%;
  width: 100%;
}

@media (min-width: 1265px) {
  .nav {
    padding: 0 calc((100vw - 1140px) / 2);
  }

  .header-ad {
	padding-right:50px;
  }
}

.nav-container {
  background-color: #29a7ed;
  color: #fff;
  display: flex;
  flex: 0 1 auto;
  height: 50px;
  justify-content: space-between;
}

.nav-container a:hover,
.nav-container .active {
  color: #ffaa19;
}

.nav-links {
  font-size: 15px;
  font-weight: 600;
  line-height: 50px;
}

.nav-links li {
  margin: 0 10px;
  cursor: pointer;
}

.nav-links li:first-child {
  margin-left: 0;
}

.nav-links li:nth-child(2) {
  min-width: 112px;
}

.nav-btn {
  display: none;
}

@media (max-width: 736px) {
  .nav-container {
    display: block;
    height: initial;
    order: 1;
    margin-top: 10px;
  }

  .nav-container > li {
    line-height: initial;
    padding: 15px 45px;
    margin: 0;
  }

  .nav {
    background-color: #29a7ed;
    box-shadow: 7px -7px 4px 4px rgba(0, 0, 0, 0.17);
    color: #fff;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
    height: 100vh;
    left: 0;
    min-width: 270px;
    overflow: scroll;
    padding: 52px 0;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform 200ms;
    width: 85vw;
    z-index: 101;
    justify-content: flex-start;
  }

  .nav.show {
    transform: translateX(0);
  }

  .nav-btn {
    display: block;
  }
}

/**
 * Show Info subnav
 *
 * Reveals show info single pages
 */
.show-info-sub-nav {
  background-color: #fff;
  color: #262626;
  display: block;
  flex-grow: 1;
  font-size: 14px;
  font-weight: 600;
  height: 50px;
  line-height: 50px;
  padding: 0 5%;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 200ms linear, z-index 200ms step-start;
  width: 100%;
  z-index: -1;
}

.show-info-sub-nav.show-sub-nav {
  transform: none;
  transition: transform 200ms linear, z-index 200ms step-end;
  z-index: 1;
  background-color: #edf6fd;
}

@media (min-width: 1265px) {
  .show-info-sub-nav {
    padding: 0 calc((100vw - 1140px) / 2);
  }
}

.show-info-links {
  display: flex;
  width: 100%;
}

.show-info-links li .active {
  color: #1f89b5;
}

.show-info-links > li {
  margin-right: 40px;
  text-transform: uppercase;
}

.show-info-links a {
  white-space: nowrap;
}

.show-info-links a:hover {
  color: #1f89b5;
}

.show-info {
  min-width: 86px;
}

.mobile-show-info-links {
  display: none;
}

@media (max-width: 736px) {
  .show-info-sub-nav {
    display: none;
  }

  .mobile-show-info {
    transition: max-height 300ms cubic-bezier(0, 1, 0, 1), background-color 300ms step-end;
  }

  .show-mobile-show-info {
    background: #125a78;
    transition: max-height 500ms 0s cubic-bezier(0, 1, 0, 1), background-color 300ms step-start;
  }

  .mobile-show-info-links {
    display: flex;
    flex-flow: column nowrap;
    max-height: 0;
    overflow: hidden;
    text-transform: uppercase;
    transition: max-height 300ms;
  }

  .show-mobile-show-info .mobile-show-info-links {
    height: 100%;
    max-height: 360px;
  }

  .mobile-show-info-links > li {
    margin: 10px 0;
    padding-left: 28px;
  }
}

/**
 * Search
 *
 */
.search-container {
  align-self: center;
  display: flex;
  height: 30px;
  margin-left: 10px;
  overflow: hidden;
  position: relative;
}

.search-btn {
  background-image: url('../images/search.svg');
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  left: 0;
  position: absolute;
}

.search {
  background-color: transparent;
  border-left: none;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid white;
  color: #fff;
  display: inline-block;
  font-size: 15px;
  height: 27px;
  margin-left: 27px;
  padding: 0;
  transition: width 200ms 400ms linear, padding 200ms 400ms linear;
  width: 0;
}

.search::placeholder {
  color: #fff;
}

.search.search-expanded {
  transition: width 200ms linear, padding 200ms linear;
  width: 195px;
  padding: 0 10px 5px;
}

#search_submit {
  display: none;
}

@media (max-width: 736px) {
  .search-container {
    display: block;
    margin-left: 0;
    padding: 0 30px;
    width: 100%;
  }

  .search-btn {
    left: initial;
    margin: 0;
    position: absolute;
    right: 30px;
    top: 0;
  }

  .search {
    background-color: #125a78;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    height: 25px;
    margin: 0;
    padding: 3px 15px;
    width: 100%;
    -webkit-appearance: none;
  }

  .search.search-expanded {
    width: 100%;
    padding: 3px 15px;
  }
}

/**
 * Social icons
 *
 */
.social-icon-container {
  width: 27px;
  height: 27px;
}

.social-icon-container a {
  display: block;
  height: 100%;
  background-repeat: no-repeat;
}

.facebook {
  background-image: url('../images/FB.svg')
}

.pinterest {
  background-image: url('../images/pin.svg')
}

.twitter {
  background-image: url('../images/twit.svg')
}

.youtube {
  background-image: url('../images/YT.svg')
}

.instagram {
  background-image: url('../images/insta.svg')
}

.social-links {
  align-self: center;
  display: flex;
  flex: 1;
  height: 30px;
  padding-right: 10px;
  color: #fff;
}

.follow-live {
  margin-right: 20px;
  padding-top: 1px;
}

.desktop-social-links {
  margin-bottom: 33px;
}

.tablet-social-links {
  display: none;
}

/**
 * Mobile menu buttons
 *
 */
@media (max-width: 736px) {
  .social-links {
    border-right: 0;
    order: 2;
    justify-content: center;
    height: initial;
  }

  .bg-container {
    display: none;
  }

  .hamburger {
    cursor: pointer;
    height: 25px;
    left: 17px;
    position: absolute;
    top: 17px;
    width: 25px;
  }

  .hamburger-bar {
    background-color: #000;
    height: 3px;
    margin-bottom: 7px;
    width: 100%;
  }

  .close-btn {
    cursor: pointer;
    font-size: 29px;
    opacity: 0;
    position: fixed;
    right: 13px;
    top: 17px;
    transition: opacity 200ms;
    z-index: 10000000000000;
  }

  .nav.show + .close-btn {
    opacity: 1;
  }

  .desktop-social-links {
    display: none;
  }
}
@media (min-width: 736px) and (max-width: 1065px) {
  .tablet-social-links {
    display: flex;
    margin-left: 50px;
    margin-top: 144px;
  }

  .desktop-social-links {
    display: none;
  }
}

@media (min-width: 736px) and (max-width: 1080px) {
    .main-header {
      height: auto;
    }
}
