/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

/*
    Farben:

        Orange:         #ee7034     rgb(238,112,52)
        SL-Anthrazit:   #4c4c4f     rgb(76,76,79)
        SL-Grau:        #c7c7c8     rgba(76,76,79,.3)
        SL-Hellgrau:    #eaeaea     rgba(76,76,79,.1)
    Just a Test
*/

body {
    margin: 0px;
    font-size: 16px;
    color: #4c4c4f;
}

body * {
    font-family: "Lato", sans-serif;
}

body.fragen-teil {
    background-color: #4c4c4f;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 0;
}

h3 {
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 0;
}

b {
    text-transform: uppercase;
    font-weight: 900;
}

p {
    margin-top: 0;
    line-height: 1.5em;
}

a:link {
    color: #ee7034;
    text-decoration: none;
}

a:hover {
    color: #4c4c4f;
}

body.fragen-teil a:hover {
    color: #fff;
}

.bunter-teil {
    color: #ee7034;
    font-weight: 900;
    display: inline-block;
}

.normaler-teil {
    display: inline-block;
}

#all {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: [header-start] 200px [header-end navi-start] 100px [navi-end content-start] auto [content-end footer-start] 100px [footer-end];
    grid-template-rows: [header-start] 200px [header-end navi-start] 100px [navi-end content-start] auto [content-end footer-start] 100px [footer-end];
    -ms-grid-columns: [left-start] 2fr [left-end center-start] 8fr [center-end right-start] 2fr [right-end];
    grid-template-columns: [left-start] 2fr [left-end center-start] 8fr [center-end right-start] 2fr [right-end];
    min-height: 100vh;
}

#all #header {

    -ms-grid-row: 1;

    grid-row-start: 1;

    -ms-grid-row-span: 1;

    grid-row-end: 2;

    -ms-grid-column: 1;

    grid-column-start: 1;

    -ms-grid-column-span: 3;

    grid-column-end: 4;
    height: 205px;
    background-image: url("https://www.shapeleadership.de/wp-content/uploads/2018/10/shape-logo-190.png");
    background-repeat: no-repeat;
    background-position: 35px center;
}

.fragen-teil #all #header {
    background-image: url("https://shapeleadership.de/wp-content/uploads/shape-logo-white-190.png");
}

#all #top_navi {

    -ms-grid-row: 2;

    grid-row-start: 2;

    -ms-grid-row-span: 1;

    grid-row-end: 3;

    -ms-grid-column: 2;

    grid-column-start: 2;

    -ms-grid-column-span: 1;

    grid-column-end: 3;
}

#content {

    -ms-grid-row: 3;

    grid-row-start: 3;

    -ms-grid-row-span: 1;

    grid-row-end: 4;

    -ms-grid-column: 2;

    grid-column-start: 2;

    -ms-grid-column-span: 1;

    grid-column-end: 3;
    width: 100%;
    margin: 0 auto;
}

/* display: block in browsers that don't support or misinterpret grid (IE!) */
.survey-pages #all {
    display: block;
    display: -ms-grid;
    display: grid;
}

.survey-pages #content {

    -ms-grid-row: 2;

    grid-row-start: 2;
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
}

@media screen and (max-width: 768px) {

    p {
        font-size: 12px;
    }

    .survey-pages #content {
        width: 95%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 20px 10px;
    }

}






/* top navi */

/*.top_navi_item {
    width: 100px;
    background-color: #c4c3c9;
    border: 1px solid black;
    text-align: center;
    float: left;
    margin-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.top_navi_item_active {
    width: 100px;
    background-color: #e8e6f0;
    border: 1px solid black;
    text-align: center;
    float: left;
    margin-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.top_navi_item_two_lines {
    padding-top: 6px;
    padding-bottom: 6px;
}

.top_navi_item:hover, .top_navi_item_active:hover {
    background-color: #313131;
    color: #ebebeb;
    cursor: pointer;
} */

/* pages */

div.content_space_div {
    height: 5px;
}


/* Survey */

/* Timer */
#timer {
    font-weight: 900;
    color: #ee7034;
    position: absolute;
    right: 50px;
    top: 50px;
    opacity: 1;
}

@-webkit-keyframes flashText {
    50% {
        opacity: 0;
    }
}

@keyframes flashText {
    50% {
        opacity: 0;
    }
}

#timer.timer-finished {
    color: red;
    -webkit-animation: flashText 1s linear infinite;
    animation: flashText 1s linear infinite;
}



