﻿
.printonly-flex{
    display: none;
}

@media print {

    html[lang="ar"],
    html[lang="ar"] * {
        direction: rtl;
    }

    hr{
        border: 0;
        border-top: 1px solid #027941 !important;
    }
    .printonly-flex{
        display: flex;
    }

    /* ===========================================================================
    Order Details Page
    ============================================================================*/
    #section-to-print-orderdetails .invoice-header {
        height: auto;
        min-height: 85px;
        align-items: center;
    }
    #section-to-print-orderdetails  .info-box {
        height: auto;
        display: flex;
        align-items: center;
        padding: 5px;
        margin-bottom: 5px;
    }

    #section-to-print-orderdetails .info-box ul li {
        padding: 0 5px;
    }
    #section-to-print-orderdetails .info-box ul li:first-child {
        color: #027941;
        font-weight: bold;
    }
    #section-to-print-orderdetails .table-condensed td {
        border-top: 0;
    }
    /* */
    #section-to-print-orderdetails .payresult-colored-header h1 {
        background-color: #027941;
        color: white;
        text-align: center;
        padding: 10px 50px;
        margin-bottom: 15px;
        font-size: 18px;
        border-radius: 10px;
    }
    #section-to-print-orderdetails .table-invoice td{
        vertical-align: middle;
    }
    #section-to-print-orderdetails .sections-title {
        font-size: 18px !important;
        text-align: center;
    }
    #section-to-print-orderdetails .white-shadow-box {
        margin: 0 !important;
    }
    #section-to-print-orderdetails .invoice-logo {
        max-height: 75px;
        width: auto;
    }

    * {
        -webkit-print-color-adjust: exact !important; /* Chrome, Safari */
        color-adjust: exact !important; /*Firefox*/
    }

}
    