body {
    margin: 0 auto;
    color: #e3e3e3;
}
@font-face {
    font-family: "Barlow-Light";
    font-weight: 300;
    font-style: normal;
    src: local('Barlow Light'),local('Barlow-Light'),url('/assets/fonts/Barlow-Light.woff2') format('woff2');
}
@font-face {
    font-family: "Barlow-Regular";
    font-weight: 400;
    font-style: normal;
    src: local('Barlow Regular'),local('Barlow-Regular'),url('/assets/fonts/Barlow-Light.woff2') format('woff2');
}
@font-face {
    font-family: "Darker Grotesque Medium";
    font-weight: 500;
    font-style: normal;
    src: local('Darker Grotesque Medium'),local('DarkerGrotesque-Medium'),url('/assets/fonts/DarkerGrotesque-Medium.woff2') format('woff2');
}
@font-face {
    font-family: "Montserrat-Light";
    font-weight: 300;
    font-style: normal;
    src: local('Montserrat Light'),local('Montserrat-Light'),url('/assets/fonts/Montserrat-Light.woff2') format('woff2');
}
a {
    text-decoration: none;
    color: inherit;
}
.flexbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* INPUTS */
.input_container {
    max-width: 500px;
    margin: 15px 0px;
}
.input_container label {
    display: block !important;
    max-width: 100% !important;
    margin-bottom: 0.15em;
    font-family: "Barlow-Regular",sans-serif !important;
}
.input_container input[type=text], .input_container input[type=password], .input_container select {
    padding: 0.3em 0.4em;
    color: black;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.25);
    line-height: 1.4;
    height: 2.2em;
    border-radius: 3px;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    display: inline-block !important;
    vertical-align: top !important;
}
button {
    background-color: #595959;
    border-color: #595959;
    color: #ffffff;
    display: inline-block;
    vertical-align: top;
    width: auto;
    margin: 0;
    padding: 0.5em 1em;
    overflow: visible;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    text-align: center;
    transition: color 0.3s,background 0.3s;
}
button:hover {
    background-color: rgb(129, 129, 129);
}
/* ------------ POPUP ---------------- */
#popup_container {
    z-index: 10;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(128, 128, 128, 0.199);
    display: none; /* needs to be flex if active */
    justify-content: center;
    align-items: center;
    font-family: "Montserrat-Light";
    color: black;
}
#popup_box {
    width: 30%;
    display: grid;
    box-shadow: 0px 5px 10px #0e0e0e;
    border-radius: 10px;
    padding: 10px;
    min-height: 250px;
    text-align: center;
    margin: 20px 0px;
    background-color: #d9d9d9;
    border: 2px solid var(--orange);
}
#popup_input_container {
    display: none;
}
@media (max-width: 640px) {
    #popup_box {
        width: 90%;
    }  
}
#popup_button_container {
    display: flex; 
}
#popup_button_container .popup_button {
    width: 200px;
    margin: auto;
    box-shadow: none;
}
#popup_title {
    color: black;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}
/* ------ TABLES ------ */
table {
    width: 100%;
    overflow: auto;
}
table thead, table tfoot {
  position: sticky;
}
table thead {
  inset-block-start: 0; /* "top" */
  z-index: 100;
  border: 1px solid #e0e0e0;
}
table tfoot {
  inset-block-end: 0; /* "bottom" */
}
table, th, td {
    border: 1px solid #e0e0e0;
    border-collapse: collapse;
    font-family: Barlow-Regular;
}
th {
    font-weight: normal;
    padding: 5px 15px;
    background-color: #3a525d;
    z-index: 10;
}
td {
    padding: 5px; 
    text-align: center;
}
td img {
    height: 20px;
    cursor: pointer;
    filter: invert(1);
}
tr.clickable {
    cursor: pointer;
}
tr.clickable:hover {
    background-color:rgba(233, 233, 233, 0.25);
}
.new_td {
    text-align: center !important;
    transition: 0.25s all ease-in-out;
    cursor: pointer;
    background-color: #767779;
}
.new_td:hover {
    background-color: #898a8b;
}
.new_td_disabled {
    text-align: center !important;
    background-color: rgb(133, 133, 133, 0.3);
}
td a {
    display: block;
}
.circle {
    width: 10px;
    border-radius: 50%;
    height: 10px;
    margin-left: 10px;
    display: inline-block;
}
.circle.green {
    background-color: rgb(60, 241, 60);
}
.circle.red {
    background-color: red;
}