:root {
    --color-text: rgba(0,0,0,.65);
    --color-accent: rgba(161,24,98,1);
    --color-orange: rgba(246, 162, 65, 1);
    --color-dark-orange: rgba(255, 147, 60, 1);
    --color-brown: rgba(111, 95, 48, 1);
    --color-green: rgba(116, 139, 48, 1);
    --color-pink: rgba(210, 16, 116, 1);
    --font-text: 'Open Sans', sans-serif;
}

.contrast {
    --color-text: rgba(0,0,0,.65);
    --color-accent: rgba(0,0,0,1);
    --color-orange: rgba(0, 0, 0, 1);
    --color-brown: rgba(0, 0, 0, .9);
    --color-green: rgba(0, 0, 0, .7);
    --color-pink: rgba(0, 0, 0, .5);
}

html {
}

body {
    font-size: 18px;
    font-family: var(--font-text);
    color: var(--color-text);
    font-weight: 300;
    line-height: 140%;
   /* height: 100%;
    min-height: 100%;*/
    position: relative;
}

a {
    color: var(--color-dark-orange);
}
.contrast a {
    font-weight: 700;
}
strong, b {
    font-weight: 700;
}

h1, h2, h3, h4, h5 {
    color: var(--color-text);
    position: relative;
    font-family: var(--font-text);
    font-weight: 300;
    display: block;
    line-height: 135%;
    width: 100%;
}

h1 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 0.5em;
    color: var(--color-accent);
}
h2 {
    color: var(--color-accent);
    font-size: 26px;
    margin-bottom: 0.35em;
}
h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0.35em;
    color: var(--color-green);
}
h4 {
    font-size: 20px;
}
h5 {
    font-size: 17px;
}

p {
    margin-bottom: 0.8em;
}

.body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.8em 0;
}
/*

.body ul li {
    padding-left: 1.5em;
    text-indent: -.7em;
}
*/

.body ul li::before {
    content: "> ";
    color: var(--color-accent);
}

.body ol {
    list-style-type: none;
    margin-bottom: 0.8em;
    margin-left: 1.5em;
}
.body ol li {
    counter-increment: count-me;
}
.body ol li::before {
    content: counter(count-me) ". ";
    display: block;
    position: relative;
    max-width: 0;
    max-height: 0;
    left: -1.3em;
    top: .05em;
    color: var(--color-accent);
    font-weight: bold;
}

.body img {
    display: block;
    width: 100%;
}

.content {
    position: relative;
    clear: both;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/*******************************************/
/* Header-Bereich
/*******************************************/

.header {
    position: fixed;
    width: 100%;
    top:0;
    background-color: #FFFFFF;
    z-index: 999;
}

.header .content {
    position: relative;
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    height: 140px;
}

.header a#logo {
    position: absolute;
    left: 0;
    top: 25px;
    width: 190px;
    height: 69px;
    background: url("/styles/images/logo.jpg") no-repeat center / cover;
}
.contrast .header a#logo {
    background: url("/styles/images/logo_contrast.jpg") no-repeat center / cover;
}
.header a#logo img {
    display: block;
    width: 100%;
}

.header ul.top-nav {
    display: block;
    margin: 25px 0 auto auto;
}
.header ul.top-nav li:not(.donate-btn) {
    display: none;
}

.header ul.main-nav {
    display: none;
}

.header ul li {
    display: inline-block;
    margin-right: 10px;
}

.header ul li a{
    color: var(--color-accent);
}

main {
    padding-top: 180px;
}

.header a.donate {
    background-color: var(--color-accent);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 10px;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: 7px;
    position: absolute;
    right: 0;
    top: 100px;
    transform: rotate(-7deg);
}

.header ul li a:not(.donate) {
    font-size: 40px;
    display: inline-block;
}
/*******************************************/
/* Responsive-Navigation
/*******************************************/

a#offcanvas-menu {
    display: block;
    width: 40px;
    margin: 17px 0 auto 0;
    height: 48px;
}


a#offcanvas-menu span.bar {
    background-color: var(--color-accent);
    display: block;
    float: left;
    height: 8px;
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

