.header {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--light-blue);
  color: #fff;
  font-weight: 700;
  z-index: 3;
}

@media (max-width: 1200px) {
  .header {
    width: 100%;
    height: 80px;
  }
}

.ticker + .header {
  top: 25px;
}

.header:after {
  clear: both;
  content: " ";
  height: 0;
  display: block;
}

.at_top > .header {
}


.header .desktop_menu {
  display: block;
  padding: 10px 0;
}

@media (max-width: 1200px) {
  .header .desktop_menu {
    display: none;
  }
}

.header .menu_item_cont {
  text-transform: uppercase;
}

.header .dropdown .menu_item_cont {
  display: block;
}

.header .menu_item {
  display: block;
  font-size: 14px;
  padding: 15px 10px 15px 70px;
  text-decoration: none;
  color: #fff;
}

.header .menu_item.selected {
  color: var(--yellow);
}

.header .dropdown .menu_item {
  padding: 5px 25px;
  white-space: nowrap;
}

.header .menu_item:hover {
  opacity: 0.8;
}

.header .dropdown {
  position: absolute;
  top: 0;
  left: 235px;
  background: var(--light-blue);
  padding: 6px 0;
  text-align: left;
  display: none;
}

.header .dropdown.open {
  display: block;
}

.header .dropdown_wrap {
  box-sizing: border-box;
  padding: 250px 0 0;
  overflow: hidden;
  width: 800px;
  height: 100vh;
}

.header .dropdown_icon_close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  background: url('/static/avalon/images/close_white.png') center/18px no-repeat;
}

.header .submenu_item {
  text-decoration: none;
  color: #fff;
  padding: 20px 0;
  display: block;
  font-size: 25px;
}

.header .submenu_item.selected {
  color: var(--yellow);
}

.header .submenu_item:hover {
  opacity: 0.8;
}

.header .submenu_item_cont {
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 0 150px;
}

.header .subsubmenu_cont {
  margin-bottom: 50px;
}

.header .subsubmenu_item {
  text-decoration: none;
  text-transform: none;
  color: #fff;
  font-weight: 400;
  display: block;
  padding: 1em 0;
}

.header .subsubmenu_item.selected {
  color: var(--yellow);
}

.mobile_menu .menu_item {
  font-weight: bold;
}

.mobile_menu .subsubmenu_item {
  text-transform: none;
  font-weight: 400;
}


.header .subsubmenu_item:hover {
  opacity: 0.8;
}

.header .logo {
  width: 100px;
  height: auto;
  display: block;
  margin: 110px 0 40px 70px;
}

@media (max-width: 1200px) {
  .header .logo {
    float: left;
    width: 55px;
    height: auto;
    margin: 10px 0 0 20px;
  }
}


/* generic mobile margin right: 20px. compensated margin: 20px - 10px = 10px */
.menu_icon_cont {
  padding: 14px 7px;
  float: right;
  margin: 19px 14px;
  margin-right: 10px;
  display: none;
}

@media (max-width: 1200px) {
  .menu_icon_cont.active {
    display: block;
  }
}

.menu_icon {
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  width: 26px;
  height: 12px;
  box-sizing: border-box;
  display: block;
}

.menu_icon_close {
  float: right;
  margin: 19px 40px 14px 14px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  background: url('/static/avalon/images/close_white.png') center/18px no-repeat;
  display: none;
}

@media (max-width: 1200px) {
  .menu_icon_close.active {
    display: block;
  }
}


.menu_icon_close:hover {
  opacity: 0.8;
}

@media (max-width: 1200px) {
  .menu_icon_close {
    margin-right: 10px;
  }
}


.header .icon_menu {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 20px 70px;
}

@media (max-width: 1200px) {
  .header .icon_menu {
    display: none;
  }
}

