@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700');

:root {
    --color-light1: #d8f3dcff;
    --color-light2: #b7e4c7ff;
    --color-light3: #95d5b2ff;
    --color-light4: #74c69dff;
    --color-light5: rgb(60, 158, 112);
    --color-dark1:  rgb(57, 134, 100);
    --color-dark2:  #2d6a4fff;
    --color-dark3:  rgb(32, 78, 59);
    --color-dark4:  rgb(15, 49, 37);
    --color-dark5:  #081c15ff;
    --avocado: #669900ff;
    --yellow-green: #99cc33ff;
    --mindaro: #ccee66ff;
    --lapis-lazuli: #006699ff;
    --celestial-blue: #3399ccff;
    --murrey: #990066ff;
    --red-violet: #cc3399ff;
    --pumpkin: #ff6600ff;
    --orange-peel: #ff9900ff;
    --jonquil: #ffcc00ff;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: lighter;
    margin-left: 20px;
}
h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: lighter;
    font-size: medium;
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

table {
    border-collapse: collapse;
}
table td, table th {
    border-bottom: 1px solid rgb(109, 109, 109);
}
table tr th:last-child {
    border-bottom: none;
}

body, html {
    margin: 0;
    padding: 0;
}

a:link{
    color:inherit !important;
    text-decoration: none;
}

a:link:visited {
    color: inherit !important;
    text-decoration: none;
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    html {
        transform: scale(1);
        transform-origin: top left;
    }

    body {
        width: 2000px;
        margin: 0;
        zoom: 0.6;
    }

    .container {
        width: 100%;
        box-sizing: border-box;
        height: 100%;
    }

    .sub-container {
        box-shadow: none !important;
    }

    .header {display: none}
    .footer {display: none}
    .tab.selected {display: none}
    #inventory_date_section {display: none}
}

.label {
    font-weight: bold;
    color: black;
    height: fit-content;
    text-align: left;
    position: relative;
    display: block;
    text-transform: capitalize;
    padding-bottom: 20px;
}

.label.lato {
    font-Family: Lato;
    font-Size: medium;
    text-transform: uppercase;
    color: #40477C;
    letter-spacing: 0.75px;
    font-weight: bold;
}

.tab:hover {
    background-color: #d4d4d4;
}

.container {
    display: flex;
    background-color: transparent;
    height: fit-content;
    width: 100%;
    padding-bottom: 30px;
}

.container:last-of-type,
.container:only-of-type {
    padding-bottom: 0;
}

.sub-container {
    padding: 20px 30px;
    margin-right: 20px;
    border: 1px #e7e7e7 solid;
    border-radius: 0;
    background-color: white;
    box-shadow: 3px 3px 5px 0px #E0E0E0;
    width: 100%;
}

.rounded {
    border-radius: 20px;
}

.sub-container.no-background {
    border: none;
    border-top: 1px #b8b8b8 solid;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}

.sub-container.no-background:last-child {
    border-bottom: 1px #b8b8b8 solid;
}

.sub-container.flex {
    flex: 1;
}

.sub-container:last-child {
    margin-right: 0;
}

.resizable {
    resize: vertical;
    overflow: auto;
}

.resizable-width {
    resize: horizontal;
    overflow: auto;
}

.justify {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter {
    border-radius: 5px;
    padding: 20px;
    height: max-content;
    margin-right: 30px;
    margin-bottom: 20px;
    color: black;
    text-align: center;
}

.counter:last-child {
    margin-right: 0;
}

.data-container {
    background-color: transparent;
    display: block;
    /* height: 100%; */
}

.error-container {
    align-items: center;
    display: flex;
    color: #c5450a;
    height: fit-content;
}

.filters-container {
    height: fit-content;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    font-size: medium;
}

#main-container {
    margin: 100px 90px;
    margin-bottom: 0;
    min-height: calc(100vh - 70px - 100px - 50px);
}

.ag-grid-button-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.invoice-table {
    border-collapse: collapse;
    width: 100%;
}

.invoice-table th, .invoice-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.invoice-container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 50px;
    border: 1px solid #ccc;
    width: 1000px;
    height: 125vh;
    background-color: white;
}
.ag-header-cell {
    /* transform: rotate(-90deg); */
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.rotated-text {
    white-space: nowrap;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(-180deg);
    text-align: center;
    justify-content: center;
}

.rotated-text__inner {
    display: inline-block;
    white-space: nowrap;
    -webkit-transform: translate(1.1em,0) rotate(90deg);
       -moz-transform: translate(1.1em,0) rotate(90deg);
         -o-transform: translate(1.1em,0) rotate(90deg);
            transform: translate(1.1em,0) rotate(90deg);
    -webkit-transform-origin: 0 0;
       -moz-transform-origin: 0 0;
         -o-transform-origin: 0 0;
            transform-origin: 0 0;
   -ms-transform: none;
   -ms-transform-origin: none;
}

.homepage-component {
    display: flex;
    width: 250px;
    height: 300px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
    background-color: white;
    border: 0.5px solid #e0e0e086;
    transition-delay: 55ms;
}

.homepage-component P {
    color: black;
    transition-delay: 55ms;
}

.homepage-component I {
    color: #4EAF3F;
    transition-delay: 55ms;
}

.homepage-component:hover {
    background-color: #449138;
    transition-delay: 55ms;
}

.homepage-component:hover I, .homepage-component:hover P {
    color: white;
    transition-delay: 55ms;
}

.dmc::-webkit-scrollbar {
    background: #a3a3a31f;
    width: 6px;
    border-radius: 3px;
  }

.dmc::-webkit-scrollbar-track {
    border-radius: 3px;
}

.dmc::-webkit-scrollbar-thumb {
    background: #b4b4b4;
    border-radius: 3px;
}