@import url('https://fonts.googleapis.com/css?family=Raleway:400,600,800');
@import url('all.css');
@import url('lightbox.min.css');
@import url('responsiveslides.css');

/* allgemeine formatierungen für alle ausgabegeräte
desktop-first
*/

* {
    padding: 0;
    margin: 0;
    border: 0;
    /*vorsicht bei formular-elementen*/
    box-sizing: border-box;
    list-style: none;   
}

body {
    font-family: 'Raleway', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 0.9em;
    color: #333;
}

a {
    text-decoration: none;
}


p {
    margin: 1em 0;
    line-height: 1.5em;
	text-align: left !important;
}

.active {
    color:rgb(54, 103, 53);
}

.innerbox {
    padding: 50px 2%;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    position: relative;
}

header .innerbox {
    padding: 0 2%;
}

#work .innerbox {
    max-width: inherit;
    /*Beschränkung von 940px verwerfen um die galerie auf ide volle Breite auszuführen*/
    padding: 50px 0;
}


.row {
    overflow: hidden;
}


/*sticky header /////////////////  */

.main_h {
    position: fixed;
    top: 0px;
    max-height: 70px;
    z-index: 999;
    width: 100%;
    padding-top: 17px;
    background: rgba(255, 255, 255, 0);
    overflow: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;

}


.sticky {
    background-color: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid gainsboro;
}


/* bezug auf höhe des  headers(.main_h)*/
.open-nav {
    max-height: 400px !important;
    background-color: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid gainsboro;
}

.open-nav .mobile-toggle {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.logo {
    color: #333;
    float: left;
    display: block;
    margin-top: 0;
    line-height: 1;
    margin-bottom: 10px;
    text-align: center;

}

.logo img {

    max-width: 10%;

}


.logo span {
    color: #376836;
}

.sticky .logo,
.open-nav .logo {
    color: #8f8f8f;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
    overflow: hidden;
    text-align: right;
    float: right;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    margin-left: 15px;
    line-height: 1.5;

}

nav ul a {
    color: rgb(54, 103, 53);
    text-transform: uppercase;
    font-size: 1.2em;
}

nav ul a:hover {
    color: rgb(0, 131, 81, 0.7);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.sticky nav ul a,
.open-nav nav ul a {
    color: rgb(54, 103, 53);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    right: 22px;
    top: 0;
    width: 30px;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

.mobile-toggle span {
    width: 30px;
    height: 4px;
    margin-bottom: 6px;
    border-radius: 1000px;
    /*Rundung für das toggle - die 3strichMenubar*/
    background: #8f8f8f;
    display: block;
    /*damit man die Grösse ändern kann mit width - bei inline nicht möglich*/

}

.open-nav .mobile-toggle span,
.sticky .mobile-toggle span {
    background: #8f8f8f;
}

.caption span {
    color: rgb(54, 103, 53);
}

/*inhaltliche Formatierungen*/


ul li {
    line-height: 2em;
}


/*Testimonial////////////////////*/
.testimonial {
    text-align: left;
    max-width: 850px;
    margin: 30px auto 50px auto;
    padding: 0 20px;
}

.testimonial-author {
    color: rgb(54, 103, 53);
    text-transform: full-width;
}

.testimonial-quote {
    display: block;
    padding: 10px 0;
}


.fas fa-tree{
    color: rgb(54, 103, 53);
}

fab fa-pagelines{
    color: rgb(54, 103, 53);
}

fas fa-leaf{
    color: rgb(54, 103, 53);
}



/*Schnellkontakt//////////////////*/

.parallax {
    background: url(../bilder/slider/termine-psychotherapie-muenchen.jpg) no-repeat center center fixed;
    background-size: cover;
    text-align: left;
    letter-spacing: 0.08em;
    color: #fff;
}

/*Tabellen*/

.halbe {
    width: 48%;
    float: left;
    margin-right: 4%
}


.drittel {
    width: 31.666%;
    float: left;
    margin-right: 2%
}

.drittelrechts {
    width: 31.666%;
    float: right;
    margin-left: 2%
}

.zweidrittel {
    width: 66%;
    float: right;
}

.zweidrittellinks {
    width: 66%;
    float: left;
}


.boxstyle {
    background: #fff;
    padding: 2em 1em;
    border: 1px solid #eee;
    text-align: center;

}

.drittel:last-child,
.halbe:last-child {
    margin-right: 0;
}

.scream {
    font-size: 1.5em;
}

.right {
    text-align: center;
}

/*Inhaltliche Formatierungen*/

#whatwedo,
#testimonial {
    background: #f7f7f7;
}

#testimonial {
    padding: 40px;
}

h1 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 25px;
    color: rgb(54, 103, 53);

}

