/* Stili base */

body {
	background-color: #fff;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	color: #333;
	margin: 0;
	padding: 0;
	line-height: 1.4;
}

html body {
	padding: 0 !important;
}

a {
	color: #69c;
}

a:hover {
	color: #003470;
}

table, tr, td, th {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 1.4;
}

.row1 {
	background-color: #eef2f7;
}

.row2 {
	background-color: #fff;
}

#changelist table tbody tr.selected {
	background-color: #c1cfe1 !important;
}

thead th, tfoot td {
	font-size: 12px;
}

.module, .inline-group {
	margin: 0;
	border: none;
}

.module h2, .module caption, .inline-group h2 {
	margin-top: 15px;
	background-color: #eee;
	background-image: none;
	border: none;
	font-size: 14px;
	color: #69c;
	padding: 10px 10px;
}

#changelist-filter h2 {
	margin: 0;
}

/* Stili form base */

form .form-row p {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.4;
	color: #000;
}

th label {
	padding: 5px;
	position: relative;
	top: 5px;
}

.submit-row {
	margin: 20px -10px 10px -10px;
	background: #69c;
	border: none;
	color: white;
	padding: 10px;
	padding-bottom: 8px;
}

.submit-row input.default {
	background: white url(admin/img/nav-bg.gif) bottom repeat-x;
	padding: 3px 5px;
	color: black;
	border: 1px solid #BBB;
	border-color: #DDD #AAA #AAA #DDD;
}

.submit-row input.default:active {
	background-image: url(admin/img/nav-bg-reverse.gif);
	background-position: top;
}

a.deletelink:link, a.deletelink:visited {
	color: white;
}

input[readonly] {
	background: #eee;
}

/* Varie su dimensione font */

h1 {
	color: #003470;
}

#changelist .actions label,
#changelist .actions span.all,
#changelist .actions span.action-counter,
#changelist .actions span.clear,
#changelist .actions span.question,
#changelist .paginator,
#changelist-filter h2,
#changelist-filter li {
	font-size: 11px;
	line-height: 1.4;
}

#changelist-filter li a:link,
#changelist-filter li a:visited {
	color: #69c;
	text-decoration: underline;
}

#changelist-filter li.selected {
	font-weight: bold;
	border-left: 5px solid #69c;
	background: #69c;
}

#changelist-filter li:first-child.selected {
	background: transparent;
}

#changelist-filter li.selected a:link,
#changelist-filter li.selected a:visited {
	color: white !important;
	text-decoration: none;
}

#changelist-filter li:first-child.selected a:link,
#changelist-filter li:first-child.selected a:visited {
	color: #666 !important;
	font-weight: normal;
}

#changelist-filter li a:hover,
#changelist-filter li a:active,
#changelist-filter li.selected a:hover,
#changelist-filter li.selected a:active {
	color: #003470;
	text-decoration: underline;
}

#changelist-filter li.selected a:hover,
#changelist-filter li.selected a:active {
	text-decoration: none;
	cursor: text;
}

#changelist-filter h2 {
	border-top: 1px solid #ddd;
}

.inline-group ul.tools a.add,
.inline-group div.add-row a,
.inline-group .tabular tr.add-row td a {
	font-size: 12px;
}

.paginator a:link,
.paginator a:visited {
	font-size: 12px;
	text-decoration: underline;
	border: none;
}

.paginator .this-page {
	font-size: 12px;
	color: #003470;
}

.paginator a:hover {
	color: #fff;
	background: #69c;
	border: none;
}

/* Breadcrumbs */

div.breadcrumbs {
	margin-top: 15px;
	background-image: none;
	color: #333;
	font-size: 11px;
	border: none;
	padding: 0;
}

div.breadcrumbs a {
	display: block;
	font-weight: bold;
	color: #69c;
	line-height: 1;
}

div.breadcrumbs div.line {
	margin: 0;
	margin-top: -1px;
	line-height: 1;
	overflow: hidden;
	height: 11px;
	padding: 10px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	clear: both;
}

div.breadcrumbs div.line a {
	position: relative;
	padding: 10px 0;
	margin: -10px;
	margin-left: 230px;
}

