@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900,300italic");

/* Modificació dels estils CSS base de Boostrap 4 */
.table td, .table th {
  border-top: none !important;
}

.form-control {
  border: none;
}

.btn-color-corporatiu {
  background-color: #fcedf0;
  color: #961E2B;
}

.btn-color-corporatiu:hover {
  background-color: #961E2B;
  color: #fff;
}

/* Global */
.txt-color_ajuntament {
  color: #961E2B !important;
}
#img-logo {
  display: inline;
  width: 18rem;
}
#img-logo_b {
  display: none;
}
.img-general img {
  width: auto;
}
.hover-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s;
}

@media (max-width: 475px) {
  .img-general img {
    width: 100%;
  }
}
@media (max-width: 375px) {
  .img-general img {
    width: 100%;
  }
}

/* Missatge cookies */
.galetes {
  background-color: #ebf8ff!important;
  color: #2b6cb0!important;
  --border-opacity: 1!important;
  border-color: rgba(66,153,225,var(--border-opacity))!important;
  padding: 1rem!important;
  border-top-width: 4px!important;
  border: 0 solid #e2e8f0;
  z-index: 999;
}

/* Botons campanyes */
.btn_veure-mes-campanya {
  padding-top: 20px;
  width: 100%;
}
.veure-mes-campanya {
  background: #ffffff;
  cursor: pointer;
  color: #343a40;
  text-align: center;
  width: 50%;
  margin: 0 auto;
}
.veure-mes-campanya:hover {
  background: #D83144;
  color: white;
}
.veure-mes-campanya p{
  padding: 5px;
  font-size: 14px;
}
.veure-mes-campanya a {
  color: black;
}
.veure-mes-campanya a:hover {
  color: white;
}
/* v2 */
.campanya-gran-altura {
  min-height: 350px;
}
.campanya-gran-altura img {
  min-height: 350px;
  max-height: 350px;
  object-fit: cover;
  object-position: top; /* TEMPORAL */
}
.campanya-gran-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  background-image: linear-gradient(to bottom,rgba(0,0,0,0) 0, rgba(0,0,0,0.5) 0, rgba(0,0,0,.9) 100%);
}
.campanya-petita-altura {
  min-height: 150px;
}
.campanya-petita-altura img {
  object-fit: cover;
  height: 215px;
}
/* Fi campanyes */

/* Detall campanyes */

.campanya-contingut img {
  float:left;
  width:45%;
  padding-right: 15px;
  padding-bottom: 5px;
}
.titol_detall_campanya {
  color: #961E2B;
  margin: 0;
  font-size: 27px !important;
}
.campanya-border_granate {
  border: 5px solid #961E2B;
}

@media (max-width: 991px) {
  .campanya-gran-altura {
    min-height: 236px;
  }
  .campanya-gran-altura img {
    /*min-height: 236px;*/
  }
  .campanya-petita-altura {
    min-height: 150px;
  }
  .campanya-petita-altura img {
    object-fit: contain;
    height: 150px;
  }
}

@media (max-width: 475px) {
  .campanya-contingut img {
    float:left;
    width:100%;
    padding-right: 0;
    padding-bottom: 15px;
  }
  .titol_detall_campanya {
    color: #961E2B;
    margin: 0;
    font-size: 21px !important;
  }
  .campanya-border_granate {
    border: 5px solid #961E2B;
  }
  .campanya-gran-altura {
    min-height: auto;
  }
  .campanya-gran-altura img {
    min-height: auto;
  }
  .campanya-petita-altura {
    min-height: auto;
  }
  .campanya-petita-altura img {
    object-fit: cover;
    height: auto;
  }
}
@media (max-width: 375px) {
  .campanya-contingut img {
    float:left;
    width:100%;
    padding-right: 0;
    padding-bottom: 15px;
  }
  .titol_detall_campanya {
    color: #961E2B;
    margin: 0;
    font-size: 21px !important;
  }
  .campanya-border_granate {
    border: 5px solid #961E2B;
  }
  .campanya-gran-altura {
    min-height: auto;
  }
  .campanya-gran-altura img {
    min-height: auto;
  }
  .campanya-petita-altura {
    min-height: auto;
  }
  .campanya-petita-altura img {
    object-fit: cover;
    height: auto;
  }
}

/* Fi detall campanyes */

/*Tràmits*/

.tramit {
  /*border-bottom: 1px dotted #8A8989;*/
  margin-bottom: 22px;
  padding-bottom: 7px;
}
.tramit span{
  padding-left: 10px;
}
#docs_annexats a{
  color: #3F51B5;
}
#docs_annexats a:hover {
  color: #c53b4c;
}
.tramits-inici h3{
  font-size: 1.5em;
}
.tramits-detall-color-apartat {
  color: #D83144;
}
.perfilContractant {
    background-color: #fcedf0;
    cursor: pointer;
    color: #691b25;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
}
.perfilContractant:hover {
    background-color: #961E2B;
    a {
      color: white;
    }
}
.perfilContractant a {
  color: #961E2B;
}
.perfilContractant a:hover {
  color: white;
}
.botons-regidors {
  height: 55px !important;
}
.botons-regidors p {
  line-height: 34px !important;
}
.grups-politics_info{
  position: absolute;
  bottom: 0;
}
.tramits_temes {
  padding: 0 0 10px 0;
}
.tramits_temes a {
  color: #007ee5;
}
.tramits_temes a:hover {
  color: #D83144;
}
.tramits_temes span {
  padding-left: 5px;
}
.tramits_temes-portada a {
  color: #007ee5 !important;
}
.tramits_temes-portada a:hover {
  color: #D83144 !important;
}
.foto_regidor img {
  width: 100%;
  padding-bottom: 2%;
}
.foto_actes img {
  width: 49%;
  padding-bottom: 2%;
}
.btn_veure_mes {
  padding-top: 20px;
  width: 100%;
}
.veure_mes {
  background-color: #961E2B;
  cursor: pointer;
  color: white;
  text-align: center;
  width: 25%;
  margin:0 auto;
  border-radius: 8px;
}
.veure_mes:hover {
  background: #691b25;
  transition: 0.5s;
}
.veure_mes p{
  padding: 15px;
}
.veure_mes a {
  color: white;
}
.veure_mes a:hover {
  color: white;
}

.col-banners img {
  width: 65%;
  padding-bottom: 2%;
}
@media (max-width: 768px) {
  .col-banners img {
    width: 65%;
    padding-bottom: 2%;
  }
}
.espai-fontawesome {
  padding-right: 10px;
}

/* NOTICIES */

@media (max-width: 990px) {
  .imatge-gran-noticia img {
  border-top-right-radius: 0.25rem !important;
  }
}

.noticia-destacada-card{
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}

.noticia-destacada-card:hover{
  color: #000 !important;
  opacity: 0.8;
}
.noticia-card:hover{
  transform: translateY(-15px);
  box-shadow: 0 12px 16px rgb(0 0 0 / 20%);
  transition: all 0.25s;
  
}
.img-card-noticia{
  object-fit: cover;
  height: 242px;
  object-position: 0px 0px;
}
.info-separacio-noticies{
  width: 60%;
}
.footer-noticies{
 background-color: #fff; 
 border-top: none;
}
.llegir-mes{
  text-align: center;
}

