/**
 * @file          overrides.css
 *
 * @project       borgesblanques
 * @version       1.0
 * @author        TOTHOMweb
 * @copyright     2020
 */

/**
 * Use this file only for minor CSS changes or quick hotfixes
 */
.link-descobreix-tipus > a{

  bottom: 188px;
  width: auto;
  padding: 3px;
  text-transform: none;
  font-weight: 700;
  position: absolute;
  color: #FFFFFF !important;
  background-color: #82772F;
}

.solicituds_per_anys {
  margin-top: 60px;
}

.serveis_per_anys{
  padding-right: 0px;
}

.resultats_per_anys{
  padding: 0px;
}

.resultats_per_anys > div{
  background-color: #5e5622;
}

.ebando-grid{
  display: grid;
  grid-template-columns: 60% 40%;
}

.ebando-grid-item{
  text-align: center;
  margin-right: 10px;
  margin-left: 10px;
}

.row-premis-lladonosa{
  margin-top: 80px;
}

@media (max-width: 1110px) {
  .ebando-grid{
    grid-template-columns: 100%;
  }
}

.owl-carousel{
  margin-bottom: 20px;
}

.link-activitats{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  padding: 1em;
}

.link-activitats-titol{
  margin-top: 0px;
}

.owl-carousel .owl-wrapper {
  display: table !important;
}

.owl-carousel .owl-item {
  display: table-cell;
  float: none;
  vertical-align: bottom;
}

.img-noticies {

  min-width: 330px;
  max-height: 230px;
  object-position: top;
}

.img-noticies.img-agenda{
  object-fit: cover;
}

/* NOVA PAGINA DE CONSISTORI MUNICIPAL */

.contingut-grup-politic{
  border:2px #5e5622 solid;
}

#center-left-region-grup-politic{
  display: contents;
}

#center-right-region-grup-politic{
  display: grid;
  align-items: center;
}

#top-region-integrant-grup-politic{
  font-size: 19px;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#bottom-left-region-integrant-grup-politic > div > div.field__label{
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 15px;
}

#main-region{
  margin-bottom: 15px;

}

#bottom-left-region-integrant-grup-politic > div > div.field__items > div.field__item{
  display: list-item;
  list-style-position: inside;
  margin-bottom: 10px;
}

.boto_consistori{
  background: #82772f;
  text-align: center;
  padding: 4px 10px;
  color: #FFF;
  text-decoration: none;
  margin: 0 0 10px 0;
  font-size: 16px;
  width: 80%;
  display: block;
  border-radius: 6px;
}

.boto_consistori:empty{
  display: none;
}

.boto_consistori a{
  color: #FFF
}

.boto_consistori > div > a{
  display: block;
}

/* NOU CALENDARI DE RESERVES */

.calendari > .row {
  display: contents;
}

.calendari > .row > h3{
  font-size: 1.3em;
  text-align: start;
  margin-bottom: 10px;
  margin-top: 20px;
}

.calendari > .row > div{
  margin-left: 30px;
}

/* Listats de Serveis (s'aplica grid perque display flex deixaba els items descolocats) */

.node--type-servei #block-borgesblanques-content .field--name-field-serveis{
  display: grid !important;
}

/* FOOTER */

.site-footer .footer-container .footer-col4 .img-info-participa {
  height: auto;
}

.site-footer .footer-container .footer-col1 .logo-borges-footer {
  width: 150px !important;
}
/*Formatting page agenda cultural link*/

.btn-agenda {
  background-color: #82772F;
  border-color: #82772F;
  color: white;
}

.btn-agenda:hover {
  background-color: white;
  border-color: #82772F;
  color: #82772F;
}

.btn-agenda:active {
  background-color: white;
  border-color: #82772F;
  color: #82772F;
}

.btn-agenda:active,
.btn-agenda:target {
  color: white;
  background-color: #82772F;
  border-color: #82772F;
}

.field--name-field-enllac-intern-agenda{
  display: flex;
  justify-content: center;
  margin-bottom: 1.5em;
  margin-top: 0.5em;
}

.agenda_cultural_page{
  display: grid;
  justify-content: center;
}

/* update of div Reserva activitats from homepage */

div.reserva-activitats{
  padding-bottom: 1em;
  height: auto;
}

@media (max-width: 767px)
{
  div.reserva-activitats{
    margin: 15px 15px 0px 15px;
  }
}

/* PAGE STYLES "PAGINA IMATGES" */

.llistat_imatges{
  display: flex;
  flex-direction: column;

}
.llistat_imatges > .item_imatge{
  display: flex;
  justify-content: center;
}

.imatge_pagina_imatges > img{
width: 100%;
height: auto;
margin-left: 15px;
margin-right: 15px;
}

.text_pagina_imatges > p{
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 2em;
}

/* Regidories list of regidors display */

.field__llistat_regidors_dins_regidoria {
  display: grid;
}



/* HOMEPAGE IMAGES */


.ofertes {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, transparent), to(rgba(0, 0, 0, 0.8))), url("../../img/feina.jpg");
  background-image: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.8)), url("../../img/feina.jpg");
}
.bettair {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, transparent), to(rgba(0, 0, 0, 0.8))), url("../../img/bettair.jpg");
  background-image: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.8)), url("../../img/bettair.jpg");
}
.prego {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, transparent), to(rgba(0, 0, 0, 0.8))), url("../../img/prego.jpg");
  background-image: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.8)), url("../../img/prego.jpg");
}


/*FIX missing icon on main menus*/

#CollapsingNavbarWrapper nav ul li.dropdown a::after{
  content: "" !important;
}