
/*
STYLE_ENTRA.CSS V1.21   (21.12.2011)

1.21 tree (21.12.2011)

1.2  reengineering (17.11.2009)

1.19 service iframe (6.9.2009)

1.18 pagine tab blu [INFORMA miglioramento grafica interfaccia modifica pagine e testi] (3.11.2008)

1.17 message_warning, message_error (12.9.2008)

1.16 anteprima bordo rosso (21.7.2008)

1.15 tab, nstparserbar, lista (7.7.2008)

1.14 cursore manina su bottoni (22.2.2008)

1.13 tutto nero per printer (13.2.2008)

1.12 bug IE lunghezza buttons (10.2.2008)

1.11 b fa grassetto (21.1.2008)

1.10 colore link (15.1.2008)

1.09 help nero (7.1.2008)

1.08 correzioni style esplorarisorse (3.1.2008)

1.07 span help interlinea (5.12.2007)

1.06 select paddato (5.11.2007)

1.05 linguette divform (6.3.2007)

1.04 linguette
     tolta vecchia anteprima (27.1.2007)

1.03 modifiche a hr e h1 (12.12.2006)

1.02 aggiunto menuinsubpage (2.9.2006)
*/

* {
 font:normal 8pt Verdana;
 margin:0px;
 padding:0px;
}

form, input, p, div {
}

h1, h2 {
 border:1px solid black;
 xborder-bottom:none;
 margin-top:10px;
 margin-bottom:1px;
 padding-left:5px;
 font-size:10pt;
 background:#06b url(h_back.jpg) repeat-x center;
 color:#fff;
}

h1 {
 font-size:12pt;
}

hr {
 border:none;
 border-bottom:1px solid #000;
 margin:5px 0px;
}

body {
 margin:3px;
 xmargin-top:17px;
 background:#fff url(ico_nst_editor.gif) no-repeat top right;
 padding-bottom:50px;
}

form, .divform {
 border:1px solid #08d;
 background-color:#ddf;
 padding:3px;
}

form a, table a, .divform a {
 color:#06b;
}

form b, table b, .divform b {
 font-weight:bold;
}

form a:hover, .divform a:hover {
 color:#08d;
}

.form_img {
 border:1px solid #08d;
}

td {
 padding:0px 10px 17px 0px;
}

select optgroup {
 font-weight:bold;
 text-align:right;
}
select option {
 padding-right:10px;
 _padding-right:0px;
}

button {
 _width:auto;
 _overflow:visible;
}

button,
input.button,
a.button {
 cursor:pointer;
}

strong, b {
 font-weight:bold;
}

i, em {
 font-style:italic;
}

.nobr {white-space:nowrap}
.nostyle {
 border:none;
 background:transparent;
}
.nodistance {
 border:none;
 padding:0px;
 margin:0px;
}
.inline { display:inline; }
.block { display:block; }
.hidden { display:inline; }
.invisible { display:inline; visibility:hidden; }




/* INDEX_MENU */

.index_menu {
 padding-bottom:3px;
 background:url(top.gif) repeat-x bottom;
}

.topinfo {
 color:#b44;
 text-align:right;
 padding-right:130px;
 height:16px;
}

.menu_form {
 display:inline;
 float:left;
 text-align:center;
 background:#fff;
 margin:10px 20px;
 border:none;
}

form.menu_form:hover {
 opacity:0.7; -moz-opacity:0.7; filter:alpha(opacity=70);
}

.menu_in_subpage .menu_form {
 border-width:0px;
 width:auto;
}

.menu_in_subpage form {
 padding:0px;
 margin:5px;
}

.menu_in_subpage input {
 width:32px;
 height:32px;
}

.menu_in_subpage .button{
 display:none;
}

/*
.index_menu {
 background:url(/images/ico/ico_entra_utente.gif) no-repeat top right;
}

.level4 { background-image:url(/images/ico/ico_entra_god.gif); }
.level2 { background-image:url(/images/ico/ico_entra_master.gif); }
.level1 { background-image:url(/images/ico/ico_entra_admin.gif); }
*/



/* MENU2 PAGINE */

.menu2 {
 margin:7px 0px 25px 0px;
}

.menu2 input {
 border:1px solid #fff;
}

.menu2 .button {
 font-weight:bold;
 margin:0px;
 border:1px solid #0088DD;
 background:#fff;
 color:#06b;
}





/* BUTTONS */

