select {
  margin: 4px 0px 4px 0px;
}

input {
  margin: 4px 0px 4px 0px;
}

button {
  color: #761df0;
  font-weight: bold;
  margin: 4px 0px 4px 0px;
}

.page {
  display: flex;
  align-content: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  padding: 0px 20px 0px 10px;
}

.container form {
  flex: 0;  
}

table, th, td {
  border-collapse: collapse;
}

th {
  background-color: #e4e4e4;
  color: #761df0;
}

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

.right-align {
  text-align: right;
}

tr:nth-child(even) {background-color: #f2f2f2;}

.grid-container {
  display: grid;
  grid-gap: 10px;
  padding: 10px;
  grid-template-columns: auto auto auto;
}

.grid-item {
  width: 400px;
}

.grid-item > img {
  object-fit: cover;
  width: 100%;
}

.table-img {
  object-fit: cover;
  width: 100px;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.thumbnail {
  object-fit: cover;
  height: 40px;
}

.loader {
  border: 6px solid #f3f3f3; /* Light grey */
  border-top: 6px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
