/* ------------------------------------------ */
/* Grundlegendes CSS für Single Template Site */
/* (c) 2021 Wolfgang Schütte, büro punkt.     */
/* ------------------------------------------ */

html, body {
    height: 100%; width: 100%;
    margin: 0px; padding: 0px;
    background-color: gray;
}

a {
    text-decoration: none;
}

a:link, a:visited {
    opacity: 1;
}

a:hover, a:active {
    opacity: 1; 
}

.wrapper a:link, .wrapper a:visited {
    opacity: 1;
}

.wrapper a:hover, .wrapper a:active {
    text-decoration: underline;
}

#kopfzeile {
    background-color: white;
    box-sizing: border-box; -moz-box-sizing: border-box;
    display: block; 
    position: absolute; top: 0px; left: 0px;
    z-index: 100;
    padding: 0px 0px 0px 0px;  
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2);
    height: 100%; max-height: 200px;
    -ms-user-select: None; 
    -moz-user-select: None; 
    -webkit-user-select: None; 
    user-select: None; 
}

#kopfzeile.schatten {
    box-shadow: 0px 2px 10px 5px rgba(0,0,0,0.5);
}

#kopfzeile.floating {
    position: fixed;
    width: 100%;
}

.innerwrapper {
    width: 100%; height: 100%; 
    max-width: 1080px; min-width: 320px;
    margin: 0 auto; position: relative;
    box-sizing: border-box; -moz-box-sizing: border-box;
    padding: 0px 20px 0px 20px; 
    display: block;
}

#kopfzeile .innerwrapper .logo {
    display: block;
    height: 100px; width: 100%;
    max-width: 400px;
    position: relative; top: 25px;
}

#kopfzeile .innerwrapper .logo a {
    opacity: 1;
}

#kopfzeile .innerwrapper .logo img {
    width: 100%;
    position: relative; z-index: 10;
}

#kopfzeile .innerwrapper .logo img:last-of-type {
    width: 100%;
    position: relative; z-index: 9;
}

#kopfzeile .innerwrapper .slogan {
    float: right;
    box-sizing: border-box; -moz-box-sizing: border-box;
    margin-top: -64px;
}

#kopfzeile .innerwrapper .menu {
    display: block;
    position: absolute;
    left: 16px; bottom: 0px;
    margin: 0px 0px 12px 0px;
    text-align: left;
    height: 30px;  
}

#kopfzeile .innerwrapper .menu ul {
    list-style-type: none;
    margin: 0px 0px 0px -36px;
}

#kopfzeile .innerwrapper .menu ul li {
    display: inline-block;
    margin: 0px 0px 0px 21px;
}

#kopfzeile .innerwrapper .menu ul li:first-of-type {
    margin: 0px;
}

#openmenubutton {
    background-image:url(../gfx/menuicon.png);
    background-size: 18px 16px;
    background-repeat:no-repeat;
    background-position: 0px 6px;
    padding-left: 28px; box-sizing: border-box; -moz-box-sizing: border-box;
    display: none;
    margin: 0px;
    position: relative; z-index: 2;
}

#openmenubutton:hover {
    background-image:url(../gfx/menuicon_o.png);    
}

#openmenubutton.aktiv {
    background-image:url(../gfx/menuicon_o.png);  
}

.wrapper {
    width: 100%; min-width: 320px;
    background-color: white;
}

#content {
    padding-top: 200px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: white;
    width: 100%;
    overflow-x: hidden;
}

.modul_fliesstext {
    box-sizing: border-box; -moz-box-sizing: border-box; position: relative;
}

.modul_slideshow {
    box-sizing: border-box; -moz-box-sizing: border-box; position: relative;
}

.modul_bildleiste {
    box-sizing: border-box; -moz-box-sizing: border-box; position: relative;
    margin: 0px; background-size: cover; background-position: center center;
    padding: 0px; 
}

.modul_bildleiste img { width: 100%; margin: 0px; min-height: 320px; max-height: 640px; }

