html { background:#e5e5e5; margin:0px; padding:0px; font-family:"Lucida Grande", "Geneva", "Arial", "sans-serif", "sans-serif"; font-size:13px; }
body { margin:0px; padding:0px; min-width:960px; }

h1, h2, h3, h4, h5, h6, h7 { margin:0px; }
a { color:inherit; text-decoration:none; }
a:hover { text-decoration:underline; }
a img { border:0; }
.clear { clear:both; }

p.success { border:1px solid #33a633; background:#f3fef7; color:#33a633; padding:4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; text-align:center; font-weight:bold; }
label.error { width:auto; display:block; text-align:left; font-weight:normal; padding:0px; margin:2px 0px 4px; color:#d73b3b; }

form div.row, form tr.row td { padding:2px 0px; vertical-align:top; } 
label { display:inline-block; text-align:right; padding:4px 15px 4px 4px; color:#303030; font-weight:bold; }
input[type="text"], input[type="password"], select { border:1px solid #b3b3b3; padding:4px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
input[type="submit"] { 
 display: inline-block; position: relative; padding:2px 8px; margin-right: .1em; cursor: pointer; text-align: center; zoom: 1; overflow: visible;
 font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1.1em;
 border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #416bb3;
 -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
}
input[type="submit"]:hover {
 border: 1px solid #aaaaaa; color: #ca001b;
}
input[name="order"] { display: inline-block; position: relative; padding:2px 17px 2px 8px; margin-right: .1em; cursor: pointer; text-align: center; zoom: 1; overflow: visible;
 font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size: 1.1em;
 border: 1px solid #cccccc; font-weight: bold; color: #416bb3;
 -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
 background:no-repeat center right #f6f6f6;
}
input[name="order"].asc { background-image:url('/media/layout/arrow_down.png'); }
input[name="order"].desc { background-image:url('/media/layout/arrow_up.png'); }


.adm_edit { width:100%; }
.adm_edit .keytit { text-align:right; padding:4px 15px 4px 4px; color:#303030; font-weight:bold; width:200px;  }
.adm_edit .element { padding:2px 0px; }
.adm_edit .element input { width:100%; padding:2px 4px; }
.submit  { text-align:right; margin-top:10px; }
.submit input { margin-left:15px; }

.tab_data { width:100%; }
.tab_data td { padding:4px; border-bottom:1px dotted #999; border-right:1px dotted #999; }
.tab_data td:first-child { border-left:1px dotted #999; }
.tab_data th { border-bottom:1px solid #999; }
.tab_data th.tit { padding:4px; border-bottom:1px dotted #999; border-right:1px dotted #999; border-left:1px dotted #999; text-align:left; }

#wrapper { background:#f1f1f1; margin:0px; padding:20px; min-height:400px; }
.wrapper960 { width:960px; margin:0 auto; padding:0; }
#wrapper > h1 { border-bottom:2px solid #ca001b; color:#ca001b; padding-bottom:3px; }


header { border-bottom:6px solid #ca001b;  background: #2b4b85; }

header .top { min-height:125px;
 background: #2b4b85;
 background-image: -moz-linear-gradient(top, #3e67ae, #2b4b85);
 background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #3e67ae), color-stop(1, #2b4b85));
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#3e67ae', EndColorStr='#2b4b85')";
}
header .logo { float:left; margin:10px 20px; }

/* MENU UTENTE */ 
header #menu_user { position:absolute; top:0px; right:20px; display:block; padding:5px 10px; color:#fff;
 background:#28477f; -moz-border-radius: 0px 0px 6px 6px; -webkit-border-radius: 0px 0px 6px 6px; -khtml-border-radius: 0px 0px 6px 6px; border-radius: 0px 0px 6px 6px; 
}
header #menu_user .logout { border-left:1px solid #fff; margin-left:10px; padding-left:10px; background:url('/media/layout/ico_logout.png') no-repeat center right; }
header #menu_user select { margin:15px 0px 5px; }

footer { border-top:1px solid #dddddd; color:#474747; padding:10px 20px 20px 20px; }
footer a.icomeroni { position:relative; top:9px; }
footer .logo { float:right; }

/* LOGIN */
.require_login { width:500px; margin:0 auto; padding:0px 30px 30px; border:1px solid #b3b3b3;  box-shadow: 0px 0px 10px #888888;
 background:url('/media/layout/ico_login.png') no-repeat top right #ffffff;
 border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
}

.require_login h1 { color:#416bb3; margin:30px 0px; }

.require_login .row { padding:2px 0px; }
.require_login label { min-width:140px; }
.require_login [type="text"], .require_login input[type="password"] { min-width:250px; }
.require_login input[type="submit"] { float:right; }

/* MENU JOME PAGE */
#menu_visual { display:block; clear:both; width:475px; border:1px solid #aaaaaa; margin-bottom:10px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; }
#menu_visual h5 { display:inline-block; border-right:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; padding:4px 10px; margin:0px; background:#e0e0e0;
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-borde-bottom-right-radius: 4px; border-bottom-right-radius: 4px; 
}
#menu_visual ul { list-style:none; margin:0px; margin-top:10px; padding:0px; clear:both; }
#menu_visual ul li { display:block; float:left; margin:5px; }
#menu_visual ul li a { font-size:12px; color:#333; text-align:center; display:block; text-decoration:none; padding:10px 3px; width:140px; height:80px; border:1px solid #aaaaaa; 
 -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px;
 background: #e8e8e8;
 background-image: -moz-linear-gradient(top, #ffffff, #e8e8e8);
 background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #ffffff), color-stop(1, #e8e8e8));
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#e8e8e8')";
}
#menu_visual ul li a:hover { color:#284780; border:1px solid #284780; }
#menu_visual ul li a span.ico { display:block; height:54px; text-align:center; }
#menu_visual ul li a span.ico img { width:auto; height:48px; }


.mainbox { display:block; clear:both; box-shadow: 0px 0px 8px #cccccc; border:1px solid #aaaaaa; margin:15px 0px; padding:0px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; background:#ffffff; }
.mainbox h5 { display:inline-block; border-right:1px solid #aaaaaa; border-bottom:1px solid #aaaaaa; padding:4px 10px; margin:0px; background:#e0e0e0;
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-borde-bottom-right-radius: 4px; border-bottom-right-radius: 4px; 
}
.mainbox .cont { margin:10px; }
.mainbox .filter { display:block; padding:1px 10px; background:#bacef1; border-bottom:1px solid #284780;  }

.filterbox { display:block; padding:4px 10px; background:#bacef1; border:1px solid #284780; margin-bottom:3px;
 -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; 
}

table.visitor { width:100%; }
table.visitor th { vertical-align:top; text-align:center; font-weight:bold; border-bottom:2px solid #999; padding-bottom:4px; }
table.visitor td { vertical-align:top; text-align:center; }
table.visitor .checkbox { width:25px; }

table.visitor .tab_data { width:70%; }

.visitorbox { border:1px solid #aaaaaa; margin-bottom:8px; margin-left:2px; padding:10px; box-shadow: 0px 0px 4px #cccccc;
 -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; 
 }
.visitorbox h4 { margin:0px 0px 5px 0px; text-align:left; color:#ca001b; }
.visitorbox h4 a { color:inherit; text-decoration:none; }
.visitorbox h4 a:hover { text-decoration:underline; }
.visitorbox h4 .src_google { font-size:10px; float:right; }
