/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
body {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-size: var(--font-size-txt);
  letter-spacing: var(--letter-spacing);
}

body::-webkit-scrollbar {
  width: 12px;
  /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: var(--c-secondary);
  /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: var(--c-primary);
  /* color of the scroll thumb */
  /* roundness of the scroll thumb */
}

#content>div:first-child {
  overflow: hidden;
}

/* TITULOS */
.tit .elementor-heading-title,
.contenido-post h1 {
  font-size: var(--font-size-tit);
  font-family: var(--font-extrabold);
  letter-spacing: var(--letter-spacing-tit);
}

.tit-interiores .elementor-heading-title {
  font-size: var(--font-size-tit-interiores) !important;
  font-family: var(--font-extrabold) !important;
  letter-spacing: var(--letter-spacing-tit) !important;
}

.tit-interiores-tratamientos .elementor-heading-title {
  font-size: 100px !important;
  font-family: var(--font-extrabold) !important;
  letter-spacing: var(--letter-spacing-tit) !important;
}

.subtit .elementor-heading-title,
.contenido-post h2 {
  font-size: var(--font-size-subtit);
  font-family: var(--font-medium);
  letter-spacing: var(--letter-spacing-tit);
  line-height: var(--line-height-tit);
}

h3,
.subtit3,
.subtit3 p {
  font-size: var(--font-size-subtit3);
  line-height: var(--line-height-tit);
}

.c-blanco,
.c-blanco * {
  color: var(--c-white) !important;
}

.c-verde-claro {
  color: var(--c-secondary) !important;
}

.accent,
.c-verde *,
.c-verde {
  color: var(--c-primary) !important;
}

.precio-seguros {
  font-size: var(--font-size-txt);
  font-weight: var(--font-normal);
}

.elementor-widget-text-editor>.elementor-widget-container>p:last-child {
  margin-bottom: 0px;
}

.elementor-widget-text-editor>.elementor-widget-container ul li:not(:last-child) {
  margin-bottom: 10px;
}

.elementor-widget-text-editor>.elementor-widget-container ul li>ul {
  margin-top: 10px;
}

/* Efecto en los enlaces */
a {
  color: var(--c-primary);
  text-decoration: none;
}

a:hover {
  color: var(--c-black);
  text-decoration: none !important;
}

