html, body {
	height: 100%;
	overflow: auto; 
	margin: 0px;
	font-family: Georgia;
}
body {
  	background: url("pagineprotette.png") bottom left no-repeat ;
}
body.sub {
	background: none;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:visited {
	color: blue;
}
a:active {
	color: blue;
}
h1 {
  	margin-top: 1em;
}
/* Messaggi */

div.mess {
	position: absolute;
	left: 32%;
	right: 32%;
	width: 30%;
	top: 10%;
	padding: 0px 3% 3% 3%;
	text-align: center;
	vertical-align: middle;
}

div.mess#normal {
	/* background: url("normal.png") bottom right no-repeat; */
	border-top: 1em solid #00d000;
	background: #50e050;
}
div.mess#error {
	/* background: url("error.png") bottom right no-repeat; */
	border-top: 1em solid #d00000;
	background: #e05050;
}
label.form {
  	font-family: Monospace;
}
label.form input {
	font-family: Monospace;
	padding: 2px;
	border: none;
	margin: 2px;
}

/* Menu di navigazione */
div.navi {
	position: absolute;
	top: 2px;
	left: 0px;
	width: 50%;
}
div.navi a {
	margin: 1px;
	background-color: #DDDDDD;
	padding: 0.1em 0.5em;
}
div.navi a:hover {
	margin: 0px;
	border: solid navy 1px;
}

span.description {
	border-left: 1em solid Navy;
	margin: 1em;
	padding: 1em;
	display: block;
	font-style: italic;
	background: #EEEEFF;	  
}
div.smallcommands {
  	font-size: x-small;
  	margin: 1em;
}
/* Editor Delle Pagine */
table#edp {
  	width: 98%;
  	margin: 1%;
}
table#edp td {
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	border: 0px;
}
td#separator {
	background-color: #8D8D8D;
	padding: 0px;
	margin: 0px;	
	width: 15px;
	text-align: center;
}
td#separator img {
  	display: inline;
  	padding: 0px;
  	margin: 0px;
  	border: 0px;
  	cursor: e-resize;
}
ul.branch {
  	display: none;
}
iframe.editor {
  	width: 100%;
  	height: 410px;
  	padding: 0px;
  	margin: 0px;
}
/* Configurazione */
table.config {
	margin: 1em;
}
input#Salva {
  	font-family: Tahoma;
	position: absolute;
	font-size: xx-large;
	padding: 0.2em;
	bottom: 23px;
	right: 23px;
}
input#Salva:hover {
	background-color: #D4FFD4;
	border-color: #D4FFD4;
}


/* Menu */
div#menu {
	border: thin solid black;
	background-color: #CCFFCC;
	padding: 1px;
}
div#menu span {
  	display: block;
	cursor: pointer;
  	margin: 1px;
	list-style-type: none;
	padding: 3px 1em 3px 1em;
	border-top: 1px solid silver;
	border-bottom: 1px solid silver;
}

div#menu span:hover {
	text-decoration: underline;
	background-color: #BBEEBB;
}


/* Comuni */
div#dialog {
	position: absolute;
	top: 20%;
	margin: 0px 25% 20% 25%;
	padding: 0px;
	background: #EEEEEE;
	text-align: center;
	z-index: 2;
}

div#dialog iframe {
  	border: none;
  	display: block;
}
div#dialog #button {
  	cursor: pointer;
	background-color: #DDDDDD;
}
body#message {
  	padding-top: 10%;
	text-align: center;
	background-repeat: no-repeat;
	overflow: hidden;
}
body#message.normal {
  	background-image: url('ok.gif');
}
body#message.error {
  	background-image: url('ko.gif');
}
span.jsbut {
  	font-size: smaller;
  	font-family: monospace;
	white-space: pre;
	color: black;
	background-color: #E5E5E5;
	border: dashed 1px Silver;
	padding: 0px 3px;
  	cursor: pointer;
}
span.jsbut:hover {
	border: solid 1px silver;
}
span.jslink {
	color: Navy;
	cursor: pointer;
}
span.jslink:hover {
	text-decoration: underline;
}
/* Messaggi di sistema */
div#red {
	background-color: #CC0000;
	color: white;
}
div#white {
	background-color: #FFFFFF;
	color: black;
}
div#system {
  	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 99%;
	font-size: 0.7em;
	background-color: white;
	border: 1px solid #757575;
	overflow: auto;
	margin: 0px;
}
div.syshead {
  	margin: 0px;
  	font-size: medium;
  	cursor: pointer;
  	text-align: center;
  	background-color: #cccccc;
}
div.sysbody {
  	font-family: Courier;
	white-space: pre;
	text-align: left;
}

