/* --
CSS Reseter
CSSLab © 2007
Basado en: Yahoo UI Reset CSS, Eric Meyer's Reworked Reset y experiencias personales
-- */

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, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
:focus {
outline: 0;
}
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
a img, iframe {
border: none;
}
ol, ul {
list-style: none;
}
input, textarea, select, button {
font-size: 100%;
font-family: inherit;
}
select {
margin: inherit;
}
/* Fixes incorrect placement of numbers in ol's in IE6/7 */
ol { margin-left:2em; }

/* ========================================= clearfix == */
.clearing:after { content: ""; display: block; height: 0; clear: both;visibility: hidden;}
.clearing {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearing {height: 1%;}
.clearing {display: block;}
/* End hide from IE-mac */

table {
border-spacing:0;
}
dt {
font-weight:bold;
}
.cake_debug {
background:#FFFFFF none repeat scroll 0 0;
border:1px solid red;
color:#000000;
padding:1em;
text-align:left;
}
* {
margin:0;
padding:0;
}
body {
background:#FFFFFF none repeat scroll 0 0;
color:#333333;
font-family:Arial,Helvetica,sans-serif;
font-size:76%;
min-width:700px;
}
img {
border:0 none;
}
a {
font-weight:bold;
text-decoration:underline;
}
a:link {
color:#900000;
}
a:visited {
color:#913A57;
}
a:hover, a:active {
color:#000099;
}
h1, h2, h3, h4, h5 {
font-family:Arial,Helvetica,sans-serif;
font-weight:bold;
line-height:1.1em;
}
h2, h3, h4, h5 {
margin:2em 0 1em;
}
h1 {
font-size:1.4em;
margin-bottom:1em;
}
h2 {
font-size:1.2em;
}
body.simple h2 {
clear:both;
}
h3 {
font-size:1.1em;
}
h4 {
font-size:1.1em;
}
h5 {
font-size:1em;
}
ul, p, ol, dl {
line-height:1.5;
margin-top:1em;
}
li {
margin-left:2em;
}
#wrapper {
width:100%;
}
#header, #subnav, #footer {
clear:both;
width:100%;
}
#contentfloatholder {
float:left;
width:100%;
}
#contentfloatholder:after, #header:after, ul.cols:after, div.productwrapper:after, ul.flist:after {
clear:both;
content:".";
display:block;
height:0;
visibility:hidden;
}
#content {
color:#333333;
margin:0 15em 0 0em;
min-width:500px;
padding:2em;
padding-left: 5%;
margin-left: 5%;
}
#content, #right {
min-height:400px;
}
#centerwrap {
float:left;
margin:0 -95% 0 0;
width:100%;
}
#right {
float:right;
margin:0;
padding:1em;
width:14em;
margin-top: 10em;
}
#header {
border-bottom:1px solid #333333;
height:90px;
padding: 0;
margin: 0;
}
#header img {
float:left;
margin:51px 10px 0 20px;
padding: 0;
}
#header form {
float:right;
margin:2em 10px 0;
text-align:right;
width:25em;
}
#header form button {
display:inline;
padding:1px 2px;
}
#header a.edit {
border-right:0 none;
border-top:0 none;
position:absolute;
right:0;
top:0;
}
#subnav {
background:#676767 none repeat scroll 0 0;
border-top:1px solid #ABB1CB;
text-align:right;
}
#subnav ul {
font-family:arial,verdana,sans-serif;
font-size:1.3em;
font-style:normal;
font-variant:normal;
font-weight:bold;
line-height:1.5em;
margin-top:0;
margin-right: 12%;
}
#subnav ul li {
display:inline;
margin:0;
}
#subnav ul li a {
border-left:1px solid #FFFFFF;
border-right:1px solid #FFFFFF;
color:#FFFFFF;
margin-left:-1px;
padding:5px 1.5em;
text-decoration:none;
}
#subnav ul li a:hover {
border-top:3px solid #900000;
color:#000000;
margin:1px 0 1px -1px;
}
#right h2 {
background-color:#CCCCCC;
border-bottom:1px solid #666666;
border-top:1px solid #FFFFFF;
color:#000000;
font-size:1.1em;
line-height:1.5em;
margin:0;
padding-left:5px;
}
body.simple #content {
margin:0 25%;
}
body.simple #content fieldset {
background:#EEEEEE none repeat scroll 0 0;
border:1px solid #999999;
padding:0 1em 1em;
}
body.simple #content a {
float:right;
line-height:2em;
}
body.simple-wide #content {
margin:0 5%;
}
table {
border-right:1px solid #CCCCCC;
border-top:1px solid #CCCCCC;
margin-top:1em;
width:100%;
}
td, th {
border-bottom:1px solid #CCCCCC;
border-left:1px solid #CCCCCC;
padding:4px;
vertical-align:top;
}
th {
background-color:#EEEEEE;
border-bottom:1px solid #666666;
border-top:1px solid #FFFFFF;
text-align:left;
}
td h3 {
margin:0;
}
.branddesc, .catdesc {
padding:0 1em 1em;
}
div.catdesc {
background:#E3E3E3 none repeat scroll 0 0;
}
div.branddesc {
background:#E3E3E3 none repeat scroll 0 0;
}
ul.cols li {
border:1px solid #CCCCCC;
display:block;
float:left;
height:165px;
margin:0.5em 1em 0.5em 0;
padding:1em;
text-align:center;
width:165px;
}
ul.cols li a {
display:block;
}
div.fmessage {
border-bottom:1px solid #333333;
line-height:1.5;
padding:5px 20px;
}
div.confirmation {
background-color:#F4F8E4;
color:#729D00;
font-weight:bold;
}

