header {
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  position: relative;
}
header .logo {
  max-width: 300px;
}
header .logo img {
  width: 100%;
  height: auto;
  display: block;
}

header .logo a.responsive img {
  max-width: 180px;
  max-width: 11.25rem;
  margin: auto;
}
header .menu_capcalera span {
  background-color: unset !important;
}

.menu_principal > .wrapper {
  background: #0060aa;
}
.menu_principal > .wrapper:before,
.menu_principal > .wrapper:after {
  border-color: #0060aa;
}
.menu_principal > .wrapper > .inner_wrapper > ul > li.actiu,
.menu_principal > .wrapper > .inner_wrapper > ul > li .submenu .wrapper {
  background: #004377;
}
.menu_principal > .wrapper > .inner_wrapper > ul > li.actiu > a:after {
  background: #004377;
}
.menu_principal .columna h2 a {
  color: #f4ae08 !important;
}
.menu_principal .columna li a:hover,
.menu_principal .columna a.actiu {
  background: #007ddd !important;
}
#contingut,
.modul_fil_ariadna {
  background: rgba(255, 255, 255, 0.95);
  padding: 0 10px;
  padding: 0 0.625rem;
  margin: auto;
  max-width: 1140px;
  max-width: 71.25rem;
  z-index: 1;
  position: relative;
}
#contingut {
  background: none;
  padding: 0;
}
#contingut #titol_pagina h1 {
  font-size: 45px;
  font-size: 2.8125rem;
  line-height: 50px;
  line-height: 3.125rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
  padding: 80px 0;
  padding: 5rem 0;
  font-weight: 500;
  float: none;
  display: block;
  width: 100%;
}
#contingut #titol_pagina .compartir_pagina {
  float: right;
  display: inline-block;
  width: auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  margin-bottom: 40px;
  margin-right: -20px;
}
.modul {
  background: rgba(255, 255, 255, 0.95);
}

.modul .wrapper {
	padding: 0 10px; 
	padding: 0 0.625rem;
}

.modul.modul_destacats_home,
.modul.modul_titol {
    background: none;
}

.modul_fil_ariadna {
  padding: 18px 10px 13px;
  padding: 1.125rem 0.625rem 0.8125rem;
}
li.cercador a span:last-child {
    display: block;
}
.modul_navegacio.amb_cerca #buto_cercador a {
  background: none;
}
.modul_resultats_cerca .gsc-search-button-v2,
.modul_resultats_cerca .gsc-search-button-v2:hover,
.modul_resultats_cerca .gsc-search-button-v2:focus,
.modul_resultats_cerca .gsc-control-cse,
.modul_resultats_cerca input.gsc-input,
.modul_resultats_cerca .gsc-input-box,
.modul_resultats_cerca .gsc-input-box-hover,
.modul_resultats_cerca .gsc-input-box-focus,
.modul_resultats_cerca .gsc-webResult.gsc-result,
.modul_resultats_cerca .gsc-results .gsc-imageResult,
.modul_resultats_cerca .gsc-results .gsc-cursor-box .gsc-cursor-page {
  background-color: transparent !important;
  border: none !important;
}
.modul_resultats_cerca .modul_resultats_cerca .gsc-tabhInactive {
  background: none !important;
}
.modul_resultats_cerca .gsc-search-box {
  background: #fff !important;
}
footer {
  background: #fff;
  padding: 35px 0;
  padding: 2.1875rem 0;
  margin: auto;
  max-width: 100%;
  opacity: 0.95;
  margin-top: 60px;
  margin-top: 3.75rem;
}
footer .columna {
  color: #00459a;
}
footer .columna a {
  color: #00459a;
  text-decoration: none;
}
footer .columna a:hover {
  color: #00459a;
  text-decoration: underline;
}
footer .columna:last-child {
  width: 100%;
}
footer .columna.columna_cap {
  width: 100%;
}
footer .columna.columna_contacte {
	box-sizing: border-box;
    width: 50%;
    padding: 0 20px 20px;
    margin: 0;	
}
footer .columna.columna_contacte > div {
    padding: 20px;
    background: #EEEEEE;
	text-align: center;
}
	
