

/* Start of CMSMS style sheet 'MenuHorz Cust screen' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* 
{
      margin:  0;
      padding: 0;      
}

/*
Set initial font styles
*/
body 
{
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em; 
}

/*
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: 0;
}

/*
    Default link styles
*/

/* Set all links to have underline and bluish color */
a,
a:link 
a:active 
{
     text-decoration: underline;

     /* 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: #ffffff;
     font-weight: bold;

     font-size: 0.8em;    /* Grandezza del font dei link non ancora selezionati */
}

a:visited 
{
     text-decoration: underline;
     background-color: inherit;
     color: /*#18507C;*/ #fff;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover
{
     text-decoration: none;
     background-color: /*#C3D4DF;*/ /*#fff;*/ none;
     color: /*#385C72;*/ #fff;
}

/*****************
basic layout 
*****************/
body 
{
     background-color: #000000;    /* Colore sfondo bordo esterno, usato anche per altri stylesheets */
     color: #333;
     margin:1em;    /* gives some air for the pagewrapper */
    text-align:center;
}

/* center wrapper, min max width */
div#pagewrapper 
{
  text-align:left;
    margin: 0 auto;                /* this centers wrapper */     

     width:830px;
     background-color: black;    /* Colore dello sfondo del corpo centrale della pagina */
     color: #ffffff;                    /* Colore del testo nella parte centrale della pagina   */

     background-image:  url(images/cms/bgg2.jpg);
     background-repeat: no-repeat;
     background-position: top center;
     /*background-attachment: fixed; */
}

/*** 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 
{
     height: 140px;                /* Spazio sotto l'immagine di background, varia a seconda dell'immagine */
     background: #000000;   /* Colore di sfondo dell'header */
}

div#header h1 a 
{
     background:  url(images/cms/logonew2.jpg);     
     background-repeat: no-repeat;
     background-position: center;

     display: block;
     height: 130px;             /* Spazio sopra l'immagine di background, varia a seconda dell'immagine */
     text-indent: -999em;    /* This hides the text */
     text-decoration:none;   /* Old firefox would have shown underline for the link, this explicitly hides it */
     margin: 0 auto;
     /* margin-left: 120px; */       /* Spazio a sinistra dell'header */ 
}

div#content 
{
  width:580px;

   margin: 280px 100px 2em 160px;    /* Spazio prima del titolo della pagina nel corpo della pagina  */
}

#content h2 {
    display:block;
   }

div#main 
{

height: 460px;
padding-right:30px;
overflow:auto;
   margin:0 1px 0 0px   /* Margine destro  della "riga" (sidebar)  sotto il titolo pagina nel corpo */ 
}

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

div#footer 
{
    clear: both;      /* keep footer below content and menu */
    color: #000000;
    background-color: #000000;   

    margin-top: 0px;         /* Spazio prima del margine superiore del footer  */

    /* margin-left: 120px;*/         /* Spazio a sinistra del footer */
    margin-left: 0 auto;

    padding-bottom: 12px;    /* Spazio sotto il footer */ 
}

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

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