.modul_bildleiste .bildleiste_links {
    height: 100%; width: 160px; position: absolute; left: 0px; top: 0px; z-index: 99;
    cursor: pointer; background-image:url(../gfx/links.png); background-repeat: no-repeat;
    background-position: center center; background-size: 30px 52px;
    opacity: 0.5;
}

.modul_bildleiste .bildleiste_rechts {
    height: 100%; width: 160px; position: absolute; right: 0px; top: 0px; z-index: 99;
    cursor: pointer; background-image:url(../gfx/rechts.png); background-repeat: no-repeat;
    background-position: center center; background-size: 30px 52px;
    opacity: 0.5;
}

.modul_bildleiste .bildleiste_rechts:hover, .modul_bildleiste .bildleiste_links:hover {
    opacity: 1;
}


.modul_bildergalerie {
    box-sizing: border-box; -moz-box-sizing: border-box; position: relative;
}

.modul_kontakt {
    box-sizing: border-box; -moz-box-sizing: border-box; position: relative;
}

.slideshow_wrapper {
    width: 100%; overflow-x: hidden; margin-top: 40px;
}

.slideshow_left {
    width: 26px; height: 48px;
    position: absolute; left: -50px; top: 50%;
    background-image:url(../gfx/arrow_left_black.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.slideshow_right {
    width: 26px; height: 48px;
    position: absolute; right: -24px; top: 50%;
    background-image:url(../gfx/arrow_right_black.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.slideshow_left:hover, .slideshow_right:hover {
    opacity: 1;
    cursor: pointer;
}

.leistenbild {
    width: 100%; height: 100%; position: absolute; 
    top: 0px; left: 0px; background-size: cover; 
    z-index: 10000; display: none; z-index:9;
}

#content ul { 
    list-style-type: none; 
    margin-left: -40px;
    margin-bottom: 0px;
}

#content ul li { 
    background-image:url(../gfx/bullet.png);
    background-repeat: no-repeat;
    padding-left: 10px;
    background-position: 0px 8px;
}

#content .thumbnails ul li {
    background-image: none;
}

.thumbnails {
    position: absolute; z-index: 11; bottom: 0px; text-align: left;
    margin-bottom: 0px; width: 100%;
    -ms-user-select: None; 
    -moz-user-select: None; 
    -webkit-user-select: None; 
    user-select: None; 
}

.thumbnails ul {
    margin-left: -40px;
    list-style-type: none; 
}

.thumbnails li {
    width: 14px; height: 14px;
    display: inline-block;
    margin-left: 12px; background-color: white;
    margin-bottom: 16px;
    box-sizing: border-box; -moz-box-sizing: border-box;
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
    background-image: none;
}

.thumbnails.white li {
    border-style: solid; border-width: 2px;
    width: 14px; height: 14px;
    display: inline-block;
    margin-left: 12px; background-color: white;
    margin-bottom: 16px;
    border-color: #c6c6c6;
    box-sizing: border-box; -moz-box-sizing: border-box;
}

.thumbnails li {
    opacity: 0.5;
}

.thumbnails li:hover {
    opacity: 1;
    cursor: pointer;
}

.thumbnails li.aktuell {
    opacity: 1;
}

.thumbnails.white li.aktiv {
    background-color: #c6c6c6;
}

.thumbnails.white li:hover {
    background-color: #c6c6c6;
    cursor: pointer;
}

.thumbnails li:first-of-type {
    margin-left: 0px;
}

.tabelle, .nowraptabelle {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

.zeile, .mzeile, .nowraptabelle .zeile {
    display: table-row;
}

.spalte, .mspalte, .nowraptabelle .spalte {
    display: table-cell;
    vertical-align: top;
}

.spalte img {
    width: 100%; margin-bottom: 25px;
}

.trenner {
    display: table-cell;
}

#footer {
   text-align: center; 
   color: white;
   -ms-user-select: None; 
   -moz-user-select: None; 
   -webkit-user-select: None; 
   user-select: None; 
}

#footer ul {
    list-style-type: none;
    margin-left: -60px;
}

