/*
Theme Name: Tranquilo Stays
Author: the Design Infuse team
Author URI: https://designinfuse.com/
Description: Minimal and functional theme for Tranquilo Stays that reflects the brand guidelines.
Version: 1.0
Requires at least: 5.0
Tested up to: 5.5
Requires PHP: 7.0
Text Domain: tranquilo
*/




/**
 *
 *
 *
 * Branding
 *
 *
 *
 */


/**
 *
 * Buttons
 *
 */

.btn.btn-primary {
  padding: 12px 40px;
  font-size: 16px;
  border-colour: #417272;
  background: #417272;
  color: #fff;
  font-family: Nunito, sans-serif;
}

.btn.btn-primary:hover {
  background-color: #335b5b;
  border-color: #335b5b;
}



/**
 *
 * Double Border Images
 *
 */

.double-edge-border-img {
  position: relative;
}

.double-edge-border-img:after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: 8px;
  left: 8px;
  background: #879c9c;
  border: 2px solid #417272;
  border-radius: 10px;
  z-index: -1;
}

.double-edge-border-img .ratio {
  border: 1px solid #417272;
  border-radius: 10px;
}

.double-edge-border-img .ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}


/**
 *
 * CTA
 *
 */

section#cta {
  padding: 120px 0px;
  background: rgba(252, 242, 224, 1);
}

.booking-widget-wrapper {
  position: relative;
}

.booking-widget-wrapper:before {
  position: absolute;
  content: "";
  top: -8px;
  right: -8px;
  background: #879c9c;
  border: 2px solid #417272;
  left: 8px;
  bottom: 8px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: 0;
}
#bb_resBookingBox {
  padding: 40px 0;
  border-radius: 10px;
  width: 100%!important;
  position: relative;
  z-index: 1;
}

#bb_resBookingBox #bb_resBtn {
  padding: 12px 32px;
  border-radius: 20px;
}

#ui-datepicker-div {
  z-index: 4!important;
}

section#cta h2 {
  font-family: Lora, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #417272;
  text-align: center;
  margin-bottom: 80px;
}

@media screen and (min-width: 567px) {
  section#cta h2 {
    font-size: 40px;
  }
}


/**
 *
 * Navbar
 *
 */

.admin-bar nav.navbar {
  top: 32px;
}

.offcanvas#offcanvasRight .brand-logo {
  width: auto;
  height: 300px;
}

.navbar .navbar-brand {
  width: auto;
  height: 48px;
}

@media screen and (min-width: 567px) {
  .navbar .navbar-brand {
    width: auto;
    height; 55px;
  }
}


/**
 *
 * Footer
 *
 */

section#footer {
  background: #417272;
  padding: 40px 0 10px;
}






/**
 *
 *
 *
 * Frontpage
 *
 *
 *
 */


/**
 *
 * Hero Section
 *
 */

.home section#hero-section {
  height: auto;
  margin-top: 110px;
}

@media screen and (min-width: 567px) {
  .home section#hero-section {
    margin-top: 0;
    height: 100vh;
  }
}

.home section#hero-section .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}

@media screen and (min-width: 567px) {
  .home section#hero-section .hero-grid {
    grid-template-columns: 1fr 1fr;
    height: 100vh;
  }
}

.home section#hero-section .hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100vw;
  overflow: hidden;
  margin-bottom: 80px;
}

@media screen and (min-width: 567px) {
  .home section#hero-section .hero-image-wrapper {
    height: 100%;
    margin-bottom: 0;
  }
}

.home section#hero-section .hero-image {
  position: absolute;
  height: 75%;
  width: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.home section#hero-section .hero-image-bg {
  position: absolute;
  height: 100vw;
  width: 100%;
  max-width: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 567px) {
  .home section#hero-section .hero-image-bg {
    height: 75%;
    width: 100%;
    max-width: 600px;
  }
}

.home section#hero-section .hero-image-bg .ratio video {
  object-fit: cover;
}

.home section#hero-section .hero-content {
  height: 100%;
  background: rgba(252, 242, 224, 0.5);
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.home section#hero-section .hero-content .content h2 {
  font-family: Lora, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #417272;
  text-align: center;
}

@media screen and (min-width: 567px) {
  .home section#hero-section .hero-content .content h2 {
    font-size: 40px;
    text-align: left;
  }
}

.home section#hero-section .hero-content .content p {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 40px;
  text-align: center;
}

@media screen and (min-width: 567px) {
  .home section#hero-section .hero-content .content p {
    text-align: left;
  }
}

.home section#hero-section .vines {
  display: none;
}

@media screen and (min-width: 567px) {
  .home section#hero-section .vines {
    position: absolute;
    display: block;
    top: 0;
    right: 30%;
    width: 250px;
    height: auto;
    z-index: -1;
  }
}


/**
 *
 * Booking Widget Section
 *
 */

.home section#booking-widget {
  position: relative;
  top: 0;
  z-index: 3;
  padding: 40px 0;
}

