:root {
    --main-color: #1C345D;
    --secondary-color: #FFFCEB;
    --dark-color: #152642;
    --secondary-dark-color: #D3D3D3;
    --almost-white: #FEFEFE;
    --alternative_white: #F9F9F9;
    --gray: #E0E0E0;
    --light-gray: #F7F7F7;
    --font-family: 'Open Sans';
    --small-font: 0.9rem;
    --red: rgba(248, 215, 218, 0.7);
    --blue: rgba(215, 228, 247, 0.7);
}

/*Tables*/
table {
  border-collapse: separate;
  border-bottom-color: var(--almost-white);
  border-spacing: 0 5px;
  color: var(--main-color);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 300;
  height: 100px;
  margin: 0vh 10vw 5vh 10vw;
  width:60vw;
  table-layout: auto;
}

table a {
    text-decoration: none;
}

table tr:last-child td {
    border-bottom: none;
}

th {
  border-bottom: 1pt solid;
  border-bottom-color: var(--secondary-dark-color);
  color: var(--main-color);
  font-size: 0.8rem;
  height: 100%;
  font-weight: 1000;
  margin-bottom: 2vh;
  padding: 0vh 1vw 1vh 1vw;
  position: sticky;
  text-align: center;
  vertical-align: middle;
  width: auto;
  word-break: break-word;
  top: 0;
}

td {
  border-bottom: 1pt solid;
  border-bottom-color: var(--secondary-dark-color);
  padding: 2vh 1vw 2vh 1vw;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: auto;
}

.clickable {
  cursor: pointer;
}

.special {
  background-color: #E9ECEF;
}

.table_short {
  width: 60vw;
}

.table_supershort {
  width: 40vw;
}

.column_amount {
  width: 7vw;
}

.column_date {
  width: 10vw;
}

.column_date_time {
  width: 11vw;
}

.column_full_name {
  width: 15vw;
}

.column_status {
  width: 17vw;
}

.column_boolean {
  width: 7vw;
}

.column_short {
  width: 10%;
}

.column_left {
  text-align: left;
}

.column_right {
  text-align: left;
}

.column_amount {
  text-align: right;
}

.column_heading {
  font-weight: 1000;
  text-align: right;
  width: 50%;
}

.column_data {
  text-align: left;
  width: 50%;
}

.column_actions {
  align-items: center;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.column_heading_2 {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.6;
}

.row_heading_2 td {
  border-bottom: 0;
  padding-top: 5vh;
  padding-bottom: 0;
}

/*Mobile table*/
table.m_table {
  border-collapse: separate;
  border-bottom-color: rgba(255,255,255,1);
  border-spacing: 0px;
  font-size: var(--small-font);
  margin-left: 5vw;
  margin-right: 5vw;
  margin-bottom: 1%;
  overflow: hidden;
  width: 90vw;
  table-layout: auto;
}

th.m_th {
  border-bottom: 1pt solid;
  border-bottom-color: #D3D3D3;
  font-size: 18px;
  font-weight: 1000;
  margin-bottom: 20px;
  padding: 20px 20px;
  text-align: center;
  vertical-align: middle;
}

td.m_td {
  border-bottom: 1pt solid;
  border-bottom-color: #D3D3D3;
  margin-bottom: 20px;
  padding: 20px 20px;
  text-align: center;
  vertical-align: middle;
}

/* Tasks */
.task_done {
    text-decoration: line-through;
    background-color: var(--light-gray);
}

.task_done_button {
  background-color: var(--gray);
}

.task_inapplicable {
    text-decoration: line-through;
    background-color: var(--light-gray);
}

/* Grid */

.grid_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5vmin;
  margin: 5vh 0vw;
}

.grid_link {
  color: var(--main-color);
  font-weight: 500;
  text-decoration: none;
}

.grid_box {
  display: block;
  text-align: center;
}

.grid_box span {
  display: block;
}

.red_row {
  background-color: var(--red);
}

.gray_row {
  background-color: var(--light-gray);
}

.section_title_row {
  padding-top: 1vh;
}

.fixed_table {
    margin: 0vh auto 5vh auto !important;
    table-layout: fixed;
    width: 60vw;
}

.fixed_table td:first-child {
    position: relative;
    text-align: center;
    width: 39.5vw;
}

.fixed_table td.centered_input select {
    display: block;
    margin: 0 auto;
    text-align: left;
}


.checkbox_down {
    position: relative;
    top: 5px;
}