
/**
 *  ESQUEMA DE COLORS:
 *
 *  Blau:       #0B3090
 *  Verd fluix: #22C3BE
 *  Ocre:       #9D7B33
 *  Verd:       #C3A022
 *  Groc fluix: #F6DA75
 *  Gris fort:  #c6c2c1
 *  Gris fluix: #e7e7e7
 **/

html {
  	font-size: 62.5%;
}

body {
  	margin: 0px;  	
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #333333;
	background: #0B3090 url("../images/backgrounds/body.png") top repeat-x;
	padding: 20px;
}

/* Classe que ens alinea el contingut al centre de la pantalla */
.wrapper {
  	width: 960px;
	margin: 0px auto;
	position: relative;
	background: #ffffff url("../images/backgrounds/wrapper_tl.gif") top left no-repeat;
	overflow: hidden;
}

.wrapper div {
	background: url("../images/backgrounds/wrapper_tr.gif") top right no-repeat;
}

.wrapper div div {
	background: url("../images/backgrounds/wrapper_bl.gif") bottom left no-repeat;
}

.wrapper div div div {
  	padding: 35px 35px 20px 35px;	
	background: url("../images/backgrounds/wrapper_br.gif") bottom right no-repeat;
}

.wrapper div div div div {
	padding: 0px;
	background: none;
	clear: left;
}

img {
  border: 0px;
}

abbr,
acronym {
  border-bottom: 1px dotted;
}

a abbr, a acronym { /* si estan dins un link no mostram el subratllat */
	border: 0px;
}

/* ENLLA�OS */

#content a {
	color: #C3A022;
}

#content a:hover {
	color: #0B3090;
}

#content a.back {
	font-size: 1.1em;
	font-weight: bold;
}

/* CAP�ALERA */

#header {
	height: 45px;
	position: relative;
}

#header h1 a {
	display: block;
	width: 885px;
	height: 45px;
	background: url("../images/backgrounds/ascome.gif") top left no-repeat;
}

#header h1 {
	display: block;
	text-indent: -9000px;
	margin: 0px;
	width: 885px;
	height: 45px;
}

/* MENU */

#menu {
  display: block;
	background: #C3A022;
	height: 44px;
	list-style: none;
	padding: 0px;
	margin: 25px 0px;
}

#menu li {
	float: left;
}

#menu li a {
	color: #ffffff;
	font-size: 1.5em;
	display: block;
	height: 44px;
	width: 148px;
	text-decoration: none;
	text-align: center;
	line-height: 44px;
}

#menu li a span {
	line-height: 44px;
	width: 148px;
	display: block;
	cursor: pointer;
}

#menu li.first a {
	background: url("../images/backgrounds/menu_tl.gif") top left no-repeat;
}

#menu li.first a:hover,
#menu li.firstselected a,
#menu li.firstselected a:hover {
	background: #9D7B33 url("../images/backgrounds/menu_hover_tl.gif") top left no-repeat;
}

#menu li.first a span {
	background: url("../images/backgrounds/menu_bl.gif") bottom left no-repeat;
}

#menu li.first a:hover span,
#menu li.firstselected a span {
	background: url("../images/backgrounds/menu_hover_bl.gif") bottom left no-repeat;
}

#menu li.last {
	background: none;
}

#menu li.last a {
	width: 150px;
	background: url("../images/backgrounds/menu_tr.gif") top right no-repeat;
}
#menu li.last a:hover,
#menu li.lastselected a,
#menu li.lastselected a:hover {
	background: #9D7B33 url("../images/backgrounds/menu_hover_tr.gif") top right no-repeat;
}

#menu li.last a span {
	width: 150px;
}

#menu li.last a span {
  background: url("../images/backgrounds/menu_br.gif") bottom right no-repeat
}

#menu li.last a:hover span,
#menu li.lastselected a span {
  background: url("../images/backgrounds/menu_hover_br.gif") bottom right no-repeat
}

#menu li.lastselected a,
#menu li.lastselected a span {
	width: 150px !important;
}

