:root {
    --sjs-primary-backcolor-light: #CCCCCC;
}

.main-body {
    height: 100%;
}

body {
    margin-bottom: 0px;
    background-image: url('../../img/survey-wallpaper.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.wrapper {
    height: 100%;
}

span.sv-string-viewer {
    font-weight: normal;
    font-size: 14px;
    line-height: normal;
}

.question-name {
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 0px 8px;
    margin-top: -4px;
    border-radius: 6px;
    background-color: #CCCCCC;
}

.question-description {
    margin-bottom: 15px;
    display: block;
}

.question-title {
    font-weight: bold;
}

.highlight {
    color: #0266AE;
    font-weight: bold;
    display: inline;
}


.p1QuestionValidation {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

body.swal2-shown > [aria-hidden="true"] {
    transition: 0.1s filter;
    filter: blur(30px);
}

.p1QuestionValidation li {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #CCCCCC;
    cursor: pointer;
}

    .p1QuestionValidation li:hover {
        border: 1px solid #258EFC;
    }

    .p1QuestionValidation li:active {
        border: 1px solid #0266AE;
        background-color: #0266AE;
        color: #FFFFFF;
    }

/*    .main-body {
        align-items: baseline !important;
    } */

.thanks {
    display: flex;
    width: 100vw;
    height: calc(100vh - 75px);
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    padding: 24px;
    line-height: 1.2em;
    text-align: center;
}

.sd-root_background-image {
    min-height: 100vh;
}

.sd-btn.sd-navigation__next-btn {
    background: linear-gradient(100deg, rgb(1, 57, 97) 18.57%, rgb(2, 102, 174) 71.77%);
    color: #FFFFFF;
    transition: background 120ms linear;
}

    .sd-btn.sd-navigation__next-btn:hover {
        background: #F8F8F8;
        color: #013961;
        transition: background 120ms linear;
    }

.sd-btn.sd-navigation__prev-btn:hover {
    color: #013961;
}

.sd-root_background-image {
    filter: blur(30px);
    margin: -48px;
}

.sd-checkbox__decorator {
    border-radius: 5px;
    width: 18px !important;
    height: 18px !important;
}

.sd-radio__decorator {
    width: 18px !important;
    height: 18px !important;
}



/*.sd-matrix.sd-table-wrapper {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: auto;
}*/

.sd-body--responsive {
    padding: 0px !important;
}



#question-selector-bar {
    background-color: #FFFFFF;
}

#questionSelector.ui.dropdown {
    min-width: 300px;
}

table thead tr th {
    background-color: unset !important;
    color: unset !important;
}

.header {
    width: 100%;
    color: #000000;
    font-size: 1.2em;
    font-weight: bold;
    background: #FFFFFF;
    border-radius: var(--sjs-questionpanel-cornerRadius, var(--sjs-corner-radius, 4px));
    padding: calc(var(--sd-base-padding) + var(--sv-element-add-padding-left, 0px));
}

.intro {
    font-weight: bold !important;
    text-align: center;
    font-size: 18px !img
}

.q-logo {
    display: table;
    text-align: center;
    padding: 16px;
}

    .q-logo > div {
        overflow: hidden;
        max-height: 140px;
        max-width: 140px;
    }

    .q-logo img {
        height: 142px;
        aspect-ratio: 1;
        margin-top: -1px;
        margin-left: -1px;
    }

    .q-logo label {
        text-align: center;
        font-family: var(--sjs-font-questiontitle-family, var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family))));
        font-weight: var(--sjs-font-questiontitle-weight, 600);
    }


.q-logo-v2 {
    display: table;
    text-align: center;
    padding: 16px;
}

    .q-logo-v2 > div {
        overflow: hidden;
        max-height: 140px;
        max-width: 140px;
    }

    .q-logo-v2 img {
        aspect-ratio: 1;
        margin-top: -1px;
        margin-left: -1px;
    }

    .q-logo-v2 label {
        text-align: center;
        font-family: var(--sjs-font-questiontitle-family, var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family))));
        font-weight: var(--sjs-font-questiontitle-weight, 600);
    }


.sd-selectbase--multi-column {
    flex-wrap: wrap !important;
}

.q-logo-chbx {
    display: table;
    text-align: center;
    padding: 16px;
}

    .q-logo-chbx img {
        max-height: 100px;
        max-width: 200px;
    }

.splash {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(30px);
    font-size: 2em;
    color: #7621b5;
    font-weight: bold;
}

.loader {
    width: 80px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(farthest-side,#6200A3 94%,#0000) top/8px 8px no-repeat, conic-gradient(#0000 30%,#6200A3);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
    animation: l13 1s infinite linear;
}

.sd-item {
    padding: 2px !important;
}

.sv-ranking-item {
    display: flex;
    align-items: center;
}

.custom-dropdown {
    max-height: 30px;
    width: 60px;
}

.sv-ranking-item__index.sv-ranking-item__index {
    display: none;
}

.sv-ranking-item__icon.sv-ranking-item__icon {
    display: none;
}

.sv-ranking-item__text:before {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    margin-left: -30px;
    background: url('../../img/draggable-icon.png');
}

.sv-ranking {
    margin-left: 30px;
}

.sv-ranking-item__text {
    padding: 0px;
}

.sv-ranking-item__content.sv-ranking-item__content {
    /*height: 33px;*/
}

.sd-selectbase__column {
    flex: unset !important;
}


/*.sd-completedpage {
    background: unset !important;
}*/
/*
.sv-popup--dropdown-overlay.sv-popup--tablet .sv-popup__body-content {
    transform: translate(0%, -50%);
    left: 16px;
    top: 50%;
}*/
@media (max-width: 600px) {
    /*.sv-popup--dropdown-overlay.sv-popup--tablet .sv-popup__body-content {
        transform: translate(50%, -50%);
        left: 50%;
        top: 50%;
    }*/
}


@keyframes l13 {
    100% {
        transform: rotate(1turn)
    }
}



/* Estilo del contenedor del temporizador */
.timer-container {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

/* Estilo de la barra de progreso */
.timer-bar {
    width: 100%;
    height: 20px;
    background-color: #0266AE;
    transition: width 1s linear; /* Animación suave */
}

/* Estilo del texto del temporizador */
.timer-text {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
    color: #333;
    display: none;
}

.sd-html {
    padding: 0px !important;
    background-color: transparent !important;
}
