/* Lato 400 (Google Fonts v25) — latin-ext subset */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato 400 (Google Fonts v25) — latin subset */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Apply Lato site-wide. template.css reads these vars for body text
 * (via --body-font-family) and headings.
 */
:root {
  --cassiopeia-font-family-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --cassiopeia-font-family-headings: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/**
 * Submenu dropdown fix.
 * Core media/mod_menu/js/menu.js toggles .show-menu + aria-hidden on the
 * .mod-menu__sub <ul> when .mod-menu__toggle-sub is clicked, but
 * template.css hides ".container-header .mod-menu .parent > ul" with a
 * higher-specificity rule than core mod-menu.css's :where() display rules.
 */

.container-header .mod-menu .parent > ul.mod-menu__sub.show-menu,
.container-header .mod-menu .parent > ul.mod-menu__sub[aria-hidden="false"] {
  display: block;
}

/*
 * template.css sets .site-header { overflow: hidden }, which clips the
 * dropdown because it opens below the header's bottom edge.
 */
.scg-body .site-header,
.scg-body .site-header-menu {
  overflow: visible;
}

/* Desktop: render the open submenu as a dropdown panel */
@media (min-width: 992px) {
  .container-header .mod-menu .parent > ul.mod-menu__sub {
    /* left/transform centering under the parent item comes from colors_scg.css */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 220px;
    margin: 0;
    padding: .5rem 0;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .175);
  }

  .container-header .mod-menu .parent > ul.mod-menu__sub li {
    padding: 0;
  }
}

/* Links inside the dropdown must not inherit the white header link color */
.site-header-menu .mod-menu .mod-menu__sub a,
.container-header .mod-menu .mod-menu__sub a {
  color: #fff;
  display: block;
  padding: .375rem 1rem;
  text-decoration: none;
}

.container-header .mod-menu .mod-menu__sub a:hover,
.container-header .mod-menu .mod-menu__sub li.active > a {
  /* background: #f0f4fb;
  text-decoration: none; */
}
.btn.btn-primary {  
    display: inline-block;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe5e5e5', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
    border: 1px solid #bbb;
    border-bottom-color: #a2a2a2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
}
.container-header .mod-menu .parent > ul.mod-menu__sub {
    background-color: #9f9f89;
    color: #fff !important;
}
.container-header .mod-menu > li:after {
    height: 0px !important;
  }

  button.mod-menu__toggle-sub {
  display: none;
  }

/*
 * Registration form, Payment Information: keep the amount input and the
 * currency suffix (CHF) on one row with equal height. style.css caps the
 * .osm-addon-container at 150px while Bootstrap's .input-group wraps,
 * pushing the suffix onto a second line.
 */
.eb-form-control .input-group.osm-addon-container {
  flex-wrap: nowrap;
  width: auto;
  max-width: 220px;
  align-items: stretch;
}

.eb-form-control .input-group.osm-addon-container .form-control {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.eb-form-control .input-group.osm-addon-container .input-group-text {
  display: flex;
  align-items: center;
  padding: 0 .75rem;
}


.hasTip::after {
     content: " \f05a";
     font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
     font-weight: 900;
}

/* iPad only (portrait & landscape) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  body.scg-body header.site-header {
    overflow: hidden !important;
  }

  .header-icons .site-menu {
    right: 30px !important;
  }
  .scg-body .site-header-menu ul {
    max-width: 1000px !important;
  }
}