/******************************
/ Sruttura globale
/*****************************/
#content-main {
clear: both;
position: relative;
padding-left: 5px;
padding-right: 5px;
}

#content-main-sx {
padding: 5px;
background: #ffffff;
border: 1px solid #c1c675;
}

#content-main-sx .main-sx-1col-block, #content-main-sx .main-sx-2col-block {
margin-bottom: 10px;
}

#content-main-dx {	
margin-left: 80%;
}

.main-sx-2col-block .main-sx-2col-sx, .main-sx-2col-block .main-sx-2col-dx {
width:49.5%;
}

.main-sx-2col-block .main-sx-2col-sx {
float: left;
}

.main-sx-2col-block .main-sx-2col-dx {
float: right;
}

/******************************
/ Sruttura intestazione
/*****************************/
#header-main-sx {
float: left;
vertical-align: middle;
padding-top: 3px;
margin: 0px;
}

#header-main-dx {
float:right;
text-align:right;
vertical-align: middle;
padding-top: 3px;
margin: 0px;
}

#header-main-cen {
text-align: center;
vertical-align: middle;
}

/******************************
/ Testi colonna sinistra
/*****************************/
#content-main-sx h2 {
clear: both;
display: block;
margin: 0 0 6px 0;
padding: 0.2em 0em 0.2em 2em;
background-image: url('../uploads/images/sito/main-h2-bg.gif');
background-repeat: repeat-x;
background-color: #97c92c;
border-top: 1px solid #8fbf28;
color: #344a04;
text-align:left;
font-family: "Times New Roman", Times, serif;
font-size:140%;
font-weight: bold;
letter-spacing: 5px;
}

#content-main-sx h2 img {
vertical-align: top;
}

#content-main-sx .section {
background-color: #f1f1f1;
border-top: 1px solid #dde6dd;
background-image: url('../uploads/images/sito/main-bottom-right.gif');
background-position: bottom right;
background-repeat: no-repeat;
}

#content-main-sx .section .inner {
background-image: url('../uploads/images/sito/main-top-left.gif');
background-position: top left;
background-repeat: no-repeat;
padding: 3px;
}

#content-main-sx .section p {
margin: 0px 0px 5px 0px;
}

/******************************
/ Primo piano
/*****************************/
#primo-piano {
clear: both;
display: block;
border: 1px solid #dde6dd;
padding: 3px;
background-color:#fec;
}

#primo-piano .primo-piano-item {
margin-bottom: 10px;
}

#primo-piano h3 {
text-decoration: none;
margin-left: 0.6em;
margin-bottom: 0.5em;
font-size: 110%;
}

#primo-piano h3 .date {
color:#888;
font-size:82%;
letter-spacing:1px;
}

#primo-piano p {
margin: 3px;
text-align: justify;
}

#primo-piano img.thumbnail {
width: 100px;
float: right;
background-color: #fff;
border: 1px solid #eee;
margin-top: -15px;
margin-left: 5px;
padding: 5px;
}

/******************************
/ Feste
/*****************************/
div#babbo_feste
{
text-align:center;
margin-bottom: 7px;
}

/******************************
/ Notizie
/*****************************/
#news-forum td {
width:50%;
vertical-align:top;
background-color: #f1f1f1;
padding:0;
background-image: url('../uploads/images/sito/main-bottom-right.gif');
background-position: bottom right;
background-repeat: no-repeat;
}

#news {
border-right: 3px solid #fff;
}

#news h2 {
border-bottom: 6px solid #fff;
margin-bottom: 0;
}

#news-list {
background-image: url('../uploads/images/sito/main-top-left.gif');
background-position: top left;
background-repeat: no-repeat;
border-top: 1px solid #dde6dd;
padding: 3px;
}

#news h3 {
font-size:100%;
text-decoration: none;
}

#news h3 .date {
color:#888;
font-size:82%;
letter-spacing:1px;
}

#news p {
margin-top:0;
}

#news-buttons {
margin-bottom: 5px;
}

#news-buttons #archivio-news {
float: left;
margin-left: 5px;
}

#news-buttons #newsletter {
float: right;
margin-right: 5px;
}

/******************************
/ Ultime dal forum
/*****************************/
#forum {
border-right: 3px solid #fff;
}

#forum h2 {
border-bottom: 6px solid #fff;
margin-bottom: 0;
}

#latest-posts {
background-image: url('../uploads/images/sito/main-top-left.gif');
background-position: top left;
background-repeat: no-repeat;
border-top: 1px solid #dde6dd;
padding: 3px;
}

#latest-posts h3 {
font-size:100%;
text-decoration: none;
}

#latest-posts h3 .date {
color:#888;
font-size:82%;
letter-spacing:1px;
}

#latest-posts h4 {
font-size: 82%;
font-weight: normal;
color: #888;
}

#latest-posts p {
margin-top:0;
}