#menu li.selected a,
#menu li a:hover {
	background: #9D7B33;
	color: #ffffff;
}

/* CONTINGUT */

#main_content {
	float: left;
	clear: none;
}


#main_content.two_columns {
	width: 585px;
}

#main_content.single_column {
	width: 100%;
}

#right_column {
	width: 285px;
	float: left;
	clear: none;
	margin-left: 20px;
}

#main_content h2 {
	font-size: 2.2em;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-weight: bold;
	color: #9D7B33;
	margin: 0px 0px 10px 0px;
	clear: left;
}

#main_content h3 {
  	font-size: 1.4em;
	color: #c6c2c1;
	margin: 0px 0px 15px 0px;
	font-weight: bold;
}

#main_content h4 {
	color: #333333;
	font-size: 1.4em;
	line-height: 1.5em;
	margin: 1em 0em;
	padding: 0em 0.50em;
	background: #efefef;
	clear: left;

}

#main_content h4.highlight {
	border-bottom: 1px solid #F6DA75;
	background: none;
	padding-left: 0px;
}

#main_content h4.sector {
	background: #F6DA75 url("../images/backgrounds/cercador.png") repeat-x;
	border-bottom: 2px solid #cebd99;
	text-align: left;
}

#main_content h4.icon {
	position: relative;
	padding-left: 60px;
	text-transform: uppercase;
}

#main_content h5 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0px;
}

/* FOOTER */
#footer {
	background: #e7e7e7;
	height: 70px;	
}

#footer address {
	font-size: 1.1em;
	line-height: 1.6em;
  	font-style: normal;
	height: 70px;
  	padding: 8px 0px 0px 15px;
	float: left;
}

#footer .pime {
	display: block;
	width: 56px;
	height: 55px;
	background: url("../images/backgrounds/pime.gif") no-repeat;
	text-indent: -9000px;
	float: right;
	margin-top: 8px;
	margin-right: 10px;	
}

#copyright {
	text-align: left;
	background-image: none !important;
	background-color: transparent !important;
	color: #ffffff;
	margin-top: 5px;
}

/* LLISTAT COMER�OS */
#main_content .comercios {
	margin: 0px;
	padding: 0px;
	list-style: none;
	font-size: 1.4em;
	font-weight: bold;
	float: left;
	margin-bottom: 10px;
	width: 100%;
}

#main_content .comercios a {
	color: #0B3090 !important;
}

#main_content .comercios li {
	position: relative;
	line-height: 25px;
	margin: 15px 34px 15px 0px;
	width: 272px;
	float: left;
	display: block;
 	border: 1px solid #ffffff;
}

#main_content .comercios li:hover,
#main_content .comercios li.over {
	border: 1px solid #dddddd;
}

#main_content  .comercios li.last {
	margin: 15px 0px;
}

#main_content  .comercios .highlight {
	background: #f0f0f0;
}

#main_content .comercios a {
	padding-left: 60px;
	text-decoration: none;
	width: 226px;
	display: block;
}

#main_content .comercios li .fold {
	background: url("../images/icons/plus.gif") no-repeat;
	display: block;
	position: absolute;
	right: 10px;
	top: 5px;
	text-indent: -9000px;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

#main_content .comercios li .unfold {
	background: url("../images/icons/minus.gif") no-repeat;
	display: block;
	position: absolute;
	right: 10px;
	top: 9px;
	text-indent: -9000px;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

.hidden {
	display: none;
}

/* Estils de contingut */
#main_content p {
	font-size: 1.2em;
	line-height: 1.5em;
	margin: 1.5em 0em;
}

#main_content address {
	font-style: normal;
	font-size: 1.1em;
	width: 260px;
	display: block;
	padding: 10px;
	background: #efefef;
	float: left;
	margin: 0px 5px 10px 5px;
}

#main_content ul {
	font-size: 1.2em;
}

#main_content ul li {
	margin: 0.25em 0em;
}

.info {
	border-top: 3px solid #F6DA75;
	border-bottom: 3px solid #F6DA75;
	background: #f7f3e1;
	padding: 5px;		
}

