/*
 CARGODEC LEGACY STYLE
 ORDEN=85
 ID=cargo_operacion_ped_m_vobo_css
 EXTRAIDO_DE=index.html
*/


/*
 * OPERACION:
 * numero de pedimento + M + VOBO.
 *
 * MF y PP se administran desde PEDIMENTOS.
 * Rectificar permanece en STATUS.
 */

#dash .opTripCardV2 .pedimentoCell{
  display:grid!important;
  grid-template-columns:
    minmax(64px,1fr)
    28px
    48px!important;
  gap:4px!important;
  align-items:center!important;
  justify-content:stretch!important;
  overflow:visible!important;
  min-width:0!important;
  white-space:nowrap!important;
}


/* NUMERO SIEMPRE VISIBLE */
#dash .opTripCardV2
.pedimentoCell .pedNumber{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;

  min-width:62px!important;
  width:auto!important;

  margin:0!important;
  padding:0 3px!important;

  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;

  font-size:12px!important;
  font-weight:900!important;
  line-height:28px!important;
}


/* M NORMAL */
#dash .opTripCardV2
.pedimentoCell
button[onclick*="subirArchivoMPedimento"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:28px!important;
  min-width:28px!important;
  height:28px!important;

  margin:0!important;
  padding:0!important;
}


/* VOBO */
#dash .opTripCardV2
.pedimentoCell .cargoPrBtn:not([hidden]){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:48px!important;
  min-width:48px!important;
  height:28px!important;

  margin:0!important;
  padding:0 4px!important;

  font-size:9px!important;
  font-weight:900!important;
}


/* DUPLICADOS PR QUE PUDIERAN CREAR PARCHES VIEJOS */
#dash .opTripCardV2
.pedimentoCell .cargoPrBtn[hidden]{
  display:none!important;
}


/*
 * YA NO SE MUESTRAN EN OPERACION:
 * M FINAL
 * PP
 * IMPRIMIR
 * ELIMINAR
 */
#dash .opTripCardV2
.pedimentoCell .cargoMFinalBtn,

#dash .opTripCardV2
.pedimentoCell .cargoPpBtn,

#dash .opTripCardV2
.pedimentoCell .printIconOk,

#dash .opTripCardV2
.pedimentoCell .deleteLoteBtn,

#dash .opTripCardV2
.pedimentoCell
button[onclick*="subirArchivoMFinalPedimento"],

#dash .opTripCardV2
.pedimentoCell
button[onclick*="subirPedimentoPagado"],

#dash .opTripCardV2
.pedimentoCell
button[onclick*="abrirPdfPedimento"],

#dash .opTripCardV2
.pedimentoCell
button[onclick*="eliminarLote"]{
  display:none!important;
}

