//==============================================
// Layout/WordPress Pages
//==============================================

// WordPress Pages
.site-main {
  width: 100%;
}

.page_content {
  padding: 3rem 1rem;
}

.home .page_content {
  padding: 0;
}

.mybooking-post-navigation-separator {
  margin-top: 4rem;
}

.post-navigation {
  margin: 2rem 0;
}

@media (max-width: 575.98px) {
  .home .page_content {
    padding: 2rem;
  }

  .blog .page_content,
  .single .page_content,
  .page .page_content {
    padding: 2rem 1rem;
  }
}

// Product detail pages

.mybooking-product-page {
  padding: 1rem;
} @media ( min-width: 575.98px ) {
  .mybooking-product-page {
    padding: 4rem 1rem;
  }
}

.mybooking-product-page_info-container {
  padding-bottom: 2rem;
}

.mybooking-product-page_image {
  min-width: 100%;
}

.mybooking-product-page_characteristics {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,.1);
}

// Mybooking Landing template

.page_header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70vh; // is greater than .mybooking_page margin because is fixed!
  overflow: hidden;
  z-index: -1;
  background-color: var(--hero-bg-color);
}

.page_header img {
  position: relative;
  bottom: 10vh;
  object-fit: cover;
  filter: var(--page-header-img-brightness);
}

.mybooking_page {
  background-color: #fff;
  z-index: 300;
  margin-top: 50vh;
}

.mybooking_page .page_sidebar {
  margin-top: -20vh; // Makes siderbar overlap header
}

.page_body {
  padding: 0 2rem 0 0;
}

.page_sidebar .page_title {
  color: #fff;
  font-weight: bolder;
  position: absolute;
  top: -10rem; // Makes title float over sidebar
}

.page_sidebar .page_inside {
  padding: 1rem;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 20px 0;
  border-radius: 3px;
}

@media (max-width: 992px) {
  .page_header {
    height: 100vh;
    overflow: visible;
  }

  .page_header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
  }

  .mybooking_page {
    margin-top: 65vh;
  }

  .mybooking_page .col-md-6 {
    max-width: 100%;
  }

  .mybooking_page .page_sidebar {
    display: block;
    max-width: 100% !important;
    float: none;
    margin-top: -30vh;
    margin-bottom: 3rem;
  } @media (max-width: 575.98px) {
    .mybooking_page .page_sidebar {
      padding-left: 0;
      padding-right: 0;
    }
  }

  .page_body {
    padding: 0;
  }
}
