@font-face {
    font-family:"acumin-variable";
    src: url("/static/fonts/acumin-variable.woff2") format("woff2"),
    url("/static/fonts/acumin-variable.woff") format("woff"),
    url("/static/fonts/acumin-variable.ttf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 100 900;
    font-stretch: normal;
}


:root {
  --header-size: 5em;
  --footer-size: min(calc(100vw / 5), 10vh);
  --footer-display: flex;
  --second-footer-size: min(calc(100vw / 10), 5vh);
  --text-color: #3C3735;
  --background: #f2f2f2;
  --primary-color: #F15A24;
  --secondary-color: #F6921E;
  --thirdary-color: #8CC63F;
}

body > header > nav {
  display: none;
}

@media (min-aspect-ratio: 1/1) {
  :root {
  --header-size: 5em;
  --footer-size: 0px;
  --footer-display: none;
  --second-footer-size: min(calc(100vw / 10), 5vh);
  --text-color: #3C3735;
  --background: #f2f2f2;
  --primary-color: #F15A24;
  --secondary-color: #F6921E;
  --thirdary-color: #8CC63F;
  }

  body > header > nav {
    display: flex;
  }
}

* {
    color: var(--text-color);
    font-family: "acumin-variable", sans-serif;
    /*font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
    font-stretch: condensed;
}

.cursor-pointer {
    cursor: pointer;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

body > header {
    height: var(--header-size);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

body > header > nav {
  height: 100%;
}
body > header img {
  height: 100%;
}
body > header span {
  font-size: 1em;
}

body > header a {
  text-decoration: none;
}

body > footer {
    display: var(--footer-display);
    width: 100%;
    height: var(--footer-size);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
    outline: 5px solid #00000020;
}

body > footer > a {
    width: var(--footer-size);
    height: var(--footer-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-stretch: condensed;
    border-top: 1px solid #cbcbcb;
}

body > footer > a:not(:first-child) {
    border-left: 1px solid #cbcbcb;
}

body > footer > a:not(:last-child) {
    border-right: 1px solid white;
}

body > footer > a.current-page {
    border-top: 1px solid var(--text-color);
    background: var(--text-color);
}

body > footer > a.current-page > img {
    filter: invert(100%);
}

body > footer > a.current-page > span {
    color: var(--background);
}

body > main {
    height: calc(100vh - var(--header-size) - var(--footer-size));
    margin-top: var(--header-size);
    display: flex;
    background-color: var(--background);
    overflow-y: scroll;
}

.second-footer > a.current-page {
    background: #cbcbcb;
}

.invoice_data {
    width: 100%;
    height: 100%;
    padding-bottom: 3em;
}

.invoice_data table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  text-align: left;
}

.invoice_data table thead {
  background-color: #2c2c2c;
  border: 2px solid #fff;
  color: var(--background);
}

.invoice_data table thead th {
  padding: 10px;
  border: 2px solid #fff;
  color: var(--background);
  font-weight: bold;
}

.invoice_data table thead th:odd {
  background-color: #f5f5f5;
}

.invoice_data table tbody td {
  padding: 10px;
  border: 2px solid #fff;
}

.invoice_data table tbody tr:nth-child(even) {
  background-color: #fff;
}

/* .invoice_data table tbody tr.valid {
  background-color: #e8f5e9;
}

.invoice_data table tbody tr.invalid {
  background-color: #fdecea;
} */

.invoice_data table td span {
  margin-left: 5px;
  cursor: pointer;
}

.invoice_data table tfoot td {
  padding: 10px;
  border: 2px solid #fff;
}

#facture {
    width: 150px;
    height: 150px;
    border-radius: 150px;
    object-fit: cover;
}
#viability {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    background: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5em;
}

#recent-activity {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    height: 300px;
    width: 100%;
    overflow-x: scroll;
}

.doc {
    width: 300px;
    height: 300px;
    margin: 1em;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5em;
}

.doc > img {
  width: 100px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.anim-spin {
  animation: spin 1s linear infinite;
}

/* Extra small devices (default) */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .w-sm-25 { width: 25% !important; }
  .w-sm-50 { width: 50% !important; }
  .w-sm-75 { width: 75% !important; }
  .w-sm-100 { width: 100% !important; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .w-md-25 { width: 25% !important; }
  .w-md-50 { width: 50% !important; }
  .w-md-75 { width: 75% !important; }
  .w-md-100 { width: 100% !important; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .w-lg-25 { width: 25% !important; }
  .w-lg-50 { width: 50% !important; }
  .w-lg-75 { width: 75% !important; }
  .w-lg-100 { width: 100% !important; }
}