a.edit, button, a.admin {
background:#FFFFFF none repeat scroll 0 0;
border:1px solid #333333;
color:#333333;
padding:5px 1em;
text-align:center;
text-decoration:none;
}
a.admin {
background:#3297FC url(/img/admin_button_bg.jpg) repeat-x scroll 1px 1px;
color:#FFFFFF;
}
#content a.admin {
display:block;
margin:1em 0;
width:10em;
}
pre {
font-size:1.4em;
text-align:left;
}
legend {
font-weight:bold;
padding:0;
}
fieldset {
border:0 none;
margin:0.5em 0;
}
input, textarea, select {
border-color:#666666 #CCCCCC #CCCCCC #666666;
border-style:solid;
border-width:1px;
}
input, textarea {
padding:2px 4px;
}
option {
padding:0 1em 0 4px;
}
ul.flist, fieldset ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin-top:0;
}
ul.flist {
padding-left:1em;
}
ul.flist li {
display:inline;
float:left;
margin:0 1em 1em 0;
width:14em;
}
ul.flist li.block {
display:block;
float:none;
margin:1em 0;
width:90%;
}
ul.flist li label {
display:block;
}
ul.flist li.cl {
clear:left;
}
ul.flist li.cb {
clear:both;
width:26em;
}
ul.flist li.cb input {
width:22em;
}
ul.flist li.cb input[type="checkbox"] {
width:auto;
}
li.error {
border:1px solid red;
font-weight:bold;
margin-right:1em;
padding:0.5em;
}
li.error span {
display:block;
}
li.save {
clear:both;
}
button {
clear:both;
display:block;
font-weight:bold;
padding:0.2em 0.5em;
}
.order {
width:65em;
}
.order fieldset {
margin-bottom:1em;
}
.oaddress {
background:#F4F8FF none repeat scroll 0 0;
float:left;
padding:1em;
width:36em;
}
.oinfo {
background:#F9F7ED none repeat scroll 0 0;
clear:right;
float:right;
padding:0;
width:26em;
}
.oinfo li {
line-height:2em;
margin:0;
padding-left:1.5em;
}
.oinfo li.active {
background:#CFFF9F none repeat scroll 0 0;
font-weight:bold;
}
.oinfo li input {
bottom:-3px;
position:relative;
}
body.simple #content fieldset {
padding-top:1em;
}
#header label {
margin-top:-100px;
position:absolute;
}


