/* Generic overrides */

body {
  color: #111;
  font-family: "Manrope", sans-serif !important;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
li {
  font-family: "Manrope", sans-serif !important;
}

.section-color {
  background-color: #eee !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.text-small {
  font-size: 85% !important;
}

.text-muted {
  color: #999 !important;
}

.text-center {
  text-align: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.glide__bullets>button.glide__bullet--active {
  background-color: #333 !important;
}

.glide__arrow:hover {
  color: #111 !important;
}

.only-desktop {
  display: none;
}

.only-mobile {
  display: block;
}

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

  .only-mobile {
    display: none;
  }
}

/* Sections */
body > header h2::before,
body > header h2::after {
  background-color: #b19777 !important;
}
.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  color: #111;
  font-size: 3em;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: normal;
  margin-right: 0;
  z-index: 5;
}

.section-header p {
  color: #222;
  flex-grow: 1;
  font-size: 1em;
  font-weight: 500;
  margin: 0;
  z-index: 5;
}

.section-header h3 {
  color: #eee;
  font-size: 4em;
  z-index: 4;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-0.75em);
  letter-spacing: -2px;
}

.section-header h3.darker {
  color: #ddd;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .section-header h2 {
    font-size: 5em;
    margin-right: 1em;
  }

  .section-header h3 {
    font-size: 10em;

  }

  .section-header p {
    font-size: 1.25em !important;
    text-align: right;
  }
}

.title > p::before, .title > p::after {
  background-color: #30373E !important;
}

.pagination li.page.active a,
.pagination li.page:hover a {
  background-color: #30373E !important;
}

/* Footer */

footer {
  background-color: #fff !important;
  overflow: hidden;
  padding-bottom: 0;
}

footer>.max-container {
  background-color: #111;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  margin: 0;
  padding: 2em;
}

.footer-bar {
  background-color: #111;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.footer-bar>.max-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2em;
}

.footer-bar h2 {
  font-size: 5em;
  letter-spacing: -5px;
  line-height: 0.8em;
  text-align: center;
  text-transform: uppercase;
  z-index: 5;
}

footer a,
footer li {
  color: #ddd !important;
  z-index: 10;
}

footer a:hover {
  color: #ccc;
}

.footer-gallery {
  justify-content: end;
  margin-bottom: 4em;
}

.footer-gallery>div {
  display: flex;
}

.footer-gallery img {
  border-radius: 10px !important;
  width: 50%;
}

.footer-gallery img:first-child {
  margin-right: 1.5em;
  transform: translateY(3em);
}

@media (min-width: 768px) {
  footer {
    background-color: #111 !important;
  }
  footer>.max-container {
    margin: 0 1em;
  }

  .footer-bar {
    margin: 0 1em;
  }

  .footer-bar h2 {
    font-size: 10em;
  }

  .footer-bar>.max-container {
    flex-direction: row;
  }
}

/* Menu */
body>nav.scroll-menu::before {
  background-color: #111 !important;
}

nav .dropdown>ul>li>a,
.menu-cnt>ul>li>ul li>a {
  background-color: #111 !important;
}

body>nav .menu-brand,
.menu-icon-top .menu-brand {
  padding: 0 !important;
}

@media (max-width: 991.98px) {
  .menu-fixed.scroll-menu .menu-brand {
    height: 65px !important;
  }

  nav.active .menu-btn {
    color: #fff !important;
  }

  .menu-cnt {
    background-color: #111 !important;
  }

  nav.active .menu-cnt {
    border-top: 1px solid #111 !important;
  }

  nav.light .menu-cnt a {
    color: #ddd !important;
  }
}

/* Main Section Slider */

.lg-outer .lg-thumb-outer {
  background-color: #000 !important;
}

.cruz-title {
  font-weight: 500 !important;
}

.cruz-title strong {
  font-weight: 900;
}

.cruz-carousel .owl-stage {
  padding-left: 0 !important;
}

.cruz-carousel .light-item {
  display: block;
  position: relative;
}

