/*
******************************************************************

Main CSS: Standard-Tags, Canvases

(c) sinntun.codes
******************************************************************
*/

/*

XXX-canvas für größere Seitenbereiche (wie #main-canvas)
XXX-container für kleinere Bereiche innerhalb von Seitenelementen oder Seitenbereiche wie #footer
XXX-wrapper für Micro-Bereiche z. B. innerhalb eines Formular-Elements

*/

/*****************************************************************
**** Document
******************************************************************/

html {
    height: 100%;
}

body {
    max-height: 100%;
    font-size: 16px;
    hyphens: auto;
    overflow-x: hidden;
    accent-color: #ff8b00;
}

/*****************************************************************
**** Common Selectors
******************************************************************/

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.image-copyright{
    color: #646464;
    font-size:12px;
    text-align: right;
}

ul.linklist {
    list-style: none;
    margin:0;
    padding:0;
}

ul.linklist a {
    color:#000000;
}
ul.linklist a:hover {
    color: #FF8C00;
}


.link-button {
    display: inline-block;
    margin-top: 15px;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 700;
}


.link-container.top {
    margin-bottom: 20px;
}

.button {
    background-color: #FF8C00;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 30px;
    display: inline-block;
}
.button:hover {
    background-color: #FF8C00;
    color: #fff;
}

.button-back::before {
    content: '\f191';
    font-family: 'Font Awesome 5 Pro', sans-serif;
    font-weight: 900;
    display: inline-block;
    width: 30px;
}


.text {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.text ul, .text ol {
    display: block;
    padding: 10px 20px;
}
/*** CKEditor Absätze auch im Frontend */

.texteditor p {
    margin-bottom: 26px;
}
.texteditor ul {
    margin-bottom: 26px;
}

/* ********** error ********** */

.error-text {
    display: block;
    margin: 10px 0;
}

.error-link {
    margin-top: 10px;
    display: block;
}


.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1em;
    z-index: 9999;
}

.background {
    width: 1350px;
    max-width: calc(100% - 50px);
    margin: auto;
    margin-bottom: -1px;
    padding: 0 25px;
}

.background.bottom {
    transform: scale(-1);
    margin-bottom: initial;
}

@media (max-width: 1024px) {
    .background {
        transform: scaleY(1.5);
        transform-origin: bottom;
        max-width: 100%;
        padding: initial;
    }

    .background.bottom {
        transform: scaleY(1.5) rotate(180deg);
        transform-origin: initial;
        margin-top: 1%;
    }
}

/*** download-links
******************************************************************/

.download-link {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
}

.download-link::before {
    font-family: "Font Awesome 5 Pro", sans-serif;
    font-weight: normal;
    content: "\f56d";
    width: 25px;
    display: inline-block;
    color: #ff8b00;
    font-size: 30px;
    margin-right: 35px;
}


/*****************************************************************
*** Grid / Canvases
******************************************************************/


#page-canvas {
    width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    background: #fff;
    z-index: 1001; /* above OpenStreetMap */
}

#main-navigation {
    width: auto;
    padding-right: 120px;
    float: right;
}

#aside-canvas {
    width: calc(20% - 30px);
    max-width: 200px;
    margin-right: 80px;
    float: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    height: auto;
}

#content-canvas {
    width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    max-width: 1480px;
    padding: 30px 40px 50px;
    margin: auto;
}

.pagetype-standard_no_info #content-canvas {
    max-width: 1400px;
}

#main-canvas {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#info-canvas {
    width: 100%;
    max-width: 270px;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    float: right;
    margin-top: 9px;
}



/*****************************************************************
**** Header
******************************************************************/

#head-container {
    width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    max-width: 1480px;
    padding: 0 40px;
    margin: auto;
}

#head-logo-title-container {
    display: flex;
}

#head-logo {
    width: 100%;
    max-width: 220px;
    overflow: hidden;
}

#head-logo img {
    width: auto;
    height: auto;
    display: block;
}


#head-title {

}


#head-image {
    position: relative;
    width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 1920px;
    margin: auto;
}

#head-image img {
   /*
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
   */
}

.top-navigation {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
}

.head-text {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    text-align: center;
    position: absolute;
    top: calc(50% - 20px);
    left: 0;
    right: 0;
    margin: 0 auto;
}

/*****************************************************************
**** Footer
******************************************************************/

#footer-canvas {
    height: auto;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    max-width: 1480px;
    padding: 50px 40px;
    margin: auto;
}

#footer-canvas {
    display: grid;
    grid-template: repeat(2, auto) / 250px 1fr 1fr 1fr;
    gap: 35px;
}

#footer-canvas .center-right-column {
    grid-column: 4;
}

#footer-canvas .right-column {
    grid-column: 2 / 5;
}

#footer-canvas .right-column a {
    display: inline-flex;
    align-items: center;
}

#footer-canvas .right-column a:not(:last-child) {
    margin-right: 35px;
}

#footer-canvas .right-column a i {
    font-size: 45px;
}

#footer-canvas .column .text {
    line-height: 22px;
}


#footer-bar {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding: 0 0 15px;
}


#footer-canvas .copyright {
    margin-top: 15px;
}

#footer-canvas .social-media-link {
    display: block;
    overflow: hidden;
    float: right;
    margin-right: 5px;
    margin-left: 5px;
}

#footer-canvas .social-media-link i {
    font-size: 33px;
}


/*****************************************************************
**** Slider
******************************************************************/

#slider {
    width: 100%;
    display: block;
    overflow: hidden;
}

#slider .slick-slide {
    max-height: 600px;
}

#slider .slick-slide div {
    max-height: 600px;
    /*    display: menu-line;*/
}

.slick-next::before,
.slick-prev::before {
    content: '';
}

.slick-next,
.slick-prev {
    width: 24px;
    height: 46px;
    position: absolute;
    top: calc(50% - 23px);
    z-index: 999;
    cursor: pointer;
}

.slick-next {
    right: 25px;
    /*background: url(/_images/icons/slider-arrow-next.png) center center no-repeat;*/
    background-size: cover;
}

.slick-prev {
    left: 25px;
    /*background: url(/_images/icons/slider-arrow-prev.png) center center no-repeat;*/
    background-size: cover;
}

.slick-slide img {
    width: 100%;
    /* Grauschleier über das Sliderbild
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
    */
}

.slick-dots {
    display: none;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 210px;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.slider-caption span {
    display: block;
    text-align: center;
}

.full-width {
    position: relative;
}

.full-width:before {
    content: "";
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    left: calc((100vw - 100%) / -2);
    background: inherit;
    z-index: -1;
}