#offcanvas-menu.toggled span:first-child {
    transform: translateY(16px) rotate(45deg);
}

#offcanvas-menu.toggled span {
    transform-origin: center center 0;
}

#offcanvas-menu.toggled span:nth-child(2) {
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

#offcanvas-menu.toggled span:last-child {
    transform: translateY(-16px) rotate(-45deg);
}

.sidr-open #sidr-body-overlay {
    display: block;
}

#sidr-body-overlay {
    background-color: rgba(0, 0, 0, 0.2);
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999998;
}


.sidr {
    background: #262626 none repeat scroll 0 0;
    box-shadow: none;
    color: #FFF;
    display: block;
    font-family: var(--font-text);
    font-size: 18px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 230px;
    z-index: 999999;
    padding-top: 15px;
}

.sidr ul {
    border: 0 none;
}

.sidr ul li {
    border: 0 none;
    line-height: 40px;
}

.sidr ul li a, .sidr ul li span {
    color: #FFFFFF;
    display: inline-block;
}
.sidr ul li a span {
    color: #FFFFFF;
    display: none;
}
html.contrast .sidr ul li a span {
    display: inline-block;
}
.sidr ul li.indent {
    padding-left: 30px;
}

.sidr ul li a span {
    padding: 0;
}

.sidr ul li:hover > a, .sidr ul li:hover > span, .sidr ul li.active > a, .sidr ul li.active > span, .sidr ul li.sidr-class-active > a, .sidr ul li.sidr-class-active > span {
    box-shadow: none;
}


.sidr ul li:hover, .sidr ul li.active, .sidr ul li.sidr-class-active, .sidr ul li.selected {
    border-top: 0 none;
    line-height: 40px;
    background-color: var(--color-accent);
}


/*******************************************/
/* Grid
/*******************************************/

.grid {
    width: calc(100% + 25px);
    float: left;
    display: flex;
    flex-basis: auto;
    margin-left: -25px;
}

.grid.row {
    flex-direction: row;
}

.grid.column {
    flex-direction: column;
}

.grid.wrap {
    flex-wrap: wrap;
}

.grid .item {
    margin-left: 25px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-bottom: 25px;
    align-items: flex-start;
}

.grid .item {
    width: calc( 100% - 25px );
    margin-left: 25px;
}
.grid .item img {
    width: 100%;
    display: block;
}
.grid.menu-buttons .item {
    width: calc( 50% - 25px );
    margin-left: 25px;
    color: #FFFFFF;
    height: 150px;
    border-radius: 15px;
    padding: 15px;
}
.grid.menu-buttons .item span {
    margin-top: auto;
    display: block;
    font-size: 25px;
    font-weight: 700;
}
.orange {
    background-color: var(--color-orange);
}
.brown {
    background-color: var(--color-brown);
}
.green {
    background-color: var(--color-green);
}
.pink {
    background-color: var(--color-pink);
}

.grid.menu-buttons  {
    margin: 30px 0 30px -25px;
}
.project-list-wrap  {
    margin-bottom: 60px;
}
.grid.project-list  {
    margin-top: 30px;
    margin-bottom: 20px;
}
.grid.project-list .item {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    flex-basis: auto;
}
.grid.project-list .item img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
}
.grid.project-list .item .text-body {
    width: 100%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    flex-basis: auto;
    flex-wrap: nowrap;
}
.grid.project-list .item h3 {
    padding: 0 8px;
}
.grid.project-list .item p {
    padding: 0 8px;
    color: var(--color-text);
    font-weight: 300;
}
.grid.project-list .item span:not(.button) {
    color: var(--color-text);
    margin-left: 8px;
}
.grid.project-list .item span.button {
    margin-left: 8px;
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 10px;
}
.grid.team-list .button-wrap {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    flex-wrap: nowrap;
    width: 100%;
}
.grid.team-list .button-wrap .button{
    margin-left: 0;
    margin-right: 15px;
}
.grid.sponsor-list {
    margin-top: 40px;
    margin-bottom: 40px;
    width: calc(100% + 60px);
    margin-left: -60px;
}
.grid.sponsor-list .item.fourth {
    width: calc(100% - 60px);
    margin-left: 60px;
}
.grid.sponsor-list .item span {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 25px;
}

