


#main {
    margin: 0 0 0 275px;
}
#main.main-full {
    margin: 0px;
}

#page-inner {
    width: 100%;
}

#page-content{
    padding: 15px 5px;
}

a{
    color: #0b84af;
}

b, strong, dt {
    font-weight: 600;
}

label {
    margin-bottom: .25rem;
}

caption {
    caption-side: top;
}

.card-header {
    /* background: #f6f8fa; */
    font-weight: 600;
}
.card>.card-grafica {
    overflow-x: hidden;
    padding: 0px;
}

.truncate-text {
    white-space: nowrap;      /* Evita que el texto se desborde a una nueva línea */
    overflow: hidden;         /* Oculta el contenido que desborda del contenedor */
    text-overflow: ellipsis;  /* Agrega puntos suspensivos al final del texto truncado */
}

.badge {
    font-size: 90%;
}

.table>thead>tr>th, .table>tbody>tr>th{
    /* background-color: #f6f8fa !Important; */
    font-weight: 600;
}
.table>thead>tr>th{
    text-align: center;
    white-space: nowrap;
}
.table>tbody>tr>th{
    text-align: left;
}
.table>tbody>tr>td i.fa{
    font-size: 18px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}


.table-bordered>tbody>tr>td, 
.table-bordered>tbody>tr>th, 
.table-bordered>tfoot>tr>td, 
.table-bordered>tfoot>tr>th, 
.table-bordered>thead>tr>td, 
.table-bordered>thead>tr>th {
    border-left: none;
    border-right: none;
}

.table-bordered-full>tbody>tr>td, 
.table-bordered-full>tbody>tr>th, 
.table-bordered-full>tfoot>tr>td, 
.table-bordered-full>tfoot>tr>th, 
.table-bordered-full>thead>tr>td, 
.table-bordered-full>thead>tr>th {
    border: 1px solid var(--bs-border-color-translucent);
}

