@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
  .ipad-portrait {
    color: red;
  } /* your css rules for ipad portrait */
}
@media all and (device-width: 1024px) and (device-height: 768px) and (orientation: landscape) {
  .ipad-landscape {
    color: blue;
  } /* your css rules for ipad landscape */
}
/* REM FONT SIZE */
/* RESETS */
.wp-site-blocks {
  padding: 0;
}

.wp-block-template-part,
.entry-content {
  margin: 0;
}

.wp-block-post-date a {
  font-size: 1.14rem !important;
}

/* CAPTION */
.wp-block-image figcaption {
  text-align: center;
}

.fixed {
  position: fixed;
}

/* BOX SHADOW */
.box-shadow {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

:root {
  --swiper-navigation-color: #ffffff;
  --swiper-theme-color:#ffffff;
  --wpforms-button-background-color: red;
  --wpforms-button-text-color: #ffffff;
}

@media only screen and (min-width: 320px) {
  .for-mobile {
    display: block !important;
  }
}
@media only screen and (min-width: 768px) {
  .for-mobile {
    display: none !important;
  }
}
@media only screen and (min-width: 1240px) {
  .for-mobile {
    display: none !important;
  }
}

@media only screen and (min-width: 320px) {
  .for-tablet {
    display: none !important;
  }
}
@media only screen and (min-width: 768px) {
  .for-tablet {
    display: block !important;
  }
}
@media only screen and (min-width: 1240px) {
  .for-tablet {
    display: none !important;
  }
}

@media only screen and (min-width: 320px) {
  .for-desktop {
    display: none !important;
  }
}
@media only screen and (min-width: 768px) {
  .for-desktop {
    display: none !important;
  }
}
@media only screen and (min-width: 1240px) {
  .for-desktop {
    display: block !important;
  }
}

.imatge-primer-mobile > div:first-child {
  order: 2;
}
.imatge-primer-mobile > div:last-child {
  order: 1;
}
@media only screen and (min-width: 1024px) {
  .imatge-primer-mobile > div:first-child {
    order: 1;
  }
  .imatge-primer-mobile > div:last-child {
    order: 2;
  }
}

body > .entry-content {
  padding: 0;
}
@media only screen and (min-width: 1024px) {
  body > .entry-content {
    padding: 0;
  }
}

header.wp-block-template-part {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 4;
  padding: 0;
  -webkit-transition: transform 0.4s ease, all 0.4s ease !important;
  -moz-transition: transform 0.4s ease, all 0.4s ease !important;
  -ms-transition: transform 0.4s ease, all 0.4s ease !important;
  -o-transition: transform 0.4s ease, all 0.4s ease !important;
  transition: transform 0.4s ease, all 0.4s ease !important;
}
header.wp-block-template-part .mts-header {
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#ffffff",GradientType=1);
}
header.wp-block-template-part .active-header {
  display: none;
}
header.wp-block-template-part.fullheader .wp-block-site-logo {
  display: none;
}
header.wp-block-template-part.fullheader > div {
  padding: 0;
  background: #847564;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
  -webkit-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.3);
}
header.wp-block-template-part.fullheader > div .active-header {
  display: flex;
}
header.wp-block-template-part.fullheader > div .wp-block-navigation li.wp-block-navigation-link a.wp-block-navigation-item__content {
  color: #ffffff;
}
header.wp-block-template-part.headerup {
  transform: translateY(-500px);
}

header.wp-block-template-part .wp-block-navigation__responsive-container-close,
header.wp-block-template-part .wp-block-navigation__responsive-container-open {
  background-color: #847564;
  border-radius: 0.1rem;
}

html.has-modal-open .wp-block-site-logo {
  position: fixed;
  top: 1rem;
  left: 1.5rem;
  z-index: 999999;
}

html.has-modal-open header.fullheader .wp-block-navigation-item__content .wp-block-navigation-item__label {
  color: #ffffff !important;
}

