/**
 * Default clearfix implementation.
 *
 * @usage
 *    .box {
 *      @include clearfix;
 *    }
 */
/**
 * Casts a string into a number.
 *
 * @param {string} $value
 *    Tje string to cast to a number.
 * @return {$number}
 *    The value as number.
 */
/**
 * Split a string into a list of strings.
 *
 * @param {string} $string
 *    Tje string to be split.
 * @param {string} $delimiter
 *    The boundary string.
 * @return {list} $result
 *    The result list.
 */
.scp-header--placeholder {
  height: 70px;
}
@media (min-width: 767px) {
  .scp-header--placeholder {
    height: 135px;
  }
}

.scp-header {
  position: fixed;
  top: calc(var(--gin-toolbar-height, 0px) + var(--gin-toolbar-secondary-height, 0px));
  left: calc(var(--gin-toolbar-x-offset, 0px));
  z-index: 502;
  width: 100%;
  height: 70px;
}
@media (min-width: 767px) {
  .scp-header {
    height: auto;
    max-height: 135px;
  }
}
.scp-header .header-fixed-wrapper {
  left: calc(var(--gin-toolbar-x-offset, 0px));
  width: calc(100% - var(--gin-toolbar-x-offset, 0px));
  background: #fff;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  -webkit-transition: height 300ms ease-out;
  -o-transition: height 300ms ease-out;
  transition: height 300ms ease-out;
  height: 70px;
}
.header-small .scp-header .header-fixed-wrapper {
  height: 70px;
}
@media (min-width: 767px) {
  .scp-header .header-fixed-wrapper {
    height: 135px;
  }
  .header-small .scp-header .header-fixed-wrapper {
    height: 70px;
  }
}
.toolbar-fixed .scp-header .header-fixed-wrapper {
  top: unset;
}
.scp-header .header-bar {
  margin: 0 auto;
  height: 100%;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (min-width: 767px) {
  .scp-header .header-bar {
    max-width: 1500px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.scp-header .logos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
      align-self: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (min-width: 767px) {
  .scp-header .logos {
    -ms-flex-item-align: center;
        align-self: center;
    top: calc(1rem - 2px);
    left: 13px;
  }
}
.scp-header .logos img {
  -webkit-transition: height 300ms ease-out, opacity 300ms ease-out;
  -o-transition: height 300ms ease-out, opacity 300ms ease-out;
  transition: height 300ms ease-out, opacity 300ms ease-out;
}
.scp-header .logos .scp-link {
  min-height: 2rem;
  position: relative;
  -ms-flex-negative: 1;
      flex-shrink: 1;
  width: auto;
}
.scp-header .logos .scp-link img {
  height: 38px;
}
@media (min-width: 767px) {
  .scp-header .logos .scp-link img {
    height: 52px;
  }
  .header-small .scp-header .logos .scp-link img {
    height: 38px;
    margin-bottom: 0;
  }
}
.scp-header .logos .bmwsb-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 18px;
  position: relative;
  -ms-flex-negative: 1;
      flex-shrink: 1;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: 48px;
  -webkit-transition: width 300ms ease-out;
  -o-transition: width 300ms ease-out;
  transition: width 300ms ease-out;
}
@media screen and (min-width: 400px) {
  .scp-header .logos .bmwsb-link {
    margin-right: 18px;
  }
}
@media (min-width: 767px) {
  .scp-header .logos .bmwsb-link {
    width: 231px;
  }
  .header-small .scp-header .logos .bmwsb-link {
    width: 48px;
  }
}
.scp-header .logos .bmwsb-link .eagle {
  width: auto;
  height: 34px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (min-width: 767px) {
  .scp-header .logos .bmwsb-link .eagle {
    height: 34px;
  }
  .header-small .scp-header .logos .bmwsb-link .eagle {
    height: 34px;
  }
}
.scp-header .logos .bmwsb-link .flag {
  height: 34px;
  width: 6px;
  -ms-flex-item-align: stretch;
      align-self: stretch;
  margin-left: 6px;
  margin-right: 10px;
  margin-top: 2px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (min-width: 767px) {
  .scp-header .logos .bmwsb-link .flag {
    height: 80px;
  }
  .header-small .scp-header .logos .bmwsb-link .flag {
    height: 34px;
  }
}
.scp-header .logos .bmwsb-link .text {
  width: auto;
  margin-top: 2px;
  height: 0;
  opacity: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (min-width: 767px) {
  .scp-header .logos .bmwsb-link .text {
    height: 44px;
    opacity: 1;
  }
  .header-small .scp-header .logos .bmwsb-link .text {
    height: 0;
    opacity: 0;
  }
}
.scp-header .menu-bar {
  margin-bottom: 0rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  height: 100%;
}
@media (min-width: 767px) {
  .scp-header .menu-bar {
    -ms-flex-item-align: end;
        align-self: end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: visible;
  }
}
.scp-header .menu-bar a.toggle-offcanvas-menu {
  margin: 0 0.5rem;
}
@media (min-width: 1280px) {
  .scp-header .menu-bar a.toggle-offcanvas-menu[class*=is-] {
    display: none;
  }
}
.scp-header .menu-bar > .header--offcanvas_menu_wrapper > nav {
  display: none;
}
@media (min-width: 1280px) {
  .scp-header .menu-bar > .header--offcanvas_menu_wrapper {
    display: block;
  }
  .scp-header .menu-bar > .header--offcanvas_menu_wrapper > nav {
    display: block;
  }
}
.scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > nav {
  display: block;
  position: absolute;
  left: 0;
  top: 70px;
  background: #fff;
  width: 100%;
  min-width: 360px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.5rem 1rem;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  -webkit-transition: top 300ms ease-out;
  -o-transition: top 300ms ease-out;
  transition: top 300ms ease-out;
  height: calc(100vh - 70px - 3.4rem - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  height: calc(100dvh - 70px - 3.4rem - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
}
@media (min-width: 767px) {
  .scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > nav {
    top: 135px;
    right: 0;
    width: auto;
    height: calc(100vh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
    height: calc(100dvh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  }
}
@media (min-width: 1280px) {
  .scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > nav {
    top: 135px;
    left: 0;
    width: auto;
    height: calc(100vh - 135px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
    height: calc(100dvh - 135px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  }
}
.header-small .scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > nav {
  top: 70px;
  height: calc(100vh - 70px - 3.4rem - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  height: calc(100dvh - 70px - 3.4rem - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
}
@media (min-width: 767px) {
  .header-small .scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > nav {
    top: 70px;
    height: calc(100vh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
    height: calc(100dvh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  }
}
@media (min-width: 1280px) {
  .header-small .scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > nav {
    top: 70px;
    height: calc(100vh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
    height: calc(100dvh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  }
}
.scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > nav:before {
  content: "";
  position: absolute;
  left: 0;
  top: -1rem;
  width: 100%;
  height: 1rem;
  background: #fff;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  z-index: 503;
}
.scp-header .menu-bar > .header--offcanvas_menu_wrapper .header--offcanvas_meta_wrapper {
  display: none;
  background: #fff;
  padding: 0;
  opacity: 1;
  -webkit-transition: opacity 300ms ease-out;
  -o-transition: opacity 300ms ease-out;
  transition: opacity 300ms ease-out;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 3.4rem;
  -webkit-box-shadow: 0px -1px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px -1px 6px rgba(0, 0, 0, 0.1607843137);
}
@media (min-width: 767px) {
  .scp-header .menu-bar > .header--offcanvas_menu_wrapper .header--offcanvas_meta_wrapper {
    display: block;
    position: absolute;
    left: auto;
    top: auto;
    right: 0.75rem;
    bottom: 5rem;
    padding: 0;
    width: auto;
    height: auto;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .header-small .scp-header .menu-bar > .header--offcanvas_menu_wrapper .header--offcanvas_meta_wrapper {
    opacity: 0;
    pointer-events: none;
  }
}
.scp-header .menu-bar > .header--offcanvas_menu_wrapper.open > .header--offcanvas_meta_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-left: 0.5rem;
}
.scp-header .menu-bar h2 {
  display: none;
}
.scp-header .menu-bar ul.header--toggle-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.scp-header .menu-bar ul.header--toggle-menu li:last-child {
  margin-right: 0;
}
.scp-header .menu-bar li {
  margin-left: 0.25rem;
}
@media screen and (min-width: 360px) {
  .scp-header .menu-bar li {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}
.scp-header .menu-bar a {
  text-decoration: none;
  padding: 0 0.15rem;
  text-transform: uppercase;
  color: #444444;
  font-size: 0.87rem;
  position: relative;
  z-index: 504;
}
.scp-header .menu-bar a:hover, .scp-header .menu-bar a:focus-visible {
  color: #05598C;
  text-decoration: none;
}
.scp-header .menu-bar a:hover span, .scp-header .menu-bar a:focus-visible span {
  color: #05598C;
  text-decoration: none;
}
.scp-header .menu-bar a:after, .scp-header .menu-bar a:hover:after, .scp-header .menu-bar a:focus:after {
  margin-left: 0;
  vertical-align: text-top;
  border: none;
}
.scp-header .menu-bar a[class*=is-] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: calc(70px - 0.3rem);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 0.3rem solid transparent;
}
.scp-header .menu-bar a[class*=is-].open, .scp-header .menu-bar a[class*=is-]:hover, .scp-header .menu-bar a[class*=is-]:focus-visible {
  color: #05598C;
  text-decoration: none;
}
.scp-header .menu-bar a[class*=is-]:after {
  display: inline-block;
  font-size: 1.5rem;
  width: 1em;
}
@media (min-width: 767px) {
  .scp-header .menu-bar a[class*=is-]:after {
    font-size: 1.4rem;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    -ms-flex-item-align: center;
        align-self: center;
  }
}
.user-logged-in .scp-header .toggle-offcanvas-user .indicator {
  position: absolute;
  right: -0.75rem;
  top: 0.45rem;
}
.user-logged-in .scp-header .toggle-offcanvas-user.is-close_small .indicator {
  display: none;
}
.user-logged-in .scp-header .toggle-offcanvas-user:hover, .user-logged-in .scp-header .toggle-offcanvas-user:active, .user-logged-in .scp-header .toggle-offcanvas-user:focus {
  color: #05598C;
}
.user-logged-in .scp-header .toggle-offcanvas-user:hover .indicator, .user-logged-in .scp-header .toggle-offcanvas-user:active .indicator, .user-logged-in .scp-header .toggle-offcanvas-user:focus .indicator {
  color: #fff;
}
.scp-header .header--offcanvas_user_wrapper {
  -ms-flex-item-align: baseline;
      align-self: baseline;
  display: none;
  background: #fff;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  overflow: auto;
  position: absolute;
  left: 0;
  top: 70px;
  -webkit-transition: top 300ms ease-out;
  -o-transition: top 300ms ease-out;
  transition: top 300ms ease-out;
  width: 100%;
  max-height: calc(100vh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  max-height: calc(100dvh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  z-index: 102;
}
@media (min-width: 767px) {
  .scp-header .header--offcanvas_user_wrapper {
    position: absolute;
    left: unset;
    right: 0;
    top: 135px;
    width: 40rem;
    padding: 1rem 1.5rem 2rem 1.5rem;
    height: auto;
    max-height: calc(100vh - 135px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
    max-height: calc(100dvh - 135px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  }
  .scp-header .header--offcanvas_user_wrapper.single-level {
    width: 17rem;
  }
  .header-small .scp-header .header--offcanvas_user_wrapper {
    top: 70px;
    max-height: calc(100vh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
    max-height: calc(100dvh - 70px - var(--gin-toolbar-secondary-height, 0px) - var(--gin-toolbar-height, 0px));
  }
}
.scp-header .header--offcanvas_user_wrapper > div {
  padding: 1rem 1rem;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
@media (min-width: 767px) {
  .scp-header .header--offcanvas_user_wrapper > div {
    padding: 0;
    height: auto;
    overflow: hidden;
  }
}
.scp-header .header--offcanvas_user_wrapper:before {
  content: "";
  position: absolute;
  left: 0;
  top: -1rem;
  width: 100%;
  height: 1rem;
  background: #fff;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
}
.scp-header .header--offcanvas_user_wrapper.open {
  display: block;
}
.scp-header .header--offcanvas_user_wrapper .header--offcanvas_menu--footer,
.scp-header .header--offcanvas_user_wrapper .header--offcanvas_aeg--footer {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 767px) {
  .scp-header .header--offcanvas_user_wrapper .header--offcanvas_menu--footer,
  .scp-header .header--offcanvas_user_wrapper .header--offcanvas_aeg--footer {
    padding-top: 1rem;
    border-top: 3px solid #EDEFF8;
  }
}
.scp-header .header--search_overlay {
  -ms-flex-item-align: baseline;
      align-self: baseline;
  position: absolute;
  right: 0;
  overflow: hidden;
  display: none;
  width: 100%;
  max-width: 30rem;
  background: #fff;
  padding: 1rem 1rem;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  top: 70px;
  -webkit-transition: top 300ms ease-out;
  -o-transition: top 300ms ease-out;
  transition: top 300ms ease-out;
  margin-top: 0;
}
.scp-header .header--search_overlay:before {
  content: "";
  position: absolute;
  left: 0;
  top: -1rem;
  width: 100%;
  height: 1rem;
  background: #fff;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
}
.scp-header .header--search_overlay:after {
  content: "";
  position: absolute;
  left: -6px;
  top: calc(-1rem - 2px);
  width: calc(100% + 12px);
  height: calc(1rem + 2px);
  background: #fff;
}
.scp-header .header--search_overlay .contextual {
  display: none;
}
.scp-header .header--search_overlay .container {
  padding: 0;
  max-width: 100%;
}
@media (min-width: 767px) {
  .scp-header .header--search_overlay {
    top: 135px;
    padding: 1.5rem 1.5rem;
  }
  .header-small .scp-header .header--search_overlay {
    top: 70px;
  }
}
.scp-header .header--search_overlay.open {
  display: block;
}
.scp-header .header--search_overlay .views-exposed-form {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  background: none;
}
.scp-header .header--search_overlay form .form--inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  width: 100%;
}
.scp-header .header--search_overlay label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.scp-header .header--search_overlay .form-item {
  width: 100%;
  padding-right: 1rem;
}
.scp-header .header--search_overlay .form-item, .scp-header .header--search_overlay .form-actions {
  margin: 0 !important;
}
.scp-header .header--search_overlay input, .scp-header .header--search_overlay button {
  width: 100% !important;
  margin: 0 !important;
  height: 100%;
}
.scp-header .header--search_overlay input[id*=reset], .scp-header .header--search_overlay button[id*=reset] {
  display: none;
}
.scp-header .header--search_overlay input[type=submit], .scp-header .header--search_overlay button[type=submit] {
  text-transform: uppercase;
  margin: 0.25rem 0;
  padding: 0.6rem 0.75rem 0.6rem 0.75rem;
  background-color: #05598C;
  color: #fff;
}
.scp-header .header--search_overlay input[type=submit] svg, .scp-header .header--search_overlay button[type=submit] svg {
  fill: #fff;
}
.scp-header .header--search_overlay input[type=submit]:hover, .scp-header .header--search_overlay input[type=submit]:focus, .scp-header .header--search_overlay button[type=submit]:hover, .scp-header .header--search_overlay button[type=submit]:focus {
  background-color: #E7F0D4;
  color: #4F6325;
  border-color: #4F6325;
}
.scp-header .header--search_overlay input[type=submit]:hover svg, .scp-header .header--search_overlay input[type=submit]:focus svg, .scp-header .header--search_overlay button[type=submit]:hover svg, .scp-header .header--search_overlay button[type=submit]:focus svg {
  fill: #4F6325;
}
.scp-header .header--search_overlay input[type=submit].is-disabled, .scp-header .header--search_overlay input[type=submit][disabled], .scp-header .header--search_overlay button[type=submit].is-disabled, .scp-header .header--search_overlay button[type=submit][disabled] {
  background-color: #0378A3;
  opacity: 0.8;
}
.scp-header .header--search_overlay input[type=submit] i::before, .scp-header .header--search_overlay button[type=submit] i::before {
  font-size: 1rem;
}

.search-api-autocomplete-search {
  z-index: 503;
}

.toolbar-horizontal .gin-secondary-toolbar--frontend {
  z-index: 504;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(70px + var(--gin-toolbar-secondary-height, 0px)) !important;
}
@media (min-width: 767px) {
  html {
    scroll-padding-top: calc(135px + var(--gin-toolbar-secondary-height, 0px)) !important;
  }
}