/* ----- TRATAMIENTOS ------ */
.col-trata {
  padding: 35px;
  background-color: black;
  color: var(--c-white);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.col-trata.col-orto {
  background-image: url(/wp-content/uploads/2024/07/tratamiento-ortodoncia-1.webp);
}

.col-trata.col-estetica {
  background-image: url(/wp-content/uploads/2024/07/tratamiento-estetica.webp);
}

.col-trata.col-implantes {
  background-image: url(/wp-content/uploads/2024/07/tratamiento-implantes-dentales.webp);
}

.col-trata h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.img-cta img {
  padding: 20px;
  min-width: 50px;
  min-height: 50px;
  width: 100px !important;
  background-color: var(--c-black);
}

/* ----- FONDOS ------ */
.gradient-bk {
  background: radial-gradient(circle, #7cb6b7, #2d2d2d);
  background-size: 200% 200%;
  animation: animateGradient 5s ease infinite;
}

.blur {
  backdrop-filter: blur(10px);
}

@keyframes animateGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ----- POP UP ¿TE LLAMAMOS? -TRATAMIENTOS  ------ */

.pop-up-tratamientos .form-llamar *:not(input[type="submit"]) {
  color: var(--c-txt) !important;
}

.pop-up-tratamientos .form-llamar p {
  margin-bottom: 0;
}

.pop-up-tratamientos .form-llamar>div {
  flex: 0 0 100%;
}

.pop-up-tratamientos .form-llamar .campo input {
  /* background-color: rgba(255, 255, 255, 0.5) !important; */
  margin-bottom: 15px;
  color: var(--c-txt);
}

.pop-up-tratamientos .form-llamar .campo input::placeholder,
.pop-up-tratamientos .txt-legal .tab-legal,
.pop-up-tratamientos .txt-legal .let-peq {
  color: var(--c-txt);
}

.pop-up-tratamientos .txt-legal .tab-legal .plus-icon svg {
  fill: var(--c-txt);
}

.pop-scroll {
  transform: translateX(100%);
}

.elementor-slideshow__footer {
  display: none !important;
}

/* TIPO DE SEGUROS. Pestañas */

.tipos-seguros .elementor-tab-title:not(.elementor-active) {
  background-color: var(--c-fondos);
  color: var(--c-grey);
}

.tipos-seguros .elementor-tab-title:not(.elementor-active)>span {
  color: var(--c-grey) !important;
}

.tipos-seguros .elementor-tab-content.elementor-active {
  display: flex !important;
  padding: 0;
}

.tipos-seguros .elementor-tab-content .descripcion-seguro {
  flex: 0 0 65%;
  padding: 30px;
}

.tipos-seguros .elementor-tab-content .descripcion-seguro>p:last-child {
  margin-bottom: 0;
}

.tipos-seguros .elementor-tab-content .info-seguro {
  flex: 0 0 35%;
  background-color: var(--c-black);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 20px;
}

.tipos-seguros .elementor-tab-content .info-seguro .detalles {
  display: flex;
  /* align-items: center;
  justify-content: center; */
  flex-direction: column-reverse;
  /* column-gap: 20px; */
  color: var(--c-white);
  width: 100%;
}

/* .tipos-seguros .elementor-tab-content .info-seguro .detalles > div {
  flex: 0 0 50%;
} */
.tipos-seguros ul {
  list-style: none;
  margin: 0;
}

.tipos-seguros ul>li {
  margin-bottom: 10px;
  padding-left: 20px;
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: 0 5px;
}

.tipos-seguros ul>li {
  background-image: url("/wp-content/uploads/2024/08/listado.svg");
}

.tipos-seguros ul.icon-white>li {
  background-image: url("/wp-content/uploads/2024/08/cuadrado-lista.svg");
  background-size: 7px;
  background-position: 0 7px;
}

.tipos-seguros ul>li svg {
  height: 7px;
  width: 7px;
  margin-top: 7px;
}

.tipos-seguros .elementor-tab-content .info-seguro .detalles>.precio {
  /* flex: 0 0 45%; */
  font-size: 90px;
  font-weight: 700;
}

.tipos-seguros .elementor-tab-content .info-seguro br {
  display: none;
}

.tipos-seguros .btn-norm,
.tipos-seguros .btn-norm>a {
  width: 100%;
}

/* CONTACTO */

.icon-w a>svg path {
  fill: var(--c-white);
}

.icon-w a:hover>svg path {
  fill: var(--c-primary);
}

.icon-w.round a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BLOG */

.blog-grid .elementor-post__card a:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.blog-grid .elementor-posts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.blog-grid .elementor-posts-container>article {
  flex: 0 0 31.33%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: var(--all-transition);
}

.blog-grid .elementor-posts-container>article:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
}

.blog-grid .elementor-posts-container>article .elementor-post__thumbnail__link {
  margin-bottom: 0 !important;
}

.blog-grid .elementor-posts-container>article .elementor-post__thumbnail {
  padding: 0 !important;
}

.blog-grid .elementor-posts-container>article .elementor-post__thumbnail img {
  display: none;
}

.blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) {
  flex: 0 0 48%;
}

.blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) .elementor-post__card {
  flex-direction: row;
}

.blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) .elementor-post__thumbnail__link {
  flex: 0 0 50%;
}

.blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) .elementor-post__thumbnail img {
  position: static !important;
  transform: none !important;
  display: block;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) .elementor-post__badge {
  right: 0 !important;
  left: initial !important;
  max-width: 50%;
  width: 100%;
  padding-left: 30px !important;
}

/* .elementor-widget-posts .elementor-post__thumbnail img {
  height: 100% !important;
  object-fit: cover;
  object-position: center;
} */

