body.login_admin:before {
    content: " ";
    background: rgba(31, 31, 31, 0.7);
    min-height: 100%;
    min-width: 100%;
    position: absolute;
}
body.login_admin {
    background: url("../images/webbuildDesign1920.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.custom-invoice-estimate {
    font-family: "Trebuchet MS", sans-serif;
}
.custom-invoice-estimate .invoice-heading {
    display: flex;
    flex-direction: column;
    /* border: 1px dotted #00336645; */
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    padding-bottom: 4em;
}
.custom-invoice-estimate .invoice-heading h1 {
    color: #003366;
}
.custom-invoice-estimate .invoice-heading h1,
.custom-invoice-estimate .invoice-heading h2,
.custom-invoice-estimate .invoice-heading h3 {
    margin: 0.2em 0;
}

.custom-invoice-estimate .company_bg h2 {
    background-color: #003366;
    color: #DBE4EF;
    font-family: "Trebuchet MS", sans-serif;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
    font-size:clamp( 16px, 1.8vw, 32px );
    padding: 3pt 0;
}
.custom-invoice-estimate .company_info table  {
    width: 100%;
}
.custom-invoice-estimate .company_info table tr th:first-child  {
    text-align: left;
    font-size: 14px;
    color: #000;
}
.custom-invoice-estimate .company_info table tr td:first-child  {
   text-align: left;
    font-size: 12px;
}
.custom-invoice-estimate .company_info table tr td:last-child {
    text-align: right;
    font-size: 14px;
}

.custom-invoice-estimate .table-total {
    margin: 1em 0;
}

.custom-invoice-estimate .table-total td {
    padding-top: 2px;
    padding-bottom: 2px;
    border: 0;
    background: #DBE5EF;
}
.custom-invoice-estimate .table-total td:first-child {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    font-weight: 400 !important;
    font-size: 0.8em;
}
.custom-invoice-estimate .table-total td:first-child:after {
    content: ':';
}
.custom-invoice-estimate .table-total td:first-child span {
    font-weight: 400 ;
}
.custom-invoice-estimate .table-total td:last-child {
    white-space: nowrap;
    text-align: right;
    color: #000;
    font-size: 1.2em;

}
.custom-invoice-estimate .table-total tr:last-child td {
    font-weight: bold;
    color: #000;
}
.custom-invoice-estimate .table-total tr:last-child td:last-child {
    font-size: 1.6em;
}
.custom-invoice-estimate .table-total tr:last-child td span {
    font-weight: bold;
    color: #000;
}

.custom-invoice-estimate .table-date {
    margin-bottom: 0;
}
.custom-invoice-estimate .table-date td{
    border-top: 1px solid #003366;
    border-bottom: 1px solid #003366;
    padding: 4px;
}


.custom-invoice-estimate .invoice-html-date span {
    font-size: 10px;
}
.custom-invoice-estimate .invoice-html-date b {
    color: #000;
    font-weight: normal;
    font-size: 16px;
}

.custom-invoice-estimate .invoice-items-preview  th {
    background-color: #003366;
    color: #ffffff;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
}

.custom-invoice-estimate .bottom-tables table td {
    padding: 2px;
}


