/* Variables */
:root{
	--primary-color:#5d6f87;
	--secondary-color:#5d6f87;
	--secondary-color-light:#D4DCE8;
}
/* FI Variables */

/* Globals */
body{
	font-family: 'Source Sans Pro';
	font-size: 20px;
	color: var(--primary-color);
	margin: auto;

}
a:link, a:visited {
  color: var(--primary-color);
}
li{
	list-style-type: none;
}
h2{
	font-size: 25px;
	font-weight: 700;
	margin: 0;
	margin-top:10px;
	margin-bottom:10px;
}
h3{
	margin:0px;
}
input{
	font-family: 'Source Sans Pro';
	font-size: 20px;
	height: 30px;
	box-sizing: border-box;
	border: 3px solid var(--secondary-color-light);
	width: 100%;
	color: var(--primary-color);
}
input::placeholder {
    color: var(--secondary-color-light);
}
input[type="search"] {
	padding-left: 40px;
	background: url("../images/magnifier.png") no-repeat left;
	background-size: 30px;
	opacity: 0.5;
}
input[type="checkbox"] {
	width:15px;
	height:15px;
}
input[type="search"]:focus {
	opacity: 1;
}

input[type="text"], input[type="password"]{
	border: none;
	border-bottom: 2px solid var(--primary-color);
}
/* FI Globals*/

/* Classes Auxiliars */
.text-serif{
	font-family: 'Source Serif Pro';
}
.hidden{
	display: none;
}
.nota-al-peu{
	font-size:15px;
	font-family: 'Source Serif Pro';
}
/* FI Classes Auxiliars */

/* Header */
.header-wrapper{
	width: 100%;
}
@media screen and (min-width: 768px) {
	.header-wrapper{
		width: 1200px;
		margin: auto;
		position: relative;
	}
}
.header-top-bar{
	height: 10px;
	background-color: var(--primary-color);
}
.header-top-logo{
	margin: 0;
}
@media screen and (min-width: 768px) {
	.header-top-logo{
		width: 50%;
		display: table-cell;
	}
}
.header-top-logo-image{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}
.header-nav-bar{
	background-color: var(--secondary-color-light);
}
@media screen and (min-width: 768px) {
	.header-nav-bar{
		display: table-cell;
		width: 50%;
		vertical-align: middle;
	}
}
.header-menu{
	margin: 0;
	padding: 5px;
}
.header-menu > li{
	list-style-type: none;
	display: table-cell;
    text-align: center;
}
.header-menu-icon{
	margin: 0;
	width: 50%;
}
/* FI Header */

/* Article */
.article-wrapper{
	width: 100%;
}
.article-section{
	padding: 20px;
	padding-top: 0;
}
@media screen and (min-width: 768px) {
	.article-wrapper{
		width: 1200px;
		margin: auto;
		position: relative;
	}
}
/* FI Article */

/* Footer */
.footer-wrapper{
	width: 100%;
	background-color: var(--primary-color);
	color:var(--secondary-color-light);
	position:relative;
	margin:auto;
	font-size:15px;
	clear:left;
}
.footer-wrapper a:link, .footer-wrapper a:visited{
	color:var(--secondary-color-light);
}
@media screen and (min-width: 768px) {
	.footer-wrapper{
		width: 1200px;
		margin: auto;
		position: relative;
		font-size:20px;
	}
}
.footer-menu-wrapper{
	width:50%;
	float:left;
}
.footer-menu-content{
	margin: auto;
	width: fit-content;
	padding:15px;
}
.footer-menu-content > ul{
	margin-top : 0;
	color: var(--secondary-color-light);
	list-style-type: none;
}
.footer-info-wrapper{
	float:left;
	width:50%;
}
.footer-info-content{
	margin: auto;
	width: fit-content;
	padding: 15px;
}
.footer-name-wrapper{
	width:100%;
	clear: left;
}
.footer-name-content{
	margin: auto;
	width: fit-content;
	font-size: 20px;
	padding: 20px;
}
.footer-info-content-image{
	width: 50px;
}
/* FI Footer*/


