* {
	margin: 0;
	padding: 0;
}
html {
	background: #fff url("imatges/html.png") repeat-x left top;
}
body {
	font-family: arial, sans-serif;
	font-size: 12px;
	color: #888888;
	background: url("imatges/body.gif") repeat-y left top;
	width: 1000px;
	margin: 0 auto 30px auto;
	position: relative;
}
a img {
	border: 1px solid #ccc;
}

a {
	color: #506a77;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	visibility: visible;
	color: black;
/* IE bug fix */
}
a:hover img {
	border: 1px solid black;
}
h1 {
	font-size: 14px;
}
h2 {
	font-size: 12px;
}
.page {
	padding: 0px 125px 0px 115px;
	width: 760px;
}
.header {
	position: relative;
	width: 760px;
	height: 283px;
	overflow: hidden;
	font-size: 160%;
	margin-bottom: 10px;
	border-bottom: 4px solid #ccc;
}
.header a {
	display: block;
	width: 760px;
	height: 283px;
	cursor: pointer;
	padding: 20px 0 0 0;
	text-align: center;
}
.header span#imatge {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 760px;
	height: 283px;
	background: url("imatges/capsaleres/capsalera1.png");
}
.header span.text {
   display: block;
   position: absolute;
   right: 40px;
   top:  15px;
   z-index: 3;
   color: black;
}
.main {
	width: 706px;
	margin: 0 auto;
}
#menu {
   height: 30px;
   background: url('imatges/menu.gif') repeat-x bottom;
   margin-bottom: 10px;
   list-style-type: none;
   list-style-position: inside;
   text-align: center;
   padding-top: 5px;
}
#menu li {
   display: inline;
}
#menu li a {
   background-color: #ccc;
   padding: 5px 10px 5px 10px;
   margin: auto 10px auto 10px;
   border: 3px solid #ccc;
   border-bottom: 0px;
}
#menu li a:hover {
   border-color: #000;
  // color: white;
}
.caixa {
	border: 1px solid #ccc;
	clear: both;
	padding: 7px 17px 9px 8px;
	width: 677px;
	position: relative;
	margin-bottom: 18px;
}
.caixa .titol {
   top: -15px;
   border: 3px solid #ccc;
   background-color: #ccc;
   position: relative;
   font-size: 120%;
   font-weight: bold;
   color: white;
   padding: 5px;
}
//.caixa:hover { border: 1px solid black; color: black;}
.caixa:hover .titol { background-color: black }
.footer1 {
	text-align: center;
	padding: 0 27px 3px 27px;
}
.footer1 a {
	color: #888;
	text-decoration: none;
}
.footer1 a:hover {
	color: #729AD7;
	text-decoration: none;
}
.footer2 {
	font-size: 0px;
	line-height: 0px;
	height: 19px;
	background: url("imatges/footer.png") no-repeat left bottom;
	margin-left: 105px;
}
.cleaner {
	font-size: 0px;
	line-height: 0px;
	height: 0px;
	clear: both;
}

/* formularis */
form { text-align: center }
textarea {
   border: 1px solid #ccc;
   width: 100%;
}
input { border: 1px solid black; background-color: white }

p.rebuig {
   font-weight: bold;
}
div.rebuig_text {
   font-style: italic;
   display:none;
   padding: 10px;
}
h1.avis{color:red;text-align:center}