#footer ul li {
    background-image: none;
    margin-left: 10px;
    margin-right: 10px;
    display: inline-block;
}

#footer .spruch {
    width: 65%; max-width: 600px; float: left; text-align: left;
    padding-right: 50px;
}

#footer .logoinvert img {
    width: 100%;
    max-width: 300px;
    margin-top: -12px;
}

#footer .logoinvert {
    float: right;
    width: 35%; max-width: 300px;
}

#footer .copyright {
    clear: both; padding-top: 20px; 
}

h1, h2, h3, h4, h5, h6 { margin-top: 0px; }

p { margin-bottom: 20px; margin-top: 20px; }

h3, h4 { margin-top: 14px; }

h5, h6 { margin-bottom: 16px; }

b, strong { font-weight: 700; }

.abschnittstrenner {
    position: relative;
    height: 40px; max-width: 1000px; width: 100%;
    margin: 0 auto; margin-bottom: -55px;
    clear: both;
    -ms-user-select: None; 
    -moz-user-select: None; 
    -webkit-user-select: None; 
    user-select: None; 
}

.abschnittstrenner hr {
    height: 1px; 
    width: 100%;
    border-style: none; border-width: 0px;
    background-repeat: repeat-x;
    background-color: #000000;
    margin: 0 auto;
    margin-left: -20px;
}

.top {
    box-sizing: border-box; -moz-box-sizing: border-box;   
    text-align: center;
    width: 200px; height: 100px; 
    margin: 0 auto; 
    margin-top: 40px;
    color: white; 
    vertical-align: bottom;
    background-image:url('../gfx/arrow_top.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 70px 41px;
    cursor: pointer;
    opacity: 0.5;
    padding-top: 50px;
    font-size: 13px;
}

.top:hover {
    opacity: 1;
}

.arrowtop {
    position: absolute; right: -25px; top: -30px;
    box-sizing: border-box; -moz-box-sizing: border-box;   
    text-align: center;
    width: 65px; height: 40px; 
    background-color: white; 
    vertical-align: bottom;
    background-image:url('../gfx/arrow_top_red50.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 70px 41px;
    cursor: pointer;
    font-size: 13px;
}

.arrowtop:hover {
    background-image:url('../gfx/arrow_top_red.png');
}

#mapwrap {
    height: 429px; width: 100%;
    overflow: hidden; position: relative;
    margin-top: 27px; margin-bottom: 25px;
    background-color: #f2f1f0;
}

#map {
    margin-top: -135px;
}

#loadmap {
    width: 200px;
    margin-top: 50px;
    cursor: pointer;
}

.platzhalter {
    width: 100%; height: 100%; background-color: #f1f3f4; vertical-align: middle; display: table-cell;
    box-sizing: border-box; -moz-box-sizing: border-box; text-align: center;
}


.fancyinput {
    box-sizing: border-box; -moz-box-sizing: border-box;
    display:block; width: 100%;
    background-color: white;
    padding: 10px; margin-bottom: 10px;
    border-style: solid; border-color: black; border-width: 1px;
}

.fancytextarea {
    box-sizing: border-box; -moz-box-sizing: border-box;
    display:block; width: 100%; 
    max-width: 100%; min-width: 100%;
    background-color: white;
    padding: 10px; margin-bottom: 5px; 
    height: 150px; min-height: 150px;
    border-style: solid; border-color: black; border-width: 1px;
}

.fancybutton {
    border-style: solid; border-width: 2px; padding: 10px; 
    box-sizing: border-box; -moz-box-sizing: border-bix;
    background-color: transparent;
}

.fancyselect { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px; width: 100%; 
    border-radius: 0px; margin-bottom: 12px;
    background-image:url(../gfx/dropdown_hell.png);
    background-position: top right;
    background-repeat: no-repeat;
    -moz-box-sizing: border-box; box-sizing: border-box; 
    border-style: solid; border-color: black; border-width: 1px;
}

.fancyselect:hover {
    cursor: pointer;
    background-image:url(../gfx/dropdown.png);
}

