﻿@media print {
    /* Apply these styles only when printing */
    body {
        margin: 0px;
        padding: 0px;
    }
    /* Add additional styles as needed to reset margins for specific elements */


    .page-break {
        page-break-before: always;
    }



    @page {
        margin: 10px; /* for page 3 but not work*/
        size: auto;
    }
}



.table1 {
    margin-bottom: 30px; /* Adjust this value to match the footer height */
    word-wrap: break-word;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}


.infoInvoice {
}

.infoInvoice-content {
    display: flex;
    margin: 0px 0px;
    margin-bottom: 0px;
    color: #1A3966;
    font-size: 13px;
    font-weight: bold;
    transition: top 0.3s;
}
/* Add CSS styling here */
.table1, .table2 {
    border: 2px solid #1A3966;
    margin-bottom: 5px;
    color: #1A3966;
}

    .table1 th, .table2 th, .table1 td, .table2 td {
        border: 2px solid #1A3966;
        color: #1A3966;
        padding: 0px;
        text-align: center;
    }

    .table1 th, .table2 th {
        background-color: #E6EBEE;
        color: #1A3966;
        font-size: 14px;
        padding: 4px;
    }

    .table1 td, .table2 td {
        color: #1A3966;
        font-size: 13px;
        padding: 4px;
        border: 2px solid #1A3966;
    }

img {
    height: auto;
}

.flex-container {
    display: flex;
    margin-bottom: 10px;
    color: #1A3966;
    font-size: 13px;
    font-weight: bold;
}

.spacer {
    flex: 0.01; /* Adjust the width of the spacing as needed */
}
/* Style for the first div (2 columns, no border) */
.div1 {
    flex: 1; /* Take up 2/3 of the available space */
    padding: 0px;
    border: 2px solid #1A3966; /* Add a border */
    display: flex; /* Enable flex display for child elements */
    align-items: center; /* Vertically center child elements */
}

/* Style for the second div (1 column, with border) */
.div2 {
    flex: 1; /* Take up 1/3 of the available space */
    padding: 0px;
    border: 2px solid #1A3966; /* Add a border */
    display: flex; /* Enable flex display for child elements */
    align-items: center; /* Vertically center child elements */
}

.div3 {
    flex: 2; /* Take up 2/3 of the available space */
    padding: 0px;
    display: flex; /* Enable flex display for child elements */
    /* Vertically center child elements */
}

/* Style for the second div (1 column, with border) */
.div4 {
    flex: 1; /* Take up 1/3 of the available space */
    padding: 0px;
    border: 0px solid #1A3966; /* Add a border */
    display: flex; /* Enable flex display for child elements */
    align-items: center; /* Vertically center child elements */
}

.column {
    flex: 1; /* Equal width for both columns */
    border: 0px solid #1A3966; /* Add a border */
    padding: 10px;
}

.header1 {
    background-color: #E6EBEE;
    position: fixed;
    top: 0;
    width: 100%;
}

.header1-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 100px;
}


.footer2 {
    background-color: #E6EBEE;
    position: fixed;
    bottom: 0;
    height: 30px;
    width: 100%;
    border-top: 1px solid #000; /* Add top border */
    border-bottom: 1px solid #000; /* Add bottom border */
}

.footer2-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.right-content {
    text-align: right;
}

.center-content {
    text-align: center;
}

.footer1 {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer1-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 150px;
}


/*Sale*/

.header1Sale {
    background-color: #E6EBEE;
    position: fixed;
    top: 0;
    width: 100%;
}

.header1Sale-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100px;
    border: 13px solid #1A3966;
    padding: 0px;
}

    .header1Sale-content h3 {
        font-weight: bold;
        font-family: Arial;
    }

.table1Sale {
    margin-bottom: 30px; /* Adjust this value to match the footer height */
}


/* Add CSS styling here */
.table1Sale, .table2sale {
    margin-bottom: 5px;
    color: #1A3966;
}

    .table1Sale .borderSale {
        border: none;
    }

.table2sale {
    border: 1px solid black;
    border-collapse: collapse;
    text-align: right;
    direction: rtl;
}

.table1Sale th, .table1Sale td {
    border: 2px solid #1A3966;
    color: #1A3966;
    padding: 0px;
    text-align: center;
    padding: 10px;
}

.table1Sale th {
    background-color: #E6EBEE;
    color: #1A3966;
    font-size: 14px;
    padding: 4px;
}

.table2sale th {
    background-color: #E6EBEE;
    color: #1A3966;
    font-size: 14px;
    padding: 4px;
}

.table2sale td {
    color: #1A3966;
    font-size: 14px;
    padding: 4px;
}

.flex-containerSale {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #1A3966;
    float: left;
    margin-left: 60%;
    font-size: 13px;
    width: 40%;
}
