/* TEHME CSS */

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

@media only screen and (min-width: 576px) and (max-width: 1440px) {
  .container,
  .container-md,
  .container-sm,
  .header-pages {
    max-width: 98%;
  }
} /* end media*/

@media (min-width: 1440px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1440px;
  }
} /* end media*/
@media (min-width: 1920px) {
  .container-fluid {
    max-width: 1920px;
  }
} /* end media*/

/*pages*/

body {
  font-size: 17px;
  line-height: 1.4;
}

@media only screen and (min-width: 768px) {
  body {
    font-size: 22px;
    line-height: 1.75;
  }
  .display-1, .display-2, .display-3, .display-4, .display-5{
    line-height: 1;
  } 
} /* end media */

.fw-500 {
  font-weight: 500;
}

.categorias-index, .categorias-index a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
}
.categorias-index a:hover {
  color: #000;
}

.understrap-read-more-link {
  background-color: none;
  border: none;
  color:#000;
  text-decoration: none;
  border-bottom:4px solid #99cc33;
  padding-bottom: 4px;
}

/* header */

.navbar-brand svg {
  max-width: 220px;
  height: auto;
}
.span-logo {
  color: #fff;
  font-weight: 400;
  font-size: 20px;
  background-color: #000;
  padding: 5px 10px;
  display: block;
  margin: 4px auto 4px 30%;
  display: table;
}
.span-logo:hover {
  background-color: #99cc33;
}
.logo-footer {
  max-width: 190px;
  height: auto;
}

.nav-link {
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  padding: 4px;
}
.nav-link:hover,
.active .nav-link {
  color: #fff;
  background-color: #000;
}

/*
  #main-menu .dropdown-item:focus, #main-menu  .dropdown-item:hover {
    background-color: none!important; 
  }*/
.offcanvas-body .nav-link:focus,
.offcanvas-body .nav-link:hover {
  color: #fff !important;
}

@media only screen and (min-width: 768px) {
  .navbar-brand svg {
    max-width: 240px;
  }
  .span-logo {
    color: #fff;
    font-size: 24px;
    display: inline-block;
    margin: 4px;
  }
  .nav-link {
    color: #000;
  }

  .nav-link:hover,
  .active .nav-link {
    color: #fff;
    background-color: #000;
  }

  .offcanvas-body .nav-link:focus,
  .offcanvas-body .nav-link:hover {
    color: #fff;
    background-color: #99cc33;
  }
} /*  end css */

@media only screen and (min-width: 1024px) {
  .nav-item {
    padding-left: 20px;
  }
  .redes svg {
    max-width: 50px;
  }
} /*  end css */

/* formulario busqueda en header */
.form-top .input-group {
  justify-content: flex-end !important;
  margin-top: 5px;
}
.form-top input[type="search"] {
  max-width: 200px;
  background-color: #dfe7ef;
  border: none;
  border-radius: 0;
}
.form-top input.btn-primary {
  max-width: 35px;
  background-color: #dfe7ef;
  border: none;
  border-radius: 0;
  content: "0";
  color: #dfe7ef;
  padding-left: 30px;
  width: 1px;
  font-size: 1px;
  overflow: hidden;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-zoom-out" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0"/><path d="M10.344 11.742q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1 6.5 6.5 0 0 1-1.398 1.4z"/></svg>');
  background-repeat: no-repeat;
  background-position: 10px 5px;
  background-size: 24px;
}
.form-top input.btn-primary:hover {
  background-color: #99cc33;
}

@media only screen and (max-width: 768px) {
  .form-top .input-group {
    padding: 40px;
  }
} /* end media */

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

.navbar-toggler-icon {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><g><rect x="2.2" y="9.6" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="21.8" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="34" style="fill:%23000;" width="45.7" height="6.4"/></g></svg>');
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler-icon:focus,
.btn-close:focus {
  outline: none !important;
  border: none !important;
  border-width: 0;
  box-shadow: none !important;
  border: none;
}
/* dropdown menu*/
.dropdown-toggle::after {
  display: none;
}
.dropdown-menu {
  width: auto;
  border: none;
  border-radius: 0;
  background-color: #000;
  padding: 0px;
  min-width: 180px;
}
.dropdown-menu li.nav-item {
  padding: 0 !important;
  border-bottom: none;
  text-align: left;
}
.dropdown-menu li a {
  color: #fff;
  font-size: 100%;
  line-height: 1;
  padding: 9px 15px;
  white-space: normal;
}
.dropdown-menu li.nav-item:hover {
  border-bottom: none;
}
/* añade funcionalidad dropdown en rollover  */
@media only screen and (min-width: 768px) {
  .dropdown-menu {
    background-color: #dfe7ef;
  }
  .dropdown-hover:hover .dropdown-menu {
    display: block;
  }
  .dropdown-menu li.nav-item {
    text-align: left;
  }
  .dropdown-menu li:hover,
  .dropdown-item:hover,
  .dropdown-item:focus {
    background-color: #99cc33;
  }
  .dropdown-menu li a {
    font-size: 110%;
    color: #000;
  }
} /*  end css */
@media only screen and (max-width: 768px) {
  /* .dropdown-menu.show {
    background-color: #000 !important;
  } */
}

/* botones 
.btn-primary, .understrap-read-more-link,
.active>.page-link, .page-link.active {
    background-color: #000;
    border:none;
}
.btn-primary:hover, .understrap-read-more-link:hover
.active>.page-link:hover {
    background-color: #000;
    border:none;
}
.wp-block-button__link {
    background-color: #000;
    color: #000;
    border: none;
    line-height: 100%;
}

.wp-block-button__link:hover {
    background-color: #000;
    color: #fff;
}
*/
/* footer */

/* menu legales*/
#footer-extra ul {
  list-style: none;
  margin: 10px auto;
  text-align: center;
  padding-left: 0;
}

