/* 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: 100%;
  }
} /* 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*/


@media (min-width: 1024px) {
  body {
    font-size: 17px;
    line-height: 1.5;
  }
} /* end media*/
@media (min-width: 1200px) {
  body {
    font-size: 19px;
  }
  p {
    margin-bottom: 1.5rem;
  }
} /* end media*/

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

/* .understrap-read-more-link {
  display: none;
} */
/* header */

.navbar-brand svg {
  max-width: 155px;
  height: auto;
  margin-top: 25px;
}

.logo-footer {
  max-width: 190px;
  height: auto;
}

#main-menu .nav-link {
  color: #fff;
  padding: 5px 5px 15px 5px;
  font-weight: 500;
  font-size: 16px;
}

/* dropdown menu*/

.dropdown-menu {
  width: auto;
  min-width: 220px;
  border: none;
  border-radius: 0;
  background-color: #000;
  border-top: 4px solid #000;
  padding: 0px;
  margin-bottom:20px;
}

.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;
  font-weight: 500;
}

.dropdown-menu li:hover,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: transparent;
}

/* colores dropdown */
/*  dropdown */
#main-menu .dropdown-menu {
  background-color: #49c120;
  padding: 12px;
}
.menu-item-2276 .dropdown-menu,
.menu-item-8519 .dropdown-menu {
  background-color: #00ac6b !important;
}
.menu-item-2277 .dropdown-menu,
.menu-item-8520 .dropdown-menu {
  background-color: #00a19a !important;
}
.menu-item-2278 .dropdown-menu,
.menu-item-8521 .dropdown-menu {
  background-color: #008d3f !important;
}
/* boton readable movil  */

.mdp-readabler-trigger-button-box.top-left {
  top: 25px!important;
  right: 10px!important;
  left: unset!important;
  --readabler-btn-padding: 5px !important;
  --readabler-btn-size: 30px!important;
  position: absolute!important;
}
button#mdp-readabler-trigger-button {
  height: 40px !important;
  width: 40px !important;
  background-color: #000;
  color: #fff;
}

.mdp-readabler-trigger-button-box button:active, .mdp-readabler-trigger-button-box button:focus, .mdp-readabler-trigger-button-box button:focus-visible, .mdp-readabler-trigger-button-box button:hover {
  color: #fff!important;
}


.offcanvas {
  z-index: 9999999;
  width: 100% !important;
}

/* MENU LG    */
@media only screen and (min-width: 992px) {
  .navbar-brand svg {
    max-width: 155px;
    margin-top: -25px;
  }
  .dropdown-menu li.nav-item {
    padding-left: 4px;
    text-wrap: nowrap;

  }

  #main-menu .nav-link,
  #main-menu .nav-link:hover,
  #main-menu .active .nav-link {
    color: #000;
  }

  #main-menu .nav-link:hover,
  #main-menu .active .nav-link {
    border-bottom: 4px solid #000;
  }

  .dropdown-hover:hover .dropdown-menu, .dropdown-hover:hover .dropdown-menu.show {
    background-color: #49c120;
    border-top: 4px solid #000;
    top:42px;
    left:0;
    margin-left: 0px;
    width: 220px;
    padding: 1vw 0.6vw;
    display: block;
  }
  .menu-item-2278 .dropdown-menu, .menu-item-2278 .dropdown-menu.show ,
  .menu-item-8521 .dropdown-menu, .menu-item-8521 .dropdown-menu.show {
    width: 280px!important;
  }

  /* ocultamos idiomas en main menu */
  #main-menu .wpml-ls-item {
    display: none;
  }
  .offcanvas {
    width: 50% !important;
  }

  /* boton readable */
  .mdp-readabler-trigger-button-box.top-left {
    top: 15px!important;
    right: unset!important;
  }
  .mdp-readabler-trigger-button-box {
    margin-top: 5px !important;
    margin-left: 50% !important;

    --readabler-btn-size: 40px;
  }

  button#mdp-readabler-trigger-button {
    height: 60px !important;
    width: 60px !important;
  }
  button#mdp-readabler-trigger-button svg {
    height: 40px !important;
    width: 40px !important;
  }
  .mdp-readabler-trigger-button-box button span {
    margin-left:5px
  }

} /*  end css */


@media only screen and (min-width: 1200px) {
  .navbar-brand svg {
    max-width: 200px;
    
  }
  .nav-item {
    padding-left: 25px;
  }

  
} /*  end css */





