/*
**    Copyright 2008 Avioso Limited

**    This file is part of .AD Novus.

**    .AD Novus is free software: you can redistribute it and/or modify
**    it under the terms of the GNU General Public License as published by
**    the Free Software Foundation, either version 3 of the License, or
**    (at your option) any later version.

**    .AD Novus is distributed in the hope that it will be useful,
**    but WITHOUT ANY WARRANTY; without even the implied warranty of
**    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
**    GNU General Public License for more details.

**    You should have received a copy of the GNU General Public License
**    along with .AD Novus.  If not, see <http://www.gnu.org/licenses/>.
*/

/*
** HTML elements
*/
body {
	font: 12px Geneva, "Lucida Grande", Verdana, Arial, sans-serif;
	color: #333;
	background:#A9C1CD;
	margin:0 0 15px;
}
tr.odd td, tr.even td {
	padding: 0.3em;
}
h1, h2, h3, h4 {
	font-family: Geneva, "Lucida Grande", Verdana, Arial, sans-serif;
	margin: 0;
	padding: 0;
	color: #323232;
}
h1 {
	font-size: 18px;
	font-weight: lighter;
}
h1.title {
	font-size: 18px;
	font-weight: lighter;
	text-transform: uppercase;
	padding-bottom: 4px;
	border-bottom: #d2dce8 1px solid;
}


h2 {
	font-size: 16px;
	font-weight: lighter;
}
h3 {
	font-size: 14px;
	font-weight: lighter;
}
h4 {
	font-size: 12px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 12px;
}
#main p {
	/*padding: 10px 0;*/
}
#main ul li {
	list-style: disc;
}
a {
	text-decoration: none;
	color: #38404f;
}
a:hover {
	text-decoration: underline;
}
.content a {
	color: #5064ba;
}
hr {
	background: #5a657a;
	color: #CCCCCC;
	clear: both;
	float: none;
	width: 100%;
	height: 0.1em;
	margin: 0 0 1.4em 0;
	border: none;
}
* html hr {
	margin: 0 0 1.2em 0;
} /* IE6 fix */
input {
	border: 1px solid #cccccc;
}
ul {
	list-style-type: none;
}
li a.active {
	color: #000;
}
ol {
	margin-left: 35px;
}
/*
** Page layout blocks / IDs
*/

#logotop{
  float: left;
}

#external {
  float: right;
  margin-right: 20px;
}

#wrapper {
	width:960px;
	margin:8px auto;
	padding: 0 0 18px 0;
	background: #fff url('images/border-bottom.png') no-repeat left bottom;
	position: relative;
}
#border-top {
	background: url('images/border-top.png') no-repeat left top;
	height: 18px;
}
#topContent{padding: 0 30px;}
#main {
	margin: 0 275px 0 275px;
	float:left;
	padding: 40px 8px 8px 8px;
}
#sidebar-left, #sidebar-right {
	vertical-align: top;
	z-index:2;
}
#sidebar-left .block h2 {
	margin: 5px 0 10px;
	font-size: 14px;
	padding: 5px 0 0px 8px;
	color: #02576b;
	text-transform: uppercase;
	display: none;
}
#sidebar-right .block h2 {
	background:#c9c8ae;
	margin: 5px 0 10px;
	font-size: 10px;
	padding: 5px 0 5px 10px;
	color: #fff;
	text-transform: uppercase;
	border-left: 10px solid #7f7e63;
}
#sidebar-left {
	width: 265px;
	float:left;
	margin-right:-265px;
	position:relative;
}
#sidebar-right {
	width: 265px;
	float:right;
	margin-left:-265px;
	position:relative;
	z-index:2;
}
#header-region {
	margin-bottom:10px;
}
#header {
	margin-bottom:0px;
	width:960px;
	margin:0;
}
.search-box {
	float:right;
	margin:10px 20px 0 0;
	color: #fff;
}
.search-box .form-text {
	background: url('images/search.png');
	font-size: 1em;
	color: #000;
	padding: 2px;
}
.form-text {
	display:block;
}
#primary {
	font: 11px Helvetica, sans-serif;
	background: transparent url('images/bg-primary.png') no-repeat 0 0;
	display:block;
	height:36px;
	width:900px;
	margin: 5px 22px 20px 29px;
	padding-left: 4px;
	cursor: pointer;
}
#primary a {
	white-space: nowrap;
	color: #333;
	width: 128px;
	display: block;
	float: left;
	height: 36px;
	line-height: 36px;
	text-transform: uppercase;
	background: url('images/menu-divider.png') no-repeat 100% 0;
	text-decoration:none;
	cursor: pointer;
}
#primary a span {
	width: 125px;
	margin: 0;
	padding: 0;
	display: block;
	height: 36px;
	float:left;
	background: url('images/bg-button.png') no-repeat left top transparent;
	text-align: center;
}
#primary a:hover span, #primary a:active span{
	background: url('images/bg-button-over.png') no-repeat left top transparent;
	text-decoration:none;
}
#primary a.active {
	color: #000000;
}
#primary .active span {
 background: url('images/bg-button-over.png') no-repeat left top transparent;}