.btn_veure_mes_noticies {
  padding-top: 20px;
  width: 100%;
}
.veure_mes_noticies {
  background: #424242;
  box-shadow: 2px 2px 6px #888;
  cursor: pointer;
  color: white;
  text-align: center;
  width: 50%;
  margin:0 auto;
}
.veure_mes_noticies:hover {
  background: #691b25;
}
.veure_mes_noticies p{
  padding: 6px;
}
.veure_mes_noticies a {
  color: white;
}
.veure_mes_noticies a:hover {
  color: white;
}
.titol_inici_noticia {
  margin: 0;
  font-size: 16px !important;
  text-align: center;
}
.titol_inici_noticia p{
  color: #961E2B;
  margin: 0;
  font-size: 25px !important;
}

.titol_inici_noticia:hover{
  color: #9e2b38 !important;
}
.titol_item_noticia {
  color: #961E2B;
  margin: 0;
  font-size: 20px !important;
}
.titol_item_noticia p{
  color: #961E2B;
  margin: 0;
  font-size: 25px !important;
}
.titol_item_noticia a{
  color: #961E2B !important;
}
.titol_item_noticia a:hover{
  color: #D83144!important;
}
.titol_detall_noticia {
  color: #961E2B;
  margin: 0;
  font-size: 30px !important;
}
.titol_detall_noticia p{
  color: #961E2B;
  margin: 0;
  font-size: 30px !important;
}
.imatge-gran-noticia {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  max-height: 385px;
  overflow: hidden;
}
.imatge-gran-noticia img {
  max-width: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: top;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0rem;
}
.separador-noticia {
  border-bottom: 1px dotted #8A8989;
  margin-bottom: 22px;
  padding-bottom: 7px;
}
.noticia-img_opacity {
  width: 100%;
}
.noticia-img_opacity img {
  transition-duration: 1s;
  -webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
  height: 233.33px;
  object-fit: cover;
  object-position: 0% 30%;
}
.noticia-img_opacity img:hover {
  filter: contrast(.9) sepia(.2);
}
.noticia-contingut img {
  float:left;
  width:45%;
  padding-right: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
}
.imatge-gran-slider {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  height: 500px;
  overflow: hidden;
}
.imatge-gran-slider img {
  max-width: 1140px;
  height:auto;
}
.carousel-caption a {
  color: white;
}
.carousel-caption a:hover {
  color: #c53b4c;
}
.noticia-link_documentacio {
  border-top: 1px dashed #ddd;
}
.noticia-link_documentacio a {
  color: #007ee5;
}
.noticia-link_documentacio a:hover {
  color: #c53b4c;
}

@media (max-width: 768px) {
  .imatge-gran-slider {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    height: 158px;
    overflow: hidden;
  }
  .carousel-caption {
    padding: 33px !important;
  }
  .carousel-caption h3 {
    font-size: 16px !important;
  }
  .carousel-caption small {
    font-size: 70% !important;
  }
}
@media (max-width: 475px) {
  .titol_detall_noticia {
    color: #961E2B;
    margin: 0;
    font-size: 21px !important;
  }
  .noticia-contingut img {
    float:left;
    width:100%;
    padding-right: 0;
    padding-bottom: 15px;
    padding-top: 0;
  }
}
@media (max-width: 375px) {
  .titol_detall_noticia {
    color: #961E2B;
    margin: 0;
    font-size: 21px !important;
  }
  .noticia-contingut img {
    float:left;
    width:100%;
    padding-right: 0;
    padding-bottom: 5px;
    padding-top: 0;
  }
}

/* AGENDA */

.card-body {
  position:  relative !important;
}
.titol_items_agenda {
  color: #961E2B;
  margin: 0;
  font-size: 18px !important;
}
.lloc-esdeveniment {
  bottom: 0;
  font-size: 18px;
}
.info_overlay_agenda {
  padding-bottom: 2%;
  min-height: 169px;
}
.img-card-agenda{
  object-fit: cover;
  height: 242px;
}
.llistat-preu-agenda{
  background: #bebefccf;
  border-radius: 0.25rem;
  padding: 5px;
  padding-right: 5px;
  padding-left: 5px;
}
.llistat-preu-agenda-gratuita{
  color: rgb(22 101 52);
  background-color: rgb(187 247 208);
  border-radius: 9999px;
  padding: 5px;
  padding-right: 5px;
  padding-left: 5px;
}
.preu-agenda{
  background: #bebefccf;
  border-radius: 0.25rem;
  margin-left: 15%;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
}
.info-agenda{
  background-color: #c9ddf8;
  border-bottom: none;
}

/* XARXES SOCIALS */

.color_icon_twitter {
  color: #1da1f2;
}
.color_icon_twitter:hover {
  color: white;
}

/* REGIDORS */

.nom_regidor {
	position:absolute;
	width:100%;
	bottom:0;
	left:0;
	background-color:rgba(0, 0, 0, 0.5);
  filter:alpha(opacity=50);
}
.nom_regidor h4 {
  padding-top: 15px !important;
	text-align:center;
  color: white;
  margin-left: 0 !important;
}
.fitxa_regidor {
  margin-bottom: 22px;
  padding-bottom: 22px;
  text-align: justify;
}
.fitxa_regidor table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}
.fitxa_regidor th {
  background-color: #E0E0E0;
  text-align: center;
  padding: 12px;
}
.fitxa_regidor td {
  text-align: center;
  padding: 8px;
}
.fitxa_regidor tr:nth-child(even){
  background-color: #f2f2f2
}
.titol_card {
  margin: 0;
  font-size: 20px !important;
}
.info-regidor {
  margin-top: 1rem!important;
}
.logo-partit {
  display: block;
}
.logo_esq-partit {
  display: none;
}
.mida-xarxes_socials {
  font-size: 25px;
}

@media (max-width: 768px) {
  .info-regidor {
    margin-top: .2rem!important;
  }
  .logo-partit {
    display: none;
  }
  .logo_esq-partit {
    display: block;
  }
}

/* TEMES */

.card_tema {
  text-align: center;
  align-content: center;
  align-self: center;
}
.card_tema img {
  padding: 13px;
  transition-duration: 1s;
}
.card_tema img:hover {
  opacity: 0.5;
}
.titol_item_noticia_tema {
  color: #961E2B;
  margin: 0;
  font-size: 16px !important;
}
.heading_wrapper {
  text-align: left;
  margin-bottom: 25px;
}
.heading-line {
  width: 100%;
  height: 1px;
  background: #ccc;
  margin-top: 10px;
}
.heading-line span {
  display: block;
  width: 60px;
  background: #222;
  height: 1px;
}
.mes-info-tema a {
  display: inline !important;
  font-size: 17px !important;
  padding-right: 0 !important;
  color: #1da1f2 !important;
}
.mes-info-tema a:hover {
  color: #c53b4c !important;
}
.mes-info-tema {
  padding: 10px;
}
.banner-temes img {
  width: 65%;
}
.contingut-interes{
  background-color: #961E2B;
  padding: 16px !important;
  border-radius: 8px;
}
.contingut-interes:hover{
  background-color: #6b1c26;
}
.contingut-interes_brown{
  background-color: #0d74b7;
  padding: 16px !important;
  border-radius: 8px;
}
.contingut-interes_brown:hover{
  background-color: #D83144;
}
.contingut-info p{
  font-size: 17px !important;
}
.bottom-cero {
  bottom: 0;
  position: absolute !important;
}
.tema_icon-bg {
  display: inline-block;
  line-height: 74px;
  background-color: transparent;
}

