/*-----------------------------------------------------------------------------
Matadepera Turisme Style Sheet
-----------------------------------------------------------------------------*/

/* =General
-----------------------------------------------------------------------------*/
/* Remove padding and margin */
* {
	margin: 0;
	padding: 0;
}

/* Class for clearing floats */
.clear {
	clear: both;
}

.hide {
	display: none;
}

/* Remove border around linked images */
img { border: 0; }

body {
	font: 62.5%/1.6 Arial, Helvetica, sans-serif;
	background: #fff;
}

.alignLeft { text-align: left; }
.alignCenter { text-align: center; }
.alignRight { text-align: right; }
.alignMidde { vertical-align: middle; }

.picturePlaceHolder {
	color: #aaa;
	background: #eee;
	border: 1px solid #ddd;
	margin: 10px 0;
	padding: 20px;
}

.warning {
	color: #ff0000;
	background: #FFFFCC;
	border: 1px dashed #ff0000;
	margin: 10px 0;
	padding: 20px;
}

.noMargin {	margin: 0 !important; }

.asBlock { display: block; }

.negro {
	color: #000;
}

/* =Layout
-----------------------------------------------------------------------------*/
#wrapper {
	width: 952px;
	margin: 0 auto;
}

#header {
	width: 952px;
	height: 160px;
	background: #fff url(../img/bkg_head_01.jpg) no-repeat top left;
}

#headerSection {
	width: 790px;
	height: 75px;
}

	#headerInfo {
		width: 142px;
		height: 160px;
		background: #fff url(../img/img_logo_mtdpTur.gif) no-repeat bottom right;
		float: right;
	}
	
	#headerBotones {
		width: 790px;
		height: 120px;
		margin: 0 20px 0 0;
		padding: 20px 0;
		float: right;
	}


#content {
	width: 790px;
	margin: 0 0 20px 0;
	float: left;
}

	#contentInterior {
		width: 628px;
		margin: 0 0 20px 0;
		float: right;
	}

		.divContentInterior {
			width: 628px;
			border-bottom: 1px solid #e9e9e9;
		}
			.llocsInteresDetalle, .rutesDetalle {
				color: #00841C;
			}
			
		
		.divContentInteriorNoB {
			width: 628px;
		}
			
			.divContentInterior .info, .divContentInteriorNoB .info {
				width: 446px;
				padding: 10px 0;
				float: left;
			}
		
			.divContentInterior .picture, .divContentInteriorNoB .picture {
				width: 162px;
				margin: 0 0 10px 0;
				float: right;
			}
			
			.divContentInterior .menu, .divContentInteriorNoB .menu {
				width: 162px;
				margin: 10px 0;
				float: right;
			}

			.divContentInterior .menuDestacado, .divContentInteriorNoB .menuDestacado {
				width: 142px;
				background: #D2DFD5;
				padding: 0 10px 10px 10px;
			}

			.divContentInterior .rutesInfo, .divContentInteriorNoB .rutesInfo {
				width: 446px;
				padding: 20px 0;
				float: left;
			}

			.divContentInterior .rutesOtraInfo, .divContentInteriorNoB .rutesOtraInfo {
				width: 162px;
				padding: 0 0 20px 0;
				float: right;
			}
			
				.rutesOtraInfo .itineraris {
					background: #e9e9e9;
					padding: 10px;
				}

	#mainContent {
		width: 466px;
		float: right;
	}
	
		#llocsInteres {
			background: #E9E9E9;
			padding: 0 0 10px 0;
		}
		
		#rutesItineraris {
			margin: 10px 0 0 0;
			padding: 0 0 10px 0;
		}
			
			.rutesItinA {
				width: 155px;
				border-right: 1px solid #E9E9E9;
				float: left;
			}
			
			.rutesItinB {
				width: 154px;
				float: left;
			}
			
			.rutesItinLinks {
				width: 466px;
				background: #E9E9E9;
				clear: both;
			}
			
		#fotosColumnas {
			margin: 10px 0 0 0;
			padding: 0 0 10px 0;
		}
			.fotosFila {
				margin: 0 0 20px 0;
			}
			
			.fotosColumnasA {
				width: 120px;
				margin: 0 20px 0 0;
				float: left;
			}
			
			.fotosColumnasB {
				width: 142px;
				float: left;
			}
				
	#secondaryContent {
		width: 303px;
		float: left;
	}

		#secondaryContentInterior {
			width: 303px;
			margin: 20px 0 0 0;
			float: left;
		}
	
		#elPoble {
		}
		
		#serveis {
			margin: 30px 0;
			padding: 0 0 20px 0;
		}
		
		#secondaryContent .banners {
			margin: 30px 0;
		}
		
		#secondaryContent .cercador, #secondaryContentInterior .cercador {
			background: #e9e9e9;
			margin: 0 0 20px 0;
		}
		
		#secondaryContent .cercadorContent, #secondaryContentInterior .cercadorContent {
			padding: 10px;
		}
		
		#llocsList {
			background: #e9e9e9;
			margin: 0 0 20px 0;
			padding: 10px;
		}
		
		#rutesList {
			background: #e9e9e9;
			margin: 0 0 20px 0;
			padding: 15px;
		}
		
		#rutesMap {
			background: #e9e9e9;
			padding: 20px 0 0 0;
			margin: 0 0 20px 0;
		}
		
		.rutesMapInfo {
			background: #00841C;
			padding: 10px;
		}
	
	
	#tertiaryContent {
		width: 142px;
		float: right;		
	}
	
		#tertiaryContentInterior {
			width: 142px;
			margin: 20px 0 0 0;
			float: right;		
		}
		
		#tertiaryContentInterior .menuSection {
			margin: 50px 0;
		}
	
		#agenda {
			margin: 44px 0 0 0;
		}
			#agendaInterior {
				margin: 0;
			}
		
			.agendaEvento {
				padding: 5px 0;
				border-bottom: 1px solid #B09B00;
			}
			
				#agendaInterior .agendaEvento {
					padding: 15px 0;
					border-bottom: 1px solid #eee;
				}
				
				#agendaInterior .agendaEvento {
					padding: 15px 0;
					border-bottom: 1px solid #eee;
				}
			
			.agendaLinks {
				background: #B09C00;
				padding: 5px 10px;
			}

