
#topshadow { margin: 0 auto; padding-top: 20px; height: 65px;  background: transparent url(../images/bg-top2.png) no-repeat center top; }

#mainmenu { float: none !important; width: 990px !important; margin: 0px auto 10px auto !important; }

#container { width: 945px !important; padding: 24px 7px; font-size: 14px;  }

#container h3 { margin-top: 50px; }

a:hover {	color: #e67300 !important;}




.menu li { padding-top: 1px; }
	.menu li a {	color: #1F4F82 !important;	text-transform: uppercase;     } 
		.menu li a:hover {	color: #e67300 !important;}
	.menu li.selected a {	color: #e67300 !important;}



ul.add { float: left; width: 350px; padding-bottom: 20px; }
	ul.add li { float: left; background: #fff; padding: 2px 10px;}
		ul.add li a { padding-right: 25px;  background: transparent url(../images/icon-add.png) no-repeat 100% 0%; }
		
		
form.ricerca { float: right; width: 550px; padding: 0 !important; margin: 0 !important; }		
	form.ricerca label { display: none; }	
	form.ricerca input { float: right; width: 220px; height: 20px !important; margin: 0 !important;}
	form.ricerca select { float: right; width: 100px; height: 24px !important; margin: 0 0 0 10px !important; font-size: 12px !important}
	form.ricerca button.button { float: right; padding: 4px 7px !important; font-size: 12px !important; margin: 0 0 0 10px; }
	

table { width: 100%; border-collapse: collapse; }
	table tr th { padding: 6px 8px; text-transform: uppercase; background: #ccc; color:#fff; font-weight: 600; text-shadow: -1px -1px 0 #a3a2a2, 1px 1px 0 #e5e3e3;  }
	table tr td { padding: 3px 8px; vertical-align: top; border-bottom:1px solid #ddd; }
		table tr:nth-child(even) td { background: #f9f9f9 !important;}
		table tr:nth-child(odd) td { background: #efefef !important; }
		
		table tr td.data { font-size: 11px; }
		table tr td.azioni { font-size: 12px; }
		table tr th.lastright ,
		table tr td.lastright { text-align: right !important; width: 35px !important; white-space: nowrap !important;}
			table tr td.lastright.wide { width: 100px !important; }
		
		table tr td.right { text-align: right !important; }

a.edit ,
a.edit2 ,
a.delete ,
a.view ,
a.image { float: left; margin: 2px 0 0 8px; width: 16px; height: 16px; display: block; background: transparent url(../images/icon-edit.png) no-repeat 0 0; overflow: hidden; }
a.edit2 { background: transparent url(../images/icon-edit2.png) no-repeat 0 0; }
a.delete { background: transparent url(../images/icon-delete.png) no-repeat 0 0; }
a.image { background: transparent url(../images/icon-image.png) no-repeat 0 0; }
a.view { background: transparent url(../images/icon-eye.png) no-repeat 0 0; }
	a.edit span ,
	a.edit2 span ,
	a.view span ,
	a.delete span ,
	a.image span { letter-spacing: -9999px; font-size: 1px; }


a.delContenutoRef ,
a.MultiFile-remove { float: right !important; }

input#cercaArticolo ,
input#cercaFileArchivio { background-image: url(../images/icon-lente.png) !important; background-repeat: no-repeat !important; background-position: 99% 50% !important; }


.alert { float: left; width: 96%; padding: 10px 15px; border:1px solid #c03c02; background: #c03c02; color: #fff;  margin-bottom: 15px; }


th.prodotto { background: none ; color: #1F4F82; font-size: 17px; padding-top: 20px; padding-bottom: 10px; text-shadow:none;  }
th.center ,
td.center { text-align: center !important; }

tr.valori th { padding: 2px !important; background: transparent !important; color: #777; font-size: 13px !important;  text-shadow:none;  }


a.accordion { float: right; display: block; width: 18px; height: 18px; overflow: hidden; text-decoration: none; }
	a.accordion.open { background: transparent url(../images/icon-accordion.png) no-repeat 0 0; }
	a.accordion.close {  background: transparent url(../images/icon-accordion.png) no-repeat -30px 0; }
	a.accordion span { display: none; }





/* error message baloon */

div.error p {
	margin:0;		
}
div.error {	
	height:15px;
	background-color:#000 !important;
	font-size:11px;
	border:1px solid #000 !important;
	color:#fff;
	display:none;	
	margin:0;
	padding:2px 8px 7px 8px;	
	border-radius:4px;
	box-shadow:0 1px 1px #555;		
	zoom: 1;
    filter: alpha(opacity=90);
    opacity: 0.9;
    z-index: 9999 !important;
}
div.error em {		
	position:absolute;
	left:20px;
	bottom:-12px;
	display:block;	
	width: 23px;
	height: 12px;
	overflow: hidden;
	background: transparent url(../images/errorarrow.png) no-repeat 100% 100%;
}





		
		*:focus{
			outline:none; /* Prevents blue border in Webkit */
		}

		
		#top_bit {
			width:760px;
			margin: 0 auto;border:1px solid red;
		}
		
		form {
			width: 100%;
		}
		
		form  label {
			color: #1F4F82; 
		}

		form p {
			float: left;
			width: 100%;
		}
		
		form p.half { float: left; width: 48%; }

		form p.half.right { float: right; }
		
		form p.multi select { height: 100px !important;}		
		
		p.cropimage { padding-top: 8px; }
			p.cropimage a { float: left; padding: 2px 8px; background: #1F4F82; margin-right: 20px; color: #fff; cursor: pointer;  }

		input, textarea, select {
			background-color:#fff !important;
			width: 99%;
			border:1px solid #ccc;
			height:26px;
			display:block;
			margin-bottom:10px;
			margin-top:4px;			
			font-size: 14px;
			color: #222 !important;
			-webkit-border-radius:5px;
			-moz-border-radius:5px;
			border-radius:5px;
			padding-left: 5px;
			
			-webkit-transition: all 0.3s ease-in-out;
			-moz-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
		}
		
		select { height: 30px; padding-top:4px !important; }
		
		textarea {
				min-height:200px;
				resize: vertical; 
		}

		input:focus, textarea:focus, select:focus {

			-webkit-box-shadow:0 0 5px #ccc;
			-moz-box-shadow:0 0 5px #ccc;
			box-shadow:0 0 5px #ccc;
	/*		
			-webkit-transform: scale(1.05);
			-moz-transform: scale(1.05);
			transform: scale(1.05);
*/
		}
		
		form  label a.tutti {
			color: #fff; 
			float: right; 
			font-size: 10px; 
			line-height: 10px;
			margin-right: 8px;
			background: #bcbcbc; 
			padding: 3px 4px; 
			-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
		}

		
		
		/* The interesting bit */
		
		input:not(:focus), textarea:not(:focus), select:not(:focus) {
			opacity:0.7;
		}
		
		input:required, textarea:required {
			/* background:url("/img/asterisco.png") no-repeat 780px 7px;		 */				
		}

		input:valid, textarea:valid {
			/* background:url("/img/tick.png") no-repeat 780px 5px;		 */	
		}		

		input:focus:invalid, textarea:focus:invalid {
			/* background:url("/img/annulla.png") no-repeat 780px 7px;	 */					
		}

		input[type=submit] {
			/* padding:10px; */
			background:transparent !important;
			border: none !important;
			opacity:1.0;
			
		}
		
		.elenco_allegati {  margin-bottom: 30px; }
		
	div.MultiFile-wrap { padding: 10px 0 0 0; }		
		
		input.MultiFile-applied {
			background:transparent !important;
			border: none !important;
		}
		
		.MultiFile-label { border-bottom:1px solid #ddd;padding: 6px 10px; }
		
		a.MultiFile-remove { float: right; }
		
		td input, .prova {
			
			}	
			
		input.sent {
			/* background:url("/img/tick.png") no-repeat 80px 5px; */
			}
			
		input.sentError {
			/* background:url("/img/annulla.png") no-repeat 80px 5px; */
			}
		
		input.negative {
			color:red;
			}
	
	input.listinoinput { 
			width:100px;
			/* font-family: 'BPdotsUnicaseSquareRegular';  */
			font-weight: normal; 
			text-shadow: 0 -1px -1px #2e043c, 0 1px 1px #fff; letter-spacing: -2px;
			font-size:36px;			
			color:#1b801b !important;
			text-align:center;
			margin:0 !important; 
			padding: 0 !important; 
			height: 42px !important;  
			}
	
	
			/* placeholder */
::-webkit-input-placeholder ,
input.listinoinput::-webkit-input-placeholder{ color: #666 !important;  }
:-moz-placeholder ,
input.listinoinput:-moz-placeholder { color: #666 !important;  }
:-ms-input-placeholder ,
input.listinoinput:-ms-input-placeholder { color: #666 !important;  }

:focus::-webkit-input-placeholder { color:transparent !important;}
:focus:-moz-placeholder { color:transparent !important;}
:focus:-ms-input-placeholder  { color:transparent !important;}




form.login p { margin-bottom: 4px; }
	
	
/* TABLE */


/*
table {
    *border-collapse: collapse; 
    border-spacing: 0;
    width: 100%;    
}
*/




/*----------------------*/

/*
#scopo table td, #scopo table th {
    padding: 10px;
    border-bottom: 1px solid #f2f2f2; 
    color: #444444;   
}

#scopo table tbody tr:nth-child(even) {
    background: #f5f5f5;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
}

#scopo table th {
    text-align: left;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
    border-bottom: 1px solid #ccc;
    background-color: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#eee));
    background-image: -webkit-linear-gradient(top, #f5f5f5, #eee);
    background-image: -moz-linear-gradient(top, #f5f5f5, #eee);
    background-image: -ms-linear-gradient(top, #f5f5f5, #eee);
    background-image: -o-linear-gradient(top, #f5f5f5, #eee); 
    background-image: linear-gradient(top, #f5f5f5, #eee);
}

#scopo table th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;  
}

#scopo table th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

#scopo table th:only-child{
    -moz-border-radius: 6px 6px 0 0;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
}

#scopo table tfoot td {
    border-bottom: 0;
    border-top: 1px solid #fff;
    background-color: #f1f1f1;  
}

#scopo table tfoot td:first-child {
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
}

#scopo table tfoot td:last-child {
    -moz-border-radius: 0 0 6px 0;
    -webkit-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
}

#scopo table tfoot td:only-child{
    -moz-border-radius: 0 0 6px 6px;
    -webkit-border-radius: 0 0 6px 6px
    border-radius: 0 0 6px 6px
}	
	
	
	
*/
	
	
.commands {
  border-left: 1px solid #ddd;
  display: inline-block;
}

[data-wysihtml5-command],
[data-wysihtml5-action],
.fore-color {
  position: relative;
  border-right: 1px solid #ddd;
  border-left: 1px solid #fff;
  list-style: none;
  font-size: 12px;
  display: inline-block;
  cursor: pointer;
  height: 40px;
  width: 68px;
}

[data-wysihtml5-command]::after,
[data-wysihtml5-action]::after,
.fore-color::after {
  content: "";
  background-image: url(../img/spr_toolbar_icons_r1.png);
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

[data-wysihtml5-command]:hover,
[data-wysihtml5-action]:hover,
.fore-color:hover {
  background-image: linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -o-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
}

[data-wysihtml5-command="bold"]::after {
  background-position: 24px center;
}

[data-wysihtml5-command="italic"]::after {
  background-position: -48px center;
}

[data-wysihtml5-command="insertUnorderedList"]::after {
  background-position: -115px center;
}

[data-wysihtml5-command="insertOrderedList"]::after {
  background-position: -197px center;
}

[data-wysihtml5-command="formatBlock"][data-wysihtml5-command-value="h1"]::after {
  background-position: -344px center;
}

[data-wysihtml5-command="formatBlock"][data-wysihtml5-command-value="h2"]::after {
  background-position: -428px center;
}

[data-wysihtml5-command="createLink"]::after {
  background-position: -271px center;
}

[data-wysihtml5-command="insertImage"]::after {
  background-position: -513px center;
}

.fore-color::after {
  background-position: -741px center;
}

[data-wysihtml5-command="insertSpeech"]::after {
  background-position: -596px center;
}

[data-wysihtml5-action="change_view"]::after {
  background-position: -670px center;
}


.size-menu ul {
  display: none;
  position: absolute;
  z-index: 2;
  top: 40px;
  right: -1px;
  left: -2px;
  border: 1px solid #ccc;
  border-top: 0;
  background: #fff;
  overflow: hidden;
}

.size-menu li {
  display: block;
  margin: 3px;
  width: auto;
  border: 0;
  height: 15px;
}

.size-menu li::after {
  display: none;
}

.size-menu:hover ul {
  display: block;
}



.fore-color ul {
  display: none;
  position: absolute;
  z-index: 2;
  top: 40px;
  right: -1px;
  left: -2px;
  border: 1px solid #ccc;
  border-top: 0;
  background: #fff;
  overflow: hidden;
}

.fore-color li {
  display: block;
  margin: 3px;
  width: auto;
  border: 0;
  height: 15px;
}

.fore-color li::after {
  display: none;
}

.fore-color:hover ul {
  display: block;
}

.fore-color [data-wysihtml5-command-value="black"] {
  background: black !important;
}

.fore-color [data-wysihtml5-command-value="silver"] {
  background: silver !important;
}


.fore-color [data-wysihtml5-command-value="gray"] {
  background: gray !important;
}

.fore-color [data-wysihtml5-command-value="maroon"] {
  background: maroon !important;
}

.fore-color [data-wysihtml5-command-value="red"] {
  background: red !important;
}

.fore-color [data-wysihtml5-command-value="purple"] {
  background: purple !important;
}

.fore-color [data-wysihtml5-command-value="green"] {
  background: green !important;
}

.fore-color [data-wysihtml5-command-value="olive"] {
  background: olive !important;
}

.fore-color [data-wysihtml5-command-value="navy"] {
  background: navy !important;
}

.fore-color [data-wysihtml5-command-value="blue"] {
  background: blue !important;
}

.fore-color .wysihtml5-command-active {
  outline: 1px solid #666;
  outline-offset: 1px;
}

.wysihtml5-commands-disabled .fore-color ul {
  display: none;
}

.wysihtml5-action-active,
.wysihtml5-command-active {
  box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.2);
  background: #eee !important;
}

.wysihtml5-commands-disabled [data-wysihtml5-command],
.wysihtml5-commands-disabled .fore-color {
  opacity: 0.4;
  cursor: default;
  background-image: none !important;
}

[data-wysihtml5-dialog] {
  color: #333;
  font-size: 14px;
  text-align: left;
  /* border-radius: 4px; */
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 45px 20px;
  background: #fff;
  position: absolute;
  width: 944px;
  text-align: center;
  top: 58%;
  
  
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100;
  z-index: 99999 !important;
  padding: 0; 
  border: none; 
  background: #000;
  opacity: 0.8;
}

[data-wysihtml5-dialog] > div { width: 944px; display: block; border-radius: 4px; border:1px solid #ccc; margin: 300px auto 0 auto; background: #fff !important; padding: 35px 20px; }

[data-wysihtml5-dialog] input {
  color: #333;
  border: 1px solid #999 !important;
  padding: 3px;
  width: 850px;
  float: none; 
  margin: 20px auto 30px auto!important;
}

[data-wysihtml5-dialog] input:focus {
  outline: 0;
  border: 1px solid #666;
}

[data-wysihtml5-dialog-action] {
  padding: 4px;
  color: #fff;
  cursor: pointer;
}

[data-wysihtml5-dialog-action="save"] {
  background: #1F4F82;
  margin-right: 4px; 
}

[data-wysihtml5-dialog-action="cancel"] {
  background: #c03c02;
  margin-left: 4px; 
}

.button { 
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
padding: 6px 12px; 
}

p.formsubmit {
	text-align:center;
	margin-top:2em;
	}


p.checkbox { padding-top: 30px !important;}
p.checkbox label { border:0px solid red; }


p.checkbox input ,
p input[type="checkbox"] ,
p input[type="radio"] { width: 13px; height: 13px; float: left; vertical-align: bottom; left: 0; border: none; padding: 0; margin: 5px 8px 0 0; }



button {
    display: inline-block;
    vertical-align: baseline;
    margin: 0 2px;
    outline: none;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
	font-size: 17px;
    padding: .5em 1.5em .55em 1.5em;    	
	background: #1F4F82; 
	color: #fff; 
	cursor: pointer;
    -webkit-appearance: none; /*property prevents Mobile Safari from using its own button style. */
}


button:hover { background: #133b65 !important; }
	
