/*----- Start "Main definitions" -----*/
* { padding: 0; margin: 0; outline: 0; }

body {
    font-size: 12px;
    line-height: 1.5;
    font-family: Arial, "Trebuchet MS", Tahoma sans-serif;
    color: #ffffff;
    background: #779033;
    text-align: left;
	background-attachment:scroll;
	background-image: url(../images/bg_head.png);
	background-position: top center;
	background-repeat:no-repeat;
	height: 100%;
}

a img { border: 0; }
a { color: #666666; text-decoration: none; font-weight:bold; }
a:hover { text-decoration: underline; font-weight:bold; }


.link a:link {color:#9dac76; text-decoration:none; font-weight:normal;}
.link a:visited {color:#8d9b6a; text-decoration:none; font-weight:normal;}
.link a:hover {color:#000;  text-decoration: underline; font-weight:normal;}

.cl, .clear { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; padding-bottom: 40px; }
/*----- End "Main definitions" -----*/

#page { width: 952px; margin: 0 auto; padding: 0 10px;}

h1, h2, h3, h4, h5, h6 {
	font-family: "Trebuchet MS", Tahoma, Arial, Sans-Serif;
	color: #f0bf56;
	font-weight: normal;
}
h1 { font-size: 23px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }

ul { padding-left: 15px; }

#header { height:100%; padding: 0 12px 0 3px; clear:both; }
#header .description { font-family: "Trebuchet MS", Tahoma, Arial, Sans-Serif; font-size: 12px; color: #fff; text-transform: uppercase; line-height: 0; font-weight: bold; }
#header h1 { line-height: 1.5; }
#header h1 a { color: #2b2b2b; text-decoration: none; }

.logo{ padding: 50px 0 0 200px; }

#navigation { float: right; display: inline; font-size: 12px; line-height: 1.5; text-transform: uppercase; padding: 85px 0 0 15px; }
#navigation ul li { float: left; display: inline; list-style-type: none; padding-right: 18px; margin-right: 14px; background: url(../images/nav-sep.png) repeat-y right 0; }
#navigation ul li.last { margin-right: 0; padding-right: 0; background: none; }
#navigation ul li a { color: #53651D; text-decoration: none; }
#navigation ul li a:hover { color: #fff; text-decoration: none; }
#navigation ul li.active a { color: #000; }

.ad-gallery {
  height: 454px; width: 962px;
  background: url(../images/slider.png) no-repeat 0 0;
}
.ad-gallery, .ad-gallery * {
  margin: 0;
  padding: 0;
}
  .ad-gallery .ad-image-wrapper {
	width: 900px;
	height: 300px;
	margin-bottom: 35px;
	position: relative;
	overflow: hidden;
	border: solid 1px #d5d5d5;
	top:30px;
	left:30px;
  }
    .ad-gallery .ad-image-wrapper .ad-loader {
      position: absolute;
      z-index: 10;
      top: 50%;
      left: 50%;
    }
    .ad-gallery .ad-image-wrapper .ad-next {
      position: absolute;
      right: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev {
      position: absolute;
      left: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
      /* Or else IE will hide it */
      background: url(../images/non-existing.jpg)
    }
      .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(../images/ad_prev.png);
        width: 30px;
        height: 30px;
        display: none;
        position: absolute;
        top: 47%;
        left: 0;
        z-index: 101;
      }
      .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(../images/ad_next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }
	  /*immagine centrale */
    .ad-gallery .ad-image-wrapper .ad-image {
      position: absolute;
      overflow: hidden;
      top: 0;
      left: 0;
      z-index: 9;
    }
      .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        position: absolute;
        bottom: 0px;
        left: 0px;
        padding: 1px;
        text-align: left;
        width: 100%;
        z-index: 2;
        background: url(../images/opa75.png);
        color: #000; font-size:10px;
      }
	  /*descrizione immagine */
      * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        background: none; 
      }
        .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
          display: block;
        }
		/*controllo miniature*/
  .ad-gallery .ad-controls {
    height: 20px;
	width:900px;
	color:#000000;
	padding:0 0 0 30px;
  }
    .ad-gallery .ad-info {
      float: left;
    }
    .ad-gallery .ad-slideshow-controls {
      float: right;
    }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
        padding-left: 5px;
        cursor: pointer;
      }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
        padding-left: 5px;
        font-size: 0.9em;
      }
    .ad-gallery .ad-slideshow-running .ad-slideshow-start {
      cursor: default;
      font-style: italic;
    }
	/*miniature */
  .ad-gallery .ad-nav {
    width: 805px;
    position: relative;
	padding: 0 0 0 80px;
  }
    .ad-gallery .ad-forward, .ad-gallery .ad-back {
      position: absolute;
      top: 0;
      height: 100%;
      z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
    * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
      height: 100px;
    }
	/*pulsante indietro miniature */
    .ad-gallery .ad-back {
      cursor: pointer;
      left: 30px;
      width: 38px;
      display: block;
      background: url(../images/button-prev.png) 0px 22px no-repeat;
    }
	/*pulsante avanti miniature */
    .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
      right: -45px;
	  height: 150px;
      width: 38px;
      background: url(../images/button-next.png) 0px 22px no-repeat;
    }
    .ad-gallery .ad-nav .ad-thumbs {
      overflow: hidden;
      width: 100%;
    }
      .ad-gallery .ad-thumbs .ad-thumb-list {
        width: 9000px;
        list-style: none;
      }
        .ad-gallery .ad-thumbs li {
          float: left;
          padding-right: 5px;
        }
          .ad-gallery .ad-thumbs li a {
            display: block;
          }
            .ad-gallery .ad-thumbs li a img {
              border: 3px solid #CCC;
              display: block;
            }
            .ad-gallery .ad-thumbs li a.ad-active img {
              border: 3px solid #616161;
            }
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}

