/* 
    Created on : 30/03/2022, 07:11:28 PM
    Author     : noeas
*/
h1, h2, h3, h4{
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}
.flotarIzquierda{
    float: left;
}
.flotarDerecha{
    float: right;
}
.noFlotar{
    clear: both;
}

.rosaBajito {
    --icon-color: #FFCCCB;
    color: #FFCCCB;
}
.rosa {
    --icon-color: #FF8BA0;
    color: #FF8BA0;
}
.rosaMama {
    --icon-color: #EA80B0;
    color: #EA80B0;
}
.oro {
    --icon-color: #FFD700;
    color: #FFD700;
}
.naranja {
    --icon-color: #F97613;
    color: #F97613;
}
.negro {
    --icon-color: #000000;
    color: #000000;
}
.amarilloPatito {
    --icon-color: #ffff00;
    color: #ffff00;
}
.amarillo {
    --icon-color: rgba(160, 155, 5, 1);
    color: rgba(160, 155, 5, 1);
}
.verde {
    --icon-color: rgba(104, 191, 24, 1);
    color: rgba(104, 191, 24, 1);
}
.blanco {
    --icon-color: rgba(247, 249, 246, 1);
    color: rgba(247, 249, 246, 1);
}
.rojo {
    --icon-color: rgb(255, 0, 0);
    color: rgb(255, 0, 0);
}
.morado {
    --icon-color: #800080;
    color: #800080;
}
.cafe {
    --icon-color: #a52a2a;
    color: #a52a2a;
}
.azul {
    --icon-color: #0000ff;
    color: #0000ff;
}
.azulBajito, .azulCielo {
    --icon-color: #00ccff;
    color: #00ccff;
}
.grisOscuro {
    --icon-color: #746b6b;
    color: #746b6b;
}
.dorado{
    color: #D4AF37;
}