/* Pestanyes temes info emergencies */
.pestanya-info-nav-tab-ul {
  border-bottom: 0;
  margin-bottom: 10px;
}

.pestanya-info-nav-tab-ul li a {
  border-color: transparent !important;
  color: black;
  margin-right: 20px;
  background-color: white;
}

.pestanya-info-color-apartat {
  color: #961E2B;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  color:white;
  background-color: #0d74b7;
}

@media (max-width: 375px) {
  .veure_mes {
    background-color: #961E2B;
    box-shadow: 2px 2px 6px #888;
    cursor: pointer;
    color: white;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .veure-mes-campanya {
    background: #ffffff;
    cursor: pointer;
    color: #343a40;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center;
  }
  .banner-temes img {
    width: 100%;
  }
}
@media (max-width: 475px) {
  .veure_mes {
    background-color: #961E2B;
    box-shadow: 2px 2px 6px #888;
    cursor: pointer;
    color: white;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .veure-mes-campanya {
    background: #ffffff;
    box-shadow: 2px 2px 6px #888;
    cursor: pointer;
    color: #343a40;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center;
  }
  .banner-temes img {
    width: 100%;
  }
}

/* Social media */

.social_media .fas {
  padding: 20px;
  font-size: 30px;
  width: 90px;
  text-align: center;
  text-decoration: none;
  position: relative;
}
.social_media .fas:hover {
    opacity: 0.7;
}
.social_media .fa-facebook {
  background: #3B5998;
  color: white;
  padding: 10px;
}
.social_media .fa-twitter {
  background: #55ACEE;
  color: white;
  padding: 10px;
}
.social_media .fa-linkedin {
  background: #007bb5;
  color: white;
  padding: 10px;
}
.social_media .fa-youtube {
  background: #bb0000;
  color: white;
  padding: 10px;
}
.social_media .fa-instagram {
  background: #e4405f;
  color: white;
  padding: 10px;
}
.social_media .fa-soundcloud {
  background: #ff5500;
  color: white;
  padding: 10px;
}
.social_media .fa-rss {
  background: #ff6600;
  color: white;
  padding: 10px;
}
.vertical-center {
  -ms-transform: translateY(50%);
  transform: translateY(50%);
}
.vertical-center h3 {
  font-size: 1.25rem;
}

@media (min-width: 320px) and (max-width: 576px) {
  .vertical-center {
    -ms-transform: translateY(0);
    transform: translateY(0);
    margin-bottom: 25px;
  }
  .social_media .fa-facebook{
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-twitter {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-linkedin {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-youtube {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-instagram {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-soundcloud {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-rss {
    width: 100%;
    margin-bottom: 5px;
  }
}

/* Mes informació tema
--------------------------------*/
#mes-info {
  padding: 1px 0 60px;
  overflow: hidden;
}
#mes-info #mes-info-list {
  padding: 0;
  list-style: none;
}
#mes-info #mes-info-list li {
 padding-bottom: 5px;
 padding-right: 9px;
}
#mes-info #mes-info-list a {
  padding: 18px 0;
  display: block;
  position: relative;
  font-family: "Radio Canada Big", sans-serif;
  font-size: 22px;
  line-height: 1;
  padding-right: 20px;
  color: white;
}
#mes-info #mes-info-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 16px;
  padding-right: 16px;
}
#mes-info #mes-info-list p {
  margin-bottom: 20px;
}
#mes-info #mes-info-list a.collapse {
  color: #1dc8cd;
}
#mes-info #mes-info-list a.collapsed {
  color: white;
}
#mes-info #mes-info-list a.collapsed i::before {
  content: "\f2c7" !important;
}

@media (max-width: 768px) {
  #mes-info #mes-info-list a {
    font-size: 18px;
  }
  #mes-info #mes-info-list i {
    top: 13px;
  }
}

/* Webs interés tema */

.links_interes {
  background-color: #9b2d3a;
  border-radius: 8px;
}
.links_interes h5 {
  color: #ffffff;
  padding: 10px;
  text-align: center;
}

/* Ajuntament
*******************/
.organitzacio h5 {
  color: #961E2B !important;
  padding-top: 10px;
}

.enllasos-pdf a {
  color: #795548;
}
.enllasos-pdf a:hover {
  color: #c53b4c;
}

/* Municipi
***************/
.banners img {
  max-width: 100%;
}

/* Protecció de dades
***************/
#table-avislegal table td {
  padding: 10px;
}

/* Cercador AOC
********************/
.cercador img {
  width: 100%;
}
#search-box {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.search-box {
  transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background-color: #961E2B;
  border-top-left-radius: 5px;border-bottom-left-radius: 5px;
}
.search-box + label .search-icon {
  color: white;
}
.search-box:hover {
  color: white;
  background: #c53b4c;
  box-shadow: 0 0 0 5px #3d4752;
}
.search-box:hover + label .search-icon {
  color: white;
}
.search-box:focus {
  transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1.39), border-radius 0.6s, background 0.6s;
  border: none;
  outline: none;
  box-shadow: none;
  padding-left: 15px;
  cursor: text;
  width: 300px;
  border-radius: auto;
  background: #ebebeb;
  color: black;
}
.search-box:focus + label .search-icon {
  color: black;
}
.search-box:not(:focus) {
  text-indent: -5000px;
}
#search-submit {
  position: relative;
  left: -50px;
}
.search-icon {
  position: relative;
  left: -31px;
  color: white;
  cursor: pointer;
}

/* Cercador bottom */

.search-box_bottom {
  transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background-color: #961E2B;
}
.search-box_bottom + label .search-icon_bottom {
  color: white;
}
.search-box_bottom:hover {
  color: black;
  background: #9e2e3c;
  box-shadow: 0 0 0 5px #3d4752;
}
.search-box_bottom:hover + label .search-icon_bottom {
  color: black;
}
.search-box_bottom:focus {
  transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1.39), border-radius 0.6s, background 0.6s;
  border: none;
  outline: none;
  box-shadow: none;
  padding-left: 15px;
  cursor: text;
  width: 300px;
  border-radius: auto;
  background: #9e2e3c;
  color: white;
}
.search-box_bottom:focus + label .search-icon_bottom {
  color: black;
}
.search-box_bottom:not(:focus) {
  text-indent: -500px;
}
#search-submit_bottom {
  position: relative;
  left: -50px;
}
.search-icon_bottom {
  position: relative;
  right: -31px;
  color: black;
  cursor: pointer;
  padding-top: 11px;
}
.search-bottom {
  position: fixed;
  display: block;
  padding: 2px 20px 40px 20px;
  right: -15px;
  bottom: 0;
  transition: none;
}
.search-container_bottom {
  display: none;
}
.has-search .form-control {
  padding-left: 2.375rem;
  width: 25%;
}
.has-search .form-control-feedback {
  position: absolute;
  z-index: 2;
  display: block;
  width: 1.375rem;
  height: 2.375rem;
  left: 15px;
  line-height: 2.375rem;
  text-align: center;
  pointer-events: none;
  color: #aaa;
}
.mida_boto-cerca {
  width: 25%;
  padding-top: 45px;
}
.color_boto-cerca {
  background-color: #961E2B;
  color: white
}

