/* author: ideenwerft GmbH */

@charset "UTF-8";

@import url("fonts.css"); 

/* ---------- VARIABLES ------------------- */
:root {
	--primary-clr: #007DC0;
	--secondary-clr: #18A475;
    --cta-clr: #18A475;
	--darker-primary-clr: #095279;
    --darker-cta-clr: #08865C;
	--lighter-primary-clr: #a4cde5;
	--lighter-secondary-clr: #bbd280;
    
}


/* ---------- BASICS -------------------*/
body {
    overflow-x: hidden;
	font-family: "Quicksand", sans-serif;
  	font-size: 1rem;
  	color: #555;
}
main {
	padding: 60px 0 90px;
    font-size: 1.1rem;
}
.pid2899 main {
    padding-bottom: 0;
}
@media (min-width: 768px) {
    main {
        padding: 90px 0 90px;
    }
}

/* ---------- TEXT -------------------*/
h1, h2, h3 {
	font-family: "Raleway", sans-serif;
	font-weight: 600;
	color: var(--primary-clr);
}
h1 {
	font-size: 2rem;
    margin-bottom: 1.9rem;
    text-align:center;
    hyphens: auto;
    -webkit-hyphens: auto;
}
h2 {
	font-size: 1.6rem;
    margin-bottom: 1.6rem;
}
h1 + h2 {
    margin-top: -1.2rem;
    margin-bottom: 3rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
}
h3 {
	font-size: 1.4rem;
	margin-bottom: 1.25rem;
}
p {
    margin-bottom: 1rem;
    line-height: 1.65rem;
}
main p, 
main ul, 
main ol {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
main .ce-textpic.ce-right .ce-gallery + .ce-bodytext p {
    max-width: inherit;
}
main a {
	color: var(--cta-clr);
    font-weight: 600;
}
a:hover {
	text-decoration: none;
	color: var(--darker-cta-clr);
}
b, strong {
    font-weight: 600;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
}
/* .............. buttons ...... */
.button,
.btn {
	padding: 7px 20px;
    margin-top: 10px;
	background: var(--cta-clr);
	display: inline-block;
	color: #fff;
	border-radius: 5px;
    text-transform: uppercase;
}
.button:hover,
.btn:hover {
	background: var(--darker-cta-clr);
    color: #fff;
}
.button:focus,
.btn:focus { 
}

/* .... other .... */
img {
  	max-width: 100%;
  	height: auto; 
}
main img {
    border-radius: 10px;
}
main .dce-kontaktstoerer img {
    border-radius: 0;
}
@media (max-width: 758px) {
    .ce-right.ce-intext .ce-gallery {
        max-width: 45%;
    }
}

/* ---------- HEADER -------------------*/

body > header {
    position: relative;
}
/* .... top .... */
.header-top {
    padding: 8px 0;
    background: #EFE9E1;
    font-size: 0.95rem;
}
.header-top .container {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.header-top a,
.header-top a:link, 
.header-top a:visited {
    color: #444;
    display: inline-block;
    margin-left: 20px;
    white-space:nowrap;
}
.header-top a:hover, 
.header-top a:focus {
    color: var(--darker-cta-clr)
}
.header-top a i {
    margin-right: 8px;
}
.header-top .times-wrap {
    position: relative;
}
.header-top .times-wrap .text {
    display: none;
    position: absolute;
    top: 22px;
    left: 19px;
    background: #f9f6f3;
    z-index: 300;
    white-space: nowrap;
    padding: 12px 20px;
}
.header-top .times-wrap:hover .text {
    display: block;
}
@media (max-width:500px){
    .header-top a.times {
        display: none;
    }
}
@media (max-width:767px){
    .header-top .container {
        max-width: 100%;
        justify-content: center;
    }
}

/* .... logo .... */

.navbar-brand {
    max-width: 25%;
    margin-top: 0;
    margin-left: 0;
}
@media (min-width: 600px) {
    .navbar-brand {
        margin-left: -30px;
    }
}

@media (min-width: 768px) {
    .navbar-brand {
        position: absolute;
        top: 10px;
        left: 0;
        right: 0;
        z-index: 100;
        max-width: 50%;
        text-align: center;
        margin: 0 auto;
        max-width: 60%;
    }
    .navbar-brand {
        top: 10px;
        right: inherit;
        max-width: 170px;
        margin: inherit;
        text-align: inherit;
    }
}
@media (min-width: 992px) {
    .navbar-brand {
        max-width: 250px;
    }
    .navbar-brand img {
        max-width: 250px;
    }
}

/* .... navigation .... */
.navbar {
    justify-content: flex-end;
    padding: 20px 0 20px;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 10px 0;
        text-align: center;
    }
}
.navbar a:link, 
.navbar a:visited {
    color: #555;
    text-decoration: none;
}
.navbar a:hover, 
.navbar a:focus {
    color: var(--primary-clr);
}
.navbar li.active > a:link,
.navbar li.active > a:visited {
    color: var(--primary-clr);
}
.navbar-toggler i.fa {
    font-weight: 300;
    font-size: 1.7rem;
}

/* 1. ebene */
.navbar ul.nav > li > a.nav-link {
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}
.navbar .home {
    display: none;
}
.dropdown-toggle {
    color: var(--primary-clr);
}
.dropdown-toggle::after {
    margin-left: 0.8em !important;
    display: inline-block;
    vertical-align: .255em;
    content: "";
    border-top: 0.5em solid;
    border-right: .5em solid transparent;
    border-left: .5em solid transparent;
}
footer .dropdown-toggle::after {
    display: none;
}
/* 2. Ebene */
.navbar ul.nav > li > .dropdown-menu li.active a {
    font-weight: 600;
}

@media (max-width:787px) {
    .navbar-nav .dropdown-menu {
        border: none;
        text-align: center;
        font-size: 1.1rem;
        margin-top: 0;
        padding-top: 0;
    }
    .navbar-nav .dropdown-menu a {
        padding: 4px 0;
        display: block;
    }
}

@media (min-width: 768px) {
    .navbar {
        margin: 0 -10px;
        height: 90px;
        font-size: 1rem;
    }
    .navbar .header-flex {
        width: 100%;
    }
    .navbar ul.nav {
        justify-content: flex-end;
        margin-top: 15px;
    }
    .navbar ul.nav > li > .dropdown-toggle {    
        display: none;
    }
    .dropdown-toggle::after {
        border: none;
    }
    .navbar ul.nav > li > a.nav-link {
        display: block;
        padding: 5px 5px;
        font-size: 0.9rem;
    }
    .navbar ul.nav > li > a:after, 
    .navbar ul.nav > li.active > a:after {
        content: '';
        height: 2px;
        background: var(--primary-clr);
        position: absolute;
        bottom: -0px;
        margin: 0 auto;
        left: 0;
        right: 0;
        width: 0;
        -o-transition: .5s;
        -ms-transition: .5s;
        -moz-transition: .5s;
        -webkit-transition: .5s;
        transition: .5s;
    }
    .navbar ul.nav > li:hover > a:after, 
    .navbar ul.nav > li.active > a:after {
        width: calc(100% - 1rem);
    }
    /* 2. Ebene */
    .navbar ul.nav > li > .dropdown-menu {
        border: none;
        background: none;
    }
    .navbar ul.nav > li:hover > .dropdown-menu {
        display: block;
        top: 30px;
    }
    .navbar ul.nav > li > .dropdown-menu a {
        display: block;
        padding: 7px 15px;
        background: #fff;
        border-bottom: 1px solid #eee;
        white-space: nowrap;
    }
    .navbar ul.nav > li > .dropdown-menu li:hover a,
    .navbar ul.nav > li > .dropdown-menu li.active a {
        background:#cde6f3;
    }
    /* start */
    .navbar .home {
        display: inline-block;
    }
    .pid2899 .navbar .home a:link,
    .pid2899 .navbar .home a:visited {
        color: var(--cta-clr);
    }
    .pid2899 .navbar .home a:after {
        display: none;
    }
    /* logo */
    .navbar-brand {
        top: 65px;
    }
}

@media (min-width: 992px) {    
    header .container {
        max-width: 97%;
    }
    .navbar ul.nav > li > a.nav-link {
        padding: 5px 5px;
        font-size: 0.9rem;
    }
}
@media (min-width: 1200px) { 
    .navbar ul.nav > li > a.nav-link {
        padding: 5px 10px;
        font-size: 1rem;
    }
    .navbar-brand {
        top: 10px;
    }
}

/* seil */
body > header::after,
footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
    width: 100%;
    height: 50px;
    background-image: url(../Img/seil-lang.png);
    background-size: cover; 
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";
}
footer::before {
    bottom: inherit;
    top: -25px;
}