#banners {
	margin: 20px 0 20px 0;
}

	#banners img {
		margin: 0 0 10px 0;
	}

#footer {
	width: 912px;
	height: 32px;
	background: #e4e4e4 url(../img/bkg_footer_01.gif) no-repeat top left;
	padding: 0 10px 0 30px;
	margin: 20px 0 10px 0;
	clear: both;
}
	#footer .info {
		padding: 10px;
		float: left;
	}
	
	#footer .links {
		padding: 10px;
		float: right;
	}

/* =Tipography
-----------------------------------------------------------------------------*/
p {
	font-size: 1.2em;
	margin: 1em 0 0.5em 0;
}
	.divContentInterior p, .divContentInteriorNoB p {
		font-size: 1.1em;
	}

	#headerInfo p {
		font-size: 1em;
		text-align: right;
	}
	
	#headerBotones p {
		margin: 0;
	}

	#footer p {
		font-size: 1.1em;
		line-height: 100%;
		margin: 0;
	}
	
	#footer .links p {
		text-align: right;
	}
	
	.cercador p {
		font-size: 1.1em;
	}
	
	#rutesItineraris p {
		color: #3B3B3B;
		font-size: 1.1em;
		line-height: 130%;
		margin: 0.5em 0 0.5em 0;
		padding: 0 10px;
	}

	.rutesItinLinks p {
		font-size: 1.2em !important;
		padding: 10px !important;
	}
	
	.agendaEvento p, .agendaLinks p {
		font-size: 0.9em !important;
		margin: 0 !important;
	}
	
	#agendaInterior .agendaEvento p, #agendaInterior .agendaLinks p {
		font-size: 1.2em !important;
		margin: 0 !important;
	}
	
	.agendaLinks p {
		color: #fff;
	}
	
	.agendaEvento p.fecha {
		color: #B09C00;
	}
	
	.rutesDetalle p {
		margin: 0 0 0.5em 0;
	}
	
	.rutesMapInfo p {
		color: #fff;
		font-size: 1.1em;
		margin: 0;
	}
	
	#rutesList p {
		margin: 0 0 1em 0;
	}
	
	p.pequeno {
		font-size: 1.1em;
		margin: 0.2em 0;
	}

h2 {
	font-size: 1.6em;
}

	#llocsList h2 {
		font-size: 1.3em;
		font-weight: bold;
		text-transform: uppercase;
		margin: 0 0 0.5em 0;
	}
	
	.rutesOtraInfo h2 {
		color: #000;
		font-size: 1.2em;
		font-weight: bold;
		margin: 0 0 0.5em 0;
	}
	

