:root {
  --forest: #075a31;
  --forest-dark: #064629;
  --cream: #f8f8f1;
  --line: #d8e1d6;
}

body { overflow-wrap: break-word; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.appear { opacity: 1; }
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid #cd870c !important;
  outline-offset: 2px;
}

#header nav { float: none; margin-left: 0; }
#header #top-header { background: var(--forest-dark); }
#top-header .container > .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#top-header .container > .row::before,
#top-header .container > .row::after { display: none; }
#top-header .col-xs-8 { width: auto; min-width: 0; }
#top-header .col-xs-4 { width: auto; flex: none; }
#top-header .th-text.pull-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 14px;
  float: none !important;
}
#top-header .th-text .th-item {
  border: 0;
  padding: 0;
  line-height: 1.45;
}
#top-header .th-item > a { color: #fff; background: transparent; }
#top-header .th-item > a:hover { text-decoration: underline; }
#top-header .th-text .th-item .btn-group { z-index: 20; margin: 0; }
#top-header .btn-group > .dropdown-toggle { min-height: 32px; }
#top-header .th-text .th-item .btn-group .dropdown-menu {
  inset-inline: auto 0;
  top: 100%;
  min-width: 10em;
  max-height: 65vh;
  overflow: auto;
  margin: 0 !important;
  background: var(--forest-dark);
  border-radius: 0 0 6px 6px;
}
#top-header .dropdown-menu a { background: transparent; }
#top-header .dropdown-menu a:hover, #top-header .dropdown-menu a:focus { background: #11683d; }

#sticky.navbar {
  z-index: 10;
  background: #09783a;
  box-shadow: none;
  float: none;
}
#sticky .navbar-brand { height: auto; padding: 10px 0; }
#sticky #logo { width: 136px; height: 56px; padding: 0; background-position: center; }
#sticky .navbar-nav > li:first-child { padding: 0; }
#sticky .navbar-nav .submenu { position: relative; }
#sticky .navbar-nav > li > a {
  padding: 17px 12px;
  color: #fff !important;
  background: transparent;
  font-size: 14px;
  text-align: start;
}
#sticky .navbar-nav > li.active > a { box-shadow: inset 0 -3px 0 #c4e2b1; }
#sticky .navbar-nav > li > a:is(:hover, :focus-visible),
#sticky .navbar-nav > li.open > a { background: var(--forest) !important; }
#sticky .submenu > .dropdown-menu {
  inset-inline: 0 auto;
  background: var(--forest-dark);
}
#sticky .submenu > .dropdown-menu a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .2em;
}
html:not(.interactive-nav) #header :is(.btn-group,.submenu):is(:focus-within,:hover) > .dropdown-menu,
#header .open > .dropdown-menu { display: block; }
.skip-link:focus {
  position: fixed !important;
  inset: 4px auto auto 6px;
  z-index: 50;
  background: white;
  color: var(--forest-dark);
  padding: 10px 16px;
  border-radius: 4px;
}

@media (min-width: 992px) {
  #sticky > .container { display: flex; align-items: center; gap: 28px; }
  #sticky .navbar-header { flex: none; }
  #sticky .navbar-collapse { padding: 0; min-width: 0; }
  #sticky .navbar-nav { display: flex; align-items: stretch; flex-wrap: wrap; }
}