/* ---------- CONTENT -------------------*/

/* CE kontaktstoerer */
.dce-kontaktstoerer.fullwidth {
    padding: 0;
}
.dce-kontaktstoerer .container {
    justify-content: center !important;
}
main .dce-kontaktstoerer:last-child {
    padding-bottom: 0;   
}
.dce-kontaktstoerer .textbox {
    max-width: 95%;
    background: rgba(239,233,225,0.9);
}
.dce-kontaktstoerer .text {
    padding: 15px 20px;
    text-align: left;
    color: #555;
    font-size: 1.1rem;
}
.dce-kontaktstoerer h4 {
    color: var(--primary-clr);
    font-size: 1.5rem;
}
.dce-kontaktstoerer p {
    margin-bottom: 0.9rem;
    line-height: 1.4rem; 
    font-size: 0.95rem;
}

@media (min-width: 500px) {
    .dce-kontaktstoerer .text {
        padding: 20px 25px;
    }
    .dce-kontaktstoerer p {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .dce-kontaktstoerer .text {
        padding: 15px 20px;
    }
    .dce-kontaktstoerer p {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
}

@media (min-width: 992px) {
    .dce-kontaktstoerer .textbox {
        max-width: 80%;
    }
    .dce-kontaktstoerer p {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {
    .dce-kontaktstoerer .container {
        justify-content: left !important;
    }
    .dce-kontaktstoerer .textbox {
        max-width: 700px;
    }
    .dce-kontaktstoerer .text {
        padding: 30px 35px;
        font-size: 1.15rem;
    }
    .dce-kontaktstoerer h4 {
        font-size: 1.7rem;
    }
    .dce-kontaktstoerer p {
        margin-bottom: 0.9rem;
        line-height: 1.65rem;
    }
}


/* CE Bildkacheln */
body:not(.pid2899) .dce-image-tiles > header,
body:not(.pid2899) .dce-image-tiles > p {
  display: none;
} 
.dce-image-tiles {
    border-radius: 10px;
}
.dce-image-tiles.fullwidth {
    background-color: transparent !important;
    padding: 5rem 0 0;
    margin-bottom: 6rem;
    
}
@media (min-width:1500px) {
    .dce-image-tiles.fullwidth {
        background-image: url('../Img/seil-herz.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position-y: 90%;
    }
}
.dce-image-tiles .tile .text-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-pack: center;
    align-items: center;
    text-align: center;
    background: rgba(0,0,0,.3);
    z-index: 10;
}
.dce-image-tiles .tile .hover-content p {
    font-size: 1.15rem;
}
.dce-image-tiles .text-wrap :not(.btn) {
    color: rgba(255,255,255,.9);
}

.dce-image-tiles h2 {
    margin-bottom: 0.6rem;
    text-align: center;
    color: var(--primary-clr);
    font-size: 2.1rem;
}
.dce-image-tiles header + p {
    text-align: center;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #999;
}
.dce-image-tiles .row {
    margin-top: 3rem;
}
.dce-image-tiles .tile .text-wrap {
    height: 40%;
    top: 30%;
    padding: 1.5rem 2rem;
    background: rgba(239,233,225,0.6);
    transition: all 1s; 
}
.dce-image-tiles .tile:hover .text-wrap {
    height: 100%;
    top: 0;
    background: rgb(0, 79, 158, 0.7);
}
.dce-image-tiles .tile:hover .text-wrap::before {
    display: block;
    content: "";
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    left: 1.2rem;
    border: 1px solid #fff;
    border-radius: 10px;
}
.dce-image-tiles .text-wrap header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dce-image-tiles .text-wrap h3 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    hyphens: auto;
}

/* CE Teaser */
.dce-teaser img {
    margin-bottom: 20px;
}
.dce-teaser .text-wrap {
    padding: 0;
}
    
/* CE Buttons */
.dce-buttons a.button {
    margin-bottom: 1rem;
    text-transform: none;
}
.dce-buttons h3 {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
}
.dce-buttons .row {
    justify-content: center;
}

/* CE Accordion */
.dce-accordion .card-header h5 button {
    padding: 0.6rem 2rem;
    color: #fff;
    background-color: var(--primary-clr);
    text-transform: none;
    font-weight: 600;
    font-size: 1.2rem;
}
.dce-accordion .card-header h5 button:hover, 
.dce-accordion .card-header h5 button:focus, 
.dce-accordion .card-header h5 button[aria-expanded="true"] {
    background-color: var(--darker-primary-clr);
}
.dce-accordion .card-body {
    padding: 1.8rem 2rem;
    background: #f3f3f3;
}
main .dce-accordion .card-body p,
main .dce-accordion .card-body ul {
    max-width: inherit;
}
@media (max-width:767px) {
    .dce-accordion .card-body img {
        width: 100%;
        float: none !important;
        margin-bottom: 20px;
    } 
}
@media (min-width:768px) {
    .dce-accordion .card-body img {
        max-width: 50%;
        margin-bottom: 15px;
    }  
    .dce-accordion .card-body img.float-right {
        margin-left: 20px;
    } 
    .dce-accordion .card-body img.float-left {
        margin-right: 20px;
    } 
}


/* powermail */
.tx-powermail h3,
.tx-powermail legend {
    display: none;
}
.tx-powermail .powermail_fieldset .parsley-errors-list,
.tx-powermail .powermail_fieldset div.parsley-error,
.tx-powermail .powermail_fieldset .powermail_field_error_container .parsley-errors-list{
    background: transparent;
    border: none;
}
.tx-powermail .powermail_fieldset .parsley-errors-list>li {
    padding: 0;
}
@media (max-width:991px) {
    .tx-powermail .container-fluid {
        padding: 0;
    }
    main .tx-powermail div.powermail_fieldwrap {
        display: block;
    }
    main .powermail_fieldwrap > label.col-sm-2 {
        width: 100%;
        max-width: inherit;
    }
    main .powermail_fieldwrap > .col-sm-10 {
        max-width: inherit;
    }
}

/* ---------- FOOTER -------------------*/
footer {
    position: relative;
    padding-top: 70px;
    padding-bottom: 20px;
    background: #F7F2ED;
}
footer .container {
    padding: 0 20px;
}
footer h5 {
    color: var(--primary-clr);
}
footer .row {
    margin-top: 20px;
}
footer .row p {
    position: relative;
    margin-bottom: 0;
    padding-left: 23px;
}
footer .row .col-md-4:first-child p {
    padding-left: 0;
}
footer p i {
    position: absolute !important;
    left: 0;
    top: 5px;
}
footer p i.fa-envelope-open-text {
    left: -3px;
}
footer a:link,
footer a:visited {
    color: #212529;
}
footer a:hover,
footer a:focus {
    color: var(--darker-cta-clr);
}

/* footnavi */
ul.footnavi {
    margin-top: 30px;
    padding-left: 15px;
    color: var(--primary-clr);
}
ul.footnavi li {
    padding-left: 2px;
}
ul.footnavi a {
    padding-right: 30px;
}
@media (min-width: 768px) {
    ul.footnavi {
        margin-top: 0;
    }
}
@media (min-width: 992px) {
    ul.footnavi {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding-left: 20px;
        height: 90px;
    } 
}

/* must have */
.musthavecopy .container {
    border-top: 1px solid #fff;
    padding-top: 20px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column-reverse;
}
.musthavecopy ul {
    padding-left: 0;
    margin-bottom: 0;
}
.musthavecopy ul li {
    display: inline-block;
    margin-right: 15px;
}
@media (min-width: 768px) {
    .musthavecopy .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .musthavecopy ul li {
        margin: 0 10px;
    }
}


/* .... PRINT STYLES .... */
@media print {
    .header-top .times,
    .footnavi,
    .musthave {
        display: none;
    }
}