/* Esta se queda igual porque no afecta el color */
.negrita {
    font-weight: bold;
}
.fondo-grisOscuro{
    background-color: #746b6b;
}
.fondo-blanco{
    background-color: white;
}
.cursor-defecto{
    cursor: default;
}
.fondo-gold {
    background:conic-gradient(#edc800, #e3b600, #f3cf00, #ffe800,
        #edc800, #e3b600, #f3cf00, #ffe800,
        #edc800, #e3b600, #f3cf00, #ffe800,
        #edc800, #e3b600, #f3cf00, #ffe800);
}

.fondo-silver {
    background:conic-gradient(#d7d7d7, #c3c3c3, #cccccc, #c6c6c6,
        #d7d7d7, #c3c3c3, #cccccc, #c6c6c6,
        #d7d7d7, #c3c3c3, #cccccc, #c6c6c6,
        #d7d7d7, #c3c3c3, #cccccc, #c6c6c6);
}

.fondo-bronze {
    background:conic-gradient(#d95641, #b14439, #b2453a, #d25645,
        #d95641, #b14439, #b2453a, #d25645,
        #d95641, #b14439, #b2453a, #d25645,
        #d95641, #b14439, #b2453a, #d25645);
}
.fondo-titanium {
    background:conic-gradient(#e6e9bf, #d2b5aa, #cbaea3, #d4b5ab,
        #e6e9bf, #d2b5aa, #cbaea3, #d4b5ab,
        #e6e9bf, #d2b5aa, #cbaea3, #d4b5ab,
        #e6e9bf, #d2b5aa, #cbaea3, #d4b5ab);
}
.sinFondo{
    background: none;
}
.italica{
    font-style: italic;
}
.centrado{
    text-align: center;
}
.justificado{
    text-align: justify;
}
.contenedorCentrado{
    margin-left: auto;
    margin-right: auto;
}
.contenedorCentradoVertical{
    margin-bottom: auto;
    margin-top: auto;
}
.margin-auto{
    margin: auto;
}
.padding-0{
    padding: 0;
}
.separador{
    height: 15px;
}
.izquierda{
    text-align: left;
}
.derecha{
    text-align: right;
}
.interlineado1{
    line-height: 1;
}
.interlineado1-5{
    line-height: 1.5;
}
.sinMargen{
    margin: 0;
}
.oculto{
    visibility: hidden;
}
.visible{
    visibility: visible;
}
.noMostrar{
    display: none;
}
.mostrar{
    display: block;
}
.sinBordes{
    border: none !important;
}
.textoComplementario {
    margin-left: 8px;
    font-size: .80em;
}
.romper{
    word-break: break-all;
}
.romperPalabras{
    word-break: break-word;
}
.noRomper{
    white-space: nowrap;
}
.overflow-y-auto{
    overflow-y: auto;
}
.select-codigo-pais {
    width: 90px; /* Ancho fijo para que no empuje los otros inputs */
    padding: 5px;
    border-radius: 4px 0 0 4px; /* Pegadito al input de la derecha */
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding-right: 1rem;
}
.nota-informativa {
    display: flex;
    align-items: center;
    background: #eef6ff;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: rgb(73, 80, 87);
}
.noSeleccionar{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.textoComoEnlace{
    cursor:pointer;
    color:#0645AD;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.textoComoEnlace:hover{
    text-decoration: underline;
    color:#0000ff;
}
.textoComoEnlace:active{
    color: #032864;
}
.contenedorTextoCreciente{
    position: relative;
    min-height: 1.2em;
    box-sizing: border-box;
}
.textoCreciente{
    position: absolute;
    animation: crecimientoTexto 1s infinite alternate;
}
@keyframes crecimientoTexto {
    0% {
        font-size: 1rem;
    }
    100% {
        font-size: 1.1rem;
    }
}
.enUnaLinea{
    overflow: hidden;
    white-space: nowrap;
}
.tachado{
    text-decoration: line-through;
}
.sangria{
    text-indent: 1.5em;
    display: inline-block;
}
.inline-block{
    display: inline-block;
}
.block {
    display: block;
}
.contenedorRelativo{
    position: relative;
}
.contenedorAbsoluto{
    position: absolute;
}
.contenedorImagenForanea{
    position: relative;
    width: 100%;
    height: 100%;
}
.contenedorImagenForanea:after, .crecimientoTexto:after{
    content: "Esta imagen pertenece a otra sucursal";
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    text-align: center;
    font-size: .8rem;
    background-color: rgba(198, 226, 43, .75);
    border-radius: 3px;
    font-weight: bold;
    animation: crecimientoTexto 1s infinite alternate;
}
.crecimientoTextoVenta:after{
    content: "Esta venta pertenece a otra sucursal";
}
.contenedorFlex{
    display: flex;
    flex-wrap: wrap;
}
.contenedorFlex-noWrap{
    display: flex;
}
.contenedor-inline-flex{
    display: inline-flex;
}
.align-self-end{
    align-self: end;
}
.infoEncabezado{
    font-size: .85em;
    color: #746b6b;
    font-weight: bold;
}
.contenedorMensajesOcultos{
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(128, 128, 128, 0.2);
    user-select: none;
    display: none;
    position: absolute;
    align-items: center;
    justify-content: center;
}
.contenedorMensajesOcultos>div{
    display: none;
    color: white;
    font-weight: bold;
    text-align: center;
}
.contenedorMensajesOcultos:hover{
    background-color: rgb(128,128,128);
}
.contenedorMensajesOcultos:hover>div{
    display: initial;
}
.vertical-align-middle{
    vertical-align: middle;
}
.vertical-align-top{
    vertical-align: top !important;
}
.maxWidth{
    width: 100%;
}
.maxHeight{
    height: 100%;
}
.flexExpandir{
    flex: 1;
}
.flexSpaceBetween{
    justify-content: space-between;
}
.flexCentrados{
    align-items: center;
    justify-content: center;
}
.flexCentradosVertical{
    align-items: center;
}
.flexCentradosHorizontal{
    justify-content: center;
}
.flexJustificados{
    justify-content: space-between;
}
.flexDerecha{
    flex: 1;
    text-align: right;
}
.flexIzquierda{
    flex: 1;
    text-align: left;
}
.flexColumna{
    flex-direction: column;
}
.masGrande{
    font-size: 1.15rem !important;
}
.masGrande .inputTablaInfo{
    font-size: 1.15rem !important;
}
.muyGrande{
    font-size: 1.7rem !important;
}
.muyGrande .inputTablaInfo{
    font-size: 1.7rem !important;
}
.masPequeno{
    font-size: .85rem !important;
}
.pequena{
    font-size: .65rem;
}
.hover{
    cursor: pointer;
}

.hover:hover{
    opacity: 0.7;
}
.hover:active{
    opacity: .9;
}
.margin-top-5{
    margin-top: 5px;
}
.margin-top-10{
    margin-top: 10px;
}
.margin-top-15{
    margin-top: 15px;
}
.margin-bottom-5{
    margin-bottom: 5px;
}
.margin-bottom-10{
    margin-bottom: 10px;
}
.margin-bottom-15{
    margin-bottom: 15px;
}
.margin-left-5{
    margin-left: 5px;
}
.margin-left-10{
    margin-left: 10px;
}
.margin-left-15{
    margin-left: 15px;
}
.margin-right-5{
    margin-right: 5px;
}
.margin-right-10{
    margin-right: 10px;
}
.margin-right-15{
    margin-right: 15px;
}
.padding-3{
    padding: 3px;
}
.padding-5{
    padding: 5px;
}
.padding-left-5{
    padding-left: 5px;
}
.padding-left-10{
    padding-left: 10px;
}
.padding-left-15{
    padding-left: 15px;
}
.padding-top-1{
    padding-top: 1px;
}
.padding-top-2{
    padding-top: 2px;
}
.padding-top-5{
    padding-top: 5px;
}
.padding-top-10{
    padding-top: 10px;
}
.padding-top-15{
    padding-top: 15px;
}
.padding-right-5{
    padding-right: 5px;
}
.padding-right-10{
    padding-right: 10px;
}
.padding-right-15{
    padding-right: 15px;
}
.padding-bottom-5{
    padding-bottom: 5px;
}
.padding-bottom-10{
    padding-bottom: 10px;
}
.padding-bottom-15{
    padding-bottom: 15px;
}
.overflow-y-auto{
    overflow-y: auto;
}
.overflow-hidden{
    overflow: hidden;
}
.tablaSinBordes{
    border: none;
}
.border-box{
    box-sizing: border-box;
}
.input-grande {
    height: 40px;
    vertical-align:middle;
    width: 400px;
    font-size: 1.15em;
    box-sizing: border-box;
}
.input-mediano {
    height: 35px;
    vertical-align:middle;
    width: 300px;
    font-size: 1.05em;
    box-sizing: border-box;
    padding: 0 5px;
}
.input-pequeno {
    height: 30px;
    vertical-align:middle;
    width: 225px;
    font-size: 1.05em;
    box-sizing: border-box;
}

.textoLinea {
    display: flex;
    flex-direction: row;
    font-size: 1.18em;
    font-weight: bold;
}

.textoLinea:before, .textoLinea:after{
    content: "";
    flex: 1 1;
    border-bottom: 2px solid;
    margin: auto;
}

.textoLinea:before {
    margin-right: 10px
}
.textoLinea:after {
    margin-left: 10px
}
.simularDisabled{
    /*Se ponen con important ya que esta propiedad debe ser superior a cualquier otra dentro del CSS*/
    background-color: rgba(59, 59, 59, 0.1) !important;
    border-color: rgba(118, 118, 118, 0.3) !important;
    border-width: 2px !important;
    border-style: inset !important;
    color: rgb(84,84,84) !important;
    pointer-events: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

}
.simularDisabled input, .simularDisabled select, .simularDisabled *{
    background: inherit !important;
}
.simularDisabled [class^="icon"]{
    background-color: transparent !important;
}
.iconoNotificacion{
    font-size: 3.5em;
}
.iconoGrande{
    font-size: 4em;
}
.textoBarra{
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
    text-shadow: -1px 2px black;
    letter-spacing: .8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.linea{
    border-top-style: solid;
    margin: 8px 0px;
}
.bordeDelgado{
    border: solid gray thin;
}
.bordeGrueso{
    border: solid gray thick;
}
.botonEnvioFormularioEscondido{
    display: none;
}
.marquee {
    height: 1em;
    overflow: hidden;
    position: relative;
    line-height: 1;
    white-space: nowrap;
}

.marquee p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    text-align: center;
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-animation: deslizarTexto 2s linear infinite;
    -webkit-animation: deslizarTexto 2s linear infinite;
    animation: deslizarTexto 7s linear infinite;
}
.marquee-onhover{
    height: 1em;
    overflow: hidden;
    position: relative;
    line-height: 1;
    white-space: nowrap;
}
.marquee-onhover p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    text-align: center;
}
.marquee-onhover:hover p{

    /*    transform: translateX(100%);
        -moz-animation: deslizarTexto 2s linear infinite;
        -webkit-animation: deslizarTexto 2s linear infinite;*/
    animation: deslizarTexto 7s linear infinite;
}
[class^="barra"]{
    padding: 3px;
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
}
.barra{
    background: linear-gradient(135deg, #f06292 0%, #e91e63 100%);
    border-bottom: 2px solid #ad1457;
}
.barraVerde{
    border-bottom: 2px solid #5d7b00;
    background: linear-gradient(to right, rgba(180,245,0,1) 0%, rgba(180,245,0,1) 3%, rgba(104,191,24,1) 75%, rgba(104,191,24,1) 100%);
}
.barraAzul{
    background: linear-gradient(135deg, #4d94ea 0%, #33c7d0 60%, #25e4c1 100%);
    border-bottom: 3px solid #3478ce;
}
.barraSalmon{
    background: rgba(252,178,171,1);
    background: -moz-linear-gradient(left, rgba(252,178,171,1) 0%, rgba(255,246,245,1) 61%, rgba(255,246,245,1) 98%, rgba(255,246,245,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(252,178,171,1)), color-stop(61%, rgba(255,246,245,1)), color-stop(98%, rgba(255,246,245,1)), color-stop(100%, rgba(255,246,245,1)));
    background: -webkit-linear-gradient(left, rgba(252,178,171,1) 0%, rgba(255,246,245,1) 61%, rgba(255,246,245,1) 98%, rgba(255,246,245,1) 100%);
    background: -o-linear-gradient(left, rgba(252,178,171,1) 0%, rgba(255,246,245,1) 61%, rgba(255,246,245,1) 98%, rgba(255,246,245,1) 100%);
    background: -ms-linear-gradient(left, rgba(252,178,171,1) 0%, rgba(255,246,245,1) 61%, rgba(255,246,245,1) 98%, rgba(255,246,245,1) 100%);
    background: linear-gradient(to right, rgba(252,178,171,1) 0%, rgba(255,246,245,1) 61%, rgba(255,246,245,1) 98%, rgba(255,246,245,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcb2ab', endColorstr='#fff6f5', GradientType=1 );
}
.barraMarino{
    background: #2c3e50;
    border-bottom: 2px solid #001ba1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.barraRoja{
    background: rgb(255,4,1);
    background: -moz-linear-gradient(90deg, rgba(255,4,1,1) 11%, rgba(213,55,82,1) 79%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255,4,1,1) 11%, rgba(213,55,82,1) 79%, rgba(0,0,0,1) 100%);
    background: linear-gradient(90deg, rgba(255,4,1,1) 11%, rgba(213,55,82,1) 79%, rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff0401",endColorstr="#000000",GradientType=1);
}

/* ESTILOS DE LAS VENTANAS */
/*.ventanaEmergente, .ventanaiFrame{
    position:fixed;
    vertical-align:middle;
    z-index: 3;
    top:100px;
    left:40%;
    width:20%;
    background-color:#FFF;
    border:solid;
    border-color:#333;
    border-radius:5px;
    overflow: auto !important;
    box-shadow: rgb(174, 174, 174) 5px 20px 18px 7px
}
.ventanaEmergente_encabezado{
    background-color: rgb(184, 184, 184);
    cursor: move;
    position: absolute;
    top: 0;
    left: 0;
    height: 1.8em;
    width: 100%;
    padding-top: 3px;
    padding-left: 3px;
    box-sizing: border-box;
}
.ventanaEmergente_contenido, .ventanaEmergenteFija_contenido{
    clear:both;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top:5px;
    padding: 5px;

}
.cerrarVent{
    font-weight: bold;
    background-color: #CF3800;
    border-color: #CF3800;
    color: white;
    padding: 3px .5rem;
    border-radius: 5px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}
.cerrarVent:hover{
    opacity: .8;
    cursor:pointer;
}*/
/*Para crear botones tipo toggle*/
.switchBtn {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 22px;
}
.switchBtn input {
    display:none;
}
.slide {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #8CE196;
    -webkit-transition: .4s;
    transition: .4s;
    padding: 4.5px;
    color: #fff;
}
.slide:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 89px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slide {
    background-color: black;
    padding-left: 22px;
}
input:focus + .slide {
    box-shadow: 0 0 1px #01aeed;
}
input:checked + .slide:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    left: -22px;
}
.slide.round {
    border-radius: 20px;
}
.slide.round:before {
    border-radius: 50%;
}

/* UNOS SLIDER MAS MODERNOS */
.switch {
    position: relative;
    display: inline-block;
    /* Un switch estándar suele medir 2.8em de ancho por 1.5em de alto */
    width: 2.8rem;
    height: 1.5rem;
    font-size: 1rem; /* Aquí es donde la magia ocurre con tus Media Queries */
}

.switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 1.5rem;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.1rem; 
    width: 1.1rem;
    left: 0.2rem; 
    bottom: 0.2rem;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2; /* Para que esté encima del check si es necesario */
}
.slider:after {
    content: "✓"; /* Código Unicode del Checkmark: ✓ */
    position: absolute;
    color: #4285F4; /* Azul Pladnet para el check */
    font-size: 1rem;
    font-weight: bold;
    top: 50%;
    left: 0.75rem;
    transition: .5s;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    z-index: 3;
}

/* Cuando el switch está CHECKED */
input:checked + .slider { 
    background-color: #4285F4; 
}

input:checked + .slider:before { 
    transform: translateX(1.3rem); 
}

/* AQUÍ EL CAMBIO: añadimos el translateX para que siga al círculo */
input:checked + .slider:after {
    opacity: 1;
    transform: translate(calc(-50% + 1.3rem), -50%) scale(1);
}

.tieneError_input{
    border-color: red;
    box-shadow: 0 0 5px red;
}
.tieneError_mensaje{
    color: red;
    font-size: .82em;
}
.imagenCentrada{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}
.imagen125{
    max-height: 125px;
    max-width: 125px;

}
.imagen250{
    max-height: 250px;
    max-width: 250px;
}
.imagen80{
    max-height: 80px;
    max-width: 80px;
}
/*Actualmente el archivo sin imagen mide 128px x 140px*/
.sinImagen80{
    width: 73px;
    height: 80px;
}
.sinImagen250{
    width: 216px;
    height: 250px;
}
.sinImagen500{
    width: 457px;
    height: 500px;
}

.glossy-text {
    /* Font styling */
    font-weight: bold;
    letter-spacing: .12rem;
    color: #2d2d2d;
    text-transform: uppercase;
    position: relative;

    /* Layered text shadows for the bevel and drop-shadow effect */
    text-shadow:
        0px 1px 1px rgba(255, 255, 255, 0.5), /* Top highlight */
        -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, /* Outline */
        4px 4px 6px rgba(0, 0, 0, 0.4); /* Drop shadow */
    /* Para que no se pueda seleccionar */
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* This pseudo-element creates the glossy shine on top */
.glossy-text::before {
    /* THIS IS THE KEY CHANGE! */
    content: attr(data-text); /* Reads the text from the data-text attribute */

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    /* The gradient for the reflection */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 51%
        );

    /* Clip the gradient to the shape of the text */
    -webkit-background-clip: text;
    background-clip: text;

    /* Make the text color transparent to show the gradient */
    color: transparent;
}

/* Botones toggle con radios */
.toggle-contenedor{
    position: relative;
    display: flex;
    box-sizing:border-box;
}
.toggle-contenedor input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.toggle-contenedor input + label {
    padding: 7px;
    color: #fff;
    cursor: pointer;
    transition-property: background;
    transition-duration: 0.7s;
    border: solid #242729;
    background: #242729;
    margin: auto 0;
    opacity: 0.9
}
.toggle-contenedor input:checked + label {
    background: #009688;
    border-radius: 5px;
    border: solid #ece8c5 5px;
    /* font-weight: bold;
    font-size: 110%; */
    opacity: 1;
    padding: 7px;
}

/* LISTA DESPLEGABLE */
.lista-desplegable{
    display: inline-block;
    position: relative;
    border: solid #666666 thin;
    padding: .25rem .4rem;
    cursor: default;
    user-select: none;
    z-index: 2;
    text-align: left;
    padding-right: 1.45rem;
}
.lista-desplegable:after{
    content: "";
    position: absolute;
    border: solid black;
    border-width: 0 .1875rem .1875rem 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg) translateY(-95%);
    right: 10px;
    top: 50%;
}
.lista-desplegable-contenido{
    position: absolute;
    display: none;
    width: 100%;
    background-color: #f9f9f9;
    box-shadow: 0px 10px 12px 3px #848484;
    z-index: 1;
    text-align: left;
    left: -1px;
    border: solid #666666 thin;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.lista-desplegable-contenido ul {
    background-color: white;
    list-style: none;
    padding: 0;
    white-space: nowrap;
    margin: 0;
}
.lista-desplegable-contenido li{
    text-decoration: none;
    padding: 7px;
    padding-right: 20px;
    position: relative;
}
.lista-desplegable:hover .lista-desplegable-contenido{
    display: block;
}
.lista-desplegable:hover:after{
    border-color: green;
}
.lista-desplegable-contenido li:hover{
    background-color: #cccccc;
}

/* TABLA CABECERA FIJA */
.tabla-cabecera-fija {
    border-collapse: separate;
    border-spacing: 0;
    width:100%;
}
.tabla-cabecera-fija td,
.tabla-cabecera-fija thead th {
    padding: 5px 0;
}
.tabla-cabecera-fija thead textarea{
    border: none;
    font: inherit;
    resize: horizontal;
    background: none;
    user-select: none;
    text-align: inherit;
    height: 100%;
    vertical-align: middle;
    line-height: 1;
    display: table-cell;
    height: 1.1rem;
    overflow: hidden;
    word-break: break-all;
    min-width: 6rem;
    width: inherit;
    box-sizing: border-box;
}
.tabla-cabecera-fija thead textarea:focus{
    outline: none;
}
.tabla-cabecera-fija thead th {
    position: sticky;
    top: 0;  /* REQUIRED: https://stackoverflow.com/a/43707215 */
    /*resize: horizontal;*/
    overflow: hidden;
    /*min-width: 5rem;*/
    background-color: #F0F0F0;
    font-weight: bold;
    border: solid thin;
    border-bottom: solid #ddd thick;
}
.tabla-cabecera-fija .no-resize{
    resize: none !important;
}

.tabla-cabecera-fija th:last-child{
    border-top-right-radius: 5px;
}
.tabla-cabecera-fija th:first-child{
    border-top-left-radius: 5px;
}
.tabla-cabecera-fija thead tr {
    position: relative;
    z-index: 1;
}
.tabla-cabecera-fija tbody tr:nth-child(even) {
    background-color: #DDD;
}
.tabla-cabecera-fija td{
    overflow: hidden;
}



/*Resultados*/
.contenedor-paginas{
    position: relative;
    height: 41px;
    box-sizing: border-box;
}
.resultados-paginas {
    display: flex;
    align-items: center;

    border-top: solid 2px black;
}
.resultados-paginas select{
    min-width: 60px;
    border: solid 2px #654646;
    font-weight: bold;
    border-radius: 3px;
    text-align: center;
    padding: 0;
}
.resultados-numeros{
    flex: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.resultados-numero-elementos{
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    bottom: 0;
    /*transform: translateY(37%);*/
    font-size: smaller;

}
.resultados-numero-pagina{
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    color:blue;
    background-color: #e6c0c0;
    margin: 2px;
    border: solid #533535 1px;
    border-radius: 5px;
    font-weight: bold;
}
.resultados-numero-pagina:hover:not(.resultados-numero-actual){
    text-decoration: underline;
    border-color: black;
    box-shadow: 0px 3px 3px 1px #dadada;
}
.resultados-numero-actual{
    color: black;
    cursor: default;
    font-weight: normal;
}

.deslizable-izquierda{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: translateX(100%);
    background-color: white;
    box-sizing: border-box;
}

.deslizar-izquierda {
    animation: deslizar-izquierda 0.7s forwards;
}
.deslizar-derecha{
    animation: deslizar-derecha 0.7s forwards;
}
@keyframes deslizar-izquierda {
    100% {
        transform: translateX(0%);
    }
}
@keyframes deslizar-derecha {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}
.padreIcono{
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    padding: 2px;
    /*display: inline-block;*/
}
.padreIcono_alineado{
    width: 1em;
    height: 1em;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}
.iconoCargando{
    display: inline-block;
    border: 3px solid black; /*rgba(255, 255, 255, 0.3);*/
    border-radius: 50%;
    border-top-color: #a0a0a0;
    animation: 1s spin infinite ease-in-out;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}
/* Contenedor central */
.loader-puntos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
}

/* Estilo de los 3 puntitos */
.loader-puntos span {
    width: 12px;
    height: 12px;
    background-color: #ff0080; /* El rosa de tu marca */
    border-radius: 50%;
    display: inline-block;
    animation: salto 0.6s infinite alternate;
}

/* Retraso para que no salten todos al mismo tiempo */
.loader-puntos span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-puntos span:nth-child(3) {
    animation-delay: 0.4s;
}
.loader-texto {
    text-align: center;
    color: #666; /* Gris profesional, no negro total */
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 15px;
    letter-spacing: 1px; /* Espaciado entre letras para toque moderno */
    text-transform: uppercase; /* Opcional: le da un look de "sistema" */

    /* Animación de parpadeo suave */
    animation: parpadeo 1.5s infinite ease-in-out;
}
.paginacion-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
}

.btn-pag, .btn-pag-flecha {
    text-decoration: none;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-primario);
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--color-fondo-botones);
}

.btn-pag:hover {
    background-color: #fff0f6;
    color: #ff0080;
    border-color: #ff0080;
}

.btn-pag.activa {
    background-color: var(--color-acento);
    color: white;
    border-color: var(--color-acento);
}

@keyframes parpadeo {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* La animación del salto */
@keyframes salto {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-15px);
        opacity: 0.4;
    }
}
@keyframes deslizarTexto {
    0% {
        transform: translatex(0%)
    }
    100% {
        transform: translatex(-120%)
    }

}
@keyframes deslizarTextoLargo {
    0% {
        transform: translatex(0%)
    }
    100% {
        transform: translatex(-240%)
    }
}
@keyframes deslizarTextoMuyLargo {
    0% {
        transform: translatex(0%)
    }
    100% {
        transform: translatex(-360%)
    }
}

@keyframes spin{
    to{
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 1500px), only screen and (max-height: 800px) {
    .linea{
        margin: 6px 0px;
    }
    .textoBarra{
        letter-spacing: 1px;
    }
    .textoBajoRelieve{
        font-size: 2.25em;
        letter-spacing: .11em;
    }
    .imagen250{
        /*Esto se crea ya que las imagenes de 250px en pantallas de baja resolución tienden a ocupar hasta 1/3 de la pantalla asi que se reducen en un 25%*/
        max-height: 185px;
        max-width: 185px;
    }
    .imagen80{
        max-height: 60px;
        max-width: 60px;
    }
    .sinImagen80{
        width: 54px;
        height: 60px;
    }
    .sinImagen250{
        width: 162px;
        height: 187px;
    }
    .sinImagen500{
        width: 342px;
        height: 375px;
    }
    .input-grande {
        height: 30px;
        width: 300px;
    }
    .input-mediano {
        height: 27px;
        vertical-align:middle;
        width: 225px;
        box-sizing: border-box;
    }
    .input-pequeno {
        height: 24px;
        vertical-align:middle;
        width: 190px;
        font-size: 1.05em;
        box-sizing: border-box;
    }
    .contenedor-paginas{
        height: 34px;
    }
    .resultados-paginas {
        /*height: 27px;*/
    }
    .resultados-paginas select{
        min-width: 45px;
    }
    .resultados-numero-pagina{
        font-size: .85em;
        padding: 3px;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){
    fieldset{
        border-color: black;

    }
}