.fancycheckbox {
    height: 20px; width: 20px; margin: -2px 0px 0px -2px;
    position: relative; top: 5px;
}

table, tr, td { 
    margin: 0px; padding: 0px;
    border: none;
}

td { vertical-align: top; padding-right: 20px;}

form {
    box-sizing: border-box; -moz-box-sizing: border-box;
    padding-top: 12px;
}

.tabelle.dreispaltig .spalte {
    width: 31.5%;
}

.tabelle.dreispaltig .trenner {
    width: 2.75%; 
}

.tabelle.zweispaltig .spalte {
    width: 48.625%;
}

.tabelle.zweispaltig .trenner {
    width: 2.75%; 
}

.tabelle.zweispaltiggrossklein .spalte {
    width: 31.5%;
}

.tabelle.zweispaltiggrossklein .trenner {
    width: 2.75%; 
}

.tabelle.zweispaltiggrossklein .spalte:first-of-type {
    width: 65.75%;
}

.tabelle.zweispaltigkleingross .spalte {
    width: 65.75%;
}

.tabelle.zweispaltigkleingross .trenner {
    width: 2.75%; 
}

.tabelle.zweispaltigkleingross .spalte:first-of-type {
    width: 31.5%;
}

.tabelle.mini {
    table-layout: auto; width: 100%;
    margin: 0 auto;
}

.tabelle.mini .mspalte {
    width: auto; white-space: nowrap;
}

.tabelle.mini .mtrenner {
    width: 40px;
}

.errormsg {
    font-weight: 700; display: block; text-align: right;
}

nowrap { white-space: nowrap; }

.mobilemenu {
    position: absolute; top: 100%; 
    background-color: rgba(255,255,255,0.9);
    margin-left:-20px; right: 20px; width: 275px; font-weight: normal;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
    background-image:url(../gfx/verlauf.png);
    background-size: cover; z-index: 10;
    border-style: solid; border-width: 1px 0px 0px 0px;
    border-color: rgba(0,0,0,0.2);
    display: none;
}

.mobilemenu ul {
    list-style-type: none;
    margin-top: 10px; margin-bottom: 10px; margin-left: -20px;
}

.mobilemenu a { display: block; }

.galerie {
    display: none; width: 100%; height: 100%; background-color: black; position: fixed; top: 0px; left: 0px; z-index: 1000000;
    -ms-user-select: None; 
    -moz-user-select: None; 
    -webkit-user-select: None; 
    user-select: None; 
}

.galeriebild {
    display: block; width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; 
    display: none; box-sizing: border-box; -moz-box-sizing: border-box;
    padding-top: 55px; padding-bottom: 85px;
}

.galerielinks {
    height: 100%; width: 50px; position: absolute; left: 1%; top: 0px;
    cursor: pointer; background-image:url(../gfx/links.png); background-repeat: no-repeat;
    background-position: center center; background-size: 30px 52px;
    opacity: 0.5;
}

.galerielinks:hover {
    opacity: 1;
}

.galerierechts {
    height: 100%; width: 50px; position: absolute; right: 1%; top: 0px;
    cursor: pointer; background-image:url(../gfx/rechts.png); background-repeat: no-repeat;
    background-position: center center; background-size: 30px 52px;
    opacity: 0.5;
}

.galerierechts:hover {
    opacity: 1;
}


.galeriebildinset {
    background-size: contain; background-position: center center; 
    width: 100%; height: 100%;
    background-repeat: no-repeat;
}

.galeriebildunterschrift {
    box-sizing: border-box; -moz-box-sizing: border-box;
    background-color: rgba(0,0,0,0.9);
    padding: 10px; color: white; width: 100%;
    position: absolute; bottom: 0px; left: 0px;
    text-align: center;
}