#footer-extra ul li {
  display: inline-block;
  padding: 5px;
}

#footer-extra ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

#footer-extra ul li a:hover,
#footer-extra ul .current-menu-item a {
  color: #000;
}

@media only screen and (min-width: 600px) {
  #footer-extra ul li:first-child ::after,
  #footer-extra ul li:nth-child(2) ::after {
    content: "  / ";
    min-width: 15px;
    text-align: right;
  }
} /*  end css */

/* paginacion  */
.pagination {
  margin-top: 35px;
  border-radius: 0 !important;
}

.pagination .page-item a,
.pagination .page-item .current,
.pagination .page-item .disabled {
  padding: 5px 15px;
  border-radius: 0 !important;
  font-size: 120%;
}
.page-link:focus {
  background-color: #dfe7ef !important;
}

.prev.page-link,
.next.page-link {
  background-color: #99cc33;
  color: #fff;
}
.prev.page-link:hover,
.next.page-link:hover {
  color: #000;
}
.prev.page-link {
  content: "<";
  font-size: 28px;
}

@media only screen and (min-width: 768px) {
  .pagination .page-item a,
  .pagination .page-item .current,
  .pagination .page-item .disabled {
    padding: 0.5rem 1.4rem;
    font-size: 24px;
    margin: 5px;
    border: 1px solid #99cc33;
  }
  .pagination .page-item .disabled {
    margin-right:8px;
  }
} /* end media */

.categorias {
  color: #fff;
}
.categorias a {
  background-color: #000;
  padding: 4px 15px;
  color: #fff;
  text-decoration: none;
}
.categorias a:hover {
  background-color: #99cc33;
  color: #000;
}

/* slick */

/* Slider */
.slick-loading .slick-list {
  background: #fff url("../img/ajax-loader.gif") center center no-repeat;
}

/* Icons
@font-face
{
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;

    src: url('../fonts/slick.eot');
    src: url('../fonts/slick.eot?#iefix') format('embedded-opentype'), url('../fonts/slick.woff') format('woff'), url('../fonts/slick.ttf') format('truetype'), url('../fonts/slick.svg#slick') format('svg');
} */
/* Arrows */
.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0px;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  z-index: 20;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  color: transparent;
  outline: none;
  background: #99cc33;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
  opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
  opacity: 1;
}

.slick-prev:before,
.slick-next:before {
  /*font-family: 'slick';*/
  font-size: 25px;
  line-height: 1;
  opacity: 1;
  padding: 10px;
  /*color: white;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
  left: 25px;
}
[dir="rtl"] .slick-prev {
  right: 25px;
  left: auto;
}
.slick-prev:before {
  content: "";
  background: transparent url("../img/arrow-left.svg") no-repeat left center;
  padding: 10px;
}

.slick-next {
  right: 25px;
}
[dir="rtl"] .slick-next {
  right: auto;
  left: 25px;
}
.slick-next::before {
  content: "";
  background: transparent url("../img/arrow-right.svg") no-repeat right center;
  padding: 10px;
}

/* Dots */
.slick-dotted.slick-slider {
  margin-bottom: 30px;
}

.slick-dots {
  position: absolute;
  bottom: -25px;

  display: block;

  width: 100%;
  padding: 0;
  margin: 0;

  list-style: none;

  text-align: center;
}
.slick-dots li {
  position: relative;

  display: inline-block;

  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;

  cursor: pointer;
}
.slick-dots li button {
  font-size: 0;
  line-height: 0;

  display: block;

  width: 20px;
  height: 20px;
  padding: 5px;

  cursor: pointer;

  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}
.slick-dots li button:before {
  font-family: "slick";
  font-size: 40px;
  line-height: 20px;

  position: absolute;
  top: 0;
  left: 0;

  width: 20px;
  height: 20px;

  content: "•";
  text-align: center;

  opacity: 0.25;
  color: black;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: black;
}

.articulos-relacionados .mi-seccion-con-fondo {
  min-height: 300px;
}
.articulos-relacionados .mi-seccion-con-fondo .titulo {
  opacity: 0;
  color: #000;
  font-size: 24px;
  font-weight: 500;
  height: 100%;
  width: 100%;
  padding: 20px 20px 20px 55px;
  background-color: rgba(153, 204, 51, 0.8);
}
.articulos-relacionados .mi-seccion-con-fondo:hover .titulo {
  opacity: 1;
}

/*listados index */
.listado-articulos .mi-seccion-con-fondo {
  min-height: 300px;
}
@media only screen and (min-width: 768px) {
  .listado-articulos .mi-seccion-con-fondo {
    min-height: 100%;
  }
} /* end css */
@media only screen and (min-width: 1200px) {
  .home .listado-articulos .mi-seccion-con-fondo {
    min-height: 450px;
  }
} /* end css */

#index-wrapper article:nth-of-type(even) .row {
  flex-direction: row-reverse;
}
#wrapper-static-hero.wrapper  {
  background-color: #fff!important;
}
#wrapper-static-hero.wrapper .container {
  max-width: 1920px;
  padding-left: 0;
  padding-right: 0;
}
#wrapper-static-hero.wrapper {
  padding-top: 0!important;
  padding-bottom: 0!important;
}
#wrapper-static-hero.wrapper .menu {
  margin-bottom: 0!important;
}
#wrapper-static-hero ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  align-items: stretch;
  justify-content: center;
}
#wrapper-static-hero ul li {
  width: 50%;
  display: inline-block;
  font-size: 15px;
  line-height: 1;
}
#wrapper-static-hero ul li a {
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
 /* background-color: #99cc33;*/
  color: #fff;
  font-weight: 400;
  display: block;
  height: 100%;

}
#wrapper-static-hero ul li:hover {
  background-color: #000!important;
}

