/** ==========================================================
    ================== PDF BASIC STYLING =====================
    ========================================================== */

/**
 * Because we want to avoid relying on external libs,
 * all CSS for PDFs has to written from scratch.
 */

 .pdf-code-bare {
    width: 800px !important;
    margin: auto;
}

.pdf-code-bare .code-bare {
    width: 240px !important;
    height: 109px !important;
    border: 1px solid lightblue;
    padding-top: 5px;
    display: inline-block;
    margin: 4px;
    z-index: 1;
}

.pdf * {
    all: initial;
    font-family: "Arial";
    color: black;
    font-size: 12px;
}

.pdf div {
    display: block;
    position: relative;
}

.pdf p {
    display: block;
    position: relative;
}

.pdf {
    padding-left: 18px;
    padding-right: 18px;
    min-height: 1000px;
}

.pdf table {
    width: 100%;
    display: table;
    border-spacing: 0px;
    border: none;
    border-collapse: collapse;
    background-color: none;
}

.pdf table * {
    padding: 8px;
}

.pdf table th {
    display: table-cell;
    vertical-align: inherit;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border: none;
    border-bottom: 1px solid gray;
}

.pdf table tr {
    display: table-row;
    vertical-align: inherit;
}

.pdf table td {
    display: table-cell;
    vertical-align: inherit;
    border-bottom: 1px solid gray;
    background-color: none;
}

.pdf table thead {
    display: table-header-group;
    vertical-align: middle;
    border: none;
}

.pdf table th * {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: white;
    border: none;
}

.pdf .table-bordered td, .table-bordered th {
    border: none;
}

.pdf .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
}

.pdf table tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

.pdf table tfoot {
    display: table-footer-group;
    vertical-align: middle;
    border-color: inherit;
}

.pdf .e4mad-logo-container {
    max-width: 350px;
    height: 150px;
    padding: 0;
    margin: 10px auto;
}

.pdf .e4mad-logo {
    max-width: 350px;
    height: 150px;
    margin: 0px auto;
}

.pdf .contacts {
    border-left: 3px solid black;
    padding-left: 10px;
    text-align: left;
    margin: 10px;
}

.pdf .contacts h1 {
    color: black;
    font-size: 14px;
    line-height: 24px;
    font-weight: bold;
}

.pdf .contacts p {
    margin: 0;
    padding: 0;
    color: black;
    font-size: 12px;
    line-height: 16px;
}

.pdf .stamp {
    width: 90%;
    font-size: 24px;
    font-weight: bold;
    margin: 10px auto;
    text-align: center;
    color: white;
    min-height: 80px;
    line-height: 40px;
    border-radius: 2px;
    padding: 10px;
}

.pdf .address {
    padding: 20px;
}

.pdf .address p {
    color: black;
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    margin: 0;
    padding: 0;
}

.pdf p.mention {
    font-size: 12px;
    line-height: 14px;
    font-weight: bold;
    font-style: italic;
}

.pdf .in-block {
    display: inline-block;
    vertical-align: top;
}

.pdf .w-50-perc {
    width: 49%;
}

.pdf .text-left {
    text-align: left;
}

.pdf .fa-check {
    padding: 0;
    margin: 0;
    width: 12px;
    height: 100%;
    margin-top: -6px;
    margin: 0px;
}

.pdf .fa-check::before {
    color: #17a2b8!important;
    content: '✔';
}

.pdf .fl-fix {
    overflow: auto;
}

.pdf .fl-right {
    float: right;
}

.pdf .float-right {
    float: right;
}

.pdf .fl-right::after {
    content: "";
    display: block;
    clear: both;
}

.pdf .summary * {
    color: white;
    font-weight: bold;
}

.pdf .summary table {
    padding: 10px;
    width: 300px;
    margin-top: 18px;
    margin-bottom: 10px;
    border: none;
    border-radius: 2px;
    font-weight: bold;
}

.pdf .summary table tr {
    border: none;
    background-color: transparent;
}