#survey_header_div .leader-name {
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 0;
}


.survey-pages .question {
    display: none;
    position: absolute;
}


#survey_header_div.active,
.question.active {
    position: relative;
}

#viewport {
    height: auto;
    position: relative;
    padding-bottom: 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#viewport #survey_header_div {
    z-index: 2;
}

#viewport .buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}

button:focus {
    outline: 0;
}

#viewport .buttons button.forward {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
    -ms-grid-column-align: end;
    justify-self: end;
    z-index: 3;
}

#viewport .buttons button,
#viewport #save_button,
.top_navi_item,
.top_navi_item_active,
div#logout {
    text-transform: uppercase;
    background-color: transparent;
    border: solid 1px #4c4c4f;
    padding: 11px 20px;
    width: 145px;
    font-weight: 900;
    color: #ee7034;
    font-size: 16px;
    cursor: pointer;
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s;
    letter-spacing: 1px;
    border-radius: 0;
    height: auto;
}

#viewport .save-button-container {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 43px;
    width: 145px;
    display: block;
    z-index: 2;
    padding: 0;
    border: none;
    background: transparent;
}

#viewport #save_button {
    color: #fff;
    background-color: #ee7034;
    border-color: #ee7034;
    position: relative;
    z-index: 2;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#viewport #save_button:hover,
.top_navi_item:hover,
.top_navi_item_active,
div#logout:hover {
    color: #4c4c4f;
}

#viewport #save_button.button_inactive {
    background-color: #ddd;
    cursor: no-drop;
}

#viewport .save-button-container.button_inactive::before {
    content: "Please answer all questions to proceed";
    text-transform: initial;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    background: #ee7034;
    color: #fff;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    padding: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#viewport.deutsch .save-button-container.button_inactive::before {
    content: "Bitte beantworten Sie alle Fragen um fortzufahren";
}

#viewport.francais .save-button-container.button_inactive::before {
    content: "Veuillez répondre a toutes les questions pour continuer";
}

#viewport.espanol .save-button-container.button_inactive::before {
    content: "Responda todas las preguntas para continuar";
}

#viewport .survey-end h2.thank-you {
    opacity: 0;
    -webkit-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.fragen-teil #viewport .buttons button {
    border-color: #fff;
}

#viewport .buttons button:hover {
    color: #4c4c4f;
}

.fragen-teil #viewport .buttons button:hover {
    color: #fff;
}

.survey-pages #viewport .buttons button.back {
    display: none;
}

.survey-pages .survey-end {
    display: none;
}

.survey-end.active {
    display: block;
}


body:not(.survey-pages) .question {
    background-color: #4c4c4f;
    margin-bottom: 2rem;
    padding: 2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body:not(.survey-pages) #viewport .buttons {
    display: none;
}

body:not(.survey-pages) #viewport .question .input-label-container {
    position: relative;
    z-index: 2;
}

.question legend {
    color: #ee7034;
    font-weight: 900;
    font-size: 2.5rem;
}

.question .form_entry_survey {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 50px;
}

.question .form_entry_survey small {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
}

#survey_header_div {
    position: absolute;
}

#viewport .text_left {
    float: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 25px 0;
}

#viewport .text_left.goal-text {
    margin-top: 75px;
}

.text_left.survey-input-container {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.text_left.survey-input-container.binary-question {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

/* custom Radio Buttons */

.custom-radios {
    position: relative;
    color: #fff;
}

.custom-radios .single-label {
    padding: 29px 30px .5em 55px;
    display: block;
}

.binary-question .custom-radios .single-label {
    padding-right: 100px;
}

.custom-radios .input-value {
    padding: 29px 30px .5em 55px;
}

#viewport .custom-radios input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radios .der-neue-input {
    position: absolute;
    top: 0;
    left: 0;
    height: 43px;
    width: 43px;
    border: solid 1px #fff;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

/* On mouse-over, add background color */
.custom-radios:hover input~.der-neue-input {
    background-color: #ee7034;
    border-color: #ee7034;
}

/* When the radio button is checked, add background */
.custom-radios input:checked~.der-neue-input {
    background-color: #ee7034;
    border-color: #ee7034;
}

.custom-radios.disabled {
    opacity: .5;
}




.form_inline_key_survey {
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

#viewport textarea {
    width: 100%;
    border: none;
    border-bottom: solid 1px #fff;
    background: transparent;
    color: #fff;
    overflow: hidden;
    -webkit-box-sizing: padding-box;
    box-sizing: padding-box;
    resize: none;
    -webkit-appearance: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    font-size: 1.2rem;
}

#viewport textarea:focus {
    outline: none;
    border-color: #ee7034;
}

#viewport textarea::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #ee7034;
    opacity: 1;
}

