/* Display Utilities - ROA2WEB */

/* Display Types */
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.inline-grid {
  display: inline-grid;
}
.table {
  display: table;
}
.table-cell {
  display: table-cell;
}
.table-row {
  display: table-row;
}
.hidden {
  display: none;
}

/* Visibility */
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}

/* Position */
.static {
  position: static;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.sticky {
  position: sticky;
}

/* Position Values */
.top-0 {
  top: 0;
}
.top-1 {
  top: var(--space-xs);
}
.top-2 {
  top: var(--space-sm);
}
.top-4 {
  top: var(--space-md);
}
.top-auto {
  top: auto;
}

.right-0 {
  right: 0;
}
.right-1 {
  right: var(--space-xs);
}
.right-2 {
  right: var(--space-sm);
}
.right-4 {
  right: var(--space-md);
}
.right-auto {
  right: auto;
}

.bottom-0 {
  bottom: 0;
}
.bottom-1 {
  bottom: var(--space-xs);
}
.bottom-2 {
  bottom: var(--space-sm);
}
.bottom-4 {
  bottom: var(--space-md);
}
.bottom-auto {
  bottom: auto;
}

.left-0 {
  left: 0;
}
.left-1 {
  left: var(--space-xs);
}
.left-2 {
  left: var(--space-sm);
}
.left-4 {
  left: var(--space-md);
}
.left-auto {
  left: auto;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Z-Index */
.z-0 {
  z-index: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-30 {
  z-index: 30;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.z-auto {
  z-index: auto;
}
.z-dropdown {
  z-index: var(--z-dropdown);
}
.z-sticky {
  z-index: var(--z-sticky);
}
.z-fixed {
  z-index: var(--z-fixed);
}
.z-modal {
  z-index: var(--z-modal);
}

/* Float */
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.float-none {
  float: none;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Overflow */
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-visible {
  overflow: visible;
}
.overflow-scroll {
  overflow: scroll;
}

.overflow-x-auto {
  overflow-x: auto;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.overflow-x-visible {
  overflow-x: visible;
}
.overflow-x-scroll {
  overflow-x: scroll;
}

.overflow-y-auto {
  overflow-y: auto;
}
.overflow-y-hidden {
  overflow-y: hidden;
}
.overflow-y-visible {
  overflow-y: visible;
}
.overflow-y-scroll {
  overflow-y: scroll;
}

/* Object Fit */
.object-contain {
  object-fit: contain;
}
.object-cover {
  object-fit: cover;
}
.object-fill {
  object-fit: fill;
}
.object-none {
  object-fit: none;
}
.object-scale-down {
  object-fit: scale-down;
}

/* Object Position */
.object-bottom {
  object-position: bottom;
}
.object-center {
  object-position: center;
}
.object-left {
  object-position: left;
}
.object-right {
  object-position: right;
}
.object-top {
  object-position: top;
}

/* Width */
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.w-screen {
  width: 100vw;
}
.w-min {
  width: min-content;
}
.w-max {
  width: max-content;
}
.w-fit {
  width: fit-content;
}

.w-0 {
  width: 0;
}
.w-1 {
  width: var(--space-xs);
}
.w-2 {
  width: var(--space-sm);
}
.w-4 {
  width: var(--space-md);
}
.w-6 {
  width: var(--space-lg);
}
.w-8 {
  width: var(--space-xl);
}

.w-1\/2 {
  width: 50%;
}
.w-1\/3 {
  width: 33.333333%;
}
.w-2\/3 {
  width: 66.666667%;
}
.w-1\/4 {
  width: 25%;
}
.w-3\/4 {
  width: 75%;
}
.w-1\/5 {
  width: 20%;
}
.w-2\/5 {
  width: 40%;
}
.w-3\/5 {
  width: 60%;
}
.w-4\/5 {
  width: 80%;
}

/* Max Width */
.max-w-none {
  max-width: none;
}
.max-w-full {
  max-width: 100%;
}
.max-w-screen {
  max-width: 100vw;
}
.max-w-xs {
  max-width: 20rem;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}

/* Min Width */
.min-w-0 {
  min-width: 0;
}
.min-w-full {
  min-width: 100%;
}
.min-w-min {
  min-width: min-content;
}
.min-w-max {
  min-width: max-content;
}
.min-w-fit {
  min-width: fit-content;
}

/* Height */
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.h-screen {
  height: 100vh;
}
.h-min {
  height: min-content;
}
.h-max {
  height: max-content;
}
.h-fit {
  height: fit-content;
}

.h-0 {
  height: 0;
}
.h-1 {
  height: var(--space-xs);
}
.h-2 {
  height: var(--space-sm);
}
.h-4 {
  height: var(--space-md);
}
.h-6 {
  height: var(--space-lg);
}
.h-8 {
  height: var(--space-xl);
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: var(--space-3xl);
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-24 {
  height: 6rem;
}
.h-32 {
  height: 8rem;
}
.h-40 {
  height: 10rem;
}
.h-48 {
  height: 12rem;
}
.h-56 {
  height: 14rem;
}
.h-64 {
  height: 16rem;
}

/* Max Height */
.max-h-full {
  max-height: 100%;
}
.max-h-screen {
  max-height: 100vh;
}
.max-h-none {
  max-height: none;
}

/* Min Height */
.min-h-0 {
  min-height: 0;
}
.min-h-full {
  min-height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}

/* Aspect Ratio */
.aspect-auto {
  aspect-ratio: auto;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Box Sizing */
.box-border {
  box-sizing: border-box;
}
.box-content {
  box-sizing: content-box;
}

/* Cursor */
.cursor-auto {
  cursor: auto;
}
.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-wait {
  cursor: wait;
}
.cursor-text {
  cursor: text;
}
.cursor-move {
  cursor: move;
}
.cursor-help {
  cursor: help;
}
.cursor-not-allowed {
  cursor: not-allowed;
}

/* User Select */
.select-none {
  user-select: none;
}
.select-text {
  user-select: text;
}
.select-all {
  user-select: all;
}
.select-auto {
  user-select: auto;
}

/* Pointer Events */
.pointer-events-none {
  pointer-events: none;
}
.pointer-events-auto {
  pointer-events: auto;
}

/* Resize */
.resize-none {
  resize: none;
}
.resize {
  resize: both;
}
.resize-y {
  resize: vertical;
}
.resize-x {
  resize: horizontal;
}

/* Responsive Utilities */
@media (max-width: 480px) {
  .mobile-hidden {
    display: none !important;
  }
  .mobile-block {
    display: block !important;
  }
  .mobile-flex {
    display: flex !important;
  }
  .mobile-grid {
    display: grid !important;
  }
}

@media (min-width: 481px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tablet-hidden {
    display: none !important;
  }
  .tablet-block {
    display: block !important;
  }
  .tablet-flex {
    display: flex !important;
  }
  .tablet-grid {
    display: grid !important;
  }
}

@media (min-width: 769px) {
  .tablet-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .desktop-only {
    display: block !important;
  }
}

@media (max-width: 1023px) {
  .desktop-hidden {
    display: none !important;
  }
}
