/**
 * @file
 * Styles for Bootstrap Barrio page.
 */

/* Hack for .placeholder issue https://www.drupal.org/project/drupal/issues/3233533 */
:root {
  --primary-color: #c9060d;
  --gray-color: #f4f4f4;
}

a.navbar-brand img {
  width: 34%;
}

.navbar-nav li.nav-item {
  padding: 9px;
  position: relative;
  z-index: 5;
}
.navbar-nav li.nav-item a {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
}
.navbar-nav .nav-link.is-active {
  color: #fff !important;
}

button.navbar-toggler {
  position: relative;
}

button.navbar-toggler.collapsed {
  border: 1px solid #b30606;
  color: #fff;
  background: #ffffff;
  box-shadow: 0 0 6px 0px #ee0808;
  border-radius: 3px;
}
.navbar-toggler-icon {
  width: 0.9em;
  height: 1.4em;
  background-blend-mode: hue;
}

.navbar-collapse.show section.region.region-primary-menu nav::before {
  content: "";
  background: #ffffff24;
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  top: 7px;
}
.navbar-collapse.show section.region.region-primary-menu nav {
  /* border-top: 1px solid #ffffff24; */
  position: relative;
}

.brn_ {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

em.placeholder {
  vertical-align: unset !important;
  cursor: unset !important;
  background-color: unset !important;
  opacity: unset !important;
}
section.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.slide_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 40vh;
  position: relative;
  overflow: hidden;
}
.slide_content h1 {
  color: #fff !important;
  font-size: 39px;
}
.slide_content p {
  color: #fff;
}

.slide_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55),
    /* soft black on the left */ rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0) 75% /* fully transparent on the right */
  );
  z-index: 1;
  pointer-events: none;
}

/* Ensure inner content (text on the right) stays above */
.slide_wrapper > * {
  position: relative;
  z-index: 2;
}

.card img {
  width: 100%;
  height: auto;
}

.card-img {
  height: 25vh;
}

.more-prods a {
  text-decoration: none;
  color: #777;
}
.more-prods a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.hm_intro_wrapper {
  background: #f4f4f4;
}

.grag {
  position: relative;
  width: 100%;
  display: flex;
}

/* line behind */
.grag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #dee2e6;
  transform: translateY(-50%);
  z-index: 1;
}
.grag:last-child::before {
  display: none;
}
/* inner label */
.grag > div {
  position: relative;
  z-index: 2;
  background: #ececec;
  padding: 0.25rem 0.75rem 0.25rem 0;
  width: fit-content;
  border-radius: 0.5rem;
}

.w_top {
  background: url("../../images/mountain.jpg") no-repeat center top / cover;
  position: relative;
}

.w_top::before {
  content: "";
  background: #efededeb;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.w_top > div {
  z-index: 10;
  position: relative;
}

.w_bottom {
  background: url("../../images/wedding-tent1.jpg") no-repeat center;
  background-size: cover;
  position: relative;
  height: 30vh;
}
.w_bottom::before {
  content: "";
  background: #ffffff;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.91) 6%,
    rgba(255, 255, 255, 0.29) 61%,
    rgba(255, 255, 255, 0) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.w_bottom > * {
  z-index: 10;
  position: relative;
}

.clientele .owl-carousel .owl-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: scale-down;
}
.clientele .owl-carousel .owl-item > div {
  height: 150px;
  overflow: hidden;
}

/* .site-footer {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 35px 0 30px;
    background: var(--primary-color);
} */
footer a {
  text-decoration: none;
}

.bg-gray {
  background-color: var(--gray-color);
}
:is(.path-webform, .path-contact) #main-wrapper {
  background: #f4f4f4;
  padding-bottom: 40px;
}
:is(.path-webform, .path-contact) #main {
  background: #fff;
  padding: 40px;
  margin: auto;
}

.field__item img {
  width: 100%;
  height: 100%;
}
.map_wrapper {
  height: 300px;
}

@media only screen and (min-width: 1024px) {
  .brn_ {
    height: 500px;
  }
  :is(.path-webform) #main {
    max-width: 65%;
    margin: auto;
  }
  :is(.path-webform, .path-contact) #main-wrapper {
    padding: 40px 0;
  }

  a.navbar-brand img {
    width: 18%;
  }
  .more-prods .card-img {
    height: 17vh;
  }
  .slide_content h1 {
    color: #fff !important;
    font-size: 55px;
  }
  .slide_content p {
    width: 50%;
    font-size: 24px;
  }

  .slide_wrapper {
    height: 60vh;
  }
  .map_wrapper {
    height: 500px;
  }
  .w_bottom {
    height: 60vh;
  }
}
