/* Estilos personalizados de Phocadownload para la web del IGAPE
****************************************************/

#phoca-dl-categories-box .pd-categoriesbox {
  background-color: var(--gris-claro-igape);
  border-radius: 10px;
}

#phoca-dl-categories-box div.pd-subcategory,
#phoca-dl-category-box .pd-subcategory {
  background: none;
}

#phoca-dl-categories-box div.pd-subcategory:before,
#phoca-dl-category-box .pd-subcategory:before {
  font-family: "Font Awesome 5 Free";
  content: "\f45c\00a0\00a0";
  position: relative;
  font-size: 12px;
  font-weight: 900;
  color: var(--verde-igape);
}

#phoca-dl-categories-box a {
  color: var(--gris-oscuro-igape);
}

#phoca-dl-categories-box a:hover {
  color: var(--azul-igape);
}


#phoca-dl-category-box .pdtop a {
  color: var(--verde-igape);
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
}

#phoca-dl-categories-box div.pd-categoriesbox {
  width: unset;
  float: none;
  margin: 0;
  padding: 2%;
}

div#phoca-dl-categories-box {
  gap: 10px;
  margin: 0;
}

#phoca-dl-category-box .pd-filebox {
  padding: 30px;
  border-bottom: none;
  background-color: var(--gris-claro-igape);
}

#phoca-dl-category-box .pd-category h3.pd-ctitle,
#phoca-dl-file-box .pd-file h3.pd-ctitle,
#phoca-dl-download-box .pd-file h3.pd-ctitle {
  background: transparent;
  border: none;
  color: var(--azul-igape);
  font-weight: 600;
  padding: 0;
}

.intro-documentacion {
  display: none;
}

.com-phocadownload.view-categories .intro-documentacion {
  display: block;
}

@media (min-width: 768px) {
  #phoca-dl-categories-box .col-md-6 {
    max-width: 49%;
  }
}

@media (min-width: 992px) {
  #phoca-dl-categories-box .col-lg-4 {
    max-width: 32%;
  }
}

#phoca-dl-category-box .pd-buttons,
#phoca-dl-file-box .pd-buttons,
#phoca-dl-download-box .pd-buttons {
  float: none;
}

#phoca-dl-category-box .pd-title {
  font-size: 22px;
  line-height: 28px;
}

.pd-button-download .botonIgape {
  background-color: #fff;
}

.pd-igape-pagination select.inputbox {
  display: inline-block;
  border: 1px solid var(--azul-igape)!important;
  background-color: transparent;
  color: var(--azul-igape)!important;
  border-radius: 30px;
  padding: 1em 2em;
  height: 55px !important;
  width: auto;
}

.pd-button-download .botonIgape:hover,
.pd-igape-pagination select.inputbox:hover {
  background-color: var(--azul-igape);
  color: #ffffff!important;
}

#pg-pagination .page-item {
  min-height: 40px;
}

#pg-pagination .page-link.first::before {
  content: '«';
}

#pg-pagination .page-link.previous::before {
  content: '<';
}
  
#pg-pagination .page-link.next::before {
  content: '>';
}

#pg-pagination .page-link.last::before {
  content: '»';
}

#phoca-dl-category-box .pdtop img {
  vertical-align: text-top;
}

.pginline span {
  margin-right: 20px;
  font-weight: 700;
  color: var(--azul-igape);
}

#phoca-dl-categories-box div.pd-title {
  text-align: center;
}

select {
  appearance: none;
}

.paginationselect::after {
  content: "\f107";
  font-family: "FontAwesome";
  left: -30px;
  position: relative;
  color: var(--azul-igape);
  z-index: -1;
  cursor: pointer;
}

.paginationselect:hover::after {
  color: #ffffff;
  z-index: 10;
}