section p {
    line-height: 2em;
    letter-spacing: 0.08em;
}
/*Map///////////*/

#map-wrapper {
	width: 100%;
	margin: 1em auto;
	padding-top: 2em;
	}

#map-wrapper a:any-link{
    font-style: normal;
    text-decoration: none;
    color: #333;
	}

#map-wrapper a:hover{
    background: rgb(54, 103, 53);
    color:#fff;
	}

#map-wrapper span{
	color:rgb(54, 103, 53);
	font-size:1.2em;
}
#map {
    width: 100%;
    height: 300px;
	background:#fff;
	}
	


/*man kann über css auch Grossbuchstaben über capitalize formatieren= text-transform:capitalize;*/
h2,
h3,
h4,
h5,
h6 {
    color: rgb(54, 103, 53);
    font-weight: normal;
    margin: 1em 0;
    text-align: left;
}

h2 {
    font-size: 1.3em;
}

h2 span {
    font-size: 0.9em;
    color: #f52f96;
}

h2.seite {
    text-transform: full-width;
}



.iconbox {
    background: rgba(245, 47, 150;
    1);
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding-top: 15px;
}

.iconbox i {
    font-size: 1.4em;
    color: rgb(54, 103, 53);
}


/* kontaktformular ///////////////////////////////  

#kontaktformular {
    background: #fff;
}

#kontaktformular input[type="text"],
#kontaktformular input[type="email"] {
    display: inline;
    width: 100%;
    padding: 0.625em;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#kontaktformular textarea {
    width: 100%;
    height: 200px;
    padding: 0.625em;
    background: #eee;
    border-radius: 5px;
    resize: none;
    overflow: auto;
}


.pflicht {
    color: #f52f96;
}

@-webkit-keyframes scroll {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }
}


label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    color: #777;
    text-transform: capitalize;
    letter-spacing: 2px;
    font-size: 0.8em;
}*/

/*Hauptbild/////////////////*/
.hauptbild {
    overflow: hidden;
}

.hauptbilddiv {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
}

.hauptbild img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

/*Galerie//////////////////*/

#person-galerie {
    list-style: none;
    text-align: center;
}

#person-galerie > li {
    padding-top: 1.5em;
    width: 100%;
    margin: auto;
    display: block;
}

#person-galerie li img {
    width: 100%;
    height: auto;
}

#person-galerie figcaption {
    padding: 2em;
    font-size: 0.9em;
}

#person-galerie figcaption .name {
    font-size: 1.2em;
    text-transform: uppercase;
    margin-bottom: 0.625em;
    line-height: 1.8em;
    letter-spacing: 0.08em;
}

.bilder-box {
    position: relative;
    line-height: 0;
}

.person-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 1.3em;
    opacity: 0;
    -webkit-transition: all 0.7s;
    transition: all 0.7s;
}

li:hover .person-overlay {
    opacity: 1;
}

.overlaybox {
    width: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.zitat {
    display: inline-block;
    margin-top: 1em;
}


/*work galerie//////////////////////////////*/

#work-galerie {
    list-style-type: none;
    overflow: hidden;
}

#work-galerie li {
    width: 46%;
    line-height: 0;
    float: left;
    margin: 1em;
}

#work-galerie li img {
    width: 100%;
}

#work-galerie figure {
    position: relative;
    overflow: hidden;
}

#work-galerie figcaption {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    line-height: 1.5em;
    opacity: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

#work-galerie figcaption:hover {
    opacity: 1;
}

#work-galerie li:nth-child(2n) {
    margin-right: 0;
}

/* Galerie auf Projekt  

.galerie-wrapper {
    margin-top: 5em;
}


.galerie1 {
    list-style-type: none;
    overflow: hidden;

}

.galerie1 li {
    border: 1px solid #000;
    background-color: #000;
    line-height: 0;
    width: 23.5%;
    float: left;
    margin: 0 2% 2% 0;
}

.galerie1 li:nth-child(4n) {
    margin-right: 0;
}

.galerie1 li img {
    width: 100%;
    height: auto;
    opacity: 0.6;
    -webkit-transition: all 0.5s ease-in-out 0.5s;
    -moz-transition: all 0.5s ease-in-out 0.5s;
    -ms-transition: all 0.5s ease-in-out 0.5s;
    -o-transition: all 0.5s ease-in-out 0.5s;
    transition: all 0.5s ease-in-out 0.5s;
}

.galerie1 li:hover img {
    opacity: 1;
}

.galerie-text {
    padding: 1.5em;
}*/

