@import url("/docroot/cavallfort/css/add05.css");
@import url("/docroot/cavallfort/css/layout_relatedLeft.css");
@import url("/docroot/cavallfort/css/blocNoticies.css");

/* Seccio 0501 - Agenda */

#content {
	background: url(/docroot/cavallfort/imgs/contentBg-0501.gif) no-repeat left bottom;
	padding-bottom: 50px;
	min-height: 600px; /* allow space for img in left bar */
}


#main>h2 {
	background-image: url(/docroot/cavallfort/imgs/h2Bg-0501.gif);
}


#main>p a {
	color: #000;
	text-decoration: underline;
}


/* Customize blocNoticies */
#main>blockquote>p.imgLeft {
	/*margin-left: -170px;*/
	max-width: 155px;
}
#main>blockquote>p.imgLeft img {
	max-width: 155px;
}
#main>blockquote>h4 {
	background: #ffd426;
	display: inline;
	background: #ffd426;
	color: #333;
}
#main>blockquote>h4 + * {
	margin-top: 10px;
}
#main>blockquote>h5 {
	margin-top: 10px;
	color: #333;
}


/* Grups de logos */
#main>blockquote>blockquote>p {
	float: left;
	width: 33%;
	font-size: .8em;
	color: #333;
}
#main>blockquote>blockquote:after { /* Clearfix */
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
#main>blockquote>blockquote a:hover {
	background: none !important;
}




/* relatedInfo */
#relatedInfo {
	font-size: .9em;
	background: url(/docroot/cavallfort/imgs/chessLine.gif) repeat-x left top;
	padding-top: 1.5em;
}





/* calendari */
#relatedInfo table {
	width: 196px;
	border-collapse: collapse;
	border: 0;
	margin-bottom: 1em;
}
#relatedInfo table th, #relatedInfo table td {
	border: 0;
	padding: 0;
	text-align:center;
}
#relatedInfo table strong {
	font-weight: normal;
}
/* caption */
#relatedInfo caption {
	height: 29px;
	width: 195px;
	background: url(/docroot/cavallfort/imgs/calendari-mesActual.gif) no-repeat 50% 0;
	padding-top: 0px;
	text-transform: uppercase;
	font-size: 1.1em;
	font-weight: bold;
	color: #d79a03;
}

#relatedInfo caption a.prev, #relatedInfo caption a.next { /* fletxes mes anterior / seguent */
	height: 29px;
	line-height: 29px;
	width: 32px;
	position: absolute;
	top: 9px;
	text-indent: -9999px;
}
#relatedInfo caption a.prev, #relatedInfo caption a.prev:hover { /* mes anterior */
	background: url(/docroot/cavallfort/imgs/calendari-mesAnterior.gif) no-repeat left top !important;
	left: 0;
}
#relatedInfo caption a.next, #relatedInfo caption a.next:hover { /* mes seguent */
	background: url(/docroot/cavallfort/imgs/calendari-mesSeguent.gif) no-repeat left top !important;
	right: 0;
}
/* row2 (dies setmana) */
#relatedInfo thead th {
	background: none !important;
	font-size: .9em;
	padding: 0;
}
/* marges pels dies */
#relatedInfo thead th:first-child, #relatedInfo td:first-child {
	padding-left: 31px !important;
	background-position: 29px top !important;
}
#relatedInfo thead th:first-child + th + th + th + th + th + th,
#relatedInfo td:first-child + td + td + td + td + td + td {
	padding-right: 32px !important;
}

/* td dies */
#relatedInfo tbody a {
	display: block;
	background: url(/docroot/cavallfort/imgs/modulo_agenda.gif) no-repeat left top;
	height: 15px;
	width: 15px;
	line-height: 15px;
	padding: 2.5px;
	font-weight: normal;
	text-decoration: underline;
	color: #d79a03;

}
#relatedInfo tbody a:hover {
	color: #000;
	background: url(/docroot/cavallfort/imgs/calendari-dia.gif) no-repeat left top !important;
	text-decoration: none;
}

