/* Pension am Kirschgarten - gemeinsames Stylesheet
   Optik 1:1 aus der Joomla-Referenz (yoo_finch / forest), minimal nachgebaut. */

/* Fonts */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v20-latin-300.woff2') format('woff2'),
       url('../fonts/lato-v20-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v20-latin-regular.woff2') format('woff2'),
       url('../fonts/lato-v20-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Slabo 13px';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/slabo-13px-v11-latin-regular.woff2') format('woff2'),
       url('../fonts/slabo-13px-v11-latin-regular.woff') format('woff');
}
/* Icon-Font (nur die in der Site genutzten Glyphen) */
@font-face {
  font-family: 'Icons';
  src: url('../fonts/icons.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Basis */
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Lato';
  font-size: 15px;
  line-height: 23px;
  color: #4b4b4b;
  background-color: #f6f7f6;
}
a { color: #aeaeae; text-decoration: none; }
a:hover, a:focus { color: #7fa62a; outline: none; }
article a, span.email-protect { color: #478340 !important; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 15px 0;
  font-family: 'Slabo 13px';
  font-weight: 200;
  line-height: 23px;
  color: #4b4b4b;
  text-transform: uppercase;
  text-rendering: optimizelegibility;
}
* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 { margin-top: 25px; }
h1 { font-size: 47px; line-height: 61px; }
h2 { font-size: 29px; line-height: 38px; }
h3 { font-size: 23px; line-height: 30px; }
h4 { font-size: 19px; line-height: 25px; }
h5 { font-size: 15px; line-height: 21px; }
h6 { font-size: 13px; line-height: 21px; }
@media (max-width: 768px) {
  h2, .uk-h2 { font-size: 23px; line-height: 30px; }
}
p { margin: 0 0 11.5px; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

.uk-h1 { font-size: 47px; line-height: 61px; }
@media (max-width: 768px) {
  h1, .uk-h1 { font-size: 29px; line-height: 38px; }
}

/* Layout */
.uk-container {
  box-sizing: border-box;
  max-width: 980px;
  padding: 0 25px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1220px) {
  .uk-container { max-width: 1440px; padding: 0 35px; }
}
.uk-container:before, .uk-container:after { content: ""; display: table; }
.uk-container:after { clear: both; }

.uk-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -25px;
  padding: 0;
  list-style: none;
}
.uk-grid > * { flex: none; margin: 0; padding-left: 25px; width: 100%; }
.uk-grid > * > :last-child { margin-bottom: 0; }
.uk-grid-margin, .uk-grid + .uk-grid { margin-top: 25px; }
.uk-grid-divider > * { position: relative; }
.uk-grid-divider > :not(:first-child) { border-left: 1px solid rgba(75, 75, 75, 0.15); }
@media (max-width: 767px) {
  .uk-grid-divider > :not(:first-child) {
    border-left: none;
    border-top: 1px solid rgba(75, 75, 75, 0.15);
    margin-top: 25px;
    padding-top: 25px;
  }
}
@media (min-width: 768px) {
  .uk-width-medium-1-2 { width: 50%; }
  .uk-width-medium-1-3 { width: 33.333%; }
  .uk-width-medium-2-3 { width: 66.666%; }
  .uk-width-1-4 { width: 25%; }
}

/* Blocks (Sektionen) */
.uk-block {
  position: relative;
  box-sizing: border-box;
  padding-top: 50px;
  padding-bottom: 50px;
}
.uk-block:before, .uk-block:after { content: ""; display: table; }
.uk-block:after { clear: both; }
.uk-block > :last-child { margin-bottom: 0; }
.uk-block-default { background: #f6f7f6; }
.uk-block-muted { background: #eeebe6; }
.uk-block-primary { background: #7fa62a; }
.uk-block-secondary { background: #e6e3db; }
.uk-block-primary .uk-panel-box h1,
.uk-block-primary .uk-panel-box h2,
.uk-block-primary .uk-panel-box h3,
.uk-block-primary .uk-panel-box h4,
.uk-block-primary .uk-panel-box h5,
.uk-block-primary .uk-panel-box h6 { color: #4b4b4b; }
.uk-block-secondary .uk-panel-box:not(.uk-panel-box-secondary) h1,
.uk-block-secondary .uk-panel-box:not(.uk-panel-box-secondary) h2,
.uk-block-secondary .uk-panel-box:not(.uk-panel-box-secondary) h3,
.uk-block-secondary .uk-panel-box:not(.uk-panel-box-secondary) h4,
.uk-block-secondary .uk-panel-box:not(.uk-panel-box-secondary) h5,
.uk-block-secondary .uk-panel-box:not(.uk-panel-box-secondary) h6 { color: #4b4b4b; }

/* Wald-Textur */
.tm-block-texture {
  background: url("../img/forest/block_texture_border_default.png") 50% -30px repeat-x,
              url("../img/forest/block_texture_default.png") 50% 0 repeat;
  background-clip: border-box, padding-box;
}
.tm-block-texture.uk-block-muted {
  background: url("../img/forest/block_texture_border_muted.png") 50% -30px repeat-x, #eeebe6;
  background-clip: border-box, padding-box;
}
.tm-block-texture.uk-block-secondary {
  background: url("../img/forest/block_texture_border_secondary.png") 50% -30px repeat-x, #e6e3db;
  background-clip: border-box, padding-box;
}
.tm-block-texture.uk-block-primary {
  background: url("../img/forest/block_texture_border_primary.png") 50% -30px repeat-x, #7fa62a;
  background-clip: border-box, padding-box;
}
/* Block-Layout: Riss-Kante ueber transparentem Border, der vom Textur-PNG gefuellt wird */
.uk-block {
  margin-top: -30px;
  padding-top: 20px;
  padding-bottom: 80px;
  border-top: 30px solid transparent;
}
.uk-block > * { height: 100%; }
.tm-navbar + .uk-block,
.uk-sticky-placeholder + .uk-block { margin-top: 0; }
.uk-block-default:not(.tm-block-padding-collapse):not(.uk-cover-background) + .uk-block-default:not(.uk-cover-background),
.uk-block-muted:not(.tm-block-padding-collapse):not(.uk-cover-background) + .uk-block-muted:not(.uk-cover-background),
.uk-block-primary:not(.tm-block-padding-collapse):not(.uk-cover-background) + .uk-block-primary:not(.uk-cover-background),
.uk-block-secondary:not(.tm-block-padding-collapse):not(.uk-cover-background) + .uk-block-secondary:not(.uk-cover-background) { padding-top: 0; }
.tm-block-footer { padding-bottom: 50px; }
/* Banner-Block (Top-A) niedriger als der Referenz-Standard */
.tm-block-top-a { padding-top: 10px; padding-bottom: 30px; }
@media (min-width: 768px) {
  .tm-block-padding-large { padding-top: 70px; padding-bottom: 130px; }
  .tm-block-footer.tm-block-padding-large { padding-bottom: 100px; }
}
.tm-block-fullwidth > .uk-container { max-width: 100%; padding: 0; }

/* Kontrast-Text auf gruenen Bloecken */
.uk-contrast { color: #ffffff; }
.uk-contrast h1, .uk-contrast h2, .uk-contrast h3,
.uk-contrast h4, .uk-contrast h5, .uk-contrast h6,
.uk-contrast p { color: #ffffff; }
.uk-contrast a:not([class]), .uk-contrast .uk-link { color: #aeaeae; text-decoration: none; }
.uk-contrast a:not([class]):hover { color: #ffffff; }

/* Panels */
.uk-panel:before, .uk-panel:after { content: ""; display: table; }
.uk-panel:after { clear: both; }
.uk-panel-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 19px;
  line-height: 25px;
  font-weight: 200;
  text-transform: uppercase;
  color: #4b4b4b;
}
.uk-panel-box {
  padding: 30px;
  background: #f6f7f6;
  color: #4b4b4b;
  box-shadow: 0 4px 12px 2px rgba(0, 0, 0, 0.04);
}
.uk-panel-box h1, .uk-panel-box h2, .uk-panel-box h3,
.uk-panel-box h4, .uk-panel-box h5, .uk-panel-box h6 { color: #4b4b4b; }
.uk-panel-box .uk-panel-title { color: #4b4b4b; }
.uk-panel-box-primary { background-color: #f3f1ee; color: #4b4b4b; }
.uk-panel-box-primary .uk-panel-title { color: #4b4b4b; }
.uk-panel-header .uk-panel-title { margin-bottom: 15px; }

/* Navbar */
.tm-navbar {
  position: relative;
  padding: 0 40px;
  z-index: 999;
}
.uk-navbar:before, .uk-navbar:after { content: ""; display: table; }
.uk-navbar:after { clear: both; }
.uk-navbar-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}
.uk-navbar-nav > li { float: left; position: relative; }
.uk-navbar-nav > li > a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  height: 70px;
  padding: 0 25px;
  line-height: 70px;
  color: #4b4b4b;
  font-size: 16px;
  font-family: 'Lato';
  font-weight: 300;
  text-transform: uppercase;
}
.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a:focus {
  background-color: rgba(0, 0, 0, 0);
  color: #278A43;
  outline: none;
}
.uk-navbar-nav > li > a:active { background-color: rgba(0, 0, 0, 0); color: #4b4b4b; }
.uk-navbar-nav > li.uk-active > a {
  background-color: rgba(0, 0, 0, 0);
  color: #258B43;
  font-weight: bold;
}
.uk-float-left { float: left; }
.tm-logo { margin-right: 25px; }
.tm-logo img { margin-left: 30px; }

/* Icons (eigene Mini-Icon-Klassen statt Font Awesome) */
[class*='uk-icon-'] {
  font-family: 'Icons';
  display: inline-block;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
}
.uk-icon-home:before { content: "\f015"; }
.uk-icon-coffee:before { content: "\f0f4"; }
.uk-icon-bed:before { content: "\f236"; }
.uk-icon-info-circle:before { content: "\f05a"; }
.uk-icon-group:before { content: "\f0c0"; }
.uk-icon-bookmark:before { content: "\f02e"; }
.uk-icon-map-marker:before { content: "\f041"; }
.uk-icon-chevron-left:before { content: "\f053"; }
.uk-icon-chevron-right:before { content: "\f054"; }
.uk-icon-chevron-up:before { content: "\f077"; }
.uk-icon-times:before { content: "\f00d"; }
.uk-icon-bars:before { content: "\f0c9"; }

/* Slideshow */
.uk-slideshow {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  touch-action: pan-y;
}
.uk-slideshow > li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
}
.uk-slideshow > .uk-active { z-index: 10; opacity: 1; }
.uk-slideshow > li > img { visibility: hidden; }
.uk-slideshow .slide-cover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.uk-slideshow-fade-in { animation: uk-fade 0.5s linear; }
.uk-slideshow-fade-out { animation: uk-fade 0.5s linear reverse; }
@keyframes uk-fade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Ken-Burns-Effekt (Galerie) */
@keyframes uk-scale-12 {
  0% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.kb-anim {
  animation-name: uk-scale-12;
  animation-duration: 15s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-direction: reverse;
}
.kb-origin-middle-left { transform-origin: 0 50%; }
.kb-origin-top-right { transform-origin: 100% 0; }
.kb-origin-bottom-left { transform-origin: 0 100%; }
.kb-origin-top-center { transform-origin: 50% 0; }

/* Slidenav */
.uk-slidenav {
  font-family: 'Icons';
  display: block;
  box-sizing: border-box;
  width: 42px;
  padding: 5px 10px;
  color: rgba(50, 50, 50, 0.5);
  font-size: 28px;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
}
.uk-slidenav:hover, .uk-slidenav:focus { outline: none; text-decoration: none; color: #7fa62a; cursor: pointer; }
.uk-slidenav:active { color: rgba(50, 50, 50, 0.9); }
.uk-slidenav-previous:before { content: "\f053"; }
.uk-slidenav-next:before { content: "\f054"; }
.uk-slidenav-position { position: relative; }
.uk-slidenav-position .uk-slidenav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 1;
  margin-top: -19px;
}
.uk-slidenav-position:hover .uk-slidenav { display: block; }
.uk-slidenav-position .uk-slidenav-previous { left: 20px; }
.uk-slidenav-position .uk-slidenav-next { right: 20px; }
.uk-slidenav-contrast { color: #4b4b4b; }
.uk-slidenav-contrast:hover, .uk-slidenav-contrast:focus { color: #9dcc37; }
.uk-slidenav-contrast:active { color: #aeaeae; }

/* Overlay-Panel (Titel ueber Galerie-Slide) */
.uk-overlay-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  color: #4b4b4b;
}
.uk-overlay-panel > :last-child { margin-bottom: 0; }
.uk-overlay-panel h1, .uk-overlay-panel h2, .uk-overlay-panel h3,
.uk-overlay-panel h4, .uk-overlay-panel h5, .uk-overlay-panel h6 { color: inherit; }
.uk-overlay-top { bottom: auto; }
.uk-overlay-bottom { top: auto; }
.uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { opacity: 0; }
.uk-overlay-active [class*='uk-overlay-slide'] { transition-duration: 0.8s; transition-property: opacity, transform; }
.uk-overlay-slide-top { transform: translateY(-100%); }
.uk-overlay-active .uk-active > .uk-overlay-slide-top { transform: translateY(0); }

/* Dotnav (Startseiten-Slider) */
.uk-dotnav {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-top: -15px;
  padding: 0;
  list-style: none;
}
.uk-dotnav > * { flex: none; padding-left: 15px; margin-top: 15px; float: left; }
.uk-dotnav > * > * {
  display: block;
  box-sizing: content-box;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(174, 174, 174, 0.7);
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
  border: 2px solid transparent;
}
.uk-dotnav > * > :hover, .uk-dotnav > * > :focus {
  background: rgba(0, 0, 0, 0);
  outline: none;
  border-color: #7fa62a;
}
.uk-dotnav > * > :active { background: #7fa62a; }
.uk-dotnav > .uk-active > * { background: #7fa62a; }
.uk-dotnav-contrast > * > * { background: rgba(255, 255, 255, 0.4); }
.uk-dotnav-contrast > * > :hover, .uk-dotnav-contrast > * > :focus {
  background: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0.9);
}
.uk-dotnav-contrast > * > :active { background: rgba(255, 255, 255, 0.9); }
.uk-dotnav-contrast > .uk-active > * { background: rgba(255, 255, 255, 0.9); }
.uk-flex-center { justify-content: center; }

/* Thumbnav (Galerie) */
.uk-thumbnav {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-top: -10px;
  padding: 0;
  list-style: none;
}
.uk-thumbnav > * { flex: none; padding-left: 10px; margin-top: 10px; float: left; }
.uk-thumbnav > * > * { display: block; background: #ffffff; }
.uk-thumbnav > * > * > img { opacity: 0.7; transition: opacity 0.15s linear; }
.uk-thumbnav > * > :hover > img, .uk-thumbnav > * > :focus > img { opacity: 1; }
.uk-thumbnav > .uk-active > * > img { opacity: 1; }

.uk-margin { margin-bottom: 25px; }
* + .uk-margin { margin-top: 25px; }

/* Artikel (Unterseiten) */
.uk-article:before, .uk-article:after { content: ""; display: table; }
.uk-article:after { clear: both; }
.uk-article > :last-child { margin-bottom: 0; }
.uk-article + .uk-article { margin-top: 60px; }
.uk-article-title {
  font-size: 38px;
  line-height: 40px;
  font-weight: 200;
  text-transform: uppercase;
  margin-bottom: 10px;
}
hr {
  box-sizing: content-box;
  height: 0;
  margin: 15px 0;
  border: 0;
  border-top: 1px solid rgba(75, 75, 75, 0.5);
}
.uk-text-left { text-align: left !important; }
.uk-text-center { text-align: center !important; }

/* Accordion (Ferienwohnungen) */
.uk-accordion-title {
  margin-top: 0;
  margin-bottom: 15px;
  padding: 5px 15px 5px 40px;
  background: #eeeeee;
  font-size: 17px;
  line-height: 23px;
  cursor: pointer;
  position: relative;
}
.uk-accordion-title:before {
  content: '\f067';
  position: absolute;
  left: 10px;
  padding-left: 5px;
  font-family: 'Icons';
  font-size: 12px;
  color: #7fa62a;
}
.uk-accordion-title.uk-active { background-color: #7fa62a; color: #ffffff; }
.uk-accordion-title.uk-active:before { content: '\f068'; color: #ffffff; }
.uk-accordion-content { padding: 0 15px 15px 15px; }
.uk-accordion-content:before, .uk-accordion-content:after { content: ""; display: table; }
.uk-accordion-content:after { clear: both; }
.uk-accordion-content > :last-child { margin-bottom: 0; }

/* Accordion initial geschlossen (showfirst: false) */
.uk-accordion-content.uk-hidden { display: none; }

/* Listen (Belegung Boulderraum) */
.uk-list {
  padding: 0;
  list-style: none;
}
.uk-list > li:before,
.uk-list > li:after {
  content: "";
  display: table;
}
.uk-list > li:after {
  clear: both;
}
.uk-list > li > :last-child {
  margin-bottom: 0;
}
.uk-list ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.uk-list-striped > li {
  padding: 5px 5px;
}
.uk-list-striped > li:nth-of-type(odd) {
  background: #f3f1ee;
}

/* Karte */
figure.maplink { margin: 0 20px 0 0; position: relative; }
figure.maplink img { border: 1px solid #333; }
figure.maplink figcaption {
  display: inline-block;
  padding: 0 20px 0 8px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: rgba(210, 210, 210, 0.8);
  color: #000 !important;
  font-size: 12px;
}

/* Footer */
.tm-footer {
  color: #4b4b4b;
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.tm-totop-scroller:before {
  font-family: 'Icons';
  content: '\f077';
  font-size: 10px;
}
.tm-totop-scroller { color: #4b4b4b; display: inline-block; text-align: center; }
.tm-totop-scroller:hover { color: #9dcc37; }
.tm-totop-scroller:focus { text-decoration: none; }

/* Sichtbarkeits-Helfer */
.uk-hidden-touch { display: block; }
.uk-touch .uk-hidden-touch { display: none !important; }
@media (min-width: 960px) {
  .uk-visible-small, .uk-visible-medium { display: none !important; }
  .uk-hidden-large { display: none !important; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .uk-visible-small, .uk-visible-large { display: none !important; }
  .uk-hidden-medium { display: none !important; }
}
@media (max-width: 767px) {
  .uk-visible-medium, .uk-visible-large { display: none !important; }
  .uk-hidden-small { display: none !important; }
}

/* Mobile-Menue (eigenes Mini-Menue statt JF Mobile Menu) */
.mm-trigger {
  position: fixed;
  z-index: 981;
  width: 34px;
  height: 33px;
  color: #f5f5f5;
  top: 8px;
  left: 8px;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  background: #4a5052;
  line-height: 35px;
  border-radius: 2px;
  display: none;
}
.mm-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 240px;
  z-index: 990;
  background: #4a5052;
  margin-left: -240px;
  transition: margin-left 0.3s ease;
  overflow-y: auto;
  box-shadow: 5px 0 5px -5px #202020;
}
.mm-menu.mm-open { margin-left: 0; }
.mm-menu h2 {
  font-size: 1.1em;
  line-height: 1em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  padding: 15px .4em 0;
  margin: 0;
  text-transform: capitalize;
}
.mm-menu ul { list-style: none; padding: 0; margin: 0; }
.mm-menu li { cursor: pointer; border-top: 1px solid #5a5e5f; background: #4a5052; }
.mm-menu li:hover { background-color: #434749; }
.mm-menu a {
  display: block;
  outline: 0;
  overflow: hidden;
  line-height: 24px;
  padding: 10px .6em;
  text-decoration: none;
  color: #eee;
  text-transform: capitalize;
}
.mm-menu a:hover { color: #fff; }
.mm-menu a [class*='uk-icon-'] { margin-right: 8px; color: rgba(255, 255, 255, 0.4); font-size: 20px; }
.mm-backout {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  background: #000;
  opacity: 0.3;
  top: 0;
  left: 0;
  z-index: 980;
}
@media (max-width: 1024px) {
  .mm-trigger, .mm-menu { display: block; }
}
@media screen and (min-width: 960px) {
  .mm-trigger { display: none !important; }
}

/* Rechtstexte (Impressum/Datenschutz, Listen aus der Referenz) */
ul.dsgvo { margin: 0 0 0 0.8em; padding-left: 0.8em; list-style-type: disc; }
ul.nolistleft { list-style-type: none; margin-left: 0.1em; padding-left: 0.1em; }
ul.nolist { list-style-type: none; }
ul.dsgvo_verz ul { padding-left: 0.8em; list-style-type: none; }
h5 { padding: 10px 0 0 0 !important; margin-bottom: 2px !important; }
h4, h6 { margin-bottom: 2px !important; }
hr.hrone { height: 1px; margin: 0 0 5px 0; }
