/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
/******************
    User custom CSS
    --------------
    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/* Added or modified by FSB */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans');

.bg-primary {
    color: #fff;
}

.well {
    background-color: rgb(236, 240, 241);
}

body, h1, h2, h3, h4, h5, h6, p, li, button, input:not([type="password"]), input:not([type="hidden"]), .save-message, .save-message * {
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
}

body {
    font-size: 16px;
}

body .top-container {
    margin-top: 20px !important;
    margin-bottom: 0px !important;
}

body {
    padding-bottom: 0; /* no bottom padding, footer should be bottom aligned */
    padding-top: 60px; /* now is redefine in JS to fit any title length */
    flex-direction: column; /* article, then footer */
    display: flex; /* flex, to extend the content to full size */
    min-height: 100vh; /* full height, to bottom-align footer */
}

body > article {
    flex: 1; /* the main article should use as much space as possible */
    display: flex;
    flex-direction: column;
}

body > article footer {
    font-size: 12px;
    margin-top: auto;
}

body > article footer p {
    margin-top: 50px;
}

body > article #dynamicReloadContainer {
    display: flex;
    flex-direction: column;
    flex: 1;
}

a:hover, a:active, a:focus {
    color: rgb(6, 117, 202);
}

h1.survey-name {
    hyphens: none;
}

.survey-description p, .survey-description li {
    text-align: left;
    hyphens: none;
}

.survey-description ul li, .survey-description ol li {
    margin-bottom: 10.5px;
}

.survey-description li > ul {
    margin-top: 10.5px;
}

.navbar {
    margin-bottom: 0px !important;
}

.question_index_wrapper {
    top: 75px !important;
}

.sitrox-question-index-item {
    margin-left: 1px !important;
}

.sitrox-question-index-item a {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.6;
}

.sitrox-question-index-item a:hover {
    opacity: 0.7;
}

.sitrox-question-index-item.index-item-current a {
    opacity: 1;
}

.sitrox-question-index-item a:hover,
.sitrox-question-index-item a:active,
.sitrox-question-index-item a:focus {
    text-decoration: none;
}

.navbar-brand.logo-container > img {
    height: 65px !important;
}

.nav.navbar-nav.navbar-action-link.navbar-right {
    min-width: 400px;
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
    font-size: 11pt;
    justify-content: flex-end;
}

a[data-limesurvey-submit]:before {
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 2px;
}

a[data-limesurvey-submit='{ "saveall":"saveall" }']:before {
    content: '\f0c7';
}

a[data-limesurvey-submit='{ "clearall":"clearall" }']:before {
    content: '\f057';
}

a[data-limesurvey-submit='{ "loadall":"loadall" }']:before {
    content: '\f07c';
}

ul.sitrox-question-index {
    justify-content: flex-start !important;
    overflow-x: auto !important;
}

.progress .progress-bar {
    line-height: 22px;
    font-size: 12px;
}

.progress-bar {
    background-color: rgb(2, 54, 94) !important;
}

.group-title {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.group-description {
    padding: 5px 12px;
    font-size: 10pt;
    line-height: 1.3;
}

.group-description h4 {
    font-size: 12pt;
    font-weight: 600;
}

.group-description p, .group-description li {
    margin-bottom: 7px;
}

.group-description table {
    width: 90%;
    margin: 0 10px;
    border-collapse: collapse;
}

.group-description table td, .group-description table th {
    border: 2px solid #888;
    vertical-align: top;
    padding: 5px 8px;
    hyphens: none;
}

.group-description table th {
    background-color: rgb(2, 54, 94);
    border-color: rgb(2, 54, 94);
    color: #fff;
}

.group-description table td ul, .group-description table td ol {
    padding-left: 15px;
}

.question-valid-container {
    background-color: #e5e5e5 !important;
}

.ls-question-help {
    background-color: #e5e5e5 !important;
}

.sitrox-question-index-item a {
    white-space: normal;
    font-size: 12px;
}

ul.sitrox-question-index::-webkit-scrollbar {
    -webkit-appearance: none;
}

ul.sitrox-question-index::-webkit-scrollbar:horizontal {
    height: 11px;
}

ul.sitrox-question-index::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, .5);
}

ul.sitrox-question-index::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px;
}

small.fa.fa-asterisk.small {
    margin-right: 5px;
}

.ls-em-tip {
    font-size: 10pt !important;
    margin-top: 1px !important;;
}

