.card {
    background-color: #fafafa !important;
    border: 1px solid #ddd; 
    box-shadow: none;       
}
.cui__menuLeft__navigation .cui__menuLeft__navigation .cui__menuLeft__item__link {
    padding-left: 20px;
}
.cui__menuLeft__item__link {
    padding: 0 0 0 10px;
}

/*
.table th, .table td {
    border: 1px solid #dee2e6;
}
*/
table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #b4c1da52;
}

.cui__utils__content {
    padding: 1rem 2rem;
}

.badge {
    text-transform: none;
    padding: 0.3em 0.6em;
}

.select2.select2-container--disabled .select2-selection--single {
    xbackground: #ffffff;
}

.select2.select2-container--disabled .select2-selection--multiple {
    xbackground: #ffffff;
}

.select2-container--default.select2-container--disabled .select2-selection--single{
    background-color: #f1f4f8;
}

table.dataTable tbody td {
    outline: none;
}
.bg-attention {
    background-color: #f9e9e9;
}

.toast-header {
    background-color: rgb(242 244 248);
}

.toast-body.info {
    background-color: #ffffff00;
}

.toast-body.error {
    background-color: #ff010120;
}

.toast {        
    background-color: rgba(255, 255, 255, 0.95);
}

.toast-backdrop {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    background-color: #000;
    opacity: 50%;
}

.toast-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    border: 2px solid #b4c1da52; 
    border-radius: 10px; 
    padding: 10px; 
    background-color: #fff;
}

textarea.form-control {
    margin-bottom: 15px;
}

.form-color {
    padding: 2px 4px !important;
}

pre {
    display: block;
    padding: 9.5px;
    margin: 0;
    font-size: 11px;
    line-height: 17px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre;
    white-space: pre-wrap;
    background-color: #fafafa;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

a.wiki {
    color: #0088cc;
    font-weight:120;
}

.form-control:disabled, .form-control[readonly] {
    color: #273150;
}

.cui__menuLeft__logo__name {
    max-width: 100%;
}

.badge {
    margin-bottom: 2px;
    vertical-align: middle;
}

.table tr.scene {
    background: #ddf6d1;
}

.table tr.inventory {
    background: #ecfae6;
}

.table tr.object {
    background: #fefefe;
}

.table tr.object-add {
    background-color: #f5f5ff;
    opacity: 1;
    background-size: 10px 10px;
    background-image: repeating-linear-gradient(45deg, #ffffff 0, #ffffff 3px, #f5f5ff 0, #f5f5ff 50%);
}

.table tr.object-remove {
    background-color: #fff5f5;
    opacity: 1;
    background-size: 10px 10px;
    background-image: repeating-linear-gradient(45deg, #ffffff 0, #ffffff 3px, #fff5f5 0, #fff5f5 50%);
}

.ct-point {
    stroke-width: 8px;
}
.ct-hidden-points .ct-point {
    stroke-linecap: round;
}

.is-invalid {
    border-color: #dc3545;
}

.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: none;
    color: #dc3545;
}   

/*.tooltip.tooltip-validation .tooltip-inner {
    background-color: #dc3545;
    color: #fff; 
}

.tooltip.tooltip-validation .arrow::before {
    border-top-color: #dc3545; 
}*/

.form-group {
    position: relative;
}

.form-control-error {
    background: #f5222e;
    padding: 5px 8px;
    border-radius: 3px;
    position: absolute;
    right: 0;
    bottom: 37px;
    margin-bottom: 8px;
    max-width: 230px;
    font-size: 80%;
    z-index: 1;
}

.form-control-error:after {
    width: 0;
    height: 0;
    content: '';
    display: block;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: #f5222e transparent transparent;
    position: absolute;
    right: 20px;
    bottom: -4px;
    margin-left: -5px;
}

.form-control-error ul {
    list-style: none;
    color: #fff;
    padding: 0;
    margin: 0;
}

.form-control-error-list ul {
    list-style: none;
    color: #f5222e;
    padding: 0;
    margin: 5px 0 0 0;
    font-size: 80%;
    font-weight: 400;
}

.has-danger .select2-selection--single,
.has-danger .select2-selection--multiple {
    border-color: #f5222e !important;
}

.select2 .select2-selection--single .select2-selection__rendered {
    font-size: 1rem;
}

.editable-table + input, .editable-table input:focus {
    box-sizing: border-box;
}

/* Contenedor general de la galería */
.kit__gallery__items {
    display: flex;
    flex-wrap: wrap; /* Permite ajustar a múltiples filas */
    gap: 5px; /* Espaciado entre elementos */
    justify-content: flex-start; /* Alinea los elementos a la izquierda */
}

/* Cada item de la galería */
.kit__gallery__item {
    display: flex;
    flex-direction: column; /* Imagen y texto apilados verticalmente */
    align-items: flex-start; /* Texto alineado a la izquierda */
    width: 22.5rem; /* Ancho fijo */
    margin: 10px; /* Espaciado entre elementos */
    border: 1px solid #ddd; /* Opcional: borde para contenedor */
    border-radius: 5px; /* Bordes redondeados */
    background-color: #fff; /* Fondo blanco */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

.kit__gallery__item .element-image {
    width: 100%; /* La imagen ocupa todo el ancho del contenedor */
    height: 200px; /* Altura fija para mantener uniformidad entre imágenes */
    border-bottom: 1px solid #ddd; /* Línea separadora */
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    object-position: center; /* Centra la imagen si es recortada */
    border-radius: 5px; /* Bordes redondeados */
}

.kit__gallery__item .element-text {
    width: 100%; /* Texto ocupa todo el ancho del contenedor */
    padding: 10px; /* Espaciado interno */
    font-size: 14px;
    line-height: 1.5;
    color: #333; /* Color del texto */
    position: relative; /* Necesario para los íconos flotantes */
}

.element-text .badge {
    font-size: 12px; /* Tamaño pequeño para las etiquetas */
    padding: 3px 6px;
    margin-left: 5px;
    border-radius: 12px; /* Bordes redondeados */
}

.element-text i {
    float: right; /* Íconos alineados a la derecha */
    margin-left: 5px;
    cursor: pointer; /* Indica interactividad */
    color: #555; /* Color predeterminado de los íconos */
    transition: color 0.3s ease;
}

.element-text i:hover {
    color: #007bff; /* Cambia el color al pasar el cursor */
}

@media (max-width: 1200px) {
    .kit__gallery__item .element-image {
        height: 180px; /* Reduce la altura en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .kit__gallery__item .element-image {
        height: 150px; /* Reduce aún más la altura en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .kit__gallery__item {
        width: 100%; /* 1 columna por fila */
    }
}

.popover {
    max-width: 420px;
}


