/* Der Schweizer staging theme for Joomla 5 Cassiopeia. */

:root {
  --cassiopeia-color-primary: #c0140c;
  --cassiopeia-color-link: #c0140c;
  --cassiopeia-color-hover: #9b1009;
  --template-bg-light: #ffffff;
  --template-text-dark: #555555;
  --template-link-color: #c0140c;
  --template-special-color: #c0140c;
  --ds-red: #c0140c;
  --ds-text: #555555;
  --ds-muted: #777777;
  --ds-nav: #f8f8f8;
  --ds-shell: 1004px;
  --ds-banner-image: url("/images/stories/random_image/groenfluh_berneralpen-2.jpg");
}

html {
  background: var(--ds-red);
}

body.site {
  margin: 0;
  background: var(--ds-red);
  color: var(--ds-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
}

a {
  color: var(--ds-red);
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #8f0f09;
}

.container-header,
.site-grid,
.footer {
  width: var(--ds-shell);
  max-width: 100%;
  margin-inline: auto;
  background: #fff;
}

.container-header {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  border: 0;
  background: var(--ds-red);
  background-image: none;
  box-shadow: none;
  overflow: visible;
}

.container-header::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 66px;
  right: max(0px, calc((100% - var(--ds-shell)) / 2));
  width: 63px;
  height: 45px;
  background: url("/images/template/muh.png") center / contain no-repeat;
  pointer-events: none;
}

.container-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 126px;
  left: 50%;
  right: auto;
  width: min(var(--ds-shell), 100%);
  height: 200px;
  transform: translateX(-50%);
  background-image: var(--ds-banner-image);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.container-header > .grid-child {
  display: block;
  max-width: none;
  width: 100%;
  padding: 0 !important;
}