#viewport textarea::-moz-placeholder {
    /* Firefox 19+ */
    color: #ee7034;
    opacity: 1;
}

#viewport textarea:-ms-input-placeholder {
    /* IE 10+ */
    color: #ee7034;
    opacity: 1;
}

#viewport textarea:-moz-placeholder {
    /* Firefox 18- */
    color: #ee7034;
    opacity: 1;
}


/* end BB Survey */

/* BB Admin Navi */

body:not(.survey-pages) #content {
    width: 1000px;
}

.top_navi_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 64px;
}

.top_navi_inner>div.clear {
    display: none;
}

.top_navi_inner .top_navi_item,
.top_navi_inner .top_navi_item_active,
div#logout {
    padding: 11px 10px;
    margin: 0;
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    margin-right: 5px;
    min-width: 75px;
}

div#logout {
    color: #fff;
    background: #ee7034;
    border-color: #ee7034;
    margin-right: 0;
}


div#logout:hover {
    color: #4c4c4f;
    background: #ee7034;
}

/* End BB Admin Navi */

/*BB Admin */

#survey_table {
    width: 1000px;
}

#coach_form fieldset>div,
#coachee_form fieldset>div,
#coaching_form fieldset>div,
#company_form fieldset>div,
#office_form fieldset>div,
#settings_form fieldset>div,
#survey_form fieldset>div {
    margin-bottom: 5px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 11rem auto;
    grid-template-columns: 11rem auto;
}

#coach_form fieldset>div#language_div #language_set>.language_entry:nth-child(2n) {
    margin-left: 75%;
}

#coaching_form>div {
    margin-bottom: 2rem;
}

#coaching_form div[id^='file_id'] {
    display: none;
}

#coaching_form fieldset>div>fieldset {
    grid-column: 1 / -1;
}

#coaching_form>fieldset:nth-child(2)>div {
    display: inline;
}

#coaching_form fieldset:nth-child(2)>div>div>div {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1rem;
}

#coaching_form .status-fields>div>div>div {
    min-height: 2.5rem;
}

#coaching_form fieldset:nth-child(2)>div>div>div>div:nth-child(2) {
    text-align: right;
}

#survey_form .text_error {
    grid-column: 1 / -1;
    margin-left: 0;
}

#coaching_form .total-durations {
    -ms-grid-column: 1;
    grid-column-start: 1;
    -ms-grid-column-span: 2;
    grid-column-end: 3;
    padding-bottom: 1rem;
}

#coaching_form .total-durations span {
    margin-right: 1rem;
}

#coach_form fieldset input,
#coach_form fieldset select,
#coachee_form fieldset input,
#coachee_form fieldset select,
#coaching_form fieldset input,
#coaching_form fieldset select,
#coaching_form fieldset textarea,
#company_form fieldset input,
#company_form fieldset select,
#company_form fieldset textarea,
#office_form fieldset input,
#office_form fieldset select,
#office_form fieldset textarea,
#settings_form fieldset input,
#settings_form fieldset select,
#settings_form fieldset textarea,
#survey_form fieldset input,
#survey_form fieldset select,
#survey_form fieldset textarea {
    margin-left: 1rem;
}

body:not(.survey-pages) #save_button,
body:not(.survey-pages) #delete_survey_button {
    display: block;
    max-width: 340px;
}


.survey_state_not_launched,
.survey_state_incomplete,
.survey_state_complete,
.survey_state_incomplete_closed,
.survey_state_complete_closed {
    float: left;
    height: 21px;
    width: 21px;
    margin-left: 5px;
    background-repeat: no-repeat;
}

.survey_state_not_launched {
    background-image: url(../img/circle_grey.png);
}

.survey_state_incomplete {
    background-image: url(../img/circle_orange.png);
}

.survey_state_incomplete_closed {
    background-image: url(../img/circle_orange_lock.png);
}

.survey_state_complete {
    background-image: url(../img/circle_green.png);
}

.survey_state_complete_closed {
    background-image: url(../img/circle_green_lock.png);
}