.galerieclose {
    width: 40px; height: 40px; background-color: rgba(0,0,0,1);
    background-image:url(../gfx/close.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
    position: absolute; top: 10px; right: 10px;
    opacity: 0.5;
}

.galerieclose:hover {
    opacity: 1;
}

.galerie_spalte.thumbnail1x1spaltig, .galerie_spalte.thumbnail1x2spaltig, .galerie_spalte.thumbnail2x1spaltig, .galerie_spalte.thumbnail2x2spaltig, .galerie_spalte.thumbnail2x3spaltig { 
    background-size: cover;
    display: inline-block;
    border-width: 0px;
    border-style: none;
}

.galerie_spalte.thumbnail1x1spaltig {
    height: 146px; width: 146px;
}

.galerie_spalte.thumbnail2x1spaltig {
    height: 146px; width: 316px;
}

.galerie_spalte.thumbnail1x2spaltig {
    height: 316px; width: 146px;
}

.galerie_spalte.thumbnail2x2spaltig {
    height: 316px; width: 316px;
}

.galerie_spalte.thumbnail2x3spaltig {
    height: 486px; width: 316px;
}


.galerie_raster {
    width: 100%; position: relative; margin-top: 27px;
    display: block; min-width: 320px; margin-bottom: 50px;
}

.galerie_rahmen {
    position: relative;
}

.galerie_spalte {
    height: 146px;
    box-sizing: border-box; -moz-box-sizing: border-box;
    padding: 10px;
    position: relative; z-index: 1;
    cursor: pointer;
}

.galerie_spalte:hover {
    box-shadow: 7px 7px 10px rgba(0,0,0,0.5);
}

.abstand-sizer {
    width: 25px; height: 25px;
}

.raster-sizer {
    width: 146px; height: 146px;
}

.zusammenziehen {
    margin-top: -60px;
}

.prolog {
    margin-top: 58px;
}

.galeriethumbs {
    display: none; width: 100%; 
}

.glink {
    display: inline-block;
    cursor: pointer;
    -ms-user-select: None; 
    -moz-user-select: None; 
    -webkit-user-select: None; 
    user-select: None; 
}
       
.slick-prev.slick-disabled,
.slick-next.slick-disabled
{
    opacity: 0;
}

.bildbox {
    display: block; background-repeat: no-repeat;
    background-size: cover; background-position: center center;
    width: 100%; height: auto; margin-bottom: 33px;
}

.bildbox.vollbild { height: 100%; }

.bildbox img {
    width: 100%; height: 100%;
}

.slider {
   -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
            margin-top: 65px;
            margin-bottom: -20px;
}

.sonderabstand {
    display: block; height: 95px;
}

#footer a:link, #footer a:visited { opacity: 0.65; }
#footer a:hover, #footer a:active, #footer a.aktiv { opacity: 1; }

#cookie_hinweis {
    display: block; padding: 0px 20px 20px 20px; box-sizing: border-box; -moz-box-sizing: border-box; text-align: center;
    z-index: 100500; width: 100%; color: white; position: fixed; bottom: 0px; background-color: black;
}

#cookie_hinweis a {
    color: rgba(255,255,255,0.7);
    margin-left: 40px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 5px 12px 5px 12px; display: inline-block;
    margin-bottom: 20px;
}

#cookie_hinweis a:first-of-type {
    margin-left: 0px;
}

#cookie_hinweis a:hover {
    color: rgba(255,255,255,1);
}


@media (max-width: 1040px) {
    hr.abschnittstrenner { width: calc(100% - 57px); margin-left: 20px; }
    .arrowtop { right: 14px;}
}

@media (max-width: 1130px) {
    hr.abschnittstrenner { width: calc(100% - 57px); margin-left: 0px; }
    .arrowtop { right: -8px;}
}

@media (max-width: 950px) {   
    .tabelle.mini .mspalte { width: 100%; min-width: 100%; max-width: 100%; display: block; margin-bottom: 0px; }
    .tabelle.mini { display: block; width: 100%; }
}

@media (max-width: 910px) {   
   #kopfzeile .innerwrapper .menu ul li { margin: 0px 0px 0px 14px; letter-spacing: -0.4px; }
   #kopfzeile .innerwrapper .menu ul li:first-of-type { margin: 0px; } 
}

