/* css Web Ximo Roca */

/* tipografias Geomanist */

@font-face {
  font-family: "geomanistregular";
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-regular-webfont.eot");
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-regular-webfont.woff2")
      format("woff2"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-regular-webfont.woff")
      format("woff"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-regular-webfont.ttf")
      format("truetype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-regular-webfont.svg#geomanistregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "geomanistmedium";
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-medium-webfont.eot");
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-medium-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-medium-webfont.woff2")
      format("woff2"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-medium-webfont.woff")
      format("woff"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-medium-webfont.ttf")
      format("truetype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-medium-webfont.svg#geomanistregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "geomanistlight";
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-light-webfont.eot");
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-light-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-light-webfont.woff2")
      format("woff2"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-light-webfont.woff")
      format("woff"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-light-webfont.ttf")
      format("truetype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-light-webfont.svg#geomanistregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "geomanistbold";
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-bold-webfont.eot");
  src: url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-bold-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-bold-webfont.woff2")
      format("woff2"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-bold-webfont.woff")
      format("woff"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-bold-webfont.ttf")
      format("truetype"),
    url("https://ximoroca.net/wp-content/themes/ximoroca25/fonts/geomanist-bold-webfont.svg#geomanistregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

html {
  font-size: 16px;
}
body {
  font-family: "geomanistregular", sans-serif;
  font-size: 1rem;
  color: #392b28;
  letter-spacing: 0.065rem;
}


@media only screen and (min-width: 768px) {
  body {
   cursor:none;
   
  }


} /* end media */

.home .frase-inicio h1 {
  font-family: "geomanistlight", sans-serif !important;
  max-width: 910px;
  font-size: 1.1rem;
  line-height: 120%;
  text-align: left;
}

@media only screen and (min-width: 490px) {
  body {
    font-size: 1.2rem;
  }
  .home .frase-inicio h1 {
    font-size: calc(0.8rem + 0.9vw);
  }
} /* end media */
@media only screen and (min-width: 768px) {
  /*body {
    font-size: 24px;
  }*/
  .home .frase-inicio h1 {
    font-size: calc(1rem + 0.9vw);
  }
} /* end media */
@media only screen and (min-width: 1200px) {
  /*body {
    font-size: 28px;
  }*/
  .home .frase-inicio h1 {
    font-size: 2.2rem;
  }
} /* end media */

.fw-bold,
strong {
  font-family: "geomanistbold", sans-serif !important;
}

.fw-regular {
  font-family: "geomanistregular", sans-serif !important;
}
.fw-light {
  font-family: "geomanistlight", sans-serif !important;
}
.fw-medium {
  font-family: "geomanistmedium", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "geomanistmedium", sans-serif !important;
  font-weight: normal;
}

/* containers */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

@media only screen and (min-width: 576px) and (max-width: 1440px) {
  .container,
  .container-md,
  .container-sm,
  .header-pages {
    max-width: 98%;
  }
} /* end media*/

@media (min-width: 1440px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1440px;
  }
} /* end media*/
@media (min-width: 1920px) {
  .container-fluid {
    max-width: 1920px;
  }
} /* end media*/

/* header */
#wrapper-navbar {
  padding: 15px 5px;
}
.navbar-brand svg {
  max-width: 175px;
  height: auto;
}
.redes svg {
  max-width: 25px;
}

#main-menu .nav-link {
  color: #fff;
  text-decoration: none;
}
#main-menu .nav-link:hover,
#main-menu .active .nav-link {
  color: #888;
}
#main-menu .menu-item-1891 .nav-link:hover,
#main-menu .menu-item-1891 .active .nav-link,
#main-menu .menu-item-1892 .nav-link:hover,
#main-menu .menu-item-1892 .active .nav-link {
  color: #fff;
  cursor: default;
}

#main-menu .dropdown-item {
  background: none !important;
  color: #fff;
  padding: 0;
}

#main-menu .dropdown-item:focus,
#main-menu .dropdown-item:hover,
#main-menu .dropdown-item.active {
  background: none !important;
  background-color: transparent !important;
  color: #ddd;
  text-decoration: none;
}

#secondary-menu .nav-link,
#categorias-menu .nav-link {
  color: #392b28;
  text-decoration: none;
  font-family: "geomanistbold", sans-serif !important;
  text-align: center;
  font-size: 1.2rem;
}
#secondary-menu .nav-link:hover,
#categorias-menu .nav-link:hover,
#secondary-menu .active .nav-link {
  color: #392b28;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
@media only screen and (min-width: 768px) {
  #wrapper-navbar {
    padding: 25px 0px 15px;
  }
  .navbar-brand svg {
    max-width: 300px;
  }
  .top-header {
    padding-top: 25px;
  }
  .redes svg {
    max-width: 35px;
  }

  #secondary-menu .nav-link,
  #categorias-menu .nav-link {
    font-size: 1.3rem;
    text-align: right;
  }

  #secondary-menu .nav-link:hover,
  #categorias-menu .nav-link:hover,
  #secondary-menu .active .nav-link {
    text-decoration-thickness: 7px;
  }
} /*  end css */

@media only screen and (min-width: 1024px) {
  .navbar-brand svg {
    max-width: 340px;
  }
  .redes svg {
    max-width: 45px;
  }
} /*  end css */
@media only screen and (min-width: 1200px) {
  #secondary-menu .nav-link,
  #categorias-menu .nav-link {
    font-size: 1.6rem;
    margin-left: 20px;
  }
} /*  end css */

.offcanvas {
  max-width: 85%;
  padding-left: 10px;
  max-height: 610px;
}
.offcanvas-header {
  padding-bottom: 0 !important;
}
.offcanvas-body .nav-link:focus,
.offcanvas-body .nav-link:hover {
  color: #ddd !important;
}
.offcanvas-backdrop {
  background-color: transparent;
}

.btn-main-menu, .navbar-toggler {
  background: none;
  border: none;
}

 .navbar-toggler-icon,
.btn-main-menu .navbar-toggler-icon {
   background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 65 65" style="enable-background:new 0 0 65 65;" xml:space="preserve"><g><rect x="1.4" y="1.4" style="fill:%23392B28;" width="62.2" height="10.8"/><rect x="1.4" y="53.4" style="fill:%23392B28;" width="62.2" height="10.2"/><rect x="1.4" y="27.6" style="fill:%23392B28;" width="62.2" height="10.5"/></g></svg>');
  width: 30px;
  height: 30px;
}

#secondary-nav .navbar-toggler-icon,
#categorias-nav .navbar-toggler-icon {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 92.7 38" style="enable-background:new 0 0 92.7 38;" xml:space="preserve"><g><rect style="fill:%23392B28;" width="92.7" height="11.2"/><rect style="fill:%23392B28;" y="27.1" width="92.7" height="10.9"/></g></svg>');
  width: 50px;
  height: 20px;
}
.btn-close {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 64.5 75" style="enable-background:new 0 0 64.5 75;" xml:space="preserve"><rect y="64.4" style="fill:%23fff;" width="64.5" height="10.6"/><g><rect x="26.6" y="-3.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.0929 31.3116)" style="fill:%23fff;" width="11.2" height="64.5"/><rect x="0" y="23.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.0929 31.3116)" style="fill:%23fff;" width="64.5" height="10.9"/></g></svg>');
  background-size: 100%;
  height: 30px;
  height: 40px;
}


