* {
	margin:0;
	padding:0;
}

/* General Style Info */
body {
	background: #FFFFFF;
	color: #333;
	font-family:verdana,helvetica,arial,sans-serif,'lucida grande';
	font-size:12px;
	margin: 0;
	padding:0;
	text-align:center;
	line-height:17px;
}
a {
	color: #333;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	background:#fff;
	color: #333;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: bold;
}
h1 {
	color: #B20000;
	font-size: 120%;
	margin: 0.1em 0;
	padding-top:5px;
	padding-bottom:5px;
}
h2 {
	color: #B20000;
	font-size: 110%;
	margin: 0.3em 0;
	padding-top:5px;
	padding-bottom:5px;
}
h3 {
	color: #B20000;
	font-size: 100%;
	padding-top:2px;
	padding-bottom:2px;
}
h4 {
	color: #B20000;
	font-weight: normal;
	padding-top:2px;
	padding-bottom:2px;
}
ul, li {
	margin: 0 12px;
	line-height:17px;
}
p{
	padding-bottom:5px;
	padding-top:5px;
}
/* Layout */
#container {
	text-align: left;
	width:95%;
	margin:auto;
	padding:0;

	background:none;
	background-repeat:repeat-y;

	
}

#header{
	padding: 10px 20px;
	background-color:#B20000;
		margin-left:2px;
	margin-right:6px;
	color:#000000;
}

#content{
	clear: both;
	color: #333;
	padding: 10px 20px 40px 0px;
	padding-bottom:3px;
	overflow: auto;
}
#left{
	float:left;
	width:0px;
	display:none;
}
#right{
	float:right;
	width:100%;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
	background: none;
	padding-top:25px;
}


.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	margin-right: 10px;
	padding: 0;
	width: 100%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 10px;
	padding: 5px 5px;
}
fieldset legend {
	background:#fff;
	color: #B20000;
	font-size: 120%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 3px;
	padding: 10px 10px;
	padding-bottom:5px;
	width:913px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 0em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 5px;
	margin-left: 140px;
}
form div.submit input.guardar {
	border:0;
	background:url(../img/icons/search.png);
	background-repeat:no-repeat;
	padding-left:35px;
	height:32px;
	float:left;
	
}
form div.submit input.cancelar {
	border:0;
	background:url(../img/icons/reset.png);
	background-repeat:no-repeat;
	padding-left:35px;
	height:32px;
	width:auto;
	
}
label {
	display: block;
	font-size: 100%;
	padding-right: 20px;
	float:left;
	width:150px;
}
input, textarea {
	clear: both;
	font-size: 100%;
	font-family: "verdana", sans-serif;
	padding: 2px;
	width: 300px;
}
select {
	clear: both;
	font-size: 100%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	
}
option {
	font-size: 100%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 100%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #333;
	font-size: 100%;
	font-weight: normal;
	margin: 1em 0;
	padding:5px;
	border:2px solid #669900;
	background-color:#F1FFD5;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: normal;
}
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: #333;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}
/******************************MENU*******************************************/
/* Top level elements (rules are overridden later for sub-elements) */
#left ul {
  padding: 0;
  margin: 0;
  background: white;
  z-index:100;
  list-style:none;
  width:190px;
  background:transparent;
}
#left li {
  list-style: none outside none;
  display: block; 
  float: left;
}
#left li a {
	padding-bottom:10px;
	padding-top:10px;
	width:180px;
	padding-left:5px;

  display: block;
  text-decoration:none;
}
#left li a:hover {
	color:#B20000;
}
#left li.first {
}
#left li.last {
}


form table{
	margin-bottom:0;
	border:0;
}
form table td{
	padding:2px;
	border:0;
	
}
form table td.dreta{
	padding:2px;
	border:0;
	text-align:right;
	
}
form table, form table tr, form table td{
	text-align:left;
}
form table label{
	width:auto;
	padding-right:15px;
	
}
form table label.primer{
	width:120px;
	padding-right:15px;
	
}
form table td div{
	padding:0;
	margin:0;
}
.form-error{
	background-color:#F1FFD5;
	border:1px solid #669900;
}
#autors{
	clear:none;
	/*width:200px;*/
	float:left;
}
#numeracions{
	clear:none;
	/*width:200px;*/
	float:left;
}
#fons{
	clear:none;
	/*width:200px;*/
	float:left;
}
#subfons{
	clear:none;
	/*width:200px;*/
	float:left;
}
#series{
	clear:none;
	/*width:200px;*/
	float:left;
}
#subseries{
	clear:none;
	/*width:200px;*/
	float:left;
}
#descriptionlevels{
	clear:none;
	/*width:200px;*/
	float:left;
}
#producers{
	clear:none;
	/*width:200px;*/
	float:left;
}
#escriptures{
	clear:none;
	/*width:200px;*/
	float:left;
}
#responsabilitats{
	clear:none;
	/*width:200px;*/
	float:left;
}
#llengues{
	clear:none;
	/*width:200px;*/
	float:left;
}
#editorials{
	clear:none;
	/*width:200px;*/
	float:left;
}
#llocspublicacio{
	clear:none;
	/*width:200px;*/
	float:left;
}
#enquadernacions{
	clear:none;
	/*width:200px;*/
	float:left;
}
#procedencias{
	clear:none;
	/*width:200px;*/
	float:left;
}
#descriptorsentitat{
	clear:none;
	/*width:200px;*/
	float:left;
	margin:0;
}
#Descriptorsgepgrafic{
	clear:none;
	/*width:200px;*/
	float:left;
	margin:0;
}
#Descriptorstematic{
	clear:none;
	/*width:200px;*/
	float:left;
	margin:0;
}
#tipus_documents{
	clear:none;
	/*width:200px;*/
	float:left;
}
#seccions{
	clear:none;
	/*width:200px;*/
	float:left;
}
select{
	padding:2px;
}
fieldset.document{
	width:950px;
}
.flexigrid div.fbutton .add
	{
		background: url(flexigrid/images/add.png) no-repeat center left;
	}	

.flexigrid div.fbutton .delete
	{
		background: url(flexigrid/images/close.png) no-repeat center left;
	}
.flexigrid div.fbutton .edit
	{
		background: url(flexigrid/images/edit.png) no-repeat center left;
	}
.flexigrid div.fbutton .copy
	{
		background: url(flexigrid/images/copiar.png) no-repeat center left;
	}
.flexigrid div.fbutton .view
	{
		background: url(flexigrid/images/veure.png) no-repeat center left;
	}
form#DocumentEditForm{
	width:950px;
}
.clr{
	clear:both;
}
.desplegable{
	clear:none;
	width:auto;
	float:left;
	
}
.desplegable select{
	clear:none;
}
.paginacion div.link{
	float:left;
	width:auto;
	padding-right:20px;
	
}
tr.altrow{
	background-color:#EFEFEF;
}
table.documents a{font-weight:normal;}
