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

.table-bordered.questions-list {
    border: inherit;
}

.table-bordered td, th {
    border-left: none !important;
    border-right: none !important;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 0;
}

.ls-answers tbody .answertext {
    text-align: left;
}

a:link:not(.dropdown-item) {
  color: blue;
}

a:visited:not(.dropdown-item) {
  color: blue;
}

a:hover:not(.dropdown-item) {
  color: blue;
}

a:active:not(.dropdown-item) {
  color: blue;
}

.footer_center_label a:link {
  color: #31708F;
}

.footer_center_label a:visited {
  color: #31708F;
}

.footer_center_label a:hover {
  color: #31708F;
}

.footer_center_label a:active {
  color: #31708F !important;
}
    
.question-container em{
    font-weight: lighter !important;
}

.asterisk {
    margin-right: 5px;
}

/**
 * Fixes for LS 6
 */
.text-info {
    color: #31708f !important;
}

.ls-answers.table {
    border: none;
}

.ls-answers.table tbody, .ls-answers.table thead {
    border: none;
}

.ls-answers.table tr {
    border: none;
}

.ls-answers.table tbody td, .ls-answers.table tbody th {
    border: 1px solid #ddd;
}

body {
    padding-top: 0px;
}

.hide {
    display: none;
}

.btn-primary:disabled {
    color: #fff;
    background-color: #FA5C2A;
    border-color: #FA5C2A;
}

#welcome-container {
    display: none;
}

.privacy.row {
    display: none;
}

/* Dual-scale matrix styling */
.array-flexible-dual-scale .ls-answers.questions-list {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.array-flexible-dual-scale .ls-answers.questions-list thead .dsheader {
    font-weight: 700;
    border-bottom: none !important;
    padding-bottom: 6px;
}

.array-flexible-dual-scale .ls-answers.questions-list thead .header_separator {
    border-bottom: none !important;
}

.array-flexible-dual-scale .ls-answers.questions-list thead .ls-header > .answer-text {
    border-top: 2px solid #7a7a7a !important;
    padding-top: 10px;
}

.array-flexible-dual-scale .ls-answers.questions-list col.col-answers {
    width: 33% !important;
}

.array-flexible-dual-scale .ls-answers.questions-list colgroup.col-responses col {
    width: 7.75% !important;
}

.array-flexible-dual-scale .ls-answers.questions-list col.separator:not(.right_separator) {
    width: 2% !important;
    min-width: 14px;
    max-width: 18px;
}

.array-flexible-dual-scale .ls-answers.questions-list col.separator,
.array-flexible-dual-scale .ls-answers.questions-list .header_separator,
.array-flexible-dual-scale .ls-answers.questions-list .dual_scale_separator {
    width: 14px !important;
    min-width: 14px;
    max-width: 14px;
    padding: 0 !important;
}

.array-flexible-dual-scale .ls-answers.questions-list .header_separator,
.array-flexible-dual-scale .ls-answers.questions-list .dual_scale_separator {
    border-left: none !important;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.array-flexible-dual-scale .ls-answers.questions-list thead .ls-header .header_separator {
    border-right: 1px solid #c8c8c8 !important;
}

.array-flexible-dual-scale .ls-answers.questions-list .header_separator .ls-js-hidden,
.array-flexible-dual-scale .ls-answers.questions-list .dual_scale_separator .ls-js-hidden {
    display: none !important;
}

.array-flexible-dual-scale .ls-answers.questions-list tbody tr.ls-even > th,
.array-flexible-dual-scale .ls-answers.questions-list tbody tr.ls-even > td {
    background-color: #f7f7f7;
}

.array-flexible-dual-scale .ls-answers.questions-list tbody tr.ls-odd > th,
.array-flexible-dual-scale .ls-answers.questions-list tbody tr.ls-odd > td {
    background-color: #ffffff;
}

.array-flexible-dual-scale .ls-answers.questions-list .header_separator,
.array-flexible-dual-scale .ls-answers.questions-list .dual_scale_separator {
    background-color: transparent !important;
}

.array-flexible-dual-scale .ls-answers.questions-list tbody > tr > th,
.array-flexible-dual-scale .ls-answers.questions-list tbody > tr > td {
    border-top: none;
    border-bottom: 1px solid #e2e2e2;
    border-left: none !important;
    border-right: none !important;
}

.array-flexible-dual-scale .ls-answers.questions-list tbody > tr:first-child > th,
.array-flexible-dual-scale .ls-answers.questions-list tbody > tr:first-child > td {
    border-top: 1px solid #e2e2e2;
}

.array-flexible-dual-scale .ls-answers.questions-list tbody > tr > .dual_scale_separator {
    border-left: none !important;
    border-right: 1px solid #c8c8c8 !important;
    border-top: none !important;
    border-bottom: none !important;
}

.completed-text {
    margin-top: 120px; /* Modificá el valor según el espacio que busques */
}
/* ---- Image rating scale (question class: image-scale) ---- */

/* ---- Image rating scale (question class: image-scale) ---- */

.image-scale ul.answers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5em 1.5em;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.image-scale li.answer-item {
    position: relative;
    display: flex;
    flex-direction: column-reverse;   /* image, text, then radio */
    align-items: center;
    flex: 0 1 auto;
    width: auto;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* Turn off the theme's drawn circle and dot for this question */
.image-scale li.answer-item label.radio-label::before,
.image-scale li.answer-item label.radio-label::after {
    display: none !important;
    content: none !important;
}

/* Show the real radio button, centred under the text */
.image-scale li.answer-item input[type="radio"] {
    position: static !important;
    opacity: 1 !important;
    clip: auto !important;
    width: 1.25em !important;
    height: 1.25em !important;
    margin: 0.5em 0 0 0 !important;
    cursor: pointer;
}

.image-scale li.answer-item label.radio-label {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 auto;
    padding: 0 !important;
    margin: 0;
    min-height: 0;
    cursor: pointer;
}

.image-scale li.answer-item label.radio-label img {
    display: block;
    margin: 0 auto 0.25em auto;
    max-width: 120px;
    width: 100%;
    height: auto;
}

/* Opt-out option on its own line below the scale */
.image-scale li.answer-item:last-child {
    flex-basis: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1em;
}
.image-scale li.answer-item:last-child input[type="radio"] {
    margin: 0 !important;
}
.image-scale li.answer-item:last-child label.radio-label {
    font-size: 0.9em;
    color: #555;
}
/* Remove the blank line between image and text */
.image-scale li.answer-item label.radio-label br {
    display: none;
}

/* Keep the opt-out radio next to its text */
.image-scale li.answer-item:last-child label.radio-label {
    flex: 0 0 auto;
    width: auto;
}
.survey-title-row {
    padding: 16px 12px 12px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 16px;
}
.survey-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}
#survey-nav .logo-container .logo {
    max-height: 70px;   /* adjust to taste */
    width: auto;
}