html,body {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: small;
    color: #3e521f;
    background: #fff;
    min-width: 600px;
    max-width: 1200px;
}

p {
    margin: 0 10px 10px 10px;
}

/* layout */

#wrapper {
    background: #f3f6ff;
    clear: left;
    padding: 10px;
    line-height: 1.5em;
    border: 1px solid #f3f6ff;
}
#content {
    margin-left: 210px;
    margin-top: 10px;
    margin-right: 10px;
    padding: 0;
    text-align: justify;
    height: 100%;
}
#bigcontent {
    margin-left: 10px;
    margin-right: 10px;
    height: 100%;
}
#sidebar {
    float: left;
    width: 180px;
    margin-left: 10px !important;
    margin-left: 5px;
}
#news {
    float: left;
    width: 180px;
    margin: 0;
    margin-left: 10px !important;
    margin-left: 5px;
    padding: 0;
}
#footer {
    clear: both;
    font-size: 85%;
    color: #4b630b;
    background: #cdd1b0;
}

#content p {
    line-height: 1.5em;
}

#footer p {
    margin: 0;
}

#footer p.lh {
    background: #cdd1b0;
    float: left;
    padding: 5px 5px 5px 10px;
}

#footer p.rh {
    background: #cdd1b0;
    float: right;
    padding: 5px 10px 5px 0;
}

#header {
    height: 120px;
    margin: 0;
    background: transparent url(images/sc_header.jpg) no-repeat top left;
}
#header h1 {
    width: 100px;
    height: 100px;
    margin: 0;
}
#header h1 span, h2 span {
    display: none;
}

#manifestazione, #acpanf, #concorso, #sidebar, #news, #frame, #photoframe, #guida, #link {
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
    height: 100%;
    margin-top: 10px;
    margin-right: 0;
    background: #f5f8f9;
}
#manifestazione {
    margin: 0;
    background: transparent url(images/sfondo.jpg) no-repeat top left;
}

#manifestazione, #concorso, #acpanf, #link {
    min-height: 200px;
    float: left;
}

#link {
    width: 100%;
    min-height: 175px;
}

#manifestazione p.citazione {
    font-family: Times, serif;
    font-style: italic;
    padding-bottom: 15px;
}
#manifestazione p.citazione span {
    font-style: normal;
    font-variant: small-caps;
    padding-left: 5px;
}

#frame, #photoframe {
    margin: 0;
    padding-bottom: 10px;
}

h3 {
    border-bottom: 1px solid #888;
    color: #4b630b;
    background: #cdd1b0;
    font-size: 110%;
    text-transform: uppercase;
    margin: 0;
    padding: 5px;
}

#manifestazione h3, #acpanf h3, #concorso h3, #news h3, #guida h3, #link h3 {
    margin-bottom: 10px;
}

#manifestazione h3 {
    background: #cdd1b0 url(images/bg1.gif) no-repeat 99% 50%;
}
#acpanf h3 {
    background: #cdd1b0 url(images/bg2.gif) no-repeat 99% 50%;
}
#concorso h3 {
    background: #cdd1b0 url(images/bg3.gif) no-repeat 99% 50%;
}

#navsite {
    clear: both;
    background: #f3f6ff;
    margin: 0;
    padding: 0;
}

#navsite ul {
    float: left;
    margin: 10px 0 0 0;
    padding: 0; 
    list-style: none;
    background: #f3f6ff;
}
#navsite li {
    float: left;
    margin: 0;
    padding: 4px 8px;
    display: inline; 
    border-right: 1px solid #4b630b;
    font-size: 100%;
    font-weight: bold;
    color: #698a34;
}

a, a:link, a:visited {
    color: #3e521f;
    text-decoration: none;
}
a:hover, a:active {
    color: #3e521f;
    text-decoration: underline;
}

.clear {
    clear: both;
}

/* programma */

.programma {
    margin: 20px 20px 10px 20px;
}

.programma img.tn {
    float: left;
    position: relative;
    display: block;
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
    height: 200px;
    width: 200px;
}

.programma ul {
    margin: 0 0 0 220px;
    padding: 0 0 0 0.5em;
}

.programma li {
    list-style: none;
    font-size: small;
}

.programma li.titolo {
    text-align: left;
    font-weight: bold;
    padding: 0 5px;
    background: #456;
    color: #fff;
}
.programma li.data {
    font-weight: bold;
    text-align: left;
    padding-top: 0.5em;
}
.programma li.descrizione {
    text-align: justify;
    padding-top: 0.5em;
    line-height: 1.4em;
}
.programma li.ritrovo {
    text-align: justify;
    padding-top: 0.5em;
    line-height: 1.4em;
}

/* foto del mese */

.fotomese {
    margin: 20px 20px 10px 20px;
}

.fotomese img.tn {
    float: left;
    position: relative;
    display: block;
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
    width: 200px;
}

.fotomese ul {
    margin: 0 0 0 220px;
    padding: 0;
}

.fotomese li {
    list-style: none;
    font-size: small;
}

.fotomese li.data {
    text-align: left;
    font-weight: bold;
    padding: 0 5px;
    background: #456;
    color: #fff;
    margin-bottom: 10px;
}
.fotomese li.descrizione {
    text-align: justify;
}
.fotomese li.dimensioni {
    text-align: left;
}
.fotomese li.autore {
    font-weight: bold;
    text-align: left;
}

/* sidebar */

#sidebar ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#sidebar ul li {
    border-bottom: 1px solid #999;
}