div.breadcrumbs div.line a:hover {
	background: #eee url("arrow2.png") no-repeat -20px 50%;
	background-color: #eee;
}

div.breadcrumbs div.line span a {
	display: block;
	float: left;
	width: 245px;
	padding: 10px 0 10px 15px;
	margin: -10px 0;
	background: #69c url("arrow.png") no-repeat right 50%;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
}

div.breadcrumbs div.line span a:hover {
	background:#69c url("arrow.png") no-repeat right 50%;
	background-color:#003470;
}

/* Correzione bugs per mettere sopra il menu top su ie7 */

#header ul#navigation-menu {
	position: relative;
	z-index: 9999px;
}

#header ul#navigation-menu li ul li a {
	text-transform: uppercase;
}

/* Header CPV */

#header {
	background: #003470;
	color: #fff;
}

#header #branding h1 {
	padding: 15px 10px;
	height: 75px;
	color: #fff;
	text-indent: -9999px;
}

#header #branding span {
	display: block;
	background: transparent url("logo.png") no-repeat top left;
	width: 428px;
	height: 75px;
}

ul.admin_tabs li.current a {
	color: #003470;
}

#user-tools strong {
	color: #69c;
}

/* Riscrittura link object-tools senza immagini di background */

.object-tools {
	margin-top: -35px;
	margin-right: 15px;
}

.object-tools li {
	font-size: 12px;
	background: none !important;
}

.object-tools a:link,
.object-tools a:visited,
.object-tools li:hover a,
.object-tools li input {
	background: #69c;
	padding: 2px 15px 3px 15px !important;
	border-radius: 99px;
	behavior: url(/static/PIE.htc);
}

.object-tools li input {
	color: white;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	border: none;
	cursor: pointer;
}

.object-tools a.begin,
.object-tools li:hover a.begin {
	border-radius: 99px 0 0 99px;
}

.object-tools a.middle,
.object-tools li:hover a.middle {
	border-radius: 0;
}

.object-tools a.end,
.object-tools li:hover a.end {
	border-radius: 0 99px 99px 0;
}

.object-tools a.begin,
.object-tools li:hover a.begin,
.object-tools a.middle,
.object-tools li:hover a.middle {
	padding-right: 8px !important;
	margin-right: 2px;
}

.object-tools a.middle,
.object-tools li:hover a.middle,
.object-tools a.end,
.object-tools li:hover a.end {
	padding-left: 8px !important;
}

.object-tools li a:hover,
.object-tools li a.addlink:hover,
.object-tools li a.viewsitelink:hover,
.object-tools li a.golink:hover,
.object-tools li input:hover {
	background: #003470;
}

.object-tools li form {
	display: inline;
}

/* Correzione wrap negli indici */

td.nowrap {
	white-space: normal !important;
}

/* Filtri top, sotto alla ricerca generale */

#top-filters {
    background: #efefef;
}

#top-filters .top-filter {
    padding: 3px 8px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ddd;
}

#top-filters .top-filter label {
	width: 10em;
	line-height: 2;
}

#show-top-filters {
	position: absolute;
	top: 10px;
	right: 170px;
}

/* Ombreggiatura menu */

#navigation-menu ul {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	behavior: url(/static/PIE.htc);
}

#navigation-menu ul a:hover {
	background: #69c;
	color: white !important;
}


/* Eliminazione margini */

#content {
	margin: 10px;
}
body.change-list #content {
	margin: 0;
}

#footer {
	padding: 0;
}

#content h1 {
	margin: 15px 10px;
}

#changelist td:first-child,
#changelist th:first-child {
	padding-left: 10px;
}

table thead th:first-child .text span {
	padding-left: 0;
}

/* Varie */

.inline-group div.add-row,
.inline-group .tabular tr.add-row td {
	background: transparent;
	border: none;
}

.inline-group .tabular tr.has_original td {
	padding-top: 0;
	padding-bottom: 0;
}

.inline-group {
	border: none;
}

table.form {
	width: 100%;
	margin-bottom: 10px;
}

div.calendar, div.calendar-shortcuts {
	border: 1px solid #ddd;
	border-bottom: none;
}