.container-header.full-width > .grid-child {
  max-width: var(--ds-shell) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.container-header > .grid-child:first-child {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: var(--ds-shell) !important;
  margin: 0 auto !important;
  min-height: 326px;
  background: transparent;
}

.container-header > .grid-child:first-child::after {
  content: none;
}

.navbar-brand {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 116px;
  margin: 0;
  padding: 0;
  background: transparent;
}

.navbar-brand a {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.navbar-brand .brand-logo img {
  display: block;
  width: 276px;
  max-width: 100%;
  height: 116px;
  object-fit: contain;
}

.container-header .container-search {
  position: absolute !important;
  z-index: 5;
  top: -308px;
  right: -24px;
  width: 200px;
  height: auto;
  overflow: visible;
}

.container-header .mod-finder {
  position: relative !important;
  z-index: 5;
  top: auto;
  right: auto;
  width: 200px;
  margin: 0;
}

.container-header .mod-finder label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.container-header .mod-finder::before {
  content: "\1F50D";
  position: absolute;
  top: 6px;
  left: 9px;
  z-index: 1;
  color: #555;
  font-size: 12px;
  line-height: 1;
}

.container-header .mod-finder input[type="text"],
.container-header .mod-finder input[type="search"] {
  display: block;
  width: 150px;
  min-height: 28px;
  margin-left: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 8px 5px 28px;
  background: #fff;
  color: #555;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: none;
  transition: width .2s ease;
}

.container-header .mod-finder input:focus {
  width: 200px;
}

#mod-custom111 .ds-cow {
  display: none;
}

.container-header .container-nav {
  position: relative;
  z-index: 3;
  display: block !important;
  width: var(--ds-shell);
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: var(--ds-nav);
  border: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.container-header .mod-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0 0 0 15px;
}

.container-header .mod-menu > li.item-101 {
  display: none;
}

.container-header .mod-menu > li.item-102 > a {
  pointer-events: none;
}

.container-header .mod-menu > li {
  position: relative;
  margin: 0;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button {
  min-height: 40px;
  padding: 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 10px;
  text-decoration: none;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > button:hover,
.container-header .mod-menu > li > button[aria-expanded="true"] {
  background: var(--ds-red);
  color: #fff;
}

.container-header .mod-menu .mm-collapse,
.container-header .mod-menu .mod-menu__sub {
  min-width: 160px;
  display: none;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.container-header .mod-menu > li:hover > .mm-collapse,
.container-header .mod-menu > li:focus-within > .mm-collapse,
.container-header .mod-menu > li:hover > .mod-menu__sub,
.container-header .mod-menu > li:focus-within > .mod-menu__sub {
  display: block;
}

.container-header .mod-menu .mm-collapse a,
.container-header .mod-menu .mod-menu__sub a {
  color: var(--ds-muted);
  font-size: 13px;
  text-decoration: none;
}

.site-grid {
  grid-template-columns: [full-start] 15px [main-start] minmax(0, 629px) [main-end] 30px [side-r-start] 300px [side-r-end] 15px [full-end];
  grid-template-areas: ". comp . side-r .";
  column-gap: 0;
  padding: 20px 15px;
}

.site-grid .container-component {
  min-width: 0;
}

.grid-child {
  max-width: none;
  width: 100%;
}

.container-component {
  grid-area: comp;
  max-width: none;
  margin: 0;
  padding: 20px 15px;
  border: 0;
}

.container-sidebar-right {
  grid-area: side-r;
  padding: 20px 0 20px 15px;
}

.container-sidebar-right .sidebar-right,
.container-sidebar-right .card,
.container-sidebar-right .card-body {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ds-facebook iframe {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 600px;
  border: 0;
  overflow: hidden;
}

.mod-breadcrumbs__wrapper,
.article-info {
  display: none;
}

.page-header h1,
.item-title,
.item-page .page-header h1,
.blog-featured h1,
.blog h1 {
  margin: 20px 0 10px;
  padding: 0;
  border: 0;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
}

.blog-featured > .page-header,
.blog-featured .item-title {
  display: none;
}

h1,
h2,
h3,
h4 {
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin: 20px 0 10px;
  padding: 0;
  border: 0;
  font-size: 30px;
  text-align: center;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 10px;
}

.blog-items,
.blog-items.items-leading,
.blog-item {
  display: block;
}

.item-content {
  max-width: 100%;
  text-align: left;
}

.view-featured .item-content {
  text-align: center;
}

body:not(.view-featured) .container-component,
body:not(.view-featured) .container-component * {
  text-align: left !important;
}

.view-featured .item-content ul,
.view-featured .item-page ul {
  display: inline-block;
  max-width: 100%;
  text-align: left;
}

.item-content img,
.item-page img {
  max-width: 100%;
  height: auto;
}

.table,
table {
  width: 100% !important;
  max-width: 100%;
}

td,
th {
  vertical-align: top;
}

.footer {
  min-height: 34px;
  border-top: 1px solid #eee;
  background: #f8f8f8;
  color: var(--ds-text);
  text-align: center;
}

@media (max-width: 767px) {
  :root {
    --ds-shell: 100%;
  }

  .container-header,
  .site-grid,
  .footer {
    width: 100%;
  }

  .container-header > .grid-child:first-child {
    min-height: 284px;
  }

  .container-header::after {
    top: 84px;
  }

  .navbar-brand {
    min-height: 74px;
  }

  .navbar-brand .brand-logo img {
    width: auto;
    height: 74px;
  }

  #mod-custom111 .ds-cow,
  .container-header::before {
    display: none;
  }

  .container-header .container-search {
    display: block;
    top: -270px;
    right: 10px;
    width: 160px;
  }

  .container-header .mod-finder {
    width: 160px;
  }

  .container-header .mod-finder input[type="text"],
  .container-header .mod-finder input[type="search"] {
    width: 140px;
  }

  .container-header .mod-finder input:focus {
    width: 160px;
  }

  .container-header .mod-menu {
    display: block;
    padding: 0;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button {
    width: 100%;
    min-height: 36px;
    padding: 12px 15px;
    line-height: 12px;
  }

  .site-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "comp"
      "side-r";
    gap: 0;
    padding: 10px 0;
  }

  .container-component {
    padding: 15px;
  }

  .container-sidebar-right {
    grid-column: 1;
    padding: 15px;
  }

  .page-header h1,
  .item-title,
  .item-page .page-header h1,
  .blog-featured h1,
  .blog h1 {
    font-size: 30px;
  }
}