/* Cercador mòbil */

#cercador-mobil {
  display: none;
}

@media (min-width: 320px) and (max-width: 576px) {
  .search-container {
    display: block;
  }
  .mida_boto-cerca {
    width: 90% !important;
    padding-top: 25px;
  }
  #cercador-mobil {
    display: block;
  }
  .nav_has-search .form-control {
    padding-left: 2.375rem;
    width: 95%;
    margin: 0 auto;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .search-container {
    display: block;
  }
  .mida_boto-cerca {
    width: 90% !important;
    padding-top: 25px;
  }
  #cercador-mobil {
    display: block;
  }
  .nav_has-search .form-control {
    padding-left: 2.375rem;
    width: 95%;
    margin: 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .search-container {
    display: block;
  }
  .mida_boto-cerca {
    width: 90% !important;
    padding-top: 25px;
  }
  #cercador-mobil {
    display: block;
  }
  .nav_has-search .form-control {
    padding-left: 2.375rem;
    width: 95%;
    margin: 0 auto;
  }
}

/* Cercador general */

.mes_resultats {
  display: block;
}
.cerca_google {
  display: none;
}

/*** CAMPANYES ***/
/*---------------------------------------------*/
.bg-img1 {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.how1 {
  position: relative;
}
.how1-child1 {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.5;
  background: rgba(0,0,0,0.5);
  background: -webkit-linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  background: -o-linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  background: -moz-linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  background: linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}
.how1:hover .how1-child1 {
  opacity: 0.3;
}
.how1-child2 {
  z-index: 3;
}
.m-rl--1{
  margin-left:-1px
}
.p-rl-1{
  padding-left:1px
}
.p-b-2{
  padding-bottom:15px
}
.p-tb-20{
  padding-bottom:20px
}
.p-rl-25{
  padding-left:25px
}
.pos-relative{
  position:relative
}
.flex-col-e-s {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.s-full{
  width:100%;
  height:100%}
.p-rl-25{
  padding-left:25px
}
.p-tb-20{
  padding-top:20px
}
.size-a-33 {
  width: 100%;
  height: 503px;
}
.size-a-4 {
  width: 100%;
  height: 244px;
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #6b1c26;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}
.bg-img1:hover .overlay {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.text {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

/**
Botons d'administració
***********************/
.administracio-boto_top {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 20px 15px 20px 15px;
  height: 110px;
  background: #fff;
  color: #961E2B;
  vertical-align: baseline;
}
.administracio-boto_bottom {
  padding: 0.1rem 1.25rem;
  background-color: #961E2B;
  border-top: 1px solid rgba(158,46,60,1);
}
.administracio-boto_top:hover {
  background-color: #D83144;
  color: white;
}
.administracio-boto_top:hover a {
  color: white;
}
.administracio-boto_info a{
  color: #961E2B;
}

/**
Botons a un click
***********************/
.unclick-boto_top {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 20px 15px 20px 15px;
  background: rgb(220, 225, 233);
  color: #961E2B;
  vertical-align: baseline;
}
.unclick-boto_bottom {
  padding: 0.1rem 1.25rem;
  background-color: #961E2B;
  border-top: 1px solid rgba(158,46,60,1);
}
.unclick-boto_top:hover {
  background-color: #D83144;
  color: white;
}
.unclick-boto_top:hover a {
  color: white;
}
.unclick-boto_info a{
  color: #000;
}
.unclick-boto_info a:hover{
  color: #D83144;
}

/* TEMES SLIDE
****************/
figure {
  display: block;
  margin-block-start: 0;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 10px;
}
figure img {
  zoom: 1;
  filter: alpha(opacity=100);
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  margin: 0 auto;
  width: 100%;
}
figure img:hover {
  zoom: 1;
  filter: alpha(opacity=85);
  -webkit-opacity: 0.85;
  -moz-opacity: 0.85;
  opacity: 0.85;
}
.overlay-tema {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #6b1c26;
}
figure:hover .overlay-tema {
  opacity: 1;
}
.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

@media (min-width: 320px) and (max-width: 576px) {
  figure img {
    width: 100%;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  figure {
    width: 100%;
  }
}
@media (min-width: 767.99px) and (max-width: 991.98px) {
  figure {
    width: 100%;
  }
}


/* Blog
---------------------*/
.blog-grid {
    box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
    border-radius: 5px;
    overflow: hidden;
    background: #ffffff;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .blog-grid .blog-img {
    position: relative;
  }
  .blog-grid .blog-img .date {
    position: absolute;
    background: #fc5356;
    color: #ffffff;
    padding: 8px 15px;
    left: 10px;
    top: 10px;
    border-radius: 4px;
  }
  .blog-grid .blog-img .date span {
    font-size: 22px;
    display: block;
    line-height: 22px;
  }
  .blog-grid .blog-img .date label {
    font-size: 14px;
    margin: 0;
  }
  .blog-grid .blog-info {
    padding: 20px;
  }
  .blog-grid .blog-info h5 {
    font-size: 22px;
    margin: 0 0 10px;
  }
  .blog-grid .blog-info h5 a {
    color: #20247b;
  }
  .blog-grid .blog-info p {
    margin: 0;
  }
  .blog-grid .blog-info .btn-bar {
    margin-top: 20px;
  }

/* Blog Sidebar
-------------------*/
.blog-aside .widget {
overflow: hidden;
margin-top: 15px;
margin-bottom: 15px;
width: 100%;
display: inline-block;
vertical-align: top;
}
.blog-aside .widget-body {
padding: 15px;
}
.blog-aside .widget-title {
padding: 15px;
border-bottom: 1px solid #ddd;
}
.blog-aside .widget-title h3 {
color: #D83144;
margin: 0;
font-size: 20px !important;
}
.blog-aside .widget-author .media {
margin-bottom: 15px;
}
.blog-aside .widget-author p {
font-size: 16px;
margin: 0;
}
.blog-aside .widget-author .avatar {
width: 70px;
height: 70px;
border-radius: 50%;
overflow: hidden;
}
.blog-aside .widget-author h6 {
color: #20247b;
font-size: 22px;
margin: 0;
padding-left: 20px;
}
.blog-aside .post-aside {
margin-bottom: 15px;
}
.blog-aside .post-aside .post-aside-title h5 {
margin: 0;
}
.blog-aside .post-aside .post-aside-title a {
font-size: 18px;
color: #20247b;
}
.blog-aside .post-aside .post-aside-meta {
padding-bottom: 10px;
}
.blog-aside .post-aside .post-aside-meta a {
color: #6F8BA4;
font-size: 12px;
text-transform: uppercase;
display: inline-block;
margin-right: 10px;
}
.blog-aside .latest-post-aside + .latest-post-aside {
border-top: 1px solid #eee;
padding-top: 15px;
margin-top: 15px;
border-top: 1px dashed #ddd;
}
.blog-aside .latest-post-aside .lpa-right {
width: 90px;
}
.blog-aside .latest-post-aside .lpa-right img {
border-radius: 3px;
}
.blog-aside .latest-post-aside .lpa-left {
padding-right: 15px;
}
.blog-aside .latest-post-aside .lpa-title h5 {
margin: 0;
font-size: 15px;
}
.blog-aside .latest-post-aside .lpa-title a {
color: #34282a;
}
.blog-aside .latest-post-aside .lpa-title a:hover {
color: #ba3535;
}
.blog-aside .latest-post-aside .lpa-meta a {
color: #6F8BA4;
font-size: 12px;
text-transform: uppercase;
display: inline-block;
margin-right: 10px;
}

.tag-cloud a {
padding: 4px 15px;
font-size: 13px;
color: #ffffff;
background: #D83144;
border-radius: 3px;
margin-right: 4px;
margin-bottom: 4px;
}
.tag-cloud a:hover {
background: #961E2B;
}

.blog-single {
padding-top: 0;
padding-bottom: 30px;
}

.article {
overflow: hidden;
padding: 5px 15px;
margin: 0 0 30px;
}
.article .article-title {
padding: 20px 0 20px;
}
.article .article-title h6 {
font-size: 14px;
margin-bottom: 20px;
}
.article .article-title h6 a {
text-transform: uppercase;
color: #961E2B;
border-bottom: 1px solid #961E2B;
}
.article .article-title h2 {
color: #D83144;
}
.article .article-title .media {
padding-top: 15px;
border-bottom: 1px dashed #ddd;
padding-bottom: 5px;
}
.article .article-title .media .avatar {
width: 45px;
height: 45px;
border-radius: 50%;
overflow: hidden;
}
.article .article-title .media .media-body {
padding-left: 0;
}
.article .article-title .media .media-body label {
color: #fc5356;
margin: 0;
}
.article .article-title .media .media-body span {
display: block;
font-size: 12px;
}
.article .article-content h1,
.article .article-content h2,
.article .article-content h3,
.article .article-content h4,
.article .article-content h5,
.article .article-content h6 {
color: #ba3535;
margin-bottom: 15px;
}
.article .article-content blockquote {
max-width: 600px;
padding: 15px 0 30px 0;
margin: 0;
}
.article .article-content blockquote p {
font-size: 20px;
color: #fc5356;
margin: 0;
}
.article .article-content blockquote .blockquote-footer {
color: #20247b;
font-size: 16px;
}
.article .article-content blockquote .blockquote-footer cite {
font-weight: 600;
}
.article .article-content img {
  max-width: 100%;
  height: auto;
}
.article .tag-cloud {
padding-top: 10px;
}

.article-comment {
box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
border-radius: 5px;
overflow: hidden;
background: #ffffff;
padding: 20px;
}
.article-comment h4 {
color: #20247b;
margin-bottom: 25px;
font-size: 22px;
}
.article-img img {
width: 100%;
}
img {
    max-width: 100%;
}
img {
    vertical-align: middle;
    border-style: none;
}

.section-title h2 {
    color: #20247b;
    font-size: 45px;
    margin: 0 0 15px;
    border-left: 5px solid #fc5356;
    padding-left: 15px;
}
.px-btn {
    padding: 0 50px 0 20px;
    line-height: 60px;
    position: relative;
    display: inline-block;
    color: #20247b;
    background: none;
    border: none;
}
.px-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 30px;
    background: transparent;
    border: 1px solid rgba(252, 83, 86, 0.6);
    border-right: 1px solid transparent;
    -moz-transition: ease all 0.35s;
    -o-transition: ease all 0.35s;
    -webkit-transition: ease all 0.35s;
    transition: ease all 0.35s;
    width: 60px;
    height: 60px;
}
.px-btn .arrow {
    width: 13px;
    height: 2px;
    background: currentColor;
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 25px;
}
.px-btn .arrow:after {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    display: inline-block;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media only screen and (max-width:767px) {
    .article {
        overflow: hidden;
        padding: 0;
       margin: 0 0 0;
    }
}

/*timeline4*/


/******************* Timeline Demo - 8 *****************/

.main-timeline4 {
    overflow: hidden;
    position: relative
}

.main-timeline4 p {
    line-height: 30px !important;
}

.main-timeline4:after,
.main-timeline4:before {
    content: "";
    display: block;
    width: 100%;
    clear: both
}

.main-timeline4:before {
    content: "";
    width: 3px;
    height: 100%;
    background: #d6d5d5;
    position: absolute;
    top: 30px;
    left: 50%
}

.main-timeline4 .timeline {
    width: 50%;
    float: left;
    padding-right: 30px;
    position: relative
}

.main-timeline4 .timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #9d2d3b;
    position: absolute;
    top: 5.5%;
    right: -17.5px
}

.main-timeline4 .year {
    display: block;
    padding: 10px;
    margin: 0;
    font-size: 23px;
    color: #fff;
    border-radius: 0 50px 50px 0;
    background: #9d2e3c;
    text-align: center;
    position: relative
}

.main-timeline4 .year:before {
    content: "";
    border-top: 35px solid #f59c8b;
    border-left: 35px solid transparent;
    position: absolute;
    bottom: -35px;
    left: 0
}

.main-timeline4 .timeline-content {
    padding: 30px 20px;
    margin: 0 29px 0 35px;
    background: #f2f2f2
}

.main-timeline4 .title {
    font-size: 19px;
    color: #504f54;
    margin: 0 0 10px
}

.main-timeline4 .description {
    font-size: 14px;
    color: #7d7b7b;
    margin: 0
}

.main-timeline4 .timeline:nth-child(2n) {
    padding: 0 0 0 30px
}

.main-timeline4 .timeline:nth-child(2n) .timeline-icon {
    right: auto;
    left: -14.5px
}

.main-timeline4 .timeline:nth-child(2n) .year {
    border-radius: 50px 0 0 50px;
    background: #9d2e3c
}

.main-timeline4 .timeline:nth-child(2n) .year:before {
    border-left: none;
    border-right: 35px solid transparent;
    left: auto;
    right: 0
}

.main-timeline4 .timeline:nth-child(2n) .timeline-content {
    text-align: left;
    margin: 0 35px 0 29px
}

.main-timeline4 .timeline:nth-child(2) {
    margin-top: 170px
}

.main-timeline4 .timeline:nth-child(odd) {
    margin: -175px 0 0
}

.main-timeline4 .timeline:nth-child(even) {
    margin-bottom: 80px
}

.main-timeline4 .timeline:first-child,
.main-timeline4 .timeline:last-child:nth-child(even) {
    margin: 0
}

.main-timeline4 .timeline:nth-child(2n) .timeline-icon {
    border-color: #9d2d3b
}

.main-timeline4 .timeline:nth-child(2n) .year:before {
    border-top-color: #f59c8b
}

.main-timeline4 .timeline:nth-child(3n) .timeline-icon {
    border-color: #9d2d3b
}

.main-timeline4 .timeline:nth-child(3n) .year {
    background: #9d2d3b
}

.main-timeline4 .timeline:nth-child(3n) .year:before {
    border-top-color: #f59c8b
}

.main-timeline4 .timeline:nth-child(4n) .timeline-icon {
    border-color: #9d2d3b
}

.main-timeline4 .timeline:nth-child(4n) .year {
    background: #9d2d3b
}

.main-timeline4 .timeline:nth-child(4n) .year:before {
    border-top-color: #f59c8b
}

@media only screen and (max-width:767px) {
    .main-timeline4 {
        overflow: visible
    }
    .main-timeline4:before {
        top: 0;
        left: 0
    }
    .main-timeline4 .timeline:nth-child(2),
    .main-timeline4 .timeline:nth-child(even),
    .main-timeline4 .timeline:nth-child(odd) {
        margin: 0 0 0 0
    }
    .main-timeline4 .timeline {
        width: 100%;
        float: none;
        padding: 0 0 0 30px;
        margin-bottom: 20px!important
    }
    .main-timeline4 .timeline:last-child {
        margin: 0!important
    }
    .main-timeline4 .timeline-icon {
        right: auto;
        left: -14.5px
    }
    .main-timeline4 .year {
        border-radius: 0px 0 0 0px;
        text-align: left;
    }
    .main-timeline4 .timeline:nth-child(4n) .year {
        border-radius: 0px 0 0 0px;
    }
    .main-timeline4 .timeline:nth-child(2n) .year {
        border-radius: 0px 0 0 0px;
    }
    .main-timeline4 .year:before {
        border-left: none;
        border-right: 35px solid transparent;
        left: auto;
        right: 0
    }
    .main-timeline4 .timeline-content {
        margin: 0 0 0 0
    }
    .main-timeline4 .timeline:nth-child(2n) .timeline-content {
        margin: 0 0 0 0
    }
    .main-timeline4 .timeline:nth-child(4n) .timeline-content {
        margin: 0 0 0 0
    }
}
/*end timeline*/

.ftco-section {
    padding: 30px 0;
    position: relative;
}
.bg-light {
    background: #f8f9fd !important;
}
.ftco-faqs .myaccordion {
    margin: 0 auto;
    overflow: hidden;
}

.ftco-faqs .myaccordion .card,
.ftco-faqs .myaccordion .card:last-child .card-header {
    border: none;
    background: transparent;
}

.ftco-faqs .myaccordion .card-header {
    border: none;
    background: transparent;
}
.ftco-faqs .myaccordion .card-header p {
    position: relative;
    font-size: 15px;
    text-align: left;
}

.ftco-faqs .myaccordion .fa {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.3);
}

.ftco-faqs .myaccordion .btn {
    width: 100%;
    color: black;
    padding: 0;
    white-space: break-spaces !important;
    letter-spacing: 0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ftco-faqs .myaccordion .btn-link:hover,
.ftco-faqs .myaccordion .btn-link:focus {
    text-decoration: none;
}

.ftco-faqs button[aria-expanded="true"] {
    background-color: #9c2d3b;
    color: #fff !important;
}

.ftco-faqs button[aria-expanded="false"] {
    background-color: #fff;
}
.ftco-faqs button[aria-expanded="false"]:hover {
    background-color: #9c2d3b;
    color: white;
}
.ftco-faqs .card-body {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    padding: 20px !important;
}

.ftco-faqs button[aria-expanded="true"] .fa {
    color: #fff !important;
}
.ftco-faqs .myaccordion .fa {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.3);
}

.ftco-faqs .myaccordion .fa {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.3);
}

.ftco-faqs [data-toggle="collapse"].collapsed .fa:before {
    content: "\f067";
    font-family: "FontAwesome";
    font-style: normal;
}

.ftco-faqs [data-toggle="collapse"] .fa:before {
    content: "\f068";
    font-family: "FontAwesome";
    font-style: normal;
}

.ftco-faqs .img {
    height: 450px;
    -webkit-box-shadow: 0px 8px 21px -10px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0px 8px 21px -10px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 8px 21px -10px rgba(0, 0, 0, 0.12);
}
.img, .blog-img, .user-img {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.icon-video {
    width: 80px;
    height: 80px;
    background: #fff;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
    -webkit-box-shadow: 0px 10px 30px -4px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 10px 30px -4px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 10px 30px -4px rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}
.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}
.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

/* Reserva */
.titol-reserva a {
    color: #34282a;
    font-size: x-large;
}
.titol-reserva a:hover {
    color: #c53b4c;
    font-size: x-large;
}
.ribbon {
    border-top: 40px solid#dc3545!important;
    color: #ffffff !important;
}
.ribbon {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border: 40px solid transparent;
    position: absolute;
    bottom: 9px;
    right: -60px;
    padding: 0 10px;
    width: 219px;
    font-family: sans-serif;
    text-transform: uppercase;
}
.ribbon {
    border-top: 40px solid#dc3545 !important;
    color: #ffffff !important;
}
.ribbon .txt {
    position: absolute;
    top: -33px;
    left: 25px;
}
.msg-mbl {
    display: none;
}
.msg-mbl_desactivat {
  display: block;
}
@media (max-width: 768px) {
    .msg-mbl {
        display: block;
    }
    .msg-mbl_desactivat {
      display: none;
    }
}
@media (max-width: 475px) {
    .msg-mbl {
        display: block;
    }
    .msg-mbl_desactivat {
      display: none;
    }
}
@media (max-width: 375px) {
    .msg-mbl {
        display: block;
    }
    .msg-mbl_desactivat {
      display: none;
    }
}



/* Social media - Prova Raquel */

@media (max-width: 768px) {
  .social_media_prova .fab {
    font-size: 29px;
    text-align: center;
    text-decoration: none;
    position: relative;
  }
  .social_media_prova .fab:hover {
      opacity: 0.7;
  }
  .social_media_prova .fa-facebook {
    padding-right: 4px !important;
  }
  .social_media_prova .fa-twitter {
    padding-right: 4px !important;
  }
  .social_media_prova .fa-linkedin {
    padding-right: 4px !important;
  }
  .social_media_prova .fa-youtube {
    padding-right: 4px !important;
  }
  .social_media_prova .fa-instagram {
    padding-right: 4px !important;
  }
  .social_media_prova .fa-soundcloud {
    padding-right: 4px !important;
  }
  .social_media_prova .fa-rss {
    padding-right: 4px !important;
  }
  .social_media_prova .fa-tiktok {
    padding-right: 4px !important;    
  }
}

@media (max-width: 416px) {
  .social_media_prova .fab {
    font-size: 29px;
    text-align: center;
    text-decoration: none;
    position: relative;
  }
  .social_media_prova .fab:hover {
      opacity: 0.7;
  }
  .social_media_prova .fa-facebook {
    padding: 0px !important;
    margin-right: 2rem!important; 
  }
  .social_media_prova .fa-twitter {
    padding: 0px !important;
    margin-right: 2rem!important; 
  }
  .social_media_prova .fa-linkedin {
    padding: 0px !important;
    margin-right: 2rem!important; 
  }
  .social_media_prova .fa-youtube {
    padding: 0px !important;
    margin-right: 2rem!important; 
  }
  .social_media_prova .fa-instagram {
    padding: 0px !important;
    margin-right: 2rem!important; 
  }
  .social_media_prova .fa-soundcloud {
    padding: 0px !important;
    margin-right: 2rem!important; 
  }
  .social_media_prova .fa-rss {
    padding: 0px !important;
    margin-right: 2rem!important; 
  }
  .social_media_prova .fa-tiktok {
    padding: 0px !important;
    margin-right: 2rem!important;  
  }
}


.titol-xarxes {
  background-color: #961E2B;
  color: white;
  font-size: 17px;
}

.card-xarxes {
  padding-right: 0%;
}


.social_media_prova .fab {
  font-size: 40px;
  text-align: center;
  text-decoration: none;
  position: relative;
}
.social_media_prova .fab:hover {
    opacity: 0.7;
}
.social_media_prova .fa-facebook {
  color: #1877f2;
  padding: 7px;
  padding-top:10px; 
}
.social_media_prova .fa-twitter {
  color: #00acee;
  padding: 7px;
  padding-top:10px;
}
.social_media_prova .fa-linkedin {
  color: #0e76a8;
  padding: 7px;
  padding-top:10px;
}
.social_media_prova .fa-youtube {
  color: #c4302b;
  padding: 7px;
  padding-top:10px;
}
.social_media_prova .fa-instagram {
  color: #e4405f;
  padding: 7px;
  padding-top:10px;
}
.social_media_prova .fa-soundcloud {
  color: #ff9533;
  padding: 7px;
  padding-top:10px;
}
.social_media_prova .fa-rss {
  color: #ee802f;
  padding: 7px;
  padding-top:10px;
}
.social_media_prova .fa-tiktok {
  color: black;
  padding: 7px;
  padding-top:10px;
}
.social_media_prova .fa-whatsapp {
  color: #128c7e;
  padding: 7px;
  padding-top:10px; 
}

.ev-carousel {
  max-width: 1094px;
  margin: 0 auto;
}

/* EQUIPAMENTS */

.titol_item_card {
  color: #961E2B;
  margin: 0;
  font-size: 20px !important;
  transform: translateY(-45px);
  text-align: center;
  background: white;
  padding-top: 5%;
  padding-left: 1%;
  padding-right: 1%;
  min-height: 70px;
}
.titol_item_equipament p{
  color: #961E2B;
  margin: 0;
  font-size: 25px !important;
}
.titol_item_equipament a{
  color: #961E2B !important;
}
.titol_item_equipament a:hover{
  color: #34282a !important;
}
.info-separacio {
  transform: translateY(-40px);
  width: 60%;
}
.text-equipament {
  transform: translateY(-35px);
}

/* TRÀMITS */

.border-tramits-portada{
  border-left: 5px solid #ff66794f !important;
}

.ample-tramits-portada{
  width: 80%;
}

.taula-tramits {
  border: 10px solid transparent;
  font-size: 17px;
}

.alerta-tramits {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 5px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 1.25rem;  
  background-color: #fff;
  border-color: #ffcb00;
}

.card-cercador-tramits {
  background-color: #ff66794f !important;
  border-radius: 1.25rem;
}

.boto-cercar-tramits {
  border-bottom-right-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
  border-color: transparent;
}

.tramit-card{
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

.tramit-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s;
}

#mbl_table_legend {
  display: none;
}

@media (min-width: 320px) and (max-width: 576px) {
  .search-container {
    display: block;
  }
  .mida_boto-cerca {
    width: 90% !important;
    padding-top: 25px;
  }
  #cercador-mobil {
    display: block;
  }
  .nav_has-search .form-control {
    padding-left: 2.375rem;
    width: 95%;
    margin: 0 auto;
  }
  #mbl_table_column {
    display: none;
  }
  #mbl_table_legend {
    display: revert;
  }
  .taula-tramits {
    border: 0 solid transparent;
  }
  .ample-tramits-portada{
    width: 100%;
  }
}