/* formulario busqueda en header */
.form-top .input-group {
  max-width: 200px;
  margin: 20px auto;
}
.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 (min-width: 992px) {
  .form-top .input-group {
    justify-content: flex-end !important;
    margin: 5px 10px 5px auto;
  }
} /* end media */
@media only screen and (min-width: 1200px) {
  .form-top {
    margin-left: auto;
    padding-top: 15px;
    margin-right:20px;
  }
} /* end media */



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

.navbar-toggler-icon {
  margin-top: 20px;
  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;
}

.btn-close {
  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"><polygon style="fill:%23FFFFFF;" points="45.3,39.3 31,25 45.3,10.7 39.3,4.7 25,19 10.7,4.7 4.7,10.7 19,25 4.7,39.3 10.7,45.3 25,31 39.3,45.3 "/></svg>');
  background-size: 30px;
  background-repeat: no-repeat;
  filter:none;
  opacity: 1;
}



/* MENU SHORTCODE */

.shortcode-menu .navbar-toggler-icon {
  color: #000;
  background-repeat: no-repeat;
  background-size: 22px;
  padding-left: 35px;
  padding-top: 5px;
}
.shortcode-menu ul {
  margin-top: 25px;
}
.shortcode-menu ul li {
  padding: 0;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 110%;
  list-style: none;
  display: flex;
  align-content: center;
  text-align: center;
  margin: 0 0 5px 0;
}

.shortcode-menu ul li a {
  color: #fff;
  text-decoration: none;
  align-content: center;
  text-align: center;
  margin: 0 auto;
  display: block;
  width: 100%;
  padding: 10px;
}
.shortcode-menu ul li a:hover {
  background-color: #333 !important;
}

@media only screen and (min-width: 768px) {
  .shortcode-menu ul {
    display: block;
  }
  .shortcode-menu ul li {
    width: 49%;
    float: left;
    height: 60px;
    margin: 0 0 15px 2%;
  }
  .shortcode-menu li:nth-child(odd) {
    margin-left: 0;
  }
  
  /* Opcional: Para limpiar el float si el UL es más ancho */
  .shortcode-menu ul::after {
    content: "";
    display: table;
    clear: both;
  }
} /* end media */
@media only screen and  (max-width: 1300px) and (min-width: 1024px)  {
  .shortcode-menu ul li {
    width: 24.25%;
  }
  .shortcode-menu li:nth-child(odd) {
    margin-left: 0%;
  }
  .shortcode-menu li:nth-child(even),
  .shortcode-menu li:nth-child(3),
  .shortcode-menu li:nth-child(7),
  .shortcode-menu li:nth-child(11),
  .shortcode-menu li:nth-child(15)
   {
    margin-left:1%;
  }

} /* end media */
@media only screen and (min-width: 1300px) {
  .shortcode-menu ul li {
    width: 19.15%;
    margin-left:1%;
  }

  .shortcode-menu li:nth-child(odd)
  {
   margin-left:1%;
 }

  .shortcode-menu li:nth-child(1),
  .shortcode-menu li:nth-child(6),
  .shortcode-menu li:nth-child(11)
   {
    margin-left: 0%;
    
  }


} /* end media */



/* MENUS DEPARTAMENTOS */

#menu-menu-igualtat-val li a {
  background-color: #00bfac;
}

#menu-menu-sports li a,
#menu-menu-deportes li a {
  background-color: #669966;
}
#menu-menu-sanitat-val li a,
#menu-menu-sanitat-es li a {
  background-color: #d63b89;
}
#menu-menu-adl-val li a,
#menu-menu-adl-es li a {
  background-color: #333399;
}