button, input.button, a.button {
 vertical-align:bottom;
 background-color:#c0c0c0;
 padding:2px;
 color:black;
 border:1px solid #888;
 border-top-color:#fff;
 border-left-color:#fff;
 white-space:nowrap;
}
button img, a.button img {
 vertical-align:middle;
}

button, input.button a.button {
 background:#c0c0c0 url(button_back.jpg) repeat-x center right;
 padding-left:8px;
 padding-right:8px;
}





/* HELP */

.help {
 padding:2px;
 background-color:#fffaaa;
 border:1px solid black;
}

.help, .help * {
 color:#000;
}

div.help {
 margin-top:3px;
}

span.help {
 line-height:200%;
}

.help ul {
 padding-left:20px;
}




/* MESSAGE */

div.message,
div.message_warning,
div.message_error {
 margin-top:2px;
 padding:2px;
 background:#f00;
 border:1px solid #800;
 color:#fff;
}

div.message {
 background:#0a0;
}

div.message_warning {
 background:#fc0;
}

div.message_error {
 background:#f00;
}

/* V2

div.message {
 background:#0a0;
 padding:10px 10px 10px 30px;
 background:#cfc url(/images/ico/ico_ok.gif) no-repeat 10px center;
 color:#0a0;
 border-color:#0a0;
}

div.message_warning {
 background:#fc0;
 padding:10px 10px 10px 30px;
 background:#fd5 url(/images/ico/ico_warning.gif) no-repeat 10px center;
 color:#a60;
 border-color:#a60;
}

div.message_error {
 background:#f00;
 padding:10px 10px 10px 30px;
 background:#fcc url(/images/ico/ico_error.gif) no-repeat 8px center;
 color:#a00;
 border-color:#a00;
 font-size:140%;
}

*/






/* ESPLORA RISORSE */

div.esplorarisorse {
 background:#ffd;
 border:1px solid #fc0;
}

div.esplorarisorse .menu_link a.nomecartella {
 border:1px solid #ffd;
 border:1px solid transparent;
 margin:1px;
 padding:1px;
}

div.esplorarisorse .menu_link a.nomecartella:hover,
div.esplorarisorse .menu_link a.nomecartella .selected {
 background-color:#316AC5;
 color:#fff;
 border:1px dotted #ff0;
}

div.esplorarisorse .menu_link a.nomecartella:hover .selected {
 background-color:inherit;
 color:#fff;
 border:none;
 margin:1px;
 padding:0px;
}

.selected span,
.esplorarisorse a {
 text-decoration:none;
 color:#444;
}

.esplorarisorse td,
.esplorarisorse td.menu_link,
.esplorarisorse td.menu_ico {
 margin:0px !important;
 padding:0px !important;
}

.esplorarisorse td.menu_ico a {
 border:none;
}

.esplorarisorse td.menu_ico a img,
.esplorarisorse td.menu_ico a:hover img {
 padding:0px;
}

/*
.esplorarisorse .selected,
.selected span,
.esplorarisorse a:hover {
 border:1px dotted #ff0;
}
.esplorarisorse a:hover .selected {
 border:1px solid red;
 color:#fff;
 background-color:transparent;
}
*/

.listafile a {
 text-decoration:none;
}
.listafile a:hover {
 text-decoration:underline;
}

.listafile td {
 margin:0px !important;
 padding:0px 2px !important;
}

.listafile .fileinfo {
 background-color:#ddd;
}


.pulito {
 display:inline;
 margin:0px;
 padding:0px;
 background:none;
 border:none;
}





/* TMESSAGE */

div#tmessagew {
 display:none;
 visibility:invisible;
 padding:2%;
 border:3px solid #f80;
 background-color:#fff;
 z-index:1000;
 opacity:0.8; -moz-opacity:0.8; filter:alpha(opacity=80);
}

div#tmessagew input {
 border:none;
 background-color:transparent;
 color:#000 !important;
 z-index:1000;
 width:96%;
}