h3 {
	font-size: 1.3em;
	margin: 1em 0 0.5em 0;
}

	#llocsList h3 {
		color: #00841C;
		font-size: 1.3em;
		font-weight: normal;
		text-transform: uppercase;
		margin: 0.5em 0 0.2em 1em;
	}

	.divContentInterior .menu h3, .divContentInteriorNoB .menu h3 {
		color: #00841C;
		font-size: 1.2em;
		font-weight: normal;
		margin: 1em 0 0 0;
		text-transform: uppercase;
	}

	#rutesItineraris h3 {
		color: #B09B00;
		font-size: 1.2em;
		margin: 0.5em 0 0.5em 0;
		padding: 0 10px;
	}
	
	.rutesDetalle h3 {
		font-weight: normal;
		margin: 1em 0 0.5em 0;
	}
	
	.rutesOtraInfo h3 {	
	}
	
	#rutesList h3 {
		margin: 0.5em 0;
		padding: 0;
	}

h4 {
	font-size: 1.1em;
	margin: 0.5em 0 0.5em 0;
}

	#rutesList h4 {
		color: #00841C;
		font-size: 1.3em;
		font-weight: normal;
		margin: 0.5em 0 0.2em 0;
	}

	#rutesList h5 {
		color: #00841C;
		font-size: 1.1em;
		font-weight: normal;
		margin: 0.5em 0 0.2em 0;
	}

/* =Lists
-----------------------------------------------------------------------------*/
.divContentInterior ul, .divContentInteriorNoB ul {
	font-size: 1.1em;
	list-style-position: inside;
	margin: 0 0 0 20px;
}

	.divContentInterior ul p, .divContentInteriorNoB ul p {
		font-size: 100%;
		padding: 0 0 0 12px;
	}

ul.menu {
	font-size: 1.1em;
	text-transform: uppercase;
	list-style: none;
	margin: 80px 0 0 0;
	float: left;
}

	ul.menu li {
		float: left;
	}
	
	ul.menu li a:link, ul.menu li a:visited {
		color: #fff;
		text-decoration: none;
		background: #000;
		padding: 3px 8px;
		display: block;
	}
	
	ul.menu li a:hover, ul.menu li a:active {
		color: #000;
		background: #fff;
	}
	
	ul.menu li a.activo {
		font-weight: bold;
	}


.divContentInterior .menu ul, .divContentInteriorNoB .menu ul {
	font-size: 1em;
	border-top: 1px solid #eee;
	list-style: none;
	margin: 0;
}

	.divContentInterior .menu ul li, .divContentInteriorNoB .menu ul li {
	}
	
	.divContentInterior .menu ul li a:link, .divContentInterior .menu ul li a:visited, .divContentInteriorNoB .menu ul li a:link, .divContentInteriorNoB .menu ul li a:visited {
		width: 124px;
		color: #000;
		line-height: 1.2em;
		text-decoration: none;
		background: url(../img/bkg_btnMenuSection.gif) no-repeat 100% 50%;
		padding: 4px 18px 4px 0;
		display: block;
	}
	
	.divContentInterior .menu ul li a.activo:link, .divContentInterior .menu ul li a.activo:visited, .divContentInteriorNoB .menu ul li a.activo:link, .divContentInteriorNoB .menu ul li a.activo:visited {
		font-weight: bold;
		background: none;
		color: #666;
		cursor: default;
	}
	

ul.subMenu {
	font-size: 1.2em;
	list-style: none;
	margin: 10px 0;
}

	ul.subMenu li {
	}
	
	ul.subMenu li a:link, ul.subMenu li a:visited {
		width: 303px;
		color: #000;
		text-decoration: none;
		padding: 2px 0;
		border-bottom: 1px solid #000;
		display: block;
	}

	ul.subMenu li a.subItem:link, ul.subMenu li a.subItem:visited {
		width: 278px;
		color: #000;
		font-size: 1em;
		text-decoration: none;
		padding: 2px 0 2px 25px;
		border-bottom: 1px solid #eee;
		display: block;
	}
	
	ul.subMenu li a.subItem.last:link, ul.subMenu li a.subItem.last:visited {
		margin: 0 0 10px 0;
	}
	
	ul.subMenu li a:hover, ul.subMenu li a:active {
		width: 303px;
		color: #fff;
		background: #000;
	}

	ul.subMenu li a.subItem:hover, ul.subMenu li a.subItem:active {
		width: 278px;
		color: #fff;
		background: #000;
	}

	ul.subMenu li a.activo {
		color: #000;
		font-weight: bold;
		background: none;
		cursor: default;
	}
	
