:root {
    /* --primary-color: #3394a5; */
    --primary-color: rgb(55, 92, 77);
    /* --primary-color-darken: #308392; */
    --primary-color-darken: rgb(41, 69, 58);
    /* --secondary-color: #4d4d4d; */
    --secondary-color: rgb(67, 52, 80);
}

@font-face {
    font-family: 'FuturaPTWebBook';
    src: url('fonts/FTN45__W.eot');
    src: local('fonts/Futura PT Web Book'), local('fonts/FuturaPTWebBook'), url('../fonts/FTN45__W.woff') format('woff'), url('../fonts/FTN45__W.ttf') format('truetype'), url('fonts/FTN45__W.svg#FuturaPTWeb-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {    
    margin: 0;
}

::selection {
    background: var(--primary-color);
    color: #ffffff;
}

ul {
    list-style-type: none;
    padding: 0 0 0 15px;
    margin: 16px 0;
}


html,body {
    background-color: #fff;
    font-family: 'FuturaPTWebBook';
    font-weight: 300;
    font-size: 16px; 
    color: #4d4d4d;  
    box-sizing: border-box;     
}

section {
    padding: 40px 0; 
}

footer {
    background-color: #fff;
    color: #686758;
    font-size: 14px;
    text-align: center;
    max-width: 1024px;
    margin: auto;
    margin-top: 90px;
    padding: 0 20px;
    box-sizing: border-box; 
}

.einleitung {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: 2px;
    text-align: center;
}

.container {
    max-width: 1024px;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box; 
}

.nav-container {
    max-width: 1024px;
    margin: auto;
}

#navbar {
    background-color: var(--secondary-color);
    height: 90px;
    border-bottom: 5px solid #dedede;
    position: fixed;
    width: 100%;
    z-index: 99999;
}

.step { 
    width: 40px;
    height: 40px;
    background-color: #dedede;
    border-radius: 30px;
}

.step.active {
    background-color: var(--primary-color);  
    position: relative;
}

.step.active:after {
    content:url(../img/active-icon.png);
    /*content:url(../img/active-icon.svg);*/
    position: absolute;
    top: 10px;
    left: 11px;   
    z-index: 999999;   
}

.container-steps {
    width: 100%;
    box-sizing: border-box;
    margin-top: -25px;
}

.step.active:before {
    content: "";
    top: 48%;
    height: 5px;
    background: var(--primary-color);
    width: 500px;
    right: 0;
    position: absolute;
    z-index: 999;
}

.step.last.active:before {
    width: 999999px;
    left: -1900px;
    right: 1900px;
}


#navbar + section {
    padding-top: 150px;
}


.logo {
    padding: 24px 0 24px 30px; 
}