div#tmessagew {
 /* Moz etc */
 position: fixed;
 top:115px;
 left:30%;
 width:40%;
 height:60px;

 /* IE 5.0/Win and other lesser browsers will use this */
 _position: absolute;
 _left: expression( ( 0 - 0.5 * tmessagew.offsetWidth + 0.5 * ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth )  + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
 _top: expression( ( 30 - 0.5 * tmessagew.offsetHeight + 0.5 * ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );

}






/* SERVICE IFRAME/DIV */

#service_container {
 z-index=100;
 /* border:1px solid #ff0; */
 width:100%;
 height:97%;

 /* Moz etc */
 position: fixed !important;
 top:0px;
 left:0px;

 /* IE 5.0/Win and other lesser browsers will use this */
 _position: absolute;
 _left: expression( ( 0 - 0 * service_container.offsetWidth + 0 * ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth )  + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
 _top: expression( ( 0 - 0 * service_container.offsetHeight + 0 * ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );

}

#service_close {
 display:block;
 position:absolute;
 top:0%;
 left:95%;
 width:5%;
 height:5%;
 background:red;
 border:1px solid #000;
}

#service_iframe {
 z-index:100;
 position:absolute;
 top:5%;
 left:5%;
 width:90%;
 height:90%;
 border:2px solid #08d;
 padding:1px;
}

#service_div {
 z-index:100;
 position:absolute;
 top:5%;
 left:5%;
 width:90px;
 height:90px;
 border:1px solid red;
}







/* LINGUETTE */

.linguette .button {
 background:#06b url(h_back.jpg) repeat-x center;
 color:#fff;
 border:1px solid #000;
 margin:3px 6px 3px 0px;
}

.linguette form,
.linguette .divform {
 margin:0px;
 background:#fff;
 border:none;
 display:inline;
}

.linguette form .button,
.linguette .divform .button {
 vertical-align:baseline;
 _vertical-align:absmiddle;
}




/* TAB */

.tab {
 color:#fff;
 background-color:#ccccff;
 background:#06b;
 display:inline;
 padding:0px;
 xpadding:5px 20px 15px 20px;
 padding:7px 10px 1px 10px;
 _padding:5px 7px 2px 7px; /* IE */
 margin:0px;
 margin-top:3px;
 border:1px solid #06b;
 position:relative;
 z-index:2;
 border-bottom:none;
}

 /* se una lingua sola... */
#tab_testo { background-color:#fff; }
#tab_testo * { color:#06b; }

.testo_container textarea,
.textarea_testo, textarea#testo {
 border:1px solid #06b;
 width:95%;
 height:402px;
}

.tab_field {
 border:1px solid #06b;
}

.tab .button {
 background:transparent;
 display:inline;
 padding:0px;
 border:none;
 color:inherit;
}
.tab * {
 text-decoration:none;
}

.tab_button {
 margin:2px;
 border:1px outset #000;
 background:#06b;
}

.tab_button img {
 border:1px solid #fff;
 margin:2px;
}

.tab_content,
.testo_container iframe,
iframe, .iframe_anteprima {
 margin:none;
 padding:none;
 background-color:#fff;
 border:1px solid #06b;
 width:95%;
 height:400px;
}

#iframe_anteprima {
 border-color:#b00;
 border-width:7px 1px;
}





/* PARSER */

.parserform img{margin:0px;}
.parserform a{margin-left:0px; margin-right:1px;}
.parserform a:hover{margin-left:1px; margin-right:0px;}

.parser a {
 background-color:#C0C0C0;
 padding:2px;
 color:black;
 text-decoration:none;
 border:1px solid #888;
 border-top-color:#fff;
 border-left-color:#fff;
}
.parser a{margin-left:0px; margin-right:1px;}
.parser a:hover{margin-left:1px; margin-right:0px;}

.parser .button {
 padding:1px;
}




/* NSTPARSERBAR */

.nstparser_bar {
 border:1px solid #06b;
 padding:3px;
 padding-top:10px;
 height:24px;
 background:#fff;
}

.nstparser_bar_top a {
 background:#fff;
 position:relative;
 top:1px;
 text-decoration:none;
 display:block;
 padding:2px;
 margin-right:10px;
 border:1px solid #06b;
 border-bottom-width:0px;
}
.nstparser_bar_top a:hover {
 background:#fff;
}

.nstparser_bar_top td {
 padding:0px;
 margin:0px;
}







@media print {
  * {
   color:#000 !important;
   background:#fff !important;
  }
}












/* LISTA */

.lista form {
 background:none;
 border:none;
 padding:0px;
}

.lista td {
 padding:3px;
 margin:0px;
}

.lista a {
 color:#08d;
}

.lista button, .lista .button {
 background:none;
 border:none;
 color:#000;
 text-decoration:none;
}

