/*
 Theme Name: Divi Acuabit
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme, enriquezido por Acuabit
 Author: Acuabit
 Author URI: https://www.acuabit.es 
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/*--Generales--*/
.et-fixed-header#main-header {
  position: fixed !important;
  top: 0px !important;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 2px 2px 0.85rem rgba(0, 0, 0, 0.6);
}
@media (min-width:981px) {
  .hero-home {
    padding-top: 0px !important;
  }
  .et_header_style_left #et-top-navigation {
    padding: 10px 0px !important;
  }
  .et_header_style_left #et-top-navigation nav > ul > li > a {
    padding-bottom: 16px !important;
  }
}
.shero{
    padding-top: 0px !important;
}
#et-top-navigation nav > ul > li > a {
    font-weight: 400 !important;
    letter-spacing: 0.1em;
}
@media(min-width:1441px) {
    #top-menu li {
        padding-right: 3rem !important;
    }
    #top-menu li.wpml-ls-item {
        padding-right: 1rem !important;
    }
}
#top-menu li.wpml-ls-item a{
   padding-bottom: 0px !important;
}
/*--MENU--btn-contacto--*/

.menu-item-96 a {
  background-color: #00335b !important;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  color: white !important;
  margin-bottom: 0px !important;
}

.menu-item-96 a {
  background-color: #00335b !important;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  color: white !important;
}
.et-fixed-header #top-menu .menu-item-96 a{
	color: white !important;
}
/*--HOME--*/
.heroh .titulo, .titulo.decorado, .textodest .et_pb_text_inner{
    padding-left: 1rem;
    position: relative;
    padding-bottom: 0px;
}
.textodest .et_pb_text_inner{
    padding-left: 1.3rem;
}
.heroh .titulo::before, .titulo.decorado::before{
    content: ' ';
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #FBBA00;
    position: absolute;
    left: 0px;
    top: 6px;
}
.img-decorativa{
  overflow: hidden;
  clip-path: polygon(
    7% 0%,
    93% 0%,
    100% 20%,
    100% 80%,
    93% 100%,
    7% 100%,
    0% 80%,
    0% 20%
  );
}
.upromociones figure{
    margin-bottom: 1rem !important;
}
.ultimasph .titulo::before, .textodest .et_pb_text_inner::before{
    content: ' ';
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background: #FBBA00;
    position: absolute;
    left: 0px;
    top: 33.3%;
}
.textodest .et_pb_text_inner::before{
    top: 25% !important;
}
.ultimasph .titulo{
    max-width: max-content;
    margin: auto;
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 0px;
}
.spreguntasf .et_pb_column{
    padding-bottom: 0px !important;
}
.spreguntasf .et_pb_toggle_title{
    padding-bottom: 20px !important;
    border-bottom: 1px solid #FBBA00;
}
.ultimasph .dp-dfg-item img{
    border-radius: 20px !important;
}
body:not(.home) #main-header {
    border-bottom: 1px solid #00335B !important;
    box-shadow: 2px 2px 0.85rem rgba(0, 0, 0, 0.6);
}
.listado-promociones .dp-dfg-image{
    display: block;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 562' preserveAspectRatio='none'><path fill='white' d='M70 0 H820 Q845 0 862 18 L982 128 Q1000 146 1000 172 V472 Q1000 522 950 548 Q932 562 910 562 H170 Q145 562 128 544 L18 434 Q0 416 0 390 V70 Q0 0 70 0 Z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 562' preserveAspectRatio='none'><path fill='white' d='M70 0 H820 Q845 0 862 18 L982 128 Q1000 146 1000 172 V472 Q1000 522 950 548 Q932 562 910 562 H170 Q145 562 128 544 L18 434 Q0 416 0 390 V70 Q0 0 70 0 Z'/></svg>");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    mask-position: center;
    margin-bottom: 1rem;
}
.listado-promociones .dp-dfg-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dp-dfg-no-results{
    font-size: 18px;  
}
/*---Footer---*/
.subfooter ul{
    display: flex;
    gap: 10px;
    padding: 0px !important;
}
.subfooter ul li{
    line-height: 30.6px !important;
}
/*---Single-Inmuebles---*/
.elementos-desde .et_pb_code_inner{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.elementos-desde .titulo-desde{
    display: flex;
    gap: 10px;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #00335B;
    font-family: 'Herkey';
    font-size: 24px;
}
.elementos-desde .cuerpo-desde{
    font-size: 24px;
}
.elementos-desde .contenido-desde{
    width: 260px;
}
sup{
    font-size: 0.6em;
}
.cartel-listado-destacada{
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    padding: 0px !important;
    flex-wrap: wrap;
}
.cartel-listado-destacada li{
    list-style: none !important;
    max-width: 120px;
    width: 120px;
    font-size: 16px;
    text-align: center;
    line-height: 1.4em;
}
.archivos_promociones_desc{
  display: flex;
  gap: 10px;
  padding: 0px !important;
}
.archivos_promociones_desc li{
  list-style: none;
}
.archivos_promociones_desc li img{
  max-height: 30px;
}
.cartel-listado-destacada li img{
    display: block;
    margin: auto;
    max-height: 30px;
    margin-bottom: 0.5rem;
}
.distancia-elementos .et_pb_code_inner{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.distancia-elementos img{
  max-height: 20px;
  width: auto;
}
.distancia-elementos .contenido-distancia{
  display: flex;
  line-height: 20px;
  gap: 5px;
  max-width: 280px;
  width: 280px;
  font-size: 16px;
}
/*Galeria*/
.mgl-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 3;
  column-gap: 5px;
}
.mgl-gallery__item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 5px;
  list-style: none;
}
.mgl-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0px;
}
/*Media portatil*/
@media(max-width:1400px){
  #top-menu li a {
    font-size: 16px !important;
  }
   #logo {
    max-width: 200px !important;
    height: auto;
  }
  .hero-home .et_pb_column_1{
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
  }
  @media (min-width: 981px) {

    .hero-pag .et_pb_text_0_tb_body .et_pb_text_inner p, body.page-id-105 .hero-pag .et_pb_text_18 .et_pb_text_inner p{
      font-size: 42px !important;
    }
  }
}
/* Tablet */
@media (max-width: 980px) {
  .mgl-gallery {
    column-count: 2;
    column-gap: 20px;
  }

  .mgl-gallery__item {
    margin-bottom: 20px;
  }
}
/* Móvil: carrusel horizontal */
@media (max-width: 767px) {
  .mgl-gallery {
    display: flex;
    columns: unset;
    column-count: unset;
    column-gap: 0;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 10px;
    margin: 0 -16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .mgl-gallery__item {
    flex: 0 0 85%;
    margin-bottom: 0;
    break-inside: auto;
    scroll-snap-align: start;
  }
  .mgl-gallery__item img {
    width: 100%;
    height: auto;
  }
  .mgl-gallery::-webkit-scrollbar {
    display: none;
  }
  .mgl-gallery {
    scrollbar-width: none;
  }
}
.listado-inmuebles-tabla {
  width: 100%;
}
.tabla-inmuebles-wrap {
  width: 100%;
}
.tabla-inmuebles {
  width: 100%;
  border-collapse: collapse;
  color: #00335B;
  font-size: 18px;
  line-height: 1.4;
}
.tabla-inmuebles thead th {
  font-weight: 700;
  text-align: center;
  padding: 18px 20px 16px;
  position: relative;
  white-space: nowrap;
}
.tabla-inmuebles thead th::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #00335B;
  opacity: 0.8;
  margin-top: 14px;
}
.tabla-inmuebles tbody tr {
  border-bottom: 1px dotted #00335B;
}
.tabla-inmuebles tbody td {
  padding: 28px 20px;
  text-align: center;
  vertical-align: middle;
}
.tabla-inmuebles .col-descripcion {
  max-width: 420px;
}
.tabla-inmuebles .col-numero {
  font-weight: 600;
  white-space: nowrap;
}