.cruz-carousel .light-item>div {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: linear .1s opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cruz-carousel .light-item>div>img {
  width: 50px;
  height: 50px;
}

.cruz-carousel .light-item:hover>div {
  opacity: 0;
}

/* Interior Section */

.cruz-interior-section .interior-bg {
  background-image: url(/media/images/welcome/main.jpg);
  background-position: left;
  background-size: cover;
  border-radius: 25px;
  position: relative;
  top: 0;
  left: 0;
  height: 50vh;
  width: 100%;
}

.interior-header {
  background-color: #fff;
  border-bottom-left-radius: 25px;
  position: relative;
}

.interior-header h3 {
  font-size: 4em;
  color: #eee;
  position: absolute;
  top: 0%;
  left: 0;
  letter-spacing: -2px;
  line-height: 1em;
  padding-left: 0.25em;
  transform: translateY(-0.25em);
  z-index: 4;
}

.cruz-interior-section h2 {
  color: #111;
  font-size: 3em;
  letter-spacing: -2px;
  line-height: normal;
  padding: 0.5em;
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .interior-header {
    transform: translateX(-25%);
  }

  .interior-header h3 {
    font-size: 8em;
  }

  .cruz-interior-section h2 {
    font-size: 5em;
  }

  .cruz-interior-section .interior-bg {
    position: absolute;
    height: 100%;
  }
}

.cruz-interior-section p {
  color: #333;
}

.btn {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #eee;
  margin-bottom: 2em;
}

.btn:hover {
  background-color: #eee !important;
  border-color: #111 !important;
  color: #111 !important;
  transform: none !important;
}

.cruz-interior-section .light-item img {
  border-radius: 10px;
}

/* Services Section */

.icon-box-top {
  align-items: center;
}

.icon-body {
  background-color: #111;
  border-radius: 1em;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  height: 90px;
  width: 90px;
  margin: 1em;
  padding: 1.1em;
}

.icon-body img {
  width: 50px;
  height: 50px;
}

/* Haswell Theme */
.light-73-wide {
  font-size: 73px;
  line-height: 73px;
  font-weight: 300;
  letter-spacing: 24px;
  color: #4b4e53;
}

.light-70-wide {
  font-size: 70px;
  line-height: 70px;
  font-weight: 300;
  letter-spacing: 24px;
  color: #4b4e53;
}

.light-60-wide {
  font-size: 60px;
  line-height: 60px;
  font-weight: 300;
  letter-spacing: 15px;
  color: #4b4e53;
}

.light-56-wide {
  font-size: 56px;
  line-height: 56px;
  font-weight: 300;
  letter-spacing: 25px;
  color: #4b4e53;
}

.font-white,
.font-white a {
  color: #fff !important;
}

.bold {
  font-weight: 700 !important;
}

.norm-16-wide {
  font-size: 16px;
  line-height: 18px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #4b4e53;
}

.slash-divider-10 {
  margin: 0 10px;
}

/* Memoria de calidades */

.memory-section {
  background-color: rgba(0, 0, 0, 0.35);
}

.memory-block h2 {
  color: #eee;
  font-size: 3em;
  letter-spacing: -2px;
  line-height: normal;
}

.memory-block p {
  font-size: 1em;
  margin-top: 1em;
}

.memory-block a {
  margin-top: 1em !important;
}

@media (min-width: 768px) {
  .memory-block h2 {
    font-size: 5em;
  }
}

.memory-section .glide__bullets {
  right: 0 !important;
  left: 50% !important;
  bottom: -30px !important;
  transform: translateX(-50%);
}

.memory-section .glide__arrow.glide__arrow--left {
  bottom: -40px !important;
  left: 25% !important;
}

.memory-section .glide__arrow.glide__arrow--right {
  bottom: -40px !important;
  right: 25% !important;
}

.media-box .caption h2 {
  font-size: 1.4em !important;
}

.media-box .caption h3 {
  font-size: 1em !important;
  white-space: normal !important;
}

.media-box .caption h3::before {
  background-color: #eee !important;
}

.media-box .caption p {
  font-size: 0.9em !important;
}

/* Timeline */

.timeline>div .badge span {
  font-size: 1.1em;
}

.timeline>div:hover .badge p {
  color: #111 !important;
}

.timeline>div .panel {
  border-color: #111 !important;
}

.counter .value span:last-child {
  color: #555 !important;
}


/* PAGINA - MEMORIA DE CALIDADES */

.page-memory>header {
  height: 60vh !important;
  margin-top: 0 !important;
}

.page-memory .icons {
  display: flex;
  flex-flow: wrap;
  gap: 1em;
  justify-content: center;
}

.page-memory .icon-container {
  padding: 1em;
  max-width: calc(50% - 2em);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-memory .icon-body {
  background-color: #111;
  border-radius: 1em;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  margin: 1em;
  padding: 1.1em;
  transition: box-shadow 0.1s linear;
}

.page-memory .icon-header {
  font-size: 0.9em;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}

.page-memory .icon-body img {
  width: 100%;
}

@media (min-width: 640px) {
  .page-memory .icon-container {
    max-width: calc(20% - 2em);
  }
}

.page-memory .section-building h4 {
  color: #111;
  font-size: 5em;
  font-weight: 900;
  line-height: normal;
}

.page-memory .section-building h5 {
  color: #111;
  font-size: 1.3em;
  font-weight: 600;
  text-transform: capitalize;
}

.page-memory .section-building p,
.page-memory .section-building li {
  color: #111;
  font-size: 1em;
}

.page-memory .section-legal {
  background-color: #707070;
  margin-bottom: 50px;
}

.page-memory .section-legal .container>div {
  border: 1px solid #fff;
  padding: 1em;
}

.page-memory .section-legal h2,
.page-memory .section-legal p {
  color: #eee;
}

.page-memory .icon-box-top h3 {
  color: #111;
}

@media only screen and (min-width: 1400px) {
  :root .page-memory .container {
    padding-left: 50px;
    padding-right: 50px;
  }

  .container {
    max-width: calc(1200px + 50px);
  }
}

/* FORM POPUP */

.popup {
  background-color: #379634;
  position: fixed;
  left: 0;
  bottom: -25px;
  min-height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1em;
  z-index: 30;
  animation-name: popup-show-mobile;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@media (min-width: 768px) {
  .popup {
    animation-name: popup-show;
  }
}

@keyframes popup-show-mobile {
  from { bottom: -25px }
  to { bottom: 75px }
}

@keyframes popup-show {
  from { bottom: -90px }
  to { bottom: 0px }
}

.popup p {
  color: #fff;
  font-size: 1.1em;
  line-height: normal;
  margin: 0;
}

/* TOP */

.top {
  color: #fff;
  font-size: 15px;
  height: 45px;
  width: 45px;
  border-radius: 24px;
  margin-bottom: 1px;
  text-align: center;
  background-color: #111;
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9;
  cursor: pointer;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top span {
  font-size: 1.25em;
  font-weight: 900;
  line-height: normal;
  transform: rotate(90deg);
  width: 100%;
}