/*
Theme Name: Fewo24
Author: Netjutant
Author URI: https://www.netjutant.com
Description: Das Theme für die Ferienwohnung "Am Rehwinkel"
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2024.1
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.0
Text Domain: fewo24

Netjutant WordPress Theme 2024
*/
html {
  scroll-behavior: smooth;
}

:root {
  --bg-color: #ffffff;
  --bg-secondary-color: #f3f3f6;
  --color-primary: #b3a896;
  --color-primary-dark: #414826;
  --color-secondary: #552b24;
  --color-secondary-light: #dee9e2;
  --color-accent: #a8c441;
  --color-lightGrey: #efece9;
  --color-grey: #747681;
  --color-darkGrey: #3f4144;
  --color-error: #d43939;
  --color-success: #28bd14;
  --grid-maxWidth: 100%;
  --grid-gutter: 4rem;
  --grid-gutter-half: 2rem;
  --font-size: 100%;
  --font-color: #333333;
  --font-family-sans: "PT Sans", -apple-system, BlinkMacSystemFont, Avenir,
    "Avenir Next", "Segoe UI", "Plus Jakarta Sans", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
}

body {
  font-size: var(--font-size);
  color: var(--font-color);
  font-family: var(--font-family-sans);
  margin: 0;
  padding: 0;
  background: var(--color-lightGrey);
  /* background: linear-gradient(180deg, var(--color-lightGrey) 0%, #fff 80%, #fff 100%); */
}

html {
  box-sizing: border-box;
  font-size: 110%;
  line-height: 1.7;
  letter-spacing: 0cap;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-lightGrey) var(--bg-primary);
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

*::-webkit-scrollbar-thumb {
  background: var(--color-lightGrey);
}

body::-webkit-scrollbar,
.skip-link {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  /* text-transform: uppercase; */
  font-weight: 700;
  padding-top: 0px;
}

h1:not(:first-child),
h2:not(:first-child),
h3:not(:first-child),
h4:not(:first-child),
h5:not(:first-child),
h6:not(:first-child) {
  padding: 1.2em 0 0.2em;
}

h1 {
  font-size: 2.8em;
  letter-spacing: -0.01cap;
  text-transform: none;
  hyphens: none;
  margin-left: 20px;
  margin-bottom: 0.8em;
  font-family: "Meddon";
  /* text-shadow: 2px 2px 3px var(--color-secondary); */
}

h2 {
  font-size: 1.9em;
  line-height: 1.2em;
}

h3 {
  padding-bottom: 0.5em;
  font-size: 1.2em;
  text-transform: uppercase;
}