/* Inicialitzem amb display:none ja que a la versió mòbil no volem que es vegi */
#article-inici-section-imatge, .article-inici-section-cercador-label{
	display:none;
}

/* A la versió escriptori els mostrem i els aliniem amb float i clear */
@media screen and (min-width: 768px) {
	#article-inici-section-cercador{
		float:left;
		width:45%;
	}
	#article-inici-section-imatge{
		display: block;
		float:left;
		width: 45%;
	}
	#article-inici-section-novetats{
		clear:left;
	}
	.article-inici-section-imatge-imatge{
		padding:20px;
		width: 100%;
	}
	.article-inici-section-cercador-label{
		display:block;
		padding:10px;
	}		
}

/* Propietats perquè el div empleni cap a la dreta, en comptes d'avall
   i també perquè el contingut sigui scrollable, en comptes d'allargar el div */
#article-inici-section-novetats-slider-wrapper,#article-inici-section-populars-slider-wrapper{
	width: 100%;
    overflow: auto;
	overflow-x: visible;
	overflow-y: hidden;
    height: 200px;
    white-space:nowrap;
}
.article-inici-section-novetats-slider-wrapper-objecte{
    width:auto;
    height:150px;
    display:inline-block;
    margin-right:10px;
    color:#888;
	padding: 20px;
}
.article-inici-section-novetats-slider-item{
	height: 100%;
}

/* Pàgina de fer-se soci, mediaqueries per escrpitori */
@media screen and (min-width: 768px) {
	#article-soci-form-soci{
		float:left;
		width:45%;
	}
	#article-soci-form-dades{
		float:left;
		width:45%;
	}
	#article-soci-form-imatge{
		float:left;
		width:45%;
	}
	#article-soci-form-dni-imatge{
		float:left;
		width:45%;
	}
}
#article-soci-form-send{
	text-align: center;
}
#article-soci-form-send-button{
	width:50px;
	height:50px;
	border:none;
	margin:20px;
}

/* FI Fer-se soci */

/* Qui Som */
#article-quisom-section-labiblio-imatge-div{
	width:100%;
	text-align: center;
	padding-top: 20px;
}
#article-quisom-section-labiblio-imatge{
	width:80%;
}

#article-quisom-section-lequip{
	height:fit-content;
}

.article-quisom-section-lequip-fitxa{
	width: 100%;
}
.article-quisom-section-lequip-fitxa-foto{
	width:100%;
	text-align: center;
}
.article-quisom-section-lequip-fitxa-foto-generica{
	width:60%;
	margin-top:40px;
}
.article-quisom-section-lequip-fitxa-persona{
	width:100%;
	text-align: center;
}

#article-quisom-section-comarribar-img-div{
	width:100%;
	text-align:center;
}

#article-quisom-section-comarribar-img{
	width:80%;
}
.article-quisom-section-comarribar-list-ul{
	font-family: 'Source Serif Pro';
}
.article-quisom-section-comarribar-list-ul > li{
	margin:10px;
	list-style-type: square;
}
@media screen and (min-width: 768px) {
	.article-quisom-section-lequip-fitxa{
		width: 50%;
		float:left;
		margin-bottom:40px;
	}
	#article-quisom-section-comarribar-img-div{
		width: 50%;
		float:left;
	}
	#article-quisom-section-comarribar-img{
		margin-bottom:40px;
	}
}
/* FI Qui som */

/* Catàleg */
.article-cataleg-section-filtres-button{
	width:30px;
	float:left;
	margin-right:10px;
}

#article-cataleg-section-filtres-div{
	display:none;
}

@media screen and (min-width: 768px) {
	#article-cataleg-section-filtres-button-id{
		display:none;
	}
	#article-cataleg-section-filtres-div{
		display:block;
	}
	#article-cataleg-section-filtres{
		float:left;
	}
	
	#article-cataleg-section-novetats,#article-cataleg-section-populars{
		float:left;
		width:75%;
	}
}
/* FI Catàleg */