* {
  box-sizing: border-box;
}

html {
  font-family: helvetica;
  /*background-color: #AAA;*/
}

body, hml {
  width: 100%;
  padding: 0px;
  margin: 0px;
  text-align: center;
  overflow-y: scroll;
  color: #515050;
}

.display {
  /*min-height: 100vh;*/
  margin-top: 20px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  /*width: 80vw;*/
  max-width: 1100px;
  text-align: left;
  background-color: white;
  border: 1px solid #777;
  display: inline-block;
  /*white-space: nowrap;*/
  box-shadow: 0px 0px 6px #cacaca;
}

.top_text {
  padding: 20px 0px 0px 8px;
  border-bottom: 3px solid #949494;
  color: #959a3d;
  font-size: 30px;
}

.top_text a {
  text-decoration: none;
  color: inherit;
}

.static_left {
  padding: 8px;
  width: 25%;
  /*background-color: pink;*/
  display: inline-block;
  vertical-align: top;
}

.bottom_text {
  color: #959a3d;
  display: inline-block;
  font-size: 21px;
}
.bottom_text a {
  text-decoration: none;
  color: inherit;
}

.logo {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 120px;
}

.logo a {
  margin: auto;
  color: inherit;
  text-decoration: none;
}

.kontakt_div {
  padding: 17px;
  min-height: 400px;
  width: 100%;
  background-color: #F6F6F6;
  display: inline-block;
  border: 1px solid #777;
}
.kontakt_div span {
  display: block;
}
.kontakt_div a {
  margin-top: 40px;
  padding: 5px 10px;
  text-decoration: none;
  color: white;
  background-color: #959a3d;
  display: inline-block;
}
.kontakt_div a:hover {
  background-color: #c7d200;
}

.static_right {
  padding: 8px;
  width: 74%;
  /*background-color: yellow;*/
  display: inline-block;
  vertical-align: top;
}


nav {
  color: #959a3d;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  white-space: normal;
  vertical-align: top;
  width: 100%;
}

nav .nav_entry {
  max-width: 150px;
  padding-bottom: 5px;
  text-align: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  border-top: 2px solid rgba(0,0,0,0);
  -webkit-transition: background-color 1s, color 1s, border-top 0.7s;
  transition: background-color 1s, color 1s, border-top 0.7s;
}
nav .nav_entry:hover {
  border-top: 2px solid #959a3d;
  /*background-color: #008000;*/
  /*color: white;*/
}

nav .nav_entry a {
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

nav .nav_entry div {
  padding: 2px;
  text-align: center;
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid grey;
  top: 100%;
  min-width: 100%;
}
nav .nav_entry:hover div, nav .nav_entry a:focus ~ div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

nav .nav_entry div a {
  padding: 5px;
  margin-top: 5px;
  border-bottom: 1px solid rgba(0,0,0,0);
  -webkit-transition: background-color 0.5s, border-bottom 1s;
  transition: background-color 0.5s, border-bottom 1s;
}
nav .nav_entry div a:hover {
  background-color: #f2f2f2;
  border-bottom: 1px solid grey;
}

.fullsize {
  text-align: justify;
}

#content {
  width: 100%;
  margin-top: 70px;
  /*padding-left: 50px;
  padding-right: 20px;*/
  padding: 5px 5px 0px 5px;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
}

#content p {
  margin: 0px;
}

#content ul {
  text-align: initial;
}

.zitat {
  margin: 20px 0px;
  padding: 10px 20px;
  display: block;
  border: 1px solid grey;
  text-align: right;
  color: #585858;
}
.zitat q {
  font-style: italic;
  font-family: serif;
  font-size: 18px;
  color: #959a3d;
  display: inline-block;
  margin-bottom: 4px;
}

footer {
  margin-top: 70px;
  text-align: center;
  color: #444;
}

footer a {
  margin: 0px 5px;
  text-decoration: none;
  color: inherit;
}

.jumpToNav {
  padding: 2.5px 5px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  text-decoration: none;
  background-color: white;
  color: grey;
  border: 1px solid grey;
}
.jumpToNav:hover {
  background-color: #a3ffa3;
}


@media (max-width: 950px) {
  .display {
    width: 100%;
    border: none;
  }
  .static_left {
    width: 100%;
  }
  .static_right {
    width: 100%;
  }
  .logo {
    display: none;
  }
  .kontakt_div {
    margin-top: 20px;
    min-height: 0px;
    text-align: center;
  }
  .kontakt_div h3, .kontakt_div br, .kontakt_div span {
    display: none;
  }
  .kontakt_div a {
    margin: 0px;
  }
  nav {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    border-bottom: 1px solid #959a3d;
  }
  nav span {
    width: auto;
    padding:  15px 15px;
  }
  nav div {
    z-index: 100;
  }
  content {
    padding: 10px;
    width: 100%;
    margin-top: 25px;
  }
}

/********************************************************************************************************************************************************************************************************************************************/
/* Impressum */
.impressum .system_gesell {
  margin-top: 20px;
  width: 170px;
  height: auto;
}

/***************************************************************************************************************************************************************************************************************************************************/
/* Beratung & Therapie */
ul {
  display: block;
  margin: 1em;
  text-decoration: none;
}

/***************************************************************************************************************************************************************************************************************************************************/
/*    */
.portrait {
  width: 300px;
  max-width: 100%;
  height: auto;
}