ul.categories {
	font-size: 1.2em;
	list-style: none;
}

	ul.categories li {
	}
	
	ul.categories li a:link, ul.categories li a:visited {
		width: 326px;
		height: 20px;
		color: #B09C00;
		text-decoration: none;
		text-transform: uppercase;
		background: #fff;
		margin: 0 0 1px 0;
		padding: 2px 0 0 10px;
		display: block;
	}
	
	ul.categories li a:hover, ul.categories li a:active {
		width: 326px;
		color: #fff;
		background: #000;
	}
	
	.cat_pic {
		width: 130px;
		height: 22px;
		overflow: hidden;
	}
	
	
/* Categorias para el interior */	
#secondaryContentInterior .divCategories {
	background: #e9e9e9;
	margin: 30px 0;
	padding: 0 0 10px 0;
}

#secondaryContentInterior .divCategories ul {
}

	#secondaryContentInterior .divCategories ul li a:link, #secondaryContentInterior .divCategories ul li a:visited {
		width: 163px;
	}
	
	#secondaryContentInterior .divCategories ul li a:hover, #secondaryContentInterior .divCategories ul li a:active {
		width: 163px;
	}


#llocsList ul {
	font-size: 1.2em;
	list-style: none;
}

	#llocsList ul.nivel2 {
		font-size: 1.1em;
		margin: 0 0 0 3em;
	}

	/* #llocsList ul li a:link, #llocsList ul li a:visited { */
	#llocsList a:link, #llocsList a:visited {
		color: #00841C;
		text-decoration: none;
	}
	
	/* #llocsList ul li a:hover, #llocsList ul li a:active { */
	#llocsList a:hover, #llocsList a:active {
		text-decoration: underline;
	}

	#llocsList ul li a.activo {
		font-weight: bold;
	}


.itineraris ul {
	font-size: 1.1em;
	list-style: none;
	margin: 0;
	padding: 0;
}

	.itineraris ul li a:link, .itineraris ul li a:visited {
		color: #00841C;
		text-decoration: none;
	}
	
	.itineraris ul li a:hover, .itineraris ul li a:active {
		text-decoration: underline;
	}

	.itineraris ul li a.activo {
		font-weight: bold;
	}


ul.nivel1 {
	margin: 0.2em 0 0.2em 0;
	list-style-position: inside;
}
	ul.nivel1 li {
		font-size: 11px;
		padding: 4px;
	}
	
ul.nivel2 {
	padding: 0 0 0 30px;
	list-style-position: inside;
	list-style-type: disc;
}
		
	ul.nivel2 li {
		font-size: 11px;
		padding: 4px;
	}
	

/* =Forms
-----------------------------------------------------------------------------*/
.cercador form { margin:0; padding: 0; }
.cercador form * { vertical-align: middle; }

.cercador input.textField {
	width: 210px;
	font-size: 1.1em;
	height: 16px;
	background: #fff;
	border: none;
	padding: 2px;
}

	.cercador input:focus.textField {
		border: none;
	}

.cercador input.boton {
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
	background: #B09C00;
	margin: 0;
	padding: 2px;
}

.cercador input.checkBox {
	border: 1px solid #000;
}

input.textField {
	font-size: 1em;
	padding: 4px;
	border: 1px solid #B09C00;
}

	input:focus.textField {
		background: #FFFFEA;
		border: 1px solid #000;
	}

input.boton {
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
	background: #B09C00;
	margin: 0 10px 0 0;
	padding: 5px 6px;
	border: none;
}

	input:focus.boton {
		background: #000;
	}

textarea.textArea {
	font-size: 1em;
	padding: 4px;
	border: 1px solid #B09C00;
}

	textarea:focus.textArea {
		background: #FFFFEA;
		border: 1px solid #000;
	}


/* =Links
-----------------------------------------------------------------------------*/
a, a:link, a:visited {
	color: #9F8A00;
	text-decoration: none;
}

a:hover, a:active {
	color: #9F8A00;
	text-decoration: underline;
}

.agendaLinks a, .agendaLinks a:link, .agendaLinks a:visited {
	color: #fff;
	text-decoration: none;
}

.agendaLinks a:hover, .agendaLinks a:active {
	color: #fff;
	text-decoration: underline;
}



/* =Tables
-----------------------------------------------------------------------------*/
table {
	font-size: 1.2em;
	margin: 0.5em 0;
}

	table td {
		padding: 4px;
		background: #f0f0f0;
	}
	
	table th {
		color: #333;
		padding: 4px;
		background: #ccc;
	}

/* =Tweaks
-----------------------------------------------------------------------------*/
.categories img {
	display: block;
}