ul.wp-block-navigation li.wp-block-navigation-link a.wp-block-navigation-item__content {
  font-size: 1.35rem !important;
  font-size: 20px !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  background-color: transparent !important;
  border: 0 solid rgba(0, 0, 0, 0.15);
  color: #D66242;
  width: 100%;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  background-color: transparent;
  position: absolute;
  right: 0;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-item__content .wp-block-navigation-item__label {
  position: absolute;
  right: 0.5rem;
  top: 0;
}

.wp-block-navigation__responsive-container.is-menu-open.is-menu-open {
  background-color: #847564 !important;
  padding: 6rem 2rem 2rem 2rem;
}

ul.wp-block-navigation li.wp-block-navigation-link a.wp-block-navigation-item__content {
  font-size: 1.35rem !important;
  font-size: 20px !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  background-color: transparent !important;
  border: 0 solid rgba(0, 0, 0, 0.15);
  color: #33424A;
  width: 100%;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  background-color: transparent;
  position: absolute;
  right: 0;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-item__content .wp-block-navigation-item__label {
  position: absolute;
  right: 0.5rem;
  top: 0;
}

.fullheader .wp-block-navigation .current-language-item {
  color: #ffffff !important;
}
.fullheader .wp-block-navigation .current-language-item .wp-block-navigation-item__label {
  color: #ffffff !important;
}
.fullheader .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  background-color: transparent !important;
  border: 0 solid rgba(0, 0, 0, 0.15);
  color: #33424A;
  width: 100%;
}
.fullheader .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  background-color: transparent;
  position: absolute;
  right: 0;
}
.fullheader .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation-item__content .wp-block-navigation-item__label {
  position: absolute;
  right: 0.5rem;
  top: 0;
}

.edit-post-link {
  border: 0.2rem solid #ffffff;
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #D66242;
  z-index: 9999;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  transition: 1s;
}
.edit-post-link a {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 5rem;
  text-align: center;
  display: block;
  text-decoration: none;
  letter-spacing: 0.075rem;
}
.edit-post-link:hover {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

.data-target-div1 {
  padding: 3rem 0;
}
.data-target-div1 #caf-filter-layout1 li a {
  background-color: #D66242;
  color: #ffffff;
  padding: 0.5rem 1rem;
  margin: 0;
  font-size: 16px;
  font-size: 1rem;
  text-transform: uppercase;
}
.data-target-div1 #caf-filter-layout1 li a.active {
  background-color: #ffffff;
  color: #D66242;
}
.data-target-div1 #caf-filter-layout1 li a[data-id="1"] {
  display: none;
}

.caf-row {
  background: #D66242 url("../images/cercle-pattern.png") top left repeat;
}
.caf-row .error-caf {
  padding: 20px;
  background: transparent;
  color: #ffffff;
}
.caf-row .caf-post-layout1 {
  background-color: transparent;
}
.caf-row .caf-post-layout1 .manage-layout1 {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  background-color: transparent;
  transition: 0.5s;
}
.caf-row .caf-post-layout1 #manage-post-area {
  background-color: #D66242;
}
.caf-row .caf-post-layout1 .caf-post-title {
  background-color: #D66242;
  text-align: center;
}
.caf-row .caf-post-layout1 .caf-post-title a {
  color: #ffffff !important;
}
.caf-row .caf-post-layout1 .caf-meta-content,
.caf-row .caf-post-layout1 .caf-content,
.caf-row .caf-post-layout1 .caf-content-read-more {
  display: none;
}

.caf-featured-img-box {
  transition: 0.35s;
}
.caf-featured-img-box:hover {
  transform: scale(1.1);
}

