/* CSS modulare per definire separatamente la struttura del template, i colori, la tipografia */
/* - Dimensione e posizionamento degli elementi */
/* - - Elementi contenitori per il template */
body {
    margin: 0;
    padding: 0 2%;
}

#container {max-width: 1000px;}

#top {
	position: relative;
    float: left;
    width: 100%;
    margin: 0 auto;
	padding: 0;
/* i margini laterali "auto" servono per centrare il div quando ha una larghezza inferiore al 100% o fissa */
}
#top h1 {
    float: left;
    display: inline;
    /*bug fix per margine sx per IE*/
    width: 35%;
    margin: 44px 28px 14px 28px;
}
ul.gnav {
    padding: 0;
    margin: 80px 0 0 35%;
}
ul.tools {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 350px;
    padding: 0;
    margin: 0;
}
#columns {
    float: left;
    width: 94%;
    padding: 0 3%;
}
#middle {
    float: left;
    width: 71%;
    padding: 0 2%;
    background-color: #ffffff;
}
#right {
    float: left;
    /*margin-left: 75%;*/
    width: 23%;
    padding: 8px 1%;
    background-color: #ffffff;
}
#bottom {
    clear: both;
    width: 94%;
    height: 30px;
    padding: 8px 3%;
    margin: 0;
}
/* - - Fine elementi contenitori per il template */
/* - - Navigazione e tools */
ul.gnav {
    text-align: center;
}
ul.gnav li {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0 0.2em;
}
ul.gnav li a {
    display: block;
    padding: 0.1em 0.3em;
}
ul.lnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
/* - - Fine navigazione e tools */
/* - - Altri contenuti */
.r-box {
    margin: 24px 1%;
    padding: 1% 3%;
}
/* - - Fine altri contenuti */
/* Definizione dei colori */
body {
    background-color: #fff;
    color: #666;
}
#top {
    border-bottom: 8px solid #E06529;
    background: url('../images/top_bg.gif') repeat left top;
}
#bottom {
    border-top: 8px solid #E06529;
    background: url('../images/top_bg.gif') repeat left top;
    color: #fff;
}
#columns {
    background: #ffffff url('../images/columns_bg.jpg') top left repeat-x;
}
/* Fine definizione colori */
/* Definizione degli elementi tipografici base */
body {
    font-family: 'Trebuchet MS', Verdana, 'Lucida Sans', Arial, Helvetica, Sans-Serif;
    font-size: 1em;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 150%;
}
h1 {
    font-size: 1.8em;
    margin: 0;
    font-weight: bold;
}
h2 {
    font-size: 1.5em;
    margin: 0;
    font-weight: bold;
}
h3 {
    font-size: 1.1em;
    margin: 0;
    font-weight: bold;
}
h4 {
    font-size: 1em;
    margin: 0;
}
h5 {
    font-size: 0.8em;
    margin: 0;
}
h6 {
    font-size: 0.7em;
    margin: 0;
}
p {
    font-size: 0.8em;
    line-height: 1.5em;
}
a {
    color: #E06529;
}
/* Contenuti specifici: colori e tipografia */
/* Header */
#top h1 {
    font-size: 2.2em;
    line-height: 100%;
    text-align: left;
}
#top h1 span {
    margin: 0;
    padding: 0;
}
#top h1 a span.name, #top h1 a:link span.name, #top h1 a:visited span.name {
    color: #fff;
}
#top h1 a span.surname, #top h1 a:link span.surname, #top h1 a:visited span.surname {
    color: #ccc;
}
#top h1 a:hover span.name, #top h1 a:active span.name {
    color: #ccc;
}
#top h1 a:hover span.surname, #top h1 a:active span.surname {
    color: #fff;
}
/* -- Aspetto dei menu di navigazione */
/* ul.gnav, ul.lnav  {font-size: 0.8em; line-height: 150%;} */
ul.gnav {
    background-color: transparent;
}
ul.gnav li a {
    font-size: 0.938em;
    font-weight: bold;
    text-decoration: none;
}
ul.gnav li a:link, ul.gnav li a:visited {
    background-color: transparent;
    color: #fff;
}
ul.gnav li a:hover, ul.gnav li a:active, ul.gnav li a.qui {
    background-color: #E06529 !important;
    color: #fff;
}
h3.menu {
    font-size: 0.938em;
    line-height: 100%;
    font-weight: normal;
    height: 30px;
    background: url('../images/menu_r.gif') right top no-repeat;
    color: #fff;
    background-color: #E06529;
    padding: 0;
    margin: 1px 0 0 0;
}
/* ,  h3.menu a:link, h3.menu a:visited */h3.menu a {
    display: block;
    height: 30px;
/* width: 94%; */
    line-height: 30px;
    text-decoration: none;
    padding: 0 3%;
    margin: 0;
    background: url('../images/menu_l.gif') left top no-repeat;
}
h3.menu a:link, h3.menu a:visited {
    color: #fff;
}
h3.menu a:hover, h3.menu a:active {
    color: #fff;
    font-weight: bold;
}
ul.lnav li {
    display: inline;
}
ul.lnav li a {
    display: block;
    font-size: 0.875em;
    line-height: 200%;
    padding-left: 22px;
    background: url('../images/bullet.gif') left center no-repeat;
}
ul.lnav li a:link, ul.lnav li a:visited {
    background-color: #fff;
    color: #666;
    text-decoration: none;
}
ul.lnav li a:hover, ul.lnav li a:active, ul.lnav li a.here {
    background-color: #fff !important;
    color: #E06529 !important;
    font-weight: bold !important;
}
ul.tools {
    font-size: 0.813em;
    line-height: 100%;
    color: #fff;
}
ul.tools li {
    display: inline;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    white-space: nowrap;
}