pre {
    font-family: "Lucida Console", "Courier New", Verdana;
    border: 1px solid #CCC;
    background: #f2f2f2;
    padding: 10px;
  }
  code {
    font-family: "Lucida Console", "Courier New", Verdana;
    margin: 0;
    padding: 0;
  }


#content { height:100%; clear:both; padding: 0 5px 10px 5px; }
#content p { padding-bottom: 18px; }
#content .separator { padding-right: 18px; background: url(../images/col-sep.png) no-repeat right 10px; }
#content .left-col { float: left; display: inline; width: 395px; }
#content .right-col { float: right; display: inline; width: 505px; }

.linklist { padding-left: 0; }
.linklist li { padding-left: 7px; background: url(../images/linklist-ico.png) no-repeat 0 7px; list-style-type: none; }

#profile { height: 300px; width: 962px; background: url(../images/bg_profile.png) no-repeat 0 0; overflow:hidden; font-family: "Trebuchet MS", Tahoma, Arial, Sans-Serif; font-size: 12px; color: #cccccc;  }
#profile .col1 { float: left; width: 725px; height: 270px; padding: 20px 0 0 20px; }
#profile .col2 { float: left; width: 190px; height: 290px; padding-top: 38px;}

.anagrafica {color: #666666;  }

/* blockquote */
blockquote {
	width: 380px;
	margin: 30px 0 0 0;
	text-align: left;
	font-family: "Trebuchet MS", Tahoma, Arial, Sans-Serif;
	font-size: 18px;
	font-style: italic;
	text-indent: 40px;
	background: url(../images/quote-before.png);
	background-position: 0 5px;
	background-repeat: no-repeat;
	float:right;
	padding-top: 10px;
}

blockquote p {
	line-height: 1.5;
	margin: 0;

	background: url(../images/quote-after.png);
	background-position: bottom right;
	background-repeat: no-repeat;
}

#modulo { height: 300px; width: 962px; background: url(../images/bg_contact.png) no-repeat 0 0; overflow:hidden; font-family: "Trebuchet MS", Tahoma, Arial, Sans-Serif; font-size: 12px; color: #000;  }
#modulo .col1 { float: left; width: 725px; height: 270px; padding: 20px 0 0 20px; }
#modulo .col2 { float: left; width: 190px; height: 290px; padding-top: 18px;}

p img {
margin: 0 10px 0 0;
float:left;
vertical-align:middle;
}
#footer { background: url(../images/footer-line.png) no-repeat center 0; padding: 20px 0 0 190px;  float: left; display: inline; font-size: 10px; line-height: 1; text-transform: uppercase; width: 80%; color: #53651D;}
#footer ul li { float: left; display: inline; list-style-type: none; padding-right: 18px; margin-right: 14px; background: url(../images/nav-sep.png) repeat-y right 0; }
#footer ul li.last { margin-right: 0; padding-right: 0; background: none; }
#footer ul li a { color: #53651D; text-decoration: none; }
#footer ul li a:hover { color: #fff; text-decoration: none; }
#footer ul li.active a { color: #000; }