.btn-main-menu:not(.collapsed) .navbar-toggler-icon {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 64.5 75" style="enable-background:new 0 0 64.5 75;" xml:space="preserve"><rect y="64.4" style="fill:%23392B28;" width="64.5" height="10.6"/><g><rect style="fill:%23392B28;" x="26.6" y="-3.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.0929 31.3116)"  width="11.2" height="64.5"/><rect style="fill:%23392B28;" x="0" y="23.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.0929 31.3116)"  width="64.5" height="10.9"/></g></svg>');
  background-size: 100%;
  height: 30px;
  height: 40px;
}
  

.offcanvas-header .btn-close {
  margin-right: 15px;
  opacity: 1;
}
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler-icon:focus,
.btn-close:focus {
  outline: none !important;
  border: none !important;
  border-width: 0;
  box-shadow: none !important;
  border: none;
}

@media only screen and (min-width: 768px) {
  .navbar-toggler-icon,
  #main-nav .navbar-toggler-icon {
    width: 50px;
    height: 55px;
  }
  .btn-close,
  .btn-main-menu:not(.collapsed) .navbar-toggler-icon {
    width: 45px;
    height: 55px;
  }
  #secondary-nav .navbar-toggler-icon,
  #categorias-nav .navbar-toggler-icon {
    width: 70px;
    height: 30px;
  }
} /*  end css */