.question-help-container {
    color: #6f6f6f !important;
    font-size: 10pt;
}

.question-valid-container, .question-help-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-question-mandatory.text-danger {
    font-size: 10pt;
    font-weight: 600;
    margin: 3px 0;
}

.answer-container ul.list-unstyled.col-xs-12.col-sm-4:not(:last-child) {
    border-right: 1px solid #ccc;
}

.answer-container ul.list-unstyled label.checkbox-label.control-label {
    hyphens: none;
}

.save-survey-row small.fa.fa-asterisk.small,
.save-survey-row small.fa.fa-asterisk.small {
    margin-right: 0;    
    margin-left: 5px;
    float: right !important;
}

.save-survey-row small.fa.fa-asterisk.small:before {
    font-size: 0.9rem;
}

.save-survey-row label.save-survey-label[for="saveemail"] {
    padding-right: 30px;
}

.hide-question-custom {
    display: none;
}

/************************/
/* Original custom.css */
/************************/

.navbar {
    color: #ffffff !important;
    background-image: linear-gradient(to bottom, #232f49 0%, #061128 100%) !important;
    background-repeat: repeat-x;
}

.navheader-flex-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    text-align: center;
}

.navheader-left {
    width: 300px;
    order: 1;
}

.navheader-center, .navheader-survey-title {
    order: 2;
    width: 100%;
}

.navheader-right {
    order: 3;
    width: 300px;
    margin-left: auto;
}

@media all {
    .navheader-flex-wrapper .navheader-survey-title {
        max-width: calc(100% - 700px);
        padding-bottom: 10px;
    }
}

@media all and (max-width: 1440px) {
    .navheader-flex-wrapper {
        flex-wrap: wrap;
    }

    .navheader-left {
        width: 50%;
        order: 1;
    }

    .navheader-center {
        width: 100%;
        order: 3;

    }

    .navheader-right {
        width: 50%;
        order: 2;
    }

    .navbar-toggle {
        float: left;
        margin-left: 15px;
        margin-top: 15px;
        background-color: rgb(25, 36, 47);
    }

    .navheader-flex-wrapper .navheader-survey-title {
        max-width: 100%;
        order: 3;
    }
}

@media all and (max-width: 600px) {
    .navheader-flex-wrapper .navheader-survey-title {
        height: 100px;
        overflow: scroll;
    }
    .modal {
        height: unset;
    }
}

a {
    color: #428bca;
}

.ls-question-help {
    background-color: #95c5e0;
}

.question-valid-container {
    background-color: #95c5e0;
}

.progress-bar {
    background-color: #061128;
}

.btn-primary {
    background-color: #061128;
    border-color: #061128;
}

.btn-primary:hover {
    background-color: #232f49;
    border-color: #232f49;
}

.navbar .navbar-nav > li > a {
    color: #ffffff !important;
}

.form-inline .form-control {
    width: 100%;
}

.form-inline .answer-item {
    width: 100%;
}

.text-info, .text-info:hover {
    color: black !important;
}

.navbar .navbar-nav > .open > a, .navbar .navbar-nav > .open > a:hover, .navbar .navbar-nav > .open > a:focus {
    background-color: #232f49;
    color: #ffffff;
}

.navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus {
    color: #cccccc !important;
    background-color: transparent !important;
}

.nav.navbar-nav.navbar-action-link.navbar-right {
    padding-right: 20px;
}


.brand-logo div#surveys-list-jumbotron img.img-responsive {
    max-width: 100%;
}

@media all and (min-width: 576px) {
    .brand-logo div#surveys-list-jumbotron img.img-responsive {
        max-width: 500px;
    }
}

/* group navigation*/

.sitrox-question-index .sitrox-question-index-item {
    padding: 2px 10px;
    min-width: 200px;
    background-color: #ffffff;
}

.sitrox-question-index .sitrox-question-index-item.bg-warning {
    background-color: #ffffff;

}

.sitrox-question-index .sitrox-question-index-item.bg-danger {
    background-color: #ffffff;
}

ul.sitrox-question-index {
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow-x: scroll;
}