h4 {
  font-size: 1.25em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.85em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover:not(.button) {
  text-decoration: underline;
  opacity: 0.9;
  /* text-shadow: 1px 1px 1px var(--color-primary); */
}

p {
  margin-top: 0;
}

ul,
ul * {
  text-align: left;
}

.text-center {
  text-align: center;
  display: inherit;
}

.copyright {
  font-size: 0.6em;
  font-style: italic;
}

.text-larger,
.text-large {
  font-size: 1.3em;
}

.text-normal {
  font-size: inherit;
}

@media (min-width: 800px) {
  * {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

  .text-larger {
    font-size: 1.3em;
  }

  .text-large {
    font-size: 1.6em;
  }
}

.has-text-shadow {
  text-shadow: #000 1px 0 10px;
}

.entry-content * {
  line-height: 1.4;
}

blockquote {
  padding: 1.5rem 0;
}

blockquote p {
  margin-bottom: 20px;
  line-height: 1.2;
  hyphens: auto;
  font-size: 1.3em;
}

@media (max-width: 500px) {
  blockquote p {
    font-size: 0.9em;
  }
}

strong, dl dt {
  font-weight: 700;
}

hr {
  background-color: var(--color-lightGrey);
  height: 1px;
  margin: 1rem 0;
}

table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
  background: var(--color-lightGrey)
}

.wp-block-table td {
  border-color: #fff;
}

table.striped tr:nth-of-type(2n) {
  background-color: var(--bg-secondary-color);
}

td,
th {
  vertical-align: middle;
  padding: 1.2rem 0.4rem;
}

thead {
  border-bottom: 2px solid var(--color-lightGrey);
}

tfoot {
  border-top: 2px solid var(--color-lightGrey);
}

.preistabelle td:first-of-type {
  width: 80%;
}

.preistabelle td:last-of-type {
  text-align: center;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin-bottom: 0.5em;
}

figcaption {
  font-size: 0.8em;
}

fieldset {
  border: 1px solid var(--color-lightGrey);
}

.lang-pill {
  color: var(--color-secondary);
  border: 1px var(--color-secondary) solid;
  border-radius: 2px;
  font-size: 0.8em;
  padding: 1px 3px;
}

.teaser {
  font-weight: 700;
  padding: 40px 0;
}

video {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------*/
/* Farben
/* ------------------------------------------------------------------*/
.has-primary-color,
.has-primary-color.has-text-color * {
  color: var(--color-primary);
}

.has-secondary-color,
.has-secondary-color.has-text-color * {
  color: var(--color-secondary) !important;
}

.has-lightgrey-color,
.has-lightgrey-color.has-text-color * {
  color: var(--color-lightGrey);
}

.has-darkgrey-color,
.has-darkgrey-color.has-text-color * {
  color: var(--color-darkGrey);
}

.has-weiss-color,
.has-weiss-color.has-text-color * {
  color: #fff;
}

.has-accent-color,
.has-accent-color.has-text-color * {
  color: var(--color-accent);
}

.has-primary-background-color {
  background-color: var(--color-primary);
}

.has-secondary-background-color {
  background-color: var(--color-secondary);
}

.has-secondary-light-background-color {
  background-color: var(--color-secondary-light) !important;
}

.has-lightgrey-background-color {
  background-color: var(--color-lightGrey);
}

.has-darkgrey-background-color {
  background-color: var(--color-darkGrey);
}

.has-weiss-background-color {
  background-color: #fff !important;
}

.has-accent-background-color {
  background-color: var(--color-accent);
}

/* ------------------------------------------------------------------*/
/* Grid
/* ------------------------------------------------------------------*/
.container {
  margin: 0 0;
  width: auto;
  padding: 0;
  background: #fff;
}

.alignfull {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  margin-bottom: 0px;
  margin-top: 0px;
  padding: 2rem 20px;
  box-sizing: border-box;
}

.alignwide {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 0 20px;
  box-sizing: border-box;
}

@media (min-width: 1380px) {
  .container {
    margin: 20px 14vw;
    width: auto;
    padding: 0;
  }

  .alignfull {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 2rem 40px;
    box-sizing: border-box;
  }

  .alignwide {
    width: calc(100% + 80px);
    margin: 0 -40px;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 0 60px;
    box-sizing: border-box;
  }

  .alignwide.smallerpadding {
    padding: 0 10vw;
  }
}

.nopadding {
  padding: 0;
}

.padding10 {
  padding: 10px;
}

.mato-40 {
  margin-top: -40px;
}

.roundedges {
  border-radius: 25px;
}

.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper {
  border: 10px #fff solid;
}

/* ------------------------------------------------------------------*/
/* Layout
/* ------------------------------------------------------------------*/
/* Konsole */
.konsole {
  background-color: var(--color-secondary);
  font-size: 0.6em;
  color: #fff;
  padding: 0.5em 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  display: none;
}

.konsole nav ul {
  margin: 0;
}

.konsole nav ul li {
  list-style: none;
}

.konsole a {
  color: #fff;
}

/* Header */
#header {
  position: relative;
  /* Background: #fff; */
  height: 180px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: nowrap;
}

.logo picture,
.logo img {
  width: calc(100% - 70px);
  max-width: 300px;
}

.logo, .logo svg {
  max-height: 180px;
  min-height: 100px;
  display: block;
}

/* @media (max-width: 399px) {
  .logo {
    flex-grow: 2;
    align-self: flex-start;
    order: -1;
    position: absolute;
    top: 20px;
  }
} */
/*Footer */
#footer {
  background: var(--color-secondary);
  margin: 0;
  padding: 60px 40px;
  position: relative;
  color: #fff;
  font-size: 0.9em;
}

#footer li {
  list-style: none;
}

#footer .padding10 {
  padding-top: 0px;
  padding-left: 30px;
}

#copyright {
  font-size: 0.7em;
  color: var(--color-primary);
  padding: 10px 40px;
}

#konsole, #header, #content, footer {
  padding: 0 20px;
}

@media (min-width: 1000px) {
  #konsole, #header, #content {
    padding: 0 40px;
  }
}

/* ------------------------------------------------------------------*/
/* Custom Classes
/* ------------------------------------------------------------------*/
.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(3) {
  width: 45%;
  top: 8%;
}

/* Untermenüs */
.wp-block-navigation .current-menu-item span {
  color: var(--color-secondary) !important
}

.wp-block-navigation {
  font-family: "PT Sans Narrow";
}

/* Hero */
.hero {
  min-height: 70vh;
}

.hero ul {
  padding-left: 0;
}

/* Banner */
.bannerbild,
.bannerbild .wp-block-getwid-media-text-slider-slide {
  height: 30vw !important;
  min-height: 500px !important;
}