@media (min-width: 577px) and (max-width: 767.98px) {
  #mbl_table_column {
    display: none;
  }
  #mbl_table_legend {
    display: revert;
  }
  .taula-tramits {
    border: 0 solid transparent;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #mbl_table_column {
  }
  #mbl_table_legend {
    display: none;
  }
  .taula-tramits {
    border: 10px solid transparent;
  }
}

.etiqueta-blava {
  color: rgb(30 64 175);
  padding-left: 0.875rem;
  padding-right: 0.875rem;
  background-color: rgb(191 219 254);
  border-radius: 9999px;
}

.etiqueta-verda {
  color: rgb(22 101 52);
  padding-left: 0.875rem;
  padding-right: 0.875rem;
  background-color: rgb(187 247 208);
  border-radius: 9999px;
}

.etiqueta-lila {
  color: rgb(107 33 168);
  padding-left: 0.875rem;
  padding-right: 0.875rem;
  background-color: rgb(233 213 255);
  border-radius: 9999px;
}

/* imatge b&w */

.bandw {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.bandw:hover{
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}

/* agenda portada */
.titol_item_card_agenda{
  color: #961E2B;
  margin: 0;
  font-size: 19px !important;
  text-align: center;
  background: white;
  padding-left: 1%;
  padding-right: 1%;
}
.info-separacio-agenda{
  width: 60%;
  background-color: #961e2b;
}

/* tràmits portada*/
.tramits-portada hr {
  height: 0;
  margin-left: 0%;
  background-color: #961e2b;
  border: 1px solid #961e2b;
  border-radius: 5px;
}

.tramits-portada a:hover {
  color: #c53b4c !important;
}

.tramits-arrow {
  align-items: center;
  display: flex;
}

/* Opinions i propostes - Grups municipals [No manija] */

.info-grup-municipal {
  background-color: #fcedf0;
  color: #9a2323;
  border: 1px solid #97212d;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
  border-bottom-right-radius: calc(0.25rem - 1px);
}

.imatge-home {
  text-align: left;
  background-position: center;
  background-size: cover;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 350px;
  display: flex;
  position: relative;
  background-position-y: 0px;
}

.imatge-home-zoom {
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  }
  
.imatge-home-zoom:hover {
  transform: scale(1.1);
  transition: all 0.3s;
  }

.noticia-pelicula {
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5382528011204482) 31%, rgba(0,0,0,0) 62%);
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  position: absolute;
}