.tabla-inmuebles .btn-plano {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00335B;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tabla-inmuebles .btn-plano:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}
.tabla-inmuebles .btn-plano svg {
  width: 20px;
  height: 20px;
}
/* Tablet: scroll horizontal */
@media (max-width: 980px) {
  .tabla-inmuebles-wrap {
    overflow-x: auto;
  }
  .tabla-inmuebles {
    min-width: 900px;
  }
}
/* Móvil: tarjetas */
@media (max-width: 767px) {
  .tabla-inmuebles,
  .tabla-inmuebles thead,
  .tabla-inmuebles tbody,
  .tabla-inmuebles th,
  .tabla-inmuebles td,
  .tabla-inmuebles tr {
    display: block;
    width: 100%;
  }
  .tabla-inmuebles {
    min-width: 100%;
    border-collapse: separate;
  }
  .tabla-inmuebles thead {
    display: none;
  }
  .tabla-inmuebles tbody tr {
    border: 1px solid #00335B;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #fff;
  }
  .tabla-inmuebles tbody td {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 10px 0;
    border: 0;
    font-size: 16px;
  }
  .tabla-inmuebles tbody td::before {
    content: attr(data-label);
    background: #f5f9fa;
    font-weight: 700;
    text-align: left;
    color: #00335B;
    flex: 0 0 25%;
    padding: 0.5rem 10px;
  }
  .tabla-inmuebles .col-descripcion {
    max-width: 100%;
  }
  .tabla-inmuebles .col-descripcion,
  .tabla-inmuebles .col-precio-sin-iva,
  .tabla-inmuebles .col-pvp {
    word-break: break-word;
  }
}