#primary ul {
	margin: auto;
	width: 950px;
}
#primary ul.links li {
	padding:0;
}
#mission {
	border:1px solid #cee0e4;
	padding:5px;
}
.messages {
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 0.3em;
	margin-bottom: 1em;
}
.error {
	border-color: red;
}
#footer {
	text-align: center;
	font-size: 0.9em;
	width:950px;
	margin:auto;
}
h1.title {
	color: #333;
}
.block, .box {
	padding: 0 0 1.5em 0;
}
#sidebar-left .block {
}
.block {
	display:block;
	/*  border: 8px solid #e1e1e1;
*/  background:#FFF;
	padding:8px;
}
.taxonomy, .submitted, .links-node {
	font-size: 11px;
}
.taxonomy li, .links-node li {
	border-right: 1px solid #CCC;
}
.taxonomy li.last {
	border:0;
}
ul.links li {
	padding:0 0.5em 0 0;
}
.taxonomy ul.links li {
	padding:0 0 0 0.5em;
}
.node .picture {
	border: 1px solid #ddd;
	float: right;
	margin: 0.5em;
}
.comment {
}
.comment .title a {
}
.comment .picture {
	border: 1px solid #abc;
	float: right;
	margin: 0.5em;
}
/*
** Module specific styles
*/
.feed-icon img {
	margin-top:15px;
}
#aggregator .feed-source {
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 1em;
	margin: 1em 0;
}
#aggregator .news-item .categories, #aggregator .source, #aggregator .age {
	color: #999;
	font-style: italic;
	font-size: 0.9em;
}
#aggregator .title {
	margin-bottom: 0.5em;
	font-size: 1em;
}
#aggregator h3 {
	margin-top: 1em;
}
#forum table {
	width: 100%;
}
#forum td {
	padding: 0.5em;
}
#forum td.forum a {
	text-decoration:none;
}
#forum td.forum, #forum td.posts {
	background-color: #e1e1e1;
}
#forum td.topics, #forum td.last-reply {
	background-color: #e1e1e1;
}
#forum td.container {
	background-color: #cee1e7;
}
#forum td.container a {
	color: #555;
	text-decoration:none;
}
#forum td.statistics, #forum td.settings, #forum td.pager {
	height: 1.5em;
	border: 1px solid #bbb;
}
#forum td .name {
	color: #96c;
}
#forum td .links {
	padding-top: 0.7em;
	font-size: 0.9em;
}
#profile .profile {
	clear: both;
	border: 1px solid #abc;
	padding: .5em;
	margin: 1em 0em;
}
#profile .profile .name {
	padding-bottom: 0.5em;
}
.block-forum h3 {
	margin-bottom: .5em;
}
div.admin-panel .description {
	color: #999;
}
div.admin-panel .body {
	background: #f4f4f4;
}
div.admin-panel h3 {
	background-color: #69c;
	color: #fff;
	padding: 5px 8px 5px;
	margin: 0;
}
.node img {
	background-color: #fff;
	padding: 3px;
	border:1px solid #e3dfd4;
	margin:5px;
	float: left;/*	clear: both;
*/}
.poll .bar {
	background:#E7E7E7;
	border:#9C9C9C 1px solid;
}
.poll .bar .foreground {
	background:#CECDCE;
	border-right:#9C9C9C 1px solid;
}
.block-image IMG {
	border:1px solid #CECECE;
	padding:3px;
}
.block-user ul li {
	list-style-type:none;
	list-style-image:none;
}
#block-user-0 ul {
	padding: 3px 2em 3px 0;
}
#block-user-1 {
	line-height: 25px;
	font-size:14px;
}
span.clear {
	display: block;
	clear: both;
	height: 1px;
	line-height: 0px;
	font-size: 0px;
	margin-bottom: -1px;
}