a { color: #4d4d4d; }

p { 
    font-size: 16px;
    line-height: 1.5;
    margin: 40px 0;  
}

h1 {
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
    font-weight: 400;  
    text-align: center;
}

h1:before, h1:after {
    border-top: 1px solid #dedede;
    display: inline-block;
    height: 1px;
    content: " ";
    width: 250px;
    left: 40px;
    margin-top: 33px;
    float: left;
}

h1:after {
    right: 40px;
    left: auto;
    float: right;
}

.subtitle {   
    text-align: center; 
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
}

h3 {
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 400;
    margin: 40px 0; 
    position: relative;
}

h3:before {
    bottom: -10px;
    border-top: 1px solid #dedede;
    display: inline-block;
    height: 1px;
    content: " ";
    width: 100%;
    left: 0;
    position: absolute;
}

.kontakt-adresse {
    line-height: 1.2;
    margin: 0 auto;
    text-align: center;
    font-size: 22px;
    margin-top: 75px;
}

.kontakt-adresse p {
    font-size: 22px;
    line-height: 1.2;
}

.site-info {
    border-top: 1px solid #dedede;
    margin: 0 auto;
    max-width: 1024px;
    padding: 10px 0;
    width: 100%;
}

.footer_contact, .footer_contact p, .footer_poweredby {
    text-align: left;
    /*position: absolute;*/
    /*width: 300px;*/
    color: #4d4d4d;
    font-size: 16px;
    margin: 0; 
}

.footer_poweredby {
    margin-top: 10px; 
}

.site-footer a {
    color: #686758;
}

.site-footer a:hover {
    color: var(--primary-color-darken);     
}

.footer-menu {
    font-size: 22px;
    text-align: right;
    color: #4d4d4d;
    margin-top: 0px;
    line-height: 1.2;
}

footer a {
    text-decoration: none;
}

form {
    margin: 40px 0;
}

.button-container {
    position: relative; 
}

.button-container:before {
    content: "* erforderlich";
    color: var(--primary-color);
    text-align: right;
    margin-top: 15px;
    display: block;
    position: absolute;
    top: -35px;
    right: 0;
}
.button-container.englisch:before {
    content: "* required";
}
input,
select,
textarea { 
    height: 45px;
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 3px;
    padding: 10px;
    box-sizing: border-box;
    color: #4d4d4d;
    font-family: 'FuturaPTWebBook', "Open Sans";
    font-size: 15px;
}
button[name="goto"] {
    font-family: 'FuturaPTWebBook';
    font-size: 13px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #4d4d4d;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #4d4d4d;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #4d4d4d;
}
:-moz-placeholder { /* Firefox 18- */
  color: #4d4d4d;
}

textarea {
    min-height: 120px;
}

.button-container {
    margin: 40px 0;
}

.button-container.gridcontainer {
    margin-top: 70px;     
}

.zeiten input {
    width: auto; 
    max-width: 155px; 
}

.zeiten label {
    padding-bottom: 20px; 
}

.zeiten span {
    padding-left: 9px;
    box-sizing: border-box;    
}

.button {
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
}

.button input,
.button button,
.button a {
    display: inline-block;
    color: #fff;
    padding: 12px 20px;
    background-color: var(--primary-color);
    border-radius: 3px;
    border: none; 
}

.button input:hover,
.button button:hover,
.button a:hover {
    background-color: var(--primary-color-darken);
    cursor: pointer;
}

.button-cancel.button input,
.button-cancel.button button,
.button-cancel.button a {
    background-color: rgb(233, 233, 233);
    color: #4d4d4d;
}

.button-cancel.button input:hover,
.button-cancel.button button:hover,
.button-cancel.button a:hover {
    background-color: rgb(224, 224, 224);
}


.checkboxen {
    margin: 40px 0; 
}

.checkbox {
    position: relative;
    margin: 20px 0; 
    display: inline-block; 
}

.checkbox input {
    padding: 0;
    height: 20px;
    width: 20px;    
    margin: 0;
    position: absolute;
    opacity: 0;
    left: 0;
    z-index: 9999;
    cursor: pointer;
}

.checkbox label {
    margin-left: 35px;
    padding: 0;
    margin-top: 2px;
    margin-bottom: 2px;
    display: inline-block;
    text-transform: none;
    font-size: 15px;
    letter-spacing: 0;
    color: #4d4d4d;
}

.checkbox span:before {
    content: "";
    position: absolute;
    background-color: #ffffff;
    border: solid 1px #dedede;
    width: 20px;
    height: 20px;
    padding: 0;
    left: 0;
}

input:checked + span:before {
    content: url(../img/check_small.png);
    /* content: url(../img/check_small.svg); */
    position: absolute;
    background-color: #ffffff;
    border: solid 1px var(--primary-color);
    width: 20px;
    height: 20px;
    margin: 0;
}

input:disabled {
    background-color: #dedede;   
}

.checkbox + .checkbox {
    margin-left: 20px;
}
  
textarea:focus,  
input:focus,
select:focus {
    border-color: #dedede; 
    outline: none;    
}

input:focus {
    border-color: var(--primary-color-darken);
}

.pflicht label:after {
    content: "*";
    color: var(--primary-color); 
}

p.hinweis {
    font-size: 14px;
}

p.hinweis span {
    color: var(--primary-color);    
}


.form-frage p {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 0 10px 0;
    display: block; 
    margin: 0;    
}  

.form-frage.pflicht p:after, h3.pflicht:after {
    content: " *";
    color: var(--primary-color);    
}

.form-frage.pflicht label:after {
    content: "";
}

.form-frage .checkbox {
    margin-top: 8px;
    margin-bottom: 8px;     
}

label {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 0 10px 0;
    display: block;
}

.form-grid-1-2 {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: -12px;
    margin-top: -12px;   
}

.form-grid-1-1 {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: -12px;
    margin-top: -12px;  
}


.form-grid-1-2 > div {
    padding-left: 12px;
    padding-top: 12px;
    box-sizing: border-box;
    width: 50%;     
}

.form-grid-1-1 > div {
    padding-left: 12px;
    padding-top: 12px;
    box-sizing: border-box;
    width: 100%;     
}

.text-center {
    text-align: center;
}

.msg-error {
    color: #de2020;
    padding-bottom: 45px;
    display: block;
    margin-top: 200px;
    margin: auto;
    text-align: center;
    margin-top: 69px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 2px;
}

input.error,
select.error,
input.error + span:before,
textarea.error {
    border: 1px solid #de2020;
}

.logout {
    position: absolute;
    right: 20px;
    top: 20px;
}

.logout a {
    text-decoration: none; 
}

.invitee {
    position: absolute;
    right: 116px; /* 215px with lang switcher */
    top: 32px;
    color: #fff;
}

.lang-switcher {
    position: absolute;
    right: 116px;
    top: 26px;
    color: #fff;
}

.lang-switcher a {
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 30px;
    margin-right: 5px;
    text-transform: uppercase;
    padding: 8px;
    width: 15px;
    height: 15px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
}

.lang-switcher a:hover {
    background-color: var(--primary-color-darken);     
    border-color: var(--primary-color-darken);
}

.lang-switcher a.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}



