html {
	position: relative;
	min-height: 100%;
}

body {
  	margin-bottom: 100px;
	font-size: 17px;
}

.container-theme {
	width: 100%
}

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100px;
	background-color: #6a6a6a;
	padding: 30px;
	background-color: #333;
}

#footer a {
	color: #fff;
	text-decoration: none;
}
#footer a:hover,
#footer a:focus {
	color: #ddd;
	text-decoration: underline;
}
#footer a:focus {
	  outline: thin dotted;
	  outline: 5px auto -webkit-focus-ring-color;
	  outline-offset: -2px;
}

.theme {
  padding: 40px 15px 50px 15px;
  text-align: center;
}

.themeabout {
  padding: 40px 15px 50px 15px;
}

.bg-theme-2a {
  border-top: 2px solid #CCC;
}

.theme-estret {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
}

ul.llistes-recursos {
	font-size: 17px;
	width: 50%;
	margin: 0 auto;
}

ul.llistes-recursos li {
	list-style-type: square;
	line-height: 30px;
}



/* Media queries */

/* Molt petit */
@media(max-width:767px){
	h1#imatgeprincipal { visibility: visible !important;}
	h1#img-imatgeprincipal img { visibility: hidden !important; display:inline !important; height: 0 !important;}
	.theme { padding: 40px 5px 10px 5px; text-align: center; margin: 0;}
	.materials {width: 97% !important;}
	ul.llistes-recursos { font-size: 14px; width: 99%;}
	.theme-estret { width: 99%;}
	

}


/* Petit */
@media(min-width:768px) and (max-width:991px){
	h1#imatgeprincipal { visibility: visible !important;}
	h1#img-imatgeprincipal img { visibility: hidden !important; display:inline !important; height: 0 !important;}
	.theme { padding: 40px 5px 10px 5px; text-align: center; margin: 0;}
	.materials {width: 97% !important;}
	ul.llistes-recursos { font-size: 14px; width: 97%;}
	ul.llistes-recursos { font-size: 14px; width: 99%;}
	.theme-estret { width: 99%;}

}

/* Mitjà */
@media(min-width:992px) and (max-width:1199px){

}

/* Gran */
@media(min-width:1200px){}