@page {
    margin: 0.5cm;

    webkit-transform: scale(0.8);
    transform: scale(0.8);
}

@media print {
    * {
        /* font-family: Arial, sans-serif; */
        /* font-size: 9px !important; */
        color: #000 !important;
        overflow: visible !important;
    }

    nav,
    footer,
    video,
    audio,
    object,
    embed {
        display: none;
    }

    html,
    body {
        background: transparent;
    }

    body {
        margin: 0;
        padding: 0;
        line-height: 1.4em;
    }

    html,
    body,
    .col-md-12,
    .visible-print,
    .yesPrint {
        float: none !important;
    }

    table tr th,
    table tr td {
        font-size: 9px !important;
        padding: 5px !important;
        line-height: 1.42857143;
    }

    .table-sm>:not(caption)>*>* {
        padding: .3rem .25rem
    }

    h1 {
        font-size: 18px !important;
    }

    h2 {
        font-size: 16px !important;
    }

    h3 {
        font-size: 15px !important;
    }

    h4 {
        font-size: 13px !important;
    }

    h5 {
        font-size: 12px !important;
    }

    p {
        font-size: 11px !important;
    }

    small,
    .small {
        font-size: 83% !important;
        line-height: 2.067 !important;
        ;
    }

    input[type="text"] {
        background-color: none;
        border: none;
    }

    .btn,
    .hidden-print {
        display: none !important;
    }

    .overflow-hidden {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .text-center {
        text-align: center !important;
    }

    .border-right {
        border-right: 1px solid gray !important;
    }

    .nowrap {
        white-space: nowrap !important;
    }

    .logo-header-print {
        margin: 25px 0 0 50px;
    }

    .clear {
        clear: both !important;
    }

    .quebraPagina,
    .page-break {
        page-break-after: always;
    }

    .bold {
        font-weight: bold !important;
    }

    .italic {
        font-style: italic !important;
    }

    .bg-primary {
        background-color: #004b83 !important;
        color: #fff !important;
    }

    .bg-success {
        background-color: #198754 !important;
        color: #fff !important;
    }

    .bg-danger {
        background-color: #dc3545 !important;
        color: #fff !important;
    }

    .bg-warning {
        background-color: #ffc107 !important;
        color: #fff !important;
    }

    .bg-secondary {
        background-color: #6c757d !important;
        color: #fff !important;
    }

    .bg-light {
        background-color: #f8f9fa !important;
        color: #000 !important;
    }

    .text-success {
        color: #198754 !important;
    }

    .text-danger {
        color: #dc3545 !important;
    }

    .text-white {
        color: #fff !important;
    }

    .text-secondary {
        color: #6c757d !important;
    }

    .text-warning {
        color: #ffc107 !important;
    }

    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        float: left;
    }

    .col-md-12,
    .col-lg-12 {
        width: 100%;
    }

    .col-md-11,
    .col-lg-11 {
        width: 91.66666667%;
    }

    .col-md-10,
    .col-lg-10 {
        width: 83.33333333%;
    }

    .col-md-9,
    .col-lg-9 {
        width: 75%;
    }

    .col-md-8,
    .col-lg-8 {
        width: 66.66666667%;
    }

    .col-md-7,
    .col-lg-7 {
        width: 58.33333333%;
    }

    .col-md-6,
    .col-lg-6 {
        width: 50%;
    }

    .col-md-5,
    .col-lg-5 {
        width: 41.66666667%;
    }

    .col-md-4,
    .col-lg-4 {
        width: 33.33333333%;
    }

    .col-md-3,
    .col-lg-3 {
        width: 25%;
    }

    .col-md-2,
    .col-lg-2 {
        width: 16.66666667%;
    }

    .col-md-1,
    .col-lg-1 {
        width: 8.33333333%;
    }

    .col-md-pull-12 {
        right: 100%;
    }

    .col-md-pull-11 {
        right: 91.66666667%;
    }

    .col-md-pull-10 {
        right: 83.33333333%;
    }

    .col-md-pull-9 {
        right: 75%;
    }

    .col-md-pull-8 {
        right: 66.66666667%;
    }

    .col-md-pull-7 {
        right: 58.33333333%;
    }

    .col-md-pull-6 {
        right: 50%;
    }

    .col-md-pull-5 {
        right: 41.66666667%;
    }

    .col-md-pull-4 {
        right: 33.33333333%;
    }

    .col-md-pull-3 {
        right: 25%;
    }

    .col-md-pull-2 {
        right: 16.66666667%;
    }

    .col-md-pull-1 {
        right: 8.33333333%;
    }

    .col-md-pull-0 {
        right: auto;
    }

    .col-md-push-12 {
        left: 100%;
    }

    .col-md-push-11 {
        left: 91.66666667%;
    }

    .col-md-push-10 {
        left: 83.33333333%;
    }

    .col-md-push-9 {
        left: 75%;
    }

    .col-md-push-8 {
        left: 66.66666667%;
    }

    .col-md-push-7 {
        left: 58.33333333%;
    }

    .col-md-push-6 {
        left: 50%;
    }

    .col-md-push-5 {
        left: 41.66666667%;
    }

    .col-md-push-4 {
        left: 33.33333333%;
    }

    .col-md-push-3 {
        left: 25%;
    }

    .col-md-push-2 {
        left: 16.66666667%;
    }

    .col-md-push-1 {
        left: 8.33333333%;
    }

    .col-md-push-0 {
        left: auto;
    }

    .col-md-offset-12 {
        margin-left: 100%;
    }

    .col-md-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-md-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-md-offset-9 {
        margin-left: 75%;
    }

    .col-md-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-md-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-md-offset-6 {
        margin-left: 50%;
    }

    .col-md-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-md-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-md-offset-3 {
        margin-left: 25%;
    }

    .col-md-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-md-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-md-offset-0 {
        margin-left: 0%;
    }

    .visible-xs {
        display: none !important;
    }

    .hidden-xs {
        display: block !important;
    }

    table.hidden-xs {
        display: table;
    }

    tr.hidden-xs {
        display: table-row !important;
    }

    th.hidden-xs,
    td.hidden-xs {
        display: table-cell !important;
    }

    .hidden-xs.hidden-print {
        display: none !important;
    }

    .hidden-sm {
        display: none !important;
    }

    .visible-sm {
        display: block !important;
    }

    table.visible-sm {
        display: table;
    }

    tr.visible-sm {
        display: table-row !important;
    }

    th.visible-sm,
    td.visible-sm {
        display: table-cell !important;
    }

    .fa,
    .fa::before,
    .svg-inline--fa,
    .svg-inline--fa::before,
    svg>path {
        height: 9px !important;
        /* Ajuste o tamanho do SVG */
        font-size: 9px !important;
        color: #000 !important;
    }

    svg.fa-icon {
        width: 9px !important;
        /* Ajuste o tamanho do SVG */
        height: auto !important;
    }

    .fs-8 {
        font-size: 8px !important;
    }

    .badge {
        font-size: 9px !important;
    }

    .card,
    .card-body {
        margin: 5px 0 !important;
        padding: 0 0 !important;
    }

    .card-header {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .avatar-sm {
        width: 40px !important;
        height: 40px !important;
    }

    .avatar-sm i {
        font-size: 18px !important;
    }

    .avatar-xs {
        width: 30px !important;
        height: 30px !important;
    }

    .avatar-xs i {
        font-size: 14px !important;
    }

    .avatar-lg {
        border: none;
        width: 2cm;
    }

    .avatar-sm i {
        font-size: 18px !important;
        /* Ajuste o tamanho do ícone se necessário */
    }

    .avatar-xs {
        width: 30px !important;
        height: 30px !important;
    }

    .avatar-xs i {
        font-size: 14px !important;
        /* Ajuste o tamanho do ícone se necessário */
    }

    .avatar-lg {
        border: none;
        width: 2cm;
    }

    #foto-membro {
        border-radius: 10px !important;
    }

    .apexcharts-toolbar,
    .apexcharts-legend-series,
    .apexcharts-legend,
    .apexcharts-hidden-element-shim {
        display: none !important;
    }

    /* Usado para impressão dos comprovantes do lote */
    .avoid-break {
        -moz-column-break-inside: avoid;
             break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Página de detalhes do membro */
    .col-12.mb-3,
    .card {
        margin-bottom: 10px !important;
    }

    .card {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .card-header {
        border-bottom: 1px solid #ddd !important;
        padding: 5px 0 !important;
        margin-bottom: 10px !important;
    }

    .card-header h5 {
        font-size: 14px !important;
        margin-bottom: 0 !important;
    }

    .card-body {
        padding: 5px 0 !important;
    }

    .row.g-3 {
        margin: 0 !important;
    }

    .row.g-3>div {
        padding: 2px 5px !important;
        margin-bottom: 5px !important;
    }

    .d-flex.gap-3 {
        gap: 10px !important;
    }

    .d-flex.flex-column.gap-3 {
        gap: 15px !important;
    }

    .avatar-md {
        width: 50px !important;
        height: 50px !important;
    }

    .avatar-md i {
        font-size: 25px !important;
    }

    .rounded-circle {
        width: 60px !important;
        height: 60px !important;
    }

    .badge {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }

    .mb-3,
    .mb-2,
    .mb-1 {
        margin-bottom: 5px !important;
    }

    .mt-3 {
        margin-top: 10px !important;
    }

    h5 {
        font-size: 13px !important;
    }

    h6 {
        font-size: 12px !important;
    }

    .text-muted.small,
    small {
        font-size: 10px !important;
    }

    p {
        margin-bottom: 3px !important;
    }

    .d-flex.justify-content-between.align-items-center.flex-wrap.gap-2,
    .d-flex.gap-2 {
        display: none !important;
    }

    .d-flex.flex-column.gap-3 {
        display: flex !important;
    }

    .d-flex.gap-3 {
        display: flex !important;
    }

    img {
        border-radius: 10px !important;
        -webkit-border-radius: 10px !important;
        -moz-border-radius: 10px !important;
    }

    img.rounded-circle,
    img.shadow-sm,
    .rounded-circle {
        border-radius: 50% !important;
        -webkit-border-radius: 50% !important;
        -moz-border-radius: 50% !important;
    }
}
