@import url("https://fonts.googleapis.com/css2?family=Barlow:ital@0;1&family=Poppins:wght@700&display=swap");

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Barlow";
  background-color: #eee;
  font-size: 11pt;
}

body > * {
  padding: 4px 8px;
}

a {
  color: #d41000;
}
h1 {
  font-family: "Poppins";
}

.invoice-view {
  height: 100%;
  margin-bottom: 10px;
}

.flex-col {
  display: flex;
  flex-direction: column;
  height: 90%;
}

.preview {
  background-color: #fff;
  width: 19cm;
  margin: auto;
  padding: 1cm;
  box-shadow: 0px 4px 20px #0001, 0px 1px 5px #0005;
}

table {
  background-color: #fff;
  border-collapse: collapse;
}

th,
td {
  padding: 5px 20px;
  text-align: left;
}

th {
  font-weight: normal;
}

td {
  text-align: right;
}
td:first-child {
  text-align: left;
}

tbody tr:hover {
  background-color: #ffe;
}

thead th,
tr.epic th,
tr.epic td {
  font-weight: bold;
}

.ahead {
  color: green;
}
.behind {
  color: red;
}

/* projects  */
table.project th {
  font-weight: bold;
  text-align: center;
}

table.project tr.total td,
table.project td.total {
  font-weight: bold;
}

table.project td.number {
  text-align: right;
}
.r-divide {
  border-right: 5px solid #eee;
}
.error {
  background-color: #d41000;
  color: white;
  margin: 2px;
  padding: 2px;
}