.noticia-caption {
  padding: 1.25rem;
  z-index: 10;
  color: #fff;
  position: absolute;
  object-position: top;
  pointer-events: none;
  z-index: 1;
  bottom: 0;
  margin-bottom: 15px;
}

.titol-campanya-test{
  opacity: 1;
  color: rgb(226 232 240);
  line-height: 2.5rem;
  font-size: 1.875rem;
}

.subtitol-campanya-test {
  opacity: 1;
color: rgb(229 231 235);
margin-top: 0.5rem;
}

.icon-xarxa {
  fill: rgb(156 163 175 / 0.6);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  transition-delay: 150ms;
  transition-duration: 300ms;
}

.icon-xarxa-instagram:hover{
  fill: #f43f5e;
}

.icon-xarxa-facebook:hover{
  fill: #3b82f6;
}

.icon-xarxa-twitter:hover{
  fill: #38bdf8;
}

.icon-xarxa-tiktok:hover{
  fill: #020617;
}

.icon-xarxa-youtube:hover{
  fill: #dc2626;
}

.icon-xarxa-linkedin:hover{
  fill: #075985;
}

.icon-xarxa-soundcloud:hover{
  fill: #f97316;
}
/* Regidors de barri */
.cercador-regidorbarris-background {
  background-image: url('https://sabarca.cat/assets_sabarca/img/fons_regidors_de_barri.png');
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 330px
}
.regidorbarris-img img {
  object-fit: cover;
  height: auto;
  max-height: 265px;
}

