/* Prelaoder */

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1001 !important;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: rgba(51, 122, 183, 1) url("../img/tail-spin.svg") no-repeat center center;
    background: url("../img/tail-spin.svg") no-repeat center center, -moz-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: url("../img/tail-spin.svg") no-repeat center center, -webkit-gradient(left bottom, left top, color-stop(0%, rgba(0, 193, 235, 1)), color-stop(100%, rgba(51, 122, 183, 1)));
    background: url("../img/tail-spin.svg") no-repeat center center, -webkit-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: url("../img/tail-spin.svg") no-repeat center center, -o-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: url("../img/tail-spin.svg") no-repeat center center, -ms-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: url("../img/tail-spin.svg") no-repeat center center, linear-gradient(to top, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00c1eb', endColorstr='#135089', GradientType=0);
}

html,
body {
    min-height: 100%;
    font-size: 16px;
}

body,
p {
    font: 400 1rem/1.6 sans-serif;
    /* 16px, line-height 1.6 */
}

.p-large {
    font: 400 1.125rem/1.75rem sans-serif;
    /* 18px */
}

.p-small {
    font: 400 0.875rem/1.4rem sans-serif;
    /* 14px */
}

.p-heading {
    margin-bottom: 2.5rem;
    /* menos aire que 4.375rem */
    text-align: center;
}

/* Titulares: escala modular 1.25 aprox. */
h1 {
    font: 700 2.5rem/1.2 sans-serif;
    /* ~40px */
}

h2 {
    font: 700 2rem/1.3 sans-serif;
    /* ~32px */
}

h3 {
    font: 700 1.75rem/1.3 sans-serif;
    /* ~28px */
}

h4 {
    font: 700 1.5rem/1.4 sans-serif;
    /* ~24px */
}

h5 {
    font: 700 1.25rem/1.4 sans-serif;
    /* ~20px */
}

h6 {
    font: 700 1.125rem/1.4 sans-serif;
    /* ~18px */
}

p {
    font-size: 1rem;
    /* coherente con body */
}


.navbar-inverse {
    border-bottom-color: #222
}

.navbar-brand {
    padding: 5px 15px;
}

.navbar-brand>img {
    height: 100%;
}

body.zionic-bg {
  background: url("https://www.termosalud.com/imagenes/zionic_bg.jpg") center/cover no-repeat fixed;
}
body.blue-gradient {
  position: relative; 
}

body.blue-gradient:before {
    opacity: 0.75;
  content: "";
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
    background: rgba(51, 122, 183, 1);
    background: -moz-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: -webkit-gradient(left bottom, left top, color-stop(0%, rgba(0, 193, 235, 1)), color-stop(100%, rgba(51, 122, 183, 1)));
    background: -webkit-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: -o-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: -ms-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: linear-gradient(to top, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00c1eb', endColorstr='#135089', GradientType=0);
    pointer-events: none; 
    z-index: 0;
}
body > * { position: relative; z-index: 1; }
/* section {
    padding-top: 9.5rem;
    padding-bottom: 9.5rem;
} */
div.header{
    text-align: center;
    padding: 40px 0;
}
.bg-white {
    background-color: #fff;
}

.bg-mi {
    background: rgba(51, 122, 183, 1);
    background: -moz-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: -webkit-gradient(left bottom, left top, color-stop(0%, rgba(0, 193, 235, 1)), color-stop(100%, rgba(51, 122, 183, 1)));
    background: -webkit-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: -o-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: -ms-linear-gradient(bottom, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    background: linear-gradient(to top, rgba(0, 193, 235, 1) 0%, rgba(51, 122, 183, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00c1eb', endColorstr='#135089', GradientType=0);
}

.bg-gray {
    background-color: #333 !important;
}

#functionalities {
    color: #fff;
    text-align: center
}

#together-is-better {
    color: #fff;
    text-align: center
}


/* PieCorporativo */

#piecorporativo {
    background-color: #0D48AA;
    color: #FFFFFF !important;
    padding: 20px 0;
    box-shadow: 0 6px 6px -6px #002E7A inset;
}

#piecorporativo p {
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

#piecorporativo a,
#piecorporativo span {
    color: #FFFFFF;
}

#piecorporativo a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ===== Encuesta: layout y tipografía ===== */
.survey-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.survey-panel {
    border-radius: 10px;
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    overflow: hidden;
    margin-bottom: 60px;
}

