*{margin: 0;padding: 0;}
body{margin: 0;padding: 0;font-size: 100%;font-family: arial, "MS Trebuchet", sans-serif;line-height: 1.2em;color:#4d4d4d;/*color: #666*/}
:focus { -moz-outline-style: none; }
a img{text-decoration:none;border: 0;}
a,a:hover,a:visited{color: #CC251C;text-decoration: none;}
a:hover{text-decoration: underline !important;}

.admin a,.admin a:hover,.admin a:visited{color: #00688D;text-decoration: none;}
.dialog{display:none;z-index: 4000 !important;}
.txtcenter{text-align: center !important;}
.txtright{text-align: center !important;}
.txtbold{font-weight: bolder !important;}
.right{float: right;}
.add{float: right; padding-top: 3px;}
.vtutorial{float: right; padding-top: 3px; padding-right: 11px;}
hr{margin-bottom: 5px;}
.button-container{margin: 30px 0 25px 0 !important;}
form,input,select, option,textarea{z-index: 100;}
/* 
|-----------------------------------------------------
| BLOCKS
|-----------------------------------------------------
*/

/*.column{padding-bottom: 32767px;margin-bottom: -32767px;}*/
#wrapper{width: 955px;margin: 0 auto;padding: 0 25px;}
#inner{width: 875px;margin: 0 auto;overflow: hidden;}


/* Top Bars */
#redbar,#bluebar{width: 925px;margin: 0 15px;height: 40px;color: white;font-family: Helvetica, Arial;font-size: 9pt;}
#redbar{background: transparent url(images/red-bg.png) repeat-x;}
#bluebar{background: transparent url(images/blue-bg.png) repeat-x;}
#redbar span.usermenu,#bluebar span.usermenu{float: right;padding: 8px 25px 0 0;}
#redbar span.usermenu a:first-child{border-left: 0px !important;}
#redbar span.usermenu a,#redbar span.usermenu a:hover,#redbar span.usermenu a:visited,#bluebar span.usermenu a,#bluebar span.usermenu a:hover,#bluebar span.usermenu a:visited{padding: 0 0 0 10px;margin: 0 0 0 10px;border-left: 1px solid white;color: white;text-decoration: none;}

#redbar span.backtosite,#bluebar span.backtosite{float: left;padding: 8px 0 0 25px;}

#bluebar span.backtosite a,
#bluebar span.backtosite a:hover,
#bluebar span.backtosite a:visited,
#redbar span.backtosite a,
#redbar span.backtosite a:hover,
#redbar span.backtosite a:visited
{padding: 0 10px 0 0;color: white;text-decoration: none;}

/* header block */
#header{clear: both;height: 125px;background: transparent url(images/line.jpg) no-repeat scroll 0 99px;}
#header.home{background: transparent none;height: 100px;}
#header.tall{background-image: none !important;}
#header #logo{width: 250px;float: left;margin: 10px 0 0 0;}
#header #nav{width: 615px;margin: 0 0 0 250px;padding: 0;text-align: right;}

#subheader{height: 295px;background: transparent url(images/frame.jpg) no-repeat scroll center 0;padding: 12px 3px 10px 3px;}
#slogan{width: 396px;float: left;padding: 24px 30px 20px 32px;float: left;}
#slogan p{line-height: 1.4em;}

#slogan ul{list-style-type: none;margin: 0;padding: 0;height: 70px;}
#slogan ul li{background: transparent url(images/penna.png) no-repeat scroll 0 0;margin: 0;padding: 20px 0 0 65px;height: 70px;}


#shot{/*width: 408px;*/margin-left: 396px;}

/* contents block */
#main{width: 875px;}
#content{width: 579px;float: left;min-height: 450px;}
#content{font-size:0.8em;line-height:1.35em;padding-top: 2px;}
#content p{text-align: justify;margin: 0 0 0.6em 0;}
#content ul,#content ol{margin:0 20px;padding: 0 0 7px 10px;text-align: justify;}
#content ul li,
#content ol li{margin: 0 0 3px 0;}
#content ol{margin:0pt 38px;}
#content ul li{list-style-type: none;background:transparent url(images/bullet-sidebar.gif) no-repeat scroll 0 6px;padding: 0 0 0 18px;}

#admin_content{width: 875px;float: left;min-height: 450px;}
#admin_content{font-size:0.8em;line-height:1.35em;padding-top: 2px;}
#admin_content p{text-align: justify;margin: 0 0 0.6em 0;}
#admin_content ul,#content ol{margin:0 20px;padding: 0 0 7px 10px;text-align: justify;}
#admin_content ul li,
#admin_content ol li{margin: 0 0 3px 0;}
#admin_content ol{margin:0pt 38px;}
#admin_content ul li{list-style-type: none;background:transparent url(images/bullet-sidebar.gif) no-repeat scroll 0 6px;padding: 0 0 0 18px;}

/* Blog Posts */
div.post-date {background: transparent url(images/blogcalendar.gif) no-repeat scroll -4px 0;float:left;height:53px;margin:0 10px 0 0;padding:0 0 0;text-align:left;text-transform:uppercase;width:52px;}
.post-date span.date_month{padding-left: 12px;color:#FFFFFF;font-size:0.7em;font-weight:bolder;line-height: 2.3em;font-size: 8pt;}
.post-date span.date_day{padding-left: 12px;color:#000000;font-size:16pt;font-weight:bolder;}
div.entry_post_content{padding:0 0 0 65px !important;text-align:justify !important;}
small.post_author{font-size:0.9em;font-style:oblique;margin:0;}
.entry_post_content p{margin-top: 4px !important;}
.entry_post_content{margin-bottom: 25px;}


/* Home Block */
#partners,#protagonisti{padding-left: 40px;}
#blogposts,#partners,#protagonisti{float: left;width: 265px;font-family:arial;font-size: 13px;}
#blogposts ul li{margin: 0 0 8px 0;}
#protagonisti p{text-align: justify;margin: 0 0 15px 0;}
#protagonisti ul{padding: 0 10px;}
#protagonisti ul li{padding: 0 0 0 16px;list-style-type: none;color:#CC251C;font-family:arial;font-size:13px;font-weight:normal;line-height: 1.5em;background: transparent url(images/bullet-sidebar.gif) no-repeat scroll 0 0.6em;}
#protagonisti ul li a,#protagonisti ul li a:hover,#protagonisti ul li a:visited{/*padding: 0 0 0 16px;*/}

#partnerslinks{position:relative;margin: 0;padding: 0;width: 265px;height: 245px;list-style-type: none;background: transparent url(images/loghi.png) no-repeat scroll 0 0;}
#partnerslinks a {display:block;width:100%;height:100%;}
ul#partnerslinks li{display:block;position:absolute;margin:0;padding:0}

ul#partnerslinks li#lavgovlink{left:92px;top:22px;width:82px;height:70px;}
ul#partnerslinks li#isfolink{left:54px;top:110px;width:157px;height:45px;}

#partnerslinks .alt { display:none }

small.post_date{font-size:0.9em;font-style:oblique;margin:0;}

/* sidebar */
#sidebar{width:261px;margin-left: 610px;padding:0;}

/* footer block */
#footer{width: 925px;margin: 20px 15px 10px 15px;padding: 10px 0;}
#footer{border-top: 3px solid #00688D;font-size: 11px;/*color: #999*/color: #666;text-transform: uppercase;font-family: Helvetica,Arial !important;float:left;}
#copyright{padding: 0 0 0 25px;width: 350px;float: left;}
#footerlinks{padding: 0 25px 0 0;/*margin-left: 244px;*/text-align: right;/*width:585px;*/}
#footerlinks a,#footerlinks a:visited,#footerlinks a:hover{/*color:#999999;*/color: #666;}

/* 
|-----------------------------------------------------
| Headings & fonts
|-----------------------------------------------------
*/
h1, h2{padding: 0;font-weight: normal;}
h1{font-size: 23px;	color: #CC251C;margin: 0 0 0.58em 0;line-height: 1.1em;}

.category .entry_post_content h1{padding: 0;}
.entry_post_content h1{margin: 0 0 0.3em 0;font-size: 18px !important;}

h2{font-size: 16px;color: #00688D;margin: 0 0 0.71em 0;/*word-spacing: 0.02em;letter-spacing: 0.02em;*/text-align: justify;line-height: 1.16em;}
h3{font-size:1.1em;color: #00688D;padding: 4px 0 2px 0;}
/*h4{font-size:1em;color: #CC251C;}*/
h5{color: #4d4d4d;font-size:1.1em;padding: 4px 0 2px 0;}

.home h2{font-family: Helvetica, arial; font-size: 21px;font-weight: bolder;margin:0 0 0.45em;}
.home h3{color: #CC251C;font-family:arial;font-size:13px;font-weight: normal;}
#blogposts h3{padding: 0 !important;}
#sidebar h2{color: #4d4d4d;font-size: 14px !important;font-weight: bolder !important;padding:9px 0 5px 17px !important;border-color:#C7C7C7;border-style:solid;border-width:1px 0 0 0;height: 18px;background-color:#E6E6E6;margin: 0 !important;}
.admin #sidebar h2{border-width: 0;}
#sidebar h2 a,#sidebar h2 a:hover, 
#sidebar h2 a:visited{color: #4d4d4d;}

#slogan h1{font-family: Helvetica, Arial !important;font-size: 1.9em !important;line-height: 1.2em;/*letter-spacing: 0.02em;word-spacing: 0.02em;*/margin:0 0 0.3em !important;}
/* 
|-----------------------------------------------------
| Top Navigation
|-----------------------------------------------------
*/
#nav ul{float: right;display: block;margin: 10px 0 0 0;list-style-type: none;	}
#nav ul li{/*letter-spacing: 0.02em;*/height: 25px;font-size: 16px;font-weight: bolder;float: left;border-left: 1px solid #d9d9d9;margin: 0 0 0 20px;padding: 6px 1px 0 6px;}
#nav ul li a{text-decoration: none !important;margin: 0 0 0 0.3em;padding: 15px 0 0 0;color: #CC251C;}

#nav ul li.current a{border-bottom: 4px solid #C7C7C7;padding: 15px 0 5px 0 !important;}

#nav.navblue ul li a{color: #00688D !important;}
/* 
|-----------------------------------------------------
| side Navigation
|-----------------------------------------------------
*/
#sidebar ul{margin: 0 0 30px 0;padding: 0;list-style-type: none;border: 4px solid #C7C7C7;border-width: 1px 0 1px 0;}
#sidebar ul > li:first-child{border-top: 0px dotted #C7C7C7;}

#sidebar ul li{/*word-spacing: 0.1em;*/background:transparent url(images/bullet-sidebar.gif) no-repeat scroll 19px 17px;border-top: 1px dotted #C7C7C7;margin: 0;padding: 9px 0 9px 36px;}
#sidebar ul li a,#sidebar ul li a:hover,#sidebar ul li a:visited{color: #4D4D4D;font-size: 13px;text-decoration: none ;margin: 0;}
#sidebar ul li.current{background: transparent url(images/bullet-sidebar.gif) no-repeat scroll 19px 17px;}
#sidebar ul li.current a{color: #4d4d4d !important;font-weight: bolder;}

#sidebar div.box
{border: 4px solid #C7C7C7;margin: 0 0 15px 0;border-width: 1px 0;background-color: #e6e6e6;padding: 15px 25px;}

#sidebar div.box h2{color: #4d4d4d;font-size: 14px !important;padding: 0 0 10px 0 !important;font-weight: bolder !important;border: 0 !important;margin: 0 !important;height: auto !important;font-weight: normal !important;}
#sidebar div.box h4{color: #4d4d4d;font-size: 14px !important;font-weight: bolder !important;border: 0 !important;margin: 0 !important;height: auto !important;}
#sidebar div.box h3{font-family: Gill Sans,"Microsoft Sans Serif", Helvetica;color: #00688D;margin: 0 0 10px 0;padding: 0;text-align: center;font-size: 17px;}
#sidebar div.box p{text-align: justify;font-size: 13px;color: #4D4D4D;padding: 0 0 10px 0;font-family: Gill Sans,"Microsoft Sans Serif", Helvetica;}

/**********************************
TABLES
***********************************/
/* Tabella generica */

table{width: 96%;margin: 0 2% 20px 2%;border-spacing:2px;}
table thead th{padding: 12px 7px !important;text-align: justify;}
table td{background-color: #F2F2F2;color: #4D4D4D;padding: 2px 7px;}
html>body table{margin-top: 0;}
table caption{color:#00688D;font-style:normal;font-weight:bold;margin:0px 0 0 8px;padding-bottom:3px;text-align:left;font-size: 1.2em;}
table th{background-color: #E6E6E6;color: #4D4D4D;padding: 7px;text-align: left;font-weight: bolder;}

/* Tabella events */

table.events{width: 96%;margin: 0 2% 20px 2%;border-spacing:2px;}
table.events thead th{padding: 12px 7px !important;text-align: justify;}
table.events td{background-color: #F2F2F2;color: #4D4D4D;padding: 2px 7px;}
table.events caption{color:#00688D;font-style:normal;font-weight:bold;margin:0px 0 0 8px;padding-bottom:3px;text-align:left;font-size: 1.2em;}
table.events th{background-color: #E6E6E6;color: #4D4D4D;padding: 7px;text-align: left;font-weight: bolder;}

/*table tbody tr td.first,table tbody tr th.first{text-align: center;padding: 8px;}
table tr td .sino{width: 65px;text-align: center !important;table-layout: fixed;}
td.maschifemmine{width: 160px;}
table .age{text-align:center;width:30px;}
td.tot{text-align:right;}
table.center{text-align: center;}*/

/*Members buttons*/
#members_button table{width:400px;margin: 0 auto;border: 1px dotted #ccc;margin-top: 20px; border-spacing:0px; padding:2px;}
#members_button td.first{margin: 0 !important;padding: 15px 0 10px 0;vertical-align: middle;text-align:center; border:0;}

/* 
|-----------------------------------------------------
! messages
|-----------------------------------------------------
*/
.error{background:#FBE3E4 none repeat scroll 0 0;border-color:#FBC2C4;color:#8A1F11;}
.success{color: #249901;border-color: #84cd6e;background-color: #dff2d9;}
.error, .notice, .success {border:2px solid #DDDDDD;margin-bottom:2em !important;padding:0.8em;}

/*Buttons*/
button.but-invia{
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(images/button-invia.png) no-repeat scroll 0 0;
border:0 none;
cursor:pointer;
height:25px;
width:80px;
}

/* 
|-----------------------------------------------------
| Forms
|-----------------------------------------------------
*/
fieldset{-moz-border-radius: 8px; border-radius: 0px;padding:0 30px 10px 30px;margin-bottom: 10px;}
legend{color:#00688D;}

/* login box */
form#loginbox{margin: 0 auto;padding:0;}
form#loginbox input.text{width: 205px;}
form#loginbox p{margin: 0 0 10px 0;}
form#loginbox p.centered{margin: 5px auto !important;text-align: center;}
form#loginbox label {font-size: 0.9em;}

/* registration form*/
#user_reg{margin: 25px 0;}
#user_reg form fieldset{padding:10px 20px;}
#user_reg form table thead th{text-align: right;background-color: #E6E6E6 !important;text-align: left !important;font-weight: bolder !important;}
#user_reg form table th{text-align: right;background-color: #F2F2F2 !important;font-weight: normal !important;width: 160px;}
#user_reg form input.text{border:1px solid #bbbbbb;margin:0pt;padding:3px 5px;width:180px;height: 14px;}
#user_reg div.submit{text-align: center;padding: 15px 0 0 0;}
#user_reg button.registration{cursor: pointer;width: 170px;height: 36px;border: 0;background: transparent url(../../../public/images/button-registrazione.png) no-repeat;}

#user_reg button.edit_profile{cursor: pointer;width: 170px;height: 36px;border: 0;background: transparent url(../../../public/images/button-modifica-profilo.png) no-repeat;}


#reg_privacy{margin: 0 0px;font-size: 0.9em;line-height: 1.2em;}

#reistration_confirm{height: 340px;min-height: 240px;}
#ajxdialog {cursor: pointer;}

/*Forgot password*/
#forgot_password input{height: 19px;border: 1px solid #ccc;width: 207px; text-align:left; margin: 0 0 0 5px;}
#forgot_password table{width:400px;margin: 0 auto;border: 1px dotted #ccc;margin-top: 20px; border-spacing:0px; padding:2px;}
#forgot_password td.first{margin: 0 !important;padding: 10px 0 10px 0;vertical-align: middle;text-align:right;}
#forgot_password button{margin: 1px 30px 0 10px;}
#forgot_password col.one{width:80px;}
#forgot_password col.two{width:200px;}
#forgot_password col.three{width:120px;}

/* Administration forms*/
form.adminform{margin: 0;padding: 0;font-size:1em;}
#sidebar .module{font-size:0.8em;}
#sidebar .module hr{border-color: #e6e6e6;}
#sidebar .module p{padding: 0 0 10px 0;}
.adminform div.module{margin: 0 0 20px 0;}

.adminform label{display:block;clear: left;font-weight:bold;font-size:1em;}
.adminform #sidebar label{clear: none !important;}

.adminform p{margin: 0 0 15px 0 !important;}

div.module{margin-bottom: 15px;}
.adminform h2,h2.boxed{color: #4d4d4d; font-weight: bold; font-size: 0.9em; border:1px solid #DFDFDF;border-top: 0 !important;margin: 0; padding: 7px 0 5px 20px;background-color:#E6E6E6;-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;}
.adminform h2.boxtitle{color: #4d4d4d; font-weight: bold; font-size: 1.1em;}
div.toggle_body{border-style:solid;border-width:1px;border-color:#DFDFDF;padding: 10px 20px 20px 20px;margin: 0 0 20px 0;}
div.toggle_body p.textbox{font-size: 0.85em;}
.adminform div.toggle_body{padding: 20px !important;}

div.imagebox img{margin: 0px 0px 15px 0px;}

.adminform textarea.stall{height: 50px}
.adminform textarea.tall{height: 70px}
.adminform textarea.xtall{height: 140px}
.adminform textarea.xxtall{height: 280px}

.adminform input,
.adminform textarea,
.adminform select{font-family: Arial, Verdana; font-size: 1em !important;padding: 0.2em;border: 1px solid #c1c1c1;clear:both;margin-bottom: 10px;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;}

.adminform textarea{font-family:arial,"MS Trebuchet",sans-serif !important;font-size: 1.5em}

div.box p{margin: 0 !important;}
div.box label {font-size: 0.9em !important;}
div.box input,
div.box textarea,
div.box select{font-size: 0.9em !important;margin: 0 !important;}

div.anagrafica {margin-top: 40px; text-align: center;}

.adminform input.radiobut{border: 0px;padding: 0;margin:0;}

.adminform input.xxshort,form.adminform textarea.xxshort,form.adminform select.xxshort{width: 30px;}
.adminform input.xshort,form.adminform textarea.xxshort,form.adminform select.xxshort{width: 70px;}
.adminform input.mshort,form.adminform textarea.mshort,form.adminform select.mshort{width: 80px;}
.adminform input.short,form.adminform textarea.short,form.adminform select.short{width: 120px;}
.adminform input.medium,form.adminform textarea.medium,form.adminform select.medium{width: 200px;}
.adminform input.long,form.adminform textarea.long,form.adminform select.long{width: 300px;}
.adminform input.xlong,form.adminform textarea.xlong,form.adminform select.xlong{width: 400px;}
.adminform input.xxlong,form.adminform textarea.xxlong,form.adminform select.xxlong{width: 510px;}

.adminform table col.l1 { width: 140px; }
.adminform table col.l2 { width: 410px; }
.adminform table caption { color: #4D4D4D; font-size: 1.1em; margin-top: 5px; margin-bottom: 3px; }
table.admin label {font-weight: normal;}

.adminform input.submit{float: none !important;clear: none;display: inline !important;}

/* CUSTOM STYLES*/
ul#stafflogos {list-style-type: none;margin: 0;padding: 0;}
ul#stafflogos li{padding: 0 0 0 120px;margin: 0 0 14px 0;}
ul#stafflogos  li.tiva_logo{background: transparent url(images/loghi/tiva.png) no-repeat scroll -10px 0 !important;}
ul#stafflogos  li.polis_logo{background: transparent url(images/loghi/polis-2000.png) no-repeat scroll 0 0 !important;}
ul#stafflogos  li.studiometa_logo{background: transparent url(images/loghi/studio-meta.png) no-repeat scroll 12px 0 !important;}
ul#stafflogos  li.cetrans_logo{background: transparent url(images/loghi/ce-trans.png) no-repeat scroll 0 8px !important;}
ul#stafflogos  li.ciofs_logo{background: transparent url(images/loghi/ciofs-fp.png) no-repeat scroll 0 0 !important;}
ul#stafflogos  li.csl_logo{background: transparent url(images/loghi/scuole-lavoro.png) no-repeat scroll -5px -8px !important;height: 90px;}


/*CALENDARIO*/
.nav, .nav a {font: bold 18px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #fff;text-align: center;text-decoration: none;}	
#calendar {width: 250px;padding: 0;margin: 0;border-left: 1px solid #A2ADBC;font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #616B76;text-align: center;background-color: #fff;}
#calendar caption {margin: 0;padding: 0;width: 141px;background: #A2ADBC;color: #fff;font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;text-align: center;}
#calendar th {font: bold 11px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #616B76;background: #D9E2E1;border-right: 1px solid #A2ADBC;border-bottom: 1px solid #A2ADBC;border-top: 1px solid #A2ADBC;}
.today, td.today a, td.today a:link, td.today a:visited {color: #F6F4DA;font-weight: bold;background: #DF9496;}

#calendar td {border-right: 1px solid #A2ADBC;border-bottom: 1px solid #A2ADBC;width: 20px;height: 20px;text-align: center;background: url(images/bg_calendar.gif) no-repeat right bottom;}
#calendar td a {text-decoration: none;font-weight: bold;display: block;}
#calendar td a:link,#calendar td a:visited {color: #608194;background: url(images/bg_calendar.gif) no-repeat;}
#calendar td a:hover,#calendar td a:active {color: #6aa3ae;background: url(images/bg_calendar.gif) no-repeat right top;}
