html, body {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	position: relative;
	width: 100%;
	height: 101%;
	font-size: 12px;
	font-family: Helvetica, Arial, sans-serif;
	color: #777;
}
img {
	border: 0;
}
p {
	padding: 5px 0;
}
label img {
	vertical-align: middle;
}
a, a:hover {
	color: #2C52A1;
}
table thead, table tfoot {
	font-weight: bold;
}
table td {
	padding: 5px;
}
hr {
	display: block;
	height: 1px;
	border: none;
	background: #F3AA00;
	
}
h1 {
	color: #F3AA00;
	margin: 15px 0;
}

.small {
	font-size: 10px;
}
.big {
	font-size: 14px;
}
.bold {
	font-weight: bold !important;
}
.italic {
	font-style: italic !important;
}
.black {
	color: #000000 !important;
}
.red {
	color: #CC0000 !important;
}
.grey {
	color: #777777 !important;
}
.odd {
	background: #FFFFFF;
}
.even {
	background: #EDEDED;
}
.clickable {
	cursor: pointer;
}
.right {
	float: right;
}
.align-right {
	text-align: right;
}
.hidden {
	display: none;
}
.clear {
	clear: both;
}

.bkg-body {
	background: url('../images/bkg_body.png') left top repeat-x;
}

#container {
	width: 800px;
	margin: 0 auto;
}

#bottombar {
	background: #EEEEEE;
	margin-top: 10px;
	padding: 5px 10px;
	line-height: 36px;
}

/* FORM STYLE */
input[type=text], input[type=password], select, textarea {
	width: 160px;
	color: #333;
	background: #FAFAFA;
	border: 1px solid #BBB;
	font-size: 12px;
}
input[type=text], input[type=password] {
	padding: 2px 5px;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
}
input[type=file] {
	color: #333;
	background: #FAFAFA;
	border: 1px solid #BBB;
	font-size: 12px;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
}
select {
	width: 172px;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.2);
}

/* LOGIN */
#login {
	width: 320px;
	height: 240px;
	margin: 100px auto 0;
	padding: 120px 20px 20px 20px;
	background: url('../images/login.png') center top no-repeat;
	color: #000;
}
#login.biopartners {
	background: url('../images/login_biopartners.png') center top no-repeat;
}

#login #box-error {
	margin-left: 90px;
	padding-left: 10px;
	font-weight: bold;
	color: #E00;
}

#login .box {
	clear: left;
	padding: 7px 0;
}

#login label {
	float: left;
	width: 90px;
}

#login #box-remember label, #login #box-remember input {
	float: none;
	width: auto;
}

#login #box-remember, #login #box-submit {
	margin-left: 90px;
	padding-left: 10px;
}


/* LIST */
#header {
	position: relative;
	width: 800px;
	height: 150px;
	margin: 0 auto;
	background: url('../images/header.png') left top no-repeat;
}
#header.biopartners {
	background: url('../images/header_biopartners.png') left top no-repeat;
}

#top-buttons {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 400px;
	height: 150px;
}

#top-buttons .row {
	margin-top: 10px;
	height: 25px;
}

#top-buttons .button {
	float: right;
}

#top-table-box {
	float: right;
	margin-top: 15px;
}

.table {
	width: 100%;
	margin: 0 auto;
}
.table tr td {
	padding: 6px 2px;
}
.table thead tr, .table tfoot tr {
	background: #F3AA00 !important;
	color: #FFF;
}
.table tr.odd {
	background: #F5F5F5;
}
.table tr.even {
	background: #EDEDED;
}
.table td.first {
	padding-left: 18px;
}
.table td.last {
	padding-right: 18px;
}

/* EDIT */
.due-colonne-uno {
	float: left;
	width: 49%;
}

.due-colonne-due {
	margin-left: 50%;
	width: 50%;
}

.tre-colonne-uno {
	float: left;
	width: 32%;
}
.tre-colonne-due {
	float: left;
	width: 32%;
}
.tre-colonne-tre {
	margin-left: 66%;
	width: 34%;
}

.quattro-colonne-uno {
	float: left;
	width: 25%;
}
.quattro-colonne-due {
	float: left;
	width: 25%;
}
.quattro-colonne-tre {
	float: left;
	width: 25%;
}
.quattro-colonne-quattro {
	margin-left: 75%;
	width: 25%;
}

.form .box {
	padding: 7px 0;
}

.form label {
	float: left;
	width: 140px;
	padding-left: 5px;
}

.form p {
	padding: 5px 0;
}

/* INSERIMENTO */

#box-salva {
	padding-bottom: 30px;
}

#box-salva button {
	width: 60px;
	padding: 0;
	border: none;
	background: none;
}

.button {
	float: left;
	margin: 0 5px;
	background: #FFF;
	-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.button a {
	font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif;
	display: block;
	padding: 5px 13px;
	text-decoration: none;
	color: #555;
}

#pagination {
	padding: 10px 0 15px;
	border-top: 1px solid #CCC;
}

#pagination a {
	color: #555;
	font-weight: bold;
	text-decoration: none;
}

/* FILTERS */
#filters {
	height: 30px;
}
#filters label {
	width: 70px;
	line-height: 20px;
}
#filters input {
	width: 100px;
}
#box-filtro-buttons {
	padding-top: 3px;
}

/* NOTE */
#dialog-note {
	overflow-y: scroll;
}
#dialog-note h3 {
	margin: 5px 0;
}
#box-note {
	float: left;
	width: 75%;
}
#box-note-params {
	text-align: right;
}
#note-note {
	width: 100%;
	height: 60px;
	margin-bottom: 10px;
}
#save-note {
	float: right;
	cursor: pointer;
	font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif;
	display: block;
	padding: 5px 13px;
	text-decoration: none;
	color: #555;
}
#save-note-loading {
	display: none;
	float: right;
}
.dialog-note.loading::before {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	content: '';
	background: rgba(0,0,0,0);
	z-index: 9999;
}
.dialog-note.loading #save-note-loading {
	display: block;
}
#table-notes {
	border-collapse: collapse;
}
#table-notes .odd {
	background: #FAF5ED;
}
#table-notes .even {
	background: #FAFAFA;
}
#table-notes .attachments {
	margin: 10px 0 5px;
}
#table-notes .attachments label {
	display: inline-block;
	font-style: italic;
	vertical-align: middle;
}
#table-notes .attachments a {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 15px;
	background: url('../images/document.png') center center no-repeat;
	-webkit-background-size: 18px 18px;
	-moz-background-size: 18px 18px;
	background-size: 18px 18px;
	vertical-align: middle;
}
#table-notes .attachments a.pdf {
	background-image: url('../images/document_pdf.png');
}
#table-notes .attachments a.media {
	background-image: url('../images/document_image.png');
}
#table-notes .attachments a.archive {
	background-image: url('../images/document_archive.png');
}
#box-attachments .attachment {
	clear: right;
	margin-top: 10px;
}
#box-attachments .add {
	padding: 10px 0;
}

/* ANALISI */
#dialog-analisi h3 {
	margin: 5px 0;
}
#table-analisi {
	border-collapse: collapse;
}
#table-analisi .odd {
	background: #FAF5ED;
}
#table-analisi .even {
	background: #FAFAFA;
}

/* CREDITS */
#credits {
	position: fixed;
	right: 10px;
	bottom: 10px;
	width: 70px;
	height: 20px;
}
#credits a {
	font-family: Verdana, sans-serif;
	color: #415979;
	font-size: 12px;
	font-weight: bold;
	line-height: 20px;
	text-decoration: none;
}
#credits img {
	float: right;
}
