HTML {
  /* font-size: calc((1vh+1vw)/2); */
  font-size: small;
}

body {
    margin: 2em;
    font-family: sans-serif;
}



.table_container {
    display: grid;
    gap: 10px;
    grid-template-columns: 20% 20% 20% 20% 10%;
    grid-template-rows: auto;
    /* background-color: #fff; */
    /* background-color: green; */
    padding-top: 10px;
    color: #444;
}

#add_button_container {
  margin-bottom: 2em;
}

.field_error {
    border-color: #ff0000;
    border-radius: 5px;
    border-width: 5px;
}

.table_header {
    /* background-color: #444; */
    /* color: #fff; */
    margin: auto;
    border-radius: 5px;
    padding: 15px;
    font-size: 100%;
}

.table_row {
    background-color: #eee;
    grid-column: 1 / 6;
    border-radius: 5px;
    padding: 10px;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
}

.remove_row_button {
    grid-column: 5;
}

.add_row_button {
    grid-column: 5;
    width: 100%;
    margin: auto;
}

.row_input {
  width: 95%;
}

.debt_table_div {
  width: 100%;
  /* background-color: red; */
  overflow: scroll;
}

.debt_table {
  table-layout: fixed;
  width: 100%;
  border: 1px solid black;
  border-collapse: collapse;
  margin-bottom: 1em;
}

.debt_table_header {
  text-align: center;
  border: 1px solid black;
}

.debt_table_cell {
  text-align: center;
  border: 1px solid black;
}


.cash_flow_div {
  width: 100%;
  text-align: center;
}

.transaction_div {
  font-size: 1.5em;
  width: 100%;
  text-align: center;
  margin: auto;
}

#page_header {
  width: 100%; 
  background-color: white; 
  height: 4em; 
  text-align: right;
}


#share_modal_div {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

#share_modal_content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

#share_modal_copy_url_button {
  height: 3vw; 
  border-radius: 5px; 
  border-color: black;
  margin-top: 10px;
  /* float: right; */
  width: 8em;
  height: 4em;
}

#share_modal_url_field {
  width: 100%;
}

#share_modal_close_button {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#share_modal_close_button:hover, #share_modal_close_button:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#share_page_button {
  text-align: center;
  width: 8em;
  height: 4em;
  border-radius: 5px; 
  border-color: black;
}

.twitter_tag {
  position: fixed;
  height: 1em;
  bottom: 0px;
  right: 0px;
  padding: 10;
  border-radius: 10px 0px 0px 0px;
  background: #aaa;
  color: white;
  transition: 0.15s;
}

.twitter_tag:hover {
  opacity: 0.4;
  transition: 0.15s;
}

#copyright_notice {
  font-size: 0.8em;
  color: #ccc;
  width: 100%;
  text-align: center;
  position: fixed;
  left: 0px;
  bottom: 0px;
}