.resend_mail_div {
    background-image: url(../img/mail.png);
    float: left;
    height: 21px;
    width: 21px;
    margin-left: 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.survey_edit {
    float: left;
    margin-left: 5px;
    width: 20px;
    height: 20px;
    background-image: url(../img/edit_red_small.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    cursor: pointer;
}

.survey_check {
    float: left;
    margin-left: 5px;
    width: 20px;
    height: 20px;
}

.survey_small_statistics {
    float: left;
    margin-left: 5px;
    width: 20px;
    height: 20px;
    background-image: url(../img/magnifier.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    cursor: pointer;
}

.closing-date-input {
    position: relative;
}

.closing-date-input::before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .3)
}


.survey_table_legend {
    margin-top: 40px;
}

.survey_table_legend h4 {
    margin-left: 20px;
}

.survey_table_legend p {
    margin-left: 20px;
}

.survey_table_legend table {
    border-collapse: collapse;
}

.survey_table_legend table tr td {
    width: 140px;
    text-align: center;
}

.survey_table_legend a,
.survey_table_legend a:visited {
    color: #871536;
    font-size: 80%;
    text-decoration: underline;
    cursor: pointer;
}

.survey_table_legend a:hover {
    color: #C73660;
}

a.download_link,
a.download_link:visited {
    color: #871536;
    font-size: 80%;
    text-decoration: underline;
    cursor: pointer;
}

a.download_link:hover {
    color: #C73660;
}

.state_margin_left {
    margin-left: 60px;
}

.authorization_error {
    color: #871536;
    font-weight: bold;
    text-align: center;
    width: 600px;
    margin: auto;
    margin-top: 40px;
}

/*
.form_inline_key, .form_inline_key_survey {
    width: 200px;
    display: inline-block;
} 

.form_inline_key_survey {
    font-weight: normal;
    margin-bottom: 3px;
    width: 500px;
}*/

#logout {
    height: 35px;
    border: 1px solid black;
    border-radius: 5px;
    padding-left: 50px;
    padding-right: 5px;
    padding-top: 15px;
    background-color: #c4c3c9;
    background-image: url(../img/exit_inactive.png);
    background-repeat: no-repeat;
    background-position: 5px 5px;
    font-weight: bold;
    float: right;
    margin-right: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#logout:hover {
    background-image: url(../img/exit_active.png);
    background-color: #313131;
    color: #ebebeb;
    cursor: pointer;
}

#login_button {
    border: 1px solid black;
    width: 60px;
    height: 25px;
    padding-top: 5px;
    border-radius: 5px;
    background-color: #c4c3c9;
    text-align: center;
}

#login_button:hover {
    background-color: #871536;
    color: #ebebeb;
    cursor: pointer;
}

.button_inactive {
    border: 1px solid #808080;
    background-color: #E0E0E0;
    cursor: default;
    color: #787878;
    /*width: 60px;*/
    display: inline-block;
    height: 25px;
    padding-top: 5px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.button_active,
.button_print {
    border: 1px solid black;
    /*width: 60px;*/
    display: inline-block;
    height: 25px;
    padding-top: 5px;
    background-color: #c4c3c9;
    text-align: center;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
}

.button_print {
    background-color: #c4c3c9;
}

.button_active:hover,
.button_print:hover {
    background-color: #871536;
    color: #ebebeb;
    cursor: pointer;
}

.add_table_item {
    height: 27px;
    padding-top: 4px;
    text-align: center;
    font-family: verdana;
    background-image: url(../img/add.png);
    background-repeat: no-repeat;
    background-position: 2px 2px;
    border: solid 1px #ee7034;
    margin-bottom: 5px;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.add_table_item:hover {
    background-color: #ee7034;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

.text_left {
    float: left;
    /*width: 200px;*/
}

.text_error {
    float: left;
    margin-left: 100px;
    color: #871536;
}

.form_entry_error .text_error {
    margin-left: 0;
}

.delete_item {
    float: left;
    width: 20px;
    height: 20px;
    background-image: url(../img/delete.png);
    background-repeat: no-repeat;
    cursor: pointer;
}

.clear {
    clear: both;
}

.table_fieldset {
    border-top: 1px solid black;
    margin-bottom: 15px;
}

.column_check_div {
    width: 140px;
    margin-left: 5px;
    float: left;
}

.coaching_column_check_div {
    width: 420px;
    margin-left: 5px;
    float: left;
}

/* password reset */

p#forgotten_credentials {
    color: #871536;
    font-size: 80%;
    text-decoration: underline;
    cursor: pointer;
}

p#forgotten_credentials:hover {
    color: #C73660;
}

.invisible {
    display: none;
}

.float_left {
    float: left;
}

#password_status {
    float: left;
    height: 30px;
    margin-left: 10px;
    color: #871536;
}