.pdf .summary table td {
    padding: 8px 15px;
    border: none;
    background-color: transparent;
}

.pdf .break-word {
    word-wrap: break-word;
    word-break: break-all;
}

/** ==========================================================
    ======================== COLORS ==========================
    ========================================================== */

.pdf .blue-bg {
    background-color: var(--secondary);
}

.pdf .blue-table table thead {
    background-color: var(--secondary);
}

.pdf .blue-table table tr:nth-child(even) {
    background-color: #f3e4d1;
}

.pdf .green-table table thead {
    background-color: #35b814;
}

.pdf .green-table table tr:nth-child(even) {
    background-color: rgba(31, 231, 31, 0.2);
}

.pdf .green-bg {
    background-color: #3ba048;
}

.pdf .green-table table thead {
    background-color: #3ba048;
}

.pdf .green-table table tr:nth-child(even) {
    background-color: rgba(59, 160, 72, 0.2);
}

/** ==========================================================
    ========================= MISC ===========================
    ========================================================== */

.pdf-text-center {
    text-align: center;
}

.CheckedStar {
    text-align: center;
}

.pdf td .blue-checked {
    margin: 0 auto;
    background-color: rgb(0, 110, 255);
    min-width: 40px;
    max-width: 75px;
    height: 25px;
    border-radius: 2px;
}

.pdf td .green-checked {
    margin: 0 auto;
    background-color: #3ba048;
    min-width: 40px;
    max-width: 75px;
    height: 25px;
    border-radius: 2px;
}

.pdf td .unchecked {
    margin: 0 auto;
    background-color: rgb(173, 173, 173);
    min-width: 40px;
    max-width: 75px;
    height: 25px;
    border-radius: 2px;
}

.pdf .imgsize {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.pdf .col-4 {
    width: 32%;
    display: inline-block;
    height: 40px;
    text-align: top;
    vertical-align: top;
}

.pdf .col-8 {
    width: 64%;
    display: inline-block;
    height: 40px;
    text-align: top;
    vertical-align: top;
}

.pdf .light-card {
    border-radius: 3px;
    padding: 20px;
    border: 1px solid rgb(219, 219, 219);
    background-color: rgb(247, 247, 247);
    margin-bottom: 18px;
}

.pdf .light-card * {
    font-size: 14px;
    line-height: 14px;
}

.pdf .h1 {
    margin-bottom: 18px;
    font-weight: bold;
}

.pdf .h1 * {
    font-size: 18px;
    line-height: 18px;
}

.pdf .col-md-3 {
    width: 24%;
    max-width: 24%;
    display: inline-block;
    text-align: top;
    vertical-align: top;
}

.pdf .col-md-4 {
    width: 32%;
    max-width: 32%;
    display: inline-block;
    text-align: top;
    vertical-align: top;
}

.pdf .col-md-5 {
    width: 40%;
    max-width: 40%;
    display: inline-block;
    text-align: top;
    vertical-align: top;
}

.pdf .col-md-6 {
    width: 49%;
    max-width: 49%;
    min-width: 49%;
    display: inline-block;
    text-align: top;
    vertical-align: top;
}

.pdf .pad-3 {
    margin: 15px;
}

.pdf .pad-right-3 {
    padding-right: 15px;
}

.pdf .max-height-200 {
    max-height: 200px;
}

.pdf .min-height-200 {
    min-height: 200px;
}

.pdf .blue-border {
    border: 2px solid #007bff;
    border-radius: 3px;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pdf .green-border {
    border: 2px solid #3ba048;
    border-radius: 3px;
}

.pdf .zoom-65 {
    zoom: .65;
}

.pdf .h-130 {
    height: 130px;
}

.pdf .mt-img {
    width: 150px;
    height: 150px;
}

.pdf .row div[class*="col-"] {
    display: inline-block;
    /* border: 1px solid red; */
    vertical-align: top;
    margin-top: 0;
    top: 0;
}
