html, body, h1, h2, h3, h4, h5, h6, div, p, ul, li, form, img, a {
    margin: 0;
    padding: 0;
}

body {
    background-color: #578c9e;
    color: #5f5f5f;
    font: 12px / 16px Helvetica, Arial, sans-serif;
}

img {
    border: none;
}

a {
    color: #648fa7;
    text-decoration: none;
}

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

a.selected {
    color: #666;
    text-decoration: none;
}

#body {
    background-color: #fff;
}

#wrapper {
    margin: 0 auto;
    width: 1000px;
}

#content {
    padding-bottom: 30px;
    overflow: hidden;
}

/** HEADER */
#header {
    overflow: hidden;
    margin-bottom: 50px;
}

#header a {
    display: block;
    outline: none;
    overflow: hidden;
    text-indent: -9999px;
}

#header h1 a {
    background: url(/www.ipasvipd.it/css/ui/logo.jpg) no-repeat center;
    float: left;
    height: 81px;
    width: 462px;
}

/** MAIN-MENU */
.sf-menu, .sf-menu * {
    list-style: none;
    xposition: relative;
    z-index: 99;
}

.sf-menu {
    line-height: 1.0;
}

.sf-menu ul {
    position: absolute;
    top: -999em;
    width: 160px; /* left offset of submenus need to match (see below) */
}

.sf-menu ul li, .sf-menu ul li a {
    width: 160px;
    height: auto;
}

.sf-menu ul li a {
    color: #fff;
    line-height: 20px;
}

.sf-menu li:hover {
    visibility: inherit; /* fixes IE7 'sticky bug' */
}

.sf-menu li {
    float: left;
    position: relative;
}

.sf-menu li.li-level-1 {
    margin-right: 5px;
    padding-bottom: 5px;
}

.sf-menu a.level-1 {
    display: block;
    color: #727070;
    font-size: 12px;
    line-height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
}

.sf-menu li:hover ul, .sf-menu li.sfHover ul {
    background: url(/www.ipasvipd.it/css/ui/submenu-bg.png);
    left: 0;
    top: 25px; /* match top ul list item height */
    z-index: 99;
    padding: 20px 10px;
}

ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul {
    top: -999em;
}

ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
    left: 160px; /* match ul width */
    top: 0;
}

ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul {
    top: -999em;
}

ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {
    left: 160px; /* match ul width */
    top: 0;
}

.sf-menu li.li-level-1:hover, .sf-menu li.li-level-1.li-selected, .sf-menu li.li-level-1.in-path, .sfHover li.li-level-1 {
    background: url(/www.ipasvipd.it/css/ui/main-menu-selected-left.jpg) no-repeat left top;
    color: #fff;
}

.sf-menu li.li-level-1:hover a.level-1, .sf-menu a.level-1:hover, .sf-menu a.level-1.selected, .sf-menu a.level-1.in-path, .sfHover a.level-1 {
    background: url(/www.ipasvipd.it/css/ui/main-menu-selected-right.jpg) no-repeat right top;
    color: #fff;
    height: 20px;
}

.sf-menu a:hover {
    color: #a1a1a1;
}

.sfHover a {
    color: #fff;
}

/** BANNER */
#banner {
    height: 298px;
    width: 1000px;
	overflow: hidden;
}

#banner img {
    width: 1000px;
}

/** BREADCRUMBS */
#breadcrumbs {
    background-color: #2a6686;
    color: #fff;
    line-height: 20px;
    height: 20px;
    margin-bottom: 20px;
    padding-left: 215px;
}

#breadcrumbs a {
    color: #fff;
}

/** HOME */
#home-news, #home-events {
    float: left;
    margin-top: 10px;
}

#home-news {
    margin-right: 40px;
    width: 365px;
}

#home-events {
    width: 365px;
}

.news, .event {
    margin-bottom: 10px;
    overflow: hidden;
}

/**
.news .data {
    color: #f16e3b;
    float: left;
    font-size: 9px;
    font-weight: bold;
    line-height: 16px;
    margin-right: 5px;
}
*/

.news h4 a, .event h4 a {
    color: #4c4c4c;
    font-size: 12px;
    line-height: 16px;
}

#home-news .image, #home-events .image, #section-events .image {
    float: left;
    margin-right: 10px;
    width: 135px;
	overflow: hidden;
}

