/* General */

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf);
}

body {
    color: #333;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

a {
    color:#ff910a;
}

/* Header */

header {
    text-align: center;
}

header a {
    text-decoration: none;
    color: #333;
}

header #logo{
    margin-top: 1em;
    /*margin-bottom: 1em;*/
    max-width: 20em;
}

header #slogan{
    margin: 0px;
    font-size: 1.5em;
    font-weight: 400;
    font-family: "Open Sans";
    color:#888;
    overflow: hidden;
}

#slogan:before,
#slogan:after {
  background-color: #333;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

#slogan:before {
  right: 0.5em;
  margin-left: -50%;
}

#slogan:after {
  left: 0.5em;
  margin-right: -50%;
}

/* Menu and Buttons */

nav.menu-main {
    text-align: center;
    border-bottom: 1px solid #333;
    position:static;
    width:100%;
    background-color: #fff;
    z-index: 10;
}

nav.menu-main ul {
    padding: 0;
    margin: 0;
}

nav.menu-main li {
    list-style-type: none;
    text-align: center;
    display: inline-block;
    padding: 0.75em;
    padding-bottom: 1em;
    font-size: 1.1em;
}

nav.menu-main li.active {
    border-bottom: 2px solid #333;
}

nav.menu-main li.active a {
    color: #333;
}

nav.menu-main a {
    text-decoration: none;
}

nav.menu-main a:hover {
    text-shadow: 1px 1px 1px #ccc;
}

#home-icon {
    vertical-align: text-bottom;
}

#menu-button {
    display: none;
}

@media only screen and (max-width: 1200px) {
    nav.menu-main li {
        display: none;
    }

    nav.menu-main li.active {
        border-bottom: none;
    }

    #menu-button {
        display: flex;
        align-items: center;
    }

    div.hamburger-parent {
        flex: 1;
    }

    div.hamburger {
        width: 35px;
        height: 5px;
        background-color: #333;
        margin: 5px;
        border-radius: 2px;
    }

    #menu-central {
        visibility: hidden;
        background-image: url("../img/favicon.png");
        width:1.5em;
        height:1.5em;
        vertical-align: bottom;
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    
    #menu-placeholder {
        flex: 1;
    }
}

#cta-button {
    position: fixed;
    top: 50%;
    right: 0;
    padding:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;
    background-color: #ff910a;
    color:black;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    text-decoration: none;
}

@media only screen and (max-width: 1200px) {
    #cta-button {
        display: inline-block;
        vertical-align: top;
        position: static;
        top: unset;
        right: unset;
        border-radius: 5px;
        border-radius: 5px;
        text-decoration: none;
    }
}

#top-button {
    position: fixed;
    bottom: 1em;
    right: 1em;
    padding:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;
    background-color: #ccc;
    color:#333;
    border-radius: 5px;
    border-radius: 5px;
    text-decoration: none;
    display: none;
}

#top-button:hover {
    background-color: #aaa;
    color:#000;
}

#top-button div {
    vertical-align: middle;
}

#top-button div img {
    vertical-align: middle;
}

/* Main Content */

#container-main {
    width:80%;
    max-width: 50em;
    margin: 0 auto;
    margin-bottom: 5em;
    text-align: left;
}

div.container-inner {
    margin-top:5em;
}

h2 {
    /*color: #ef7c00;*/
    color: #ff910a;
}

h2:after {
    content:' ';
    display:block;
    border:2px solid #ff910a;
    margin-top:0.8em;
    width:2em;
}

.centered {
    text-align: center;
}

.hidden {
    display: none;
}

.sub-heading {
    padding-top: 1em;
    font-size: large;
}

img.checkmark {
    height: 1em;
    margin-left: 0.5em;
}

#foto-frank-spaeth {
    width:160px;
    max-width:40%;
    margin-right:10%;
    display: inline-block;
}

.small-foto-intro {
    width:10em;
    max-width:40%;
    margin-right:10%;
    margin-bottom: 1em;
    display: inline-block;
}

.fortbildung {
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    max-height: 128px;
    max-width: 100%;
}

#signature {
    margin-top: 3em;
}

