/* Diseño de los modelos alternativos: no modifica los formatos existentes. */
.doc.cert-model { color: #000; font-family: Calibri, Arial, sans-serif; font-size: 14.23px; line-height: 1.2; }
.doc.cert-siga { font-family: Arial, sans-serif; font-size: 14.29px; }
.cert-model .cert-membrete { margin-bottom: 12px; }
.cert-model .cert-membrete .doc-logo { max-height: 88px; }
.cert-model table { table-layout: fixed; }
.cert-model td, .cert-model th { vertical-align: top; word-wrap: break-word; overflow-wrap: anywhere; }
.cert-model .cert-kv td { border: 0; padding: 3px 4px; }
.cert-model .cert-kv td:first-child { width: 25%; }
.cert-model .cert-kv td:nth-child(2) { width: 2%; }
.cert-model .cert-kv td:nth-child(3) { width: 73%; }
.cert-oficio > .cert-kv td:first-child { width: 18%; }
.cert-oficio > .cert-kv td:nth-child(3) { width: 80%; }
.cert-model .cert-registro { text-align: right; font-size: 12.44px; }
.cert-model .cert-titulo { text-align: left; font-size: 16px; text-decoration: underline; margin: 10px 0 12px; }
.cert-model .cert-intro { border-top: 1px solid #111; padding-top: 12px; margin-top: 12px; margin-bottom: 8px; text-indent: 24px; }
.cert-model .cert-resumen td { border: 0; padding: 3px 2px; }
.cert-model .cert-resumen td:first-child { width: 20%; }
.cert-model .cert-resumen td:last-child { width: 80%; }
.cert-model .cert-marco { border: 1px solid #444; margin-top: 8px; padding: 3px; }
.cert-model .cert-marco p { margin: 4px 0 8px; }
.cert-model .cert-marco .cert-kv td:first-child { width: 20%; font-weight: 700; background: #dae5f4; }
.cert-model .cert-marco .cert-kv td:nth-child(3) { width: 78%; }
.cert-model .cert-presupuesto { margin-top: 8px; }
.cert-model .cert-presupuesto th { padding: 3px; background: #d9d9d9; font-size: 12.44px; text-align: center; }
.cert-model .cert-presupuesto td { padding: 4px; font-size: 12.44px; }
.cert-model .cert-presupuesto th:nth-child(1) { width: 20%; }
.cert-model .cert-presupuesto th:nth-child(2) { width: 44%; }
.cert-model .cert-presupuesto th:nth-child(3) { width: 21%; }
.cert-model .cert-presupuesto th:nth-child(4) { width: 15%; }
.cert-model .cert-presupuesto tr:last-child td { background: #bbdde8; border-top: 1px solid #111; }
.cert-model .cert-monto { text-align: right; }
.cert-model .cert-presupuesto tr:first-child .cert-monto { background: #dae5f4; }
.cert-model .cert-estructura th { background: #d9d9d9; text-align: center; padding: 4px; }
.cert-model .cert-estructura td { background: #dae5f4; padding: 3px; }
.cert-model .cert-estructura td:first-child { width: 10%; }
.cert-model .cert-estructura td:last-child { width: 90%; }
.cert-model .cert-cadena { margin-top: 6px; }
.cert-model .cert-cadena th, .cert-model .cert-cadena td { border: 1px solid #bbb; padding: 3px; font-size: 12.44px; }
.cert-model .cert-cadena th { background: #d9d9d9; font-size: 12.44px; text-align: center; }
.cert-model .cert-cadena th:first-child { width: 45%; }
.cert-model .cert-cadena th:nth-child(2), .cert-model .cert-cadena th:nth-child(3), .cert-model .cert-cadena th:nth-child(7) { width: 9%; }
.cert-model .cert-cadena th:nth-child(4) { width: 8%; }
.cert-model .cert-cadena th:nth-child(5), .cert-model .cert-cadena th:nth-child(6) { width: 10%; }
.cert-model .cert-meta { margin: 5px 0; }
.cert-model .cert-meta td { padding: 3px; }
.cert-model .cert-meta td:first-child { width: 8%; background: #dae5f4; }
.cert-model .cert-meta td:last-child { width: 92%; }
.cert-model .cert-cierre { text-align: center; margin: 12px 0; }
.cert-model .doc-firmas { margin-top: 36px; }
.cert-model .doc-firma { font-size: 14.23px; }
.cert-siga .doc-firma { font-size: 12.37px; }
.cert-model .cert-emision td { border: 0; text-align: right; padding: 0 0 4px; }
.cert-model .cert-emision td:first-child { width: 75%; }
.cert-model .cert-emision td:last-child { width: 25%; }
.cert-model .cert-seccion { font-size: 14.23px; text-decoration: underline; margin: 14px 0 5px; }
.cert-model .cert-fecha-firma { margin-top: 24px; }
.cert-model .cert-disponibilidad th, .cert-model .cert-producto th { border: 1px solid #111; font-weight: 400; padding: 3px; text-align: center; }
.cert-model .cert-disponibilidad td, .cert-model .cert-producto td { border: 0; padding: 3px; font-size: 12.44px; }
.cert-model .cert-disponibilidad th:nth-child(1) { width: 6%; }
.cert-model .cert-disponibilidad th:nth-child(2) { width: 8%; }
.cert-model .cert-disponibilidad th:nth-child(3), .cert-model .cert-disponibilidad th:nth-child(4) { width: 25%; }
.cert-model .cert-disponibilidad th:nth-child(5), .cert-model .cert-disponibilidad th:nth-child(6) { width: 18%; }
.cert-model .cert-producto th:nth-child(1) { width: 8%; }
.cert-model .cert-producto th:nth-child(2) { width: 74%; }
.cert-model .cert-producto th:nth-child(3) { width: 18%; }
@media print { .doc.cert-model { padding: 0; } .cert-model thead { display: table-header-group; } .cert-model .doc-firmas { break-inside: avoid; } }

.cert-siga .doc-firma { width: 45%; }

.cert-siga .cert-kv td:first-child { width: 31%; }
.cert-siga .cert-disponibilidad th:nth-child(2) { width: 9%; } .cert-siga .cert-disponibilidad th:nth-child(3) { width: 24%; }

.cert-siga .cert-kv td:nth-child(3) { width: 67%; }

/* El detalle se comparte con la ficha de solicitud y admite varias metas y rubros. */
.doc .cert-financiamiento { table-layout: fixed; width: 100%; margin: 8px 0; }
.doc .cert-financiamiento th, .doc .cert-financiamiento td { border: 1px solid #bbb; padding: 5px; font-size: 12.44px; vertical-align: top; overflow-wrap: anywhere; }
.doc .cert-financiamiento th { background: #d9d9d9; text-align: center; }
.doc .cert-financiamiento th:nth-child(1) { width: 27%; }
.doc .cert-financiamiento th:nth-child(2) { width: 38%; }
.doc .cert-financiamiento th:nth-child(3) { width: 20%; }
.doc .cert-financiamiento th:nth-child(4) { width: 15%; }
.doc .cert-financiamiento tr:last-child td { background: #bbdde8; }
.doc .cert-financiamiento .cert-monto { text-align: right; }
.cert-model .cert-meta-titulo { margin-top: 12px; }
@media print { .doc .cert-financiamiento thead { display: table-header-group; } .doc .cert-financiamiento tr { break-inside: avoid; } }

.doc .cert-fin-titulo { font-size: 14.23px; margin: 16px 0 8px; break-after: avoid; }
@media print { .doc .cert-financiamiento { break-inside: avoid; } }
