/******************
    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
*/

:root {
    --bs-info: #000000;
    --bs-info-rgb: 0, 0, 0;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto');

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

body {
    font-size: 16px;
    color: #000;
}

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

body {
    padding-bottom: 0; /* no bottom padding, footer sh  ould 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;
    background-color: #1A1A1A;
    color: white;
}

body > article footer p {
    margin: 0;
    padding: 12px 0;
}

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

ul, ol {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.row {
    margin: 0;
}

.space-col {
    margin-top: 1em !important;
    margin-bottom: 2em !important;
}

a:hover, a:active, a:focus {
    color: #28AAE1;
}

.bg-primary {
    background-color: #28AAE1 !important;
}

.alert-warning {
    background-color: #FBCD44 !important;
    border-color: #FBCD44 !important;
}

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;
}

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

.question_index_wrapper {
    top: 65px !important;
    padding-top: 0 !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: 70px !important;
}

.navbar-brand.logo-container img {
    max-height: 120px;
    height: 100%;
    padding: 15px;
    width: auto;
}

.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: #28AAE1 !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: 0;
}

.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: #28AAE1;
    border-color: #28AAE1;
    color: #000;
}

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

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

.ls-question-help {
    margin: 5px 0;
    background-color: #e5e5e5 !important;
}

.ls-question-help > div {
    font-size: 10pt;
    margin-top: 1px;
}

.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;
}

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

.ls-questionhelp::before {
    display: inline-block;
    position: relative;
    left: 0 !important;
}

.ls-questionhelp > div {
    display: inline-block;
}

.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;
}

.form-horizontal .control-label {
    text-align: left !important;
    padding-top: 5px;
}

.dir-ltr .ls-questionhelp {
    margin: 1.2em 0;
}

.question-title-container .question-text p {
    margin: 0;
}

.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-default {
    color: #ffffff;
    background-color: #fff;
}

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

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

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

}

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

@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);
    }

}


a {
    color: #428bca;
    text-decoration: none;
}

.progress-bar {
    background-color: #28AAE1;
}

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

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

.navbar-default .navbar-nav > li > a {
    color: #000;;
}

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

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

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: #28AAE1;
    color: #000;
}

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

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


.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: #28AAE1;
}

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

}

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

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-radius: 4px 4px 0 0 !important;
    }

    ul.sitrox-question-index > .btn:last-child:not(:first-child) {
        border-radius: 0 0 4px 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: #000;
    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: 2000;
    background-color: #b9b9b9;
}

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

.sitrox-gdpr-button.checked {
    border-color: #28AAe1;
    background: #28AAe1;
}

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

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

.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;
}

.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: 0;
    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: 0;
}

.button-list > .button-item.active {
    background-color: #28AAe1;
    border-color: #28AAe1;
}

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

/* Custom Awesome Bootstrap Checkbox
--------------------------------------------- */

.flatly label::after {
    background-color: #28aae1;
}

#surveyListFooter {
    color: white;
    background-color: #1A1A1A;
    width: unset !important;
}

#surveyListFooter a {
    color: white !important;
}

#surveyListFooter > .container-fluid {
    height: 100%;
}

#surveyListFooter > .container-fluid > .row {
    height: 100%;
}

#surveyListFooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

@media (max-width: 768px) {
    #surveyListFooter {
        flex-direction: column;
        height: 95px;
        align-items: flex-start;
    }
    #surveyListFooter > div {
        padding: 12px 0;
    }
    .modal {
        height: unset;
    }
}

.vertical-align {
  display: flex;
  flex-direction: row;
  
}

.vertical-align > [class^="col-"],
.vertical-align > [class*=" col-"] {
  display: flex;
  align-items: center;     /* Align the flex-items vertically */
  justify-content: center; /* Optional, to align inner flex-items
                              horizontally within the column  */
}

sup {
    top: 0;
    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;
}