@media (max-width: 1023px) {
    .question_index_wrapper {
        position: inherit !important;
    }

    ul.sitrox-question-index {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    ul.sitrox-question-index > .btn:not(:first-child):not(:last-child) {
        border-radius: 0
    }

    ul.sitrox-question-index > .btn:first-child:not(:last-child) {
        border-top-right-radius: 4px !important;
        border-top-left-radius: 4px !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important
    }

    ul.sitrox-question-index > .btn:last-child:not(:first-child) {
        border-top-right-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-bottom-right-radius: 4px !important;
        border-bottom-left-radius: 4px !important;
    }
}

.sitrox-question-index .sitrox-question-index-item.index-item-current {
    background: #ffffff;
    opacity: 1;
}

.sitrox-question-index .sitrox-question-index-item a {
    color: #2c3e50;
    font-weight: bold;
}

li.sitrox-index-menu {
    list-style: none;
    text-align: center;
}

.question_index_wrapper {
    padding-top: 20px;
    position: sticky;
    top: 86px;
    z-index: 200;
    background-color: #fff;
}

/* hide gdpr checkbox */
.sitrox-gdpr-button > label > input {
    visibility: hidden;
    position: absolute;
}

.sitrox-gdpr-button.checked {
    border-color: #232f49;
    background: #232f49;
}

.sitrox-gdpr-button {
    border-color: #232f49;
    background: #232f49;
    margin-right: 10px;
    border-radius: 6px;
    border: 0px;
    padding: 0px;
    vertical-align: middle
}

.sitrox-gdpr-button > label {
    display: block;
    margin: 0px;
}

.sitrox-gdpr-button > label > span {
    width: 100px;
    height: 65px;
    display: block;
    vertical-align: middle;
    font-weight: initial;
    line-height: 65px;
    font-size: 19px;
}

/* Internet Explorer Padding Workaround for scrollbars overlapping content */
body {
    -ms-overflow-style: scrollbar;
}

.navbar-brand.logo-container > img {
    height: 86px;
}

@media screen and (min-width: 0\0
) {
    .navbar-brand.logo-container > img {
        /*    height: auto;
            width: 100%!important;*/
    }
}

.ShowErrorSummary {
    margin-bottom: 15px;
    background: aliceblue;
    padding: 15px;
    margin-left: -15px;
    margin-right: -15px;
}

.ShowErrorSummary > p {
    margin-bottom: 15px;
}

.ShowErrorSummary .error_summary {
    margin-bottom: 5px;
    cursor: pointer;
    padding-left: 10px;
}

.ShowErrorSummary .question_number {
    padding-left: 0px;
    font-weight: bold;
    display: none;
}

.ShowErrorSummary .question_title {
    padding-left: 10px;
    font-weight: bold;
    display: inline-block;
}

.ShowErrorSummary .jump_to_errors {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 999;
    cursor: pointer;
    opacity: 0.8;
}

.ShowErrorSummary .question_title p {
    margin: 0px;
}

.answerFromPreviousSurvey-container {
    border-width: 0px 1px 0px 1px;
    border-style: solid;
    border-color: #dbdbdb;
}

.answerFromPreviousSurvey-container .previous_question.general_title {
    font-weight: bold;
}

.answerFromPreviousSurvey-container .previous_question.question_title {
    padding-bottom: 10px;
}

.answerFromPreviousSurvey-container .answerFromPreviousSurvey.row.empty {
    margin: 0px;
    padding-bottom: 10px;
}

.answerFromPreviousSurvey-container a.prefill_answers {
    background-color: #3479B7;
    border-color: #3479B7;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 15px;
    margin-left: auto;
    width: 10em;
}

.answerFromPreviousSurvey-container a.prefill_answers:hover {
    background-color: #02365E;
    border-color: #02365E;
}

.button-list > .button-item.active {
    background-color: #1C69A7;
    border-color: #1C69A7;
}

.ls-answers.subquestion-list {
    hyphens: none;
}

a[href*='/survey/188274'][data-limesurvey-submit='{ "move":14 }']:before,
a[href*='/survey/448747'][data-limesurvey-submit='{ "move":14 }']:before {
    content: "IV11: ";
    font-family: inherit;
}

a[href*='/survey/188274'][data-limesurvey-submit='{ "move":15 }']:before,
a[href*='/survey/448747'][data-limesurvey-submit='{ "move":15 }']:before {
    content: "IV12: ";
    font-family: inherit;
}

a[href*='/survey/188274'][data-limesurvey-submit='{ "move":22 }']:before,
a[href*='/survey/448747'][data-limesurvey-submit='{ "move":22 }']:before {
    content: "IX19: ";
    font-family: inherit;
}

form[action*="/survey/513399"] .ls-questionhelp {
    font-size: 16px;
}

form[action*="/survey/583471"] .form-horizontal .control-label,
form[action*="/survey/872736"] .form-horizontal .control-label {
    text-align: left !important;
}

#outerframeContainer {
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    -o-hyphens: none !important;
    hyphens: none !important;
}