@keyframes skew {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.caf-animate-skew1 {
  animation: skew 0.75s;
}

.fa-spinner:before {
  content: " ";
  display: block;
  background: url("../images/ico-mts.png") center no-repeat;
  background-size: 100% 100%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.wp-block-button__link {
  color: #ffffff !important;
  border: 0.15rem solid #D66242;
}
.wp-block-button__link:hover {
  border: 0.15rem solid #D66242;
  background-color: #ffffff;
  color: #D66242 !important;
}

.swiper .wp-block-button__link {
  color: #D66242 !important;
  border: 0.15rem solid #D66242;
  background-color: #ffffff !important;
}
.swiper .wp-block-button__link:hover {
  border: 0.15rem solid #D66242;
  background-color: #ffffff;
  color: #D66242 !important;
}

.menu-seccion {
  text-align: center !important;
}
.menu-seccion .wp-block-button__link {
  border: 0 solid #D66242;
  box-shadow: none;
  font-weight: 300;
}
.menu-seccion .wp-block-button__link:hover {
  border: 0 solid #D66242;
  color: #D66242 !important;
}

.has-primary-background-color .wp-block-button__link {
  color: #D66242 !important;
  border: 0.15rem solid #D66242;
  background-color: #ffffff !important;
}
.has-primary-background-color .wp-block-button__link:hover {
  border: 0.15rem solid #D66242;
  background-color: #ffffff;
  color: #D66242 !important;
}

.wp-block-button.is-style-arrow-button .wp-element-button {
  position: relative;
  padding-right: 3rem;
}
.wp-block-button.is-style-arrow-button .wp-element-button:after {
  content: " ";
  background: url("../images/arrow-next.svg") center no-repeat;
  position: absolute;
  top: calc(50% - 1rem);
  bottom: calc(50% - 1rem);
  right: 0.35rem;
  width: 2.2rem;
  height: 2rem;
}
.wp-block-button.is-style-arrow-button .wp-element-button:hover {
  color: #D66242 !important;
}
.wp-block-button.is-style-arrow-button .wp-element-button:hover:after {
  background: url("../images/arrow-next-hover.svg") center no-repeat;
}

.products-template .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: inherit;
  margin-left: auto !important;
  margin-right: auto !important;
}

.products-template .apertura {
  overflow: inherit !important;
  min-height: 80vh;
  margin-bottom: 9rem !important;
}

.products-template .apertura .wp-block-columns {
  position: relative;
}

.products-template .apertura .wp-block-columns .wp-block-column {
  position: absolute;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: calc(100% - 3rem);
}

.products-template .apertura .wp-block-columns .wp-block-column .wp-block-buttons {
  width: 100%;
  position: relative;
}

.products-template .apertura .wp-block-columns .wp-block-column .wp-block-buttons .wp-block-button {
  position: absolute;
  z-index: 30;
  margin-top: 2rem;
}

.products-template .apertura .wp-block-columns .wp-block-column .wp-block-post-featured-image {
  width: calc(100% - 3rem);
  position: absolute;
  z-index: 20;
  bottom: -25rem;
}

.products-template .apertura .wp-block-columns .wp-block-column .wp-block-post-featured-image img {
  width: 100%;
  max-width: 22rem;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .products-template .apertura .wp-block-columns .wp-block-column {
    position: initial;
    width: 60%;
  }
  .products-template .apertura .wp-block-columns .wp-block-column:last-child {
    width: 40%;
  }
  .products-template .apertura .wp-block-columns .wp-block-column:last-child .wp-block-post-featured-image {
    bottom: -16rem;
  }
  .products-template .apertura .wp-block-columns .wp-block-column:last-child .wp-block-post-featured-image img {
    max-width: 36rem;
  }
}
@media only screen and (min-width: 1024px) {
  .products-template .apertura {
    margin-bottom: 2rem !important;
  }
  .products-template .apertura .wp-block-columns .wp-block-column {
    width: 65%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  .products-template .apertura .wp-block-columns .wp-block-column:last-child {
    width: 35%;
  }
  .products-template .apertura .wp-block-columns .wp-block-column:last-child .wp-block-post-featured-image {
    width: 40%;
    bottom: -18rem;
  }
}
.products-template .galeria-producte .splide:last-child .splide__list .splide__slide.is-active {
  border: 0.2rem solid #2eac80;
  border-radius: 0.3rem;
  background-color: transparent;
}

.products-template .galeria-producte .splide:last-child .splide__list .splide__slide:hover {
  background-color: transparent;
}

.products-template .galeria-producte .splide:last-child .splide__list .splide__slide::after {
  background-color: transparent;
}

.products-template .galeria-producte .splide__arrows .splide__arrow {
  border: none;
  background-color: transparent;
}

.products-template .galeria-producte .splide__arrows .splide__arrow svg {
  fill: #2eac80;
  height: 2rem;
  width: 2rem;
}

.products-template .entry-content .is-layout-flex {
  width: 100%;
}

.single .entry-content {
  padding: 0 1rem !important;
}
.single .wp-block-relacionado .has-global-padding {
  padding: 0 !important;
}

/* SLIDER PRODUCTES */
.wp-swiper {
  padding: 0 0 2rem 0;
}
.wp-swiper .swiper-wrapper {
  margin: 0;
}
.wp-swiper .swiper-button-next, .wp-swiper .swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset, 0);
}
.wp-swiper .swiper-button-prev, .wp-swiper .swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 0);
}
.wp-swiper .swiper-pagination {
  margin-top: 2rem;
  color: #ffffff;
}
.wp-swiper.blanc {
  padding: 1rem;
  background: url("../images/cercle-pattern-black.png") top left;
}
.wp-swiper.blanc .swiper-button-next, .wp-swiper.blanc .swiper-rtl .swiper-button-prev {
  color: #000000;
}
.wp-swiper.blanc .swiper-button-prev, .wp-swiper.blanc .swiper-rtl .swiper-button-next {
  color: #000000;
}
.wp-swiper.blanc .swiper-pagination {
  color: #000000;
}