.revolution-slider {
  position: relative;
  top: auto;
  clear: both;
  padding: 0;
  isolation: isolate;
}
.revolution-slider .banner > ul { padding: 0; margin: 0; list-style: none; }
.revolution-slider:not(.interactive-hero) .banner > ul > li ~ li { display: none; }
.revolution-slider .banner img {
  display: block;
  width: 100%;
  height: clamp(215px, 38.47vw, 554px);
  object-fit: cover;
  object-position: center;
}
.photo-controls {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font: 600 14px/1.3 Lato, Arial, sans-serif;
}
.photo-controls button, .photo-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: 400 31px/1 Arial, sans-serif;
}
.photo-controls button:hover, .photo-close:hover { background: #ffffff2e; }
.hero-controls {
  position: absolute;
  inset-inline-end: clamp(12px, 3vw, 40px);
  bottom: clamp(12px, 2vw, 26px);
  background: #14251fd9;
  color: white;
  border-radius: 24px;
}
.hero-controls span { min-width: 32px; text-align: center; font-variant-numeric: tabular-nums; }

#header #reservation-form {
  margin: 0 !important;
  padding: 13px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.enquiry-strip, .contact-enquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.enquiry-strip .btn, .map-link, .enquiry-strip .enquiry-address { max-width: 100%; }
.enquiry-strip .btn, .contact-enquiry .btn, .room-enquiry .btn {
  background: #965108;
  border-color: #844706;
  color: white;
  box-shadow: none;
  text-shadow: none;
  white-space: normal;
}
.enquiry-strip .btn:hover, .contact-enquiry .btn:hover, .room-enquiry .btn:hover { background: #7b440a; }
.enquiry-address { color: var(--forest); }
.contact-enquiry { justify-content: flex-start; margin-top: 18px; }
.contact-enquiry p { flex-basis: 100%; margin-top: 8px; }
.room-enquiry { margin-top: 16px; }
.map-link { display: inline-block; color: var(--forest); padding: 6px 0; }
.home #intro p.welcome-languages { color: #646b61; }
#intro { padding-top: clamp(22px, 3.2vw, 44px); }
.pg-rooms-list #intro .col_1 {
  width: min(100%, 84ch);
}
.home #intro .logos-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  width: auto;
  background: transparent !important;
}
.home #intro .logos-intro img {
  float: none;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 94px;
  margin: 0 !important;
  object-fit: contain;
}
.home #offers p { color: #536255; }
#main .tabelle-skigebiete {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: auto;
}
#main .tabelle-skigebiete td { padding: 10px; }
.nav-tabs { display: flex; flex-wrap: wrap; }
.nav-tabs::before, .nav-tabs::after { display: none; }
.tab-content > .tab-pane:not([hidden]) { display: block; opacity: 1; }
.tab-content > .tab-pane + .tab-pane:not([role]) {
  padding-block-start: 1em;
  margin-block-start: 1em;
  border-block-start: 1px solid var(--line);
}
.room-block-list .caroufredsel_gallery { float: none; }
.room-block-list .caroufredsel_gallery + .caroufredsel_gallery { margin-top: 5px; }
.room-block-list .interactive-rooms .caroufredsel_gallery { margin: 0; }
.room-block-list .caroufredsel_gallery a, .room-block-list .caroufredsel_gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
}
.room-block-list .caroufredsel_gallery img {
  border-radius: 4px;
}
.rooms-hero-list .caroufredsel_thumbnails_skin { display: none; }
.rooms-hero-list.interactive-rooms .caroufredsel_thumbnails_skin { display: block; }
.rooms-hero-list .caroufredsel_thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 0;
}
.rooms-hero-list .caroufredsel_thumbnail {
  flex: 0 1 16%;
  min-width: 44px;
  max-width: 76px;
}
.rooms-hero-list .caroufredsel_thumbnail button {
  display: block;
  width: 100%;
  padding: 2px;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 4px;
}
.rooms-hero-list .caroufredsel_thumbnail button[aria-pressed=true] { border-color: var(--forest); }
.rooms-hero-list .caroufredsel_thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.rooms-hero-list .caroufredsel_thumbnails_controls { display: none; }

#filters { display: none; }
#filters.interactive-filters {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
#filters.interactive-filters > li { float: none; width: auto; margin: 0; }
#filters a { padding: 10px 16px; }
#filters .active > a { color: white; background: #965108; }
.gallery.row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: clamp(8px, 1.3vw, 18px);
  padding-top: 22px;
  margin-inline: 0;
}
.gallery.row::before, .gallery.row::after { content: none; }
.gallery.row > div { padding: 0; width: auto; float: none; }
.gallery.row > div > a { position: relative; margin: 0; border-radius: 4px; }
.gallery.row img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; }
.photo-dialog {
  width: fit-content;
  max-width: min(96vw, 1250px);
  max-height: 94vh;
  max-height: 94dvh;
  padding: 0;
  color: white;
  background: #17241c;
  border: none;
  border-radius: 8px;
  box-shadow: 0 12px 56px #0006;
}
.photo-dialog::backdrop { background: #0a1710dd; }
.photo-dialog > img {
  display: block;
  margin: auto;
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 65px);
  max-height: calc(94dvh - 65px);
  object-fit: contain;
}
.photo-dialog .photo-controls { padding: 6px 10px; }
.photo-dialog .photo-controls span { flex: 1; text-align: center; }
.photo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #14251fe8;
}