.form-horizontal.subquestion-list.questions-list .control-label,
.form-horizontal .form-group .control-label,
.question-container .answer-container .ls-answers .control-label {
    text-align: left;
}

.form-horizontal .form-group .control-label.checkbox-label {
    padding-top: 4px;
}

div.boilerplate div.question-title-container {
    display: block;
    background-color: #ffffff !important;
    color: #222222;
    font-size: 1.5rem;
    text-align: center;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}

div.boilerplate.question-container {
    border: none;
}

div.boilerplate > div {
    display: none;
}

.other-text-item {
    width: 85%;
}

label.custom-yes-no-radio {
    margin: 11px 8px 0 0;
}

label.custom-yes-no-radio input {
    margin-right: 4px !important;
}

.scrollable-array .answer-container {
    overflow-x: scroll;
}

.scrollable-array table.ls-answers {
    width: unset;
}

.scrollable-array table.ls-answers .control-label {
    min-width: 300px;
}

.scrollable-array table.ls-answers.text-array .ls-heading th {
    min-width: 200px;
}

.radio-item label::before {
    top: 2px;
}

.radio-item label::after {
    top: 5px;
}

h1.survey-name {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.boilerplate .question-title-container {
    padding-top: 0;
    padding-bottom: 0;
}

.radio-item label::before, .radio-item label::after, .checkbox-item label::before, .checkbox-item label::after {
    top: 3px;
    border-color: #9f9f9f;
}

.radio-item input[type="radio"]:checked + label::after {
    top: 6px;
}

.checkbox-item input[type="checkbox"]:checked + label::after, .checkbox-item input[type="radio"]:checked + label::after {
    top: 4px;
}

.radio-item .ls-label-xs-visibility, .checkbox-item .ls-label-xs-visibility {
    height: 21px;
}

sup {
    margin-right: 5px;
}

.btn-outline-secondary:hover {
    color: #fff!important;
}

.navbar .dropdown-menu {
    height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

#surveys-list-container {
    min-height: unset !important;
}

.question-valid-container {
    flex-direction: column;
}

.row.list-dropdown.question-container .col-auto {
    width: 100%;

    select {
        min-height: 45px;
    }
}

.choice-5-pt-radio, .yes-no {
    .list-group-horizontal {
        flex-direction: column!important;
    }
}

.ls-questionhelp {
    text-align: center;
    &:before {
        left: 0!important;
        position: relative;
        display: inline-block;
        height: unset;
    }
    .ls-question-message {
        display: inline-block;
    }
}

.answers-list .btn-check:checked+.btn-primary, .flatly .btn-check .btn-primary:focus, .flatly .btn-check:focus + .btn-primary {
    background-color: #1C69A7!important;
    border-color: #1C69A7!important;
}

/* 133218: additional css for surveys */
.boilerplate.question-container {
    margin-bottom: 1em;
}
.question-title-container {
    padding: .5em;
}
.question-text {
    line-height: 1.35;
}
.ls-questionhelp {
    margin-bottom: 0px;
}
.answer-container {
    padding-top: 0;
    padding-bottom: 0;
}
.ls-answers {
    padding: .75em 0 1em;
}
.answer-item.text-item {
    margin-bottom: 0 !important;
}
.answer-item.text-item.comment-item,
.multiple-short-txt .answer-item.text-item {
    margin-bottom: .5em !important;
}
.ls-answers li.radio-item,
.ls-answers li.checkbox-item,
.ls-answers li.radio-text-item,
.ls-answers li.checkbox-text-item {
    margin-bottom: .5em;
}

h1.survey-name {
    font-size: 2rem !important;
}

.ls-answers ul.list-unstyled {
    margin-bottom: 0;
}

.answer-container table.ls-answers {
    margin-top: 1rem;
}

.group-outer-container {
    margin-top: 0;
}

.row.group-description {
    margin-bottom: 1em;
    padding-right: 0;
    padding-left: 0;
}