/* Últimas promociones */
.ultimas-promociones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 110px 70px;
  align-items: start;
}

/* CADA CARD */
.ultimas-promociones .promocion-item {
  display: flex;
  flex-direction: column;
  color: #00335B;
}

/* IMAGEN */
.ultimas-promociones .promocion-item__imagen {
  margin: 0 0 18px;
}

.ultimas-promociones .promocion-item__imagen .et_pb_image_wrap {
  display: block;
  overflow: hidden;
  border-radius: 34px 34px 0 0;
}

.ultimas-promociones .promocion-item__imagen img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* TÍTULO */
.ultimas-promociones .promocion-item__titulo {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}

.ultimas-promociones .promocion-item__titulo a {
  color: #00335B;
  text-decoration: none;
}

.ultimas-promociones .promocion-item__titulo a:hover {
  opacity: 0.8;
}

/* BLOQUE DE DATOS */
.ultimas-promociones .promocion-item__datos {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.ultimas-promociones .promocion-item__dato {
  font-size: 18px;
  line-height: 1.45;
  color: #00335B;
}
.ultimas-promociones .promocion-item__dato strong {
  font-weight: 500;
}
/* PRECIO */
.ultimas-promociones .promocion-item__dato--precio,
.ultimas-promociones .promocion-item__dato:last-child {
  font-size: 20px;
  font-weight: 600;
}
/* LÍNEA INFERIOR */
.ultimas-promociones .promocion-item::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 26px;
  background: #00335B;
  opacity: 0.9;
}

/* SI AÑADES UN ENLACE FINAL TIPO "+ información" */
.ultimas-promociones .promocion-item__masinfo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #00335B;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
}

.ultimas-promociones .promocion-item__masinfo:hover {
  opacity: 0.8;
}

/* TABLET */
@media (max-width: 980px) {
  #mobile_menu li.wpml-ls-item {
    display: none !important;
  }
  body:not(.home) #main-header {
    position: relative;
  }
  .ultimas-promociones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 40px;
  }

  .ultimas-promociones .promocion-item__titulo {
    font-size: 22px;
  }

  .ultimas-promociones .promocion-item__dato {
    font-size: 17px;
  }
  .et_pb_row.et_flex_row.preset--module--divi-row--default.selectoridiomas{
    max-width: max-content;
  }
  .widget_icl_lang_sel_widget{
    margin-bottom: 0px !important;
    width: 100% !important;
  }
  
  body #page-container .pie-flotante .et_pb_button_module_wrapper .et_pb_button::before{
    margin-left: -1.3em !important;
  }
}