/* Obra de mandat */
.obramandat-section {
  padding: 30px 0;
  position: relative;
}
.obramandat-faqs .myaccordion {
  margin: 0 auto;
  overflow: hidden;
}
.obramandat-faqs .myaccordion .card,
.obramandat-faqs .myaccordion .card:last-child .card-header {
  border: none;
  background: transparent;
}

.obramandat-faqs .myaccordion .card-header {
  border: none;
  background: transparent;
}
.obramandat-faqs .myaccordion .card-header p {
  position: relative;
  font-size: 15px;
  text-align: left;
}

.obramandat-faqs .myaccordion .fa {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.3);
}

.obramandat-faqs .myaccordion .btn {
  width: 100%;
  color: black;
  padding: 0;
  white-space: break-spaces !important;
  letter-spacing: 0;
  border-radius: 0 !important;
  margin-bottom: 10px;
  -webkit-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  -moz-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
}

.obramandat-faqs .myaccordion .btn-link:hover,
.obramandat-faqs .myaccordion .btn-link:focus {
  text-decoration: none;
}

.obramandat-faqs button[aria-expanded="false"] {
  cursor: pointer;outline: none;
}

.obramandat-faqs button[aria-expanded="false"]:hover {
  background-color: #9c2d3b !important;
  color: white;
}