.team-image {
    margin-bottom: 15px;
    border-radius: 15px;
}
.project .project-img-wrap {
    margin: 0 0 30px 0;
}
.project .project-img-wrap img{
    border-radius: 20px;
}

.grid.event-list {
    margin-top: 40px;
    margin-bottom: 40px;
    width: calc(100% + 60px);
    margin-left: -60px;
}
.grid.event-list .item.full {
    width: calc(100% - 60px);
    margin-left: 60px;
    flex-direction: column;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-brown);
}
.grid.event-list .item span {
    display: inline-block;
    width: 100%;
    margin-top: 5px;
    color: var(--color-brown);
}

.grid.event-list .item span:nth-of-type(2) {
    font-weight: 600;
}
/*******************************************/
/* Inhalts-Bilder
/*******************************************/

.image-wrapper img {
    margin-bottom: 0 !important;
}

.image-wrapper p {
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 16px;
}

.fr-dib {
    width: auto;
    max-width: 100%;
    display: block;
    float: none;
    margin: 20px 0 20px 0;
}

.fr-dii {
    display: inline-block;
    width: auto;
    max-width: 100%;
}

/*******************************************/
/* Section
/*******************************************/

hr {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    padding-left: -15px;
    padding-right: -15px;
    border: none;
    border-top: 1px solid #dadada;
}
section.page {
    display: flex;
    flex-direction: column;
    flex-basis: auto;
    width: 100%;
}
/*section.page .content {
    text-align: center;
}*/
section.contact .content.body {
    margin-top: 0;
}
section .content.body {
    margin-top: 2em;
    margin-bottom: 2em;
}
.content.body.center{
    text-align: center;
}
section.page .content:not(.body){
    display: flex;
    flex-direction: column;
    flex-basis: auto;
}
section.page .content .context {
    width: 100%;
    margin-bottom: 50px;
}
section.page .content .context .text-wrap {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: 5px solid var(--color-accent);
}
section.page .content .body {
    width: 100%;
}
/*******************************************/
/* Gallery
/*******************************************/

#gallery {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    flex-wrap: wrap;
    margin-left: -25px;
    margin-bottom: 35px;
    width: calc(100% + 25px);
}

#gallery .item {
    width: calc(100% - 25px);
    margin-left: 25px;
    margin-top: 25px;
}

#gallery .item  img{
    width: 100%;
    border-radius: 15px;
}

.fancybox-bg {
    background-color: #FFFFFF;
}

/*******************************************/
/* Page intro
/*******************************************/

.intro-image {
    width: 100%;
    min-height: 180px;
    position: relative;
    text-align: center;
    background: transparent;
}

.intro-image-caption {
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
    padding: 180px 0 0 2%;
    font-size: 1.8em;
    line-height: 130%;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
    text-align: right;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
}

.page-header-image {
    margin-bottom: 25px;
}

.page-cnt-image {
    display: block;
    width: 100%;
    max-width: 390px;
}

.page-cnt-image-wrap {
    margin: 0 0 25px 0;
}

.documents {
    margin-bottom: 60px;
}

/*****************************************/
/* video
/*******************************************/
.fr-video {
    position: relative;
    padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
    padding-top: 0px;
    height: 0;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    margin: 0 0 30px 0;
}

.fr-video video {
    width: 100%;
    height: 100%;
    position: absolute;
    border: none;
    top:0;
    left:0;
    z-index: 1;
}
/*******************************************/
/* Form                                    */
/*******************************************/

form h3 {
    margin-bottom: 0.5em;
}

form .item.half {
    margin-bottom: 0;
}

label {
    width: 100%;
    float:left;
    margin-left: 0;
    font-size: 16px;
    margin-bottom: 3px;
}

label.required {
    font-weight: 600;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border:none;
    border-radius: 0;
    font-size: 14px;
    width: 100%
}


