@import "animate.css";

/* Fonts einbinden */

* {
    box-sizing: border-box;
    font-family: 'calibri', sans-serif;
    font-weight: 300;
    font-size: 16px;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0.85rem;
    font-size: 100%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}


body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Grundgerüst */

body {
    background: #606862;
    color: #fff;
}

div#wrapper {
    max-width: 1300px;
    width: 100%;
    padding: 0 50px;
    margin: 0 auto;
    height: 100%;
    min-height: 500px;
}

header {
    width: 100%;
    height: 230px;
    background: #fff no-repeat;
    background-size: auto 100%;
    background-position: center;
    color: #000;
    text-align: center;
    margin-bottom: 35px;
}

header #logo {
    width: 350px;
    height: auto;
    margin: 35px auto;
}

h1.title,
h1 {
    font-weight: 800;
    font-size: 2.5rem;
    color: #ea5220;
    text-transform: uppercase;
}

h2.subtitle {
    font-weight: 300;
    font-size: 1.5rem;
    padding: 10px 0;
}

h2 {
    font-weight: 600;
    font-size: 1.5rem;
}

h3 {
    font-weight: 600;
    font-size: 1.2rem;
}

p {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.4rem;
}

p.attention {
    text-align: center;
    padding: 10px 10px;
    border: 1px solid #fff;
}

p.empty {
    text-align: center;
    padding: 20px 10px;
    color: #fff;
    background: #ea5220;
    border: 1px solid #ea5220;
    font-weight: 300;
    margin-bottom: 25px;
}

b {
    font-weight: 700;
}

fieldset p.attention {
    padding: 2px 7px;
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    clear: both;
    margin: 0 0 18px 0;
}

section#themengebiete {
    /*    margin-top: 75px;*/
}

/* Accordion */

.headline,
.accordion {
    width: 100%;
    text-align: left;
    background-color: #fff;
    color: #ea5220;
    margin: 5px 0;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.4s;
    /*
    font-weight: 600;
*/
}

span.required {
    font-weight: 600;
    font-size: 12pt;
}

span.attention {
    background: #ea5220;
    color: #fff;
    padding: 2px 10px;
    display: inline-block;
    margin-right: 15px;
}

.accordion:hover {
    box-shadow: . -2px 1px 17px 0px #2d2d2d54;
}

.panel {
    display: none;
    overflow: hidden;
    margin: 8px 0 30px 0;
    min-height: 100px;
    height: auto !important;
}

.steps {
    clear: both;
    width: 100%;
    height: inherit;
    display: inline-block;
    margin: 50px 0;
    position: relative;
}

.steps::before {
    content: "";
    display: block;
    width: 80%;
    height: 2px;
    background: #fff;
    margin: 0 auto;
    position: absolute;
    left: 10%;
    top: 50%;
    z-index: 0;
}

.sIcon {
    width: 20%;
    float: left;
    
}

.sIcon.active::before {
    content: "";
    display: block;
    height: 2px;
    background: #ea5220;
    margin: 0 auto;
    position: absolute;
    left: 10%;
    top: 50%;
    z-index: 0;

}

.sIcon:nth-child(1).active::before {
    width: 0;
    transition: width 2s;
}

.sIcon:nth-child(2).active::before {
    width: 20%;
    transition: width 2s;
}

.sIcon:nth-child(3).active::before {
    width: 40%;
    transition: width 2s;
}

.sIcon:nth-child(4).active::before {
    width: 60%;
    transition: width 2s;
}

.sIcon:nth-child(5).active::before {
    width: 80%;
    transition: width 2s;
}

.sIcon:nth-child(1) {
    z-index: 10;
}

.sIcon:nth-child(2) {
    z-index: 9;
}

.sIcon:nth-child(3) {
    z-index: 8;
}

.sIcon:nth-child(4) {
    z-index: 7;
}

.sIcon:nth-child(5) {
    z-index: 6;
}

.sIcon::after {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 100px;
    position: relative;
    z-index: 5555;
    margin: 0 auto;
}

.sIcon.active::after {
    border-radius: 110px;
    width: 90px;
    height: 90px;
    border: 4px solid #ea5220;
    margin-top: -5px;
    cursor: pointer;
    position: relative;
}

.sIcon.s0::after {
    background: #fff url(../../img/icons/schritt0.png);
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.sIcon.s1::after {
    background: #fff url('../../img/icons/schritt1.png');
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.sIcon.s2::after {
    background: #fff url('../../img/icons/schritt2.png');
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.sIcon.s3::after {
    background: #fff url('../../img/icons/schritt3.png');
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.sIcon.s4::after {
    background: #fff url('../../img/icons/schritt4.png');
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.sIcon.s0.active::after,
.sIcon.s1.active::after,
.sIcon.s2.active::after,
.sIcon.s3.active::after,
.sIcon.s4.active::after {
    background-size: 65% auto;
    z-index: 9999;
}

/* 
 Formulare formatieren 
 */

section#themengebiete form {
    margin: 15px 0 20px 0;
}

section#themengebiete form h2 {
    color: #ea5220;
    font-size: 1.1rem;
    font-weight: 600;
}

section#themengebiete form h3 {
    color: #25303b;
    font-size: 1rem;
    font-weight: 300;
}

section#themengebiete fieldset {
    padding: 0 0 10px 0;
    margin: 15px 0 0 0;
    border-bottom: 1px solid #ffffff38;
}

section#themengebiete fieldset.required {
    border: 1px solid #860707;
    padding: 10px;
}