#main-menu.navbar-nav,
#main-menu.navbar-nav .nav-link {
  padding-top: 0;
  padding-bottom: 0;
  letter-spacing: 0;
  line-height: 1.8rem;
}
.menu-nivel-1 a,
.pll-parent-menu-item .lang-item {
  font-family: "geomanistbold";
  font-weight: normal;
  margin-bottom: 7px;
  font-size: 1.7rem;
}
.menu-nivel-2 a {
  font-family: "geomanistregular";
  padding-left: 30px;
  margin-bottom: 5px;
  font-weight: normal;
  line-height: 100%;
  font-size: 1.6rem;
}
.menu-nivel-3 a {
  font-family: "geomanistlight";
  padding-left: 60px;
  font-weight: normal;
  line-height: 100%;
  margin-top: 2px;
  margin-bottom: 2px;
  font-size: 1.4rem;
}

.pll-parent-menu-item .dropdown-toggle {
  display: none;
}
.pll-parent-menu-item .dropdown-menu {
  display: block;
  display: flex;
  background: none !important;
  border: none !important;
}
.pll-parent-menu-item .lang-item {
  width: 40px;
  border: none !important;
  color: #fff;
}

#div-menu-desktop {
  top: 110px;
  z-index: 300;
  padding: 30px 50px;
}

body.page-template-paginas,
body.page-template-contacto {
  background: #ebeaea;
}

/* botones */
.btn-primary,
.understrap-read-more-link,
.active > .page-link,
.page-link.active {
  background-color: #392b28;
  border: none;
}
.btn-primary:hover,
.understrap-read-more-link:hover .active > .page-link:hover {
  background-color: #392b28;
  border: none;
}
.wp-block-button__link {
  background-color: #392b28;
  color: #fff;
  border: none;
  line-height: 100%;
}

.wp-block-button__link:hover {
  background-color: #392b28;
  color: #fff;
}

/* footer */
#widget-pie-pagina {
  background-color: #fff;
}
#wrapper-footer-full {
  background-color: transparent;
  color: #392b28;
  z-index: 100;
  position: relative;
  margin-top: 30px;
}
#wrapper-footer-full a {
  color: #392b28;
}
#wrapper-footer-full a:hover {
  color: #000;
  font-weight: bold;
}

/* menu legales -- hecho con enlaces de texto */
#footer-site {
  background-color: #fff;
  /*background: transparent;*/
  z-index: 100;
  position: relative;
}
.page-template-paginas #footer-site ,
.page-template-contacto #footer-site {
  /* background-color: #ebeaea; */
  background-color: none;
  background: transparent;
}

.footer-basic a {
  color: #392b28;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 100%;
}
:lang(es) .only-en,
:lang(en) .only-es {
  display: none;
}
@media only screen and (min-width: 1200px) {
  .footer-basic  {
    flex-basis:15%!important;
  }
}/* end media */



/* slick slider */

@media only screen and (max-width: 768px) {
  .lazy .slick-prev,
  .lazy .slick-next {
    display: none !important;
  }
}/* end media */