/* THUMB IMATGE PRODUCTS */
.caf-featured-img-box {
  min-height: 20rem;
}

body.casosdeestudio-template-default .wp-block-cover .wp-block-post-excerpt__excerpt {
  font-size: 1.5rem;
  line-height: 1.3;
}

.cifra p {
  margin: 0;
  padding: 0 20%;
}

body.single-casosdeestudio .wp-block-cover {
  width: 100%;
  min-height: 80vh !important;
  margin: 0 !important;
  padding: 1rem !important;
}
@media only screen and (min-width: 768px) {
  body.single-casosdeestudio {
    min-height: 65vh !important;
  }
}
@media only screen and (min-width: 768px) {
  body.single-casosdeestudio {
    min-height: 45vh !important;
  }
}

.wp-block-aab-group-accordion {
  border-top: 0.2rem solid #ffffff;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item.aagb__accordion_active {
  border-color: transparent !important;
  border-width: 0 !important;
  border-style: solid !important;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item.aagb__accordion_active .aagb__accordion_head {
  border-bottom: 0 solid #828282;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item .aagb__accordion_head {
  border-bottom: 0.2rem solid #ffffff;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item .aagb__accordion_body {
  border: none !important;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item .aagb__accordion_heading {
  display: block;
  width: 100%;
  padding: 1.3rem 0;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item .aagb__accordion_heading .aagb__accordion_title {
  font-size: 20px;
  font-size: 2rem;
  font-weight: 600;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item .aagb__icon {
  width: 3rem !important;
  height: 3rem !important;
  margin: -0.35rem 0 0 -1rem;
  color: #ffffff;
}
.wp-block-aab-group-accordion .wp-block-aab-accordion-item .aagb__icon:before {
  font-size: 20px;
  font-size: 2rem;
  line-height: 100%;
  width: 3rem;
  height: 3rem;
}

.wpforms-container .wpforms-field .wpforms-field-medium {
  width: 100%;
  padding-left: 0;
  border-radius: 0;
  border: none;
  border-bottom: 0.15rem solid #000000;
  color: #000000;
}
.wpforms-container .wpforms-field .wpforms-field-medium::placeholder {
  color: #000000;
  font-weight: 600;
}

.wpforms-container input.wpforms-field-medium,
.wpforms-container select.wpforms-field-medium,
.wpforms-container .wpforms-field-row.wpforms-field-medium {
  max-width: 100% !important;
}

div.wpforms-container-full .wpforms-form .wpforms-submit-container {
  text-align: right !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  border-radius: 0.3rem;
  background: #ffffff !important;
  border: 0px solid #b4d39b !important;
  box-sizing: initial !important;
}
div.wpforms-container-full .wpforms-confirmation-container-full p,
div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) p {
  display: block !important;
  margin: 1rem auto !important;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 140% !important;
  color: #000000 !important;
  text-align: left !important;
}

div.wpforms-container-full input[type=checkbox] + label,
div.wpforms-container-full input[type=radio] + label {
  color: #ffffff;
}

.pop-up div.wpforms-container-full input[type=checkbox] + label,
.pop-up div.wpforms-container-full input[type=radio] + label {
  color: #828282;
  text-align: left;
  padding-left: 0;
}

.wpforms-container .wpforms-field .wpforms-field-medium {
  padding-left: 1rem;
  border-radius: 3px;
}

.consultoria {
  padding-top: 4rem;
  position: relative;
}
.consultoria::before {
  content: " ";
  display: block;
  background: url("../images/bkg-consultoria.svg") center bottom no-repeat;
  background-size: 102% auto;
  width: 100%;
  z-index: -1;
  position: absolute;
  height: 200px;
  bottom: -50px;
}
.consultoria::after {
  content: " ";
  display: block;
  background-size: auto auto;
  z-index: -2;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.robots-colaborativos {
  position: relative;
  left: -25rem;
}
@media only screen and (min-width: 1024px) {
  .robots-colaborativos {
    left: -55vw;
  }
}

.robots-desinfeccion {
  position: relative;
  right: -25rem;
}
@media only screen and (min-width: 1024px) {
  .robots-desinfeccion {
    right: -55vw;
  }
}

.text-shadow {
  animation-name: light;
  animation-duration: 0.75s;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes light {
  from {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  to {
    text-shadow: 1px 1px 11px rgba(0, 218, 255, 0.64);
  }
}
.robots-logostica {
  overflow: hidden;
  margin: 0 -1.5rem !important;
}

@media only screen and (min-width: 768px) {
  .robots-logostica {
    margin: 0;
    overflow: visible;
  }
}
.robots-logostica .robots-colaborativos {
  position: relative;
  left: -55vw;
}

.robots-logostica .robots-desinfeccion {
  position: relative;
  right: -55vw;
}

#theVideo,
#theVideo2 {
  width: 100%;
  height: auto;
}

.text-shadow {
  animation-name: light;
  animation-duration: 0.75s;
  animation-delay: 0.25s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes light {
  from {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  to {
    text-shadow: 1px 1px 11px rgba(0, 218, 255, 0.64);
  }
}
.video-sortering {
  height: auto;
}
.video-sortering > video {
  display: none;
}
.video-sortering .sortering-box {
  margin-bottom: 3rem;
  box-shadow: none;
}
@media only screen and (min-width: 1024px) {
  .video-sortering {
    position: relative;
  }
  .video-sortering > video {
    display: block;
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 5;
  }
  .video-sortering .sortering-box {
    position: absolute;
    top: 40%;
    max-width: 30rem;
    left: 15vw;
    z-index: 10;
    gap: 1rem;
    margin-bottom: 0;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
  }
}

.video-proceso {
  position: relative;
  width: 100vw !important;
  height: auto;
}
.video-proceso > video {
  position: absolute;
  width: 100vw;
  height: auto;
  object-fit: cover;
  z-index: 5;
}
.video-proceso .sortering-box {
  z-index: 10;
  max-width: 20rem;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media only screen and (min-width: 1024px) {
  .video-proceso .sortering-box {
    position: absolute;
    top: 20%;
    left: auto;
    right: 15vw;
    max-width: 30rem;
    margin-bottom: 0;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
  }
}

.services-box {
  gap: 1rem;
  width: calc(100% - 2rem);
  min-height: 20rem;
  max-width: 24rem;
  left: 1rem;
  right: 1rem;
  position: relative;
}

@media only screen and (min-width: 768px) {
  .services-box {
    gap: 2rem;
    max-width: 30rem;
  }
}
#sectionVid {
  position: relative;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  overflow: hidden;
  left: 0 !important;
  right: 0 !important;
}

#theVideo {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  min-width: 100%;
  min-height: 100%;
}

#sectionVid2 {
  position: relative;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  overflow: hidden;
  left: 0 !important;
  right: 0 !important;
}

#theVideo2 {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  min-width: 100%;
  min-height: 100%;
}

.show .custom-cover .wp-block-cover__inner-container {
  z-index: 0 !important;
}

body.show {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
body.show:after {
  position: absolute !important;
  content: " ";
  display: block;
  background: rgba(0, 0, 0, 0.6);
  z-index: 5 !important;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2 !important;
  transition: background 0.15s linear;
}

.custom-group {
  opacity: 0;
  height: 0;
  transition: 0.2s ease-in-out;
  padding: 0;
}
.custom-group.pop-up {
  height: 0;
  display: none;
}
.custom-group .wpforms-container input.wpforms-field-medium,
.custom-group .wpforms-container select.wpforms-field-medium,
.custom-group .wpforms-container .wpforms-field-row.wpforms-field-medium {
  max-width: 100%;
}
.custom-group .wpforms-container .wpforms-field-label {
  text-align: left;
}
.custom-group h2.wp-block-heading {
  font-weight: bold;
  text-align: left;
  font-size: 2rem;
  padding-right: 3rem;
}
.custom-group div.wpforms-container-full button[type=submit],
.custom-group div.wpforms-container-full .wpforms-page-button {
  background-color: #D66242 !important;
  color: var(--wpforms-button-text-color);
  float: right;
  font-family: "Circular", sans-serif;
  font-weight: bold;
  letter-spacing: 0.05rem;
}

.show .custom-group {
  text-align: center;
  opacity: 1 !important;
  z-index: 10 !important;
  position: absolute !important;
  top: 5rem;
  left: calc(50% - 10rem);
  bottom: auto;
  right: calc(50% - 10rem);
  transform: translate(0, 0);
  background-color: #ffffff;
  padding: 1rem 1rem !important;
  height: inherit;
  border-radius: 0.3rem;
  width: 20rem;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.58);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.58);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.58);
}
.show .custom-group.pop-up {
  height: auto;
  display: block;
}
.show .custom-group .tancar {
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  cursor: pointer;
  font-size: 2rem;
  font-size: 28px;
}

@media only screen and (min-width: 768px) {
  .show .custom-group {
    left: calc(50% - 15rem);
    right: calc(50% - 15rem);
    padding: 2rem 2rem !important;
    width: 30rem;
  }
}
.overlay {
  display: none;
}

.show {
  position: relative;
}

.wp-block-relacionado {
  padding-bottom: 2rem;
  margin-top: 6rem !important;
  border-top: 0.1rem solid #828282;
}
.wp-block-relacionado .wp-block-heading {
  margin: 2rem 0 4rem !important;
  text-align: left;
}
.wp-block-relacionado ul {
  display: flex;
  flex-direction: row;
  gap: 0;
  flex-wrap: wrap;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.wp-block-relacionado ul li {
  list-style-type: none;
  width: 100%;
  cursor: pointer;
}
.wp-block-relacionado ul li a {
  display: block;
  line-height: 110%;
  cursor: pointer;
}
.wp-block-relacionado ul li h3 {
  margin-top: 0;
  line-height: 110%;
}
.wp-block-relacionado ul li .wp-block-post-featured-image img {
  box-sizing: border-box;
  height: 20rem;
  width: 100%;
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
  transition: transform 0.2s;
  border-radius: 0.2rem;
}
.wp-block-relacionado ul li .wp-block-post-featured-image img:hover {
  transform: scale(1.05);
}
@media only screen and (min-width: 768px) {
  .wp-block-relacionado ul {
    gap: 1rem;
  }
  .wp-block-relacionado ul li {
    width: calc(50% - 1rem);
  }
}
@media only screen and (min-width: 1024px) {
  .wp-block-relacionado ul {
    gap: 2rem;
  }
  .wp-block-relacionado ul li {
    width: calc(33.33% - 2rem);
  }
}