@media only screen and (max-width: 865px){
    .ventMax{ max-height: 100vh }
    .tablaInternaframe{ max-height: 100vh }
}
@media only screen and (max-width: 1366px) and (min-width: 866px){
    .ventMax{ max-height: calc(100vh - 38vh); }
    .tablaInternaframe{ max-height: 40vh }
}
@media only screen and (max-width: 1920px) and (min-width: 1367px){
    .ventMax{ max-height: calc(100vh - 21vh); }
    .tablaInternaframe{ max-height: 59.5vh }
}
@media only screen and (min-width: 1921px){
    .ventMax{ max-height: calc(100vh - 25vh); }
    .tablaInternaframe{ max-height: 79.5vh }
}

*{
    font-size: 14px;
}

body{
    background-image: url("../../Imgs/FondoNew1.png");
}

.Reporte{
    width : 100%;
    height:1050px;
}

.ajustado {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.not-active {
    pointer-events: none;
    opacity: 0.5;
}

.opacity{
    opacity: 0.8;
}

.bootstrap-select .btn {
    background-color: white;
    border:1px solid #ced4da;
}

.tooltip.bs-tooltip-top .tooltip-inner {
    background:#0e566c !important;
}

.tooltip .arrow:before {
    border-bottom-color:#0e566c !important;
    border-top-color:#0e566c !important;
}

.datepicker {z-index: 100000 !important;}
.tsm{
    margin:0px;
    height:20px;
    vertical-align: middle;
    padding-left: 0px;
}
.tsm1{
    margin:0px;
    height:20px;
    vertical-align: middle;
    padding-left: 60px;
}
.tsm2{
    margin:0px;
    height:20px;
    vertical-align: middle;
    padding-left: 120px;
}

.scrollContent {
    height: 100px;       /* Just for the demo          */
    overflow-y: auto;    /* Trigger vertical scroll    */
    overflow-x: hidden;  /* Hide the horizontal scroll */
    display:block;
}

.fixed_header{
    width: 400px;
    table-layout: fixed;
    border-collapse: collapse;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display:none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#cajaFiltros{
    display:none;
}

.cajaFiltros{
    display:none;
}

.blue{
    color: #5bc0de;
}

.table > tbody > tr > td 
{
    vertical-align: middle;
} 

.custom-checkbox > input[type="checkbox"] {
    display: none;   
}

.custom-checkbox {
    min-height: 1rem;
    padding-left: 0;
    margin-right: 0;
    cursor: pointer; 
}

.custom-checkbox .custom-control-indicator {
    content: "";
    display: inline-block;
    position: relative;
    width: 30px;
    height: 10px;
    background-color: #818181;
    border-radius: 15px;
    margin-right: 10px;
    -webkit-transition: background .3s ease;
    transition: background .3s ease;
    vertical-align: middle;
    margin: 0 16px;
    box-shadow: none; 
}

.custom-checkbox .custom-control-indicator:after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #f1f1f1;
    border-radius: 21px;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
    left: -2px;
    top: -4px;
    -webkit-transition: left .3s ease, background .3s ease, box-shadow .1s ease;
    transition: left .3s ease, background .3s ease, box-shadow .1s ease; 
}.custom-checkbox .custom-control-input:checked ~ .custom-control-indicator {
    background-color: #84c7c1;
    background-image: none;
    box-shadow: none !important; 
}.custom-checkbox .custom-control-input:checked ~ .custom-control-indicator:after {
    background-color: #84c7c1;
    left: 15px; 
}.custom-checkbox .custom-control-input:focus ~ .custom-control-indicator {
    box-shadow: none !important; 
}

.tablaplancuentas > thead > tr > th,
.tablaplancuentas > tbody > tr > th,
.tablaplancuentas > tfoot > tr > th,
.tablaplancuentas > thead > tr > td,
.tablaplancuentas > tbody > tr > td,
.tablaplancuentas > tfoot > tr > td {
    padding: 3px!important;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
    font-size: 12px;
}

.tablamarginbajo > thead > tr > th,
.tablamarginbajo > tbody > tr > th,
.tablamarginbajo > tfoot > tr > th,
.tablamarginbajo > thead > tr > td,
.tablamarginbajo > tbody > tr > td,
.tablamarginbajo > tfoot > tr > td {
    padding: 1px!important;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
    font-size: 12px!important;
}