/* MÓVIL */
@media (max-width: 767px) {
  .pie-flotante .et_pb_button_module_wrapper .et_pb_button::before{
    margin-left: -1.3em !important;
  }
  .ultimas-promociones {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ultimas-promociones .promocion-item__imagen .et_pb_image_wrap {
    border-radius: 24px 24px 0 0;
  }

  .ultimas-promociones .promocion-item__titulo {
    font-size: 22px;
    margin-bottom: 22px;
  }

  .ultimas-promociones .promocion-item__dato {
    font-size: 16px;
  }

  .ultimas-promociones .promocion-item__dato--precio,
  .ultimas-promociones .promocion-item__dato:last-child {
    font-size: 18px;
    margin-top: 18px;
  }
}
/*Formulario de contacto*/
.cf7-custom-css {
  --azul-oscuro: #00335B;
  --azul-medio: #31859b;
  --amarillo: #FBBA00;
  --blanco: #ffffff;
  --texto: #0f2940;
  --borde: rgba(0, 51, 91, 0.14);
  --fondo-input: #f7fafc;
  --sombra: 0 18px 45px rgba(0, 51, 91, 0.12);

  max-width: 100%;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(49, 133, 155, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--sombra);
  border: 1px solid rgba(49, 133, 155, 0.12);
}

.cf7-custom-css .fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.cf7-custom-css .fields.fields-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf7-custom-css .field-item {
  width: 100%;
}

.cf7-custom-css .field-item input[type="text"],
.cf7-custom-css .field-item input[type="email"],
.cf7-custom-css .field-item input[type="tel"],
.cf7-custom-css .field-item textarea {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--borde);
  background: var(--fondo-input);
  color: var(--texto);
  font-size: 16px;
  line-height: 1.4;
  transition: all 0.25s ease;
  box-sizing: border-box;
  outline: none;
}

.cf7-custom-css .field-item textarea {
  min-height: 150px;
  resize: vertical;
}

.cf7-custom-css .field-item input::placeholder,
.cf7-custom-css .field-item textarea::placeholder {
  color: rgba(0, 51, 91, 0.55);
}

.cf7-custom-css .field-item input:focus,
.cf7-custom-css .field-item textarea:focus {
  border-color: var(--azul-medio);
  background: var(--blanco);
  box-shadow: 0 0 0 4px rgba(49, 133, 155, 0.14);
}

/* Radios */
.cf7-custom-css .field-item .wpcf7-form-control-wrap {
  display: block;
}

.cf7-custom-css .field-item .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cf7-custom-css .field-item .wpcf7-list-item {
  margin: 0;
}

.cf7-custom-css .field-item .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--borde);
  background: var(--fondo-input);
  color: var(--azul-oscuro);
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
  font-weight: 500;
}

.cf7-custom-css .field-item .wpcf7-list-item input[type="radio"] {
  accent-color: var(--amarillo);
  transform: scale(1.1);
}

.cf7-custom-css .field-item .wpcf7-list-item label:hover {
  border-color: rgba(49, 133, 155, 0.45);
  background: #fff;
}

/* Aceptación */
.cf7-custom-css .conditions {
  margin-top: 6px;
  margin-bottom: 24px;
}

.cf7-custom-css .conditions p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 51, 91, 0.9);
}

.cf7-custom-css .conditions .wpcf7-list-item {
  margin: 0;
}

.cf7-custom-css .conditions label {
  display: inline;
}

.cf7-custom-css .conditions input[type="checkbox"] {
  accent-color: var(--amarillo);
  margin-right: 8px;
  transform: translateY(1px);
}

