﻿:root {
  --text-color: #878674;
}

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

body {
  margin: 0px;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  letter-spacing: 0;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: liga on;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.45;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  font-weight: 400;
}

p {
  padding-bottom: 15px;
}

h1 {
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-block-start: 0;
  margin-block-end: 0;
  font-size: 2rem;
}

h2 {
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 10px 0;
  text-align: left;
  font-size: 1.3rem;
}

h3 {
  line-height: 1.2;
  margin-block-start: 0;
  margin-block-end: 0;
  font-size: 100%;
  padding: 0 0 15px 0;
  font-weight: 500;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.ul-with-circle {
  list-style-type: disc;
  text-align: left;
  margin-left: 0.5em;
  padding-left: 0.5em;
}

li {
  padding: 1px 0;
  letter-spacing: 1px;
}

blockquote {
  margin: 0;
  padding: 30px 0 0 80px;
  width: 90%;
  position: relative;
  font-size: 0.95rem;
  font-style: italic;
  text-align: left;
}

cite {
  display: block;
  padding: 5px 0 0 0;
  text-align: right;
}

blockquote::before,
blockquote::after {
  position: absolute;
  display: block;
  font-family: sans-serif;
  font-size: 5rem;
  color: #e6e6e6;
}

blockquote::before {
  content: "“";
  left: 35px;
  top: 0;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
  color: hsl(0, 0%, 30%);
  padding-bottom: 3px;
  /*  background-color: hsla(0, 0%, 100%, 0.7); */
  padding: 2px 4px;
}
a:hover {
  cursor: pointer;
}

input {
  border: 1px solid hsl(0, 0%, 75%);
  padding: 0 5px;
  font-size: 1rem;
  width: 160px;
  height: 30px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: none;
  margin: 20px 0 20px 70px;
}

.table-ausstellung {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: none;
  margin: 20px 0;
}

th,
td {
  text-align: left;
  padding: 8px;
}

tbody tr td:first-child {
  width: 9em;
  min-width: 9em;
  max-width: 9em;
  word-break: break-all;
}

::-webkit-input-placeholder {
  /* Edge */
  color: hsl(0, 0%, 85%);
}

:-ms-input-placeholder {
  /* Internet Explorer */
  color: hsl(0, 0%, 85%);
}

::placeholder {
  color: hsl(0, 0%, 85%);
}

body {
  -webkit-animation: fadein 0.5s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 0.5s; /* Firefox < 16 */
  -ms-animation: fadein 0.5s; /* Internet Explorer */
  -o-animation: fadein 0.5s; /* Opera < 12.1 */
  animation: fadein 0.5s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.clear {
  clear: both;
}
/* ------------------- project elements --------------------- */

.wrapper {
  text-align: center;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: auto minmax(600px, 800px) auto;
  grid-template-rows: minmax(calc(100vh - 160px), auto) 50px;
  background-color: #fff;
  padding: 0px 80px;
}

footer {
  grid-column: 1 / 4;
  color: var(--text-color);
  padding-top: 10px;
}

footer > a,
footer > div > a {
  color: var(--text-color);
  text-transform: none;
  margin-bottom: 5px;
}

.header-desktop,
.footer-desktop {
  display: block;
}

.header-mobile,
.footer-mobile {
  display: none;
}

.mobile-navi {
  display: none;
}

.navigation {
  background-color: #fff;
  height: 100px;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
}

.navigation-galerie {
  height: 50px;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
      display: block;
}

.is-fixed {
  position: fixed;
  box-shadow: 0 4px 10px rgba(200, 204, 175, 0.5);
  -webkit-box-shadow: 0 4px 10px rgba(200, 204, 175, 0.5);
  -moz-box-shadow: 0 4px 10px rgba(200, 204, 175, 0.5);
}

.navigation ul, .navigation-galerie ul {
  list-style-type: none;
  margin: auto;
  display: inline-block;
}

.navigation li, .navigation-galerie li {
  float: left;
  padding: 10px 30px;
  text-transform: uppercase;
}

.navigation li a, .navigation-galerie li a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #9e8972;
}

.nav-link {
  display: inline-block;
  color: #9e8972;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: #9e8972;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-selected {
  border-bottom: 1px solid #9e8972;
}

/* --------- page home --------- */
.cnt-home {
  width: 35px;
  height: 125px;
  float: left;
  position: relative;
  left: 180px;
}

.cnt-pretitle {
  padding-bottom: 5px;
  font-weight: 400;
  text-transform: uppercase;
}

.cnt-title {
  letter-spacing: 1px;
  font-size: 1.4rem;
  padding-bottom: 5px;
  font-weight: 400;
}

.cnt-home-header {
  text-align: center;
}

.cnt-post {
  padding-bottom: 25x;
}

.cnt-posttitle {
  font-weight: 400;
}

.cnt-postsubtitle {
  padding-bottom: 5px;
  font-weight: 300;
}
    
.cnt-galeriesubtitle {
  padding-bottom: 30px;
  font-weight: 400;
}

.cnt-text {
  text-align: left;
}

.cnt-br {
  padding-bottom: 10px;
}

.cnt-ausstellung {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  grid-gap: 20px;
}

.cnt-home-bg {
  margin-top: 0;
  background-image: url("/Cms_Data/Contents/die-gesundheitsberatung/Media/images/bild-hp.jpg");
  box-shadow: 0 0 18px 18px white inset;
  width: 800px;
  height: 370px;
  background-size: 800px 370px;
}

/* ------------------- utility classes --------------------- */
.medium-bold {
  font-weight: 500;
}
.pb10 {
  padding-bottom: 10px;
}
.pb20 {
  padding-bottom: 20px;
}
.pb30 {
  padding-bottom: 30px;
}
.mt60 {
  margin-top: 36px;
}

/* ------------------------ TABLET screen -------------------- */
@media only screen and (max-width: 1024px) {
  .wrapper {
    /*    grid-gap: 10px;
    grid-template-columns: auto minmax(1000px, 1200px) auto;
    grid-template-rows: minmax(calc(100vh - 160px), auto) 50px;
    background-color: #fff;
    padding: 0px 80px; */
  }

  .navigation li {
    padding: 10px 18px;
  }

  footer {
    font-size: 0.8rem;
  }

  .mt60 {
    margin-top: 20px;
  }
}

/* ------------------------ TABLET screen -------------------- */
@media only screen and (min-width: 1025px) and (max-width: 1279px) {
  .wrapper {
  }

  .navigation li {
    padding: 10px 24px;
  }
  .ganzheitlich {
    display: block;
  }

  .cnt-ganzheitlich-center > p {
    text-align: center;
  }

  .cnt-ganzheitlich-center > p > img {
    width: 70%;
  }
  .mt60 {
    margin-top: 20px;
  }
}

/* ------------------------ MEDIUM screen -------------------- */
@media only screen and (min-width: 1280px) {
  .wrapper {
  }
}

/* ------------------------ LARGE screen --------------------- */
@media only screen and (min-width: 1400px) {
  .wrapper {
  }
}

/* ---------------------------------------------------- XLARGE screen ---------------------------------------------- */
@media only screen and (min-width: 1600px) {
  .wrapper {
  }
}

/* ---------------------------------------------------- XXLARGE screen ---------------------------------------------- */
@media only screen and (min-width: 1900px) {
  .wrapper {
  }
}

/* ---------------------------------------------------- MOBILE screen ---------------------------------------------- */
@media only screen and (max-width: 767px) {
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    text-align: left;
    font-size: 1rem;
  }

  h1 {
    font-size: 1.2rem;
    text-align: left;
    width: 100%;
  }

  h2 {
    line-height: 1.4;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 0 10px 0;
  }

  blockquote {
    padding: 30px 0 0 35px;
  }
      
  blockquote::before {
    left: 0px;
    top: 5px;
  }

  blockquote::before,
  blockquote::after {
    font-size: 4rem;
  }

  blockquote > p {
    padding-right: 0;
  }

  .ul-with-circle {
    font-size: 1rem;
  }
      
table {
    margin: 20px 0 20px 0px;
}
      
  tbody tr td:first-child {
    width: 6.8em;
    min-width: 6.8em;
    max-width: 6.8em;
    word-break: break-all;
  }

  .wrapper {
    display: block;
    padding: 20px;
  }

  .header-desktop,
  .footer-desktop {
    display: none;
  }

  .header-mobile {
    display: block;
    padding: 10px;
  }

  .footer-mobile {
    display: block;
    border-top: 1px solid hsl(31 18% 53% / 0.2);
    border-radius: 10px 10px 0 0;
    margin-top: 20px;
    margin-bottom: 50px;
  }

  .navigation {
    display: none;
  }
      
.navigation-galerie {
    height: auto;
}
 .navigation-galerie ul {
    display: grid;
}
.navigation-galerie li {
    padding: 5px 10px;
    font-size: 0.85rem;       
}
.navigation-galerie li:last-child {
    padding: 5px 10px 15px 10px;
    font-size: 0.85rem;       
}
      
  .mobile-navi {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 50px;
    border-top: var(--text-color) solid 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    border-radius: 10px 10px 0 0;
    background-color: hsl(208 8% 95% / 1);
  }

  .mobile-navi a {
    color: var(--text-color);
    font-size: 1.2rem;
  }

  .mobile-navi-item1,
  .mobile-navi-item2,
  .mobile-navi-item3,
  .mobile-navi-item4 {
    text-align: center;
    font-size: 1rem;
    line-height: 1.2rem;
    padding-bottom: 10px;
  }

  .mobile-navi-item1 {
    border-right: 1px solid hsl(31 18% 53% / 0.3);
    height: 32px;
    padding-top: 10px;
  }

  .mobile-navi-item2 {
    padding-top: 4px;
    font-size: 2.5rem;
    color: var(--text-color);
  }

  .cnt-home-bg {
    margin-top: 0;
    width: 330px;
    height: 130px;
    background-size: 330px 130px;
  }

  .cnt-home-wrapper {
    padding-top: 20px;
  }

  .cnt-home {
    display: none;
    left: 0;
  }

  .cnt-title,
  .cnt-home-wrapper,
  .cnt-post {
    text-align: center;
  }

  .cnt-posttitle {
    font-weight: 400;
    font-size: 0.9rem;
  }

  .cnt-ausstellung {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .img-ausstellung {
    max-width: 28%;
    padding: 10px;
  }

  .table-ausstellung {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: none;
    margin: 0 0 20px 0;
  }
}

/* ----------------- Mobile navi ----------------------- */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: hsl(208 8% 95% / 1);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 30%;
  width: 100%;
  text-align: center;
  margin-top: px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 20px;
  color: hsl(31 18% 35% / 1);
  display: block;
  transition: 0.3s;

  background-color: transparent;
}

.overlay a:hover,
.overlay a:focus {
  color: #000;
}

.overlay .closebtn {
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 60px;
  color: hsl(31 18% 53% / 0.4);
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 20px;
    top: 15px;
    right: 35px;
  }
}