.lazy .slick-prev {
  opacity: 1;
  left: 25px;
  z-index: 200;
}
.lazy .slick-next {
  right: 65px !important;
  z-index: 200;
  opacity: 1;
}
.lazy .slick-prev::before {
  content: "";
  background: transparent
    url("https://ximoroca.net/wp-content/themes/ximoroca25/img/flecha-slider-left.svg")
    no-repeat left center;
  padding: 30px;
}
.lazy .slick-next::before {
  content: "";
  background: transparent
    url("https://ximoroca.net/wp-content/themes/ximoroca25/img/flecha-slider-right.svg")
    no-repeat right center;
  padding: 30px;
}
.slick-dots {
  bottom: -25px !important;
}
.slick-dots li button {
  background-color: #fff !important;
  color: #fff;
  border: 1px solid #ddd;
}
.slick-dots li:hover button,
.slick-dots li.active button {
  background-color: #ddd !important;
}
.slick-dots li button:before {
  font-size: 40px !important;
  content: " " !important;
}
@media only screen and (min-width: 768px) {
  .slick-dots {
    bottom: 30px !important;
  }
} /* end media */
/* paginacion */
.pagination {
  margin-top: 40px;
  border-radius: 0 !important;
}
.pagination .page-item a,
.pagination .page-item .current {
  padding: 5px 15px;
  border-radius: 0 !important;
  font-size: 120%;
}
.page-link:focus {
  background-color: #ddd !important;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2) !important;
}
@media only screen and (min-width: 768px) {
  .pagination .page-item a,
  .pagination .page-item .current {
    padding: 1rem 1.5rem;
  }
} /* end media */

.bloque-newsletter {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #392b28;
  padding: 15px;
}

.link-proyecto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #392b28;
  opacity: 0;
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 120%;
}
.link-proyecto:hover,
.link-proyecto:visited,
.link-proyecto:active {
  opacity: 0.75;
  color: #fff;
  text-decoration: none;
}
.link-proyecto span {
  padding: 12px;
  font-family: "geomanistlight";
}
.link-proyecto span b {
  font-family: "geomanistregular";
}
.triangulo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28.1 28.1" style="enable-background:new 0 0 28.1 28.1;" xml:space="preserve"><polygon style="fill:%23FFFFFF;" points="0.1,28.1 0.1,0.1 28.1,0.1 "/></svg>');
  background-repeat: no-repeat;
  background-position: -1px -1px;
  width: 35px;
  height: 35px;
  background-size: 35px;
}

#texto-proyecto p {
  font-size: 1rem;
  line-height: 110%;
}
.contenido {
  padding-right: 25px;
  padding-bottom: 25px;
}
@media only screen and (min-width: 768px) {
  #single-wrapper .entry-content {
    min-height: 700px;
  }
  .contenido {
    /*overflow-y: scroll; /* Activa la barra de scroll vertical */
    /*height: 90vh;
    padding-bottom: 200px;*/
  }
  .texto-proyecto-fijo {
    position: fixed;
    top: 40px;
    height: 90vh;
    width: 49%;
    overflow: hidden; /* Oculta el contenido que se desborda */
  }
  .margin-content-images-proyecto {
    margin-left: 49%;
    width: 51%;
  }
  #single-wrapper {
    padding-bottom: 180px;
  }
  .triangulo {
    width: 70px;
    height: 70px;
    background-size: 70px;
  }
} /* end media */

@media only screen and (min-width: 992px) {
  .texto-proyecto-fijo {
    width: 32.5%;
  }
  .margin-content-images-proyecto {
    margin-left: 32.5%;
    width: 67.5%;
  }
  .contenido {
    max-width: 440px;
  }
} /* end media */
@media only screen and (min-width: 1440px) {
  #texto-proyecto p {
    font-size: 1rem;
  }
  .texto-proyecto-fijo {
    width: 31%;
  }
  .margin-content-images-proyecto {
    margin-left: 33.35%;
    width: 66.66666667%;
  }
} /* end media */

