/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0px;
padding:0px;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Verdana, Helvetica, sans-serif;
   font-size: 12px;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {border: 0px}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #f78f1e; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #f78f1e;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #0081c1;
}

a.email {padding-left:20px;background:url(images/cms/ico-email.gif) no-repeat left;}
a.email:hover {background:url(images/cms/ico-email-hover.gif) no-repeat left;}
a.pdf {padding-left:20px;background:url(images/cms/ico-pdf.gif) no-repeat left;}
a.pdf:hover {background:url(images/cms/ico-pdf-hover.gif) no-repeat left;}
.right {text-align:right;width:100%;}

a.link-follow {background:url(images/cms/bg-link.gif) repeat-x left;padding:3px 10px;font-size:11px;color:#ffffff;font-weight:bold;}
input, select {font-size:11px;}
sup {font-size:10px;}

/*****************
basic layout 
*****************/
body {
color: #ffffff;
margin:0px;    /* gives some air for the pagewrapper */
background:url(images/cms/bg-body.gif) repeat-x top;
background-color: #171717;
}

body strong, body bold {color: #ffffff;}

/* center wrapper, min max width */
div#pagewrapper {
/*background:url(uploads/images/bg-pagewrapper.jpg) no-repeat center;*/
margin: 0 auto;       /* this centers wrapper */
   max-width: 960px;   /* IE wont understand these, so we will use javascript magick */
}

div#credits {clear: both;font-size:10px;color:#616161;position:relative;margin-top:60px;margin-bottom:10px;text-align:right;width:100%;
/* IE wont understand these, so we will use javascript magick */
}
div#credits a {color:#828282;}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/

div#header {width:960px;height:96px;display:block;
/* adjust according your image size */
}

div#logo {float:left;margin-right:23px;}
div#data {font-size:11px;color:#999999;padding-top:28px;float:left;}
div#language {float:right;font-size:11px;color:#999999;padding-top:28px;}
div#language a {color:#999999;text-transform:uppercase;padding:0px 5px;}
div#language a:hover {color:#ffffff;}

div#img-top {margin:0px;width:960px;height:230px;position:relative;top:47px;}
div#img-top img {width:960px;height:230px;}

div#header h1 a {
/* you can set your own image here */
/* background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   display: block;
   height: 80px; /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* position for the search box */
div#search {/*float: right;*/display:none;
   width: auto;    /* enough width for the search input box */
   text-align: left;
   padding: 5px 10px;
   margin: 0px;
}

div.breadcrumbs {
padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;}

div.breadcrumbs span.lastitem {font-weight:bold;} 

div#content {margin: 0px;padding:0px;width:960px; z-index:0;  /* some air above and under menu and content */display:block;position:relative;top:47px;}

div#main {
margin-left: 266px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
/*margin-right: 2%; and some air on the right */
width:694px;
font-size:12px;line-height: 18px;text-align:justify;
display:block;
background:url(images/cms/bg-h2.gif) no-repeat top;
}

div#main p {padding:0px 18px;padding-bottom:0px;}

table.tab {border-bottom:1px solid #cccccc;border-right:1px solid #cccccc;width:99%;padding:0px;}
table.tab td {border-left:1px solid #cccccc;border-top:1px solid #cccccc;padding:3px 5px;font-size:11px;}
table.tab th {border-left:1px solid #cccccc;border-top:1px solid #cccccc;padding:3px 5px;text-align:center;font-weight:bold;font-size:11px;background-color:#ececec;}
table.tab td em {color:#cc0000;}

div#sidebar {
float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
width: 266px;     /* sidebar width, if you change this please also change #main margins */
display: inline;  /* FIX IE double margin bug */
margin-left: 0px;padding-bottom:20px;}

div#footer {clear:both;padding:0px;position:relative;top:50px;
background:url(images/cms/bg-footer.gif) repeat-x top left;
padding:0px 20px;height:75px;}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {color: #fff; /* needed becouse footer link would be same color as background otherwise */}

div#footer-left {width:50%;float:left;padding:20px 0px;margin:0px;font-size:11px;color:#999999;}
div#footer-right {width:50%;float:left;padding:30px 0px;margin:0px;text-align:right;font-size:11px;color:#999999;}
.link-footer {}
.link-footer a {font-weight:normal;color:#999999;}
.link-footer a:hover {color:#f78f1e;}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted #cccccc;
   margin: 1em;
}

/********************
IMAGES
*********************/
img.img-left {float:left;padding-right:20px;padding-bottom:15px;}
img.img-right {float:right;padding-left:20px;padding-bottom:15px;}
#main .gallery {float:left;margin:0 48px 20px 20px;height:158px;width:163px;text-align:center;z-index:0;position:relative;border-bottom:5px solid #0081c1;}
#main .gallery-tit {text-align:center;font-size:11px;line-height:13px;font-weight:bold;color:#ffffff;margin-top:-35px;position:relative;z-index:1;}
#main .gallery-tit a {color:#ffffff;}

/********************
CONTENT STYLING
*********************/
div#content {}

/* HEADINGS */
div#content h1 {
font-size: 2em; /* font size for h1 */
line-height: 1em;
margin: 0;
}

div#content h2, div#sidebar h2 {color: #ffffff;
font-size: 20px;font-weight:normal;
text-align: left;padding:18px 0px 20px 46px;background:url(images/cms/arrow-h2.gif) no-repeat left;margin-left:19px;margin-bottom:20px;}

div#content h3 {
   color: #f78f1e; 
   font-size: 14px;
   margin: 0px 0px 5px 0px;padding:0px 20px;
}
div#content h4 {
   color: #f78f1e; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #f78f1e; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #f78f1e; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

/*MAPPA del sito*/
div#main ul.map li {font-size:14px;font-weight:bold;color:#f78f1e;}
div#main ul.map li ul li {list-style-type:square;}
div#main ul.map li ul li a {font-size:12px;font-weight:normal;color:#fff;}
/*MAPPA del sito*/

div#box-colsx ul {
   margin: 0 0 2.5em 0;
}

div#box-colsx ul li,
div#box-colsx ol li {
   margin: 0 0 1.3em 6.5em;
}

div#box-colsx ul a {font-weight:bold;}

/* END LISTS */

#main #thumb-presentazione {display:block;position:relative;left:16px;}
#main #thumb-presentazione img {width:207px;height:178px;}

/* START FORM CONTATTO */
#main .contactform {border:none;}
.contactform fieldset {padding: 15px;border:1px solid #c0c0c0;}
.contactform fieldset legend {color:#ffffff;font-weight: bold;background-color:#f78f1e;padding:3px 5px;font-size:14px;}
.contactform fieldset div {width:100%;padding:4px 3px;}
.contactform fieldset div.no-float {width:100%;float:none;}
.contactform div {width: 100%;}
.contactform div label {float:left;width: 10em; }
.contactform div.required {color: #f78f1e;}
textarea {width:80%;height:80px;}
.submit {text-align:center;margin-top:10px;}
#main .contactform .submit input {font-size:14px; width:120px;font-weight:bold;text-transform:uppercase;}
#main .contactform input {width:50%;padding:1px;}
#main .hidden {display:none}
/* END FORM CONTATTO */

/* End of 'Layout: Left sidebar + 1 column' */