footer .columna.columna_contacte ul li {
    padding-left: 0;
}

footer .columna:last-child a,
footer .columna:last-child img {
  display: block;
}
footer .columna:last-child a {
  color: #00459a;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-size: 0.625rem;
  line-height: 10px;
  line-height: 0.625rem;
  font-weight: 500;
  font-family: Montserrat;
  letter-spacing: 0;
}
footer .columna:last-child a:hover {
  text-decoration: underline;
}

footer .columna:last-child li {
  display: inline-block;
  margin: 0;
}
footer .columna:last-child > ul {
  width: 100%; 
  height: auto; 
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-evenly;  
}
footer .columna:last-child > ul > li {
/*  margin-left: 40px;
  margin-left: 2.5rem; */
  width: 18%; 
}
footer .columna:last-child img {
/*  max-width: 20%; */
  width:100%;
  height: auto;
  margin-top:auto;
  margin-bottom:auto;
}
#foot_img_2, #foot_img_4, #foot_img_5, #foot_img_7 {
/*  margin-left: 40px;
  margin-left: 2.5rem; */
  width: 8%; 
}
#foot_img_6 {
  width: 16%; 
}
footer .columna:last-child .menu {
  padding-top: 10px;
  padding-top: 0.625rem;
  width: 100%;
  margin-left: 0px;
  margin-left: 0rem; 
}
footer .columna:last-child .menu > ul > li {
  border-color: #00459a;
  margin-top: 10px;
  margin-top: 0.625rem;
}
footer .columna:last-child .menu > ul > li.social span:before {
  background: #00459a;
  color: #fff;
}
footer .columna:last-child .menu > ul > li.social a:hover span:before {
  background: #005ccd;
}
#contingut {
  background: none;
  padding: 0;
/*  max-width: 100%; */
}
body.home #contingut #titol_pagina {
  display: block !important;
}
body.home #contingut #titol_pagina h1 {
  font-size: 100px;
  font-size: 6.25rem;
  line-height: 100px;
  line-height: 6.25rem;
  font-weight: 600;
  margin-bottom: 82px;
  margin-bottom: 5.125rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
  padding: 80px 0;
  padding: 5rem 0;
}
.modul .titol_modul {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
}

/* per a Directori */
.modul_contingut h2.titol_modul,
.modul.modul_enllacos_destacats .titol_modul {
  color: #000;
  font-weight: 300;
  text-shadow: none;
}

.modul.amb_barres {
  border: none;
}
.modul.modul_pestanyes {
  background: none;
}
.modul_agenda ul.items {
  margin-top: -10px;
  margin-top: -0.625rem;
}
.modul_agenda ul.items > li a {
  padding: 10px;
  padding: 0.625rem;
  background: #fff;
}
.modul_agenda ul.items > li:before {
  display: none;
}
.modul_destacats_home {
  padding: 80px 0;
  padding: 5rem 0;
  background: none;
}

/* Afegits Vilanova: imatges de fons */

	#fons.owl-carousel div:not(.owl-controls) {
	  height: 100%;
	}
	#fons.owl-carousel .item {
	  background-repeat: no-repeat;
	  background-size: cover;
	  background-position: center;
	}
	
	#fons_magatzem{
		display:none;
	}

/* Fi Afegits Vilanova: imatges de fons */
	
/* Afegits Vilanova: fons_color */

.modul.fons_color {
	background: #00459a66;
}

.modul.modul_equip.fons_color ul.items {
	color: rgb(0,0,0);
}

.modul.fons_color .caixes.caixes_grans li a,
 .modul.fons_color .caixes.caixes_mitjanes li a 
, .modul.fons_color .caixes.caixes_petites li a {
  background-color: #ffffff;
  color: #00459a;

}

.modul_destacats_home .items li a,
.modul_destacats_home .items li > div {
  color: #333333;
  background: #fff;
}

.modul_destacats_home .items li a:hover {
  color: #fff;
  background: #00459a;
}

