﻿/*layout CSS */
body {
text-align:center; /*center hack*/
}

.center { text-align: center }

#wrapper {
margin:0 auto; /*center hack*/
text-align:left; /*center hack*/
}

.width_800{
max-width:780px;
width:780px;
}

.width_1024{
min-width:910px;
max-width:1000px;
width:auto !important;
width:1000px;
}

.width_fluid{
min-width:910px;
max-width:97%;
width:auto!important;
width:97%;
}

#heading{
width:100%;
position:relative;
padding:16px 0px 0px 0px;
}
#heading h1{
font-size:36px;
font-family:"Myriad pro", "Myriad Web", Geneva, Arial, Helvetica, sans-serif;
text-transform:uppercase;
color:#fff;
margin:0 0 0 27px!important;
padding:0 !important;
}
#heading h1 a{
color:#fff;
font-weight:normal;
}
#heading h1 a:hover{
text-decoration:none;
}
a#sitename1{
display:block;
width:258px;
height:52px;
text-indent:-2000px;
}
#buttons{
position:absolute;
right:23px;
top:40px;
}
a#alarge.btnicon{
margin-right:8px;
}
a#asmall.btnicon{
margin-right:16px;
}
.btnicon{
float:left;
text-indent:-2000px;
width:10px;
height:23px;
}
a.btnicon{
margin-right:6px;
}
#header{
margin-top:16px;
background:#2f2f2f url(headerbg_m.jpg) top left repeat-x;
color:#fff;
}

#header .bgbl{

height:auto!important;
height:250px;
min-height:250px;
padding:0px 24px 26px 24px;
position:relative;
}

#user3{
display:block;
position:relative;
height:40px;
}
#user3 .moduletable{
margin:0;
}


#header #top a{
text-decoration:underline;
}

#header #top a:hover{
color:#fff;
}

#header #top .moduletable{
padding-top:6px;}

#header #top .moduletable h3{
background-position:0px 10px;
position:relative;
padding:3px 0 0 25px;
margin:3px 0;
}

#user4 {
position:absolute;
right:0;
bottom:-6px;
background:url(user4bg-l.jpg) top left no-repeat;
padding-left:38px;
color:#000;
z-index:10;
margin-top:0px!important;
margin-top:1px;
}

#header #user4 .bgright{
background:url(user4bg-r.gif) top right no-repeat;
padding-right:18px;
}

#header #user4 .bg{
background:url(user4bg.jpg) top left repeat-x;
padding:5px 12px 5px 10px;
}
#user4 .moduletable, #user4 form, #user4 input{
margin:0;
padding:0;
}

#container{
padding-left:18px;
}
#container .bgright{
padding-right:18px;
margin:0!important;
margin-right:1px;
}
#container .bg{
background:#fff url(containerbg_m.png) top left repeat-x;
}

#container .bg{
padding:12px 24px 0px 24px;
}
#content, #breadcrumbs{
position:relative;
width:100%;
}
#breadcrumbs{
padding-bottom:6px;
background:url(bg-breadcrumbs.png) bottom left repeat-x;
margin-bottom:9px;
font-size: 1.1em;
}
.left, .right{
width:205px;
}
.left{
float:left;
margin-left:-100%;
background:#fff url(sidebg-b.png) bottom left no-repeat;}

.right{
float:left;
margin-left:-205px;
background:#fff url(sidebg-b.png) bottom left no-repeat;}

.left .bgtop, .right .bgtop{
background:url(sidebg-t.png) top left no-repeat;
padding:1px 1px 20px 1px;
}
.middlewrap{
float:left;
width:100%;
}

.middle{
background:#fff url(middlebg-l.jpg) top left no-repeat;
}
#middlenarrow{
margin:0 209px;}
#middlewide{
margin:0;
}
#middlewrapleftonly{
float:right;
width:100%;
margin-left:-209px;
}
#middleleftonly{
margin:0 0 0 209px;}
#leftleftonly{
margin:0;
}

#middlewraprightonly{
float:left;
width:100%;
margin-left:-209px;
}
#middlerightonly{
margin:0 0 0 209px;}
#rightrightonly{
float:right;
margin:0;
}

.middle .middlebg{
background:url(middlebg-r.jpg) top right no-repeat;
padding:16px;
min-height: 700px;
height: auto;
}