/** Views Servizi */

#block-views-Servizi_Home-block_1 .views-row-even, #block-views-Servizi_Home-block_1 .views-row-odd {
  padding: 0px;
  margin-top: 10px;
  background-color: #FFF;
}

/*views news*/

.views-row-odd, #block-views-News_Home-block_1 .views-row-odd{
	padding: 10px;
	margin-bottom: 10px;
	position: relative;
	clear: left;
	margin-bottom: 10px;
}
.views-row-even, #block-views-News_Home-block_1 .views-row-even{
/*	background-color: #e7efff;
*/	padding: 10px;
	position: relative;
	clear: left;
	margin-bottom: 10px;
}

.views-field-changed, #block-views-News_Home-block_1 .views-field-changed{
	font-size: 11px;
	position: absolute;
	top: 12px;
	left: 10px;
}
.views-field-changed label, #block-views-News_Home-block_1 .views-field-changed label{
	display: none;
}
.views-field-body, #block-views-News_Home-block_1 .views-field-teaser{margin-left: 0px;}
.views-field-title, #block-views-News_Home-block_1 .views-field-title{margin-left: 0px;}
.views-field-title a,#block-views-News_Home-block_1 .views-field-title a{
	font: 13px Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom: 4px;
	color: #2969AB;
}


.views-field-view-node .field-content a {
  font-size: 11px;
}
/**/
.taxonomy{
	display: none;
}

/*left col*/
#jpg{
margin-top: 45px;
}

ul.menu {
margin: 0;
padding: 0;

}
ul.menu li{
display: block;
border-bottom: solid 1px #d1d1d1;
text-transform: uppercase;
}
ul.menu li a{
display: block;
padding: 3px 5px;
text-decoration: none;
	color: #38404f;
}
ul.menu li a.active{
 background: url('images/arrow.png') no-repeat left center transparent;
display: block;
padding: 3px 5px 3px 18px;
}
#block-views-Servizi_Home-block_1{
	width: 380px;
	float: left;
	margin-right:-380px;
	position:relative;
}
#block-views-News_Home-block_1{
	width: 480px;
	float: right;
}
#block-views-Servizi_Home-block_1 h2, #block-views-News_Home-block_1 h2, #block-block-1 h2{
	font-size: 18px;
	font-weight: lighter;
	text-transform: uppercase;
	padding-bottom: 4px;
	border-bottom: #d2dce8 1px solid;

}
#block-block-1 .content{
padding-top: 10px;
}

/*extra for area riservata*/
#external a{text-decoration: none; display: block; float: left; margin-left: 5px;}

#external a span{display:none;}
#external a.db1{
	background: url('images/dotazioni-off.png') no-repeat left center transparent;
	width: 100px;
	height: 22px;	
}
#external a.db1:hover{
	background: url('images/dotazioni-on.png') no-repeat left center transparent;
	width: 100px;
	height: 22px;
	
}
#external a.db2{
	background: url('images/assicurazioni-off.png') no-repeat left center transparent;
	width: 100px;
	height: 22px;
}
#external a.db2:hover{
	background: url('images/assicurazioni-on.png') no-repeat left center transparent;
	width: 100px;
	height: 22px;
}
.claim {
	background: #6CF;
	padding: 15px;
	}
#header-region {
	background: url('images/quadrati.jpg') no-repeat right top transparent;
	}
#header-region div#block-locale-0 {
	background: transparent;
	width: 50px;
	position: absolute;
	top: 70px;
	right: 30px;
	}
#header-region div#block-locale-0 ul li{
	display: inline;
	}
	
.boxhp{
	margin: 0px 55px 10px 0px;
	padding: 0 8px 8px 8px;
	width: 350px;
	}
.boxhp h1{
/*	background: url('images/quadratini.gif') no-repeat right center transparent;	
*/	
	font-size: 18px;
	font-weight: lighter;
	text-transform: uppercase;
	padding-bottom: 4px;
	border-bottom: #d2dce8 1px solid;
	}
.boxhp ul{
	margin: 0;
	padding: 10px 0 0 0;
	}
.boxhp ul li{	
	background: url('images/square.gif') no-repeat 0px 5px transparent;
	margin: 0 0 5px 0;
	padding-left: 14px;
	
}
.block-views img{
	float: left;
	margin: 0px 10px 5px 0;
	background-color: #fff;
	padding: 3px;
	border:1px solid #e3dfd4;
}