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

/*

Clase need-loading:

    - Al añadir esta clase en el contenedor de una pregunta "question-container"
    (se puede hacer desde las configuraciones de la pregunta en sección "Mostrar")
    se mostrará un loading en vez de la pregunta. Esto es útil para ejecutar scripts sin mostrar la pregunta.
    
Clase redirect-message:

    - Si añades esta clase en el contenedor de la pregunta que muestra el mensaje de redirect, se ajustan los estilos.
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Roboto' !important;
    background-color: #f8f9fa !important;
}

div.need-loading  {
    display: none !important;
}

body:has(.need-loading) #ls-button-submit {
  display: none !important;
}

body:has(.redirect-message) #ls-button-submit {
  display: none !important;
}

body:has(.clickandfly) #ls-button-submit {
  display: none !important;
}

body:has(.fullcontainer) div#outerframeContainer {
  min-width: 95vw !important;
}

div.redirect-message > div.question-title-container.bg-primary.col-12.rounded-top.p-3 > div {
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    font-family: 'Lexend' !important;
}

div.redirect-message > div.question-valid-container.bg-primary.text-info.col-12.pb-2 {
    display: none !important;
}

div.redirect-message > div.answer-container.col-12.rounded-bottom {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    padding: 50px !important;
    text-align: center !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

/*Second GEO input text hide*/
div.secondgeo > div.answer-container > ul > li > div > input[type='text'] {
    display: none !important;
}

div.opinando-card-banner {
    height: 250px !important;
}

