/* RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* FINAL DEL RESET */

body, div, form, ul, li, img, a, h1, h2, h3, h4, header {
	margin: 0px;
	padding: 0px;
}

body {
	width: 100%;  
  	font-size: 11pt;
	font-family: 'Arial', sans-serif;
	background-image: url('images/fondo.gif'); 
	background-repeat: repeat-y;
	background-position: left top;
	background-color: #003342;
	line-height: 125%; 
}

hr {
	margin-top: 20px;
	margin-bottom: 20px;
	border-style: solid;
	border-width: 2px;
}

h1 {
	margin-bottom: 15px;
	font-weight: bold;
}

a {
	color: #003342;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a:visited {
	color: #003342;
}

address {
	font-size: 10px;
	margin: 12px;
	padding: 10px; 
	text-align: left;
	border-width: 1px;
	border-style: solid;
	border-radius: 12px;
	border-radius: 12px;
}

/* ----------------------------------------------------------------------------------- */
/* CLASSES --------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

.bold {
	font-weight: bold;
}

.circle {
	list-style-type: circle;
}

.error {
	color: red;
}

.error404 {
	margin: 25px;
	color: #325A69;
	font-size: 300%;
	line-height: 150%;
}

.error404 a {
	color: #FFFFFF;
}

.escola * {
	border-color: #FFBF00;
}

.organitzacio * {
	border-color: #4DAAD7;
}

.serveis * {
	border-color: #C31B2E;
}

.activitats * {
	border-color: #66A825;
}

.documents * {
	border-color: #F86414;
}

.enllacos * {
	border-color: #8C3770;
}

.jocs * {
	border-color: #A6C117;
}

.imatge, .document {
	text-align: center;
	margin-bottom: 15px;
}

.imatge img {
	border-style: solid;
	border-width: 1px;
	border-radius: 12px;
}

.document img {
	display: block;
	margin: 0 auto;
}

.imatge span, .document span {
	font-size: 10px;
	font-weight: bold;
}

/* ----------------------------------------------------------------------------------- */
/* IDENTIFICADORS -------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

div#body {
	margin: 0 auto;
	width: 1060px;
	text-align: center;
}

div#header {
	height: 385px;
}

div#banner {
	height: 273px;
	background-image: url('images/banner.png'); 
	background-repeat: no-repeat;
	background-position: center top;
}

div#title {
	height: 155px;
	background-image: url('images/titol.png'); 
	background-repeat: no-repeat;
	background-position: center top;
	position: relative;
	top: -51px;
}

div#main {
	margin: 0 auto;
	clear: both;
	width: 830px;
}

div#content {
	width: 830px;
	background-image: url('images/basecontingut.png'); 
	background-repeat: repeat-y;
	background-position: top center;
	display: inline-block;
	padding-top: 12px;
}

div#partEsquerra {
	float: left;
	width: 180px;
	margin-left: 35px;
	margin-bottom: 12px;
}

div#partCentre {
	float: left;
	width: 400px;
	text-align: left;
	padding-left: 17px;
	padding-right: 10px;
	margin-bottom: 12px;
}

div#partDreta {
	float: left;
	width: 160px;
	text-align: center;
}

div#partCentreDreta {
	float: left;
	width: 560px;
	text-align: left;
	padding-left: 17px;
	padding-right: 10px;
	margin-bottom: 12px;
}

div#partTotal {
	width: 740px;
	text-align: left;
	padding-left: 17px;
	padding-right: 10px;
	margin-bottom: 12px;
	margin: 0 auto;
}

object#mapa {
	width: 400px;
	height: 300px;
}

object#calendari {
	width: 100%;
	height: 500px;
	margin-top: 25px;
	margin-bottom: 25px;
}

div#footer {
	margin: 0 auto;
	width: 800px;
	color: #FFFFFF;
	font-size: 75%;
}

div#footer ul#standarts, div#footer ul#firmes {
	margin: 10px;
	display: inline-block;
}

div#footer ul#standarts a, div#footer ul#firmes a {
	color: #FFFFFF;
	text-decoration: none;
}

div#footer ul#standarts a:hover, div#footer ul#firmes a:hover {
	text-decoration: underline;
}

div#footer ul#standarts {
	float: left;
	width: 375px;
}

div#footer ul#firmes {
	float: right;
	width: 375px;
	text-align: right;
}