ul.tools li a, ul.tools li a:visited {
    padding: 0.2em;
    color: #fff;
    text-decoration: underline;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1.5em;
    
}
ul.tools li a:hover , ul.tools li a:active {
    color: #fff;
    background-color: transparent;
}

ul.tools li.button {
   background: url('../images/button-little_r.gif') right center no-repeat;
}

ul.tools li.button a {
   background: #E06529 url('../images/button-little_l.gif') left center no-repeat;
}

ul.tools li form, ul.tools li fieldset, ul.tools li label, ul.tools li input {
    display: inline;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
ul.tools li fieldset {
    border: none;
}
.breadcrumbs {
    font-size: 0.75em;
    line-height: 150%;
    margin: 0.5em 0 1em 0;
}
/* -- Fine aspetto dei menu di navigazione */
/* -- Aspetto dei contenuti del corpo pagina */
.pres {
    margin: 12px 0;
}
.pres img {
    height: 200px;
    border: 6px solid #dedede;
}
.pres p {
    font-size: 0.813em;
    margin: 0.75em 0;
}
.primopiano {
    margin-bottom: 12px;
}
.primopiano h3 {
    font-size: 1.125em;
    color: #E06529;
    font-weight: normal;
    border-bottom: 1px solid #cecece;
    margin-bottom: 0.5em;
}
.primopiano h3 a {
    text-decoration: none;
    display: block;
    margin: 0;
    padding: 0 4px;
}
.primopiano h3 a:hover, .primopiano h3 a:active {
    background-color: #f6f6f6;
}
.primopiano img {
    width: 150px;
    border: 4px solid #dedede;
}
.primopiano ul {
    margin: 12px 0 0 172px;
    padding: 2px;
    background-color: #fafafa;
    border: 1px solid #ededed;
    text-align: right;
    list-style-type: none;
    font-size: 0.75em;
}
.primopiano ul li {
    display: inline;
    margin: 0 6px;
}
.primopiano ul li img {
    vertical-align: middle;
    margin: 0 4px;
    border: none;
    width: auto;
    height: auto;
}
#middle h2, .pres h2 {
    font-size: 1.25em;
    color: #E06529;
    font-weight: normal;
}
div.art-line, div.docs-line, div.apps-line, div.link-line {
    margin: 1.5em 0;
}
.art-line h3, .art-full h2, .docs-line h3, .docs-full h2, .apps-line h3, .apps-full h2, .link-line h3 {
    font-size: 0.813em;
    font-weight: bold;
}
.art-line p, .docs-line p, .apps-line p, .link-line p {
    font-size: 0.813em;
    margin: 0.3em 0;
}
.art-line p.tags, .art-full p.tags, .docs-line p.tags, .docs-full p.tags, .apps-line p.tags, .apps-full p.tags, .link-line p.tags {
    font-size: 0.75em;
    margin: 0.75em 0 0 0;
}
.art-full img, .docs-full img, .apps-full img {
    display: block;
    /*width:136px;*/
    border: 4px solid #757575;
}
img.right {
    float: right;
    margin: 0 0 12px 12px;
}
img.left {
    float: left;
    margin: 0 12px 12px 0;
}
.art-full h3, .docs-full h3, .apps-full h3 {
    font-size: 0.938em;
    line-height: 150%;
    color: #000;
    font-weight: normal;
    margin-bottom: 1em;
}
.photogallery span.photo {
    float: left;
    margin: 12px 22px;
    padding: 0;
	text-align: center;
}
.photogallery span.photo img {
    display: block;
    /*width: 150px;*/
    margin: 0;
    border: 4px solid #ccc;
    vertical-align: top;
}
.photogallery span.photo p {
    text-align: center;
    font-size: 0.75em;
    margin: 0.2em 0;
	width: 150px;
}
/* -- Aspetto dei contenuti della colonna di destra */
.r-box {
    background-color: #F0F0F0;
}
.r-box h3 {
    font-size: 1.125em;
    line-height: 150%;
    color: #E06529;
    font-weight: normal;
    border-bottom: 1px dashed #ccc;
}
.r-box h4, .r-box h5, .r-box p {
    font-size: 0.75em;
    line-height: 130%;
    font-weight: normal;
    margin: 0;
}
.r-box h4.date {
    color: #000;
    margin-top: 0.35em;
}
.r-box h5.title {
    color: #E06529;
    font-weight: bold;
    margin-top: 0.15em;
}
.r-box p {
    padding: 0 0 0.5em  0;
    margin: 0 0 0.5em  0;
    border-bottom: 1px dashed #ccc;
}
.r-box p.link {
    text-align: right;
    border: none;
}
.r-box p.related {
    margin: 0.5em 0;
    padding-bottom: 0.75em;
}
.r-box p.related a {
    color: #666;
}
.banner {
    text-align: center;
}
.banner img {
    display: block;
    margin: 8px auto;
    border: none;
}
/* -- Aspetto dei contenuti del footer */
#bottom a {
    color: #fff;
}