.survey-panel .panel-heading {
    background: #3c8dbc;
    /* AdminLTE primary */
    color: #fff;
    padding: 20px 25px;
}

.survey-panel .panel-heading h1,
.survey-panel .panel-heading h2,
.survey-panel .panel-heading h3,
.survey-panel .panel-heading h4,
.survey-panel .panel-heading h5,
.survey-panel .panel-heading h6 {
    margin: 0;
    font-weight: 600;
}

.survey-panel .panel-body {
    padding: 30px 30px;
}

.survey-panel .panel-body:last-child {
    border-top: 1px solid #eee;
}

/* Tipografía y espaciados consistentes */
.form-group {
    margin-bottom: 16px;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
}

/* Controles Bootstrap más cómodos */
.form-control {
    height: auto;
    padding: 10px 12px;
    border-radius: 6px;
    border-color: #d2d6de;
    box-shadow: none;
}

.form-control:focus {
    border-color: #3c8dbc;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(60, 141, 188, .15);
}

textarea.form-control {
    min-height: 96px;
}

/* Ayudas y errores */
.help-block {
    color: #7a869a;
}

.has-error .help-block,
.has-error label {
    color: #dd4b39;
}

.has-error .form-control {
    border-color: #dd4b39;
    box-shadow: none;
}

/* ===== Estrellas (.rs-block existente) ===== */
.rs-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.rs-block .rs-item {
    font-size: 3rem;
    line-height: 1;
    color: #d2d6de;
    cursor: pointer;
    transition: color .15s ease-in-out, transform .05s ease-in-out;
}

/* Foco accesible cuando navegas por teclado (si tu JS aplica .active) */
.rs-block:focus,
.rs-block .rs-item:focus {
    outline: 2px solid rgba(60, 141, 188, .4);
    outline-offset: 2px;
}

/* Escala textual bajo estrellas si decides ponerla en el HTML (opcional) */
.rating-scale {
    font-size: 12px;
    color: #7a869a;
    margin-top: 4px;
}

/* Checkboxes y radios más alineados */
.checkbox label,
.radio label {
    padding-left: 24px;
}

.checkbox input[type="checkbox"],
.radio input[type="radio"] {
    margin-top: 2px;
}

/* Botón de envío más visible y “amable” */
.submit-ajax-form.btn {
    padding: 12px 16px;
    font-weight: 600;
    border-radius: 8px;
}

.submit-ajax-form.btn.btn-primary {
    background: #3c8dbc;
    border-color: #3c8dbc;
}

.submit-ajax-form.btn.btn-primary:hover {
    filter: brightness(0.95);
}

.submit-ajax-form[disabled],
.submit-ajax-form.btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.main-footer{
    display: none;
}

.frontoffice .main-footer{
    display: flex;
    padding: 20px 25px;
}

.label-gray {
    position:relative;
    display: block;
    margin: 0 auto;
}
.labelPreview{
    max-width: 100%; height: 599px; width: 199px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125);
    margin: 10px auto 5px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    overflow: hidden;
    z-index: 1031;
}
.labelPreview .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-color: #f1f2f6;
    background: linear-gradient(315deg, #f1f2f6 0%, #c9c6c6 74%);
    mix-blend-mode: multiply;
    background-blend-mode: multiply;
}

@media (max-width: 991px) {
    .features-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 10px;
        padding: 20px 15px 28px;
        margin-bottom: 10px;
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.5) rgba(255,255,255,0.1);
    }
    .features-list::-webkit-scrollbar { height: 3px; }
    .features-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 2px; }
    .features-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.5); border-radius: 2px; }
    .features-list .feature-item,
    .features-list .feature-item.feature-full {
        flex: 0 0 78%;
        scroll-snap-align: center;
        text-align: center;
        padding: 5px 10px;
    }
    .features-list .feature-item {
        background-color: #3c8dbcAA;
        border-radius: 8px;
    }
    .features-list .feature-item i { display: block; margin-bottom: 10px; opacity: 0.85; }
    .features-list .feature-item h3 { font-size: 16px; margin-top: 0; }
    .features-list .feature-item p  { font-size: 13px; opacity: 0.9; }
}

@media (min-width: 992px) {
    .features-list {
        display: flex;
        flex-wrap: wrap;
    }
    .features-list .feature-item {
        width: 100%;
        text-align: center;
        background-color: #ffffff22;
        border-radius: 8px;
        padding: 15px 20px;
        margin-bottom: 10px;
    }
}