/* Basis */
html {
  font-size: 100%;
}

body {
  background: #fff;
  font: 18px/1.4 Helvetica, Arial, sans-serif;
  color: #333;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  box-orient: vertical;
  box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.container {
  margin: 0 auto;
  max-width: 780px;
  padding: 0 10px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
  font-weight: bold;
  line-height: 1.7;
  margin: 2rem 0 15px;
  padding: 0;
}

@media screen and (max-width: 640px) {
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
  }
}

h1 {
  font-size: 24px;
  margin-top: 10px;
}

h1 a {
  color: inherit;
}

h2 {
  font-size: 22px;
  margin-top: 10px;
}

h3 {
  font-size: 20px;
  margin-top: 10px;
  text-decoration: underline;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
  margin-bottom: 3px;
}

h6 {
  font-size: 15px;
  margin-bottom: 3px;
}

p {
  margin: 1em 0 1em 0;
}

h5 + p,
h6 + p {
  margin-top: 3px;
}

a {
  color: #4183C4;
  text-decoration: none;
  cursor: pointer;
}

a:hover, a:active {
  color: #4183C4;
}

ul, ol {
  margin: 15px 0;
  padding-left: 30px;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ol ul, ul ol, ul ul, ol ol {
  margin: 0;
}

ul ul, ol ul {
  list-style-type: circle;
}

em, i {
  font-style: italic;
}

strong, b {
  font-weight: bold;
}

img {
  max-width: 100%;
}

/* Layout */
.wrapper-header {
  margin-bottom: 20px;
}

.header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
@media screen and (max-width: 640px) {
  .header {
    text-align: center;
  }
}

.site-avatar {
  float: left;
  width: 65px;
  height: 65px;
  margin-top: 1px;
  margin-right: 12px;
}
@media screen and (max-width: 640px) {
  .site-avatar {
    float: none;
    display: block;
    margin: 0 auto;
  }
}
.site-avatar img {
  border-radius: 5px;
}

.site-info {
  float: left;
}
@media screen and (max-width: 640px) {
  .site-info {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

.site-name {
  margin: 0;
  color: #333;
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 1px;
}

.site-description {
  margin: -5px 0 0 0;
  color: #666;
  font-size: 16px;
}
@media screen and (max-width: 640px) {
  .site-description {
    margin: 3px 0;
  }
}

nav {
  float: right;
  margin-top: 23px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 640px) {
  nav {
    float: none;
    margin-top: 9px;
    display: block;
    font-size: 16px;
  }
}
nav a {
  margin-left: 20px;
  padding: 10px 0;
  color: #333;
  text-align: right;
  font-weight: 300;
  letter-spacing: 1px;
}
@media screen and (max-width: 640px) {
  nav a {
    margin: 0 10px;
    color: #4183C4;
  }
}

#main {
  -webkit-box-flex: 1;
  box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.posts > .post {
  text-align: justify;
  padding-bottom: 2em;
  border-bottom: 1px solid #eee;
}
@media screen and (max-width: 640px) {
  .posts > .post {
    text-align: left;
  }
}

.posts > .post:last-child {
  padding-bottom: 1em;
  border-bottom: none;
}

.wrapper-footer {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #eee;
}
@media screen and (min-width: 640px) {
  .wrapper-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 0 10px #888888;
  }

  .posts > .post:last-child {
    margin-bottom: 200px;
  }
}

footer {
  padding: 15px 0;
  text-align: center;
}
@media screen and (max-width: 640px) {
  footer {
    text-align: left;
  }
}

.footer-box {
  display: table-cell;
  vertical-align: top;
  text-align: left;
  padding-right: 50px;
  font-size: .95em;
  line-height: 1.6;
}
@media screen and (max-width: 640px) {
  .footer-box {
    display: block;
    margin-bottom: 12px;
  }
}

.footer-box:last-child {
  padding-right: 0 !important;
}

.footer-box dt {
  /*color: #777;*/
  color: #205E84;
  font-weight: bold;
  font-size: .9em;
}

.footer-box dd {
  color: #333;
}

.footer-copy {
  margin-top: 15px;
  font-size: 0.65em;
  color: #777;
  text-align: right;
}

address span {
  line-height: 2em;
}

dl.ref-images dt {
  font-size: 0.9em;
}

dl.ref-images dd {
  padding-left: 1rem;
}

/* Collage mit Stichworten zum Behandlungskonzept */
table.collage {
  width: 100%;
  margin: 2em 0;
}

table.collage td {
  color: #205E84;
  font-size: 1.2em;
  padding: 0.3em 1em;
}

table.collage td:first-child {
  text-align: right;
}

table.collage td:last-child {
  text-align: left;
}

table.collage td.emphasize {
  font-size: 1.75em;
  text-align: center;
}

@media screen and (max-width: 640px) {
  table.collage td {
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    line-height: 1em;
    font-size: 1.1em;
  }

  table.collage td.emphasize {
    font-size: 1.5em;
  }
}

/* Hilfsklassen */

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.inline-block {
  display: inline-block;
}

.little-space {
  margin: 0 3px;
}

.signature {
  font-style: italic;
}

.dev-based-on,
.impressum-source,
.remarks {
  font-size: 0.85em;
  color: #888;
}

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

.goto {
  float: right;
  font-size: 14px;
  margin-top: 15px;
}

/*.dev-based-on a,
.impressum-source a {
  color: #AAA;
}

.dev-based-on a:hover,
.impressum-source a:hover {
  color: #333;
}*/