#home-news .content, #home-events .content {
    float: right;
    width: 215px;
}

#section-events .content {
    float: right;
    width: 625px;
	margin-bottom: 20px;
}

/** CONTENT */
#content-wrapper {
    padding-bottom: 30px;
    overflow: hidden;
}

#content {
    float: right;
    width: 785px;
}

/** TITLE / SUBTITLE */
.xt-title, .xt-subtitle {
    font-weight: normal;
    margin-bottom: 20px;
}

.xt-title {
    color: #2a6686;
    font-family: 'Futura Std', Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.xt-title.with-subtitle {
    margin-bottom: 0;
}

.xt-subtitle {
    color: #666666;
    font-size: 12px;
}

.xt-content-wrapper ul li {
    margin-left: 2em;
}

#news .xt-title {
    margin-bottom: 2px;
}

/** SIDE */
#side {
    float: left;
    width: 215px;
}

#side ul {
    list-style: none;
}

#side ul.menu li {
    border-bottom: 1px dotted #ccc;
    font-size: 12px;
    margin-left: 15px;
    padding: 3px 0;
    width: 145px;
}

#side ul.menu li.first-item {
    padding-top: 0;
}

#side ul.menu li a {
    color: #666;
    text-decoration: none;
}

#side ul.menu li a:hover, #side ul.menu li a.selected {
    color: #7fa7b9;
    text-decoration: none;
}

/** POLL */
#poll {
    background: url(/www.ipasvipd.it/css/ui/sondaggio-bg.jpg) no-repeat left top #f0f0f0;
    float: left;
    font-size: 11px;
    width: 175px;
}

#poll .content {
    padding: 7px 14px;
}

#poll-footer {
    background: url(/www.ipasvipd.it/css/ui/sondaggio-footer-bg.jpg) no-repeat;
    float: left;
    height: 5px;
    width: 175px;
}

#poll .xt-title {
    color: #fff;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 2px;
}

#poll input {
    margin-top: 10px;
}

.SECTION #poll {
    margin-top: 100px;
}

/** FOOTER */
#footer-wrap {
    background: url(/www.ipasvipd.it/css/ui/footer-bg.jpg) repeat-x #578c9e;
    clear: both;
}

#footer {
    color: #fff;
    margin: 0 auto;
    padding-top: 30px;
    width: 1000px;
}

#footer .xt-container-content-wrapper {
    border-top: 1px solid #fff;
    font-size: 10px;
    margin-top: 50px;
    padding-top: 5px;
    padding-bottom: 25px;
    text-align: center;
}

#strilli {
    overflow: hidden;
    padding-left: 55px;
}

.strillo {
    float: left;
    margin-right: 50px;
    width: 210px;
}

.strillo .title {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.strillo a {
    color: #fff;
}

.strillo a:hover {
    color: #a1a1a1;
}

/** SEARCH */
#search-form {
    background-color: #eee;
    float: right;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}

#search-form #search-field {
    background-color: #eee;
    border: 0px solid #fff;
    margin: 0;
    padding: 5px 0;
    padding-left: 2px;
}

#search-form #search-submit {
    background-color: #eee;
    border: 0px solid #fff;
    cursor: pointer;
    margin: 0;
    padding: 5px 0;
}

#bannerini {
    float: left;
    width: 160px;
}

/** FILES */
#files {
    clear: left;
    list-style: none;
    margin: 10px 0;
    overflow: hidden;
}

#files li {
    margin: 0;
    padding: 5px;
    overflow: hidden;
}

#files li a {
    background: url(/www.ipasvipd.it/css/ui/pdf-icon.jpg) no-repeat left center;
    list-style: none;
    line-height: 35px;
    padding-left: 35px;
    display: block;
    float: left;
}

#newsletter-form {
	margin-top: 30px;
	width: 600px;
}

#newsletter-form tr {
    height: 23px;
    line-height: 23px;
}

#newsletter-form .label {
    padding-top: 3px;
    width: 100px;
}

#newsletter-form .field input {
    background-color: #eee;
    border: 1px solid #a1a1a1;
    border-top-color: #7f7f7f;
    color: #000;
    margin-bottom: 10px;
    padding: 4px;
    width: 400px;
}

#newsletter-form label.error {
    display: none !important;
}

#newsletter-form input.error {
    background-color: #c99;
}

.first-image {
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}