.tablamarginbajo tr td strong{
    font-size: 12px!important;
}

@media (min-width: 992px) and (max-width: 1299.98px) { 
    .consecutivo{
        margin-left: 4.5em;
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;

}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #337ab7;
    color: white;
    text-align: left;
    z-index: 100;

}

.cardPrincipal{
    border-radius: 8px;
}

.custom-file-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pagination{
    margin-top: 5px;
    margin-bottom: 0px;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-container {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease;
    padding: 5px 25px 5px 25px;
    animation: showSpinnerContainer 1s ease forwards; 
    transform: rotateX(90deg);
    opacity: 0;
    height: 65px;
}

.spinner-container:hover {
    border-color: #3498db;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.spinner-message {
    margin-left: 20px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.contener_spinner{
    position: relative;
    width : 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

@keyframes showSpinnerContainer {
    to { opacity: 1; transform: rotateX(0deg); }
}

.no-click-effect:active {
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    border: none !important;
}

.headTableFrame{
    background-color: #f2f2f2 !important;
    color: #007bff;
    position: sticky;
    top: -0.2px;
    z-index: 1;
}

.listasFramesInt{
    position: relative;
    min-height : 75px;
}

/* Tooltip */

.tooltip-container {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 4px;

    --bg: transparent;
    --color: #fff;
    --tooltip-opc: 1;
    --tooltip-bg: var(--bg);
    --tooltip-color: #fff;
    --size-t-btn: 14px;
    --m-t-btn: 6px;
}

.tooltip-container.b-danger {
    --color: #dc3545;
    --tooltip-opc: 0.8;
    --tooltip-bg: #dc3545;
    --size-t-btn: 10px;
    --m-t-btn: 3px;
}

.tooltip-container.b-success {
    --color: #28a745;
    --tooltip-opc: 0.8;
    --tooltip-bg: #28a745;
    --size-t-btn: 10px;
    --m-t-btn: 3px;
}

.tooltip-container.b-info {
    --color: #17a2b8;
    --tooltip-opc: 0.8;
    --tooltip-bg: #17a2b8;
    --size-t-btn: 10px;
    --m-t-btn: 3px;
}

.tooltip-container.b-secondary {
    --color: #6c757d;
    --tooltip-opc: 0.8;
    --tooltip-bg: #6c757d;
    --size-t-btn: 10px;
    --m-t-btn: 3px;
}

.tooltip-container.b-primary {
    --color: #007bff;
    --tooltip-opc: 0.8;
    --tooltip-bg: #007bff;
    --size-t-btn: 10px;
    --m-t-btn: 3px;
}

.tooltip-container.bc-danger {
    --color: #fff;
    --bg: #dc3545;
    --tooltip-opc: 0.9;
    --tooltip-bg: #dc3545;
}

.tooltip-container.bc-success {
    --color: #fff;
    --bg: #28a745;
    --tooltip-opc: 0.9;
    --tooltip-bg: #28a745;
}

.tooltip-container.bc-info {
    --color: #fff;
    --bg: #17a2b8;
    --tooltip-opc: 0.9;
    --tooltip-bg: #17a2b8;
}

.tooltip-container.bc-secondary {
    --color: #fff;
    --bg: #6c757d;
    --tooltip-opc: 0.9;
    --tooltip-bg: #6c757d;
}

.tooltip-container.bc-primary {
    --bg: #007bff;
    --color: #fff;
    --tooltip-opc: 0.9;
    --tooltip-bg: #007bff;
}

.tooltip-container.bc-outline-danger {
    --color: #dc3545;
    --bg: transparent;
    --tooltip-opc: 0.9;
    --tooltip-bg: #dc3545;
    background-image: none;
    border: 1px solid #dc3545;
}

.tooltip-container.bc-outline-success {
    --color: #28a745;
    --bg: transparent;
    --tooltip-opc: 0.9;
    --tooltip-bg: #28a745;
    background-image: none;
    border: 1px solid #28a745;
}

.tooltip-container.bc-outline-info {
    --color: #17a2b8;
    --bg: transparent;
    --tooltip-opc: 0.9;
    --tooltip-bg: #17a2b8;
    background-image: none;
    border: 1px solid #17a2b8;
}

.tooltip-container.bc-outline-secondary {
    --color: #6c757d;
    --bg: transparent;
    --tooltip-opc: 0.9;
    --tooltip-bg: #6c757d;
    background-image: none;
    border: 1px solid #6c757d;
}

.tooltip-container.bc-outline-primary {
    --bg: transparent;
    --color: #007bff;
    --tooltip-opc: 0.9;
    background-image: none;
    --tooltip-bg: #007bff;
    border: 1px solid #007bff;
}

.tooltip-container.bc-outline-danger:hover {
    --color: #fff;
    --bg: #dc3545;
    --tooltip-opc: 0.9;
    --tooltip-bg: #dc3545;
}

.tooltip-container.bc-outline-success:hover {
    --color: #fff;
    --bg: #28a745;
    --tooltip-opc: 0.9;
    --tooltip-bg: #28a745;
}

.tooltip-container.bc-outline-info:hover {
    --color: #fff;
    --bg: #17a2b8;
    --tooltip-opc: 0.9;
    --tooltip-bg: #17a2b8;
}

.tooltip-container.bc-outline-secondary:hover {
    --color: #fff;
    --bg: #6c757d;
    --tooltip-opc: 0.9;
    --tooltip-bg: #6c757d;
}

.tooltip-container.bc-outline-primary:hover {
    --bg: #007bff;
    --color: #fff;
    --tooltip-opc: 0.9;
    --tooltip-bg: #007bff;
}

/* ----- Botón ----- */
.tooltip-btn {
    padding: 0em .5em;
    background: var(--bg);
    color: var(--color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    box-sizing: border-box;
}

.tooltip-btn:focus,
.tooltip-btn:active {
    outline: none;
    box-shadow: none;
}

.tooltip-btn.c-btn{
    display: inline-block;
    font-weight: 400;
    color: var(--color);;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: var(--bg);
    border: 1px solid var(--bg);;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 2px;
    transition: color .15s 
    ease-in-out, background-color .15s 
    ease-in-out, border-color .15s 
    ease-in-out, box-shadow .15s 
    ease-in-out;
}

/* ----- Tooltip base ----- */
.tooltip-text {
    position: absolute;
    background-color: var(--tooltip-bg);
    color: var(--tooltip-color);
    text-align: left;
    padding: .2em 1.3em;
    border-radius: 6px;
    font-size: var(--size-t-btn);
    white-space: nowrap;
    z-index: 9;
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tooltip-text .tooltip-label {
    font-size: 12px;
}

/* Mostrar tooltip al hacer hover */
.tooltip-container:hover .tooltip-text {
    opacity: var(--tooltip-opc);
    transform: scale(0.8);
}

/* Icono */
.tooltip-icon {
    font-size: 13px;
}

/* ----- Posiciones ----- */
.tooltip-container[data-position="top"] .tooltip-text {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(1);
    margin-bottom: var(--m-t-btn);
}

.tooltip-container[data-position="bottom"] .tooltip-text {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scale(1);
    margin-top: var(--m-t-btn);
}

.tooltip-container[data-position="left"] .tooltip-text {
    right: 100%;
    top: 50%;
    transform: translateY(-50%) scale(1);
    margin-right: var(--m-t-btn);
}

.tooltip-container[data-position="right"] .tooltip-text {
    left: 100%;
    top: 50%;
    transform: translateY(-50%) scale(1);
    margin-left: var(--m-t-btn);
}

/* ----- Flecha ----- */
.tooltip-text::after {
    content: "";
    position: absolute;
    border: 5px solid transparent;
}

.tooltip-container[data-position="top"] .tooltip-text::after {
    top: 100%;
    left: 50%;
    border-top-color: var(--tooltip-bg);
    transform: translateX(-50%);
}

.tooltip-container[data-position="bottom"] .tooltip-text::after {
    bottom: 100%;
    left: 50%;
    border-bottom-color: var(--tooltip-bg);
    transform: translateX(-50%);
}

.tooltip-container[data-position="left"] .tooltip-text::after {
    left: 100%;
    top: 50%;
    border-left-color: var(--tooltip-bg);
    transform: translateY(-50%);
}

.tooltip-container[data-position="right"] .tooltip-text::after {
    right: 100%;
    top: 50%;
    border-right-color: var(--tooltip-bg);
    transform: translateY(-50%);
}

/* IFRAME SERVICIOS*/

.content-iframe{
    position: relative;
    height: 100vh;
}

.form-iframe{
    display: flex;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

/* .form-iframe{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
} */