.mail_status_result_ok {
    background-image: url(../img/form_ok.png);
    background-repeat: no-repeat;
    background-position: 0px 6px;
    padding-top: 7px;
    padding-left: 30px;
}

.mail_status_result_error {
    background-image: url(../img/form_error.png);
    background-repeat: no-repeat;
    background-position: 0px 6px;
    padding-top: 7px;
    padding-left: 30px;
}

.mail_status_request {
    background-image: url(../img/ajax-loader.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-top: 7px;
    padding-left: 30px;
}

/* data table */

.table_preview {
    background-image: url(../img/preview.png);
    background-repeat: no-repeat;
    background-position: 35px 5px;
    cursor: pointer;
}

.table_submit {
    background-image: url(../img/send.png);
    background-repeat: no-repeat;
    background-position: 35px 5px;
    cursor: pointer;
}

.table_statistics {
    background-image: url(../img/chart.png);
    background-repeat: no-repeat;
    background-position: 35px 5px;
    cursor: pointer;
}

.table_overall_report {
    background-image: url(../img/chart.png);
    background-repeat: no-repeat;
    cursor: pointer;
    width: 35px;
    height: 35px;
    margin: auto;
}

.table_edit {
    background-image: url(../img/edit_red.png);
    background-repeat: no-repeat;
    background-position: 35px 5px;
    cursor: pointer;
}

.survey_table_new {
    background-image: url(../img/add.png);
    background-repeat: no-repeat;
    cursor: pointer;
    height: 35px;
    width: 35px;
    margin: auto;
}

/* status message */

.state_message_ok,
.state_message_error,
.state_message_welcome {
    background-color: #d6cc60;
    height: 25px;
    background-repeat: no-repeat;
    background-position: 2px 1px;
    text-align: center;
    font-family: verdana;
    padding-top: 2px;
    border-bottom: 1px solid black;
}

.state_message_welcome {
    background-color: transparent;
    color: black;
}

.state_message_ok {
    background-image: url(../img/check.png);
}

.state_message_error {
    background-image: url(../img/error.png);
}

/* forms */

#survey_thanks {
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    font-size: 2.5rem;
}

.please-send {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.margin_left {
    margin-left: 10px;
}

.survey_radio {
    margin-left: 5px;
}

.form_entry_survey {
    font-weight: normal;
}

.form_entry_survey_input {
    background-color: #FFCE8A;
}

/*
.form_entry_required {
    background-image: url(../img/form_required.png);
    background-repeat: no-repeat;
    background-position: 5px 3px;
}

.form_entry_error {
    background-image: url(../img/form_error.png);
    background-repeat: no-repeat;
    background-position: 5px 3px;
}

.form_entry_ok {
    background-image: url(../img/form_ok.png);
    background-repeat: no-repeat;
    background-position: 5px 3px;
}
*/
.form_entry_required,
.form_entry_error,
.form_entry_ok {
    position: relative;
}

.form_entry_required .text_left:first-child::after,
.form_entry_error .text_left:first-child::after,
.form_entry_ok .text_left:first-child::after {
    content: "";
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    left: 0;
    -webkit-transform: translate(-150%, -2px);
    -ms-transform: translate(-150%, -2px);
    transform: translate(-150%, -2px);
    top: 0;
}

.form_entry_required .text_left:first-child::after {
    background-image: url(../img/form_required.png);
}

.form_entry_error .text_left:first-child::after {
    background-image: url(../img/form_error.png);
}

.form_entry_ok .text_left:first-child::after {
    background-image: url(../img/form_ok.png);
}

.survey-pages .form_entry_required .text_left:first-child::after,
.survey-pages .form_entry_error .text_left:first-child::after,
.survey-pages .form_entry_ok .text_left:first-child::after {
    display: none;
}


.note_text {
    margin-top: 3px;
    margin-bottom: 3px;
}

.form_entry p {
    margin-top: 3px;
    margin-bottom: 3px;
}

.form_entry input {
    display: inline;
}

fieldset {
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;
}

#print_main fieldset {
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    border-bottom: 0;
}