@media (max-width: 1054px) {
    .logo {
        margin-left: 15px;
    }
    h1:before, h1:after { width: 175px; }
}

@media (max-width: 850px) {
    h1:before, h1:after { width: 150px; }
    .step {
        width: 30px;
        height: 30px;
    }
    .container-steps {
        margin-top: -19px;
    }
    .step.active:after {
        content:"";    
    }    
}
@media only screen and (max-width:1200px) {
    .logout {
        right: 10px;
        top: 10px;
    }
    
    .lang-switcher {
        right: 110px;
        top: 18px;    
    }
}

@media only screen and (max-width:800px) {
    
    .form-grid-1-2 div { width: 100%; }
    
    .checkbox { display: block; }
    
    .checkbox + .checkbox { margin-left: 0; }
    
    footer { margin-top: 40px; }
    
    h1 { font-size: 28px; }
    
    h1:before, h1:after {
        width: 50px;
    }
    
    .einleitung { 
        font-size: 22px;
        line-height: 1.4; 
    }
    
    footer a,
    .footer_contact, 
    .footer_contact p,
    .kontakt-adresse p { 
        font-size: 14px;
        line-height: 1.4;
        width: 100%;
        position: initial; 
        text-align: center;
    }
    .footer-menu {
        text-align: center;
    }
}

@media only screen and (max-width:450px) {
    
    .button-container.button-container {
        justify-content: center; 
    }
    
    .button-container:before {
        right: auto;
    }
    
    .zeiten input {
        width: auto;
        max-width: 70px;
    }
    
    .logout a {
        padding: 8px 15px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    h1:before, h1:after {
        width: 5px;
    }
    .step {
        width: 15px;
        height: 15px;
    }
    
    .step.active:after {
        content:"";    
    }
    
    .container-steps {
        margin-top: -12px;
    }
    
    .lang-switcher {
        right: 91px;
        top: 13px;    
    }
}



/*Flex Framework*/

.gridcontainer {
    margin-left: -12px;
    margin-top: -12px;
}

.gridcontainer-large {
    margin-left: -30px;
    margin-top: -30px;
}

.gridcontainer-xlarge {
    margin-left: -60px;
    margin-top: -60px;
}

.grid {
    padding-left: 12px;
    padding-top: 12px;
    box-sizing: border-box; 
}

.grid-large {
    padding-left: 30px;
    padding-top: 30px;
    box-sizing: border-box;    
}

.grid-xlarge {
    padding-left: 60px;
    padding-top: 60px;
    box-sizing: border-box;    
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.align-start {
    -webkit-box-align: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
    -webkit-box-align: flex-end;
    -webkit-align-items: flex-end;
    -ms-flex-align: flex-end;
}

.align-center {
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
}

.align-baseline {
    align-items: baseline;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
}

.align-stretch {
    align-items: stretch;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
}

.justify-start {
    -webkit-box-pack: flex-start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
}

.justify-end {
    -webkit-box-pack: flex-end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
}

.justify-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.justify-space-between {
    -webkit-box-pack: space-between;
    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}

.justify-space-around {
    -webkit-box-pack: space-around;
    -webkit-justify-content: space-around;
    -ms-flex-pack: space-around;
    justify-content: space-around;
}

.grid-20 { width: 20%; }

.grid-25 { width: 25%; }

.grid-33 { width: 33.33%; }

.grid-50 { width: 50%; }

.grid-66 { width: 66.67%; }

.grid-80 { width: 80%; }

.w-100 { width: 100%; }

/* ClimatePartner Slider hide on mobile */

@media (max-width: 550px) {
    .cp-section {
        display: none !important;
    }
}