@media (max-width: 850px) {
    #kopfzeile .innerwrapper .menu ul li { margin: 0px 0px 0px 15px; }
    #kopfzeile .innerwrapper .menu ul li:first-of-type { margin: 0px; }
    #kopfzeile .innerwrapper .menu { text-align: right; width: 320px; left: inherit; right: 18px; }
    .menu .menubutton { display: none; }
    #openmenubutton { display: block; padding-right: 0px; letter-spacing: 0px; position: relative; font-size: 22px; background-position: 0px 7px; top: 15px; }
    .modul_bildleiste { margin-bottom: 20px; }
    #kopfzeile { max-height: 150px; }
    #kopfzeile .logo { margin-top: -20px; }
    #content { padding-top: 150px; }
    .mobilemenu { top: 170px; }
}


@media (max-width: 710px) {
    .mzeile { display:block; width: 100%;}
    .mspalte { display: block; width: 100%; }
    .tabelle.mini { margin: 0px; }
}

@media (max-width: 700px) {
    #footer .logoinvert { float: none; display: block; position: relative; padding-top: 34px; width: 100%; margin: 0 auto;}
    #footer .spruch { margin: 0 auto; float: none; position: relative; left: 15px; width: 100%; padding-right: 20px; }
    #footer .spruch ul { text-align: center; }
}


@media (max-width: 600px) { 
    .tabelle.dreispaltig .spalte, .tabelle.zweispaltig .spalte, .tabelle.zweispaltiggrossklein .spalte, .tabelle.zweispaltigkleingross .spalte, .tabelle.einspaltig .spalte { width: 100%; min-width: 100%; max-width: 100%; display: block; margin-bottom: 40px; }
    .tabelle.dreispaltig .trenner, .tabelle.zweispaltig .trenner, .tabelle.zweispaltiggrossklein .trenner, .tabelle.zweispaltigkleingross .trenner { display: none; }
    .tabelle .zeile { display: block; width: 100%; }
    .tabelle .spalte { width: 100%; display: block; }
    .empty { display: none; }
    .tabelle { display: block; width: 100%; }
    .bildbox { width: 100%; }
    #openmenubutton { top: 18px; }
    #kopfzeile { max-height: 115px; }
    #content { padding-top: 115px; }
    .mobilemenu { top: 135px; }
    .modul_bildleiste .bildleiste_links { width: 80px; }
    .modul_bildleiste .bildleiste_rechts { width: 80px; }
}

@media (max-width: 550px) {
    #wrapper { margin-top: 0px; }
    #kopfzeile .innerwrapper .logo { max-width: 240px; top: 39px; }
}

@media (max-width: 475px) {
    .modul_bildleiste .bildleiste_links { width: 60px; }
    .modul_bildleiste .bildleiste_rechts { width: 60px; }
}

@media (max-width: 415px) {
    #cookie_hinweis { padding-bottom: 5px; }
    #cookie_hinweis a { margin: 0px 0px 20px 5px; }
}

@media (max-width: 375px) {
    #cookie_hinweis a { margin: 0px 0px 20px 0px; }
    .menubuttontext { display: none }
    #openmenubutton { right: -10px; } 
    #kopfzeile { max-height: 100px; }
    #content { padding-top: 100px; }
    .mobilemenu { top: 120px; }
    #kopfzeile .innerwrapper .logo { max-width: 240px; top: 27px; }
}

@media (max-width: 340px) {
    .galerie_spalte.thumbnail1x1spaltig {
    height: 128px; width: 128px;
    }

.galerie_spalte.thumbnail2x1spaltig {
    height: 128px; width: 280px;
}

.galerie_spalte.thumbnail1x2spaltig {
    height: 280px; width: 128px;
}

.galerie_spalte.thumbnail2x2spaltig {
    height: 280px; width: 280px;
}

.galerie_spalte.thumbnail2x3spaltig {
    height: 432px; width: 280px;
}

.galerie_spalte {
    height: 136px;
}
}