.form_add_button_inactive {
    border: 1px solid black;
    height: 25px;
    padding-top: 5px;
    text-align: center;
    font-weight: bold;
    background-image: url(../img/add.png);
    background-repeat: no-repeat;
    padding-left: 30px;
    padding-right: 20px;
    background-position: 1px 2px;
    background-color: #E0E0E0;
    cursor: default;
    color: #787878;
    width: 170px;
    margin-bottom: 20px;
}

.form_add_button_active {
    border: 1px solid black;
    height: 25px;
    padding-top: 5px;
    background-color: #c4c3c9;
    text-align: center;
    font-weight: bold;
    background-image: url(../img/add.png);
    background-repeat: no-repeat;
    padding-left: 30px;
    padding-right: 20px;
    background-position: 1px 2px;
    width: 170px;
    margin-bottom: 20px;
}

.form_add_button_active:hover {
    border: 1px solid black;
    height: 25px;
    padding-top: 5px;
    text-align: center;
    font-weight: bold;
    width: 170px;
    background-image: url(../img/add.png);
    background-repeat: no-repeat;
    padding-left: 30px;
    padding-right: 20px;
    background-position: 1px 3px;
    background-color: #313131;
    color: #ebebeb;
    cursor: pointer;
}

.form_delete_button {
    height: 25px;
    padding-top: 6px;
    text-align: center;
    font-weight: bold;
    background-image: url(../img/delete.png);
    background-repeat: no-repeat;
    padding-left: 10px;
    background-position: 1px 4px;
    display: inline-block;
    padding-left: 25px;
    font-size: 90%;
    color: #871536;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin-left: 20px;
}

.form_delete_button:hover {
    color: #C73660;
}

#peers_set,
#questions_set {
    margin-top: 10px;
}

/* statistics table and plots */

.fieldset_margin_top {
    margin-top: 60px;
    padding-top: 60px;
}


.print_footer {
    display: none;
}



.survey_statement {
    border: 1px solid #666666;
    background-color: #dedede;
    padding: 3px;
    overflow: auto;
    word-wrap: break-word;
    max-width: 963px;
}

/* Anpassungen BBO */


/*
#print_main .survey_statement p {
    display: list-item;
  list-style: disc;
  list-style-position: inside;
} */

.bar_chart {
    width: 450px;
    /*height: 250px;*/
    float: left;
}

.stat_center {
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

table.statistics_table {
    font-family: verdana, arial, sans-serif;
    font-size: 11px;
    color: #333333;
    border-width: 1px;
    border-color: #666666;
    border-collapse: collapse;
    margin-top: 10px;
    margin-left: 40px;
}

table.statistics_table th {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #dedede;
}

table.statistics_table td {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #ffffff;
    text-align: center;
}

table.statistics_table td.score {
    text-align: center;
}

table.statistics_table td.last {
    background-color: #BDBDBD;
}

div.statistics_left {
    float: left;
    width: 50%;
}

div.statistics_right {
    float: left;
    width: 50%;
}

div.total_avg_score {
    border-top: 2px solid black;
    padding-top: 5px;
    margin-top: 10px;
    margin-left: 40px;
    font-weight: bold;
    display: inline-block;
}

div.report_header {
    text-align: center;
}


/* jquery */

#ui-datepicker-div {
    font-size: 11px;
}

.ui-datepicker-trigger {
    margin-left: 3px;
    vertical-align: middle;
}

.ui-tooltip {
    font-size: 11px;
}

/* misc */

.normal_text {
    font-weight: lighter;
}

/* meta statistics */

.meta_div h5 {
    margin-left: 40px;
}

.meta_pagebreak {
    page-break-after: always;
}




.line_plot_div {
    margin-top: 40px;
}


#team-button {
    position: absolute;
    opacity: 1;
    right: 0;
    top: -100%;
    font-weight: 900;
    text-align: right;
    color: #ee7034;
    font-size: 30px;
    text-transform: uppercase;
    background: transparent;
    border: none;
    cursor: pointer;
}

body.team-mode #team-button {
    color: #4d4c4f;
}

@-webkit-keyframes fade-in-out {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in-out {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#team-button.waiting span:nth-child(3) {
    -webkit-animation-name: fade-in-out;
    animation-name: fade-in-out;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    font-size: .7em;
}


#team-button.waiting,
#team-button.inactive {
    cursor: no-drop;
}

#team-button .switch {
    width: 40px;
    height: 20px;
    background-color: #eee;
    border-radius: 20px;
    float: left;
    cursor: pointer;
    display: none;
}