.error {
	border-top: 3px solid #DE7A7B;
	border-bottom: 3px solid #DE7A7B;
	background: #E6C0C0;
	padding: 5px;		
}

/* Formulari cercador comer�os */
.userform {
	background: #F6DA75 url("../images/backgrounds/cercador.png") repeat-x;
	padding-top: 30px;
	position: relative;
	margin-bottom: 20px;
}

.userform .info,
.userform .error {
	margin: 10px !important;
	font-weight: bold;
}

.userform fieldset {
	background: #ffffff;
	border: 0px;
	border-left: 4px solid #F6DA75;
	border-bottom: 4px solid #F6DA75;
	border-right: 4px solid #F6DA75;
	margin: 0px;	
	padding: 0px;
}

.userform legend span {
	position: absolute;
	top: -3px;
	left: 0px;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #0B3090;
	font-size: 1.2em;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 40px;
	width: 100%;
	text-align: center;
}

.cercador legend span {
	background: url("../images/icons/lupa.gif") 15px 0px no-repeat;
}

.userform fieldset p {
	font-size: 1.1em;
	margin: 5px 0px;
}
.userform p.top {
	border-top: 2px solid #cebd99;
	margin: 0px;
	padding: 10px;
}

.userform fieldset ol {	
	list-style: none;
	margin: 0px 0px 0px 10px;
	padding: 0px;			
}

.userform fieldset ol li {
	margin-bottom: 10px;
	clear: left;
}

.userform fieldset ol li label {
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	float: left;
	margin-bottom: 3px; 
}

.userform fieldset ol li input,
.userform fieldset ol li select {
	font-size: 1.2em;
	width: 254px;
	border: 1px solid #9D7B33;
}

.radiogroup {
	list-style: none;
	margin: 0px;	
	width: 250px !important;	
}

.radiogroup li {
	float: left;
	clear: none !important;		
}

.radiogroup label {
	float: left !important;
	padding-top: 2px;
	padding-right: 10px;
}

.radiogroup .radiobutton {
	border: 0px;
	width: auto;
	float: left !important;	
}

.userform fieldset input.button {
	background: #C3A022 url("../images/backgrounds/button.gif") top repeat-x;
	color: #ffffff;
	width: 95px;
	margin: 5px 10px;
	border: 0px;
	height: 2em;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 10px;
	cursor: pointer;
	clear: left !important;
	float: left;
}

div.tabs {
	display: block;
	float: left;
	clear: left;
	font-size: 1.2em;
	margin-top: 5px;	
}

div.tabs span {
	padding: 5px;
	border-left: 1px solid #f7f3e1;
	border-top: 1px solid #f7f3e1;
	border-right: 1px solid #f7f3e1;
	display: block;
	float: left;
	cursor: pointer;	
	color: #9D7B33;
	font-weight: bold;
}

div.tabs span.selected {
	background: #f7f3e1;
}

ul.tab {	 	
	background: #f7f3e1;
	padding: 5px;	
	height: 188px;
	overflow-y: scroll;		
	overflow-x: hidden;
}

/* Errors dels formularis */
.error_list {	
	font-weight: bold;
	color: red;
	margin: 2px 0px !important;
	font-size: 1.1em;	
}

/* Selector de sectors */

.userform fieldset ol li ul {
	margin: 0px;
	list-style: none;
	padding: 0px;
	width: auto;
	float: left;
	clear: left;
}

.userform fieldset ol li ul input {
	border: 0px;
}

.userform fieldset ol li ul.tree li .arrow {
	padding: 0;
	margin: 0;
	cursor: pointer;
	float: left;
	background: transparent no-repeat 0 4px;
}
.userform fieldset ol li ul li {
	padding: 0px;
	margin: 0px;
	float: left;
	clear: left;
}

.userform fieldset ol li ul li label {
	float: left !important;
	font-weight: normal;
	clear: none !important;
}

.userform fieldset ol li ul li input {
	width: auto;
	float: left;
}

