/* Layout */
.header__container {
  position: relative;
}

.header__wrapper {
  align-items: center;
  display: flex;
  margin: 0 auto;
}

.header__top {
  padding: 0.7rem 20px;
}

.header__bottom {
  padding: 20px;
}

@media (max-width: 767px) {
  .header__top {
    display: none;
  }

  .header__bottom {
    padding: 20px;
  }
}

/* Layout - HCE Special */

//Overwrite the theme settings for form:
.search:hover {
  border: 3px solid #FF0000 !important;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  background-color: rgba(3, 3, 3, 0.0);
  color: #425b76;
}

.top-head-cta {
  padding: 0.7em 2em;
  border-radius:4px;
  background: #c83337;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  border-bottom: 3px solid #942729;
  font-size: 14px;
  font-weight:700;
  min-width:13em;
}

/* Search button */
.skc-search-field {
  position: relative;
  flex: 1;
  max-width: 25em;
  min-width: 13em;
  border: 1px solid #ccc;
}

.skc-search-field form {
  margin: 0;
  display: block;
}
.skc-search-field__bar form {
  padding: 0!important;
}
.skc-search-field__suggestions {
  margin: 1px 0 0;
  padding: 5px 10px;
  list-style: none;
  position: absolute;
  top: 100%;
  right: -1px;
  left: -1px;
  z-index: 9999;
  background-color: #fff;
  text-align: left;
  padding: 0 !important;
}

.skc-search-field input[type="submit"] {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 32px !important;
  bottom: 0;
  border: none;
  margin: 0;
  background: none;
  border: 0px !important;
}

.skc-search-field svg {
  display: block;
  position: absolute;
  right: 0;
  top: 9px;
  width: 32px;
  line-height: 32px;
  text-align: center;
}
/* End search */

.top-head-cta:hover {
  background: #b12f32;
  text-decoration: none;
  font-weight:700;
}

.header__right-col {
  display:flex;
  flex:1;
  align-items: center;
  justify-content: end;
  gap:1em;
}