#menu-menu-seguretat-val li a,
#menu-menu-seguridad-es li a {
  background-color: #293377;
}
#menu-menu-agencia-tributaria-val li a,
#menu-menu-agencia-tributaria-es li a {
  background-color: #993333;
}
#menu-menu-cultura-val li a,
#menu-menu-cultura-es li a {
  background-color: #00a9e5;
}
#menu-menu-biblioteca-val li a,
#menu-menu-biblioteca-es li a {
  background-color: #c595f4;
}
#menu-menu-govern-val li a,
#menu-menu-govern-es li a {
  background-color: #0099a8;
}
#menu-menu-educacion-val li a,
#menu-menu-educacion-es li a {
  background-color: #3d713d;
}
#menu-menu-juventud-val li a,
#menu-menu-juventud-es li a {
  background-color: #ff3366;
}
#menu-menu-urbanismo-val li a,
#menu-menu-urbanismo-es li a {
  background-color: #996600;
}
#menu-menu-administracion-val li a,
#menu-menu-administracion-es li a {
  background-color: #ff3333;
}
#menu-menu-fiestas-val li a,
#menu-menu-fiestas-es li a {
  background-color: #99cc33;
}
.shortcode-menu li.current_page_item a {
  background-color: #909090 !important;
}

/* Estilos para el menú normal (a partir de 768px) */
@media (min-width: 768px) {
  .shortcode-menu .navbar-collapse {
    display: block !important; /* Asegura que el menú sea visible en escritorio */
  }

  .shortcode-menu .navbar-toggler {
    display: none !important; /* Oculta el botón hamburguesa en escritorio */
  }
} /* end media */
/* END MENUS DEPARTAMENTOS */

/* 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: 16px;
}

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

@media only screen and (min-width: 600px) {
  #footer-extra ul li:first-child ::after,
  #footer-extra ul li:nth-child(2) ::after,
  #footer-extra ul li:nth-child(3) ::after,
  #footer-extra ul li:nth-child(4) ::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: #000;
  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 #000;
  }
  .pagination .page-item .disabled {
    margin-right: 8px;
  }
} /* end media */


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

/* slick */
.slider  {
  max-width:1420px;
  margin:30px auto 65px;
}
/* Slider */
.slick-loading .slick-list {
  background: #fff url("../img/ajax-loader.gif") center center no-repeat;
}

/* slider principal inicio*/
/* slick slider */

.slider .slick-dots {
  bottom: 0 !important;
  border-bottom: 4px solid #000;
  padding-bottom: 10px !important;
}
.slider .slick-dots li button {
  background-color: #909090 !important;
  color: #909090;
  border: 1px solid #ddd;
  border-radius: 100%;
  width: 15px !important;
  height: 15px !important;
}
.slider .slick-dots li:hover button,
.slider .slick-dots li.slick-active button {
  background-color: #333 !important;
}
.slider .slick-dots li button:before {
  font-size: 30px !important;
  content: " " !important;
}
@media only screen and (min-width: 768px) {
  .slider .slick-dots {
    max-width: 48%;
    border-bottom: 8px solid #000;
  }
  .slider .slick-dots li {
    margin-left: 5px !important;
    margin-right: 5px !important;
  }
} /* end media */

.slider .titulo-slider {
  font-size: 34px;
  line-height: 110%;
  padding: 15px 25px 5px;
}
.slider .subtitulo-slider {
  font-size: 22px;
  line-height: 100%;
  padding: 5px 25px;
}

.slider .link-transparente {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

@media only screen and (min-width: 768px) {
  .slider .titulo-slider {
    font-size: 4vw;
  }
  .slider .subtitulo-slider {
    font-size: 2vw;
  }
} /* end css */
@media only screen and (min-width: 1200px) {
  .slider .titulo-slider {
    font-size: 4.5rem;
    margin-left: 25px;
  }
  .slider .subtitulo-slider {
    font-size: 2rem;
  }
} /* end css */

/*  css en la corporativa  theme understrap */
/* Arrows */
.slider .slick-prev,
.slider .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;
}
.slider .slick-prev:hover,
.slider .slick-prev:focus,
.slider .slick-next:hover,
.slider .slick-next:focus {
  color: transparent;
  outline: none;
}
.slider .slick-prev:hover:before,
.slider .slick-prev:focus:before,
.slider .slick-next:hover:before,
.slider .slick-next:focus:before {
  opacity: 1;
}
.slider .slick-prev.slick-disabled:before,
.slider .slick-next.slick-disabled:before {
  opacity: 1;
}

.slider .slick-prev:before,
.slider .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;
}

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

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

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

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

  display: block;

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

  list-style: none;

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

  display: inline-block;

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

  cursor: pointer;
}
.slider .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;
}
.slider .slick-dots li button:hover,
.slider .slick-dots li button:focus {
  outline: none;
}
.slider .slick-dots li button:hover:before,
.slider .slick-dots li button:focus:before {
  opacity: 1;
}
.slider .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;
}
.slider .slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: black;
}

