@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap");

html,
body {
    font-size: 11px !important;
    font-family: "Inter", Helvetica, "sans-serif";
}
.file__title_with_logo td:nth-child(1) {
    vertical-align: top;
}
.file__title_with_logo td:nth-child(2) {
    text-align: right;
}
.file__title_with_logo__title {
    margin-top: 0;
    margin-bottom: 20px;
}
.file__address {
    font-size: 1rem !important;
    color: #646469;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

img.file__logo {
    max-width: 140px;
    max-height: 105px;
    width: 100%;
    height: 105px;
}
.pdf_image_td {
    height: 115px;
}
.pdf_image_td--top{
    vertical-align: top;
}

.file__title {
    font-size: 13px !important;
    font-weight: bold;
    color: #222529;
}

.file__title--small {
    font-size: 1.3rem !important;
    margin-bottom: 10px;
    padding-left: 0.1rem;
}

.file__sub_title {
    font-size: 1.15rem !important;
    font-weight: normal;
    margin-bottom: 5px;
    margin-top: 30px;
    padding-left: 0.3rem;
    color: #494e56;
    padding-bottom: 0.1rem;
    border-bottom: 1px solid #e8e8e8;
}
.file__sub_title--reports {
    font-weight: bold;
}
.file__sub_title--without-underline {
    border-bottom: none;
}

.file__sub_title--without-margin-top {
    margin-top: 0 !important;
}

.file__text {
    padding-left: 0.3rem;
    margin-top: 7px;
}

.table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.table .table {
    margin-bottom: 0px;
}
.table--content {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

.table--content th,
.table--content td {
    padding: 2px 0px 2px 0px;
    margin: 0px;
    border-bottom: none;
}
.table--content tr td.top-0 {
    padding-top: 0 !important;
}
.table--content tr {
    background: white !important;
}

.table td,
.table th {
    padding: 0.3rem;
    font-size: 1rem;
    color: #181c32;
}

.table-inv th,
.table-est th,
.table th {
    color: #5e6278;
    font-size: 11px;
}

.table--large-paddings td,
.table--large-paddings th {
    padding: 0.4rem 0.3rem;
}
.table--top-align td,
.table--top-align th {
    vertical-align: top;
}

.table--bottom-align td,
.table--bottom-align th {
    vertical-align: bottom;
}

.table.pdf_table td,
.table.pdf_table th {
    border-top: none;
    border-bottom: 1px dotted #e1e3ea;
}

/*.table.pdf_table:not(.pdf_table--same_color) td:nth-child(1),
.table.pdf_table:not(.pdf_table--same_color) th:nth-child(1) {
    color: #5e6278;
}*/

.table.pdf_table--marked td {
    margin: 0;
    border-collapse: collapse !important;
}
.table.pdf_table--marked tr:nth-child(2n) {
    background: #e8e8e8;
}
.table.pdf_table--marked tr:nth-child(2n + 1) .table--content tr,
.table.pdf_table--marked tr:nth-child(2n + 1) .table--content td {
    background: #ffffff;
}
.table.pdf_table--marked tr:nth-child(2n) .table--content tr {
    background: #e8e8e8;
}
.table.pdf_table--marked tr:nth-child(2n + 1) .table--content tr td {
    border-bottom: 1px dotted #e8e8e8;
}



.table.table--marked td {
    margin: 0;
    border-collapse: collapse !important;
}
.table.table--marked tr:nth-child(2n) {
    background: #f2f2f2;
}
.table.table--marked tr:nth-child(2n + 1) .table--content tr,
.table.table--marked tr:nth-child(2n + 1) .table--content td {
    background: #ffffff;
}
.table.table--marked tr:nth-child(2n) .table--content tr {
    background: #f2f2f2;
}
.table.table--marked tr:nth-child(2n + 1) .table--content tr td {
    border-bottom: 1px dotted #f2f2f2;
}

.event_title {
    font-size: 12px;
    color: #323d55;
}
.event_sub_title {
    font-size: 10px;
}
.client_title {
    font-size: 12px;
}
.file__date__container {
    padding-left: 0.5rem;
}
.file__date {
    font-size: 10px;
    font-weight: bold;
}

.box {
    min-height: 20px;
    line-height: 20px;
}
.warning {
    color: #e06e8b;
}
.main-title {
    text-align: center;
    color: #a1a5b7;
    font-size: 18px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
}
.grey-color {
    color: #a1a5b7;
}
.dark-grey-color {
    color: #646469;
}
.dark-color {
    color: #222529;
}
.grey-bg {
    background: #e8e8e8;
}

.all-rows--left td,
.all-rows--left th {
    text-align: left !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.bb-none {
    border-bottom: none;
}

.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}

address {
    color: black;
    font-size: 12px;
    font-style: normal;
}
table.table.table--flex tr {
    display: flex !important;
}
.table.table--full-width td:first-child {
    width: 100%;
}
.invoice_wisetack {
    background: white;
}
.invoice_wisetack .wisetack-aslow{
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}
.stamp-address_top {
    min-height: 135px;
    height: 135px;
}
.stamp-address_top--est {
    min-height: 142px;
    height: 142px;
}
.stamp-address_bottom {
    min-height: 126px;
    height: 126px;
}
.stamp-address_bottom--est {
    min-height: 135px;
    height: 135px;
}

.itemsservice {
    font-size: 1rem !important;
    color: #141920;
}

.desc {
    font-size: 12px !important;
    color: #5e6278;
}
.desc small {
    font-size: 12px !important;
}
.terms {
    color: #dc3545 !important;
    font-size: 1rem !important;
}

span.notes_title {
    font-weight: bold;
}

.notes_div span,
.notes_div small,
span.notes_title,
small.notes_title {
    font-size: 1rem !important;
}

.notes {
    font-size: 1.25rem !important;
}
.table--description tbody .property{
    display: none;
}
.table.pdf_table td{
    vertical-align: top;
}
@media (max-width: 790px) {
    .table--sub-total {
        margin-top: 20px;
    }
    .table--sub-total > tbody > tr:first-child{
        display: flex;
        flex-direction: column;
    }
    .table--sub-total tr:first-child td{
        width: 100%;
    }
    .table--sub-total tr:first-child td table{
        max-width: 100%!important;
        min-width: 100%!important;
        width: 100%!important;
    }
    .table--sub-total > tbody > tr:first-child > td{
        padding-right: 0px!important;
        padding-left: 0!important;
    }
    .table.table--description > thead > tr.headers > th {
        font-family: "Inter", sans-serif;
        text-align: left;
        background-color: white;
        border-bottom: 1px solid #dfe2ee;
        font-size: 12px;
        font-weight: 600;
        color: #696f8c;
        vertical-align: middle;
        text-transform: uppercase;
    }
    .table.table--description tbody td:last-child{
        text-align: left;
    }
    .table--sub-total > tbody > tr:first-child,
    .table--paymentstub > tbody > tr:first-child{
        display: flex;
        flex-direction: column;
    }
    .table--sub-total > tbody > tr:first-child > td,
    .table--paymentstub > tbody > tr:first-child > td{
        width: 100%!important;
        padding-right: 0px!important;
        padding-left: 0!important;
    }
    .table--paymentstub > tbody > tr:first-child > td address{
        padding-top: 0!important;
    }
    .table--paymentstub > tbody > tr:first-child > td:last-child{
        margin-top: 50px;
    }
    .table--description {
        min-width: auto!important;
    }
    .table--description tr{
        display: flex;
        flex-direction: column;
    }
    .table--description .headers th:not(:first-child){
        display: none;
    }
    .table--description .headers th:first-child{
        width: 100%;
    }
    .table--description tbody .property{
        display: inline-block;
        font-size: 12px;
        font-weight: 600;
        color: #696f8c;
        min-width: 80px;
    }
    .table--description tr td{
        border-bottom: none!important;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .table--description tr td:first-child{
        padding-top: 8px;
    }
    .table--description tr td:last-child{
        border-bottom: 1px dashed #e1e3ea!important;
        padding-bottom: 8px;
    }
    table h2.est_opt_head{
        font-size: 16px;
        margin-top: 0;
    }
}

.customers-list {
    width: 100%;
}
.customers-list .customer {
    width: 50%;
    border-top: 1px solid #999;
}
.customers-list .customer.left {
    float: left;
}
.customers-list .customer.right {
    float: right;
}


.file__est_10_envelop_dual_window td:nth-child(1) {
    padding-top:-5px !important;
}
.file__est_9_envelop_dual_window td:nth-child(1) {
    padding-top:17px !important;
}

.file__inv_10_envelop_dual_window td:nth-child(1) {
    padding-top:-3px !important;
}
.file__inv_9_envelop_dual_window td:nth-child(1) {
    padding-top: 8px !important;
}

/* Reset caps for all size variants */
img.file__logo_small,
img.file__logo_medium,
img.file__logo_large {
    width: auto !important;        /* override base width:100% */
    max-width: none !important;    /* remove 140px cap */
    max-height: none !important;   /* remove 105px cap */
    height: auto;                  /* then we set exact heights below */
    object-fit: contain;
    display: block;
}

/* Exact sizes */
img.file__logo_small  { height: 70px !important; }
img.file__logo_medium { height: 95px !important; }  /* your original default */
img.file__logo_large  { height: 105px !important; }  /* fills .pdf_image_td (115px) */