.cf7-custom-css .conditions a {
  color: var(--azul-medio);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

.cf7-custom-css .conditions a:hover {
  color: var(--azul-oscuro);
  border-bottom-color: currentColor;
}

/* Botón */
.cf7-custom-css .submit {
  margin-top: 6px;
}

.cf7-custom-css .submit .wpcf7-submit,
.cf7-custom-css .submit .et_pb_button,
.cf7-custom-css .submit input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 30px;
  min-height: 56px;
  background: linear-gradient(135deg, var(--amarillo) 0%, #ffd34d 100%);
  color: var(--azul-oscuro) !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cf7-custom-css .submit .wpcf7-submit:hover,
.cf7-custom-css .submit .et_pb_button:hover,
.cf7-custom-css .submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(251, 186, 0, 0.38);
  filter: brightness(1.02);
}

.cf7-custom-css .submit .wpcf7-submit:active,
.cf7-custom-css .submit .et_pb_button:active,
.cf7-custom-css .submit input[type="submit"]:active {
  transform: translateY(0);
}

/* Mensajes CF7 */
.cf7-custom-css .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #c0392b;
}

.cf7-custom-css .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.cf7-custom-css form.invalid .wpcf7-response-output,
.cf7-custom-css form.unaccepted .wpcf7-response-output,
.cf7-custom-css form.failed .wpcf7-response-output {
  border: 1px solid rgba(192, 57, 43, 0.2);
  background: rgba(192, 57, 43, 0.06);
  color: #8e2c20;
}

.cf7-custom-css form.sent .wpcf7-response-output {
  border: 1px solid rgba(49, 133, 155, 0.25);
  background: rgba(49, 133, 155, 0.08);
  color: var(--azul-oscuro);
}
/*Galerias por defecto WP*/
/* Masonry para la galería por defecto de WordPress/Divi */
.et_post_gallery {
  column-count: 3;
  column-gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.et_post_gallery .et_gallery_item {
  display: inline-block;
  width: 100% !important;
  float: none !important;
  margin: 0 0 22px !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.et_post_gallery .et_portfolio_image {
  display: block;
  overflow: hidden;
  border-radius: 22px;
}

.et_post_gallery .et_portfolio_image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  transition: transform 0.35s ease;
}

.et_post_gallery .et_gallery_item a:hover img {
  transform: scale(1.03);
}

.et_post_gallery .et_overlay {
  border-radius: 22px;
}

/* Tablet */
@media (max-width: 980px) {
  .et_post_gallery {
    column-count: 2;
    column-gap: 18px;
  }

  .et_post_gallery .et_gallery_item {
    margin-bottom: 18px !important;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .et_post_gallery {
    column-count: 1;
    column-gap: 0;
  }

  .et_post_gallery .et_gallery_item {
    margin-bottom: 16px !important;
  }
}
/* Responsive */
@media (max-width: 767px) {
  .cf7-custom-css {
    padding: 22px;
    border-radius: 18px;
  }

  .cf7-custom-css .fields.fields-cols {
    grid-template-columns: 1fr;
  }

  .cf7-custom-css .field-item .wpcf7-radio {
    flex-direction: column;
  }

  .cf7-custom-css .field-item .wpcf7-list-item label {
    width: 100%;
    justify-content: flex-start;
  }

  .cf7-custom-css .submit .wpcf7-submit,
  .cf7-custom-css .submit .et_pb_button,
  .cf7-custom-css .submit input[type="submit"] {
    width: 100%;
  }
}
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}
/*----- BANNER COOKIES -----*/
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}

.btnpref {
    position: fixed;
    z-index: 99999999999;
    bottom: 15px;
    left: 15px;
    max-width: 72px;
    font-size: 14px;
    padding: 5px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 1px -1px 1px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid black;
}

.btnpref img {
    max-width: 40px;
    transition: transform 0.3s ease-in-out;
}

.btnpref img:hover {
    transform: scale(1.1);
    animation: bounce 0.5s ease;
}