#team-button .switch::after {
    width: 20px;
    height: 20px;
    border-radius: 30px;
    background-color: #fff;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    -webkit-transition: margin 0.1s linear;
    -o-transition: margin 0.1s linear;
    transition: margin 0.1s linear;
    -webkit-box-shadow: 0px 0px 5px #aaa;
    box-shadow: 0px 0px 5px #aaa;
}

#team-button>* {
    display: block;
}

#team-button .mode-team {
    color: #4d4c4f;
}

.team-mode #team-button .switch {
    background-color: #ee7034;
}

.team-mode #team-button .switch::after {
    margin-left: 20px;
}

#team-button .helper-text {
    display: none;
    opacity: 0;
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    position: absolute;
    font-size: 1rem;
    background: #ee7034;
    width: 245px;
    text-align: center;
    padding: .5rem;
    margin: 0;
    text-transform: none;
    color: #fff;
    top: 0;
    -webkit-transform: translateY(-110%);
    -ms-transform: translateY(-110%);
    transform: translateY(-110%);
    right: 0;
}

#team-button .helper-text p {
    margin: 0;
}

#team-button:hover .helper-text {
    display: block;
    opacity: 1;
}

.team-mode-buttons-container {
    text-align: center;
    margin-top: 2rem;
}

.team-mode-buttons-container button {
    font-size: 2rem;
    background: transparent;
    margin: 1rem;
    border: solid 2px #ee7034;
    cursor: pointer;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    padding: 1rem;
}

.team-mode-buttons-container button#leader-mode:hover {
    color: #ee7034;
    background-color: transparent;
}

.team-mode-buttons-container button#leader-mode {
    background-color: #ee7034;
    color: #fff;
}

.team-mode-buttons-container button#team-mode:hover {
    color: #4d4c4f;
    border-color: #4d4c4f;
    background-color: transparent;
}

.team-mode-buttons-container button#team-mode {
    background-color: #4d4c4f;
    color: #fff;
    border-color: #4d4c4f;
}

body.team-mode .top_navi_item {
    color: #4d4c4f;
}

body.team-mode .top_navi_item:hover,
body.team-mode .top_navi_item_active {
    color: #ee7034;
}

body.team-mode div#logout {
    background: #4d4c4f;
    border-color: #4d4c4f;
}

body.team-mode div#logout:hover {
    color: #ee7034;
}

body.team-mode .add_table_item {
    border: solid 1px #4d4c4f;
}

body.team-mode .add_table_item:hover {
    background-color: #4d4c4f;
}

body.team-mode #team-button .helper-text {
    background-color: #4d4c4f;
}

@media screen and (max-width: 1350px) {

    #all {
        -ms-grid-columns: [left-start] 1fr [left-end center-start] 8fr [center-end right-start] 1fr [right-end];
        grid-template-columns: [left-start] 1fr [left-end center-start] 8fr [center-end right-start] 1fr [right-end];
    }

}

@media screen and (max-width: 960px) {

    #all {
        -ms-grid-rows: [header-start] 125px [header-end navi-start] 50px [navi-end content-start] auto [content-end footer-start] 100px [footer-end];
        grid-template-rows: [header-start] 125px [header-end navi-start] 50px [navi-end content-start] auto [content-end footer-start] 100px [footer-end];
    }

    #all #header {
        height: 75px;
        background-image: url("https://www.shapeleadership.de/wp-content/uploads/shape-logo-quer.png") !important;
        background-size: auto 40px;
        -webkit-box-shadow: 0px 2px 7px #c7c7c8;
        box-shadow: 0px 2px 7px #c7c7c8;
        background-color: #fff;
    }

    #timer {
        top: 33px;
        font-size: 1.5rem;
    }

    #viewport {
        padding-bottom: 75px;
    }

    #viewport .text_left {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #survey_form .question:first-child .survey-input-container>* {
        width: 50%;
        margin-bottom: 3rem;
    }

    #survey_form .question:first-child .survey-input-container>*:nth-child(even) .single-label {
        padding-right: 0;
    }

}