/* slider sin flechas vr movil */

@media only screen and (max-width: 480px) {
  .slider .slick-prev:before,
  .slider .slick-next:before  {
    display: none;
  }
} /* end css */


/* carrousel inicio procesos selectivos*/
.bloque-procesos {
  padding-bottom: 55px;
}
.bloque-procesos .slick-prev,
.bloque-procesos .slick-next {
  top: unset;
  bottom: 0px;
}
.bloque-procesos .slick-prev::before,
.bloque-procesos .slick-next::after {
  font-size: 24px !important;
  color: #000 !important;
  padding: 10px 15px !important;
  opacity: 1 !important;
  background-color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  border:1px solid #000;
}
.bloque-procesos .slick-prev {
  left: 10px;
}
.bloque-procesos .slick-prev::before {
  content: "<" !important;
}
.bloque-procesos .slick-next {
  right: 65px;
}
.bloque-procesos .slick-next::after {
  content: ">" !important;
}

.bloque-anuncios .understrap-read-more-link {
  display: none;
}

.bloque-anuncios .anuncio .borde-anuncio {
  border-bottom:2px solid #000;
  display: block;
  padding-top: 10px;
}
/* 
.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%;
  }
  .bloque-anuncios .anuncio {
  min-height: 200px;
}
.bloque-anuncios .anuncio .borde-anuncio {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 94%;
}
} /* 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: #000;*/
  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: #000;
}

.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 #000;
    padding: 15px;
    display: inline-block;
  }
} /* end css */

#menu-idiomas {
  list-style: none;
  padding: 0;
  margin: 0;
}
#menu-idiomas li {
  padding: 0 5px 0 0;
  display: inline-block;
}
#menu-idiomas li .nav-link {
  font-size: 17px;
}

/* PLANTILLA departamentos */


/* solo movil las columnas invertidas */
@media only screen and (max-width: 768px) {
  .top-info-dep,
  .dep-deportes,
  .dep-deportes,
  .dep-servicios,
  .dep-cultura,
  .dep-adl,
  .dep-biblioteca,
  .dep-govern,
  .dep-educacion,
  .dep-juventud,
  .dep-urbanismo,
  .dep-administracion,
  .dep-fiestas {
    flex-direction: column-reverse;
  }
} /* end media */

.page-template-basic-page-departamentos h1 {
  line-height: 110%;
  padding-bottom: 5px;
  border-bottom-width: 4px;
  border-bottom-style:  solid;
  border-bottom-color: #000;
  margin-top: 30px;
  margin-bottom: 30px;
  font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .page-template-basic-page-departamentos h1 {
    border-width: 8px;
  }
} /* end media */

.page-template-basic-page-departamentos .dep-sanitat h1 {
  border-bottom-color: #d63b89;
}
.page-template-basic-page-departamentos .dep-deportes h1 {
  border-bottom-color: #669966;
}
.page-template-basic-page-departamentos .dep-adl h1 {
  border-bottom-color: #333399;
}
.page-template-basic-page-departamentos .dep-seguridad h1 {
  border-bottom-color: #293377;
}
.page-template-basic-page-departamentos .dep-agencia-tributaria h1 {
  border-bottom-color: #993333;
}
.page-template-basic-page-departamentos .dep-cultura h1 {
  border-bottom-color: #00a9e5;
}
.page-template-basic-page-departamentos .dep-biblioteca h1 {
  border-bottom-color: #c595f4;
}
.page-template-basic-page-departamentos .dep-govern h1 {
  border-bottom-color: #0099a8;
}
.page-template-basic-page-departamentos .dep-educacion h1 {
  border-bottom-color: #3d713d;
}
.page-template-basic-page-departamentos .dep-juventud h1 {
  border-bottom-color: #ff3366;
}
.page-template-basic-page-departamentos .dep-urbanismo h1 {
  border-bottom-color: #996600;
}
.page-template-basic-page-departamentos .dep-administracion h1 {
  border-bottom-color: #ff3333;
}
.page-template-basic-page-departamentos .dep-fiestas h1 {
  border-bottom-color: #99cc33;
}

