html { 
    background: url(../img/bg.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

html, body {
    height: 100%;
    margin: 0;
    font-size: 100%;
    font-family: 'Open Sans', sans-serif;
}
p{margin: 0;}

a {
    text-decoration: none;
}

a:visited {
    color: black;
}


/* Navigation */

#nav {
    height: 60px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    z-index: 10;
}

#navicon {
    display: none;
}

#nav nav {
    width: 70%;
    margin: 0 auto;
    opacity: 1;
}
#nav nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 3% 0 3%;
    max-width: 94%;
    width: 721px;
    border-bottom: 2px solid #90c01d;
}

#nav nav ul li {
    display: inline;
    padding: 0 10px;
}
#nav nav ul li#start {
    padding-left: 0;
}
#nav nav ul li#end {
    padding-right: 0;
}

#nav nav ul li a{
    color: white;
    text-decoration: none;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 19px;
    font-size: 1.188rem;
}

#nav nav ul li a:link {

}
#nav nav ul li a:visited{
    color: white;
}
#nav nav ul li a:hover {
    color: #90c01d;
    transition: color 0.3s ease-in;
}
#nav nav ul li a:active {

}

.active{
    border-bottom: 8px solid #90c01d;
}


/*Viewportbereich*/

#main {
    min-height: calc(100% - 110px);
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    width: 70%;
    margin: 0 auto;
}

/*Header*/

header h1 {
    position: absolute;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 35px;
    font-size: 2.2rem;
    margin: 110px auto auto 90px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
}

header h2 {
    position: absolute;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 21px;
    font-size: 1.3rem;
    margin: 160px auto auto 90px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
}

#headerinfo {
    background-color: rgba(255, 255, 255, 0.9);
    float: right;
    width: 30%;
    height: auto;
    position: relative;
    margin: -26% 3% auto auto;
    padding: 5px 10px 0 20px;
}

#headerinfo h3 {
    font-size: 15px;
    font-size: 0.95rem;
    margin: 10px 0 0 0;
}
#headerinfo h2 {
    font-size: 17px;
    font-size: 1.05rem;
    margin: 10px 0 0 0;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    color: #90c01d;
}

#headerinfo hr {
    border: none;
    border-bottom: 2px dotted #bababa;
    width: 50%;
    margin: 5px auto 10px 0;
}
#headerinfo p {
    font-size: 13px;
    font-size: 0.8rem;
    margin: 10px 0 15px 0;
    color: black;
}

header img {
    width: calc(100% - 12px);
    border: 5px solid #90c01d;
    border-width: 0px 6px 3px 6px;
}

header div {
    height: 6px;
    background-color: #90c01d;
}

/*Contentbereich*/

.content {
    margin: 3%;
    margin-bottom: 0;
    padding-bottom: 3%;
}

.textpage {
    margin-right: 7%;
    margin-left: 6%;
    margin-top: 5%;
    line-height: 150%;
}

.clear {
    clear: both;
}

.reflink {
    color: red;
    font-weight: bold;
}

.reflink:visited {
    color: red;
}

.unterteillinie {
    margin: 50px 0 70px 0;
    width: 100%;
    border: 1px solid #90c01d;
    background-color: #90c01d;
}

.abschlusslinie {
    margin: 60px 0 0px 0;
    width: 100%;
    border: 1px solid #90c01d;
    background-color: #90c01d;
}

.textpage h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 29px;
    font-size: 1.8rem;
    color: #90c01d;
    font-weight: normal;
    line-height: initial;
}
.textpage h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-size: 1.5rem;
    color: #90c01d;
    font-weight: normal;
    line-height: initial;
}
.textpage h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-size: 1.4rem;
    color: #90c01d;
    font-weight: normal;
    line-height: initial;
}
.textpage h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-size: 1.125rem;
    color: #90c01d;
    font-weight: normal;
    margin-bottom: 10px;
}

.textpage ul {
    list-style: none;
    padding-left: 45px;
}

.textpage li {
    margin: 5px 0;
}

.textpage li:before {
    content: "\25C6";
    color: #90c01d;
    padding-right:10px;
    margin-left: -24px;
}

.textpage ul li ul li:before {
    content: "\25CF";
    color: #90c01d;
    padding-right:10px;
}

/*Footer*/

footer {
    height: 110px;
    background-color: #3e3e42;
    margin-bottom: 0px;
}

footer nav {
    width: 70%;
    margin: 0 auto;
}

footer nav ul {
    margin: 20px 20px auto 3%;
    padding: 0;
    list-style: none;
    float: left;
}

footer nav ul li a {
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-size: 0.8rem;
    color: #90c01d;
}

footer p {
    float: right;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-size: 0.8rem;
    color: #90c01d;
    margin: 80px 3% auto auto;
}

footer a:visited {
    color: #90c01d;
}


/* Unterseiten */

#subpageLogo {
    background-color: #90c01d;
    margin: 60px 0 0 0;
    height: auto;
    width: auto;
    display: inline-block;
    padding: 20px 30px 15px 3%;
    position: relative;
    z-index: 10;
}
#subpageLogo h1 {
    position: initial;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 35px;
    font-size: 2.2rem;
    margin: 0;
}

#subpageLogo h2 {
    position: initial;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 21px;
    font-size: 1.3rem;
    margin: 0;
    margin-top: 15px;
}

