/* cmsms stylesheet: Gardasee modified: Sunday, November 1, 2026 10:25:56 AM */
body          {
                background-color: #83a3d2;
                font-family: sans-serif;
                font-size: 9pt;
              }
img           {
                   border: 0;
                 }
a             {
                  color: #000;
                }
a:hover             {
                  color: #333;
                  text-decoration: none;
                }
ul            {
                padding: 0 0 0 20px;
                font-size: 8pt;
                }
td             {
                  vertical-align:top;
                font-size: 8pt;
                }
#container    {
                width: 700px;
                height: 550px;
                margin: 30px auto;
                border: 1px solid white;
                background: transparent url(https://www.haeuschenamgardasee.de/uploads/tpl/bg.jpg) no-repeat;
              }
#content      {
                height: 370px;
                width: 370px;
                margin: 50px 0 0 65px;
                float:left;
              }
#galerie      {
                height: 470px;
                width: 150px;
                margin: 43px 0 0 8px;
                float:left;
              }

/*************************************************
 Menu
*************************************************/
#menu         {
                                  height: 59px;
                                  width: 670px;
                                  float:left;
                                  margin: -73px 0 0 30px;
                                  font-size: 8pt;
                                }
#menu ul                {
                                  margin: 0;
                                  padding: 0;
                                  height: 42px;
                               }
#menu ul li a {
                                  display: block;
                                  width: 92px;
                                  height: 59px;
                                  float: left;
                                  background: transparent url(https://www.haeuschenamgardasee.de/uploads/tpl/button.png) no-repeat;
                                  line-height: 59px;
                                  text-align: center;
                                  color: #000;
                                  text-decoration: none;
                               }
#menu ul li.currentpage h3, #menu ul li a.menuactive {
                                  display: inline;
                                  font-size: 8pt;
                                  font-weight: bold;
                                  line-height: 59px;
                                  width: 92px;
                                  height: 59px;
                                  text-align: center;
                                  background: transparent url(https://www.haeuschenamgardasee.de/uploads/tpl/button.png) no-repeat 0 -59px;
                                  margin: 0;
                                  padding: 0;
                                  float: left;
                               }
#menu li {
                                  list-style: none;
                                  margin-right: 10px;
                                  
                               }
#menu .activeparent a {
                                  font-weight: normal;

                               }
#menu a:hover {
                                  text-decoration: none;
                                  color: #000;
                                  background-position: 0 -59px;
                               }
#footer {text-align: center}


/*************************************************
 Cookie-Info
*************************************************/

.cookie_info {
  display: none;
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100vw;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5em 5em 1.5em 5em;
  color: white;
}

.cookie_info h1 {
  font-size: 16px;
  border: 0;
}

.cookie_info span {
  display: inline-block;
  width: 80%;
  font-weight: normal;
  font-size: 14px;
  text-align: left;
  float: left;
}

.cookie_info p {
  margin: 0px;
}

.cookie_info a {
  color: inherit;
  font-weight: bold;
}

.cookie_info button {
  position: absolute;
  top: calc(50% - 15px);
  margin-left: 1em;
  width: 15ex;
  height: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid black;
  border-radius: 0px;
  color: black;
}

.cookie_info button:hover {
  background: white;
}

.cookie_info_disable {
  transform: translatey(100%);
  transition: all 2s;
}
#menu ul li.currentpage a { background-position: 0 -59px; font-weight: bold; }