@media only screen and (max-width: 1200px) {
    #signature {
        margin-top: 0em;
    }
}

#intro-text-top {
    margin-top: 1em;
}

#intro-header {
    text-align: center;
    font-size: 110%;
}

#intro-header {
    padding: 1em;
    border-top: 0.5px solid #ff910a;
    border-bottom: 0.5px solid #ff910a;
}

#mini-logo {
    width: 10em;
    margin-top:1em;
}

div.box {
    display: flex;
    align-items:flex-start;
}

div.container-inner span {
    display: inline-block;
    vertical-align: top;
}

div.container-inner span p {
    vertical-align: top;
}

.side-by-side {
    max-width: 45%;
}

@media only screen and (max-width: 1200px) {
    .side-by-side {
        max-width: 100%;
    }
}

#vema_connectpage {
    width:100%;
    border:none;
}

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

.tile {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 15em;
    height: 10em;
    border: solid 0.5px #333;
    cursor:pointer;
    margin-right: 1em;
    margin-bottom: 1em;
    z-index: 1;
}

.tile-text {
    font-size: 1.2em;
    background-color: #fff;
    position: absolute;
    height: 50%;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.tile-img {
    width: 100%;
}

.tile:hover > .tile-text {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    opacity: 0.8;
}

.tile-content {
    width: 100%;
    background-color: #fff;
}

.tile-content-shown {
    display: inline-block;
    width: 15.5em;
    height: 10em;
    vertical-align: bottom;
    z-index: 2;
    position: relative;
    margin-right: 1em;
    margin-bottom: 1em;
}

.tile-content-shown > ul {
    background-color: #fff;
    padding: 0.5em;
    margin: 0em;
}

#vorteile-list li{
    margin-bottom: 0.5em;
}

video {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block
}

.appstore {
    display: inline-block;
    margin-right:2em;
}

@media only screen and (max-width: 1200px) {
    .appstore {
        margin-bottom: 3em;
    }
}

img.qrcode {
    height: 8rem;
}

div.cover {
    transform: rotate(357deg);
    background: #ff910a;
    display: block;
    width: 12em;
    margin-left: 2.5em;
    text-align: center;
    margin-bottom: -18px;
}

span.blurred {
    filter: blur(5px);
}

/* Footer */

footer {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1em;
    border-top: 1px solid #333;
    padding-top: 2em;
}

@media only screen and (max-width: 1200px) {
    footer {
        margin-bottom: 4em;
    }
}

footer ul {
    padding: 0;
    margin: 0;
}

footer li {
    list-style-type: none;
    text-align: center;
    display: inline-block;
    padding: 0.75em;
}

footer a {
    text-decoration: none;
    color: #333;
}

/* Contact Form */

form input {
    border: 1px solid #888;
    border-radius: 2px;
    padding:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;
    width:100%;
    box-sizing: border-box;
}

form textarea {
    border: 1px solid #888;
    border-radius: 2px;
    padding:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;
    width:100%;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

form select {
    background-color: #fff;
    border: 1px solid #888;
    border-radius: 2px;
    padding:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;
}

form select option {
    background-color: #fff;
    padding:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;
}

/* Hide form input to prevent spam */
#adresse, label[for="adresse"] {
    display: none;
}

/* Document PIN Form */
#code-container {
    max-width:12em;
    margin-top:1em;
}

#code-container button {
    margin-top: 0.5em;
    width:100%;
}

#einverstaendnis-datenschutz, #einverstaendnis-widerruf, #einverstaendnis-verzicht-widerrufsrecht {
    width: auto;
}

.main-button {
    border: 1px solid #888;
    background-color: #ff910a;
    color: #333;
    font-size: 16px;
    border-radius: 2px;
    padding:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;
}

/* #required-label {
    font-size:12px;
} */

/* Slideshow */

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  /*.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }*/
  
  /* Fading animation *//*
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }*/

#consent-video {
    background-color: #fff;
    opacity: 0.9;
    padding: 1em;
    text-align: center;
    margin-top: -10em;
    width: 50%;
    min-width: 10em;
    margin-left: auto;
    margin-right: auto;
    font-size: 80%;
}

#load-video {
    background-color:#ffb253;
}