#subpageLogo + div {
    margin-top: 27px;
    height: 3px;
}

#subpageLogo + div + hr {
    margin-top: 4px;
    border: 3px solid #90c01d;
}

#subhead {
    overflow: hidden;
    width: 70%;
    position: absolute;
    height: 200px;
    background-color: gray;
}

#imgsub {
    min-height: 100%;
    height: auto;
    border: none;
    min-width: 100%;
    width: auto;
    z-index: 0;
    margin-left: 0px;
}

/* Startpage */

#content h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 29px;
    font-size: 1.8rem;
    color: #90c01d;
    font-weight: normal;
}

#link1, #link2 {
    float: left;
    width: 48%;
}

#link1 p, #link2 p {
    margin: 16px 0;
}

#link1 {
    margin-right: 2%;
}

#link2 {
    margin-left: 2%;
}

#link1 h1, #link2 h1 {
    background-color: #90c01d;
    padding: 10px;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 22px;
    font-size: 1.4rem;
    font-weight: normal;
    color: black;
    margin: 0;
    position: absolute;
    z-index: 10;
}

.imgLink {
    width: 100%;
    /*    -moz-transform: scale(1, 1);
        -moz-transition-duration: 500ms;
        -moz-transition-timing-function: ease-out;*/
    margin-bottom: -5px;
    margin-top: 20px;
}

/*.zoomContainer {
    margin-top: 20px;
    overflow: hidden;
}*/

/*#link1:hover img, #link2:hover img {
    opacity: 0.9;*/
/*    z-index: 1;
    transition: opacity 500ms ease-in-out;
    transform: scale(1.1, 1.1);
    transition: transform 500ms ease-out;*/
/*}*/
#link1 a, #link2 a {
    padding-left: 30px;
    color: red;
    font-weight: bold;
    float: right;
}


#startPortrait {
    width: 48%;
    float: right;
    margin-left: 4%;
    margin-bottom: 10px;
}

#startBrukerhaus {
    width: 23%;
    margin: 35px 4% 10px 0;
    float: left;
}

#startBrukerhaus + p {
    margin-top: 30px;
}

/* Impressionen */

#impressNav {
    background-color: #4c4c4c;
    outline: 1px solid #4c4c4c;
    outline-offset: 4px;
    margin: 1%;
    margin-top: 25px;
    width: 26%;
    padding: 10px 0px 10px 0px;
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    font-size: 1.2rem;
    color: white;
    float: left;
}

#impressNav li {
    list-style: none;
    padding: 8px 0px;
}

#impressNav ul {
    padding: 0 0 0 25px;
}

#impressNav a:link {
    color: white;
}
#impressNav a:visited {
    color: white;
}
#impressNav a:hover {
    color: #90c01d;
    transition: color 0.3s ease-in;
}

#impressNav a.impressLinkActive {
    border-bottom: 2px solid #90c01d;
}

#impressImgHeadline {
    float: left;
    margin-left: 4%;
    margin-top: 25px;
    font-size: 32px;
    font-size: 2rem;
}



#impressImg {
    float: left;
    width: 70%;
    padding-top: 0px;
}

#impressImg a {
    margin-left: 4%;
    margin-right: 4%;
    /*margin-bottom: 5%;*/
    height: 200px;
    width: 25%;
    display: block;
    text-align: center;
    float: left;
    color: black;
    font-weight: bold;
}

#impressImg img {
    width: 100%;
    outline: 1px double #b4b4b4;
    outline-offset: 4px;
    margin: 4px;
    
}

#impressImg a:hover img{
    outline: 3px solid #90c01d;
    transition: outline 0.2s ease-in;
}


#impressImg p {
    margin: 0;
    display: inline;
}


/* Beratung */

#beratungskosten {
    font-weight: bold;
    color:#90c01d;
    font-size: 110%;
}

/* Gesundheit */

#zitat {
    font-weight: bold;
    font-style: italic;
    margin: 45px auto 0;
    width: 70%;
    text-align: center;
}

#zitat + cite {
    font-style: italic;
    margin: 5px auto 20px;
    width: 70%;
    display: block;
    text-align: right;
    font-size: 80%;
}

.forscherFotos {
    width: 200px;
}

.forscherFotos span {
    font-size: 11px;
    font-size: 0.7rem;
    line-height: 100%;
}
#smileyListebad {
    list-style-image: url(../img/smileybad.png);
}
#smileyListebad li::before {
    content: '';
    margin-left: -8px;
}

#smileyListegood {
    list-style-image: url(../img/smileygood.png);
}
#smileyListegood li::before {
    content: '';
    margin-left: -8px;
}

#kollathTabelle {
        width: 100%;
        height: auto;
}

/* Angebot */
.kinderprojekt {
    background-color: #f2f2f2;
    padding: 5px 30px 30px;
    margin: 20px auto;
    width: 75%;
}

#seminarbericht {
    background-color: #f2f2f2;
    padding: 5px 30px 30px;
    margin: 20px auto;
    width: 70%;
    font-style: italic;
}
.kursangebot {
    border: 2px dashed #90c01d;
    padding: 0 30px 30px;
}
.kursabschluss {
    border-bottom: 1px dashed #90c01d;
    padding-bottom: 30px;
}