/* Desktop viewport fit: original theme proportions and CMS content retained. */
@media screen and (min-width: 900px) {
  html.desktop-fit body {
    margin: 0;
    padding: 16px 20px 20px;
    min-height: 0;
    box-sizing: border-box;
  }
  html.desktop-fit #container {
    zoom: var(--desktop-scale, 1);
    margin: 0 auto calc(18px / var(--desktop-scale, 1));
  }
  html.desktop-fit #content {
    overflow: auto;
    scrollbar-width: thin;
  }
  html.desktop-fit #galerie > .gallery {
    max-height: 390px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
  }
  html.desktop-fit #galerie .gallery .img {
    margin-left: 4px;
    margin-right: 4px;
  }
  html.desktop-fit #scroll_content {
    box-sizing: border-box;
    padding-right: 8px;
    scrollbar-width: thin;
  }
  html.desktop-fit #footer {
    margin: 0;
    line-height: 18px;
  }
}
/* Calendar presentation of the original editable CMS booking periods. */
.cms-calendar { font-size: 11px; line-height: 1.25; }
.calendar-controls { display: none; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.calendar-ready .calendar-controls { display: flex; }
.calendar-controls button, .calendar-controls select { font: inherit; color: #222; border: 1px solid #a8b3b4; background: #fff9; border-radius: 4px; padding: 4px 7px; }
.calendar-controls button { min-width: 30px; font-size: 17px; line-height: 16px; cursor: pointer; }
.calendar-controls button:disabled { opacity: .35; cursor: default; }
.calendar-controls :focus-visible { outline: 2px solid #365d8e; outline-offset: 2px; }
.cms-calendar section[hidden] { display: none; }
.cms-calendar .month-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; margin: 0 0 8px; }
.month-grid caption { font-weight: bold; text-align: center; padding: 3px 0 6px; font-size: 13px; }
.cms-calendar .month-grid th, .cms-calendar .month-grid td { font: inherit; text-align: center; padding: 3px 0; vertical-align: middle; border-radius: 3px; }
.month-grid th { color: #444; }
.month-grid time { display: block; }
.cms-calendar .unmarked { background: #f7f7f1; border: 1px solid #c3c6c0; }
.cms-calendar .occupied { background: #e5a8a0; border: 1px solid #ae625a; }
.cms-calendar .boundary { background: linear-gradient(135deg,#e5a8a0 49%,#f7f7f1 51%); border: 1px solid #ae625a; }
.cms-calendar .empty { background: transparent; }
.cms-calendar .calendar-key { padding: 0; margin: 5px 0 8px; font: inherit; list-style: none; }
.calendar-key li { display: flex; align-items: center; gap: 6px; margin: 3px 0; }
.calendar-key span { display: inline-block; width: 12px; height: 10px; flex-shrink: 0; border-radius: 2px; }
.calendar-notice { border-top: 1px solid #aeb9b0; padding-top: 5px; font-size: 10px; }
.calendar-notice p { margin: 0 0 4px; }
.calendar-notice p:empty, .calendar-notice p:has(> span:empty) { display: none; }
.calendar-notice div { display: inline; margin-right: 4px; }
/* Two-column month overview, matching the approved calendar presentation. */
.cms-calendar .calendar-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
  align-items: stretch;
}
.cms-calendar .calendar-pages section {
  padding: 8px 6px;
  border: 1px solid #a7bad3;
  background: rgba(255,255,255,.78);
  min-width: 0;
}
.cms-calendar .month-grid { margin: 0; border-spacing: 2px; }
.cms-calendar .month-grid caption { padding: 2px 0 12px; font-size: 12px; }
.cms-calendar .month-grid th { font-size: 9px; font-weight: normal; padding: 0 0 6px; }
.cms-calendar .month-grid td { border-radius: 0; padding: 4px 0; }
.cms-calendar .unmarked { background: #f5f8fc; border-color: #bdcadd; }
.cms-calendar .occupied { background: #edc5c3; color: #7f2220; font-weight: bold; border-color: #bdcadd; }
.cms-calendar .boundary { background: repeating-linear-gradient(135deg,#edc5c3 0,#edc5c3 3px,#fff 3px,#fff 6px); color: #7f2220; border-color: #bdcadd; }
.cms-calendar .calendar-notice { margin-top: 10px; }
/* Calendar link: same background sprite and states as the main menu. */
#content a.calendar-link-button {
  display: inline-block;
  width: 92px;
  min-height: 59px;
  line-height: 59px;
  background: transparent url(https://www.haeuschenamgardasee.de/uploads/tpl/button.png) no-repeat 0 0;
  color: #000;
  font-size: 8pt;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}
#content a.calendar-link-button:hover,
#content a.calendar-link-button:active {
  background-position: 0 -59px;
  color: #000;
}
#content a.calendar-link-button:focus-visible {
  background-position: 0 -59px;
  outline: 2px solid #365d8e;
  outline-offset: 2px;
  border-radius: 8px;
}
/* Editable price rows: descriptions on the left, amounts aligned on the right. */
#content .prices-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
#content .prices-table td {
  font-size: 10pt;
  line-height: 1.4;
  padding: 5px 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(100,120,110,.22);
}
#content .prices-table td:last-child {
  text-align: right;
  white-space: nowrap;
  padding-left: 12px;
  font-variant-numeric: tabular-nums;
}
/* Mobile theme only. Desktop rules remain unchanged. */
@media screen and (max-width: 899px), screen and (max-width: 1199px) and (hover: none) and (pointer: coarse) {
  body { margin: 0; padding: 10px; font-size: 16px; line-height: 1.5; }
  #container {
    position: relative;
    display: grid;
    grid-template-areas: "menu" "content" "gallery";
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0 auto 18px;
    padding: 26px 20px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center top;
    overflow: visible;
    zoom: 1;
  }
  #container::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 32px;
    background: rgba(255,255,255,.64);
    pointer-events: none;
  }
  #container > #content, #container > #galerie, #container > #menu {
    position: relative;
    float: none;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    overflow: visible;
  }
  #container > #content { grid-area: content; }
  #container > #galerie { grid-area: gallery; }
  #container > #menu { grid-area: menu; font-size: 16px; }
  #menu ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; height: auto; padding: 0; margin: 0; font-size: inherit; }
  #menu ul li { float: none; margin: 0; min-width: 0; list-style: none; }
  #menu ul li:first-child { grid-column: 1 / -1; }
  #menu ul li a, #menu ul li.currentpage a, #menu ul li a.menuactive {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    float: none;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 10px 6px;
    border-radius: 9px;
    background: rgba(255,255,255,.73);
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
  }
  #menu ul li.currentpage a, #menu ul li a:hover { background: rgba(255,255,255,.95); }
  #menu a:focus-visible, #content a:focus-visible, #galerie a:focus-visible { outline: 2px solid #365d8e; outline-offset: 3px; }
  #content, #content ul, #content td { font-size: 16px; line-height: 1.5; }
  #content span[style*="font-size"] { font-size: inherit !important; }
  #content img { max-width: 100%; height: auto; }
  #content > p:first-child img[src*="ueberschriften"] { width: auto; height: 24px; max-width: 100%; }
  #content p { margin: 0 0 16px; }
  #content .prices-table { width: 100%; margin: 12px 0 18px; }
  #content .prices-table td { font-size: 16px; line-height: 1.45; padding-top: 9px; padding-bottom: 9px; }
  #content .prices-table td:last-child { padding-left: 8px; }
  #content a.calendar-link-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 220px);
    min-height: 48px;
    margin: 0 auto;
    padding: 10px 16px;
    box-sizing: border-box;
    background: rgba(255,255,255,.78);
    border-radius: 9px;
    font-size: 16px;
    line-height: 1.4;
  }
  #content a.calendar-link-button:hover { background: rgba(255,255,255,.95); }
  #galerie .gallery, #content > .gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-height: none; overflow: visible; }
  #galerie .gallery .img, #content > .gallery .img { float: none; margin: 0; min-width: 0; }
  #galerie .gallery .img a, #content > .gallery .img a { display: block; padding: 3px; border: 2px solid #ddd; background: rgba(255,255,255,.7); }
  #galerie .gallery .img img, #content > .gallery .img img { display: block; width: 100%; height: auto; }
  .gallery .galleryclear { display: none; }
  #content #scroll_content { width: auto; height: auto; padding: 0; overflow: visible; box-sizing: border-box; }
  #content .cms-calendar { font-size: 15px; line-height: 1.4; }
  #content .calendar-pages { grid-template-columns: minmax(0,1fr); gap: 18px; }
  #content .calendar-pages section { padding: 12px 8px; }
  #content .month-grid caption { font-size: 18px; padding-bottom: 12px; }
  #content .month-grid th { font-size: 13px; }
  #content .month-grid td { font-size: 16px; padding: 7px 0; }
  #content .calendar-key, #content .calendar-notice { font-size: 13px; }
  #footer { margin: 0 0 12px; font-size: 13px; line-height: 1.7; }
  #footer a { display: inline-block; padding: 9px 3px; }
  .cookie_info { box-sizing: border-box; padding: 14px; }
  .cookie_info span { width: 100%; float: none; }
  .cookie_info button { position: static; margin: 12px 0 0; min-height: 44px; height: auto; }
  #fancy_close { min-width: 36px; min-height: 36px; background-position: center; }
}
@media screen and (min-width: 600px) and (max-width: 899px), screen and (min-width: 600px) and (max-width: 1199px) and (hover: none) and (pointer: coarse) {
  #container { grid-template-areas: "menu menu" "content gallery"; grid-template-columns: minmax(0,1fr) minmax(130px,25%); column-gap: 20px; padding: 30px 26px; }
  #container:not(:has(> #galerie)) { grid-template-areas: "menu" "content"; grid-template-columns: minmax(0,1fr); }
  #menu ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #galerie .gallery { grid-template-columns: minmax(0,1fr); }
  #content .calendar-pages { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  #content .month-grid td { font-size: 13px; padding: 5px 0; }
  #content .month-grid th { font-size: 11px; }
  #content .month-grid caption { font-size: 15px; }
}
/* Restored landscape without baked-in white panels, mobile theme only. */
@media screen and (max-width: 899px), screen and (max-width: 1199px) and (hover: none) and (pointer: coarse) {
  #container { background-image: url(https://www.haeuschenamgardasee.de/uploads/tpl/bg-mobile.jpg); }
}
/* Match the mobile Home button's top corners to the content panel. */
@media screen and (max-width: 899px), screen and (max-width: 1199px) and (hover: none) and (pointer: coarse) {
  #menu ul li:first-child a { border-radius: 24px 24px 9px 9px; }
}