/*!* remove standard-styles *!
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    !* appearance: none; *!
    border-radius: 0;
}

!* hide browser-styling (arrow) in IE10 *!
select::-ms-expand {
    display:none;
}

.lt-ie10 select {
    background-image: none;
}

select {
    background: rgba(109,110,94,0.1) url("/styles/images/select-arrow.png") no-repeat scroll right center / 23px auto;
    margin-bottom: 10px;
}

select:focus {
    background: rgba(109, 110, 94, 0.1) url("/styles/images/select-arrow-active.png") no-repeat scroll right center / 23px auto;
    margin-bottom: 10px;
}*/

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='password'],
textarea,
select {
    font-size: 16px;
    font-weight: 200;
    background-color: rgba(0,0,0,0.1);
    width: 100%;
    height: 35px;
    margin-left: 0;
    padding: 5px 6px;
    margin-bottom: 10px;
    border-radius: 0;
    color: rgba(0,0,0,0.85);
    border: 1px solid rgba(0,0,0,0.1);
}

select:focus,
input:focus,
textarea:focus {
    outline: 0;
    border: 1px solid var(--color-accent) !important;
}

form div.checkbox {
    float: left;
    margin-bottom: 15px;
    width: 100%;
}

form div.small {
    width: 100%;
    padding-top: 5px;
}

form input.error, form textarea.error {
    border: 1px solid rgba(219,8,18,1);
}

form input.checkbox-type {
    width: 60%;
}

form input[type="checkbox"] {
    margin-left: 0;
}

label.checkbox input {
    display: none;
}

label.checkbox span {
    border: 1px solid ;
    display: inline-block;
    float: left;
    font-size: 22px;
    height: 18px;
    margin-right: 10px;
    margin-top: 2px;
    position: relative;
    width: 18px;
}
select.error,
label.checkbox.error span {
    border: 1px solid rgba(219,8,18,1);
}

label.checkbox i {
    padding-left: 7px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-style: normal;
    display: inline-block;
    width: calc(100% - 28px);
}

[type=checkbox]:checked + span:before {
    content: '\2714';
    position: absolute;
    color: #6d6e62;
    top: -5px;
    left: 1px;
}

[type=checkbox]:checked + label.checkbox span {
    border: 0.5px solid #6d6e62;
}

textarea {
    height: 109px !important;
}
.button,
button {
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: #FFFFFF;
    font-size: 100%;
    margin-left: auto;
    margin-top: 15px;
    margin-bottom: 30px;
    background-color: var(--color-accent);
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.button.active,
.button:hover,
button.active,
button:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

button:disabled{
    cursor: not-allowed;
}
button:disabled:hover {
    -webkit-transform: none;
    transform: none;
}

button.prev-next{
    margin-top: auto;
}

span.validatormessage {
    color: rgba(219,8,18,1);
    display: block;
    margin-top: -10px;
}

.checkbox span.missing {
    color: rgba(219,8,18,1);
    display: block;
    margin-left: 29px;
}
/*******************************************/
/* Footer
/*******************************************/

footer {
    float: left;
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
    background-color: var(--color-accent);
    color: #FFFFFF;
}

footer div.content {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    flex-wrap: nowrap;
}
footer ul {
    width: 100px;
    text-align: right;
    margin-left: auto;
}
footer ul li {
    display: block;
}
footer a {
    font-size: 15px;
    color: #FFFFFF;
}
/*
footer ul li a:after {
    content: " • ";
}
footer ul li:last-of-type a:after {
    content: "";
}
*/

footer div.content p {
    font-size: 15px;
}

.toTop {
    border-radius: 100%;
    bottom: 40px;
    display: none;
    height: 32px;
    position: fixed;
    right: 45px;
    width: 32px;
    font-size: 32px;
    overflow: visible;
    z-index: 90;
}

.toTop a {
    color: #ffffff;
}

.toTop div.background {
    background-color: var(--color-accent);
    border-radius: 100%;
    height: 40px;
    margin-left: -4px;
    margin-top: -30px;
    width: 40px;
}

.toTop span {
    margin-top: -2px;
    margin-left: -2px;
}