/*animacion efecto rebote*/
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.btnpref:hover {
    cursor: pointer;
}
#firma{
  background: #0f2940;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
}
#firma a{
  color: #ffffff;
}
/*Medias*/
@media(max-width: 1440px){
    .hero-home .et_pb_row{
        flex-direction: column;
    }
    @media(min-width: 981px){
      .hero-home .texto-destacado p{ 
          font-size: 42px !important;
      }
    }
    .hero-home .et_pb_text{
        max-width: 100%;
    }
    #et-top-navigation #top-menu li {
      padding-right: 15px !important;
    }

    @media(min-width:981px) {
        .hero-home .texto-destacado .et_pb_text_inner{
            font-size: 52px;
        }
    }
}
@media (max-width: 1200px) {
  #top-menu li a {
    font-size: 14px !important;
  }
  .menu-item-96 a {
    padding: 8px !important;
  }
   .et_header_style_left #et-top-navigation nav > ul > li > a {
      padding-bottom: 8px !important;
    }
    #main-header .container{
      padding-left: 5px !important;
      padding-right: 5px !important;
    }
    .et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container {
      padding-left: 0px;
    }
}
@media(max-width: 980px){
    #mobile_menu{
        background: #FFFFFFFF !important;
    }
    .ultimasph .titulo{
        max-width: 100% !important;
        padding-left: 1rem !important;
    }
    .ultimasph .titulo::before {
        width: 10px;
        height: 10px;
    }
    .et-fixed-header#main-header {
      position: fixed;
      top: 0px !important;
      background: rgba(255, 255, 255, 0.9);
    }
     .btnpref {
        bottom: 50px !important;
        left: 0px;
        max-width: 180px;
        border: none !important;
        border-radius: 0px 8px 0px 0px !important;
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }
    .selectoridiomas{
      position: absolute;
      right: 0px !important;
      top: -30px !important;
    }
    .selectoridiomas .wpml-ls-sidebars-et_pb_widget_area_1{
      background: #FFFFFF !important;
      padding: 0px !important;
      border-top-left-radius: 15px !important;
      box-shadow: -1px -1px 1px 0px rgba(0, 0, 0, 0.3);
    }
    .selectoridiomas .et_pb_widget_area{
        display: block;
    }
    .btnpref img {
        max-width: 14px !important;
    }
    .hero-home{
      padding-top: 0px !important;
    }
}
@media(max-width:767px){
    .subfooter ul{
        padding: 0px !important;
        text-align: center !important;
    }
    .dp-dfg-no-results{
        font-size: 14px;  
    }
    .listado-promociones .dp-dfg-item .dp-dfg-content.entry-summary{
        font-size: 14px !important;
    }
    .cartel-listado-destacada li {
        font-size: 14px;
        margin-bottom: 1rem;
        line-height: 1.2em;
    }
    .cartel-listado-destacada li {
      max-width: 100px;
      width: 100px;
    }
    .elementos-desde .contenido-desde{
      margin-bottom: 1.5rem;
    }
    .elementos-desde .titulo-desde {
      font-size: 20px;
    }
    .elementos-desde .titulo-desde img{
      max-width: 20px;
    }
    .elementos-desde .cuerpo-desde {
      font-size: 20px;
    }
    body.et_mobile_device .et-fixed-header#main-header {
      box-shadow:  0 18px 45px rgba(0, 51, 91, 0.12) !important;
    }
}
@media(max-width:319px){
  .subfooter ul {
      display: block !important;
  }
  body #page-container .et_pb_section.pie-flotante .et_pb_row:last-child .et_pb_button{
      width: min-content !important;
      padding: 2px 10px 2px 1rem !important;
      font-size: 14px !important;
  }
  body #page-container .et_pb_section.pie-flotante .et_pb_row_3_tb_footer {
    --horizontal-gap: 3px;
  }
  body #page-container .pie-flotante .et_pb_button_module_wrapper .et_pb_button::before {
    margin-left: -1em !important;
  }
  body #page-container .pie-flotante .et_pb_column{
    align-items: center !important;
  }
}