p.tit-bloque-infos {
  font-size: 16px;
  line-height: 110%;
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 5px solid #000;
  margin-top: 30px;
  margin-bottom: 30px;
}
.bordetitulo {
  border-bottom: 8px solid #000;
}
@media only screen and (min-width: 768px) {
  p.tit-bloque-infos {
    font-size: 18px;
  }

}
.wrapper-departamentos p {
  font-size: 16px;
  line-height: 110%;
}
.wrapper-departamentos .mapa-1,
.wrapper-departamentos .mapa-2 {
  margin-bottom: 25px;
}




.frase-aviso {
  background-color: #ccc;
}
.frase-aviso span {
  padding: 10px 15px;
  line-height: 200%;
  display: inline;
}

@media only screen and (min-width: 768px) {
  .frase-aviso span {
    padding: 10px 15px;
    line-height: 150%;
    display: inline-block;
  }
} /* end css */


/* servicios destacado en inicio */

.tit-servicios-home {
  font-size: 18px;
  line-height: 110%;
  padding-top:15px;
  font-weight: bold;
}
.btn-servicios-home {
  padding: 15px;
  min-height: 65px;
  color:#000;
  text-decoration: none;
  font-weight: bold;
  display: block;
  font-size: 14px;
  line-height: 110%;
}
.btn-servicios-home:hover {
  background-color: #000;
  color:#fff;
}
@media only screen and (min-width: 768px) {
  .btn-servicios-home {
    font-size: 15px;
    min-height: 50px;
  }
  .tit-servicios-home {
    font-size: 20px;
  }

  
} /* end css */

@media (min-width: 1140px) {
  .col-xl-2-4  {
      flex-basis: calc(100% / 5)!important;
      max-width: calc(100% / 5)!important;
  }
  .tit-servicios-home {
    font-size: 22px;
  }
  .btn-servicios-home {
    font-size: 17px;
  }


} /* end css */

@media only screen and (max-width: 768px) {
  .servicios.row .col-6 {
    padding-left:3px;
    padding-right: 3px;
  }

} /* end css */

/* end servicios destacado en inicio */

/*  INICIO NOTICIAS */
.inicio-noticias-blog .bgimg-noticia {
  min-height: 300px;
}
.inicio-noticias-blog .masinfo a {
  font-size: 20px;
  font-weight: 600;
}

@media only screen and (min-width: 768px) {
  .noticia-inicio .row .col-lg-6 { position: relative;}
  .inicio-extracto {
    padding-bottom: 40px;
  }
  .inicio-noticias-blog .masinfo  {
    position: absolute;
    bottom: 5px;
    right: 15px;
  }
  .inicio-noticias-blog .masinfo a {
    font-size: 29px;
  }
  .listado-noticias-inicio article:nth-of-type(1) .row .masinfo, .listado-noticias-inicio article:nth-of-type(2) .row .masinfo,
  .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row .masinfo {
    right: unset;
    left: 15px;
  }

  .listado-noticias-inicio article:nth-of-type(1) .row, .listado-noticias-inicio article:nth-of-type(2) .row,
  .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row {
    flex-direction: row-reverse;
  }
  .listado-noticias-inicio article:nth-of-type(5).col-md-6, .listado-noticias-inicio article:nth-of-type(6).col-md-6 {
    width: 100%;
  }
  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .row, .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row {
    border-bottom: none;
  }

  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .row .bgimg-noticia {
    border-right: 20px solid #fff;
  }
 
  .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row .bgimg-noticia {
    border-left: 20px solid #fff;
  }
  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .bgimg-noticia, .listado-noticias-inicio article:nth-of-type(6).col-md-6 .bgimg-noticia {
    min-height: 450px; 
  }

  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .row .titulo-noticia, .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row .titulo-noticia {
    font-size: 200%;
  }
  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .row .bgimg-noticia::after,
  .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row .bgimg-noticia::after   {
    content: ""; /* Obligatorio para que el pseudo-elemento se muestre */
    position: absolute;
    bottom: 0; 
    left: 0%;
    width: 100%; 
    height: 16px; 
    background-color: black; 
    border-top: 8px solid #fff;
  } 
} /* end css */
@media only screen and (min-width: 992px) {
  .listado-noticias-inicio article:nth-of-type(5).col-md-6, .listado-noticias-inicio article:nth-of-type(6).col-md-6 {
    padding-left: 0;
    padding-right: 0;
  }
  .listado-noticias-inicio article:nth-of-type(1).col-md-6, .listado-noticias-inicio article:nth-of-type(3).col-md-6 {
    padding-left: 0;
  }
  /* .listado-noticias-inicio article:nth-of-type(5).col-md-6 .bgimg-noticia, .listado-noticias-inicio article:nth-of-type(6).col-md-6 .bgimg-noticia {
    min-height: 500px;
  } */
  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .row .titulo-noticia, .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row .titulo-noticia {
    font-size: 270%;
  }
  .inicio-noticias-blog .masinfo a {
    font-size: 36px;
  }
} /* end css */
@media only screen and (min-width: 1100px) {
  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .row .titulo-noticia, .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row .titulo-noticia {
    font-size: 310%;
  }
  
} /* end css */
@media only screen and (min-width: 1200px) {
  .listado-noticias-inicio article:nth-of-type(5).col-md-6 .row .titulo-noticia, .listado-noticias-inicio article:nth-of-type(6).col-md-6 .row .titulo-noticia {
    font-size: 350%;
  }
  .bloque-info-noticia {
    min-height: 330px;
  }
} /* end css */


