
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  column-gap: 6px;
}

.justify-center {
  justify-content: center;
}

.w-full {
  width: 100%;
}

.cursor-pointer {
  cursor: pointer;
}

.bg-light-gray {
  background-color: #f5f5f5;
}

.hover-blue:hover {
  color: #007bff;
}

.p-2 {
  padding: 8px;
}

.p-4 {
  padding: 16px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.my-2 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 8px;
}

.rounded-lg {
  border-radius: 8px;
}

.overflow-y-scroll {
  overflow-y: scroll;
}

.flex-row-override {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  column-gap: 6px !important;
  width: 100% !important;
}

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  column-gap: 6px;
}

.border {
  border: 1px solid lightgray;
  padding: 8px 18px;
}

.border-b {
  border-bottom: 1px solid lightgray;
}

.align-center {
  align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.justify-around {
    justify-content: space-around;
}

.admin-form {
  display: flex;
	align-items: end;
	justify-content: space-between;
	width: 40vw;
	border-bottom: 1px solid lightgray;
	padding: 4px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 4px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* tooltip class where the tooltip grows downwards */

.tooltip .tooltiptext {
  top: 100%;
  bottom: auto;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: -5%;
  left: 25%;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #555 transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
  .admin-form {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100vw;
    border-bottom: 1px solid lightgray;
    padding: 4px;
    margin: 10px
  }
}

.js-error {
  display: none;
  position: absolute;
  background: red;
  height: 30px;
  z-index: 2;
  padding: 4px;
  top: 50px;
  left: 10px;
}