#sidebar li a:link, #sidebar li a:visited  {
    display: block;
    padding: 4px 5px 4px 0.5em;
    border-left: 10px solid #6e7e3f;
    background-color: #a0ae59;
    color: #FFF;
    text-decoration: none;
}

#sidebar li a:hover {
    background-color: #889a60;
    color: #fff;
}

.doc {
    margin: 15px;
}

.doc img.tn {
    float: left;
    position: relative;
    display: block;
    border: 1px solid #4b630b;
    height: 60px;
    width: 61px;
}

.doc ul {
    margin: 0 0 0 80px;
    padding: 0;
}

.doc ul li {
    list-style: none;
    font-size: small;
}

/* main gallery */

.foto {
    position: relative;
    float: left;
    display: block;
    width: 200px;
    margin: 10px 0 0 10px;
    background: white;
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
}
.foto img {
    width: 200px;
    border: 0;
    border-bottom: 1px solid #AAA;
}
.foto dl {
    margin: 5px 0 0 0;
    font-size: 85%;
}
.foto dt {
    text-align: center;
    color: #3e521f;
}
.foto dd.data {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #3e521f;
}

/* album */

.pic3 {
    position: relative;
    float: left;
    display: block;
    height: 107px;
    width: 142px;
    padding: 6px;
    margin: 10px 0 0 10px;
    background: white;
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
}
.pic3 img {
    height: 105px;
    width: 140px;
    margin: 0;
    border: 1px solid;
    border-color: #AAA;
}
.pic3 ul {
    display: none;
}

.pic4 {
    position: relative;
    float: left;
    display: block;
    height: 95px;
    width: 142px;
    padding: 6px;
    margin: 10px 0 0 10px;
    background: white;
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
}
.pic4 img {
    height: 93px;
    width: 140px;
    margin: 0;
    border: 1px solid;
    border-color: #AAA;
}
.pic4 ul {
    display: none;
}

.separator {
    margin: 15px;
    border-bottom: 1px solid #4b630b;
}

#photoframe #customh3 {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
}

#photoframe #customh3 ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
#photoframe #customh3 ul li {
    font-size: 100%;
    font-weight: bold;
}
#t1 {
    float: left;
    padding: 5px;
}
#t2 {
    float: right;
    padding: 5px;
    text-transform: lowercase;
}
#t2 a {
    text-decoration: underline;
}

#customh3 {
    border-bottom: 1px solid #888;
    color: #4b630b;
    background: #cdd1b0;
    font-size: 110%;
    text-transform: uppercase;
    margin: 0;
    padding: 5px;
}

/* news */

#news ul {
    margin: 10px;
    padding: 0;
}
#news li {
    list-style: none;
}
#news li.data {
    font-size: 85%;
    border-bottom: 1px solid #cdd1b0;
}
#news li.headline {
    padding-top: 2px;
    font-size: 90%;
    line-height: 1.5em;
}

#logo {
    float: left; 
    margin: 5px 18px 8px 15px;
    display: inline;
}
#logo img {
    border: 0;
}

#link_logo {
    margin: 5px 18px 8px 0px;
    display: inline;
}
#link_logo img {
    margin: 5px 10px 10px 15px;
    border: 0;
}

#fotodelmese {
    float: left; 
    margin: 5px 18px 8px 15px;
    display: inline;
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
    width: 200px;
}

/* search */

#searcharea {
    float: right;
    margin: 0;
    padding: 0;
}
#searcharea form {
    margin: 10px 10px 0 0;
    padding: 0;
}
#searcharea label {
    display: none;
}
#searcharea input.textbox {
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
    color: #3e521f;
    background: #f5f8f9;
    font-size: 100%;
    padding: 1px;
    width: 80px;
}
#searcharea input.button {
    border: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 100%;
    font-style: normal;
    font-weight: bold;
    color: #fff;
    background: #a0ae59;
}

#searcharea input.button:hover {
    background: #889a60;
}

#searchframe {
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
    margin: 10px 0 0 0;
    padding: 0;
    background: #f5f8f9;
}

#searchframe h3 {
    text-transform: none;
}

p.search_link {
    margin: 10px 10px 5px 10px;
}
p.search_text {
    margin: 5px 10px 10px 25px;
    font-style: italic;
}
p.search_message {
    margin: 10px;
}

.lafoto {
    margin: 20px;
}
.lafoto img.tn {
    float: left;
    border: 1px solid;
    border-color: #AAA #444 #444 #AAA;
    width: 200px;
}
.lafoto ul {
    margin: 0 0 0 220px;
    padding: 0;
}
.lafoto li {
    list-style: none;
    font-size: small;
}
.lafoto li.descrizione {
    text-align: justify;
}
.lafoto li.dimensioni {
    text-align: left;
}
.lafoto li.autore {
    font-weight: bold;
    text-align: left;
    padding-bottom: 15px;
}
.lafoto p {
    margin: 10px 0px 0px 0px;
}

#guida h4 {
    font-size: 110%;
    margin: 20px 10px 10px 10px;
}

#guida p {
    text-align: justify;
}

#guida ul {
    margin: 10px 10px 10px 10px;
    padding: 0;
}

#guida li {
    text-align: left;
    list-style: none;
}

#guida li.escursione {
    font-size: 100%;
}
#guida li.sottotitolo {
    font-size: 85%;
}

#indice {
    padding-top: 35px;
}

#indice h4 {
    font-size: 140%;
    margin: 15px 10px 15px 10px;
}

#indice p {
    margin: 5px 10px 5px 25px;
}

/* hide from IE-mac \*/
* html #photoframe {height: 1%;}
/* end hide */