/* estilos joan 28/05/2024 */

.lista_adjuntos p,
p.lista_adjuntos {
  padding: 15px;
  border: solid;
  border-color: black;
  margin-top: 10px;
  margin-bottom: 10px;
}
.lista_adjuntos p:hover,
p.lista_adjuntos:hover {
  color: #909090;
  border-color: #909090;
}
.lista_adjuntos a {
  color: black;
  padding-left: 10px;
  font-weight: bold;
  text-decoration: none;
}
.lista_adjuntos p:hover a {
  color: #909090;
}
.lista_adjuntos i {
  color: #000;
}


/* contact form EN INICIO */

.contacte .wpcf7 {
  padding: 30px 0;
  background-color: #fff;
  width: 100%;
  max-width: none;
  margin-top:15px!important;
}
.contacte .wpcf7 {
  padding: 15px;
}
.contacte .wpcf7-form input[type="text"], .contacte .wpcf7-form input[type="text"]:focus,
.contacte .wpcf7-form input[type="tel"], .contacte .wpcf7-form input[type="tel"]:focus,
.contacte .wpcf7-form input[type="email"], .contacte .wpcf7-form input[type="email"]:focus,
.contacte .wpcf7-form textarea, .contacte .wpcf7-form textarea:focus,
.contacte .wpcf7-form select, .contacte .wpcf7-form select:focus
 {
  border:none; 
  border-bottom: 2px solid #000;
  color: #000;
  padding: 5px 10px;
  border-radius: 0;
  background-color: transparent;
  font-size:20px;
}
.contacte .wpcf7-form textarea {
  height: 90px;
}
.contacte .wpcf7-form label {
  font-weight: 600;
  padding-bottom: 15px;
  width: 98%;
}
.wpcf7-list-item {
  width: 100%;
}
.contacte .wpcf7 input[type="submit"] {
  border: 2px solid #000;
  color: #fff;
  background-color: #000;
  max-width: 240px;
  padding: 15px 25px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 0;
}
.contacte .wpcf7 input[type="submit"]:hover {
  background: #000;
  border: 2px solid #000;
}

.contacte .wpcf7-form ::placeholder {
  color: #000 !important;
}
.contacte .wpcf7-not-valid-tip {
  color: #a00e13 !important;
  font-size: 14px;
}
.contacte .form-legales p,
.contacte .form-legales a,
.contacte .form-legales a:hover {
  color: #000 !important;
}
@media (min-width: 1200px) {

  .contacte .wpcf7 {
    padding: 0px;
    margin-top: 25px!important;
  }

  .contacte .wpcf7-form input[type="text"], .contacte .wpcf7-form input[type="text"]:focus,
.contacte .wpcf7-form input[type="tel"], .contacte .wpcf7-form input[type="tel"]:focus,
.contacte .wpcf7-form input[type="email"], .contacte .wpcf7-form input[type="email"]:focus,
.contacte .wpcf7-form textarea, .contacte .wpcf7-form textarea:focus,
.contacte .wpcf7-form select, .contacte .wpcf7-form select:focus
 {
  padding: 4px 12px;
}

} /* end css */

.tribe-events-c-subscribe-dropdown {
  display: none;
}

.wp-block-heading.display-4 {
  color: #000 !important;
  font-weight: bold;
  border-bottom: 8px solid #000 !important;
  padding-bottom:3px;
  line-height: 120%;
}
.page-template-basic-page-departamentos h1 {
  font-size: 30px;
}
/* h2.wp-block-heading {
  font-size: 22px;
} */

