/* ======================================
   RESET & GLOBAL
====================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin:  0;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}


/* ======================================
   CONTAINER
====================================== */
.container {
  width:        100%;
  margin-right: auto;
  margin-left:  auto;
  padding-right: 15px;
  padding-left:  15px;
}

.container .container {
  padding-right: 0;
  padding-left:  0;
}


/* ======================================
   MEDIA
====================================== */
img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* ======================================
   LISTS
====================================== */
.list-unstyled {
  margin:     0;
  padding:    0;
  list-style: none;
}


/* ======================================
   FLEX UTILITIES
====================================== */
.d-flex                 { display: flex !important; }
.d-block                { display: block !important; }

.align-items-start      { align-items: flex-start !important; }
.align-items-center     { align-items: center !important; }
.align-items-end        { align-items: flex-end !important; }

.justify-content-between { justify-content: space-between !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-end     { justify-content: flex-end !important; }


/* ======================================
   GRID SYSTEM
====================================== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left:  -15px;
}

.row > * {
  box-sizing: border-box;
}

.row > [class*="col-"] {
  min-height: 1px;
}

[class*="col-"] {
  width: 100%;
  flex:  0 0 auto;
  padding-right: 15px;
  padding-left:  15px;
}

/* Gutters */
[class*="gutter-y-"] {
  row-gap: var(--gutter-y, 30px);
}

.gutter-y-30 { row-gap: 30px; }
.gutter-y-40 { row-gap: 40px; }
.gutter-y-50 { row-gap: 50px; }


/* ======================================
   COLUMN WIDTHS (DEFAULT)
====================================== */
.col-1  { width: 8.3333%;  max-width: 8.3333%; }
.col-2  { width: 16.6667%; max-width: 16.6667%; }
.col-3  { width: 25%;      max-width: 25%; }
.col-4  { width: 33.3333%; max-width: 33.3333%; }
.col-5  { width: 41.6667%; max-width: 41.6667%; }
.col-6  { width: 50%;      max-width: 50%; }
.col-7  { width: 58.3333%; max-width: 58.3333%; }
.col-8  { width: 66.6667%; max-width: 66.6667%; }
.col-9  { width: 75%;      max-width: 75%; }
.col-10 { width: 83.3333%; max-width: 83.3333%; }
.col-11 { width: 91.6667%; max-width: 91.6667%; }
.col-12 { width: 100%;     max-width: 100%; }


/* ======================================
   BREAKPOINTS
====================================== */

/* SM */
@media (min-width: 576px) {
  .col-sm-1  { width: 8.3333%;  max-width: 8.3333%; }
  .col-sm-2  { width: 16.6667%; max-width: 16.6667%; }
  .col-sm-3  { width: 25%;      max-width: 25%; }
  .col-sm-4  { width: 33.3333%; max-width: 33.3333%; }
  .col-sm-5  { width: 41.6667%; max-width: 41.6667%; }
  .col-sm-6  { width: 50%;      max-width: 50%; }
  .col-sm-7  { width: 58.3333%; max-width: 58.3333%; }
  .col-sm-8  { width: 66.6667%; max-width: 66.6667%; }
  .col-sm-9  { width: 75%;      max-width: 75%; }
  .col-sm-10 { width: 83.3333%; max-width: 83.3333%; }
  .col-sm-11 { width: 91.6667%; max-width: 91.6667%; }
  .col-sm-12 { width: 100%;     max-width: 100%; }
}

/* MD */
@media (min-width: 768px) {
  .col-md-1  { width: 8.3333%;  max-width: 8.3333%; }
  .col-md-2  { width: 16.6667%; max-width: 16.6667%; }
  .col-md-3  { width: 25%;      max-width: 25%; }
  .col-md-4  { width: 33.3333%; max-width: 33.3333%; }
  .col-md-5  { width: 41.6667%; max-width: 41.6667%; }
  .col-md-6  { width: 50%;      max-width: 50%; }
  .col-md-7  { width: 58.3333%; max-width: 58.3333%; }
  .col-md-8  { width: 66.6667%; max-width: 66.6667%; }
  .col-md-9  { width: 75%;      max-width: 75%; }
  .col-md-10 { width: 83.3333%; max-width: 83.3333%; }
  .col-md-11 { width: 91.6667%; max-width: 91.6667%; }
  .col-md-12 { width: 100%;     max-width: 100%; }
}

/* LG */
@media (min-width: 992px) {
  .col-lg-1  { width: 8.3333%;  max-width: 8.3333%; }
  .col-lg-2  { width: 16.6667%; max-width: 16.6667%; }
  .col-lg-3  { width: 25%;      max-width: 25%; }
  .col-lg-4  { width: 33.3333%; max-width: 33.3333%; }
  .col-lg-5  { width: 41.6667%; max-width: 41.6667%; }
  .col-lg-6  { width: 50%;      max-width: 50%; }
  .col-lg-7  { width: 58.3333%; max-width: 58.3333%; }
  .col-lg-8  { width: 66.6667%; max-width: 66.6667%; }
  .col-lg-9  { width: 75%;      max-width: 75%; }
  .col-lg-10 { width: 83.3333%; max-width: 83.3333%; }
  .col-lg-11 { width: 91.6667%; max-width: 91.6667%; }
  .col-lg-12 { width: 100%;     max-width: 100%; }
}

/* XL */
@media (min-width: 1200px) {
  .col-xl-1  { width: 8.3333%;  max-width: 8.3333%; }
  .col-xl-2  { width: 16.6667%; max-width: 16.6667%; }
  .col-xl-3  { width: 25%;      max-width: 25%; }
  .col-xl-4  { width: 33.3333%; max-width: 33.3333%; }
  .col-xl-5  { width: 41.6667%; max-width: 41.6667%; }
  .col-xl-6  { width: 50%;      max-width: 50%; }
  .col-xl-7  { width: 58.3333%; max-width: 58.3333%; }
  .col-xl-8  { width: 66.6667%; max-width: 66.6667%; }
  .col-xl-9  { width: 75%;      max-width: 75%; }
  .col-xl-10 { width: 83.3333%; max-width: 83.3333%; }
  .col-xl-11 { width: 91.6667%; max-width: 91.6667%; }
  .col-xl-12 { width: 100%;     max-width: 100%; }
}


/* ======================================
   UTILITIES (SPACING, POSITION, ETC.)
====================================== */
.p-0   { padding: 0 !important; }
.pt-2  { padding-top: 0.5rem !important; }
.pt-4  { padding-top: 1.5rem !important; }
.pb-0  { padding-bottom: 0 !important; }
.pb-4  { padding-bottom: 1.5rem !important; }
.pb-5  { padding-bottom: 3rem !important; }

.px-2  { padding-right: 0.5rem !important; padding-left: 0.5rem !important; }
.py-4  { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

.ps-3  { padding-left: 1rem !important; }
.ps-4  { padding-left: 1.5rem !important; }

.pe-1  { padding-right: 0.25rem !important; }
.pe-2  { padding-right: 0.5rem !important; }
.pe-3  { padding-right: 1rem !important; }

.mt-3  { margin-top: 1rem !important; }
.mt-4  { margin-top: 1.5rem !important; }

.mb-0  { margin-bottom: 0 !important; }
.mb-2  { margin-bottom: 0.5rem !important; }
.mb-3  { margin-bottom: 1rem !important; }
.mb-4  { margin-bottom: 1.5rem !important; }

.m-0   { margin: 0 !important; }

.ms-auto { margin-left: auto !important; }
.ms-0    { margin-left: 0 !important; }
.ms-3    { margin-left: 1rem !important; }

.me-auto { margin-right: auto !important; }
.me-4    { margin-right: 1.5rem !important; }

.w-100 { width: 100% !important; }

.position-relative { position: relative !important; }

.text-center { text-align: center !important; }
.text-start  { text-align: left !important; }
.text-white  { color: #fff !important; }

.fl-r { float: right; }


/* ======================================
   NAVBAR
====================================== */
.navbar {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  text-decoration: none;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
}

.navbar-expand-lg .navbar-nav {
  flex-direction: row;
}

@media (max-width: 1024px) {
    .responsive-menu,
    .navbar-toggle {
        display: block;
    }

    .main-menu {
        display: none !important;
    }
}

@media (min-width: 1025px) {
  .navbar-expand-lg .navbar-collapse,
  .navbar-expand-lg .collapse {
    display: flex !important;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .responsive-menu,
    .navbar-toggle {
        display: none !important;
    }
}


/* ======================================
   OFFCANVAS
====================================== */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;

  height: 100%;
  background: #fff;
  z-index: 2000 !important;

  transform: translateX(100%);
  visibility: hidden;

  transition: transform 0.3s ease, visibility 0.3s ease;
}

.offcanvas.show {
  transform: translateX(0);
  visibility: visible;
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.5);
  opacity: 0;

  z-index: 5 !important;
  pointer-events: none;

  transition: opacity 0.3s ease;
}

.offcanvas-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}


/* ======================================
   COMPONENTS
====================================== */
.bg-white { background-color: #fff !important; }

button,
.btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  box-shadow: none;

  appearance: none;
  -webkit-appearance: none;
}

.border-0      { border: 0 !important; }
.shadow-none   { box-shadow: none !important; }
.outline-none  { outline: none !important; }

.navbar-brand img {
  display: inline-block;
}


/* ======================================
   SUBMENU
====================================== */
.submenu {
  position: relative;
}

.submenu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}

.submenu:hover .sub-menu {
  display: block;
}

@media (max-width: 1024px) {
  .submenu .sub-menu {
    position: static;
    display: none;
    width: 100%;
  }

  .submenu.active .sub-menu {
    display: block;
  }
}


/* ======================================
   MISC
====================================== */
.nav-link i {
  margin-left: 4px;
}

.hero-slide {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.rentals-svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

textarea.form-control {
  min-height: calc(1.5em + 0.75rem + 2px);
  padding: 10px;
  resize: vertical;
  line-height: 1.5;
}

textarea.form-control-sm {
  min-height: calc(1.5em + 0.5rem + 2px) !important;
}

textarea.form-control-lg {
  min-height: calc(1.5em + 1rem + 2px) !important;
}


/* ======================================
   THIRD-PARTY FIXES
====================================== */
.owl-carousel .owl-item {
  width: auto;
  padding: 0;
}