.userform fieldset ol li ul li ul {
	margin-left: 20px;
	width: 100%;		
}

.userform fieldset ol li ul.tree img.arrow {
	padding: 0px;
	border: 0;
	width: 20px;	
}

ul.tree {	
	width: 250px !important;		
}

ul.tree li {
	width: 250px !important;
}

ul.tree li div {	
	clear: none !important;
}

ul.tree li .arrow {
	width: 15px;
	height: 18px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	float: left;
	background: transparent no-repeat 0px 1px !important;	
}

ul.tree li .collapsed {
	background-image: url(../images/collapsed.gif) !important;
}
ul.tree li .expanded {
	background-image: url(../images/expanded.gif) !important;
}

ul.tree li .checkbox {
	width: 18px;
	height: 15px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	float: left;
	background: transparent url(../images/check0.gif) no-repeat 0px 2px;
}
ul.tree li .checked {
	background-image: url(../images/check2.gif);
}
ul.tree li .half_checked {
	background-image: url(../images/check1.gif);
}

.text-right {
	text-align: right;
}

#map {
	overflow: hidden;
	width: 627px;
	/* ie6: 620px */
	height: 500px;
	margin: 4px 4px 4px 2px;
	clear: none;
	padding: 0px;
}

#contact_map {
	width: 585px;
	height: 300px;
	margin: 10px 0px 20px 0px;
}

#llista_empreses {
	clear: none;
	width: 888px;
	border: 1px solid #dddddd;
	margin-bottom: 10px;
}

#llista_empreses ol {
	width: 250px;
	padding: 0px;
	margin: 4px 2px 4px 4px;
	list-style: none;
	overflow: auto;
	height: 500px;
	float: left;
}

#llista_empreses ol li {
	margin-bottom: 8px;
	cursor: pointer;
}

#llista_empreses ol li:hover,
#llista_empreses ol li.over {
	background-color: #eee;
}

#llista_empreses a {
	font-weight: bold;
	font-size: 1.2em;
}

#main_content #llista_empreses address {
	font-style: normal;
	background: none;
	float: none;
	width: auto;
	padding: 0px;
	margin: 0px;
	font-size: 1.1em;
}

#llista_empreses .item_empresa {
	background-repeat: no-repeat;
	background-position: 2px 2px;
	min-height: 34px;
	padding: 2px 2px 2px 30px;
}

.map_marker_info {
	padding: 0.50em 0.80em 0.50em 0.50em;
}

.map_marker_info h1 {
	font-size: 1.3em !important;
	color: #333333 !important;
	margin: 0em 0em 0.30em 0em;
}

.map_marker_info a {
	font-size: 1.1em !important;
}

.map_marker_info address,
.map_marker_info p {
	font-style: normal;
	margin: 0.30em 0em 0em 0em !important;
	font-size: 1.1em !important;
}

.map_marker_info .info {
	color: #666666 !important;
	border: 0px !important;
	padding: 0px;
	margin-top: 30px;
}

/* men� contextual Google maps */
div.contextmenu {
	background: #ffffff !important;
	border: 1px solid #dddddd;
}

div.contextmenu ul {
	list-style: none;
	margin: 0;
	padding: 4px;
}

/* Llista comer�os en petit */
.otros_sectores h5 {
	float: left;
	clear: left;
	padding-right: 5px;
	font-size: 1.10em !important;
	margin: 0px;
}

.lista_comercios {
	list-style: none;
	margin: 0px;
	margin-bottom: 5px;
	padding: 0px;
	padding-left: 85px;
}

.lista_comercios li {
	display: inline;
	padding-right: 5px;
	font-size: 0.80em;
}

.photo {
	float: left;	
	width: 170px;
	clear: none !important;
	margin-bottom: 10px;
	text-align: center;
	background: blue;
	height: 190px !important;	
}

.photo img {
	padding: 4px;
	background: #000000;
}

.photo p {
	font-size: 10px !important;
	margin: 0px !important;
	padding: 0px 5px !important;
}

.photo p strong {
	font-size: 11px !important;
}