/** footer **/
#footer {
clear: both;
/*background-color:#333;*/
/*height:100px;*/
margin-top: 10em;
padding: 30px 0px;
font-size: 9px;
text-align: left;
}
#preview_revistes,
#grupovilbo {
border-top: 1px solid #ccc;
padding: 10px 10px 0px 10px;
}
#preview_revistes {
padding-bottom: 10px;
}
#preview_revistes .gruprevista{
margin-left: 55px;
float:left;
}
#preview_revistes .gruprevista.start{
margin-left: 0px;
}
#preview_revistes .preview_revista{
margin-right: 10px;
float: left
}
#preview_revistes p{
clear: both;
margin: 0.5em 0em;
width: 90px;
}
#footer strong,
#drets{
color: #000;
}
#drets{
margin: 5px 0px;
padding: 0px 10px;
}
#extrafooter a{
color: #000;
text-decoration:none
}
#extrafooter a:hover{
text-decoration:underline
}
#extrafooter {
text-align: center;
}
#extrafooter img {
vertical-align: bottom;
margin: 0px 6px;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}



/* AUTOCOMPLETE */
div.autocomplete ul {
background: #eee;
}
div.autocomplete li.selected {
background-color:#676767;
list-style-type: none;
color:#fff;
}


/* EMPRESES */
.empresa {
float: left;
width: 95%;
margin-top: 2em;
}

	/*** INDEX ***/
	/** SEARCHFORM **/
	
	#indexempreses {
	margin-top: 5em;
	}
	
	#searchform {
	padding: 3em;
	}
	
	#tagcloud {
	padding-bottom: 1em;
	}
	
	#searchform, 
	#tagcloud {
	margin: 0 auto;
	max-width: 600px;
	width: 80%;
	}
	
	#searchform form{
	padding: 5px 0px 2px 0px;
	}
	
	#searchform p {
	color: #000;
	margin-bottom: 20px;
	margin-left: 0pt;
	}
	
	#searchform input {
	width: 22em;
	height: 1.5em;
	float: left;
	clear: none;
	margin-right: 1em;
	}
	
	#searchform button {
	margin-left: 1em;
	clear: none;
	width: 100px;
	}
	
	#tagcloud h3 {
	font-size: 1.3em;
	}
	#tagcloud a {
	margin: 0 6px;
	}
	#tagcloud div.tagslist {
	margin-left: -6px;
	}
	
	/** FORMULARI NOVA CERCA **/
	#newsearch {
	float: left;
	margin-left: 3em;
	}
	#newsearch input {
	margin-left: 1em;
	width: 15em;
	height: 18px;
	}
	/*#newsearch {
	clear: both;
	}*/
	#newsearch .input,
	#newsearch .submit {
	float: left;
	}
	
	#newsearch div.submit button{
	float: left;
	display: inline;
	clear: none;
	}
	
	/** BUTTONS **/
	button{
	display:block;
	float:left;
	margin:0 7px 0 0;
	background-color:#f5f5f5;
	border:1px solid #dedede;
	border-top:1px solid #eee;
	border-left:1px solid #eee;
	
	/*font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;*/
	font-size:100%;
	line-height:130%;
	text-decoration:none;
	font-weight:bold;
	color:#565656;
	cursor:pointer;
	padding:0px 10px 0px 7px; /* Links */
	height: 24px;
	margin-left: 1em;
	}
	button{
	    width:auto;
	    overflow:visible;
	    padding:0px 10px 0px 7px; /* IE6 */
	}
	button.searchbutton img{
	    margin:0 3px -3px 0 !important;
	    padding:0;
	    border:none;
	    height:20px;
	}
	button.cancelbutton img{
	    margin:0 3px -3px 0 !important;
	    padding:0;
	    border:none;
	    height:16px;
	}
	
	button.searchbutton:hover{
	    background-color:#E6EFC2;
	    border:1px solid #C6D880;
	    color:#529214;
	}
	button.searchbutton:active{
	    background-color:#E6EFC2;
	    border:1px solid #C6D880;
	    color:#fff;
	}
	
	button.cancelbutton:hover, button.negative:hover{
	    background:#fbe3e4;
	    border:1px solid #fbc2c4;
	    color:#d12f19;
	}
	button.cancelbutton:active{
	    background-color:#fbe3e4;
	    border:1px solid #fbc2c4;
	    color:#fff;
	}
	
	.flag {
	text-align: center;
	padding: 2em 1em 1em 1em;
	}
	
	ol.infoempresa,
	ul#llistaproductes {
	margin-right: 1em;
	list-style-position: outside;
	/*	
	list-style-image: url(../../img/estructura/ratlla.gif);
	list-style-type: square;
	*/
	list-style-image: none;
	list-style-type: none;
	}
	
	#infosearch,
	div.gruppais,
	#pagination,
	#noresults {
	width: 95%;
	}
	
	.infoempresa li{
	border-top: 1px solid #8D8D8D;
	padding: 7px 2px 5px 0px;
	height: 3em;
	clear: both;
	}
	
	li.grupempresa {
	padding: 30px 0px 10px 0px;
	clear: both;
	}
	
	
	.grupempresa ol {
	list-style-type: none;
	list-style-image: none;
	padding: 0px;
	}
	
	.grupempresa ol li{
	width: 99%;
	clear: left;
	float: left;
	padding-bottom: 50px;
	}
	
	.grupempresa .dadesempresa {
	background-color: #E6E6E6;
	padding: 1.5px;
	width: 100%;
	float: left;
	}
	
	.infoempresa li div {
	float: left;
	}
	.infoempresa li div span{
	display: block;
	}
	
	div.dadesempresa {
	width: 50%;
	}
	div.altresdades {
	width: 8%;
	}
	div.rightempresa {
	width: 40%;
	}
	.dadesempresa .name {
	font-size: 1em;
	color: #666;
	margin-left: 2px;
	font-weight: bold;
	}
	.altresdades,
	.rightempresa {
	text-align:center;
	}
	.rightempresa .url a{
	font-size:1.15em;
	text-decoration: none;
	}
	.linkempresa a {
	font-size: 0.9em;
	color: #000000;
	font-style: italic;
	text-decoration: none;
	font-weight: normal;
	}
	
	.linkempresa a:hover {
	text-decoration: underline;
	color: inherit;
	}
	
	.grupempresa .linkproductos {
	float: right;
	margin-right: 1em;
	background-color: white;
	padding: 1px 3px 1px 3px;
	}
	
	.grupempresa ol .nomproducte {
	color: #000000;
	border-bottom: 1px solid #E6E6E6;
	}
	
	#searchedtags {
	margin-right: 1em;
	float: right;
	}
	#searchedtags p{
	padding: 0;
	margin: 0.85em 0 0 0;
	}
	
	#searchedtags,
	#detallempresa p.tags{
	font-style: italic;
	color: #000000;
	font-size: 0.9em
	}
	
	#pagination {
	padding: 1em 0em;
	}
	#numberspagination,
	#resultspagination {
	margin-left: 4em;
	}
	
	#noresults {
	margin: 5em 4em;
	padding-bottom: 2em; 
	border-bottom: 1px solid #ccc;
	}
	
	/* VIEW */
	#viewempresa {
	margin-top: 9em;
	padding-bottom: 2em;
	border-bottom: 1px solid #ccc;
	}
	#detallempresa {
	text-align:right;
	margin-right: 1em;
	float: right
	}
	
	#detallempresa p{
	margin: 0pt;
	margin-bottom: 0.75em
	}
	
	a.back {
	margin-left:20px;
	float: left
	}
	
	/* FORM ADD */
	#formempresa {
	margin-top: 7em;
	}
	
/* publi */
#publicitat {
background-color: #DBDBDB;
background-image: url(../img/estructura/publi.gif);
background-repeat: no-repeat;
/*height:600px;*/
margin:0pt;
padding:0px;
text-align:right;
width:165px;
padding-bottom: 5px;
margin-bottom: 20px;
/*border: 1px solid black;*/
}

#publicitat div {
margin:0pt;
padding:0pt;
}

#publicitat div.bannerflash {
margin-bottom: 10px;
/*display:inline;*/
}
#ownpubli{
text-align:right
}