@media screen and (min-width: 567px) {
  .home section#booking-widget {
    top: -56px;
    padding: 0;
  }
}


/**
 *
 * About Section
 *
 */

.home section#about {
  padding: 80px 0;
}

.home section#about h2 {
  font-family: Lora, serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: #417272;
  margin-bottom: 16px;
  text-align: center;
}

@media screen and (min-width: 567px) {
  .home section#about h2 {
    font-size: 32px;
    margin-bottom: 32px;
    text-align: left;
  }
}

.home section#about p {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

@media screen and (min-width: 567px) {
  .home section#about p {
    font-size: 18px;
    text-align: left;
  }
}


/**
 *
 * Amenities
 *
 */

.home section#amenities {
  padding: 80px 0;
  background: rgba(252, 242, 224, 0.5);
}

.home section#amenities h2 {
  font-family: Lora, serif;
  font-size: 24px;
  color: #417272;
  font-weight: 600;
  margin-bottom: 56px;
  text-align: center;
}

.home section#amenities .amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home section#amenities .amenity-item .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.home section#amenities .amenity-item .title {
  font-family: Nunito, sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  color: #000;
}


/**
 *
 * Rooms Section
 *
 */

.home section#rooms {
  padding: 120px 0px;
}

.home section#rooms h2 {
  font-family: Lora, serif;
  font-size: 24px;
  color: #417272;
  font-weight: 600;
  margin-bottom: 56px;
  text-align: center;
}

.home section#rooms .room-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home section#rooms .room-item .double-edge-border-img {
  width: 100%;
  height: 100%;
  margin-bottom: 24px;
}

.home section#rooms .room-item .title {
  font-family: Lora, serif;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
  margin-bottom: 8px;
}

.home section#rooms .room-item p {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
}


/**
 *
 * Spaces Section
 *
 */

.home section#spaces {
  padding: 120px 0px;
  background: rgba(252, 242, 224, 0.5);
  overflow-x: hidden;
}

.home section#spaces h2.heading {
  font-family: Lora, serif;
  font-size: 32px;
  color: #417272;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.home section#spaces p.subhead {
  font-family: Nunito, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  color: #000;
  margin-bottom: 56px;
}

.home section#spaces .ratio {
  border: 1px solid #417272;
  border-radius: 10px;
}

.home section#spaces .ratio img {
  border-radius: 10px;
}

.home section#spaces .space-name {
  position: relative;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1.2;
  font-weight: 700;
  color: #417272;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.home section#spaces .space-name:after {
  content: "";
  position: absolute;
  bottom: 0;
  bottom: -18px;
  left: -50px;
  right: -50px;
  background: #417272;
  height: 6px;
  width: 33%;
  z-index: -1;
}

.home section#spaces .legend {
  font-family: Lora, serif;
  font-size: 40px;
  font-weight: 700;
  color: #417272;
  margin-bottom: 48px;
}

.home section#spaces .space-description {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
}





/**
 *
 *
 * FAQ Section
 *
 *
 */

.home section#faqs {
  padding: 80px 0px;
  overflow-x: hidden;
}

.home section#faqs h2.heading {
  font-family: Lora, serif;
  font-size: 32px;
  color: #417272;
  font-weight: 600;
  margin-bottom: 56px;
  text-align: center;
}





/**
 *
 *
 *
 * About Page
 *
 *
 *
 */

.page-about section#about-hero {
  padding: 120px 0;
}

.page-about section#about-hero h2.heading {
  font-family: Lora, serif;
  font-size: 24px;
  color: #417272;
  font-weight: 600;
  margin-bottom: 32px;
  line-height: 1.4;
  text-align: center;
}

@media screen and (min-width: 567px) {
  .page-about section#about-hero h2.heading {
    text-align: left;
  }
}

.page-about section#about-hero p {
  font-family: Nunito, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

@media screen and (min-width: 567px) {
  .page-about section#about-hero p {
    text-align: left;
  }
}

.page-about section#about-hero .ratio {
  border-radius: 10px;
}

.page-about section#about-hero .ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}


/**
 *
 * Journey Section
 *
 */

.page-about section#journey {
  padding: 120px 0px;
  position: relative;
}

.page-about section#journey:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  width: 1px;
  height: 95%;
  background: #417272;
  z-index: -1;
}

@media screen and (min-width: 567px) {
  .page-about section#journey:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.page-about section#journey .journey-title {
  font-family: Lora, serif;
  font-size: 24px;
  font-weight: 600;
  color: #417272;
  line-height: 1.4;
  margin-bottom: 24px;
  padding-left: 56px;
}

@media screen and (min-width: 567px) {
  .page-about section#journey .journey-title {
    padding-left: 0px;
  }
}

.page-about section#journey .journey-description {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-left: 56px;
}

@media screen and (min-width: 567px) {
  .page-about section#journey .journey-description {
    padding-left: 0px;
  }
}





/**
 *
 *
 *
 * Contact Page
 *
 *
 *
 */

.page-contact section#contact-hero {
  padding: 80px 0;
  margin-top: 56px;
}