.elementor-widget-posts .elementor-post__text {
  /* max-width: 90%;
  margin: -60px auto 0 !important; */
  background-color: var(--c-white);
  padding: 80px 30px 30px !important;
  z-index: 1;
  /* text-align: center; */
}

.elementor-widget-posts .elementor-post__text p {
  font-size: 15px !important;
}

.elementor-widget-posts .elementor-post__text h2 {
  font-family: var(--font-medium);
  letter-spacing: var(--letter-spacing-tit);
  line-height: var(--line-height-tit);
}

.blog-grid .elementor-posts-container>article:hover .elementor-post__text .elementor-post__read-more {
  color: var(--c-txt);
  transition: var(--all-transition);
}

.elementor-widget-posts .elementor-post__text .elementor-post__read-more {
  font-size: 15px;
  border-bottom: 2px solid;
  display: block !important;
  max-width: 90px;
  width: 100%;
}

.elementor-widget-posts .elementor-post__badge {
  font-family: var(--font-medium) !important;
  letter-spacing: var(--letter-spacing-tit);
  line-height: var(--line-height-tit);
  background-color: transparent !important;
  color: var(--c-txt) !important;
  /* backdrop-filter: blur(10px); */
  z-index: 2;
  top: 30px !important;
  right: initial !important;
  left: 30px !important;
  text-transform: uppercase !important;
  font-size: 15px !important;
  padding: 0 !important;
}

.elementor-widget-posts .elementor-post__badge::after {
  content: "";
  width: 35px;
  height: 2px;
  display: block;
  background-color: var(--c-primary);
  margin-top: 10px;
  transition: var(--all-transition);
}

.blog-grid .elementor-posts-container>article:hover .elementor-post__badge::after {
  width: 55px;
}

.single .elementor-widget-container a {
  color: var(--c-primary) !important;
  text-decoration: none !important;
}

.single .elementor-widget-container a:hover {
  color: var(--c-black) !important;
}

/* Testimonios */

.tabs-testimonios .btn-tab a {
  background-color: var(--c-white);
  color: var(--c-txt);
  letter-spacing: var(--letter-spacing-btn);
  text-decoration: none;
  padding: 20px 30px;
  display: inline-block;
  transition: var(--all-transition);
  border-radius: 0px !important;
  font-family: var(--font-primary);
  font-weight: bold;
  border: 1px solid var(--c-txt);
}

.tabs-testimonios .btn-tab a:hover,
.tabs-testimonios .btn-tab a.tab-open {
  background-color: var(--c-txt);
  color: var(--c-white);
}

.tabs-testimonios .tabs-item {
  position: relative;
  width: 100%;
}

.tabs-testimonios .tab-item {
  position: absolute;
  opacity: 0;
  z-index: 0;
}

.tabs-testimonios .tab-item.active {
  opacity: 1;
  z-index: 1;
}

.btn-dejar-resena p {
  color: var(--c-txt);
}

.btn-dejar-resena:hover {
  box-shadow: none !important;
}

.sbox,
.stars {
  position: relative;
  display: inline-block;
}

.sbox {
  width: 100%;
  vertical-align: middle;
  text-align: left;
}

.reviewBadge__rating {
  color: var(--c-primary);
  font-size: 20px;
  margin: 0 6px 0 0;
}

.stars {
  width: 5.56em;
  height: 1em;
  background-color: #ccc;
}

.stars.rating-94:before {
  right: 6%;
}

.stars:before {
  background-color: rgb(245, 216, 85);
  background-size: 100%;
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  top: 0;
  bottom: 0;
  z-index: 0;
}