#main a#go-top {
  position: static;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 1rem auto;
  padding: 0;
  width: 42px;
  height: 42px;
  float: none;
  color: var(--forest);
  border: 1px solid var(--line);
  opacity: 1;
}
#main #go-top:hover { background: var(--forest); color: white; }
#main #go-top i { animation: none; }

@media (max-width: 991px) {
  #sticky > .container { display: block; }
  #sticky .navbar-header {
    float: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
  }
  #sticky .navbar-header::before, #sticky .navbar-header::after { display: none; }
  #sticky .navbar-toggle { display: none; margin: 0; padding: 12px; }
  #sticky .navbar-toggle .icon-bar { background: white; }
  #sticky .navbar-toggle:is(:hover,:focus) { background: var(--forest); }
  .interactive-nav #sticky .navbar-toggle { display: block; }
  #sticky .navbar-collapse { display: block !important; padding: 0; margin: 0; }
  .interactive-nav #sticky .navbar-collapse:not(.in) { display: none !important; }
  #sticky .navbar-nav { float: none; margin: 0; }
  #sticky .navbar-nav > li { float: none; border-block-end: 1px solid #ffffff36; }
  #sticky .navbar-nav > li > a { padding: 12px; }
  #sticky .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    min-width: 0;
    margin: 0;
  }
  #sticky .navbar-nav .dropdown-menu > li {
    border: 0;
    padding: 0;
  }
  #sticky .navbar-nav .dropdown-menu > li > a {
    padding: 10px 24px;
    color: white;
    background: var(--forest-dark);
  }
  .home #intro .logos-intro { justify-content: start; }
  .room-block-list .room-title-list { margin-block-start: 14px; }
}
@media (max-width: 767px) {
  #header #top-header .th-text.pull-left { gap: 3px; flex-direction: column; align-items: flex-start; }
  #header #top-header .th-text .th-item { font-size: 11px; }
  #sticky #logo { width: 117px; height: 48px; }
  #sticky .navbar-brand { padding: 7px 0; }
  .home #intro .lined-heading, #main .lined-heading { line-height: 1.15; }
  .lined-heading span { overflow-wrap: anywhere; }
  .home #intro .logos-intro img { max-height: 66px; max-width: 29%; }
  .home #our-guesthouse { padding-bottom: 18px; }
  .nav-tabs > li > a { padding: 9px 10px; }
  #sommer .tab-content, #winter .tab-content { min-height: 0; }
  #sommer .tab-content p, #winter .tab-content p { width: 100%; }
  .tab-content { padding: 15px 4px; }
  #main .tabelle-skigebiete td { padding: 6px; }
  #main .tabelle-skigebiete img { max-width: none; }
  .room-block-list .table td { overflow-wrap: anywhere; padding: 7px; }
  .gallery.row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  #footer ul { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Reading sizes and link contrast on the original light content backgrounds. */
#intro .ce_text p, #main .ce_text p, #main address, .tab-pane, #offers .box-icon p {
  font-size: 16px;
  line-height: 1.55;
}
#main :is(address, .ce_text p, .contact-enquiry p) a:not(.btn),
#intro .ce_text p a:not(.btn) {
  color: #7e4308;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.enquiry-strip .btn, .contact-enquiry .btn, .room-enquiry .btn {
  min-height: 42px;
  display: inline-flex;
  gap: .4em;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  #intro .room-introduction {
    display: flex;
    align-items: center;
  }
  #intro .room-introduction > .col_2::before {
    content: "";
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    background: center / cover url("/files/images/rooms/Country-Komfort-1.jpg");
  }
}