.search_icon {
  box-sizing: border-box;
  display: block;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.search_icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.header .icon_menu .search_text {
  display: block;
  text-transform: uppercase; 
  text-decoration: none;
  color: #fff;
  padding-top: 15px;
  font-size: 14px;
}

.header .social_link {
  display: block;
  background: center/contain no-repeat;
  width: 25px;
  height: 20px;
  margin: 25px 0 15px;
}

.desktop_buttons_cont {
  position: absolute;
  top: 60px;
  right: 140px;
  z-index: 2;
}

@media (max-width: 1200px) {
  .desktop_buttons_cont {
    display: none;
  }
}

.desktop_buttons_cont .button {
  background: #fff;
  color: var(--light-blue);
  font-size: 16px;
  text-transform: uppercase;
  padding: 12px 15px;
  font-weight: 700;
  display: inline-block;
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  border: 3px solid var(--light-blue);
}

.desktop_buttons_cont .button:hover {
  color: var(--orange);
  border: 3px solid var(--orange);
}

.desktop_buttons_cont .contact_button {
  background: var(--orange);
  color: #fff;
  margin-left: 20px;
  border: 3px solid var(--orange);
}
.desktop_buttons_cont .contact_button:hover {
  color: var(--dark-blue);
  background: #fff;
  border: 3px solid #fff;
}


.mobile_search_icon {
  display: block;
  float: right;
  margin: 19px 0;
  display: none;
  width: 40px;
  height: 40px;
}

@media (max-width: 1200px) {
  .mobile_search_icon {
    display: block;
  }
}



.mobile_logout_icon {
  display: block;
  float: right;
  margin: 22px 0 0 10px;
  padding: 5px;
  display: none;
  width: 35px;
  height: 35px;
}

@media (max-width: 1200px) {
  .mobile_logout_icon {
    display: block;
  }
}


.mobile_menu {
  display: none;
  background: var(--light-blue);
  color: #fff;
  overflow: auto;
  margin-top: 80px;
  padding-bottom: 80px;
  min-height: calc(100vh - 80px);
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .mobile_menu.active {
    display: block;
  }
}

@media (max-width: 1200px) {
  .search_open .mobile_menu {
    display: none;
  }
}

.mobile_menu .social_link {
  display: block;
  background: center/contain no-repeat;
  width: 17px;
  height: 17px;
  margin: 15px 10px 0;
}

.mobile_menu .icon_menu {
  margin-top: 20px;
  margin-right: 20px;
  float: right;
  text-align: right;
  height: 100%;
}

.mobile_menu .mobile_menu_inner {
  padding: 20px;
  width: 500px;
  max-width: 100%;
  box-sizing: border-box;
}

.mobile_menu .menu_title {
  font-weight: 700;
  font-size: 16px;
  margin-top: 1em;
  text-underline-position: under;
  text-transform: uppercase;
}

.mobile_menu .menu_title.selected {
  color: var(--primary-yellow);
}

.mobile_menu a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.mobile_menu a:hover {
  text-decoration: underline;
}

.mobile_menu .menu_title.child {
  padding-left: 40px;
  font-weight: normal;
}


.mobile_menu .button {
  background: #fff;
  color: var(--light-blue);
  font-size: 16px;
  text-transform: uppercase;
  padding: 10px 15px;
  font-weight: 700;
  display: inline-block;
  min-width: 230px;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  border: 3px solid #fff;
}

.mobile_menu .button:hover {
  color: var(--orange);
  border: 3px solid var(--orange);
  text-decoration: none;
}

.mobile_menu .contact_button {
  background: var(--yellow);
  color: #fff;
  border: 3px solid var(--yellow);
}
.mobile_menu .contact_button:hover {
  color: var(--light-blue);
  background: #fff;
  border: 3px solid #fff;
}



.mobile_menu .buttons_cont {
  margin-top: 30px;
}





/*
 * ticker
 */

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  font-size: 14px;
  background: var(--orange);
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  height: 25px;
}

.ticker a {
  color: inherit;
}

.ticker .chunk {
  display: inline-block;
  padding: 5px 0;
}

.ticker.marquee .chunk {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  white-space: nowrap;
  padding-right: 2rem;
}

@keyframes ticker_anim {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker.marquee .chunk {
  animation: ticker_anim infinite forwards 100000ms -90000ms linear;
}

.ticker.marquee .chunk_2 {
  display: block;
  animation: ticker_anim infinite forwards 100000ms -40000ms linear;
}


.ticker .ticker_item {
  display: inline-block;
  padding-left: 20px;
}

.ticker .ticker_item:first-child {
  padding-left: 0;
}