/* 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 black;
     margin: 1em;
}

/* relational links under content */
div.left49 
{
     width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 
{
     float: right;
     width: 49%;
     text-align: right;
}

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

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

div#content h2 
{
     color: /*#294B5F;*/ #fff;
     font-size: 1.5em;  
     text-align: left;

/* Some air around the text */
     padding-left: 0.5em;
     padding-bottom: 1px;

/* Set borders around header */
     border-bottom: 1px solid  /*#e7ab0b; */ #fff;
     border-left: 1.1em solid    /*#e7ab0b;*/ #fff; 
     line-height: 1.5em;

/* And some air under the border */
     margin: 0 0 0.5em 0;
}

div#content h3 
{
     color: /*#294B5F;*/  #fff;
     font-size: 1.3em; 
     line-height: 1.3em;
     margin: 0 0 0.5em 0;
}

div#content h4 
{
   color: /*#294B5F;*/  #fff;
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

div#content h5 
{
   color: /*#294B5F;*/  #fff;
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

h6 
{
   color: /*#294B5F;*/ #fff;
   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;*/
}

/* END LISTS */
/* End of 'MenuHorz Cust screen' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */



/* Start of CMSMS style sheet 'Navigation: CSSMenu - Horizontal' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert {
   margin-left: 1px;
   margin-right: 1px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   background-color: #ECECEC;
   width: 100%;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
     position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #006699;
}
#primary-nav li a { 
   border-right: 1px solid #C0C0C0;
   border-left: 1px solid #C0C0C0;
}
#primary-nav li li a { 
   border: 1px solid #C0C0C0;
}	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #ececec; 
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #C7C7C7; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-color: #E7AB0B; 
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
/* End of 'Navigation: CSSMenu - Horizontal' */

/* Start of CMSMS style sheet 'MenuHorz Cust Nav' */
/* hack for Internet Explorer */
* html div#menu_horiz 
{
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
    Background-color for the entire menu row, covering 100% of the width and text center-aligned 
*/
div#menu_horiz 
{

    width: 100%;
    margin: 0;
    margin-top: 10px;
 
}

/* 
    The menu ul box has top and left border, right border is provided by the li elements 
*/
div#menu_horiz ul 
{
    margin:  0;   

    padding: 0;
    
    border-bottom: 0.8px  solid  #C0C0C0;        /* Spazio sotto il bordo inferiore del menÃ?Â¹ */



   border-left:      -20px solid  none; /* 190px */    /* Spazio a sinistra del bordo sinistro del menÃ?Â¹. 
                                                                Se s'incrementa di una unitÃ? , lo spazio a 
                                                                destra va decrementato di una unitÃ? ,
                                                             per non avere spazio residuo ai lati */

    border-right:    163px solid  none;  /* 345px; */  /* Spazio a destra del bordo destro del menÃ?Â¹ */
  

 
    height: 2.2em;
}

/* Menu list items */
div#menu_horiz li 
{
    float: left;           /* Makes the list horizontal */
    list-style: none;    /* Hides the list bullet */ 
    margin: 0;
    border-right: 1px solid #C0C0C0;
}


/*-------------------------------*/
#menu {
width: 12em;
background: #eee;
}

#menu ul {
list-style: none;
margin: 0;
padding: 0;
}

#menu a, #menu h2 {
font: bold 11px/16px arial, helvetica, sans-serif;
display: block;
border-width: 1px;
border-style: solid;
border-color: #ccc #888 #555 #bbb;
margin: 0;
padding: 2px 3px;
}

#menu h2 {
color: #fff;
background: #000;
text-transform: uppercase;
}

#menu a {
color: #000;
background: #efefef;
text-decoration: none;
}

#menu a:hover {
color: #a00;
background: #fff;
}

#menu li {position: relative;}

#menu ul ul ul {
position: absolute;
top: 0;
left: 100%;
width: 100%;
}

div#menu ul ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}
/*-------------------------------*/


/* The links, that is each list item */
div#menu_horiz a 
{
    padding: .6em 1em .6em 1.4em;    /* Padding inside the list item box */
    margin: 0;                                 /* Margin outside each list item box */
    text-decoration: none;                /* No underline for links */
    color: #000000;                         /* Colore del link inattivo */ 
    background: no-repeat 0.5em center;;
    display: block;                            /* IE has problems with this, fixed above */
}

/* Hover state for links */
div#menu_horiz li a:hover 
{
    background-color: #ffffff;     /* Colore per il rollover */
}

div#menu_horiz a.activeparent:hover 
{
    background-color: #ffffff; /* #C3D4DF; */
    color: #000000;  /* #18507C; */  /* Colore per il rollover sul parent */
}

/* Active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a 
{
    background: #9C9C9C no-repeat 0.4em center;  /* #385C72 no-repeat 0.4em center; */ 
    color: #fff;
}

div#menu_horiz h3 
{
    padding: .6em 1em .6em 1.4em;    /* Padding inside the list item box */
    margin: 0;                                 /* Margin outside each list item box */
    text-decoration: none;                /* No underline for links */
    color: #fff;

    /* Colore item selezionato */
    background: #9C9C9C no-repeat 0.4em center;  /*#385C72 no-repeat 0.4em center;*/

    display: block;                            /* IE has problems with this, fixed above */
    font-size: 0.8em;                           /* Instead of the normal font size for <h3> */
}

/* End of 'MenuHorz Cust Nav' */

/*    FORM */


#contactform {
width:400px;
margin:0 auto;
}

