.screen:not(.active-screen) {
  display: none;
}

.logged-out .requires-login {
  display: none;
}

.credit {
  background-color: lightgreen;
}

#import-statement-screen input[type=number] {
  width: 7em;
}

#bulk-add-button {
  visibility: hidden;
}

#bulk-add-table tr {
  border: 1px solid;
}

#bulk-add-table tr:nth-child(even),
#bulk-add-table tr:nth-child(even) input,
#bulk-add-table tr:nth-child(even) select {
  background-color: #f2f2f2;
}

#bulk-add-table {
  width: 100%;
  border-collapse: collapse;
}

.flex-container {
  display: flex;
  align-items: center;
  /* Optional, aligns items vertically */
  /* gap: 8px; */
  /* Optional, adds spacing between select and input */
}

.flex-container .flex-unshrinkable {
  flex-shrink: 0;
  /* Prevents this element from shrinking */
}

.flex-container .flex-maximize {
  flex-grow: 1;
  /* Makes this element take the remaining space */
  width: 0;
  /* Required for flex-grow to work properly */
}


/* BEGIN Navigation bar related styles */

/* Navbar container */
.navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  /* Important for vertical align on mobile phones */
  margin: 0;
  /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
/*
.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: red;
}
*/

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

.title {
  color: lightgreen;
  font-size: 20;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Show the dropdown menu on hover */
/*
.dropdown:hover .dropdown-content {
  display: block;
}
*/
/* END Navigation bar-related styles */

/* BEGIN snackbar-related styles */
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden;
  /* Hidden by default. Visible on click */
  min-width: 250px;
  /* Set a default minimum width */
  margin-left: -125px;
  /* Divide value of min-width by 2 */
  background-color: #333;
  /* Black background color */
  color: #fff;
  /* White text color */
  text-align: left;
  /* Centered text */
  border-radius: 2px;
  /* Rounded borders */
  padding: 16px;
  /* Padding */
  position: fixed;
  /* Sit on top of the screen */
  z-index: 1;
  /* Add a z-index if needed */
  left: 50%;
  /* Center the snackbar */
  bottom: 30px;
  /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible;
  /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  /*
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
  */
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

/* END snackbar-related styles */

/* START Transaction table styling */
.currency,
.xactType,
.timestamp,
.xactCatSubcat,
.paymentMethod {
  font-size: 75%;
}

#manage-Xacts-table {
  border-collapse: collapse;
}

#manage-Xacts-table tr {
  border-bottom-color: black;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

/* END transaction table styling */