section#themengebiete fieldset legend {
    font-size: 1rem;
    width: 25%;
    float: left;
    margin-right: 4.8%;
    font-weight: 300;
    line-height: 1.2rem;
    display: block;
}

section#themengebiete fieldset input {
    color: #fff;
    width: 70%;
    min-height: 25px;
    float: left;
    background: none;
    box-shadow: none;
    border: 1px solid white;
    padding: 5px;
}

section#themengebiete fieldset .cu_check,
section#themengebiete fieldset .cu_check_custom{
    float: left;
    position: relative;
    padding-left: 40px;
    margin: 0 75px 0 0;
    cursor: pointer;
    line-height: 28px;
    font-size: 0.85rem;
    font-weight: 300;
    height: 26px;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

section#themengebiete fieldset .cu_check_custom {
    margin: 0 !important;
}



section#themengebiete fieldset .contentChecked {
    width: 29%;
    float: left;
}

section#themengebiete fieldset textarea {
    width: 100%;
    padding: 5px 10px;
}

section#themengebiete fieldset .cu_check input,
section#themengebiete fieldset .cu_check_custom input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

section#themengebiete fieldset.multiselect input {
    width: 30px;
    position: relative;
}

section#themengebiete fieldset.multiselect .multiselectQuestionProzent {
    color: #fff;
    width: 70%;
    min-height: 25px;
    float: left;
}
section#themengebiete fieldset.multiselect .multiselectQuestion label,
section#themengebiete fieldset.multiselect .multiselectQuestionProzent label {
    width: 35%;
    display: inline-block;
    line-height: 1rem;
    margin: 6px 0px;
    padding: 5px 0 0 40px;
}

section#themengebiete fieldset.multiselect .multiselectQuestionProzent label input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
}

section#themengebiete fieldset.multiselect .multiselectQuestionProzent label input[type="text"] {
    width: 20%;
    float: left;
    opacity: 1;
    position: relative !important;
    margin-top: -5px;
}

section#themengebiete fieldset.multiselect .multiselectQuestion {
    color: #fff;
    width: 70%;
    min-height: 25px;
    float: left;
}

section#themengebiete fieldset.multiselect .multiselectQuestion label {
    width: 50%;
}

section#themengebiete fieldset input[type=range].range_slider {
    width: 100%;
    margin: 10px 0;
    border: none;
    background-color: transparent;
    -webkit-appearance: none;
}
section#themengebiete fieldset input[type=range].range_slider:focus {
    outline: none;
}
section#themengebiete fieldset input[type=range].range_slider::-webkit-slider-runnable-track {
    background: #3071a9;
    border: 1.6px solid #fff;
    width: 100%;
    height: 0px;
    cursor: pointer;
}
section#themengebiete fieldset input[type=range].range_slider::-webkit-slider-thumb {
    margin-top: -11.6px;
    width: 20px;
    height: 20px;
    background: #ea5220;
    border: 1px solid #ea5220;
    border-radius: 50px;
    cursor: pointer;
    -webkit-appearance: none;
}
section#themengebiete fieldset input[type=range].range_slider:focus::-webkit-slider-runnable-track {
    background: #3071a9;
}
section#themengebiete fieldset input[type=range].range_slider::-moz-range-track {
    background: #3071a9;
    border: 1.6px solid #fff;
    width: 100%;
    height: 0px;
    cursor: pointer;
}
section#themengebiete fieldset input[type=range].range_slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ea5220;
    border: 1px solid #ea5220;
    border-radius: 50px;
    cursor: pointer;
}
section#themengebiete fieldset input[type=range].range_slider::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 11px 0;
    color: transparent;
    width: 100%;
    height: 0px;
    cursor: pointer;
}
section#themengebiete fieldset input[type=range].range_slider::-ms-fill-lower {
    background: #3071a9;
    border: 1.6px solid #fff;
}
section#themengebiete fieldset input[type=range].range_slider::-ms-fill-upper {
    background: #3071a9;
    border: 1.6px solid #fff;
}
section#themengebiete fieldset input[type=range].range_slider::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #ea5220;
    border: 1px solid #ea5220;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
}
section#themengebiete fieldset input[type=range].range_slider:focus::-ms-fill-lower {
    background: #3071a9;
}
section#themengebiete fieldset input[type=range].range_slider:focus::-ms-fill-upper {
    background: #3071a9;
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    section#themengebiete fieldset input[type=range].range_slider {
        margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
}