.stars:after {
  position: absolute;
  content: "";
  left: -0.02em;
  right: -0.02em;
  top: -0.05em;
  bottom: -0.02em;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjIiIGJhc2VQcm9maWxlPSJ0aW55IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMTAiIGhlaWdodD0iNjAiPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0wIDB2NjBoMzEwVjBIMHptMjQyLjg0IDQ4LjYxbC0xMS43Ny02LjE5LTExLjc3IDYuMTkgMi4yNS0xMy4xMS05LjM3LTkuMTMtOS4zNyA5LjEzIDIuMjUgMTMuMTEtMTEuNzctNi4xOS0xMS43NyA2LjE5IDIuMjUtMTMuMTEtOS4zNy05LjEzLTkuMzcgOS4xMyAyLjI1IDEzLjExLTExLjc3LTYuMTktMTEuNzcgNi4xOSAyLjI1LTEzLjExLTkuMzctOS4xMy05LjM3IDkuMTMgMi4yNSAxMy4xMS0xMS43Ny02LjE5LTExLjc3IDYuMTkgMi4yNS0xMy4xMS05LjM3LTkuMTMtOS4zNyA5LjEzIDIuMjUgMTMuMTEtMTEuNzctNi4xOS0xMS43NyA2LjE5IDIuMjUtMTMuMTEtOS41Mi05LjI4IDEzLjE2LTEuOTEgNS44OS0xMS45MyA1Ljg5IDExLjkzIDEzLjAxIDEuODkgMTMuMDEtMS44OSA1Ljg5LTExLjkzIDUuODkgMTEuOTMgMTMuMDEgMS44OSAxMy4wMS0xLjg5IDUuODktMTEuOTMgNS44OSAxMS45MyAxMy4wMSAxLjg5IDEzLjAxLTEuODkgNS44OS0xMS45MyA1Ljg5IDExLjkzIDEzLjAxIDEuODkgMTMuMDEtMS44OSA1Ljg5LTExLjkzIDUuODkgMTEuOTMgMTMuMTYgMS45MS05LjUyIDkuMjggMi4xNSAxMy4xMXoiLz48L3N2Zz4=);
  z-index: 1;
  background-size: 166% 166%;
  background-position: 50% 50%;
}

/* ----- RESPONSIVE ------ */
@media screen and (max-width: 1300px) {
  .tit-interiores-tratamientos .elementor-heading-title {
    font-size: 65px !important;
  }
}

@media screen and (max-width: 1024px) {

  /* .tit-interiores-tratamientos .elementor-heading-title {
    font-size: 80px !important;
  } */
  .tit .elementor-heading-title {
    font-size: var(--font-size-tit-tb);
  }

  .tit-interiores .elementor-heading-title {
    font-size: var(--font-size-tit-interiores-tb) !important;
  }

  .subtit .elementor-heading-title {
    font-size: var(--font-size-subtit-tb);
  }

  /* Testimonios */
  .btns-tab {
    flex-direction: row !important;
  }

  .btns-tab>.btn-tab {
    max-width: 29% !important;
  }

  .tabs-testimonios .btn-tab a {
    padding: 20px 10px;
  }

  /* Blog */

  .blog-grid .elementor-posts-container {
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .tit-interiores-tratamientos .elementor-heading-title {
    font-size: 40px !important;
  }
}

@media screen and (max-width: 600px) {

  /* TIPO DE SEGUROS. Pestañas */
  .tipos-seguros .elementor-tab-content.elementor-active {
    display: block !important;
  }

  .tipos-seguros .elementor-tab-content .descripcion-seguro,
  .tipos-seguros .elementor-tab-content .info-seguro {
    padding: 20px;
  }

  /* Testimonios */
  .btns-tab {
    flex-direction: column !important;
  }

  .btns-tab>.btn-tab {
    max-width: 100% !important;
  }

  .tabs-testimonios .btn-tab a {
    padding: 20px 10px;
  }

  /* Blog */

  .blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) .elementor-post__card {
    flex-direction: column;
  }

  .blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) .elementor-post__thumbnail img {
    height: 250px;
  }

  .blog-grid .elementor-posts-container>article[class*="category-"]:not(.category-sorteos):not(.category-salud-dental) .elementor-post__badge {
    position: static;
    margin-bottom: -52px;
    padding-top: 25px !important;
    max-width: 100%;
  }

  .elementor-widget-posts .elementor-post__text .elementor-post__read-more {
    max-width: 100px !important;
  }
}