/*
 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=Montserrat:wght@500;700&family=Zalando+Sans+Expanded:wght@800&display=swap');

/* =========================================================
   VARIABLES POR DEFECTO
   ========================================================= */
:root {
  --c-negro: #363C3A;
  --c-blanco: #FFFFFF;
  --c-primario: #018440;
  --c-secundario: #018943;
  --c-grisclaro: #F4F1E2;
  --c-gris: #75837D;
}

/* =========================================================
   RESETEOS Y OUTLINE
   ========================================================= */
*:focus {
  outline: 5px solid orange;
}

/* =========================================================
   ESTILOS BASE
   ========================================================= */
body {
  background-color: #FFFEF9;
  font-family: "Montserrat", sans-serif;
  color: var(--c-negro);
  font-size: 1.125rem;
  line-height: 1.6875rem;
}

a {
  color: var(--c-primario);
  text-decoration: none;
}

a,
a:hover {
  transition: all 0.4s ease !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Zalando Sans Expanded", sans-serif;
}

/* =========================================================
   UTILIDADES
   ========================================================= */
.zindex0 {
  z-index: 0;
}

.zindex1 {
  z-index: 1;
}

/* =========================================================
   CABECERA Y NAVEGACIÓN
   ========================================================= */
.site-logo {
  z-index: 1;
}

ul li.navigation-button {
  background-color: var(--c-secundario);
  border-radius: 50px;
  padding: 0 10px;
  transition: all .3s ease-out;
}

ul li.navigation-button:hover {
  background-color: #164734;
  transition: all .3s ease-out;
}

#site-navigation .main-nav li.navigation-button a {
  color: var(--c-blanco);
}

.menu-toggle {
  font-size: 18px;
}

.elementor-default .menu-toggle {
  padding: 25px;
  line-height: 0;
  background-color: #0D3727;
  color: var(--c-blanco);
}

.elementor-default .menu-toggle:hover {
  background-color: var(--c-primario);
  color: var(--c-blanco);
}

/* =========================================================
   ELEMENTOS PERSONALIZADOS
   ========================================================= */
.check::before {
  content: "";
  background-image: url("/wp-content/uploads/2025/10/check.svg");
  width: 50px;
  background-repeat: no-repeat;
  float: left;
  height: 100%;
  background-size: 35px;
}

.elementor-button {
  font-family: "Zalando Sans Expanded", sans-serif;
}

.gp-icon {
  color: var(--c-blanco);
}

/* =========================================================
   TABLEPRESS
   ========================================================= */
#tablepress-1_wrapper .tablepress {
  --head-text-color: var(--c-blanco);
  --head-bg-color: #164734;
  border-collapse: collapse;
  border-radius: 30px;
  border-style: hidden;
  background: var(--c-grisclaro);
}

#tablepress-1_wrapper .tablepress> :where(thead, tfoot)>tr>*,
#tablepress-1_wrapper .tablepress> :where(tbody)>tr>* {
  text-align: center;
  padding: 15px 5px;
}

#tablepress-1_wrapper .tablepress> :where(tbody)>tr>* {
  font-size: 14px;
}

#tablepress-1_wrapper .tablepress> :where(thead, tfoot)>tr> :first-child {
  border-radius: 30px 0 0 0;
}

#tablepress-1_wrapper .tablepress> :where(thead, tfoot)>tr> :last-child {
  border-radius: 0 30px 0 0;
}

#tablepress-1_wrapper .dt-scroll-body .tablepress.tablepress-id-1 {
  border-radius: 0 0 30px 30px;
}

/* =========================================================
   FORMULARIO
   ========================================================= */
.default-form p {
  margin-bottom: 0;
}

.default-form input:not([type="submit"]),
.default-form textarea {
  background-color: var(--c-blanco) !important;
  border-bottom: 2px solid var(--c-primario);
  margin-top: 5px;
  width: 100%;
  border-radius: 50px;
}

.default-form textarea {
  background-color: var(--c-blanco) !important;
  border-bottom: 2px solid var(--c-primario);
  margin-top: 5px;
  width: 100%;
  max-height: 150px;
  border-radius: 25px;
  margin: 3px 0 5px;
  resize: none;
}

.default-form input:focus,
.default-form textarea:focus {
  outline: none;
}

.default-form.form-contacto .datos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 19px;
  margin-bottom: 20px;
}

.default-form.form-contacto .datos>div {
  flex: 0 0 48%;
}

.default-form.form-contacto .datos>div.full-w {
  flex: 0 0 100%;
}

.rgpd {
  margin-top: 20px;
}

.rgpd .wpcf7-list-item {
  margin-left: 0;
}

.rgpd input {
  width: auto !important;
}

.txt-legal {
  margin: 20px 0 0;
  font-size: 0.8rem;
}

.txt-legal .tab-legal {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  column-gap: 4px;
}

.txt-legal .tab-legal p {
  font-size: 1.2em;
}

.txt-legal .tab-legal:hover {
  cursor: pointer;
}

.txt-legal .tab-legal .plus-icon {
  margin-top: 4px;
}

.txt-legal .tab-legal .plus-icon svg {
  max-width: 13px;
  transform: rotate(45deg);
}

.txt-legal .let-peq {
  margin: 0;
  padding-left: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.txt-legal .let-peq>p {
  font-size: 0.8rem;
  line-height: 1.25em !important;
  padding-bottom: 10px;
}

.btn-enviar input[type=submit] {
  padding: 15px !important;
  background-color: var(--c-secundario);
}

.btn-enviar input[type=submit]:hover {
  background-color: #164734;
}

/* =========================================================
   FEED INSTAGRAM
   ========================================================= */

.feed-instagram button.sbi_load_btn,
.feed-instagram .sbi_follow_btn a {
  font-size: 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px !important;
    padding: 12px 20px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1080px) {
  .default-form.form-contacto .datos {
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {

  #politica-cookies table {
    display: block;
    overflow: scroll;
  }
}