p.calendar-cancel {
	border: 1px solid #ddd;
}

div.calendar table td.today a {
	background-color: #c1cfe1;
	color: #003470;
}

div.calendar table td.today a:hover {
	background-color: #69c;
	color: #fff;
}

p.help, p.help {
	font-size: 11px !important;
	color: #69c !important;
	padding-left: 10px !important;
	margin-left: 8.75em !important;
}

/* Custom form inserimento anagrafiche:link alle schede */

div.goto {
	margin: 10px 0px;
}

div.goto a {
    background: white url(admin/img/nav-bg.gif) bottom repeat-x;
    color: black;
    border: 1px solid #bbb;
    border-color: #ddd #aaa #aaa #ddd;
    margin: 2px 0;
    padding: 3px 5px;
    vertical-align: middle;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 11px;
}

/* Tolta scritta inutile su form dettaglio */

tr.has_original td.original p {
	display: none;
}

/* Tolto il link per aggiungere nuovi elementi (il +) */

a.add-another {
	display: none;
}

/* Caselle autocomplete */

input.ui-autocomplete-input {
	width: 610px;
}

button.ui-combo-button {
	background: white url(admin/img/nav-bg.gif) bottom repeat-x;
	padding: 2px 0 2px 3px;
	color: black;
	border: 1px solid #BBB;
	border-color: #DDD #AAA #AAA #DDD;
	border-left-width: 0;
	margin-left: 0;
	vertical-align: middle;
}

button.ui-combo-button:active {
	border-top-width: 2px;
	border-left-width: 1px;
	padding: 2px 0 1px 3px;
}

button.ui-combo-button span.ui-icon:after {
	content: '\25bc';
	color: #666;
}

input.ui-state-error {
	color: #cc3434;
	background-color: #faeaea;
}

ul.ui-autocomplete {
	margin: 0;
	padding: 0;
	width: 616px !important;
	background-color: #fff;
	border: 1px solid #ccc;
	max-height: 300px;
	overflow: auto;
}

li.ui-menu-item {
	margin: 0;
	padding: 0;
	cursor: default;
}

li.ui-menu-item a {
	display: block;
	padding: 3px 7px;
	color: #333;
}

li.ui-menu-item a:hover {
	background-color: #69c;
	color: #fff;
}

span.highlight {
	text-decoration: underline;
	color: #69c;
	font-weight: normal;
}

li.ui-menu-item a:hover span.highlight {
	color: #fff;
}

/* Icone */

span.icon {
	height: 20px;
	width: 20px;
	display: inline-block;
	margin-top: -2px;
	margin-bottom: -7px;
	background-image: url(icons.png);
}

span.icon.A {
	background-position: 0 0;
	background-image: url(icons-ok.png);
}

span.icon.P {
	background-position: 0 -20px;
	background-image: url(icons-ok.png);
}

span.icon.D {
	background-position: 0 -40px;
	background-image: url(icons-ok.png);
}

span.icon.A.disabled {
	background-position: 0 0;
	background-image: url(icons-dis.png);
}

span.icon.P.disabled {
	background-position: 0 -20px;
	background-image: url(icons-dis.png);
}

span.icon.D.disabled {
	background-position: 0 -40px;
	background-image: url(icons-dis.png);
}

span.icon.A.cancelled {
	background-position: 0 0;
	background-image: url(icons-canc.png);
}

span.icon.P.cancelled {
	background-position: 0 -20px;
	background-image: url(icons-canc.png);
}

span.icon.D.cancelled {
	background-image: url(icons-canc.png);
	background-position: 0 -40px;
}

/* Form di login */

.login #container {
    min-width: 450px !important;
}

.login #content-main {
	padding-bottom: 20px;
}

.login .errornote {
	margin-top: 10px;
}

.smallTextField {
	height:50px;
}

/* campo textField di dimensioni ridotte (per tutti, soprattutto gli inline) */
.vLargeTextField {
	height:50px;
    width: 600px !important;
}

/* input text più grande */
input[type=text]{
    width: 600px;
}

/* textfield normali stessa dimensione */
td .vTextField {
    width: 20em;
}

/* stili dashboard */
.dashboard_table {
    width: 100%;
}