@media only screen and (min-width: 768px) {
  #wrapper-static-hero ul li {
    width: 33.3%;
    font-size: 18px;

  }
} /* end css */
@media only screen and (min-width: 1024px) {
  #wrapper-static-hero ul li {
    width: 16.6%;
    font-size: 22px;
  }
  #wrapper-static-hero ul li a {
    padding: 22px 25px 25px; 
  }
} /* end css */

/* colores en menu categorias y titulos categorias */
.page-header {
  background-color: #99cc33;
}
/* .category-noticias .page-header, 
#wrapper-static-hero ul li.menu-cat-noticias a
 {
  background-color: #666;
} */
.category-educacion .page-header, 
#wrapper-static-hero ul li.menu-cat-educacion 
 {
  background-color: #3d713d;
}
.category-serveis-socials-igualtat .page-header,  .category-servicios-sociales-igualdad .page-header, 
#wrapper-static-hero ul li.menu-cat-servicios 
 {
  background-color: #00bfac;
}
.category-esports .page-header,  .category-deportes .page-header, 
#wrapper-static-hero ul li.menu-cat-deportes 
 {
  background-color: #669966;
}
.category-sanitat_benestar_animal .page-header,  .category-sanidad-y-bienestar-animal .page-header, 
#wrapper-static-hero ul li.menu-cat-sanidad 
 {
  background-color: #d63b89;
}
.category-adl_comerc .page-header,  .category-adl-comercio .page-header, 
#wrapper-static-hero ul li.menu-cat-adl 
 {
  background-color: #333399;
}
.category-seguretat_ciutadana .page-header,  .category-seguridad-ciudadana .page-header, 
#wrapper-static-hero ul li.menu-cat-seguridad 
 {
  background-color: #293377;
}
.category-agencia_tributaria .page-header,  .category-agencia-tributaria .page-header, 
#wrapper-static-hero ul li.menu-cat-agencia 
 {
  background-color: #993333;
}
.category-cultura .page-header,  .category-cultura-es .page-header, 
#wrapper-static-hero ul li.menu-cat-cultura 
 {
  background-color: #00a9e5;
}
.category-biblioteca .page-header,  .category-biblioteca-es .page-header, 
#wrapper-static-hero ul li.menu-cat-biblioteca 
 {
  background-color: #c595f4;
}
.category-govern_obert .page-header,  .category-gobierno-abierto .page-header, 
#wrapper-static-hero ul li.menu-cat-gobierno 
 {
  background-color: #0099a8;
}
.category-educacio .page-header,  .category-educacion .page-header, 
#wrapper-static-hero ul li.menu-cat-educacion 
 {
  background-color: #3d713d;
}
.category-joventut .page-header,  .category-juventud .page-header, 
#wrapper-static-hero ul li.menu-cat-juventud 
 {
  background-color: #ff3366;
}
.category-urbanisme_medi_ambient .page-header,  .category-urbanismo-y-medio-ambiente .page-header, 
#wrapper-static-hero ul li.menu-cat-urbanismo 
 {
  background-color: #996600;
}
.category-radio .page-header,  .category-radio-es .page-header, 
#wrapper-static-hero ul li.menu-cat-radio 
 {
  background-color:#cc0000  ;
}


.navigation {
  display:none;
}
@media only screen and (min-width: 768px) {
  .navigation {
    display:block;   
    margin:35px auto;
    max-width: 1440px;
  }
  .navigation a {
    text-decoration: none;
    border:2px solid #99cc33;
    padding: 15px;
    display: inline-block;
  }
} /* end css */