/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
@font-face {
  font-family: 'Gidole';
  src: url('../fonts/gidole-regular-webfont.woff2') format('woff2'), url('../fonts/gidole-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
html,
body {
  font-family: 'Gidole', sans-serif;
  font-size: 20px;
  line-height: 1.7em;
  background: #f5f5f5;
}
::-webkit-scrollbar-track {
  background-color: #ccc;
}
::-webkit-scrollbar {
  width: 6px;
  background-color: #e5e5e5;
}
::-webkit-scrollbar-thumb {
  background-color: red;
}
#page-wrapper:before,
#page-wrapper:after {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  width: auto;
  height: 20vh;
  content: '';
  display: block;
  z-index: 9;
  background: linear-gradient(#ffffff, rgba(255, 255, 255, 0));
}
#page-wrapper:after {
  top: auto;
  bottom: 0px;
  background: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
}
@keyframes highlightBorder {
  to {
    width: 100%;
  }
}
#medipontis-logo {
  display: block;
  width: 150px;
  height: 35px;
  background: url('../img/logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  position: fixed;
  top: 1em;
  left: 1em;
  z-index: 99;
  opacity: 0.4;
  transition: all 0.3s ease-in-out;
}
#medipontis-logo:hover {
  opacity: 1;
}
#links {
  position: fixed;
  top: 1em;
  right: 1em;
  display: flex;
  z-index: 99;
}
#links a:first-child {
  text-indent: -9999px;
  display: block;
  width: 35px;
  height: 35px;
  background: url('../img/Location.svg');
  background-size: contain;
  margin-right: 1em;
}
#links a:last-child {
  text-indent: -9999px;
  display: block;
  width: 35px;
  height: 35px;
  background: url('../img/Impressum.svg');
  background-size: contain;
}
#links a {
  opacity: 0.4;
  transition: all 0.3s ease-in-out;
}
#links a:hover {
  opacity: 1;
}
.flex {
  display: flex;
}
.flex > div {
  margin-right: 3em;
}
#overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  display: none;
}
#overlay #modal-closer {
  display: block;
  position: absolute;
  top: 3em;
  right: 3em;
  width: 2em;
  height: 2em;
  background: url('../img/closer.svg');
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  z-index: 9999;
}
#overlay #modalbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  max-height: 600px;
  width: calc(100% - 2em);
  height: auto;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
  overflow-y: scroll;
  padding: 3em;
}
#overlay #modalbox h2 {
  margin-top: 0;
  padding-top: 0;
  text-transform: uppercase;
}
#overlay #modalbox > [id^="modal-"]:not(#modal-closer) {
  display: none;
}
@keyframes fadeOutOpener {
  to {
    opacity: 0;
  }
}
@keyframes fadeInOpenerHeadline {
  to {
    opacity: 1;
    transform: translatey(0);
  }
}
#opener {
  position: fixed;
  transform-origin: center;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: block;
  z-index: 999;
  background: linear-gradient(#e1e1e1, #ffffff);
  animation: fadeOutOpener 1s ease-out forwards 3.5s;
}
#main {
  margin: 0 auto;
  max-width: 1200px;
  width: auto;
  transform-origin: top center;
}
#main [id^="area-"] {
  height: 100vh;
  position: relative;
}
#main [id^="area-"]:before {
  content: '';
  width: 2px;
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 25%;
  background: red;
  opacity: 0.1;
}
#main [id^="area-"]:first-child:before {
  top: 50%;
}
#main [id^="area-"]:last-child:before {
  bottom: 50%;
}
#main [id^="area-"] .button {
  position: absolute;
  bottom: 5em;
  left: 50%;
  transform: translatex(-50%);
  background: red;
  color: #fff;
  padding: 1em  2em;
  display: inline-block;
  z-index: 99;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}
