/* Generated by tools/css_bundle.php from print_common.src.css. Edit the sources and run the tool. */
/* A sheet of ours in the "legacy" layer, before aulacore-theme.css as before, with its AulaCore twins (tools/css_bundle.php). */
@layer reset, vendor, tokens, base, components, legacy, vendor-important;
/* ../print_common.src.css */
@layer legacy {
/*
 * Reglas de impresion comunes a todas las pantallas del panel y del portal (se sirve como layered/print_common.css, en la
 * capa "legacy"). Debajo se importan las hojas de cada documento impreso.
 */
@media print {
    .no-print, .no-print * { display: none !important; }

    body { margin: 0; padding: 0; font-family: 'Roboto', arial; line-height: 1.42857143; text-align: left; }/* Botones que quedan en el papel (por ejemplo, el de anular un recibo): medidas fijas y rojo de peligro. */


    .ac-btn {
        vertical-align: middle;
        display: inline-block;
        padding: 6px 12px;
        margin-bottom: 0;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.42857143;
        white-space: nowrap;
        text-align: center;
        background-image: none;
        border: 1px solid transparent;
        cursor: pointer;
        border-radius: 4px;
        user-select: none;
        touch-action: manipulation;
    }
    .ac-btn--danger { border-color: #d43f3a; background-color: #d9534f; color: #fff; }/* Columnas y visibilidad que se conservan al imprimir. */


    .ac-float-right { float: right !important; }
    .ac-col-sm-3, .ac-col-sm-6 { float: left; }
    .ac-col-sm-3 { width: 25%; }
    .ac-col-sm-6 { width: 50%; }
    .ac-hidden-xs { display: block !important; }
    table.ac-hidden-xs { display: table; }
    tr.ac-hidden-xs { display: table-row !important; }
    th.ac-hidden-xs, td.ac-hidden-xs { display: table-cell !important; }
    .ac-hidden-xs.ac-print-hidden { display: none !important; }
    .ac-text-center { text-align: center; }

    table.dataTable thead th { text-align: left !important; }
    .ac-statusimg li + li { padding-left: 5px; }/* Ficha del alumno en PDF (print/student_detail_print.php). */


    .ac-denifittable { border-collapse: collapse; text-align: left; }
    .ac-denifittable th, .ac-denifittable td {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-collapse: collapse;
        line-height: normal;
        text-align: left;
    }
    .ac-denifittable th { font-weight: bold; }
    .ac-heading-h2 { font-size: 18px; text-transform: uppercase; }
    .ac-pt-20 { padding-top: 24px; }
    .ac-pb-20 { padding-bottom: 6px; }
}

/* ../print/paper.css */
/*
 * Paper formats of every printed or PDF document. Letter (8.5 x 11 in) is the default; a document picks another
 * sheet with an .ac-print--* class on its root (or <html>/<body>): statistics use legal landscape, the grade
 * certificate legal and cash receipts thermal 80 mm or letter. Margins match the side insets of the shared
 * print header and footer (frame/print/header, frame/print/footer), so the content lines up with them.
 * size is written as lengths so every engine reads the same sheet. The PDF engine of the host (dompdf, through
 * hosts/laravel/app/Portable/PdfAdapter.php) knows no named pages: the adapter reads the .ac-print--* class of the
 * document and sets the same sheet itself. Imported by print_common.src.css and linked by the standalone documents.
 */
@page { size: 8.5in 11in; margin: 10mm 10mm 8mm; }
@page ac-letter { size: 8.5in 11in; margin: 10mm 10mm 8mm; }
@page ac-letter-landscape { size: 11in 8.5in; margin: 10mm 10mm 8mm; }
@page ac-legal { size: 8.5in 14in; margin: 10mm 10mm 8mm; }
@page ac-legal-landscape { size: 14in 8.5in; margin: 10mm 10mm 8mm; }
@page ac-thermal { size: 80mm 300mm; margin: 0; }

.ac-print--letter { page: ac-letter; }
.ac-print--letter-landscape { page: ac-letter-landscape; }
.ac-print--legal { page: ac-legal; }
.ac-print--legal-landscape { page: ac-legal-landscape; }
.ac-print--thermal { page: ac-thermal; }/* Shared header and footer of standalone documents: no side inset of their own, so they share the page margins. */


.ac-print-header,
.ac-print-footer { box-sizing: border-box; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; text-align: center; }
.ac-print-header { border-bottom: 1px solid #111; margin-bottom: 4mm; padding-bottom: 2mm; }
.ac-print-header img { max-width: 100%; height: auto; }/* Configured print header image (Settings get_print_header_display_html): it never outgrows the header band. */

img.ac-print-header-image { max-width: 100% !important; max-height: 21mm !important; }
.ac-print-footer { border-top: 1px solid #111; margin-top: 4mm; padding-top: 1mm; font-size: 9pt; color: #222; }

/* Wide tables wrap their cells instead of being clipped at the page edge. */
@media print {
    .ac-print table { width: 100%; max-width: 100%; }
    .ac-print th,
    .ac-print td { overflow-wrap: anywhere; word-break: break-word; }
}/* ../print/student-details.css *//* PDF de la ficha del estudiante (print/views/print/student_detail_print.php, dibujado por dompdf con esta hoja). */



.ac-print-student { width: 100%; margin: 0 auto; text-align: left; }
.ac-print-student__header { border-bottom: 1px solid #ddd; }
.ac-print-student__photo { width: 65px; height: 65px; }
.ac-print-student__barcode { width: 130px; height: 65px; }
.ac-print-student__address-col { width: 360px; }/* ../print/staff-idcard.css *//*
 * Staff ID cards: the printed cards (Staff/views/admin/generatestaffidcard/staff_id_card_multi_print.php, printed
 * through AulaCoreDataTables.print.document) and the design preview (Staff/views/admin/staffidcard/staff_id_card_template_preview.php,
 * shown in a dialog). The declarations used to be inline style attributes, so they keep their precedence over the
 * card stylesheets (id_card_sheet.css) with !important. The design's header colour arrives as --ac-idcard-header through
 * data-ac-vars on the .ac-staff-idcard root.
 */



.ac-staff-idcard .ac-staff-idcard__header-bg { background: var(--ac-idcard-header) !important; }
.ac-staff-idcard .ac-staff-idcard__white { background: #fff !important; }
.ac-staff-idcard .ac-staff-idcard__gray { background: #efefef !important; }
.ac-staff-idcard .ac-staff-idcard__center { text-align: center !important; }
.ac-staff-idcard .ac-staff-idcard__bg { opacity: .1 !important; }/* Vertical card */


.ac-staff-idcard .ac-staff-idcard__vhead { text-align: center !important; color: #fff !important; padding: 5px 5px !important; min-height: 98px !important; display: block !important; }
.ac-staff-idcard .ac-staff-idcard__vtitle { color: #fff !important; position: relative !important; z-index: 1 !important; text-align: center !important; vertical-align: top !important; }
.ac-staff-idcard .ac-staff-idcard__vname { font-size: 16px !important; line-height: 8px !important; }
.ac-staff-idcard .ac-staff-idcard__vlogo { vertical-align: middle !important; width: 30px !important; }
.ac-staff-idcard .ac-staff-idcard__vaddress { color: #fff !important; text-align: center !important; }
.ac-staff-idcard .ac-staff-idcard__vphoto-row { margin-top: -50px !important; position: relative !important; z-index: 1 !important; }
.ac-staff-idcard .ac-staff-idcard__vphoto { border-radius: 8px !important; border: 3px solid var(--ac-idcard-header) !important; }
.ac-staff-idcard .ac-staff-idcard__vstaff-name { margin: 0 !important; text-transform: uppercase !important; font-weight: bold !important; margin-top: 10px !important; }
.ac-staff-idcard .ac-staff-idcard__vdesignation { font-size: 15px !important; color: #9b1818 !important; }
.ac-staff-idcard .ac-staff-idcard__vdetails { background: #fff !important; padding: 5px 5px !important; display: block !important; width: 90% !important; margin: 0 auto !important; }
.ac-staff-idcard .ac-staff-idcard__vsign { width: 150px !important; height: 24px !important; }
.ac-staff-idcard .ac-staff-idcard__vbarcode { max-width: 80px !important; max-height: 80px !important; }/* Horizontal card */


.ac-staff-idcard .ac-staff-idcard__hhead { overflow: visible !important; background: var(--ac-idcard-header) !important; }
.ac-staff-idcard .ac-staff-idcard__haddress { padding: 1px 0 !important; position: relative !important; z-index: 1 !important; }
.ac-staff-idcard .ac-staff-idcard__htitle { color: #fff !important; font-size: 16px !important; text-align: center !important; padding: 2px 0 0 !important; position: relative !important; z-index: 1 !important; background: var(--ac-idcard-header) !important; text-transform: uppercase !important; }
.ac-staff-idcard .ac-staff-idcard__hround { overflow: visible !important; }
.ac-staff-idcard .ac-staff-idcard__hbarcode { width: 90% !important; margin: 0 auto !important; }
.ac-staff-idcard .ac-staff-idcard__barcode-img { max-width: 65px !important; margin: 0 auto !important; height: auto !important; }/* Design preview (its own card rules, formerly a <style> block of the preview) */


.ac-staff-idcard--preview .ac-tc-container { width: 100%; position: relative; text-align: center; }/* Watermark pinned to the bottom centre of the card, 200 px square. */

.ac-staff-idcard--preview .ac-tcmybg { width: 200px; height: 200px; position: absolute; inset: auto 0 10px; margin-inline: auto; background: top center / contain; }
.ac-staff-idcard--preview .ac-studenttop img { vertical-align: top; width: 30px; }
.ac-staff-idcard--preview .ac-studenttop { background: var(--ac-idcard-header); padding: 2px; color: #fff; overflow: hidden; position: relative; z-index: 1; }
.ac-staff-idcard--preview .ac-sttext1 { font-size: 24px; font-weight: bold; line-height: 30px; }
.ac-staff-idcard--preview .ac-stgray { background: #efefef; padding-top: 5px; padding-bottom: 10px; }
.ac-staff-idcard--preview .ac-staddress { margin-bottom: 0; padding-top: 2px; }
.ac-staff-idcard--preview .ac-stdivider { border-bottom: 2px solid #000; margin-top: 5px; margin-bottom: 5px; }
.ac-staff-idcard--preview .ac-stlist { padding: 0; margin: 0; list-style: none; }
.ac-staff-idcard--preview .ac-stlist li { text-align: left; display: inline-block; width: 100%; padding: 0 5px; color: #000; }
.ac-staff-idcard--preview .ac-stlist li span { width: 65%; float: right; }
.ac-staff-idcard--preview .ac-stimg { width: 80px; height: auto; }
.ac-staff-idcard--preview .ac-stimg img { width: 100%; height: auto; border-radius: 2px; display: block; }
.ac-staff-idcard--preview .ac-img-round { border-radius: 50% !important; }
.ac-staff-idcard--preview .ac-staround { padding: 3px 10px 3px 0; position: relative; overflow: hidden; }
.ac-staff-idcard--preview .ac-staround2 { position: relative; z-index: 9; }
.ac-staff-idcard--preview .ac-stbottom { background: #453278; height: 20px; width: 100%; clear: both; margin-bottom: 5px; }
.ac-staff-idcard--preview .principal { margin-top: -40px; margin-right: 10px; float: right; }
.ac-staff-idcard--preview .ac-stred { color: #000; }
.ac-staff-idcard--preview .ac-spanlr { padding-left: 5px; padding-right: 5px; }
.ac-staff-idcard--preview .ac-cardleft { width: 20%; float: left; }
.ac-staff-idcard--preview .ac-cardright { width: 77%; float: right; }
.ac-staff-idcard--preview .signature { border: 1px solid #ddd; display: block; text-align: center; padding: 5px 20px; margin-top: 10px; }
.ac-staff-idcard--preview .ac-vertlist { padding: 0; margin: 0; list-style: none; }
.ac-staff-idcard--preview .ac-vertlist li { color: #000; text-align: left; padding-bottom: 5px; width: 100%; display: inline-block; }
.ac-staff-idcard--preview .ac-vertlist li span { width: 65%; float: right; }
.ac-staff-idcard--preview .ac-staff-idcard__pvhead { text-align: center !important; color: #fff !important; padding: 10px !important; min-height: 110px !important; display: block !important; }
.ac-staff-idcard--preview .ac-staff-idcard__pvtitle { color: #fff !important; position: relative !important; z-index: 1 !important; }
.ac-staff-idcard--preview .ac-staff-idcard__pvaddress { color: #fff !important; }
.ac-staff-idcard--preview .ac-staff-idcard__pvphoto-row { margin-top: -40px !important; position: relative !important; z-index: 1 !important; }
.ac-staff-idcard--preview .ac-staff-idcard__pvphoto { border: 5px solid var(--ac-idcard-header) !important; }
.ac-staff-idcard--preview .ac-staff-idcard__pvdetails { background: #fff !important; padding: 20px 20px !important; display: block !important; }
.ac-staff-idcard--preview .ac-staff-idcard__pcell { padding: 3px !important; }
.ac-staff-idcard--preview .ac-staff-idcard__paddress { padding: 1px 0 !important; }
.ac-staff-idcard--preview .ac-staff-idcard__phtitle { color: #fff !important; font-size: 16px !important; padding: 2px 0 0 !important; position: relative !important; z-index: 1 !important; background: var(--ac-idcard-header) !important; text-transform: uppercase !important; }
.ac-staff-idcard--preview .ac-staff-idcard__pbarcode { width: 80% !important; }/* ../print/staff-payslip.css *//*
 * Payslip (Staff/views/admin/payroll/payslip_page.php). The payslip is a whole document, so its print frame does not
 * copy the page stylesheets: the view links this file itself (it is also part of print_common.css). The declarations
 * used to be inline style attributes and keep that precedence with !important.
 */



.ac-payslip-header-cell { height: 100px !important; width: 850px !important; }
.ac-payslip-title { margin: 10px 0 20px !important; }


}