@media screen and (max-width: 768px) {

    body {
        word-wrap: break-word;
        overflow-wrap: break-word;

        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h2,
    .question legend,
    .question .form_entry_survey {
        font-size: 2rem;
    }


    #all {
        -ms-grid-columns: [left-start] 1fr [left-end center-start] 10fr [center-end right-start] 1fr [right-end];
        grid-template-columns: [left-start] 1fr [left-end center-start] 10fr [center-end right-start] 1fr [right-end];
    }

    #all #header {
        background-size: auto 25px;
        background-position: 25px center;
    }

    #timer {
        font-size: 1rem;
        right: 25px;
    }

    .text_left.survey-input-container {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .survey-input-container>* {
        width: 33%;
        margin-bottom: 3rem;
    }

    .custom-radios .input-label,
    .binary-question .custom-radios .single-label {
        padding-right: 1.5em;
    }

}

@media screen and (max-width: 400px) {

    h2,
    .question legend,
    .question .form_entry_survey {
        font-size: 1.3rem;
    }

    .custom-radios .input-value,
    .custom-radios .single-label {
        padding: 55px 30px .5em 0;
    }

    #viewport .buttons button,
    #viewport #save_button {
        padding: 11px 0;
        width: 120px;
    }

}


.question-2-top-container {
    display: grid;
    grid-template-columns: 550px 360px;
    grid-gap: 20px;
    margin-bottom: 60px;
}

.line-chart {
        padding: 0 20px;
    }

/* Print Seiten */

body:not(.print) .print-only {
    display: none;
}

@media print {
    @page {
        margin: 2cm 1cm 1cm;
        @bottom-center {
            content: element(footer);
        }
    }

    #all {
        display: block;
        min-height: unset;
    }

    * {
        min-width: 0;
    }

    body:not(.print) .print-only,
    .print_footer {
        display: block;
    }

    #header {
        display: none;
    }

    div.report_header {
        text-align: left;
        position: relative;
        background-color: #fff;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-bottom: 60px;
    }

    .report_header::after {
        content: "";
        display: block;
        position: absolute;
        left: -50px;
        bottom: 0;
        width: 300px;
        height: 10px;
        background-color: #ee7034;
    }


    .report_header img {
        margin: 0 auto 1rem;
    }

    .report_header > h4 {
        text-transform: uppercase;
    }

    body,
    body:not(.survey-pages) #content {
        width: 1000px;
        margin: 0 auto;
        padding: 1rem;
        position: relative;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    fieldset {
        display: block;
        padding: 0;
        border: none;
        margin-bottom: 100px;
    }

    .fieldset_margin_top {
        margin-top: 0;
        padding-top: 0;
    }

    h4 {
        font-size: 1.3rem;
        margin-bottom: .25em;
    }

    p {
        margin-bottom: 0;
    }


    canvas {
        position: relative;
    }


    fieldset>p,
    .goal-1>p {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 20px;
    }


    .survey_statement {
        border: none;
        background: transparent;
        font-style: italic;
        margin-bottom: 1.5em;
        padding: 0 7px;
        position: relative;
    }


    .anfuehrungszeichen.anfang {
        position: absolute;
        left: 0;
        top: 0;
    }


    fieldset .survey_statement {
        break-before: avoid;
    }


    #print_header {
        height: 205px;
        width: 1000px;
        border-bottom: 1px solid black;
    }

    #print_main {
        width: 1000px;
    }

    .print_footer {
        height: 50px;
        position: fixed;
        bottom: 0;
        width: 950px;
        max-width: 100%;
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        background-color: #fff;
        box-sizing: border-box;
        position: running(footer);
    }

    #print_button,
    #top_navi {
        display: none !important;
    }


    /* Grundlegende Regeln für alle Container */
    .goal,
    .bar-chart,
    .line-chart,
    .yes_no_fieldset,
    .question_fieldset:not(.goals_fieldset),
    .opinion,
    .survey-opinions,
    canvas {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .goal,
    .yes_no_fieldset,
    .question_fieldset:not(.goals_fieldset),
    .opinion{
        padding-bottom: 70px;
    }

    .line-chart {
        padding: 0 20px;
    }


    .question_fieldset_charts {
        page-break-after: always;
        break-after: always;
    }

    /* Container-Höhen festlegen */
    .bar-chart,
    .line-chart {
        height: auto !important;
        min-height: 350px;
        max-width: 98%;
    }

    .question-2-top-container {
        grid-template-columns: 550px 360px;
    }

    .goal h4 {
        margin-bottom: 50px;
    }

    .opinion h3 {
        margin-bottom: 40px;
    }
    .opinion h4 {
        margin-top: 0;
    }

    .opinion > .survey_statement:last-child {
        margin-bottom: 0;
    }

    .print_footer > em {
            position: relative; /* Chrome Fix */
    }

}