#main [id^="area-"] .inner {
  position: absolute;
  left: 50%;
  top: 50%;
  right: 2em;
  transform: translatey(-50%);
  background: #f5f5f5;
}
#main [id^="area-"] .inner p {
  text-align: left;
  font-size: 1.5em;
  line-height: 1.5em;
  color: #555;
}
#main [id^="area-"] .inner:before {
  position: absolute;
  top: -50px;
  height: 50px;
  content: '';
  left: 0px;
  right: 0px;
  background: linear-gradient(rgba(245, 245, 245, 0), #f5f5f5);
}
#main [id^="area-"] .inner:after {
  position: absolute;
  bottom: -50px;
  height: 50px;
  content: '';
  left: 0px;
  right: 0px;
  background: linear-gradient(#f5f5f5, rgba(245, 245, 245, 0));
}
#main [id^="area-"] .inner strong {
  color: #545454;
  font-weight: bold;
  display: inline;
  position: relative;
}
#main [id^="area-"] .inner strong:after {
  content: '';
  height: 1px;
  width: 0%;
  position: absolute;
  bottom: 5px;
  left: 0px;
  background: #545454;
}
@media (min-width: 800px) {
  #main [id^="area-"] .inner.active strong:first-child:after {
    animation: highlightBorder 0.3s ease-out 0.6s forwards;
  }
  #main [id^="area-"] .inner.active strong:nth-child(2):after {
    animation: highlightBorder 0.3s ease-out 0.9s forwards;
  }
  #main [id^="area-"] .inner.active strong:nth-child(3):after {
    animation: highlightBorder 0.3s ease-out 1.2s forwards;
  }
  #main [id^="area-"] .inner.active strong:nth-child(4):after {
    animation: highlightBorder 0.3s ease-out 1.5s forwards;
  }
  #main [id^="area-"] .inner.active strong:nth-child(5):after {
    animation: highlightBorder 0.3s ease-out 1.8s forwards;
  }
  #main [id^="area-"] .inner.active strong:nth-child(6):after {
    animation: highlightBorder 0.3s ease-out 2.1s forwards;
  }
  #main [id^="area-"] .inner.active strong:nth-child(7):after {
    animation: highlightBorder 0.3s ease-out 2.4s forwards;
  }
  #main [id^="area-"] .inner.active strong:nth-child(8):after {
    animation: highlightBorder 0.3s ease-out 2.7s forwards;
  }
}
#main [id^="area-"] img,
#main [id^="area-"] object,
#main [id^="area-"] div[id^="animation-"] {
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  left: 1em;
  width: calc(55% - 4em);
  height: auto;
}
#main [id^="area-"] img svg,
#main [id^="area-"] object svg,
#main [id^="area-"] div[id^="animation-"] svg {
  width: 100%;
}
#main [id^="area-"] #animation-01,
#main [id^="area-"] #animation-02,
#main [id^="area-"] #animation-03,
#main [id^="area-"] #animation-04 {
  /*&.active {
                path {
                    fill: #52525a;
                    stroke: #52525a;
                }
            }*/
}
#main [id^="area-"] #animation-01 path,
#main [id^="area-"] #animation-02 path,
#main [id^="area-"] #animation-03 path,
#main [id^="area-"] #animation-04 path {
  fill: #ccc;
  stroke: #ccc;
}
#main [id^="area-"] #animation-05 {
  /*&.active {
                path {
                    stroke: #52525a;
                }
            }*/
}
#main [id^="area-"] #animation-05 path {
  stroke: #ccc;
}
.dotstyle {
  position: fixed;
  top: 1em;
  left: 50%;
  transform: translatex(-50%);
  z-index: 999;
}
.dotstyle ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.dotstyle li {
  position: relative;
  display: block;
  float: left;
  margin: 0 16px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.dotstyle li a {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: none;
  background-color: #ccc;
  background-color: rgba(200, 200, 200, 0.3);
  text-indent: -999em;
  /* make the text accessible to screen readers */
  cursor: pointer;
  position: absolute;
}
.dotstyle li a:focus {
  outline: none;
}
.dotstyle-dotmove li:last-child {
  position: absolute;
  left: 0;
  margin: 0;
  width: 48px;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.6s ease-in-out;
}
.dotstyle-dotmove li:last-child::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -1px;
  width: 18px;
  height: 18px;
  background: red;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.dotstyle-dotmove li.active:first-child ~ li:last-child {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}
.dotstyle-dotmove li.active:nth-child(2) ~ li:last-child {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
.dotstyle-dotmove li.active:nth-child(3) ~ li:last-child {
  -webkit-transform: translateX(200%);
  transform: translateX(200%);
}
.dotstyle-dotmove li.active:nth-child(4) ~ li:last-child {
  -webkit-transform: translateX(300%);
  transform: translateX(300%);
}
.dotstyle-dotmove li.active:nth-child(5) ~ li:last-child {
  -webkit-transform: translateX(400%);
  transform: translateX(400%);
}
.dotstyle-dotmove li.active:nth-child(6) ~ li:last-child {
  -webkit-transform: translateX(500%);
  transform: translateX(500%);
}
.dotstyle-dotmove li a {
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
.dotstyle-dotmove li a:hover,
.dotstyle-dotmove li a:focus {
  background-color: #ccc;
}
.pageload-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  visibility: visible;
}
.pageload-overlay.hide {
  visibility: hidden;
}
.pageload-overlay svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.pageload-overlay svg path {
  fill: #fff;
}
#loader {
  pointer-events: none;
}
#loader .inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  animation: fadeOutOpener 0.3s ease-in forwards 3s;
}
#loader h2 {
  transform: translatey(30px);
  color: #ccc;
  opacity: 0;
  font-size: 1.8em;
  font-weight: normal;
  animation: fadeInOpenerHeadline 1s ease-in forwards 1s;
}
#loader #opener-medipontis-logo {
  display: block;
  text-indent: -9999px;
  background: url('../img/logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  height: 90px;
  width: 400px;
}
@media (max-width: 900px) {
  body,
  html {
    font-size: 16px;
  }
}
@media (max-width: 800px) {
  body,
  html {
    font-size: 13px;
  }
  #overlay #modalbox {
    left: 3em;
    right: 3em;
    top: 3em;
    bottom: 3em;
    width: auto;
    transform: none;
  }
  .flex {
    display: block;
  }
}
@media (max-width: 700px) {
  body,
  html {
    font-size: 12px;
  }
  .dotstyle {
    top: auto;
    bottom: 2em;
    width: 290px;
  }
  #main [id^="area-"] .button {
    bottom: 8em;
  }
  #main [id^="area-"] .inner strong:after {
    bottom: 1px;
  }
  #main [id^="area-"] img,
  #main [id^="area-"] object,
  #main [id^="area-"] div[id^="animation-"] {
    top: 100px;
    left: 50%;
    transform: translatex(-50%);
    height: 50vh;
    width: 80vw;
    background: #f5f5f5;
  }
  #main [id^="area-"] img:before,
  #main [id^="area-"] object:before,
  #main [id^="area-"] div[id^="animation-"]:before {
    position: absolute;
    top: -50px;
    height: 50px;
    content: '';
    left: 0px;
    right: 0px;
    background: linear-gradient(rgba(245, 245, 245, 0), #f5f5f5);
  }
  #main [id^="area-"] img:after,
  #main [id^="area-"] object:after,
  #main [id^="area-"] div[id^="animation-"]:after {
    position: absolute;
    bottom: -50px;
    height: 50px;
    content: '';
    left: 0px;
    right: 0px;
    background: linear-gradient(#f5f5f5, rgba(245, 245, 245, 0));
  }
  #main [id^="area-"] .inner {
    transform: translatex(-50%);
    width: calc(100% - 6em);
    z-index: 9;
  }
  #main [id^="area-"] .inner p,
  #main [id^="area-"] .inner h2 {
    text-align: center;
  }
  #main [id^="area-"]:before {
    left: 50%;
    right: auto;
  }
  #main #area-06 img {
    margin-top: -6em;
  }
}
@media (max-height: 700px) {
  body,
  html {
    font-size: 10px;
  }
  strong:after {
    display: none !important;
  }
  #main [id^="area-"] .button {
    display: none;
  }
  #main [id^="area-"] img svg,
  #main [id^="area-"] object svg,
  #main [id^="area-"] div[id^="animation-"] svg {
    margin-top: -3em;
  }
}
@media (max-width: 450px) {
  #loader #opener-medipontis-logo {
    width: 250px;
    height: 56px;
  }
}