.bannergruppe {
  padding: 0 30px;
  margin-left: 30px;
  background-image: linear-gradient(to right, #003050e8, #369ecbc2);
}

@media (max-width: 700px) {
  .bannerbild p {
    display: none;
  }

  .bannerbild h1,
  .bannerbild h2 {
    font-size: 1.4em;
  }

  .bannergruppe {
    padding: 0 10px;
    width: 100%;
  }

  .wp-block-button__link {
    padding: 10px;
  }
}

@media (min-width: 970px) {
  .bannergruppe {
    max-width: 60%;
  }
}

/* Breadcrumb */
.breadcrumb {
  /* background: #caa269; */
  margin: 0 0 40px;
  font-size: 0.8em;
  line-height: 1;
  vertical-align: middle;
}

.breadcrumb p {
  margin-bottom: 0;
}

/* Slider */
.slick-next::before,
.slick-prev::before {
  font-family: inherit;
}

.slick-arrow {
  font-size: 0px;
}

/* Lexikon */
.lexikon-buchstaben {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.buchstabe {
  display: inline-block;
  border: 1px var(--color-primary) solid;
  font-size: 0.8em;
  padding: 0 7px;
  margin-right: 7px;
}

/* Beispielblock */
.beispielblock {
  background: var(--color-primary);
  border-radius: 15px;
  padding: 20px 20px 20px 70px;
  margin: 1em 0;
  font-size: 0.9em;
  position: relative;
}

.beispielblock a:not(.has-text-color) {
  color: var(--color-secondary);
}

/* Checklist & Crosslist & Vorteilnachteil */
.checklist {
  padding-left: 1.3em;
  list-style-position: inside;
}

.checklist li,
.crosslist li {
  list-style: none;
  padding-left: 0.8em;
}

.checklist li::before,
.crosslist li::before {
  content: "";
  width: 1em;
  height: 1em;
  background-image: url(images/icons/check.svg);
  background-size: cover;
  display: inline-block;
  margin-left: -1.8em;
  margin-right: 0.8em;
  margin-top: 4px;
  position: absolute;
}

.checklist li h3 {
  display: inline-block;
}

.crosslist li::before {
  background-image: url(images/icons/error.svg);
}

.vorteilnachteil li {
  list-style: none;
  margin-left: 2em;
  color: var(--color-secondary);
}

.vorteilnachteil li:last-of-type {
  color: var(--color-accent);
}

.vorteilnachteil li::before {
  content: "";
  width: 1em;
  height: 1em;
  background-image: url(images/icons/check.svg);
  background-size: cover;
  display: inline-block;
  margin-left: -1.5em;
  margin-right: 0.4em;
  margin-top: 10px;
}

.vorteilnachteil li:last-of-type:before {
  background-image: url(images/icons/error.svg);
}

/* Scroll-to-Top-Button */
button#scrollToTopButton {
  display: none;
  position: fixed;
  bottom: 3.6vw;
  right: 2vw;
  color: var(--color-secondary);
  background-color: transparent;
  border: none;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 80px;
  cursor: pointer;
  border-radius: 0;
  padding: 0px;
  z-index: 22;
  transform: rotate(270deg);
}

button#scrollToTopButton:hover {
  color: var(--color-accent);
}

.shm-map-block {
  margin-left: -20px !important;
  margin-right: 0 !important;
  padding: 0px;
}

/* Karten */
@media (min-width: 999px) {
  .shm-map-block {
    margin-left: -40px !important;
    margin-right: 0 !important;
    padding: 0px;
  }
}

.shm-map-container {
  border: 0px !important;
  border-radius: 0 !important;
}

/* Wohnungs-Grundriss */
#grundriss a:hover *, #grundriss a:active *, .page-id-122 #wohnzimmer * {
  fill: var(--color-secondary) !important
}

/* ------------------------------------------------------------------*/
/* Formulare
/* ------------------------------------------------------------------*/
.button,
[type="button"],
[type="reset"],
[type="submit"],
button {
  padding: 0.7em 1.2em;
  color: var(--color-primary-dark);
  background: var(--color-secondary);
  border: 1px solid transparent;
  font-size: 1em;
  line-height: 1;
  text-align: center;
  transition: opacity 0.2s ease;
  text-decoration: none;
  transform: scale(1);
  display: inline-block;
  cursor: pointer;
}

.button:hover,
[type="button"]:hover,
[type="reset"]:hover,
[type="submit"]:hover,
button:hover {
  opacity: 0.8;
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.button.flat {
  display: inline;
  padding: 0px;
  line-height: 1;
}