/******************************
/ Eventi
/*****************************/
#events {
border-left:3px solid #fff;
}

#events h2 {
border-bottom: 6px solid #fff;
margin-bottom: 0;
}

#events-list {
margin-bottom: 1em;
border-bottom: 1px solid #c1c675;
}

#events-list h3 {
font-size: 90%;
text-decoration: none;
}

#events-list .calendar-event {
font-size: 90%;
margin-bottom: 1em;
}

#events h3 {
font-size: 100%;
text-decoration: none;
}

#events .calendar-event {
margin-bottom: 1em;
}

table.calendar {
width: 99%;
font-size: 90%;
border: 1px solid #777;
border-collapse: collapse;
text-align: center;
margin: 0px 0px 7px 1px;
}

table.calendar caption.calendar-month {
font-weight:bold;
margin-bottom:3px;
}

table.calendar th {
background-color: #30b070;
border: 1px solid #777;
color: #fff;
padding: 0px;
width: 14.14%;
font-size: 90%;
}

table.calendar td {
border: 1px solid #777;
background-color: #fafafa;
padding: 1px;
}

table.calendar .calendar-today
{
background-color: #777;
color: #fff;
font-weight: bold;
}

table.calendar td a {
display: block;
background-color: #ff0;
}

/******************************
/ Colonna destra
/*****************************/
.main-dx-block {
margin-bottom: 10px;
background: #ffffff;
border: 1px solid #c1c675;
padding: 3px;
}

.main-dx-block h2 {
font-family: verdana, helvetica, arial, sans-serif;
font-size: 110%;
font-style: italic;
margin: 0 0 6px 0;
padding: 2px;
background-color: rgb(220,220,220);
font-weight: bold;
color: #323232;
text-align: center;
}

.main-dx-block h2 img {
vertical-align: top;
}

.main-dx-content, .main-dx-content p {
margin: 0;
padding: 0;
}

#visitor {
background-color: #d7eed7;
}

#visitor h2 {
background-image: url('../uploads/images/sito/main-dx-h2-visitor.gif');
background-repeat: repeat-x;
background-color: #769976;
}

#ricerca {
background-color: #fcf7ca;
}

#ricerca h2 {
background-image: url('../uploads/images/sito/main-dx-h2-ricerca.gif');
background-repeat: repeat-x;
background-color: #ccbb26;
}

#ricerca input {
width: 90%;
}

#ricerca input#submit {
width: auto;
}

#facebook 
{
border: 1px solid #ccc;
background-color: #f7f7f7;
}

#facebook h2
{
background-image: url('../uploads/images/sito/main-dx-h2-facebook.gif');
background-repeat: repeat-x;
background-color: #5872a7;
color: #fff;
}
#facebook p.link
{
margin-bottom: 7px;
}

#facebook p.link img
{
float: left;
margin-right: 3px;
}

#facebook p.link a 
{
color:#3B5998;
outline-style:none;
text-decoration:none;
}

#facebook p.link span.name {
font-size:14px;
font-weight:bold;
line-height:15px;
display: block;
}

#tagcloud {
background-color: rgb(226,238,252);
}

#tagcloud h2 {
background-image: url('../uploads/images/sito/main-dx-h2-tagcloud.gif');
background-repeat: repeat-x;
background-color: #9aaecc;
}

#foto{
background-color: #fc7;
}

#foto h2 {
background-image: url('../uploads/images/sito/main-dx-h2-foto.gif');
background-repeat: repeat-x;
background-color: #995f00;
color: #fff;
}

#foto .picturelist {
margin: 0px;
}

#video {
background-color: #E9E7D8;
}

#video .video-list {
margin: 0px;
}

#video h2 {
background-image: url('../uploads/images/sito/main-dx-h2-video.gif');
background-repeat: repeat-x;
background-color: #F1989A;
}

#calendar {
background-color: rgb(237,246,229);
}

#calendar h2 {
background-image: url('../uploads/images/sito/main-dx-h2-calendar.gif');
background-repeat: repeat-x;
background-color: #79995c;
}

#ispgen {
background-color: rgb(222,220,242);
}

#ispgen h2 {
background-image: url('../uploads/images/sito/main-dx-h2-ispgen.gif');
background-repeat: repeat-x;
background-color: #767399;
}

#guest {
background-color: rgb(248,216,211);
}

#guest h2 {
background-image: url('../uploads/images/sito/main-dx-h2-guest.gif');
background-repeat: repeat-x;
background-color: #cc87b5;
}

#admin {
background-color: #ffcc7b;
}

#admin h2 {
background-image: url('../uploads/images/sito/main-dx-h2-admin.gif');
background-repeat: repeat-x;
background-color: #cc8008;
}

#associazione {
background-color: #efefef;
}

#associazione h2 {
background-image: url('../uploads/images/sito/main-dx-h2-associazione.gif');
background-repeat: repeat-x;
background-color: #5f8199;
}
