/*
 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
*/

/* FUENTES */

@import url('https://fonts.googleapis.com/css2?family=Ruda:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* VARIABLES */

:root {
  --f-principal: "Roboto", sans-serif;
  --f-secundaria: "Ruda", sans-serif;

  --c-verde-01: #415A02;    /* VERDE 01 */
  --c-verde-02: #e4faa9;    /* VERDE 02 */
  --c-verde-03: #9acc13;    /* VERDE 03 */

  --c-negro: #252525;       /* NEGRO SUAVE */
  --c-bg: #ebebeb;          /* BLANCO FONDO */
  --c-blanco: #FFFFFF;      /* BLANCO PURO */

  --f-size: 18px;
  --f-line-height: 1.2em;
  --f-letter-spacing: 0.1em;
  --all-transition: all 0.4s ease-in-out;
}

/* TEXTOS */

body {
  font-family: var(--f-principal);
  color: var(--c-negro);
}

h1 {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1em;
  /* text-transform: uppercase; */
  font-family: var(--f-secundaria);
  background: linear-gradient(to right, var(--c-verde-01) 0%, var(--c-verde-03) 30%, var(--c-verde-01) 75%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* color: var(--c-blanco); */
}

  .h1-blanco h1 {
    /* color: var(--c-negro); */
    margin-bottom: -20px;
  }

  .h1-small h1 {
    margin-bottom: -20px;
    font-size: 4rem;
    /* max-width: 940px; */
  }

h2 {
  font-family: var(--f-secundaria);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--c-verde-01);
  margin-bottom: 0;
}

  .h2-blanco h2 {
    color: var(--c-blanco);
  }

  .h2-sub h2 {
    color: var(--c-verde-01);
  }

h3 {
  font-family: var(--f-secundaria);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 0;
  color: var(--c-verde-01);
}

  h3 b, strong {
    font-weight: 700;
  }

  .h3-blanco h3 {
    color: var(--c-blanco);
  }

p {
  font-size: 17px;
  color: var(--c-negro);
}

  .p-blanco p {
    color: var(--c-blanco);
  }
  
/* RESPONSIVE TEXTOS */

@media screen and (max-width:1024px) {

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 30px;
  }
}

@media screen and (max-width:768px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }
}


.vce-text-block-wrapper ul li,
.vce-text-block-wrapper ol li,
.entry-content>ul li,
.entry-content>ol li {
  color: var(--c-negro);
  margin-bottom: 8px;
}

.cab-home {
  /* left: 0;
  right: 0!important;
  height: 100vh;
  margin-left: 30px!important;
  margin-right: 30px!important; */
  z-index: 7;
  align-items: center;
  justify-content: center;
}

#contacto .vce-col-content, .vce-col-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  max-width: 1720px !important;
}

.subtit {
  max-width: 940px;
}

.cab-section {
  top: 0;
  left: 0;
  right: 0!important;
}

ul li::marker {
  color: var(--c-verde-01);
  font-size: 1.4em;
}

ul>li:last-child,
ol>li:last-child {
  margin-bottom: 0;
}

.textwidget a,
.vce-text-block a span {
  text-decoration: none;
}

.vce-text-block>.vce-text-block-wrapper>p:last-child,
.textwidget>p:last-child {
  margin-bottom: 0;
}


img.vce-single-image {
  position: relative !important;
  z-index: 2;
}

.vce-single-image-inner {
  padding-bottom: 0 !important;
}


.bg-favicon>.vce-content-background-container .vce-asset-background-simple-item {
  background-size: 1024px !important;
  background-position: 50% 50% !important;
}

.shadow>div {
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px 0px;
}

.shadow-right {
  box-shadow: 5px 5px 0px 0px var(--c-verde-03);
}

.shadow-left {
  box-shadow: -5px 5px 0px 0px var(--c-verde-03);
}

.imagen img {
  max-height: 450px;
  max-width: 100%;
}

/* .shadow-izq .vce-single-image-wrapper,
.shadow-izq.vce-col {
  box-shadow: -25px 0px 0px -10px var(--azul-secundario);
}

.shadow-dch .vce-single-image-wrapper,
.shadow-dch iframe {
  box-shadow: 25px 0px 0px -10px var(--azul-secundario);
} */

.box {
  min-height: 270px;
}

.flecha {
  position: absolute;
  bottom: -150px;
  left: calc(50% - 28px);
  width: 56px;
  height: 56px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  animation: pulse-down 2s infinite;
  transition-duration: 0.3s;
}


.flecha:hover {
  scale: 1.05;
  transition-duration: 0.5s;
}

@keyframes pulse-down {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(5px);
  }
}

.info-banner {
  background: var(--c-verde-01);
}

/* PAGINA TRATAMIENTOS */

.vce-row-content {
  flex-wrap: wrap !important;
  align-content: center!important;
}

.tratamientos-lista > .vce-row-content > .vce-col {
  max-width: 100% !important;
  flex: 0 0 30% !important;
  margin: 0 1.5% 40px !important;

}

.tratamientos-lista .icon img {
  max-width: 150px !important;
}

.box-1 {
  min-height: 485px;
}

.box-2 {
  min-height: 370px;
}

/* PAGINA CONTACTO */

form .contacto .datos-usuario .datos {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-height: 346px;
  margin-bottom: 5px;
  margin-right: 2%;
}

form .contacto .datos-usuario .datos>div:first-child {
  max-width: 100%;
  width: 100%;
}

form .contacto .datos-usuario .datos>div {
  max-width: 49%;
  width: 100%;
}

form .contacto .datos-usuario label {
  display: inline-block;
  margin-bottom: 10px;
}

form .contacto .datos-usuario input {
  width: 100%;
  border: none;
  border-left: 2px solid var(--azul-secundario);
  border-right: 2px solid var(--azul-secundario);
  background-color: var(--gris-claro);
}

form .contacto .datos-usuario>.mensaje textarea {
  resize: none;
  border: none;
  border-left: 2px solid var(--azul-secundario);
  border-right: 2px solid var(--azul-secundario);
  max-height: 120px;
  background-color: var(--gris-claro);
}

form .contacto .aceptar-rgpd .wpcf7-list-item {
  margin: 0;
}

form .contacto .txt-legal p {
  font-size: 0.7em;
  margin-bottom: 0;
}

.tratamiento {
  display: flex;
  vertical-align: top;
  justify-content: space-between;
}


/*------ OTROS RESPONSIVE ------*/

@media screen and (max-width:1024px) {

  /* PAGINA TRATAMIENTOS */

  .tratamientos-lista > .vce-row-content > .vce-col {
    flex: 0 0 47% !important;
  }

  /* PAGINA CONTACTO */

  form .contacto .datos-usuario .datos>div {
    max-width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .mv-order-1 {
    order: 1;
  }

  .mv-order-2 {
    order: 2;
  }
}

@media screen and (max-width:768px) {

  .box {
    min-height: 320px;
  }

  .j-center>.vce-row-content {
    justify-content: center !important;
  }

  .j-between >.vce-row-content {
    justify-content: space-between !important;
  }

  .j-between > .vce-row-content > .vce-col {
    margin-right: 0 !important;
  }

  .flecha {
    display: none;
  }

  /* PAGINA TRATAMIENTOS */

  .box-1,
  .box-2,
  .box-3,
  .box-4 {
    min-height: 0;
  }

  /* PAGINA CONTACTO */

  form .contacto .datos-usuario .datos>div {
    max-width: 49%;
  }
}