/* Loading spinner */
@keyframes ldio-zqkf0vh1rih {
   0% { transform: translate(12px,80px) scale(0); }
  25% { transform: translate(12px,80px) scale(0); }
  50% { transform: translate(12px,80px) scale(1); }
  75% { transform: translate(80px,80px) scale(1); }
 100% { transform: translate(148px,80px) scale(1); }
}
@keyframes ldio-zqkf0vh1rih-r {
   0% { transform: translate(148px,80px) scale(1): }
 100% { transform: translate(148px,80px) scale(0); }
}
@keyframes ldio-zqkf0vh1rih-c {
   0% { background: #555ce9 }
  25% { background: #46166c }
  50% { background: #6fe6ab }
  75% { background: #5bc3e8 }
 100% { background: #555ce9 }
}
.ldio-zqkf0vh1rih div {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transform: translate(80px,80px) scale(1);
  background: #555ce9;
  animation: ldio-zqkf0vh1rih 3.4482758620689653s infinite cubic-bezier(0,0.5,0.5,1);
}
.ldio-zqkf0vh1rih div:nth-child(1) {
  background: #5bc3e8;
  transform: translate(148px,80px) scale(1);
  animation: ldio-zqkf0vh1rih-r 0.8620689655172413s infinite cubic-bezier(0,0.5,0.5,1), ldio-zqkf0vh1rih-c 3.4482758620689653s infinite step-start;
}.ldio-zqkf0vh1rih div:nth-child(2) {
  animation-delay: -0.8620689655172413s;
  background: #555ce9;
}.ldio-zqkf0vh1rih div:nth-child(3) {
  animation-delay: -1.7241379310344827s;
  background: #5bc3e8;
}.ldio-zqkf0vh1rih div:nth-child(4) {
  animation-delay: -2.5862068965517238s;
  background: #6fe6ab;
}.ldio-zqkf0vh1rih div:nth-child(5) {
  animation-delay: -3.4482758620689653s;
  background: #46166c;
}
.loadingio-spinner-ellipsis-i8g1lbu0dh {
  width: auto;
  min-width: 200px;
  height: 150px;
  display: inline-block;
  overflow: hidden;
  background: #ffffff;
}
.ldio-zqkf0vh1rih {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-zqkf0vh1rih div { box-sizing: content-box; }
/* generated by https://loading.io/ */

.asterisk  {
    display: none !important;
}

.ls-em-error {
    color: #D75B4A !important;
}

/*Select2 styles */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 40px;
    color: var(--bs-gray-600);
    font-size: 1.2em;
    padding: 2px 10px;
    height: 27px;
    position: absolute;
    width: 20px;
    margin-right: 5px;
}

span.select2 {
    width: 100% !important;
    min-width: 150px !important;
}

#dynamicReloadContainer {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.question-text {
    font-size: 16px !important;
}

.custom-logo {
    max-width: 170px !important;
    max-height: 38px !important;
}

.bg-primary {
    background-color: #555ce9 !important;
}

.bg-red {
    background-color: #D75B4A !important;
}

div.modal-title {
    width: 100% !important;
    color: #555ce9 !important;
    font-weight: bold !important;
    font-size: 24px !important;
    text-align: center !important;    
}

.modal-header {
    border: none !important;
}

div.modal-header > button.btn-close {
    display: none;
}

.modal-body {
    text-align: center;
}

div.modal-footer {
    border: none !important;
    justify-content: center;
}

span.question-code {
    padding: 1px 3px 1px 3px;
    background-color: #9999ff !important;
    border-radius: 3px;
}

div.question-help-container {
    background-color: #555ce9 !important;
    border: none;
    text-align: center;
}

div.question-help-container > div.ls-questionhelp {
    background-color: #FFF !important;
    color: #247544 !important;
    border-radius: 5px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.ls-question-message {
    background-color: #FFF !important;
    color: #247544;
    border-radius: 5px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.ls-question-mandatory {
    background-color: #D75B4A !important;
    color: #FFF !important;
    border-radius: 5px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.ls-question-mandatory>span::before {
    content: none !important;
}

.ls-questionhelp {
    margin-left: 0px !important;
}

.ls-questionhelp::before {
    content: none !important;
}

.ls-answers {
    padding: 20px 10px 10px 10px;
    margin: 10px !important;
    background-color: var(--bs-light) !important;
    border-radius: 5px !important;
}

#group-0.space-col {
    margin-bottom: 0px !important;
}

#ls-button-submit, #ls-button-previous {
    background-color: #555CE9 !important;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 500;
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    color: #fff;
    font-family: 'Lexend';
    cursor: pointer;
    margin-top: 10px;
    font-size: 18px;
    border-radius: 30px !important;
    min-width: 200px;
    height: 40px;
    text-decoration: none;
    border: none !important;
}

#ls-button-submit:hover,#ls-button-previous:hover,
#ls-button-submit:focus,#ls-button-previous:focus {
    box-shadow: 0 1px 4px 0px #000;
    opacity: 0.75;
    transition: 300ms;
}

.top-container .top-content {
    padding-left: 5px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 5px !important;
}

.flatly label::after {
    background-color: #555ce9 !important;
    color: #fff;
}

input[type='radio']:checked {
    background-color: #555ce9 !important;
}

input[type='radio'] + label.btn-primary {
    background-color: #555ce9 !important;
    border-color: #555ce9 !important;
}

input[type='radio'] + label.btn-primary:hover {
    background-color: #9999ff !important;
    border-color: #9999ff !important;
}

input[type='radio'] + label.btn-primary:focus {
    background-color: #9999ff !important;
    border-color: #9999ff !important;
}

input[type='radio']:checked + label.btn-primary {
    background-color: #9999ff !important;
    border-color: #9999ff !important;
}

input[type='checkbox']:checked {
    background-color: #555ce9 !important;
}

input[type='checkbox'] + label.btn-primary {
    background-color: #555ce9 !important;
    border-color: #555ce9 !important;
}

input[type='checkbox'] + label.btn-primary:hover {
    background-color: #9999ff !important;
    border-color: #9999ff !important;
}

input[type='checkbox'] + label.btn-primary:focus {
    background-color: #9999ff !important;
    border-color: #9999ff !important;
}

input[type='checkbox']:checked + label.btn-primary {
    background-color: #9999ff !important;
    border-color: #9999ff !important;
}

/* Tempus Dominus Widget (pregunta fecha) */
.tempus-dominus-widget {
    background-color: #555ce9 !important;
}
div.dow, div.picker-switch {
    color: #fff !important;
}

div.day:hover, div.day:focus, div.day.active {
    background-color: #9999ff !important;
}

div.day.today::before {
    border-bottom-color: #fff !important;
}

div.tempus-dominus-widget.show > div.toolbar > div:hover {
    background-color: #9999ff !important;
}

div.tempus-dominus-widget.show > div.toolbar > div > i {
    color: #fff !important;
    font-size: 16px;
}

div.btn-primary {
    background-color: #555ce9 !important;
    border-color: #555ce9 !important;
}

a.btn-primary, button.btn-primary {
    background-color: #555ce9 !important;
    border-color: #555ce9 !important;
}

a.btn-primary:hover, button.btn-primary:hover {
    background-color: #9999ff !important;
    border-color: #9999ff !important;
}

a.custom-btn-opinando {
    border-radius: 30px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

button.btn-outline-secondary.selector--inputondemand-addlinebutton {
    color: #555ce9 !important;
    border-color: #555ce9 !important;
}

button.btn-outline-secondary.selector--inputondemand-addlinebutton:hover {
    background-color: #555ce9 !important;
    border-color: #555ce9 !important;
    color: #fff !important;
}

a.btn.btn-outline-secondary {
    color: #fff !important;
    border-color: #555ce9 !important;
}

a.btn.btn-outline-secondary:hover {
    background-color: #555ce9 !important;
    border-color: #555ce9 !important;
    color: #fff !important;
}

table.ls-answers {
    margin: 0 !important;
}

table.ls-answers > thead {
    border-top-color: rgba(0, 0, 0, 0.05) !important;
}

table.ls-answers > tbody {
    border-top-color: rgba(0, 0, 0, 0.05) !important;
}

th.answertext {
    text-align: left !important;
}

/*div.col-auto {
    width: auto;
    min-width: 25% !important;
}*/

@media only screen and (max-width: 767px) {
  .text-mobile-centered {
    text-align: center !important; /* Centra el texto en dispositivos móviles */
  }
}
/* desktop */
@media only screen and (min-width: 768px) {
    div.redirect-message > div.question-title-container.bg-primary.col-12.rounded-top.p-3 > div {
        font-size: 64px !important;
        font-weight: 700 !important;
    }
    
    div.redirect-message > div.answer-container.col-12.rounded-bottom {
        font-size: 24px !important;
    }
    .custom-logo {
        max-width: 270px !important;
        max-height: 59px !important;
        margin-bottom: 10px !important;
    }
}
/* end desktop*/

input[type='text'] {
    text-align: left !important;
}

/*UTILIDADES*/
.f-12 {
    font-size: 12px !important;
}


/*VIDEO*/
.video-responsive {
 position: relative;
 margin-bottom: 20px;
 padding-top: 56.25%;
}
.video-responsive iframe {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

/*PAGINA FINAL SIN FLUJO BALANCER*/
form#limesurvey:has(div.completed-wrapper) {
    display: flex !important;
    justify-content: center !important;
}
.completed-wrapper {
    width: 70vw !important;
}

#oo-card-btn-completed {
    background-color: #555CE9 !important;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: 'Lexend';
    cursor: pointer;
    margin-top: 10px;
    font-size: 18px;
    border-radius: 30px !important;
    min-width: 200px;
    height: 40px;
    text-decoration: none;
    border: none !important;
}

#oo-card-btn-completed:hover, #oo-card-btn-completed:focus {
    box-shadow: 0 1px 4px 0px #000;
    opacity: 0.75;
    transition: 300ms;
}

@media only screen and (min-width: 768px) {
    #oo-card-btn-completed {
        font-size: 24px;
        border-radius: 40px !important;
        min-width: 276px;
        height: 75px;
    }
}

th.answertext[role=columnheader] {
    text-align: center !important;
}

th.answertext[role=rowheader] {
    text-align: left !important;
}

.w-150px {
    width: 150px;
}


