/* HELPERS */

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.ttu {
  text-transform: uppercase;
}

.ucfirst {
  display: inline-block;
}

.ucfirst::first-letter {
  text-transform: uppercase;
}

.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
}

.d-none {
  display: none;
}

.d-flex {
  display: flex;
}

.d-contents {
  display: contents;
}

.d-block {
  display: block !important;
}

.d-flex-row {
  display: flex;
  flex-direction: row;
}

.d-flex-column {
  display: flex;
  flex-direction: column;
}

.dib,
.d-ib {
  display: inline-block;
}

.d-flex.equal > * {
  flex: 1;
}

.medium {
  font-weight: 500;
}

.bold {
  font-weight: 600;
}

.capitalize {
  text-transform: capitalize;
}

.full-width {
  width: 100%;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-auto {
  flex: auto;
}

.d-flex-centered,
.d-flex.centered,
.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.vertical-center {
  display: flex;
  align-items: center;
}

.text-align-right {
  text-align: right;
}

.justify-content-flex-start {
  justify-content: flex-start;
}

.justify-content-flex-end {
  justify-content: flex-end;
}

.justify-content-between {
  justify-content: space-between;
}

.no-wrap {
  white-space: nowrap;
}

.pre-line {
  white-space: pre-line;
}

.pre-wrap,
.pre_wrap {
  white-space: pre-wrap;
}

.drag {
  cursor: move;
}

.pointer {
  cursor: pointer !important;
}

.no-select {
  user-select: none;
}

.can-select {
  user-select: text;
}

.can-copy {
  user-select: all;
}

.no-mobile {
  display: block;
}

.mobile {
  display: none;
}

.smartphone-only {
  display: none;
}

.font-italic {
  font-style: italic;
}

.opacity03 {
  opacity: 0.3;
}

.opacity05 {
  opacity: 0.5;
}

.opacity07 {
  opacity: 0.7;
}

.mt0 {
  margin-top: 0;
}

.mt025 {
  margin-top: 0.25rem;
}

.mt05 {
  margin-top: 0.5rem;
}

.mt1 {
  margin-top: 1rem;
}

.mt2 {
  margin-top: 2rem;
}

.mt3 {
  margin-top: 3rem;
}

.mr0 {
  margin-right: 0;
}

.mr025 {
  margin-right: 0.25rem;
}

.mr05 {
  margin-right: 0.5rem;
}

.mr1 {
  margin-right: 1rem;
}

.mr2 {
  margin-right: 2rem;
}

.mr3 {
  margin-right: 3rem;
}

.mb0 {
  margin-bottom: 0;
}

.mb025 {
  margin-bottom: 0.25rem;
}

.mb05 {
  margin-bottom: 0.5rem;
}

.mb1 {
  margin-bottom: 1rem !important;
}

.mb2 {
  margin-bottom: 2rem;
}

.mb3 {
  margin-bottom: 3rem;
}

.ml0 {
  margin-left: 0;
}

.ml025 {
  margin-left: 0.25rem;
}

.ml05 {
  margin-left: 0.5rem;
}

.ml1 {
  margin-left: 1rem;
}

.ml2 {
  margin-left: 2rem;
}

.ml3 {
  margin-left: 3rem;
}

.pt025 {
  padding-top: 0.25rem;
}

.pt05 {
  padding-top: 0.5rem;
}

.pt1 {
  padding-top: 1rem;
}

.pt2 {
  padding-top: 2rem;
}

.pt3 {
  padding-top: 3rem;
}

.pr025 {
  padding-right: 0.25rem;
}

.pr05 {
  padding-right: 0.5rem;
}

.pr1 {
  padding-right: 1rem;
}

.pr2 {
  padding-right: 2rem;
}

.pr3 {
  padding-right: 3rem;
}

.pb025 {
  padding-bottom: 0.25rem;
}

.pb05 {
  padding-bottom: 0.5rem;
}

.pb1 {
  padding-bottom: 1rem;
}

.pb2 {
  padding-bottom: 2rem;
}

.pb3 {
  padding-bottom: 3rem;
}

.pl025 {
  padding-left: 0.25rem;
}

.pl05 {
  padding-left: 0.5rem;
}

.pl1 {
  padding-left: 1rem;
}

.pl2 {
  padding-left: 2rem;
}

.pl3 {
  padding-left: 3rem;
}

.h100,
.full-height {
  height: 100%;
}

.mh100 {
  min-height: 100vh;
}

.v-spacer-1 {
  height: 1rem;
}

.v-spacer-2 {
  height: 2rem;
}

.v-spacer-3 {
  height: 3rem;
}

.translate-y-1 {
  transform: translateY(1rem);
}

ul,
ol {
  padding-left: 0rem;
}

textarea.no-resize {
  resize: none;
}

textarea.vertical-resize {
  resize: vertical;
}

/* Link style (text) */

.link-text {
  display: block;
  width: fit-content;
  max-width: -webkit-fill-available;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: var(--transition-2);
}
.link-text:hover {
  color: var(--secondary-1);
  transition: var(--transition-2);
}
.link-text::after {
  content: "";
  width: 0px;
  height: 1px;
  display: block;
  background: var(--secondary-1);
  transition: var(--transition-2);
}
.link-text:hover::after {
  width: 100%;
}

@media (max-width: 991px) {
  .no-mobile {
    display: none;
  }

  .mobile {
    display: block;
  }
}

@media (max-width: 576px) {
  .smartphone-only {
    display: block;
  }
}