.modul.fons_color .caixes.caixes_grans li a:hover,
.modul.fons_color .caixes.caixes_mitjanes li a:hover ,
.modul.fons_color .caixes.caixes_petites li a:hover,
/* .modul.modul_equip.fons_color ul li a:hover, */
.modul.modul_destacats_home.fons_color .items li a:hover  {
  background: #005ccd;
  color: #ffffff;
}



.modul_enllacos.fons_color ul li a {
  color: #ffffff;
}
.modul_enllacos.fons_color ul li a:hover {
  color: #cccccc;
}


.fons_color .text_html a {
	color: #ffffff;
}

.modul.bloc_modul_fons_color .titol_modul, .modul.modul_actes .titol_modul,
.modul.bloc_modul_fons_color .veure_mes a, .modul.modul_actes .veure_mes a{
    color: #000;
    font-weight: 300;
    text-shadow: none;
}


/* Fi Afegits Vilanova: fons_color */

/* Afegits Vilanova: fore_gris */

.modul_destacats_home.fore_gris {
    padding: 0;
}
.modul_enllacos_destacats.fore_gris ul li a
{
    background: #f2f2f2 !important;
    color: #000000 !important;
    font-weight: normal !important;
}

.modul.modul_destacats_home.fore_gris {
	background: rgba(255, 255, 255, 0.95);
}
.modul_enllacos_destacats.fore_gris ul li a:hover,
.modul.modul_destacats_home.fore_gris .items li a:hover
{
    background: #d9d9d9 !important;
	color: #000000 !important;
}

.modul_enllacos_destacats.fore_gris ul li a span[class^=icon-]/*.icon-attach*/
{
    float: left !important;
}

/* Fi Afegits Vilanova: fore_gris */

/* Afegits Vilanova: fore_or */
.modul_enllacos_destacats.fore_or ul li a,
.modul.modul_destacats_home.fore_or .items li a,
.modul.modul_destacats_home.fore_or .items li > div,
.modul.modul_contingut.fore_or
{
    background: #f4ae08 !important;
    color: #FFFFFF !important;
    font-weight: normal !important;
}

.modul_enllacos_destacats.fore_or ul li a:hover,
.modul.modul_destacats_home.fore_or .items li a:hover
{
    background: #bb860a !important;
	color: #FFFFFF !important;
}

.modul_enllacos_destacats.fore_or ul li a span[class^=icon-]/*.icon-attach*/
{
    float: left !important;
}

/* Fi Afegits Vilanova: fore_or */
.modul_destacats_home .titol_modul {
  font-size: 50px;
  font-size: 3.125rem;
  line-height: 27px;
  line-height: 1.6875rem;
  margin-bottom: 20px;
  margin-bottom: 1.25rem;
  padding: 0 10px;
  padding: 0 0.625rem;
  font-weight: 300;
  padding-top: 25px;
  padding-top: 1.5625rem;
}
.modul_destacats_home .items {
  margin: 0 -21px;
  margin: 0 -1.3125rem;
}
.modul_destacats_home .items li {
  padding: 21px;
  padding: 1.3125rem;
  margin: 15px 0;
  margin: 0.9375rem 0;
}
.modul_destacats_home a {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  padding: 0.625rem;
}
.modul_destacats_home a:hover {
  background: rgba(0, 69, 154, 0.95);
}

.veure_mes a {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.95);
}
@media only screen and (max-width: 500px) {
  footer {
    text-align: center;
  }
  footer .columna {
    padding: 0 !important;
    display: block;
  }
  footer .columna > ul {
    display: inline-block;
  }
  footer .columna:last-child {
    text-align: center;
  }
  footer .columna:last-child > ul > li {
    display: block;
    margin: 20px 0;
    margin: 1.25rem 0;
  }
  footer .columna:last-child > ul > li img {
    display: block;
    margin: auto;
  }
  footer .columna:last-child > ul > li.menu .social {
    display: block;
    padding-top: 20px;
    padding-top: 1.25rem;
  }
}

/* botó comprar entrades */
.modul_contingut .text .resum a.buto {
    color: #ffffff!important;
}
/* Fi botó comprar entrades */