/* CSS Helper Classes */

/* Position a full width element absolutely at the top of the document */
.absolute-top {
  position: absolute;
  top: 0;
  width: 100%;
}

/* Make text black */
.black-text {
  color: black;
}

/* Make an element uses flexbox for displaying elements */
.display-flex {
  display: flex;
}

/* Flexbox column */
.flex-column {
  flex-direction: column;
}

/* Distribute flexbox items evenly */
.evenly-spaced {
  justify-content: space-evenly;
}

/* Center align flexbox elements on x-axis and evenly distribute on y-axis */
.flex-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

/* Make items stretch to fit container (still respecting min-width/max-width) */
.flex-stretch {
  align-items: stretch;
}

/* Make items in flexbox container push on to a new line */
.flex-wrap {
  flex-wrap: wrap;
}

/* Make element act as an inline container */
.inline-block {
  display: inline-block;
}

/* Make element act as an inline flexbox container */
.inline-flex {
  display: inline-flex;
}

/* Center flexbox elements on the main and cross axis */
.is-flex-centered {
  align-items: center;
  justify-content: center;
}

/* Prevent text from breaking onto the next line */
.no-breaking {
  white-space: nowrap;
}

/* "Remove" padding */
.remove-padding {
  padding-right: 5px;
  padding-left: 5px;
}

/* Responsive helpers */
@media screen and (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .mobile-only {
    display: inherit;
  }
}
