@font-face { font-family: 'kanit'; src: url('../font/Kanit-Regular.ttf') format('truetype'); }


* {
    padding: 0;
    margin: 0;
}
html {
    background: #fff;
}
body {
    position: relative;
    margin: 0 auto;
    font-family: "kanit", Arial, Helvetica, sans-serif;
    color: #333;
}
a, a:visited {
    color: #1a8acc;
    text-decoration: none;
    transition: all .4s;
}
a:hover {
    background-color: #1a8acc;
    color: #fff;
}
#contact a {
    color: #999;
}
header a:hover,
#contact ul li a:hover {
    background-color: #fff;
}
.container {
    max-width: 1200px;
    width: 96%;
    margin: 0 auto;
    padding: 0 2%;
}

header .container {
    text-align: center;
    padding: .5em 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

img.logo {
    height: 80px;
    width: auto;
}
ul.kalender {
    list-style: none;
    right: 0;
    position: relative;
    width: 60px;
}
ul.kalender a {
    color: #fff;
    text-decoration: none;
}
img.kalender {
    position: relative;
    height: 60px;
    width: auto;
    right: 0px;
    top: 28px;
}
.cal {
    opacity: 0;
    transition: all 1s;
    display: block;
    position: relative;
    top: -33px;
    right: 170px;
    text-align: right;
    padding: .4em 1em;
    line-height: 1.3em;
    color: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 140px;
}
ul li:hover .cal {
    opacity: 1;
    background-color:#909090;
    transition: all 1s;
}

.topnav {
    display: none;
}

nav ul {
    display: flex;
    justify-content: space-between;
}

nav ul li {
    display: inline-flex;
    margin: 1em;
}

nav ul li a {
    text-decoration: none;
    color: #1a8acc;
    transition: all .3s;
    border-radius: 20px;
    padding: .7em;
    font-size: 1.3em;
}

nav ul li a:hover,
nav ul li a.active {
    color: #fff;
    background: #1a8acc;
    border-radius: 20px;
    padding: .7em;
}

.submenu {
    display: none;
    position: absolute;
    top: 77px;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0);
    z-index: 1;
}
nav ul li:hover .submenu {
    display: block;
}

.submenu li {
    color: black;
    padding: 0px;
    text-decoration: none;
    display: block;
    text-align: left;
    background-color: #fff;
}
nav ul li .submenu li a {
    text-decoration: none;
    color: #1a8acc;
    transition: all .3s;
    border-radius: 0px;
    padding: 0 .7em;
}
nav ul li .submenu li a:hover,
nav ul li .submenu li a.active {
    color: #1a8acc;
    background-color: #fff;
    text-decoration: underline;
    border-radius: 0px;
    padding: 0 .7em;
}
p.info {
    display: none;
}


#contact {
    background: #eee;
    color: #999;
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#contact ul {
    display: flex;
    justify-content: space-between;
    margin: -10px auto 14px auto;
}

#contact ul li {
    display: inline-flex;
    padding: .4em;
    text-align: left;
    align-items: center;
    transition: all .4s;
}

#contact ul li:hover {
    background: #fff;
    border-radius: 10px;
}

img.contact {
    padding-right: 1em;
    height: 50px;
    width: auto;
}


.name-slogan {
    color: #fff;
    position: relative;
    top: 350px;
    margin-top: -160px;
    text-shadow: 2px 1px #000;
}

.name {
    display: inline-block;
    position: relative;
    max-width: 1200px;
    width: 60%;
    margin: 0 auto;
}

h1 {
    font-size: 2em;
    margin-bottom: 7px;
}
.name-mobile {
    display: none;
}

h2 {
    padding-bottom: .7em;
}

#content {
    display: inline-block;
    background: #fff;
    padding: 2%;
    width: 96%;
}
#content p {
    margin-bottom: 15px;
}

#content .inhalt {
    display: inline-block;
}
#content .inhalt ul {
    margin: 0 0 15px 30px;
}
#card-wrapper img.left {
    float: left;
}
.card {
    margin-left: 350px;
}

footer {
    display: block;
    background: #1a8acc;
    padding: 2%;
    width: 96%;
    color: #fff;
}

footer a, footer a:visited {
    color: #fff;
    text-decoration: none;
    padding: .1em;
    border-radius: 3px;
}

footer a:hover {
    color: #1a8acc;
    background-color: #fff;
    text-decoration: none;
}

footer a.sbm {
    color: #1a8acc;
    background-color: #fff;
    text-decoration: none;
    padding: .1em;
    border-radius: 3px;
}

footer a.sbm:hover {
    color: #fff;
    background-color: #1a8acc;
}
/************ Scroll to Top ************/

#btn-back-to-top {
    display: inline-block;
    background-color: #1a8acc;
    color: #fff;
    width: 65px;
    height: 60px;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 50%;
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 1000;
    font-size: 3em;
    line-height: 1em;
    display: none;
    transition: all .4s;
}

#btn-back-to-top:hover {
    cursor: pointer;
    background-color: #fff;
    color: #1a8acc;
}


#top {
    display: inline-block;
    background-color: #1a8acc;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

#top::after {
    content: "nach oben";
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    line-height: .8em;
    color: #fff;
}

#top:hover {
    cursor: pointer;
    background-color: #fff;
}

#top:active {
    background-color: #fff;
}

#top.show {
    opacity: 1;
    visibility: visible;
}








/************ Bild Hover ************/
.picture {
    position: relative;
    width: 48%;
    float: left;
    margin-right: 2%;
  }
  
  .image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
  }
  
  .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .picture:hover .image {
    opacity: 0.3;
  }
  
  .picture:hover .middle {
    opacity: 1;
  }
  
  .infotext {
    background-color: #1a8acc;
    color: #fff;
    font-size: 16px;
    padding: 16px 32px;
  }
  figcaption {
    display: none;
  }