.top-head-cta img {
  height: 13px;
  width: auto;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

header.header__container--centre {
  display:flex;
  align-items: center;
  justify-content: center;
}

.header__container--centre .header__above__container {
  flex-basis: 1140px;
  margin: 0 10px;
  display: flex;
  justify-content: space-between;
  padding: 1em 0;
  align-items:center;
  gap: 3em;
}

.header__logo-image {
  min-width:300px;
}

.header__container--centre .header__language-switcher-col {
  margin-left: auto;
}

.header__container--centre .header__bottom {
  background-color: #a6ce39;
}

.header__container--centre  .header__wrapper--bottom {
  justify-content: space-between;
}

.header__container--centre  .header__menu-col {
  margin-left: auto;
  text-align: center;
}

.header__container--centre  .header__button-col {
  margin-left: 1rem;
}

.header__bottom {
  padding: 10px !important;
}

@media (min-width: 767px) {  
  .header__container--centre  .header__menu-col {
    flex: 2 0 0;
  }
}

@media (max-width: 767px) {  

  .header__container--centre .header__above__container {
    flex-direction: column;
    gap: 1em;
  }

  .header__logo img {
    max-width: 220px !important;
    min-width: 100px;
  }

  .header__right-col {
    flex: 0;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
  }

  .skc-search-field {
    max-width: 10em;
    min-width: 10em;
  }
}

/* Layout - left */

.header__container--left .header__language-switcher-col {
  margin-left: auto;
}

.header__container--left .header__wrapper--bottom {
  justify-content: space-between;
}

.header__container--left .header__menu-col {
  margin-left: auto;
  text-align: right;
}

.header__container--left .header__button-col {
  margin-left: 1rem;
}

@media (min-width: 767px) {  

  .header__container--left .header__menu-col {
    flex: 2 0 0;
  }
}



/* Layout - centered */

.header__container--centered .header__button-col {
  margin-left: auto;
}

.header__container--centered .header__wrapper--bottom {
  flex-wrap: wrap;
  text-align: center;
}

.header__container--centered .header__logo-col {
  margin-bottom: 1.4rem;
  width: 100%;
}

.header__container--centered .header__menu-col {
  width: 100%;
}

@media (max-width: 767px) {
  .header__container--centered .header__wrapper--bottom {
    justify-content: space-around;
    text-align: left;
  }

  .header__container--centered .header__logo-col,
  .header__container--centered .header__menu-col {
    margin-bottom: 0;
    width: auto;
  }
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  position: relative;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

/* Language switcher - top level menu item */

.header__language-switcher-label {
  display: flex;
}

.header__language-switcher-current-label {
  align-items: center;
  display: flex;
  margin-bottom: 5px;
  margin-left: 0.5rem;
}

.header__language-switcher-child-toggle svg {
  height: 12px;
  margin-left: 0.35rem;
  width: 12px;
}

/* Language switcher - submenu */

.header__language-switcher .lang_list_class {
  display: block;
  left: auto;
  opacity: 0;
  padding: 0;
  position: absolute;
  right: 0;
  text-align: left;
  top: 100%;
  transform: none;
  visibility: hidden;
  width: 200px;
  z-index: 99;
}

.header__language-switcher-label--open .lang_list_class,
.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  visibility: visible;
}

.header__language-switcher .lang_list_class:after,
.header__language-switcher .lang_list_class:before {
  content: none;
}

.header__language-switcher .lang_list_class li {
  border: none;
  margin: 0;
  padding: 0;
}

.header__language-switcher .lang_list_class li:first-child {
  border-top: none;
  padding-top: 0;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.header__language-switcher .lang_list_class .lang_switcher_link {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  width: 100%;
}

@media (max-width: 767px) {
  
  .header__language-switcher .lang_list_class {
    border: none;
    display: none;
    position: static;
    width: 100%;
  }

  .header__language-switcher-label--open .lang_list_class {
    display: block;
  }

  .header__language-switcher-current-label {
    display: block;
    margin: 0;
    order: 1;
    padding: 1rem 0 0.2rem 0.7rem;
    width: 80%;
  }

  .header__language-switcher .globe_class {
    height: auto;
    width: 100%;
  }

  .header__language-switcher-label {
    display: flex;
    flex-wrap: wrap;
  }
}

/* Language switcher - icons */

@media (max-width: 767px) {
  .header__language-switcher-child-toggle,
  .header__language-switcher-child-toggle:hover,
  .header__language-switcher-child-toggle:focus,
  .header__language-switcher-child-toggle:active {
    border: 0;
    cursor: pointer;
    padding: 16px 30px;
    position: absolute;
    right: 0;
    top: 0;
  }

  .header__language-switcher-child-toggle svg {
    margin-left: 0;
  }

  .header__language-switcher-child-toggle--open svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    transition: transform 0.4s;
  }
}

/* Logo */

.header__logo {  
  /* Set logo max width to avoid huge logo squishing menu items */
  max-width: 300px; 
}

.header__logo img {
  height: auto;
  max-width: 100%;
}

/* Menu */

.header__menu-container--mobile {
  display: none;
}

.header__menu--mobile {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  width: 100%;
  z-index: 99;
}

@media (max-width: 767px) {
  .header__menu--desktop {
    display: none;
  }

  .header__menu-container--mobile {
    display: block;
  }

  .header__menu--show {
    display: block;
  }

  .header__menu-item--depth-1 > .header__menu-link:not(.button) {
    color: #000000;
  }

  .header__menu-item--depth-1 .header__menu-child-toggle svg {
    color: #000000;
  }

  .header__menu-item--depth-1 .header__menu-child-toggle svg {
    fill: #000000;
  }
}

/* Menu items */

.header__menu-item {
  display: inline-flex;
  position: relative;
  cursor: pointer !important;
}

.header__menu-link {
  width: 100%;
}

@media (max-width: 767px) {
  .header__menu-item {
    display: block;
    text-align: left;
    width: 100%;
  }

  .header__menu-link {
    display: block;
    padding: 0.4rem 0.7rem; 
  }

  .header__menu-item--has-submenu .header__menu-link {
    width: 80%;
  }
}

/* Menu items - top level */

.header__menu-item--depth-1 {
  padding: 0 0.5rem;
}

@media (max-width: 900px) {
  .header__menu-item--depth-1 {
    padding: 0;
  }
}

/* Menu items - submenus */

.header__menu-submenu {
  display: none;
  left: -1px;
  position: absolute;
  text-align: left;
  top: 100%;
  width: 290px;
  z-index: 99;
}

.header__menu-item--open > .header__menu-submenu {
  display: block;
}

.header__menu-item--depth-1:last-child > .header__menu-submenu {
  left: auto;
  right: 0;
}

.header__menu-submenu--level-3 {
  left: 100%;
  top: 0;
}

.header__menu-item--depth-1:nth-last-child(-n + 2) .header__menu-submenu--level-3 {
  left: auto;
  right: 100%;
  top: 0;
}

.header__menu-submenu .header__menu-item {
  background-color: inherit;
  width: 100%;
}

.header__menu-submenu .header__menu-link {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
}

.header__menu-item--button {
  padding: 0.2rem 0.7rem;
}

@media (max-width: 767px) {
  .header__menu-submenu,
  .header__menu-submenu--level-3,
  .header__menu-item--depth-1:nth-last-child(-n + 2) .header__menu-submenu--level-3 {
    border: none;
    position: static;
    width: 100%;
  }

  .header__menu-item--depth-2 > .header__menu-link {
    margin-left: 20px;
  }

  .header__menu-item--depth-3 > .header__menu-link {
    margin-left: 40px;
  }
  .header__menu-item--depth-5 > .header__menu-link,
  .header__menu-item--depth-6 > .header__menu-link,
  .header__menu-item--depth-7 > .header__menu-link,
  .header__menu-item--depth-8 > .header__menu-link,
  .header__menu-item--depth-9 > .header__menu-link,
  .header__menu-item--depth-10 > .header__menu-link {
    margin-left: 40px;
  }
}

/* Menu icons */

@media (min-width: 767px) {
  .header__menu-submenu .header__menu-child-toggle {
    margin-left: auto;
    padding: 0.2rem 0.7rem;
  }
}

.header__menu-child-toggle svg {
  height: 12px;
  margin-left: 0.5rem;
  width: 12px;
}

.header__menu-toggle {
  display: none;
}

.header__menu-toggle svg {
  height: 30px;
  width: 30px;
}

@media (max-width: 767px) {
  .header__menu-child-toggle,
  .header__menu-child-toggle:hover,
  .header__menu-child-toggle:focus,
  .header__menu-child-toggle:active {
    border: 0;
    cursor: pointer;
    padding: 16px 30px;
    position: absolute;
    right: 0;
    top: 0;
  }

  .header__menu-child-toggle svg {
    margin-left: 0;
  }

  .header__menu-child-toggle--open svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    transition: transform 0.4s;
  }

  .header__menu-toggle--show {
    display: block;
  }
}