.noticia-inicio .row {
  border-bottom:8px solid #000;
}
@media only screen and (min-width: 768px) {
  .page-template-basic-page-departamentos h1 {
    font-size: 32px;
  }
  .wp-block-heading.display-4 {
    font-size: 2.8vw;
  }
  h2.wp-block-heading {
    font-size: 26px;
  }
} /* end media */
@media only screen and (min-width: 1440px) {
  .page-template-basic-page-departamentos h1 {
    font-size: 42px;
  }
  .wp-block-heading.display-4 {
    font-size: 3rem;
  }
  h2.wp-block-heading {
    font-size: 32px;
  }
  .inicio-noticias-blog .masinfo a {
    font-size: 44px;
  }

} /* end media */


.evento-article:hover {
  background-color: #dee2e6;
}
.leermas {
  padding: 10px 5px;

}
.video-columna-completa iframe{
  border: 16px solid #000 !important;
}
@media only screen and (min-width: 768px) {
  .img-list-thumbnail-eventos {
    overflow: hidden;
    max-height: 200px;
  }
  .titulo-evento-home {
    padding-bottom: 30px;
  }
  .leermas {
    position: absolute;
    bottom: 0;
    left:5px;
  }
  .video-columna-completa iframe,
  .video-columna-completa video {
      width: 100% !important;
      height: 100% !important; /* Para mantener la relación de aspecto */
      min-height: 450px;
   
  }
} /* end media */


/* calendario pag de eventos */

.tribe-events-c-top-bar__datepicker-time,
.tribe-events-calendar-month__header {
  font-size: 16px;
  line-height: 110%;
  background-color: #000 !important;
  color: #fff !important;
  padding: 10px !important;
}

.tribe-events .datepicker .day.active,
.tribe-events .datepicker .day.active.focused,
.tribe-events .datepicker .day.active:focus,
.tribe-events .datepicker .day.active:hover,
.tribe-events .datepicker .month.active,
.tribe-events .datepicker .month.active.focused,
.tribe-events .datepicker .month.active:focus,
.tribe-events .datepicker .month.active:hover,
.tribe-events .datepicker .year.active,
.tribe-events .datepicker .year.active.focused,
.tribe-events .datepicker .year.active:focus,
.tribe-events .datepicker .year.active:hover,
.tribe-events .tribe-events-c-search__button,
.tribe-events button.tribe-events-c-search__button,
.tribe-events .tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-month__day-cell--selected:focus,
.tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
.tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
  background-color: #000 !important;
}

.tribe-events-header__events-bar {
  display: none !important;
}

.tribe-events .tribe-events-c-messages__message-list-item-link{
  color: #000!important;
}


/*  end tribe calendario pag de eventos */





hr.hr-linea-negra {
  height: 4px !important;
  background-color: #000;
  opacity: 1;
}
hr.hr-linea-blanca {
  height: 4px !important;
  background-color: #fff;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  hr.hr-linea-negra,
  hr.hr-linea-blanca {
    height: 8px !important;
  }
} /* end css */


.bloque-procesos .proceso {
  min-height: 200px;
  padding: 20px;
}
.bloque-procesos .proceso:hover {
  background-color: #dee2e6;
}

@media only screen and (min-width: 768px) {
  hr.hr-linea-negra,
  hr.hr-linea-blanca {
    height: 8px !important;
  }
  .bloque-procesos .proceso {
    min-height: 300px;
  }

} /* end css */


.tdi_37 .tdb-menu .tdb-normal-menu ul .tdb-menu-item > a,
.tdi_37 .td-pulldown-filter-list li a {
  text-decoration: none !important;
}

/* category */

.category #tdi_56,
.category #tdi_64,
.tdi_88,
.td_block_categories_tags  /* capar sidebar en los listados cat */ {
  display: none !important;
}

.td-ss-main-sidebar aside {
  margin-bottom: 0 !important;
}



/* lp random*/

.bloques-inicio {
  min-height: 300px;
}

.grecaptcha-badge {
  display: none;
}
html:lang(en-GB) .only-es, html:lang(es) .only-en {
  display: none;
 }
 html:lang(en-GB) .only-en, html:lang(es) .only-es {
  display: block;
 }