@media only screen and (min-width: 1920px) {
  .texto-proyecto-fijo {
    width: 480px;
  }
  .margin-content-images-proyecto {
    margin-left: 480px;
    width: 980px;
  }
} /* end media */

/* imagenes contenido ficha proyecto sin espacios */
#single-wrapper .entry-content .wp-block-image,
#single-wrapper .entry-content figure,
#single-wrapper .entry-content img,
#single-wrapper .entry-content :where(.wp-block-columns),
#single-wrapper .entry-content :where(.wp-block-columns) .row {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0;
  --bs-gutter-x: 0rem;
}
#single-wrapper .entry-content :where(.wp-block-columns.is-layout-flex) {
  gap: 0em;
}

/* contact form*/

.wpcf7 {
  max-width: 100% !important;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  border-radius: 0;
  background: transparent !important;
  border: none;
  box-shadow: none;
  border-bottom: 1px solid #392b28;
  padding: 10px 0;
  color: #392b28;
  margin-bottom: 10px;
  font-family: "geomanistregular", sans-serif !important;
  font-size: 1.3rem;
}


.wpcf7 input[type="submit"] {
  font-family: "geomanistregular", sans-serif !important;
  width: auto;
  padding: 10px 30px;
  background-color: #fff;
  border: none;
  border-radius: 0;
  font-size: 1.5rem;
  color: #392b28;
  font-weight: 400;
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve"><polygon style="fill:%23D8D5D6;" points="0,20 0,0 20,0 "/></svg>');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}
.wpcf7 input[type="submit"]:hover {
  background-color: #392b28;
  color: #fff;
}
.wpcf7 input[type="submit"]:disabled {
  background: #ddd;
  color: #392b28;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-form ::placeholder {
  color: #000 !important;
  font-weight: normal;
  font-size: 1.5rem;
  font-family: "geomanistregular", sans-serif !important;
}
.wpcf7-not-valid-tip {
  color: #d90613 !important;
  font-weight: normal;
  font-size: 1rem;
  padding: 10px;
}
.wpcf7 form .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #392b28;
  background-color: #fff;
  margin: 0 0 20px 0 !important;
  padding: 20px !important;
}
.header-archivo h2 {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 34.2 34.5" style="enable-background:new 0 0 34.2 34.5;" xml:space="preserve"><style type="text/css">.st0{fill:%23392B28;}</style><polygon class="st0" points="22.5,17.2 34,5.8 28.5,0.4 17.1,11.8 17.1,11.8 5.7,0.4 0.2,5.8 11.7,17.2 11.7,17.2 11.7,17.2 0.2,28.7 5.7,34.1 17.1,22.7 17.1,22.7 28.5,34.1 34,28.7 22.5,17.2 22.5,17.2 "/></svg>');
  background-repeat: no-repeat;
  background-size: 50px;
  padding: 15px 0 15px 70px;
  min-height: 50px;
  background-position: center left;
  line-height: 115% !important;
}

@media only screen and (min-width: 768px) {
  .header-archivo h2 {
    background-size: 65px;
    padding: 30px 0 30px 85px;
  }
} /* end media */
@media only screen and (min-width: 1200px) {
  .header-archivo h2 {
    background-size: 80px;
    padding: 40px 0 40px 110px;
  }
} /* end media */

/* Estilo personalizado MODAL NEWSLETTER */
#modalnewsletter.modal {
  width: 100% !important;
  max-width: 100% !important;
}
#modalnewsletter .modal-dialog {
  display: flex;
  width: 100% !important;
  max-width: 100% !important;
  align-items: flex-end; /* Alinea el modal al final (abajo) */
  min-height: 100%; /* Asegura que el modal ocupe toda la altura */
  margin: 0 auto; /* Centra horizontalmente */
}

#modalnewsletter {
  bottom: 0 !important;
}
#modalnewsletter .modal-content {
  border-radius: 0; /* Bordes redondeados solo arriba */
  background-color: #d7d5d5;
}