.lista button img, .lista .button img {
 border:none;
}

.lista button.modifica, .lista .button {
 border:1px solid #08d;
 padding:0px;
 background:#fff; 
}
.lista a.button {
 padding:5px;
 _padding:1px;
 zdisplay:inline-block;
}
.lista button.modifica:hover, .lista a.button:hover , .lista a:hover {
 background:#08d !important;
 color:#fff !important;
}

.lista .titolo {
 font-weight:bold;
}


.lista_bar {
 padding:5px 0px;
 border:1px solid #ddd;
 border-width:1px 0px;
}

.lista_bar .lista_order label {
 margin-right:6px;
 border:1px solid #ddd;
 xbackground:#fc0;
 padding:2px;
 color:#444;
 line-height:170%;
 white-space:nowrap;
}

.lista_bar .lista_order label input {
 vertical-align:-2px;
}

.lista_bar form {
 margin:7px 0px;
}

.lista_bar button {
 background:none;
}






/* TREE */

.tree .branch {
 margin:1px;
 margin-left:60px;
 border-left:10px solid #eee;
 padding-left:0px;
}
.tree .branch .branch { border-color:#ddd; }
.tree .branch .branch .branch { border-color:#ccc; }
.tree .branch .branch .branch .branch { border-color:#bbb; }
.tree .branch .branch .branch .branch .branch { border-color:#aaa; }
.tree .branch .branch .branch .branch .branch .branch { border-color:#999; }

.tree .nuovo_sottolivello {
 padding-left:60px;
 margin-left:0px;
 border-left-color:#fff !important;
}


.tree .leaf_nuovo,
.tree .leaf_modifica,
.tree .nuovo_sottolivello,
.tree .expandbranch {
 position:relative;
 height:15px;
 xoverflow:;
}
.tree .sottolivello {
 position:relative;
 top:-7px;
}

.tree .leaf_modifica {
 height:20px;
}



.tree div.expandbranch {
 width:300px;
 xdisplay:none !important;
}
.tree div.expandbranch div {
 padding-left:60px;
}
.tree div.expandbranch div button {
 font-size:10px;
 color:#000;
 background:#eee;
 border:1px solid #888;
}





.tree .leaf_nuovo {
 xborder:1px solid red;
 xtop:14px;
 height:11px;
}
.tree button.leaf_new,
.tree button.leaf_move,
.tree .leaf_nuovo button,
.tree .expandbranch .expandbranchbutton {
 position:absolute;
 z-index:1;
}
.tree button.leaf_new,
.tree button.leaf_move {
 font-size:10px;
 font-weight:bold;
 padding:1px 30px;
 margin:0px;
 margin-left:20px;
 border:1px solid #888;
}
.tree button.leaf_move {
 background:#0a0;
 color:#fff;
}
.tree .branch div.leaf_modifica {
}


.tree .treeplus {
 display:inline;
 width:20px;
 padding-right:20px;
 position:relative;
}
.tree .treeplus button {
 position:absolute;
}

.tree .expandbranchplusbutton {
 font:bold 17px Arial;
 color:#000;
 background:none;
 border:none;
}


.tree button {
 border:1px outset #000;
 padding:1px;
 background:#444;
 color:#fff;
}
.tree button:active { border:1px inset #000; }

.tree button.leaf {
 border:1px outset #08d;
 background:#fff;
 color:#000;
}
.tree button.leaf:hover { background:#08d; color:#fff; }

.tree .icon {
 background:none;
 border:none;
 vertical-align:middle;
}

/*
.tree .leaf_nuovo_button {
 display:none;
}
*/




/* DEBUG *

.tree .leaf_modifica {
 border:1px solid #fc9;
 background:#fed;
}
.tree .branch {
 border:1px solid #9cf;
 background:#def;
}
.tree .leaf_nuovo {
 border:1px solid #9fc;
 background:#dfe;
}

.tree .branch * {
 display:block !important;
 xfont-size:90%;
 opacity:0.80;
}
.tree .branch button {
 display:inline !important;
}

/* */





/* THEME 2 - BLACK

body, form {
 background-color:#666 !important;
}

.button {
 background:#333 !important;
 color:#fff !important;
 border-color:#000 !important;
}
.button:hover {
 background:#444 !important;
}

h1, h2 {
 background:#ccc !important;
 color:#000 !important;
}

a {
 color:#000 !important;
}
*/