/*Moduli*/
form.base {
	font-size: 1em;	
}

form.base fieldset {
	border: none;
	margin: 0;
	padding: 8px;	
}

form.base label, form.base input {font-size: 0.8em;}

.block {display: block;}

label.block {margin: 16px 0;}

fieldset.columns label {
	width: 180px;
	display: block;
	float: left;
}

fieldset.columns input {
	vertical-align: middle;
}

fieldset.columns input.submit {
	vertical-align: middle;
	display: block;
	margin: 12px auto;
}

.warning ul, .messagge-warning ul {list-style-type: none; font-size: 0.8em; line-height: 1.2em;}

/* Fine contenuti specifici: colori e tipografia */


/*Stili per commenti */


/*div.Comments span.left {background: transparent url('../images/menu_l.gif') left top no-repeat;}*/

div.Comments input.button {
    vertical-align: middle;
	display: block;
	margin: 24px auto 12px auto;
	 padding: 0.4em;
	font-size: 0.938em;
	height: 30px;
    line-height: 100%;
    font-weight: normal;
    /*background: url('../images/menu_r.gif') right top no-repeat;*/
    color: #fff;
    background-color: #E06529;
    border: none;
}

div.content-view-line {border: 1px solid #ccc; padding: 8px; margin: 16px 0;}
div.Comments h2 {margin: 12px 0 0 0;}
div.Comments h3 {margin: 0 auto 4px auto; font-size: 0.9em;}
div.Comments p.author {margin: 0 12px 4px auto;display: inline;}
div.Comments p.date {margin: 0 auto 4px auto; display: inline; }
div.Comments div.attribute-message {font-size: 0.75em; border-top: 1px solid #ccc; margin-top: 4px; padding-top: 4px;}

/*Form commenti */
form div.edit div.class-article-comment h1 {font-size: 0.9em;}
form div.edit div.class-article-comment label {font-size: 0.8em; margin-top: 8px;}
form div.edit div.class-article-comment div.buttonblock {margin: 12px auto;}
form div.edit div.class-article-comment input.defaultbutton {color: #fff; background-color: #E06529; padding: 0.2em;}
form div.edit div.class-article-comment input.button {color: #333; background-color: #ececec; padding: 0.2em;}

/*FINE Stili per commenti */

/* tools */
hr.clear, br.clear {
    clear: both;
    height: 0;
    margin: 0;
    border: none;
}