/* Opcional: Anima la aparición del modal */
#modalnewsletter.show .modal-dialog {
  animation: slideUp 0.8s ease-in-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.btn-cerrar {
  background-color: #d7d5d5;
  border: none;
  padding: 0 30px;
}
/* end Estilo personalizado MODAL NEWSLETTER */

.subrayado {
  text-decoration: underline;
  /* text-decoration-skip-ink: auto; Ajusta el valor a 'auto' para separar el subrayado del texto */
  text-underline-offset: 6px; /* Ajusta el valor en píxeles según tus necesidades */
}
.ubicacion {
  padding-left: 45px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23392b28;" class="bi bi-geo-alt-fill" viewBox="0 0 16 16"><path style="fill:%23392b28;" d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10m0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6"/></svg>');
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 35px;
}
.flechas-contacto {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 11 11.3" style="enable-background:new 0 0 11 11.3;" xml:space="preserve"><polygon style="fill:%23392b28;" points="10.8,5.7 10.8,5.7 5.1,0 3.3,1.8 5.9,4.4 0,4.4 0,7 5.8,7 3.3,9.5 5.1,11.3 "/></svg>');
  padding-left: 45px;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 35px;
}

.tabla-premios,
.tabla-premios table,
.tabla-premios table td,
.tabla-premios table th,
.tabla-premios table tr {
  border: none !important;
  border-width: 0 !important;
  border-bottom: none;
  border-top: none;
  margin-bottom: 0;
}
.tabla-premios .table > :not(caption) > * > *,
.tabla-premios .wp-block-table table > :not(caption) > * > * {
  padding: 2px;
}

@media only screen and (max-width: 768px) {
  .tabla-premios table tr {
    display: block;
    margin-bottom: 25px;
  }
  .tabla-premios table tr td {
    display: block;
  }
} /* end media */

@media only screen and (min-width: 768px) {
  .tabla-premios table tr td:first-child {
    width: 15%;
  }
  .tabla-premios table tr td:nth-child(2) {
    width: 40%;
  }
  .tabla-premios table tr td:nth-child(3) {
    width: 30%;
  }
  .tabla-premios table tr td:nth-child(4) {
    width: 15%;
  }
  #post-92 h2.border-bottom {
    border-width: 2px !important;
    margin-top: 20px;
  }
} /* end media */

/* HOME listado de fondos 

.listado-inicio .wp-block-cover .wp-block-cover__image-background,
.listado-inicio .wp-block-cover-image .wp-block-cover__image-background {
  width: auto;
}
.listado-inicio .wp-block-cover .wp-block-cover__background,
.listado-inicio .wp-block-cover .wp-block-cover__background:hover {
  opacity: 0;
}

.listado-inicio .wp-block-cover {
  opacity: 1;
  position: relative;
  margin: 15px;
}

.listado-inicio .wp-block-cover a {
  text-decoration: none;
  color: #fff;
  background-color: rgba(56, 47, 45, 0.75) !important;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  text-align: center;
  font-size: 22px;
  line-height: 110%;
  display: block;
  padding: 30px 10px 0;
  text-align: left;
  padding-top: 80%;
}
*/
/* .post {
  height: 480px;
} */

#index-wrapper .row {
  --bs-gutter-x: 0;
}
.grid-item,
.grid-item--width66,
.grid-item--width50 {
  width: 94%;
  margin: 0 3%;
}

@media only screen and (min-width: 768px) {
  .grid-item {
    width: 33.33%;
    margin: 0;
  }
  .grid-item--width66 {
    width: 66.6%;
    margin: 0;
  }
  .grid-item--width50 {
    width: 50%;
    margin: 0;
  }
} /* end media */

.video-container {
  position: relative;
  width: 100%; /* El contenedor ocupa el 100% del ancho disponible */
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 (315 / 560 = 0.5625) */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top-ancla {
  position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 20000000;
}

.grecaptcha-badge{
  display: none;
}