.obramandat-faqs .blue {
  color: black !important;
  background: -webkit-linear-gradient(90deg, #3498db 1%, #fff 1%);  
  background: -moz-linear-gradient(90deg, #3498db 1%, #fff 1%);  
  background: -o-linear-gradient(90deg, #3498db 1%, #fff 1%);  
  background: linear-gradient(90deg, #3498db 1%, #fff 1%);  
}

.obramandat-faqs .blue:hover {
  background: -webkit-linear-gradient(90deg, #3498db 100%, #fff 5%);  
  background: -moz-linear-gradient(90deg, #3498db 100%, #fff 5%);  
  background: -o-linear-gradient(90deg, #3498db 100%, #fff 5%);  
  background: linear-gradient(90deg, #3498db 100%, #fff 5%);  
  color: black !important;
}

.obramandat-faqs .red {
  color: black !important;
  background: -webkit-linear-gradient(90deg, #e74c3c 1%, #fff 1%);  
  background: -moz-linear-gradient(90deg, #e74c3c 1%, #fff 1%);  
  background: -o-linear-gradient(90deg, #e74c3c 1%, #fff 1%);  
  background: linear-gradient(90deg, #e74c3c 1%, #fff 1%);  
}

.obramandat-faqs .red:hover {
  color: black !important;
  background: -webkit-linear-gradient(90deg, #e74c3c 100%, #fff 5%);  
  background: -moz-linear-gradient(90deg, #e74c3c 100%, #fff 5%);  
  background: -o-linear-gradient(90deg, #e74c3c 100%, #fff 5%);  
  background: linear-gradient(90deg, #e74c3c 100%, #fff 5%); 
}

.obramandat-faqs .yellow {
  color: black !important;
  background: -webkit-linear-gradient(90deg, #f1c40f 1%, #fff 1%);  
  background: -moz-linear-gradient(90deg, #f1c40f 1%, #fff 1%);  
  background: -o-linear-gradient(90deg, #f1c40f 1%, #fff 1%);  
  background: linear-gradient(90deg, #f1c40f 1%, #fff 1%); 
}

.obramandat-faqs .yellow:hover {
  color: black !important;
  background: -webkit-linear-gradient(90deg, #f1c40f 100%, #fff 5%);  
  background: -moz-linear-gradient(90deg, #f1c40f 100%, #fff 5%);  
  background: -o-linear-gradient(90deg, #f1c40f 100%, #fff 5%);  
  background: linear-gradient(90deg, #f1c40f 100%, #fff 5%); 
}

.obramandat-faqs .green {
  color: black !important;
  background: -webkit-linear-gradient(90deg, #2ecc71 1%, #fff 1%);  
  background: -moz-linear-gradient(90deg, #2ecc71 1%, #fff 1%);  
  background: -o-linear-gradient(90deg, #2ecc71 1%, #fff 1%);  
  background: linear-gradient(90deg, #2ecc71 1%, #fff 1%); 
}

.obramandat-faqs .green:hover {
  color: black !important;
  background: -webkit-linear-gradient(90deg, #2ecc71 100%, #fff 5%);  
  background: -moz-linear-gradient(90deg, #2ecc71 100%, #fff 5%);  
  background: -o-linear-gradient(90deg, #2ecc71 100%, #fff 5%);  
  background: linear-gradient(90deg, #2ecc71 100%, #fff 5%); 
}

.obramandat-faqs .card-body {
  background: #fff;
  margin-bottom: 10px;
  border-radius: 0;
  padding: 20px !important;
  -webkit-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  -moz-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
}

.obramandat-faqs button[aria-expanded="true"] .fa {
  color: #000 !important;
}
.obramandat-faqs .myaccordion .fa {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.3);
}

.obramandat-faqs .myaccordion .fa {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.3);
}

.obramandat-faqs [data-toggle="collapse"].collapsed .fa:before {
  content: "\f067";
  font-family: "FontAwesome";
  font-style: normal;
}

.obramandat-faqs [data-toggle="collapse"] .fa:before {
  content: "\f068";
  font-family: "FontAwesome";
  font-style: normal;
}

.obramandat-faqs .img {
  height: 450px;
  -webkit-box-shadow: 0px 8px 21px -10px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0px 8px 21px -10px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 8px 21px -10px rgba(0, 0, 0, 0.12);
}

/* RECURSOS AJUNTAMENT */

.btn-img_corporativa {
  background-color: #fcedf0;
  border-radius:8px;
  border: #961e2b 1px solid;
  color: #9a2323;
}

.btn-img_corporativa:hover {
  background-color: #961e2b;
  border-radius:8px;
  border: #fcedf0 1px solid;
  color: #fcedf0;
}