.middle h1, .middle .componentheading{
background:url(dotted.gif) bottom left repeat-x;
margin-bottom:0.3em;
}
.middle li{
background-position:0px 0px;
padding:1px 0px 5px 18px;
}

#user1{
float:left;
width:49.5%;
overflow:hidden;
}
#user2{
float:right;
width:49.5%;
overflow:hidden;
}
#bottom {
border-top:#cdcdcd 1px solid;
margin-top:16px;
}
#bottom .bottombg{
clear:both;
background:#f4f4f3 url(bottombg.png) bottom left repeat-x;
padding:18px 0px;
position:relative;
width:100%;
border-top:#fff 1px solid;
}
#bottom .moduletable{
padding:0px 16px;
}
#bottom .moduletable h3{
background:none;
margin:0;
font-size:1.2em;
text-transform:uppercase;
}
ul.mostread, ul.latestnews{
padding:0;
margin:0;
}
a.mostread, a.latestnews{
background:url(icon_author_bottom.gif) no-repeat;
background-position:0px 1px;
padding-left:18px;
}
#bottom li.mostread, #bottom li.latestnews{
padding:3px 0;
border-top:#fff 1px solid;
}
#bottom li a{
color:#666666;
}
#bottom li a:hover{
text-decoration:none;
}
#footer {
clear:both;
color:#fff;
background-color:#777;
padding:6px 0px;
margin:16px 0;
position:relative;
width:100%;
text-align:center;
}
#footer a{
font-weight:normal;
color:#ccc;}

#footer a:hover{
color:#fff;
text-decoration:none;
}

.footerleft{
float:left;
padding-left:16px;
}

.footerright{
float:right;
padding-right:16px;
}

#reflection{
position:relative;
height:16px;
margin-left:-28px;
margin-right:-28px;
}

/*global reset*/

* {
margin:0;
padding:0;
}
body {
font-size:76%;
font-family:Arial, Helvetica, sans-serif;
line-height:1.3;
}
h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address {
margin: 0.5em 0; 
}
li,dd { 
margin-left:1em;
}
fieldset { 
padding:.5em; 
border:0;
}

/*general*/
ul{
list-style:none;
}
li p{
margin:0;
}
img{
border:0 none;
}

a{
text-decoration:none;
font-weight:bold;
}
a:hover{
text-decoration:underline;
}
a:active, a:focus{
outline:none;
}
td,p{
text-align:left;
}
h1,.componentheading{
font-size:1.7em;
font-weight:normal;
margin:0;
padding-bottom:0.1em;
}
h2,.contentheading{
font-size:1.1em;
font-weight:bold;
font-family:Helvetica, Arial, sans-serif;
letter-spacing:-0.02em;
}
h3{
font-size:1.2em;
font-weight:bold;
}
h4{
font-size:1.1em;
font-weight:bold;
}
h5{
font-size:1.1em;
font-weight:bold;
}
h6{
font-size:1em;
font-weight:bold;
}
#footer,.small,.createdate,.modifydate,.mosimage_caption{
font:0.9em Arial,Helvetica,sans-serif;
}
.moduletable, .moduletable_menu, .moduletable_text{
margin-bottom:1em;
padding:0 10px; /*padding for inside text*/ 
}
.moduletable h3, .moduletable_menu h3, .moduletable_text h3{
padding:0.5em 0.5em 1em 0.5em;
margin:0 -10px 0.5em -10px; /*negative padding to pull h3 back out from .moduletable padding*/ 

}

.clear{
clear:both;
}

/*search */

.search input{/* the input textarea box */

border:0;
height:18px;
font-size:11px;

}
.search #mod_search_searchword{
padding:2px 0 0 10px;
width:182px;
background:url(searchbg.png) top left no-repeat;
}

/*joomla*/

ul#mainlevel-nav{
margin:0; 
padding:0;
width:auto;
}
ul#mainlevel-nav li{
margin:0; 
padding:0; 
display:inline;
height:40px;
}
a.mainlevel-nav{
color:#d0d0d0; 
text-transform:uppercase;
padding:10px;
float:right;
background:url(topmenu-vline.jpg) no-repeat;
background-position:0px 2px;
}
a.mainlevel-nav:hover{
text-decoration:none;
}
ul.menu a{
font-size:1.1em;
color:#2a2929;
font-weight:bold;
display:block;
background:url(arrow_mainlevel.png) no-repeat;
background-position:3px 9px;
border-bottom:#eee 1px solid;
padding:4px 4px 4px 16px;
margin-right:13px;
}

