/**
Theme Name: Astra child
Author: e-tecnia
Author URI: https://e-tecnia.es
Description:
Version: 1.0.6
Text Domain: astra-child
Template: astra
*/

/* Move reCAPTCHA v3 badge to the left */

.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: -1px !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
}

/* Complianz document */

#cmplz-document {
  max-width: 100%;
}

/** SERVICIOS HOME **/
@media (max-width: 1024px) {
  .servicios-home {
    svg {
      height: 100px !important;
    }
  }
}

.filtro-noticias {
  .widget {
    margin: 0;
    p {
      margin: 0;
      font-size: 29px;
      line-height: 37px;
      font-weight: bold;
      color: var(--e-global-color-text);
    }
    ul {
      list-style-image: url("/wp-content/uploads/2024/07/list.svg");
      margin: 20px;
      li {
        margin-bottom: 15px;
        padding-left: 10px;
        a {
          text-decoration: underline;
          color: var(--e-global-color-5c78798);
        }
      }
    }
  }
}

.organigrama {
  .fa-chevron-down:before,
  .fa-chevron-up:before {
    content: "Ocultar";
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-decoration: underline;
  }
  .fa-chevron-down:before {
    content: "Mostrar";
  }
  .elementor-accordion-icon-right {
    margin-right: 30px;
  }
  .elementor-accordion-item {
    border: 0 !important;
    border-left: 6px solid var(--e-global-color-5c78798) !important;
    .elementor-tab-title {
      border-top: 1px solid #1f2331;
      margin-left: 10px;
      &:before {
        content: "";
        width: 20px;
        height: 20px;
        border-radius: 100%;
        display: block;
        background-color: var(--e-global-color-5c78798);
        position: absolute;
        left: -7px;
      }
    }
  }
  .elementor-tab-content {
    border: 0 !important;
    border-bottom: 1px solid #1f2331;
  }
  .tab-contratos {
    .elementor-tab-title {
      border-top: 0 !important;
      margin-left: 0 !important;
      &.elementor-active {
        border-top: 1px solid var(--e-global-color-accent) !important;
        font-weight: 700 !important;
      }
      &:before {
        background: none !important;
        width: 0 !important;
        height: 0 !important;
        content: none !important;
      }
    }
    .elementor-tab-content {
      border-bottom: 0 !important;
    }
  }
}
.tabs-noticias {
  .elementor-tab-content {
    border-bottom: 0 !important;
    padding: 0 !important;
  }
  .elementor-active {
    font-weight: 700 !important;
  }
}
.hablamos {
  display: none;
}
.historico {
  display: none;
}
@media (max-width: 767px) {
  .actualidad,
  .hablamos,
  .historico {
    .ast-grid-common-col {
      padding: 0;
    }
  }
}
.form-filter {
  display: flex;
  gap: 20px;

  .input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="reset"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  input[type="url"],
  select,
  textarea {
    padding: 5px 15px;
    border-radius: 3px;
    border-color: var(--e-global-color-text);
    background-color: #f6f6f5;
    min-height: 46px;
    min-width: 200px;
    color: var(--e-global-color-text);
    font-size: 16px;
  }
  .button {
    margin-left: 15px;
    min-height: 45px;
    font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
  }
}
@media (max-width: 767px) {
  .form-filter {
    flex-direction: column;
  }
  .input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="reset"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  input[type="url"],
  select,
  textarea {
    width: 100%;
    display: block;
  }
  .button {
    width: 100%;
    display: block;
    margin-left: 0 !important;
    margin-top: 20px;
  }
}

@media (min-width: 1025px) {
  .category-sarga-en-los-medios {
    .elementor-207 .elementor-element.elementor-element-5c5244a {
      width: 25%;
    }
    .elementor-207 .elementor-element.elementor-element-2acb950 {
      width: 75%;
    }
  }
}

@media (max-width: 767px) {
  .menu-pie {
    ul {
      flex-direction: column;
      li {
        a {
          padding: 5px 0 !important;
          margin: 0 !important;
        }
      }
    }
  }
}

.year_filter {
  width: 100%;
}

.wpcf7-form {
  input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="reset"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  input[type="url"],
  select,
  textarea {
    border-color: var(--e-global-color-primary);
    background: #fff;
    border-radius: 4px;
  }
  label {
    color: var(--e-global-color-primary);
  }
  a {
    color: var(--e-global-color-accent);
  }
  .wpcf7-submit {
    border-radius: 4px;
    font-size: 16px !important;
  }
}

.btnDocuments .elementor-button {
  min-width: 200px;
}

.texto-ofertas a {
  text-decoration: underline;
  color: var(--e-global-color-text);
}

@media (min-width: 1024px) and (max-width: 1410px) {
  .tabs-noticias {
    .elementor-tab-title {
      font-size: 16px;
    }
  }
}

.e-loop-item.post
  section
  .elementor-container
  .elementor-column
  .elementor-widget-wrap {
  background-size: cover;
}

.document-year {
  color: #1f2331;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  display: block;
  margin-top: 40px;
}
a.btnMedio {
  height: 30px;
  padding: 5px 8px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px; /* 114.286% */
  text-transform: uppercase;
  color: var(--e-global-color-accent);
  border-radius: 3px;
  border: 1px solid var(--e-global-color-accent);
  &:hover {
    background-color: var(--e-global-color-accent);
    color: white;
  }
}
.medios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#map {
  width: 100%;
  height: 600px;
}

/*MAPS*/
.olPopupContent {
  min-height: 200px;
}
.ol-popup b {
  color: var(--e-global-color-accent);
  font-size: 14px !important;
  font-weight: bold;
}
.olPopupContent .olLayerGeoRSSDescription {
  padding: 0 10px;
  font-size: 14px !important;
  line-height: normal;
}

.ol-popup {
  position: absolute;
  background-color: white;
  padding: 15px;
  border: 1px solid #ccc;
  bottom: 12px;
  left: -50px;
  min-width: 200px;
  font-size: 12px;
  line-height: normal;
}
.ol-popup:after,
.ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-color: rgba(204, 204, 204, 0);
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}
@media (min-width: 1024px) {
  .elementor-post-navigation .elementor-post-navigation__link {
    width: 100%;
  }

  .elementor-post-navigation {
    flex-direction: column;
  }
}