.table-no-bg {
    background: transparent;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
.btn-file input[type=file]:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.vertical-text {
    transform: rotate(270deg);
}

.form-control-xs {
    height: calc(1.25em + .4rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    border-radius: var(--bs-border-radius-sm);
}    

caption {
    color: #555;
    font-weight: 500;
}



.list-group-hover .list-group-item:not(.no-hover):hover {
    background-color:#f8f9fa;
}

button:focus, input:focus{
    outline: none;
}

.cursor-pointer{
    cursor: pointer;
}
.cursor-help{
    cursor: help;
}

.alert-orange {
    color: #784327;
    background-color: #fae3db;
    border-color: #f4c2af;
}
.alert-orange hr {
    border-top-color: #f1b39a;
}
.alert-orange .alert-link {
    color: #502e1a;
}
.badge-orange {
    color: #fff;
    background-color: #e6804a;
}
a.badge-orange:hover, a.badge-orange:focus {
    color: #fff;
    background-color: #d35d3e;
}
a.badge-orange:focus, a.badge-orange.focus {
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(230, 113, 73, 0.5);
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}
.alert-info {
    color: #215f6a;
    background-color: #f3f7f9;
    border-color: #76a8c1;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert-primary {
    color: #0e4d74;
    background-color: #d1eaf9;
    border-color: #9bd0f1;
}
.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #bec2c6;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert-nota {
    color: #565656;
    background-color: #ffffff;
    border-color: #8f9394;
}



.accordion-item:first-of-type {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #cbd3dc;
    margin-bottom: 5px;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.25rem 0.5rem;
    font-size: 15px;
    color: #666666;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}

.accordion-button:hover{
    color: #000000;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.accordion-button:not(.collapsed) {
    color: #343a40;
    background-color: #f2f5f9;
    border-bottom: solid 2px #1581c5;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    font-family: 'FontAwesome';
    content: "\F107";
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
    font-size: 20px;
    color: #7497c3;
}

.accordion-body {
    padding: 1rem;
}

.accordion-icon-sort{
    color: #888888;
    margin-top: 2px;
}

.table-inactive td {
    background-color: #f2f2f2;
    color: #999999;
}

.gridster ul {
    display: block;
    list-style: none;
    list-style-type: none;
}
.gridster li .card-header {
    display: block;
    cursor: move;
}

.hover-contendio:hover, .hover-contendio:hover div {
    background-color: #f0f8ff;
}

.highcharts-contextmenu hr{
    margin: 5px;
}
.control-acciones-listado{
    text-align: center;
}

.control-acciones-listado .dropdown{
    display: inline-block;
}

.control-acciones-listado .boton-acciones{
    border: 1px solid #488fe0 !important;
    border-radius: 5px;
    color: #488fe0;
    transition: all 0.3s ease;
}
.control-acciones-listado .boton-acciones:hover{
    background: #488fe0;
    color: aliceblue;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}
.control-acciones-listado .boton-acciones:active{
    transform: scale(0.95);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    /*pointer-events: none;*/
}
.spin {display: flex;align-items: center;justify-content: center;border-radius: 50%;border-style: solid;border-width: 5px;border-color: transparent;animation: spin-reverse 1.5s ease-out infinite;mask-image: linear-gradient(90deg, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);}
.spinner-large {width: 100px;height: 100px;border-top-color: #007dc2;border-left-color: #007dc2;}
.spinner-small {width: 75px;height: 75px;border-top-color: #03cdfc;border-left-color: #03cdfc;}
@keyframes spin-reverse {100% {transform: rotate(-360deg);}}

.loader-small {
    width: 30px;
    height: 30px;
    transform: scale(0.3);
    transform-origin: left top;
}
.loader-small-center{
    display: flex;
    justify-content: center;
}
.loader-small-center .spinner-large {
    width: 40px;
    height: 40px;
}

.loader-small-center .spinner-small {
    width: 30px;
    height: 30px;
}

.loader-small-center .spin {
    border-width: 3px;
}

.dropup-left .dropdown-menu {
    top: auto !important;
    bottom: calc(100% - 23px);
    left: auto !important;
    right: 20px;
    margin-right: 2px;
}


.dropleft .dropdown-menu {
    margin: 1px !important;
}

.text-ia {
    background: linear-gradient(315deg, #1fd1f9, #b621fe 74%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/******************* NovaSec Modal ****************************/
.yui-skin-sam .yui-dialog{
    box-sizing: border-box;
    position: fixed !Important;
    top: 0 !Important;
    left: 0 !Important;    
    padding: 15px !Important;
    margin: 0px !important;
    height: 100%;/*Este nos puede servir para decirle que se alinee arriba o al centro. */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
}
.yui-skin-sam .yui-dialog.yui-dialog-top {
    height: initial !important;
}
.yui-skin-sam .yui-dialog.shadow, 
.yui-skin-sam  .yui-panel-container.shadow {
    box-shadow: none ! Important;
}

/* Modal */
.yui-skin-sam .yui-dialog .yui-panel{
    background-color: var(--app-modal-bg);    
    border-radius: 12.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 30px);
    border: solid 1px var(--bs-border-color-translucent);
    /*overflow: hidden;*/
}

.yui-skin-sam .yui-dialog.full-screen .yui-panel{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--bs-body-bg);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.yui-skin-sam .yui-dialog .yui-panel .hd, 
.yui-skin-sam .yui-dialog .yui-panel .bd, 
.yui-skin-sam .yui-dialog .yui-panel .ft {
    /* border: none; */
    /* border-width: 0px; */
    /* border-color: transparent; */
}

.yui-skin-sam .yui-dialog .yui-panel .hd{
    background: var(--bs-card-cap-bg);
    /* border-bottom: none; */
    border-radius: .5rem .5rem 0 0;
    /* box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .05); */
    /* -moz-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .05); */
    /* -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .05); */
    color: #485e82;
    font-size: 1rem;
    margin: 0px;
    flex-shrink: 0;
}

.yui-skin-sam .yui-dialog .yui-panel .bd{
    margin: 15px 0px;
    padding: 0px 15px;
    overflow-x: auto;
    overflow-y: auto;
    flex-grow: 1;
    max-height: calc(100vh - 100px);
    max-width: 100%;
    word-wrap: break-word;
}

.yui-skin-sam .yui-dialog .yui-panel .ft{
     margin: 0px;
     padding: 10px;
     background-color: var(--bs-card-cap-bg);
     border-radius: 0 0 .5rem .5rem;
     flex-shrink: 0;
}