ul.menu2 a{
font-size:1.1em;
color:#2a2929;
font-weight:bold;
display:block;
border-bottom:#eee 1px solid;
padding:4px 4px 4px 1px;
margin-right:13px;
}

ul.menu2 a:hover{
text-decoration:none;
color: #f38201;
}

ul.menu a:hover{
text-decoration:none;
}
li#current a{
font-weight:bold;
}
li#current li a{
color:#2a2929;
font-weight:bold;
background:url(arrow_sub.png) no-repeat;
background-position:4px 10px;
border:none;
}

ul.submenu1 a{
padding-left: 25px;
text-decoration: underline;
color:#7F7F7F;
}
ul.submenu2 a{
padding-left: 35px;
text-decoration: underline;
color:#7F7F7F;
}
ul.submenu3 a{
padding-left: 45px;
text-decoration: underline;
color:#7F7F7F;
}
ul.submenu4 a{
padding-left: 55px;
text-decoration: underline;
color:#7F7F7F;
}

table.pollstableborder td{
padding:0.2em;
}


.button{
color:#fff;
font-size:1.1em;
font-weight:bold;
margin:0.3em 0;
padding:0.1em 0.5em;
}

.small, .articleauthor, .createdate, .modifydate{
color:#8a8a8a;
}

 .articleauthor, .createdate, .modifydate{
padding-left:18px;
}

.articleauthor{
background:url(icon_author.gif) top left no-repeat;
}

.createdate{
background:url(icon_date.gif) top left no-repeat;
display:block;
padding-bottom:1em;
}

.modifydate{
background:url(icon_updated.gif) top left no-repeat;
padding-bottom:1em;
}

div.banneritem_text{
padding:0.5em 0;
background:url(dotted.gif) bottom left repeat-x;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	background:url(dotted_v.gif) top left repeat-y;
	padding-left: 10px;
}

table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: auto;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

td.buttonheading{
	text-align:right;
}

#addnews,
#addlink,
#addfile,
#addfoto,
#addtext
{
	text-align: center;
}

#addnews input,
#addlink input,
#addfile input,
#addfoto input,
#addtext input {
	border: 1px solid #ff8000;
	background-color: white;
}

.mini {
	font-size: 10px;
}

.intestazione {
	font-size: 12px;
	font-family: "Arial";
	text-align: center;
	color: #ff8000;
	margin-bottom: -2px;
}

.intera {
	
}

.sx, .dx {
	width: 45%;
	float: left;
}

.dx {
	background:transparent url(dotted_v.gif) repeat-y scroll left top;
	padding-left: 6px;
	margin-left: 6px;
}

.galsx {
	width: auto;
	float: left;
}
.galdx {
	width: auto;
	background:transparent url(dotted_v.gif) repeat-y scroll left top;
	float: left;
}


.blog { width: 100%; }

/* calendario */

.quadrati {
	height: 50px;
	width: 60px;
	border: 1px solid #CFCFCF;
	text-align: center;
}

.quadrati:hover {
	background-color: #DDEEFF;
}

.ora {
	background-color: #DDEEFF;
}

.ora:hover {
	background-color: #c4e1ff;
}

.festa {
	background-color: #ffcad5;
}

.calcont {
	height: 300px;
	border: 1px solid #CFCFCF;
	background-color: #fafafa;
}

.arancio { color: #ff8000 }

.eventi {
	height: 100%;
	padding: 5px 5px;
}

.tabss { width: 20%; border: 1px solid #CFCFCF; background-color: #fafafa; padding: 5px; font-size:11px }
.tabs { width: 50%; border: 1px solid #CFCFCF; background-color: #fafafa; padding: 5px; font-size:11px }
.tabsd { width: 80%; border: 1px solid #CFCFCF; background-color: #fafafa; padding: 5px; font-size:11px }

.tabs input,.tabss input,.tabsd input{ border: 1px solid #CFCFCF; width: 99%; }
.tabs select ,.tabss select, .tabsd select { border: 1px solid #CFCFCF; width: 40px }
.btn { border: 1px solid #CFCFCF; background-color: #fafafa; }
.invisibile { text-decoration:line-through; }