/**********************************************************************
 * Estils mínims que necessita el CMS
 *
 * - Es carrega a la part pública
 * - No s'ha d'alterar el disseny original de l'usuari
 * - Tots els ids i classes han d'anar prefixats
 * - Es carrega al principi del <head> de manera que l'usuari pot 
 *   modificar-los més tard.
 **********************************************************************/

/**********************************************************************
 * Missatges
 **********************************************************************/

.message { border: 2px solid; border-radius: 5px; -moz-border-radius: 5px; padding: 0.7em; width: 70%; margin: 1.5em auto }
.message.notice { color: #333; border-color: #ccc; background-color: #fafafa }
.message.error { color: #800; border-color: #c66; background-color: #fff6f6 }
.message.ok { color: #050; border-color: #9c9; background-color: #f6fff0 }

/**********************************************************************
 * Helper per mostrar fitxers adjunts
 **********************************************************************/

div.brcm-attachment a {
padding:2px 0 2px 22px;
background-position:0 2px;
background-repeat:no-repeat;
background-image:url(../images/silk/page_white.png)
}
	
	div.brcm-attachment.brcm-text a {background-image:url(../images/silk/page_white_word.png)}
	div.brcm-attachment.brcm-excel a {background-image:url(../images/silk/page_white_excel.png)}
	div.brcm-attachment.brcm-powerpoint a {background-image:url(../images/silk/page_white_powerpoint.png)}	
	div.brcm-attachment.brcm-pdf a {background-image:url(../images/silk/page_white_acrobat.png)}
	div.brcm-attachment.brcm-zip a {background-image:url(../images/silk/page_white_compressed.png)}

div.brcm-attachment span.brcm-size {
font-size:91%;
color:#666666;
}

div.brcm-attachment div.brcm-description {
margin-top:3px;
font-size:91%;
}


/**********************************************************************
 * Formularis
 **********************************************************************/

div.brcm-form form {text-align: left;}

	div.brcm-form div.brcm-field, div.brcm-field {margin: 1.5em 0;
	margin-top:1.5em;}

		div.brcm-form div.brcm-field div.brcm-title {
		font-weight: bold;
		margin-bottom:0.25em;
		}
		
			div.brcm-form span.brcm-required {
			color:#CC3300;
			font-size:140%;
			font-weight:bold;
			padding:0 0.1em;
			vertical-align:-20%;
			}

	div.brcm-form div.brcm-field div.brcm-option {margin-bottom:0.25em;}

	div.brcm-form  div.brcm-field div.brcm-info {
	color:#666666;
	font-size:91%;
	}

div.brcm-form  div.brcm-field div.brcm-errors {
color: #c30;
font-weight: bold;
}

div.brcm-form div.brcm-legal-information {
margin: 1em 0;
padding:1em 0;
border: solid #eee;
border-width: 1px 0;
font-size: 90%;
}

div.brcm-form div.brcm-actions {margin: 1em 0;}

div.brcm-sent-form dl dt {
font-weight: bold;
margin-top: 1em;
}

div.brcm-sent-form dl dd {
margin: 0;
margin-bottom: 1em;
}

.Field .Info,  .brcm-description {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    padding: 3px 0 0;
}

.brcm-field button {
	margin-top:2em;
	font-size:1.2em;
	min-height:2.5em;
	cursor:pointer;}
	
input[type="radio"], input[type="checkbox"]{
	margin-right:4px;
	cursor:pointer;}	

/**********************************************************************
 * Disposició de fotografies
 **********************************************************************/

img {
max-width:100%;
-ms-interpolation-mode: bicubic;
}
.brcm-googlemaps-map img {max-width: none;}

/* contenidors imatges*/
div.brcm-generic-element-with-images-on-the-right div.brcm-group-of-images,
div.brcm-news-module div.brcm-news-detail div.brcm-group-of-images,
div.brcm-calendar-module div.brcm-event-detail div.brcm-group-of-images,
div.brcm-public-announcements-module div.brcm-announcement-detail div.brcm-group-of-images,
div.brcm-directory-module div.brcm-item-detail div.brcm-group-of-images,
div.brcm-projects-module div.brcm-project-detail div.brcm-group-of-images,
div.brcm-services-module div.brcm-service-detail div.brcm-group-of-images {
float:right;
margin-left:10px;
}
div.brcm-generic-element-with-images-on-the-left div.brcm-group-of-images {
float:left;
margin-right:10px;
}

div.brcm-generic-element-with-image-gallery,
div.brcm-gallery-of-images {
width:100%;
overflow:hidden;
}

/* imatges */
div.brcm-generic-element-with-images-on-the-right div.brcm-image-and-caption,
div.brcm-generic-element-with-images-on-the-left div.brcm-image-and-caption,
div.brcm-generic-element-with-image-gallery div.brcm-image-and-caption,
div.brcm-generic-element-with-big-images div.brcm-image-and-caption,
div.brcm-news-module div.brcm-news-detail div.brcm-image-and-caption,
div.brcm-calendar-module div.brcm-event-detail div.brcm-image-and-caption,
div.brcm-public-announcements-module div.brcm-announcement-detail div.brcm-image-and-caption,
div.brcm-directory-module div.brcm-item-detail div.brcm-image-and-caption,
div.brcm-projects-module .brcm-project-detail div.brcm-image-and-caption,
div.brcm-services-module .brcm-service-detail div.brcm-image-and-caption{
margin-bottom:10px;
}

div.brcm-generic-element-with-images-on-the-right div.brcm-image-and-caption,
div.brcm-news-module div.brcm-news-detail div.brcm-image-and-caption,
div.brcm-calendar-module div.brcm-event-detail div.brcm-image-and-caption,
div.brcm-public-announcements-module div.brcm-announcement-detail div.brcm-image-and-caption,
div.brcm-directory-module div.brcm-item-detail div.brcm-image-and-caption,
div.brcm-projects-module .brcm-project-detail div.brcm-image-and-caption,
div.brcm-services-module .brcm-service-detail div.brcm-image-and-caption{
float:right;
clear:right;
}

div.brcm-generic-element-with-images-on-the-left div.brcm-image-and-caption {
float:left;
clear:left;
}

div.brcm-generic-element-with-image-gallery div.brcm-image-and-caption,
div.brcm-gallery-of-images div.brcm-image-and-caption {
float:left;
margin-right:10px;
margin-bottom:10px;
}

div.brcm-image-and-caption div.brcm-caption {
margin-top:5px;
font-size:91%;
}

/**********************************************************************
 * Mòdul cercador
 **********************************************************************/

div.brcm-search-module div.brcm-url {
font-size:91%;
color:#666666;
word-wrap:break-word;
width:100%;
overflow:hidden;
}

/**********************************************************************
 * mòdul notícies
 **********************************************************************/
div.brcm-list-of-news ol {
margin-left:0;
padding-left:0;
list-style:none;
}

div.brcm-list-of-news ol li {
width:100%;
overflow:hidden;
margin-bottom:1em;
}

	div.brcm-list-of-news ol li div.brcm-image-and-caption {
	float:left;
	margin:0 1em 0 0;
	}
	
div.brcm-news-module div.brcm-news-detail .brcm-summary {font-weight:bold;}

/**********************************************************************
 * mòdul d'esdeveniments
 **********************************************************************/


	div.brcm-calendar-navigation a.brcm-previous {float:left}
	div.brcm-calendar-navigation a.brcm-next {float:right}
	div.brcm-calendar-navigation span.brcm-current {
	width:50%;
	margin:0 auto;
	display:block;
	text-align:center;
	}

div.brcm-list-of-events ol {
	margin-left:0;
	padding-left:0;
	list-style:none;
}

div.brcm-list-of-events ol li {
	width:100%;
	overflow:hidden;
	margin-bottom:1em;
}

	
div.brcm-calendar-module div.brcm-event-detail .brcm-summary {
	font-weight:bold;}


.brcm-calendar {
	background-color:#666666;
	color:#FFF;
	padding-bottom:10px;
	 }
 
 
 	.brcm-calendar .brcm-calendar-navigation{
		color:#FFF;
		background-color:#333333;
		overflow:hidden;
		width:100%;

		}
		
	.brcm-calendar .brcm-calendar-navigation h3{color:#FFF;
		margin:0px;
		text-align:center;
		font-size:0.9em;
		padding-top:16px;}
	.brcm-calendar .brcm-calendar-navigation a{
		color:#FFF;
		padding:16px;
		text-decoration:none;
		}
	.brcm-calendar .brcm-calendar-navigation a.brcm-previous{
		float:left;}	
	.brcm-calendar .brcm-calendar-navigation a.brcm-next{
		float:right;}	
		
	.brcm-calendar table td span, .brcm-calendar table td a{
		display:block;
		padding:7px 0px;
		cursor:pointer;
		text-decoration:none;
		color:#FFF;
		
		} 
	.brcm-calendar table{
		margin:0px;
		border:none;
		text-align:center;
	}
		.brcm-calendar table td{
			border:none;
			padding:0px;
			border:#666666 4px solid;}
		
			.brcm-calendar table td.brcm-active-node a, .brcm-calendar table td.brcm-active-node span {
				background-color:#333;
				color:#FFF;}
			
			.brcm-calendar table td.brcm-day-event a, .brcm-calendar table td.brcm-day-event span{
				font-weight:700;
				background-color:#FFF;
				color:#333;}
		
			.brcm-calendar table.brcm-calendar-days td{
				padding-top:10px;
				border:none;
				text-align:center;
				border-bottom:#999999 2px solid;}
			
			
		
			.brcm-calendar table.brcm-calendar-days td, .brcm-calendar table.brcm-calendar-days td span{
				background-color:#666666;}	

/**********************************************************************
 * Mòdul butlletí electrònic
 **********************************************************************/
div.brcm-newsletter-module ul.brcm-list-of-modules {
margin:0 inherit !important;
padding:0 !important;
}


div.brcm-newsletter-module ul.brcm-list-of-modules li {
background-image:none !important;
padding:0 !important;
margin:0 0 5px 0 !important;
width:100%;
overflow:hidden;
}

div.brcm-newsletter-module ul.brcm-list-of-modules div.brcm-module,
div.brcm-newsletter-module ul.brcm-list-of-modules div.brcm-select-interests {
float:left;
}

	div.brcm-newsletter-module ul.brcm-list-of-modules li div.brcm-module { /* estat desmarcat */
	width:180px;
	border:1px solid #CDCDCD;
	background-color:#F3F3F3;
	padding:0 10px;
	}

	div.brcm-newsletter-module ul.brcm-list-of-modules li div.brcm-module * {
	float:left;
	height:22px;
	line-height:22px;
	margin-right:5px;
	}
	
	div.brcm-newsletter-module div.brcm-select-interests {width:250px;overflow:hidden}
	
		div.brcm-newsletter-module ul.brcm-list-of-modules div.brcm-show-hide {
		border:1px solid #CDCDCD;
		border-left-width:0;
		background-color:#F3F3F3;
		padding:0 10px;
		height:22px;
		line-height:22px;
		}
		
			div.brcm-newsletter-module ul.brcm-list-of-modules div.brcm-show-hide a {
			padding-left:20px;
			background:transparent url(../images/icona-plegar-desplegar.gif) 0 -36px no-repeat;
			}
			
			div.brcm-newsletter-module ul.brcm-list-of-modules div.brcm-select-interests.brcm-open a {background-position: 0 0;}
	
		div.brcm-newsletter-module div.brcm-select-interests ul {
		height:100px;
		overflow:auto;
		border:1px solid #CDCDCD;
		border-top-width:0;
		padding:10px;
		margin:0 !important;
		}

/**********************************************************************
 * Mòdul comentaris
 **********************************************************************/

div#brcm-list-of-comments div.brcm-comment {margin:1em 0}

/**********************************************************************
 * Mòdul tràmits
 **********************************************************************/

div.div.brcm-procedures-module div.brcm-list-of-procedures ol {
margin-left:0;
padding-left:0;
}

	div.div.brcm-procedures-module div.brcm-list-of-procedures ol li {
	list-style:none;
	padding-left:0;
	margin-left:0;
	}

/**********************************************************************
 * mòdul directori
 **********************************************************************/
div.brcm-directory-module div.brcm-list-of-items ol {
margin-left:0;
padding-left:0;
}

	div.brcm-directory-module div.brcm-list-of-items ol li {
	list-style:none;
	padding-left:0;
	margin-left:0;
	}


/**********************************************************************
 * mòdul serveis
 **********************************************************************/
div.brcm-services-module div.brcm-list-of-services ol {
margin-left:0;
padding-left:0;
}

	div.brcm-services-module div.brcm-list-of-services ol li {
	list-style:none;
	padding-left:0;
	margin-left:0;
	}
	
/**********************************************************************
 * mòdul documents oficials
 **********************************************************************/
div.brcm-public-announcements-module div.brcm-list-of-announcements ol {
margin-left:0;
padding-left:0;
}

	div.brcm-public-announcements-module div.brcm-list-of-announcements ol li {
	list-style:none;
	padding-left:0;
	margin-left:0;
	}
	
/**********************************************************************
 * mòdul projectes
 **********************************************************************/
div.brcm-projects-module div.brcm-list-of-projects ol {
margin-left:0;
padding-left:0;
}

	div.brcm-projects-module div.brcm-list-of-projects ol li {
	list-style:none;
	padding-left:0;
	margin-left:0;
	}

/**********************************************************************
 * Mòdul temes
 **********************************************************************/

div.brcm-categories-module div.brcm-list-of-categories ol,
div.brcm-categories-module div.brcm-list-of-categories ol li {
list-style:none;
margin-left:0;
padding-left:0;
}

/**********************************************************************
 * Miscelània
 **********************************************************************/

.clear,.brcm-clear { 
	clear: both;
	overflow:hidden;
}
.brcm-clear { 
	height:1px;
}
.brcm-clear-br { 
	clear: both;
	height:2em;
	overflow:hidden;
}

.hasMargin { 
	margin: 1.2em 0;
}

a.feed {
	background: url(../images/feed.png) no-repeat 0 center;
	padding-left: 18px;
}

.brcm-clear-br{
	clear: both;
	height:2em;
	overflow:hidden;}


/*Private Pages*/
.brcm-password-page {
	border: 4px solid #CCCCCC;
	background: #FCFCFC;
	border-radius: 7px;
	padding: 15px;
	text-align: center;
	margin: 30px 0;
}
.brcm-password-image {
 	margin: -42px 0 10px 0;
 }
 
.brcm-password-page form {
 	display: table;
 	margin: 0 auto;
 	width: 250px;
 }
 
 .brcm-password-page div.brcm-field div.brcm-title{
	text-align: center;
 }
 
.content .brcm-password-page input[type='password']{
 	width: 91%;
 }
 
.content .brcm-password-page input[type='submit'] {
 	display: table;
 	margin: 0 auto;
 }