/* RESET */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	font-family: 'Roboto Condensed', sans-serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

b, strong {
	font-weight: 700;
}

i, em {
	font-style: italic;
}

body {
	background: #0061A8;
}
.wrapper {
	background: #0061a8;
}

/* HEADER */
#header {
	width: 100%;
}
#header, #header .logo {
	height: 100px;
}
#header .left, #header .right {
	height: 79px;
	margin-top: 12px;
	width: 45%;
}
#header .left {
	float: left;
	background: #2b3786;
}
#header .logo {
	width: 960px;
	background: url(../images/header.jpg);
	position: absolute;
	margin-left: 50%;
	left: -480px;
}
#header .right {
	float: right;
	background: #e31e2d;
}

/* CONTENT */
.content {
	background: #66a0cb;
	border-radius: 20px;
	width: 960px;
	margin: 0 auto;
	padding: 20px 10px 10px 10px;
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.75);
}

.usermenu {
	margin-bottom: 30px;
}

.welcome {
	background: #0061a8;
	color: #FFF;
	height: 30px;
	font-size: 90%;
	line-height: 30px;
	padding: 0 30px;
	margin-left: -20px;
	margin-top: 6px;
	width: auto;
	display: inline-block;
}

.welcome span {
	float: left;
}

.welcome span.icon {
	background-image:url(../images/sprite.png);
	background-position: -233px -181px;
	height: 30px;
	width: 30px;
}

.logout {
	float: right;
}

.logout a {
	background-image:url(../images/sprite.png);
	width: 150px;
	height: 60px;
	background-position: 0px -171px;
	display: block;
}

.logout a:hover {
	background-position: -260px -171px;
}

.button a {
	float: left;
	width: 220px;
	height: 75px;
	background-image:url(../images/sprite.png);
	display: block;
	margin-left: 16px;
}

.button a#todayEvent {
	background-position: -700px -10px;
}

.button a#todayEvent:hover, .button a.active#todayEvent {
	background-position: -700px -88px;
}

.button a#insertEvent {
	background-position: -10px -10px;
}

.button a#insertEvent:hover, .button a.active#insertEvent {
	background-position: -10px -88px;
}

.button a#archiveEvent {
	background-position: -240px -10px;
}

.button a#archiveEvent:hover, .button a.active#archiveEvent {
	background-position: -240px -88px;
}

.button a#userAdministration {
	background-position: -470px -10px;
}

.button a#userAdministration:hover, .button a.active#userAdministration {
	background-position: -470px -88px;
}

.contentTable {
	background: #FFF;
	border-radius: 10px;
	padding: 8px;
	margin-bottom: 50px;
}

.intestazione span {
	float: left;
	display: block;
}

.intestazione span.title {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 20px;
	color: #005681;
	border-left: 10px solid #005681;
	padding-left: 5px;
	height: 30px;
	line-height: 30px;
	margin: 2px 0 8px 0;
}

.intestazione span.icon {
	width: 54px;
	height: 45px;
	background-image: url(../images/sprite.png);
	background-position: -159px -173px;
	margin-left: 80px;
}

.intestazione span.date {
	line-height: 36px;
	background: #005681;
	padding: 0 20px;
	color: #FFF;
	z-index: 1;
}

table a {
	color: #e31e2d;
}

table a:hover {
	color: #005681;
}

.arrow {
	background-image: url(../images/sprite.png);
	display: block;
	width: 24px;
	height: 24px;
	position: absolute;
	right: 2px;
	top: 5px;
}

.arrow.down {
	background-position: -411px -171px;
}

.arrow.up {
	background-position: -411px -201px;
}

.manipulateData {
	margin: 16px;
	position: relative;
}

.order {
	margin-bottom: 8px;
}

.inputHidden {
	margin: 20px;
}

.inputHidden div {
	display: none;
}

.datiCliente.note {
	width: 50%;
	float: left;
}

.button span.savevent {
	padding: 20px;
	margin: 100px 0 0 306px;
	display: block;
	background: #e31e2d;
	color: #FFF;
	font-weight: 700;
	border: 2px solid black;
	cursor: pointer;
	text-transform: uppercase;
		
}

.stateEvent {
margin-left: 54px;
float: left;
}

.button span.savevent:hover {
	background: #005681;
	color: #FFF;
}

.datiCliente div {
	width: 33%;
	float: left;
}

.datiCliente textarea {
	width: 90%;
	padding: 6px;
	margin: 10px 0;
}

.datiCliente.note textarea {
	width: 97%;
}

.insert_event textarea {
	min-width: 290px;
	height: 80px;
}

.datiCliente span.title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	background: #006699;
	padding: 10px;
	color: #FFF;
	margin: 10px 0;
}

.data, .ora, .agente {
	float: left;
}

.ora {
	margin-left: 10px;
}

.agente {
	margin-left: 20px;
}

.firstRow {
	margin: 10px 0;
}

/* FOOTER */


/* TABELLA */
.datagrid table {
	border-collapse: collapse;
	text-align: left;
	width: 100%;
}
.datagrid {
	font: normal 12px/150%;
	background: #fff;
	overflow: hidden;
	border: 2px solid #006699;

}
.datagrid table td, .datagrid table th {
	padding: 8px 8px;
}
.datagrid table thead th {
	vertical-align: middle;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );
	background: -moz-linear-gradient( center top, #006699 5%, #00557F 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');
	background-color: #006699;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: bold;
	border-left: 1px solid #0070A8;
}
.datagrid table thead th:first-child {
	border: none;
}
.datagrid table tbody td {
	color: #00496B;
	max-width: 500px;
	min-width: 95px;
	border-left: 1px solid #006C91;
	font-size: 16px;
	font-weight: normal;
}
.datagrid table tbody .alt td {
	background: #E1EEF4;
	color: #00496B;
}
.datagrid table tbody td:first-child {
	border-left: none;
}
.datagrid table tbody tr:last-child td {
	border-bottom: none;
}

table.storico  {
	margin-top: 8px;
}

.storico td {
	padding: 4px 8px;
	border-top: 1px solid #000;
}

span.pag {
	cursor: pointer;
	padding: 0 2px 0 2px;
}

span.pag:hover {
	color: #FFF;
	background: #0070A8;
}

span.pag.current {
	color: #FFF;
	background: #0070A8;
}

span.modificautentelabel {
width: 200px;
display: block;
float: left;
line-height: 22px;
}

.footer a:hover {
text-decoration: none;
color: #98D5EB;
}
.footer a {
font-weight: 700;
color: #FFF;
}
