.cuerpo {
  width: 90%;
  margin: 0 auto;
}

.ocultaron {
  display: none;
}

.error {
  background: #ff9197;
  border: 1px solid red;
}

.space {
  margin-top: 2%;
}

.space2 {
  margin-top: 4%;
}

.space3 {
  margin-top: 8%;
}

.th_right {
  text-align: right;
}

.th_lef {
  text-align: left;
}

.th_center {
  text-align: center;
}

.btn-mini {
  padding: 1px 6px;
  font-size: 11px;
  line-height: 14px;
}

/*Metro Background color class*/
.bg_lb {
  background: #27a9e3;
}

.bg_db {
  background: #2295c9;
}

.bg_lg {
  background: #28b779;
}

.bg_dg {
  background: #28b779;
}

.bg_ly {
  background: #ffb848;
}

.bg_dy {
  background: #da9628;
}

.bg_ls {
  background: #2255a4;
}

.bg_lo {
  background: #da542e;
}

.bg_lr {
  background: #f74d4d;
}

.bg_lv {
  background: #603bbc;
}

.bg_lh {
  background: #b6b3b3;
}

.bg_la {
  background: #c5e8fa;
}

.bg-blue {
  background-color: #358ed7;
}

.bg-orange {
  background-color: #ffbe0b;
}

.bg-inverse {
  color: #fff;
}

.bg-purple {
  background-color: #9d02cf;
}

.bg-cyan {
  background-color: #39add1;
}

.text-muted {
  color: #86939e;
}

#loading {
  /*display: none;
  /* Oculto por defecto */
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.spinner {
  border: 8px solid #f3f3f3;
  /* Color de fondo */
  border-top: 8px solid #3498db;
  /* Color del borde superior */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.modal-body img {
  width: 1000px;
  height: 1000px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}


.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 100px 0 40px 0;
  /* Más espacio arriba para los globos */
  overflow: hidden;
}

/* Línea central */
.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #0077FFFF;
  /* Color de la línea central */
  z-index: 1;
}

/* Elementos de la línea de tiempo */
.timeline-item {
  position: relative;
  text-align: center;
  width: 15%;
  z-index: 2;
  animation: fadeIn 1s ease-in-out;
}

/* Círculo sobre la línea */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #007bff;
  /* Color por defecto del círculo */
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* Fechas */
.timeline-item .date {
  font-weight: bold;
  color: #007bff;
  margin-bottom: 45%;
}

/* Descripción */
.timeline-item p {
  font-size: 14px;
  color: #555;
  margin-top: 1%;
  /* Espacio entre la fecha y la descripción */
}

/* Globo de estatus */
.timeline-item .status-bubble {
  position: absolute;
  top: -40px;
  /* Posición arriba del círculo */
  left: 35%;
  transform: translateX(-50%);
  background: #FFA500;
  /* Naranja por defecto (Pendiente) */
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

/* Colores de los círculos según el estado */
.timeline-item.pending::before {
  border-color: #FFA500;
  /* Naranja para Pendiente */
}

.timeline-item.assigned::before {
  border-color: #4388D1FF;
  /* Azul para Asignado */
}

.timeline-item.iniciado::before {
  border-color: #007bff;
  /* Azul para Asignado */
}

.timeline-item.paused::before {
  border-color: #dc3545;
  /* Rojo para Pausado */
}

.timeline-item.completed::before {
  border-color: #28a745;
  /* Verde para Terminado */
}

.timeline-item.delivered::before {
  border-color: #000000;
  /* Negro para Entregado */
}

/* Colores de los globos según el estado */
.timeline-item.pending .status-bubble {
  background: #FFA500;
  /* Naranja para Pendiente */
}

.timeline-item.assigned .status-bubble {
  background: #4388D1FF;
  /* Azul para Asignado */
}

.timeline-item.iniciado .status-bubble {
  background: #007bff;
  /* Azul para Asignado */
}

.timeline-item.paused .status-bubble {
  background: #dc3545;
  /* Rojo para Pausado */
}

.timeline-item.completed .status-bubble {
  background: #28a745;
  /* Verde para Terminado */
}

.timeline-item.delivered .status-bubble {
  background: #000000;
  /* Negro para Entregado */
}

/* Animación para el globo */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-fixed {
  table-layout: fixed;
  width: 100%;
}

.enlace-estilo {
  cursor: pointer;
}