/* CSS STILE COLORE, BORDI E TABELLE */

body, html { background: #FFF; }

a.link:hover { color: #00C; }
a.go:hover { color: #0C0; }
a.indietro:hover { color: #C00; }

.ok { color: #090; }
.error { color: #C00; }

/* PULSANTI */
.back			{ float: left; line-height: 50px; }
.logout			{ float: right; line-height: 50px; }
.submit			{ color: #fff; font-weight: bold; padding: 5px; margin: 0px 10px; min-width: 120px; z-index: 10000;
				  border: 0; border-radius: 5px; -moz-border-radius: 5px; /* firefox */ -webkit-border-radius: 5px; /* safari, chrome */
				  background: #0062d1; }
.submit:hover	{ background: #0096ff; }
.nuovo			{ background: #00b200; }
.nuovo:hover	{ background: #00df00; }
.modifica		{ background: #ffb400; }
.modifica:hover	{ background: #fada00; }
.cancella		{ background: #cd0000; }
.cancella:hover	{ background: #ff0000; }
.disabled		{ color: #ccc; }
.disabled:hover	{ color: #aaa; }

/* COLORE BACKGROUND */
.wrapper { background: #FFF; }

/* FOOTER */
footer { color: #FFF; }
footer a { color: #ff7400; }

/* INPUT */
input, textarea, select, search, tel, email, date, number, url { border: 1px solid #666; }
input[type="text"]:focus, select:focus { background: #FFC; }
input.error { background: #FF9; }

/* DIV ERRORE COMPILAZIONE */
.error_box { background: #910000; }
.error_box:after { border-color: rgba(145, 0, 0, 0); border-right-color: #910000; }
.error_box a { color: #FFF; }
.error_box a:hover { color: #FF9; }

/* MENU' DI NAVIGAZIONE */
aside.menu-sx { background: #0f2130; border-right: 5px solid #1086ff; }
aside.menu-sx a.link { color: #FFF; }
aside.menu-sx a.link:hover, aside.menu-sx a.selected { color: #FFF !important; background: #003f77 !important; border-right: 5px solid #ff7400; }
aside.menu-sx .home h1 { color: #FFF; }
aside.menu-sx .home:hover h1 { /*color: #FC0;*/ }

/* PANNELLO CENTRALE */
.panel { background: #FFF; }
.table, .table2 { background: #fff; border: 2px solid #ddd; border-collapse: separate; border-spacing: 0px; border-radius: 10px; }
.table th { border-bottom: 2px solid #ddd; }
.table tbody tr:nth-child(even) { background: #f3f6f8; }
.table tbody tr:hover, .table2 tr:hover { background: #e5f0f7; }
.table tbody tr:last-child, .table tbody tr:last-child:hover, .table2 tbody tr:last-child { background: #FFF; }
/* LARGHEZZE CAMPI */
.td_title { min-width: 150px; }
.td_50 { width: 50px; }
.td_80 { width: 80px; }
.td_100 { width: 100px; }
.td_150 { width: 150px; }
.td_200 { width: 200px; }
.td_300 { width: 300px; }
.td_elimina { width: 62px; }

/* CAMPI DI RICERCA */
.search input[type="text"] { border: 2px solid #ddd; border-radius: 5px 0 0 5px; }
.search input[type="text"]:focus { background: #fff }
.search input[type="image"] { height: 25px; border: 2px solid #ddd; border-radius: 0 5px 5px 0; margin-left: -2px; background: #fff; }
.search input[type="image"]:hover { background: #e5f0f7; }
.searchbox { width: 816px; padding: 10px 30px; background: #FFF; border: 2px solid #ddd; border-radius: 10px; }
.border-sx { border: 2px solid #ddd; border-radius: 5px 0 0 5px; }
.border-no { border: 2px solid #ddd; margin: 0 -6px; }
.border-dx { border: 2px solid #ddd; border-radius: 0 5px 5px 0; }
.border-tot { border: 2px solid #ddd; border-radius: 5px; margin-bottom: 10px; }

/* FORM */
.anagrafica_sezione { background: #fff; border: 2px solid #ddd; }
.anagrafica_sezione label { color: #004a6e; }
.anagrafica_titolo { font-weight: bold; background: #fff; color: #003; border: 2px solid #ddd; }

/* SEZIONI DI RICERCA INTERNE AI FORM */
.display_box { background: #FFF; }
.display_box:hover { background: #FF9; }

/* TAB DI SCELTA OPZIONALI */
.select_box { min-width: 100px; height: 20px; border: 2px solid #CCC; border-radius: 10px; margin: 5px; padding: 5px 10px; text-align: center; float: left;
				background: rgb(232,243,247);
				background: -moz-linear-gradient(-45deg, rgba(232,243,247,1) 1%, rgba(188,216,226,1) 47%, rgba(176,212,227,1) 50%, rgba(136,186,207,1) 100%);
				background: -webkit-linear-gradient(-45deg, rgba(232,243,247,1) 1%,rgba(188,216,226,1) 47%,rgba(176,212,227,1) 50%,rgba(136,186,207,1) 100%);
				background: linear-gradient(135deg, rgba(232,243,247,1) 1%,rgba(188,216,226,1) 47%,rgba(176,212,227,1) 50%,rgba(136,186,207,1) 100%);
				filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8f3f7', endColorstr='#88bacf',GradientType=1 );
}
.select_box:hover { box-shadow: inset 0px 0px 2px 0px; background: rgb(232,243,247);
					background: -moz-linear-gradient(45deg, rgba(232,243,247,1) 1%, rgba(188,216,226,1) 47%, rgba(176,212,227,1) 50%, rgba(136,186,207,1) 100%);
					background: -webkit-linear-gradient(45deg, rgba(232,243,247,1) 1%,rgba(188,216,226,1) 47%,rgba(176,212,227,1) 50%,rgba(136,186,207,1) 100%);
					background: linear-gradient(45deg, rgba(232,243,247,1) 1%,rgba(188,216,226,1) 47%,rgba(176,212,227,1) 50%,rgba(136,186,207,1) 100%);
					filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8f3f7', endColorstr='#88bacf',GradientType=1 );
}
.select_box_selected { background: rgb(255,249,242) !important;
						background: -moz-linear-gradient(45deg, rgba(255,249,242,1) 1%, rgba(242,141,26,1) 47%, rgba(239,149,52,1) 50%, rgba(219,109,0,1) 100%) !important;
						background: -webkit-linear-gradient(45deg, rgba(255,249,242,1) 1%,rgba(242,141,26,1) 47%,rgba(239,149,52,1) 50%,rgba(219,109,0,1) 100%) !important;
						background: linear-gradient(45deg, rgba(255,249,242,1) 1%,rgba(242,141,26,1) 47%,rgba(239,149,52,1) 50%,rgba(219,109,0,1) 100%) !important;
						filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff9f2', endColorstr='#db6d00',GradientType=1 ) !important;
}

/* SEZIONE OPZIONI TAB */
.etichetta { background: #62a3c1; border: 2px solid #62a3c1; }
.etichetta:hover { background: #cfe7f2; }
.selected { background: #aed3e5 !important; }
.opt_sezione { background: #aed3e5; border: 2px solid #62a3c1; }
.opt { background: #FFF; }
.opt_line { background: #FFF; }
.opt_line:hover { background: #e5f0f7; }

@media only screen and ( max-width: 767px ) {
	
	.error_box:after { border: solid transparent; border-color: rgba(145, 0, 0, 0); border-top-color: #910000; }
	
	/* MENU' DI NAVIGAZIONE */
	.m-title { background: #0f2130; }
	.m-title h1 { color: #FFF; }
	
	/* PANNELLO CENTRALE */
	.table-cell { background: #FFF; border: 2px solid #0f2130; border-collapse: separate; border-spacing: 0px; border-radius: 10px; }
}