/*Animation der Figcaption Inhalte*/
.category {
    background: #fff;
    color: #000;
    padding: 0.625em 1em;
    position: absolute;
    left: 50%;
    top: -50%;
    /*damit der Text/img/overlay nicht sichtbar ist -gehört zum overflow:hidden in der figure*/
    transform: translate(-50%, -70%);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.project {
    color: #fff;
    position: absolute;
    left: 50%;
    top: 150%;
    /*damit der Text/img/overlay nicht sichtbar ist -gehört zum overflow:hidden in der figure*/
    transform: translate(-50%, 70%);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

figure:hover .category {
    top: 50%;
}


figure:hover .project {
    top: 50%;
}

#projektbutton {
    text-align: center;
}


/* social-icons  */

.social li {
    list-style-type: none;
    display: inline-block;
}

.copyright,
#team-galerie .social li a {
    font-size: 0.5em;
}

footer .social li a {
    font-size: 2em;
}

.social li a {
    color: #fff;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    margin: 0 10px;
}

.social li a:hover {
    color: rgb(0, 131, 81);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}



#impressum,
#datenschutz {
    padding-top: 8em;
}

.adresse {
    font-style: normal;
    text-align: center;
}

.adresse a {
    color: rgb(54, 103, 53);
}

.pink {
    color: #f52f96;
    font-size: 1.1em;
}




/* footer ///////////////////////////////  */

footer {
    background-color: #f7f7f7;
    text-align: center;
    color: #333;
}

#rechtliches {
    margin-top: 0.625em;
    color:rgb(54, 103, 53, 0.8);
}

#rechtliches a {
    color: rgb(54, 103, 53, 0.8);
}

#rechtliches a:hover {
    color: rgb(0, 131, 81, 1);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}


/* togglemore ///////// */

#service span {
    line-height: 2em;
    letter-spacing: 0.08em;
}


.morecontent span {
    display: none;

}

.morelink {
    display: block;
    background: rgb(54, 103, 53, 1);
    width: 8em;
    color: #fff;
    padding: 11px 30px;
    margin: auto;
    letter-spacing: 0.08em;
    border-radius: 5px 5px;
    text-decoration: none;
}




/* button ///////// */

.button {
    display: inline-block;
    background:rgb(54, 103, 53, 1);
    color: #fff;
    padding: 11px 30px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border-radius: 5px 5px;
}

.button:hover {
    background: rgb(0, 131, 81, 0.6);
}

/*scroll to top rechts unten mit ausblenden und arrow down/////////////*/

#scroll-to-top {
    font-size: 1.5em;
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: rgba(51, 51, 51, 0.8);
    display: none;
    text-shadow: 3px 3px 3px #555;
}

/* breakpoint 0 bis 768px ////////////////////// */

@media only screen and (max-width: 1024px) {

    .parallax {
        background: url(../bilder/slider/termine-psychotherapie-muenchen.jpg) no-repeat center center scroll;
        background-size: cover;
    }

}



/* breakpoint 0 bis 768px ////////////////////// */
@media only screen and (max-width: 768px) {

    .main_h {
        padding-top: 25px;
    }

    .logo {
        float: none;
    }

    nav {
        width: 100%;
    }

    .mobile-toggle {
        display: block;
    }

    nav ul li {
        width: 100%;
        padding: 7px 0;
        margin: 0;
    }

    nav ul {
        padding-top: 10px;
        margin-bottom: 22px;
        float: left;
        text-align: center;
        width: 100%;
    }

    /* galerien*/
    .galerie1 li {
        width: 48.8%;

    }

    .galerie1 li img {
        opacity: 0.9;
    }

    .galerie1 li:nth-child(2n) {
        margin-right: 0;
    }


    .zweidrittel,
    .drittel,
    .halbe {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 1em;
    }


    #team-galerie > li {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .team-overlay {
        opacity: 1;
    }

    #work-galerie li {
        width: 45%;
        float: left;
    }

    .parallax {
        text-align: center;
        color: #000;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: scroll;
    }



}

/* ende breakpoint 0 bis 766px*/



@media only screen and (max-width: 481px) {

    #work-galerie li {
        width: 100%;
        float: none;

    }

    /* galerien*/

    .mobile {
        margin: 0 auto;
    }

    .galerie1 li {
        width: 100%;
        float: none;
    }


    .galerie1 li img {
        opacity: 1;
    }



}