/* Position */
header.header__fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
}


/* .skc-search-field__suggestions {

  padding: 0 !important;}

.fixed-header{ position: fixed !important; top: 0;left: 0; width: 100%;min-height:50px; }
.navbar-collapse {overflow-x: hidden;}
.mobile-open .fixed-header {overflow-y: auto;max-height: 100vh;}
.leadinModal--open .header-nav{margin-top:45px;}
.drop-t{margin-top:0px;}
.drop-t a {
  color: #003959 !important;
  font-size:20px;line-height:1.4em !important;
  text-transform: uppercase;margin-bottom:5px;
  font-weight: bold !important;
  padding: 0px 0px 0px !important;
  white-space: normal;border-left: 0 !important;
}
.drop-t a:hover, .drop-t a:focus{border-left:0!important;}
 */

/* .dropdown-toggle{
  overflow: hidden;
  padding-right: 24px
  text-align: left;
  text-overflow: ellipsis;    
  width: 100%;
} */

/* .top-head-cta {
  margin: 0px 10px -14px;
} */

/* .skc-search-field { margin-top: 1em;position: relative;-webkit-flex: 0 1 438px; -ms-flex: 0 1 438px;-moz-flex: 0 1 438px;flex: 0 1 438px;width: 438px;max-width: 100%; border: 1px solid #ccc;}
.skc-search-field__suggestions a, .skc-search-field__suggestions #results-for { display: block;}
.skc-search-field__suggestions #results-for { font-weight: bold;}
.skc-search-field form {margin: 0;display: block;}
.skc-search-field__input {box-sizing: border-box;width: 100%;border: none;padding: 5px 10px;}
.skc-search-field .glyphicon {display: block;position: absolute;top: 0;right: 0;bottom: 0;width: 32px;line-height: 32px;text-align: center;}
.skc-search-field input[type="submit"] { display: block;position: absolute;top: 0; right: 0;width: 32px !important;bottom: 0;border: none;margin: 0;background: none;}
.skc-search-field__input:focus {outline-color: #007bc1;}
.skc-search-field__suggestions {margin: 1px 0 0;padding: 5px 10px;list-style: none;position: absolute;top: 100%;right: -1px;left: -1px;z-index: 9999;background-color: #fff;    text-align: left;}
.skc-search-field--open .skc-search-field__suggestions { border: 1px solid #000;} */

/* @media(max-width:1500px){
  /* .navbar-nav > li:first-child > .dropdown-menu {height: 500px;overflow-y: scroll;} */
/* } */
/* @media(max-width:1400px){ */
  /* .navbar-nav > li:first-child > .dropdown-menu {height: 400px;overflow-y: scroll;} */
/* } */

/* @media (max-width: 767px){

  div#test-popup,div#test-popup2 {padding: 2em 1.5em;}
  div#test-popup input[type="submit"],
  div#test-popup2 input[type="submit"]{margin-left:auto !important;margin-right:auto !important}
  .skc-search-field { margin: 1.5em auto 0;}
} */