@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

body {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: var(--gddp-font-family, "Open Sans", sans-serif);
  background-color: #efefef;
  color: var(--gddp-text, #4d4d4d);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--gddp-font-family, "Open Sans", sans-serif);
}

a {
  color: var(--gddp-link-color, var(--gddp-primary, #ad1519));
}

a:hover,
a:focus {
  color: #351f1a;
}

.account-masthead {
  padding: 0;
  background: var(--gddp-topbar-bg, #fbbd00) !important;
  color: var(--gddp-masthead-text, #1d1d1b) !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  z-index: auto !important;
  min-height: 30px !important;
  max-height: none !important;
  box-shadow: none !important;
}

.account-masthead .container,
.account-masthead .account,
.account-masthead .account.avatar.authed,
.account-masthead .account.authed,
.account-masthead .account.not-authed,
.account-masthead .account ul,
.account-masthead .account ul li {
  background: transparent !important;
  border-color: transparent !important;
}

.account-masthead .account ul li a,
.account-masthead .nav-link.dropdown-toggle {
  display: block;
  color: var(--gddp-masthead-text, #1d1d1b) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 31px;
  background: transparent !important;
}

.account-masthead .account ul li a.sub,
.account-masthead .account.authed .image {
  background: transparent;
}

.account-masthead .account ul li a:hover,
.account-masthead .account ul li a:focus,
.account-masthead .nav-link.dropdown-toggle:hover,
.account-masthead .nav-link.dropdown-toggle:focus {
  color: var(--gddp-topbar-hover-text, #ffffff) !important;
  background-color: var(--gddp-topbar-hover-bg, #a71e03);
  text-decoration: none;
}

.account-masthead + .masthead {
  margin-top: 0 !important;
}

.masthead {
  margin-top: 0 !important;
  margin-bottom: initial;
  color: #fff;
  background-color: var(--gddp-masthead-bg, #ffdb00) !important;
  position: relative;
  padding: 30px 0;
  height: 138px;
}

.masthead .container,
.masthead .navbar {
  background: transparent !important;
}

.masthead .header-image,
.masthead hgroup.header-image,
.masthead .header-image .logo {
  overflow: visible !important;
}

.masthead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(
    to right,
    #a71e03,
    #a71e03 25%,
    var(--gddp-accent, #fbbd00) 25%,
    var(--gddp-accent, #fbbd00) 75%,
    #a71e03 75%
  );
}

.masthead .navbar {
  padding: 0;
}

.masthead .navbar .logo img {
  display: block;
  height: 75px;
  max-height: 75px;
  width: auto;
  margin: 20px 0;
  object-fit: contain;
  object-position: left center;
}

.masthead .main-navbar ul li a {
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  color: var(--gddp-header-nav-text, var(--gddp-masthead-text, #1d1d1b));
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
}

.masthead .main-navbar.collapse.navbar-collapse > ul.navbar-nav > li > a,
.masthead .main-navbar.collapse.navbar-collapse > ul.navbar-nav > li > a:visited {
  color: var(--gddp-header-nav-text, var(--gddp-masthead-text, #1d1d1b));
}

.masthead .navigation .nav-pills li a,
.masthead .nav > li > a,
.masthead .nav > li > a:hover,
.masthead .nav > li > a:focus,
.masthead .nav > .active > a,
.masthead .nav > .active > a:hover,
.masthead .nav > .active > a:focus {
  background-color: transparent;
  color: var(--gddp-masthead-text, #1d1d1b);
  font-weight: 600;
  text-decoration: none;
}

.masthead .main-navbar.collapse.navbar-collapse > ul.navbar-nav > li:hover > a,
.masthead .main-navbar.collapse.navbar-collapse > ul.navbar-nav > li:focus > a,
.masthead .main-navbar.collapse.navbar-collapse > ul.navbar-nav > li.active > a,
.masthead .navigation .nav-pills li a:hover,
.masthead .navigation .nav-pills li a:focus,
.masthead .navigation .nav-pills li.active a {
  background-color: var(--gddp-navbar-hover-bg, transparent) !important;
  text-decoration: none !important;
  color: var(--gddp-navbar-hover-text, var(--gddp-header-nav-text, var(--gddp-masthead-text, #1d1d1b))) !important;
}

.masthead .site-search {
  margin-left: 0.9rem;
}

.masthead .site-search .form-control {
  border: 1px solid #d9e0e8;
  border-radius: 999px;
  min-width: 200px;
  height: 38px;
  padding-right: 2.5rem;
}

.masthead .site-search .btn {
  background: transparent;
  border: 0;
  color: #1d1d1b;
  margin-left: -2.4rem;
  z-index: 2;
}

.masthead .site-search .btn:hover,
.masthead .site-search .btn:focus {
  color: var(--gddp-primary, #ad1519);
  box-shadow: none;
}

.homepage section.featured.media-overlay {
  display: none;
}

.homepage .module-search .module-content {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.homepage .module-search .module-content .sdct-about-heading {
  font-size: clamp(2.8rem, 6vw, 5rem) !important;
  font-weight: 700 !important;
  line-height: 1.06 !important;
  color: var(--gddp-home-heading-color, #2f88a3) !important;
  text-align: center !important;
  margin: 0.2rem 0 0.5rem !important;
}

.homepage .module-search .module-content .sdct-about-heading:after {
  display: block;
  background: var(--gddp-primary, #ad1519);
  bottom: 0;
  content: "";
  height: 3px;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 78px;
}

.sdct-about-heading-container {
  max-width: none;
}

.open-data-intro {
  margin-top: 0.5rem;
  color: #474442;
}

.homepage .module-search .search-form::before {
  content: none !important;
}

.homepage .module-search .search-form .sdct-about-heading-container::after {
  content: none !important;
}

.theme-gddp-impulsadata-portada {
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0 0;
  height: 170px;
}

.portada {
  background-image: var(--gddp-home-hero-image, none);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top left;
  height: 170px;
  margin: 0.75rem 0;
}

.portada .portada {
  height: auto;
}

.theme-gddp-impulsadata-home-bottom-block {
  margin: 1.5rem 0 2rem;
}

.theme-gddp-impulsadata-home-bottom-content {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-left: 4px solid var(--gddp-primary, #ad1519);
  padding: 1.1rem 1.25rem;
  color: var(--gddp-text, #4d4d4d);
}

.theme-gddp-impulsadata-home-bottom-content > :last-child {
  margin-bottom: 0;
}

.form-control {
  box-shadow: none;
}

.homepage .module-search .search-giant input {
  border-color: var(--gddp-primary, #ad1519);
  height: auto;
  border: 1px solid #00316426;
  border-radius: 0;
  min-height: 52px;
  font-size: 18px;
  line-height: 1.2;
}

.homepage .module-search .search-giant input::placeholder {
  font-size: 18px;
  line-height: 1.2;
  color: #6e6e6e;
  opacity: 1;
}

.search-form .search-input.search-giant button i {
  font-size: 20px;
  width: 28px;
  margin-top: 0.2em;
  color: #6e6e6e;
}

.homepage .module-search .tags {
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.homepage .module-search .tags h3 {
  color: #ffffff !important;
  background: var(--gddp-primary, #ad1519) !important;
  font-weight: 700 !important;
  padding: 0 0.9rem !important;
  text-shadow: none !important;
  border: 0 !important;
  white-space: nowrap;
}

.index_tags .tag {
  color: #ffffff !important;
  background: #6e6e6e !important;
  font-weight: 700 !important;
  border-radius: 0 !important;
  padding: 0 0.9rem !important;
  min-width: 170px !important;
  text-align: center !important;
  border: 0 !important;
}

.homepage .module-search .tags h3,
.homepage .module-search .tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 !important;
  border: 0 !important;
}

.index_tags .tag:hover,
.index_tags .tag:focus {
  text-decoration: none;
  color: #351f1a;
  background-color: var(--gddp-accent, #fbbd00);
  border-color: var(--gddp-accent, #fbbd00);
}

.sct-about-h3 {
  position: relative !important;
  display: inline-block !important;
  color: var(--gddp-primary, #ad1519) !important;
  font-size: 2.2rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  text-shadow: none !important;
}

.sct-about-h3:after {
  display: block;
  background: #2f88a3;
  bottom: 0;
  content: "";
  height: 4px;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 60px;
}

.sct-about-figures {
  background: #ffffff;
  border: 1px solid #d9e0e8 !important;
  border-radius: 0 !important;
  padding: 1rem 1rem 0.5rem;
}

.sct-about-figures__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.sct-about-figures-alt-card {
  display: flex;
  flex-basis: 31%;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
  border: 1px solid #00316426 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--gddp-primary, #ad1519);
  text-align: center;
  height: 5rem;
}

.sct-about-figures-alt-card-icon,
.sct-about-figures-alt-card-icon.avoindata-explore-showcase {
  height: 100%;
  width: 30%;
  float: left;
  border-radius: 4px 30px 30px 4px / 4px 40px 40px 4px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f8f8 !important;
}

.sct-about-figures-alt-card-icon i {
  font-size: 1.5rem !important;
  color: #1d355e !important;
  border: 1px solid #d9e0e8 !important;
  padding: 0.5em !important;
  border-radius: 500px !important;
  background: #ffffff !important;
}

.sct-about-figures-alt-card-title h2,
.sct-about-figures-alt-card-title h3 {
  margin: 0 !important;
  font-weight: 700 !important;
}

.sct-about-figures-alt-card-title h2 span,
.sct-about-figures-alt-card-title h3 span {
  color: var(--gddp-primary, #ad1519) !important;
}

.sct-about-figures-alt-card-text a {
  text-decoration: none;
  color: #474442 !important;
  font-size: 0.9rem !important;
}

.sct-about-figures-alt-card-text a:hover,
.sct-about-figures-alt-card-text a:focus {
  color: var(--gddp-primary, #ad1519);
}

.sct-about-themes-card {
  flex: 1 1 calc(25% - 20px);
  max-width: 150px;
  min-width: 100px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0;
  background-color: #f2f2f2;
  text-decoration: none;
  color: #474442;
  margin: 10px 0;
}

.sct-about-themes-card-icon {
  border: 1px solid #d9e0e8;
}

.site-footer {
  margin-top: 120px;
  background: var(--gddp-footer-bg, #ecece2);
}

.site-footer p,
.site-footer a,
.site-footer label,
.site-footer small,
.site-footer strong {
  color: #333;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--gddp-primary, #ad1519);
  text-decoration: none;
}

.theme-gddp-impulsadata-socicons {
  justify-content: flex-end;
}

.theme-gddp-impulsadata-socicons .icon-button {
  border: 1px solid #d9e0e8;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-gddp-impulsadata-footer-contact {
  margin-bottom: 0.6rem;
}

@media (max-width: 1200px) {
  .masthead .site-search .form-control {
    min-width: 160px;
  }

  .sct-about-figures-alt-card {
    flex-basis: 48%;
  }
}

@media (max-width: 991px) {
  .masthead {
    height: auto;
    padding: 18px 0 26px;
  }

  .masthead .navbar .logo img {
    margin: 5px 0;
    height: 62px;
    max-height: 62px;
  }

  .masthead .site-search {
    margin: 0.8rem 0 0;
  }

  .masthead .site-search .form-control {
    width: 100%;
    min-width: 0;
  }

  .theme-gddp-impulsadata-portada {
    background-size: 100%;
  }

  .homepage .module-search .portada {
    background-size: 100%;
  }

  .homepage .module-search .search-giant input {
    font-size: 17px;
  }

  .homepage .module-search .search-giant input::placeholder {
    font-size: 17px;
  }

  .sct-about-figures-alt-card {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .account-masthead .account ul {
    justify-content: flex-end;
  }

  .homepage .module-search .tags h3,
  .homepage .module-search .tags .tag {
    margin: 0 !important;
    width: 100%;
  }

  .theme-gddp-impulsadata-socicons {
    justify-content: flex-start;
  }
}