section#themengebiete fieldset .range {
    position: relative;
}

section#themengebiete fieldset .range span.left {
    position: absolute;
    left: 0;
    bottom: 0;
}

section#themengebiete fieldset .range span.right {
    position: absolute;
    right: 0;
    bottom: 0;
}


/* Check als Hacken setzen */
/*
section#themengebiete fieldset .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}
*/

section#themengebiete fieldset .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.cu_check:hover input ~ .checkmark,
.cu_check_custom:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.cu_check input:checked ~ .checkmark,
.cu_check_custom input:checked ~ .checkmark {

    background-color: #ea5220;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.cu_check input:checked ~ .checkmark:after,
.cu_check_custom input:checked ~ .checkmark:after,
section#themengebiete .active {
    display: block !important;
}

/* Style the checkmark/indicator */
.cu_check .checkmark:after,
.cu_check_custom .checkmark:after {
    position: absolute;
    top: 4px;
    left: 4px;
    height: 17px;
    width: 17px;
    background-color: #ea5220;
    border-radius: 50%;
}

section#themengebiete fieldset checkbox {}

section#themengebiete div.contentChecked legend {
    clear: both;
    font-weight: 300;
}

section#themengebiete div.contentChecked legend::before {
    content: "|| ";
}

section#themengebiete form #submitButton {
    text-align: center;
    margin-top: 20px;
}

.mitarbeiter_ka {
    display: none;
}

.show-sub {
    display: block;
}

section#themengebiete form #submitButton input[type="submit"] {
    color: #fff;
    width: auto;
    height: 50px;
    font-weight: 600;
    background: transparent;
    border: 1px solid #fff;
    padding: 0 20px;
}

section#themengebiete form #submitButton input[type="submit"]:hover {
    cursor: pointer;
    font-weight: 600;
    background: #fff;
    color: #ea5220;
    -webkit-animation: heartBeat 1.5s cubic-bezier(.17, .67, .85, .24);
    animation: heartBeat 1.5s cubic-bezier(.17, .67, .85, .24);
}

/* 
    Footer 
*/

footer {
    padding: 20px;
    text-align: center;
}

footer a {
    padding: 0 5px;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
}

footer a:hover {
    font-weight: 600;
}

/* 
    Result.php Seite 
*/

#risikofaktoren {
    float: left;
    width: 30%;
    margin-right: 6%;
}

#risikofaktoren h2 {
    margin: 0 0 10px 0;
}

#risikofaktoren h3 {
    margin: 10px 0 20px 0;
    padding-bottom: 16px;
    font-weight: 400;
    border-bottom: 1px solid #ffffff38;
}

#risikofaktoren b,
#risikofaktoren .bold {
    font-weight: 600;
}

#risikofaktoren span {
    width: 70%;
    display: inline-block;
}

#downloadbereich {
    float: left;
    width: 64%;
}

#downloadbereich a {
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: #ea5220;
    padding: 7px 15px 10px 15px;
    float: left;
    clear: both;
    margin-top: 15px;
}

#downloadbereich a:hover {
    background: #fff;
    color: #ea5220;
}


@media screen and (max-width:900px) {
    #risikofaktoren {
        width: 100%;
        float: none;
    }

    #downloadbereich {
        width: 100%;
        float: none;
        margin: 50px 0;
    }
}

/*################# Mobile Versionen ########################*/

@media screen and (min-width:500px) and (max-width:1270px) {
    section#themengebiete fieldset .cu_check {
        display: block;
        width: 33.333%;
        margin: 0;
    }

    section#themengebiete fieldset {
        padding: 0 0 20px 0;
        margin: 10px 0 0 0;
        clear: both;
        line-height: 100%;
    }

    section#themengebiete fieldset legend {
        width: 100%;
        float: none;
    }

    section#themengebiete fieldset .contentChecked {
        float: none;
        display: block;
        clear: both;
        width: 100%;
        padding-top: 10px;
    }

    section#themengebiete fieldset input {
        width: 100%;
    }
}


@media screen and (max-width:500px) {
    header {
        height: 200px;
    }

    h1.title,
    h1 {
        font-size: 1.5rem;
        padding: 0 40px;
    }

    h2.subtitle {
        font-size: 1rem;
        padding: 20px 40px;
    }

    .sIcon::before {
        visibility: hidden;
        display: none;
    }

    p.attention {
        font-size: 0.85rem;
    }

    div#wrapper {
        padding: 0 30px;
    }

    section#themengebiete fieldset {
        padding: 0;
    }

    section#themengebiete fieldset legend {
        width: 100%;
        padding: 10px 0 5px 0;
        margin-right: 0;
        float: none;
        clear: both;
    }

    section#themengebiete fieldset input {
        width: 100%;
    }

    section#themengebiete fieldset .cu_check {
        float: none;
        width: 100%;
        margin: 0;
        display: block;
        height: 37px;
    }

    section#themengebiete fieldset .contentChecked {
        width: 100%;
    }

    .accordion {
        padding: 10px;
    }
}
