/*!
 * Common Stylesheet
*/

/* Aufbau der Seite */
.page {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

aside {
    background: #fff;
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: rgba(0, 0, 0, .05) 0px 8px 15px;
    box-shadow: 7px 0 15px -5px #ccc;
}

.nav-main,.nav-footer {
    margin:0 auto;
}

.footer-menu .nav-link {
    color: #666;
    text-transform: uppercase;
}

.logo {
    z-index:1000;
    background-color:#fff;
    text-align:center;
}

#nav {
    background-color:#fff;
}

/* Inhalte */
section.carousel {
    margin: 0 -15px 30px -15px;
}

.frame-section {
    padding: 40px 50px 40px 75px;
    margin: 0 -10px 0 -10px;
}

.frame-bright-background {
    padding: 40px 0 0 75px;
    margin: 0 -10px 0 -10px;
}

/*--------------------------------------------------------------
# Hintergrundbild, Standard
--------------------------------------------------------------*/

.frame-section.background-image {
    min-height: 500px;
}

.frame-section.background-image .frame-type-textmedia {
    margin: 100px 0;
}

.frame-section.background-image .ce-bodytext {
    display: inline-block;
    background-color: #ffffff;
    padding: 1rem;
}

.frame-section.background-image h1, .frame-section.background-image h2, .frame-section.background-image h3 {
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    padding: 0.5rem 1rem;
}

/*--------------------------------------------------------------
# Hintergrundbild, Heller Hintergrund
--------------------------------------------------------------*/

.frame-bright-background.background-image {
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}

.frame-bright-background.background-image .ce-intext.ce-right .ce-gallery, .bright-background.background-image .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
    margin-bottom: 0;
}

section.logos {
    position: relative;
    margin: 0 -15px;
}

section.logos .img-fluid {
    max-width: auto;
    height: auto;
}

/*--------------------------------------------------------------
# Common classes
--------------------------------------------------------------*/
.visible-mobile {
    display: none;
}


.divider {
    height: 1px;
    margin-right: 50px;
    margin-left: 50px;
}

figure.image .inner-wrap {
    position:relative;
}

.copyright {
    position: absolute;
    color: #f1f1f1;
    transform-origin: bottom right;
    right: 3px;
    bottom: 10px;
    transform: rotate(-90deg) translateX(100%);
    font-size: 13px;
    display: block;
}

.carousel-item .copyright {
    transform-origin: top right;
    right: 15px;
    top: 10px;
    bottom: unset;
    left: unset;
    transform: rotate(-90deg) translateY(-100%);
    fomt-weight: 600;
}

/*--------------------------------------------------------------
# Teaser News und Veranstaltungen
--------------------------------------------------------------*/
.news-list-view .col-md-4{
    margin-bottom:1rem;
}
.teaser {
    margin-bottom:-1rem;
}
.teaser .title, .teaser .title a {
    padding: 10px 25px;
    line-height: 2.3rem;
}

.teaser .img, .teaser .title {
    position: relative;
}

h2.title, h2.title a {
    font-weight: 400;
    color: #fff;
}

/*--------------------------------------------------------------
# news
--------------------------------------------------------------*/
.news .listview {
    padding-bottom: 15px;
}

.news .divider {
    margin: 20px 0;
}

.news-item {
    padding-left: 15px;
    padding-right: 15px;
}

.news-img-wrap {
    margin-bottom: 35px;
    position: relative;
}

.news-img-wrap-detail {
    float: left;
    padding: 0 25px 25px 0;
}

.news .teaser-text, .news .lead {
    font-weight: 900;
}

.news-img-wrap::before {
    background: rgba(95, 124, 70, 0.2) none repeat scroll 0 0;
    content: "";
    height: 100%;
    position: absolute;
    width: 100%;
    opacity: 1;
    -webkit-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    transition: all .5s ease 0s;
}

.news-img-wrap:hover::before {
    opacity: 0;
}

.news-img-wrap img {
    width: 100%;
    height: auto;
}

.news-img-wrap h4 {
    bottom: 0;
    margin: 0;
    padding: 10px 5px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    background-color: #008245;
    background-color: rgba(0, 130, 69, 0.7);
}


/*--------------------------------------------------------------
# Formulare
--------------------------------------------------------------*/
.btn-primary {
    width: auto;
    font-size: 1.4rem;
}


#contact-56 input.form-control {
    width: 50%;
}

#contact-56 textarea.form-control {
    min-height: 200px;
    width: 50%;
}

.btn.btn-primary {
    font-size: 1rem;
}


.booked-out .alert {
    color: #853863;
    padding: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    z-index: 10000;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: right;
    padding: 5px 0;
}

#nav-footer {
    padding: 0;
    margin: 0 25px 0 0;
}

.footer a, .footer a:hover {
    color: #fff;
    text-transform: uppercase;
}

.footer ul {
    list-style: none;
}

.footer li.nav-item {
    display: inline-block;
}

.form-group {
    padding-bottom:0.5rem;
}