﻿@charset "utf-8";
/* CSS Document */

body  {
	font: 90% "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	background: #FFF;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #2c2c2c;
	background-color: #2c2c2c;
}

#wrap {
	margin: 0 auto; 
	width: 1000px;
	background-color: #FFF;
	border: 2px solid #666666;
}

#container { 
	position: relative; /* adding position: relative allows you to position the two sidebars relative to this container */
	width: 960px;  
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	margin: 30px auto 30px auto;
} 

/* Tips for absolutely positioned sidebars with header and footer:
1. Absolutely positioned (AP) elements must be given a top and side value, either right or left. (As a default, if no top value is given, the AP element will begin directly after the last element in the source order of the page. This means, if the sidebars are first element in the #container in the document's source order, they will appear at the top of the #container even without being given a top value. However, if they are moved later in the source order for any reason, they'll need a top value to appear where you desire.
2. Absolutely positioned (AP) elements are taken out of the flow of the document. This means the elements around them don't know they exist and don't account for them when taking up their proper space on the page. Thus, an AP div should only be used as a side column if you are sure the middle #mainContent div will always contain the most content. If either sidebar were to contain more content, that sidebar would run over the bottom of the parent div, and in this case the footer as well, and the sidebar would not appear to be contained.
3. If the above mentioned requirements are met, absolutely positioned sidebars can be an easy way to control the source order of the document.
4. If the source order is changed, the top value should be equal to the height of the header since this will cause the columns to visually meet the header.
*/

#header { 
	height: 60px; /* if you're changing the source order of the columns, you'll may want to use a height on the header so that you can give the columns a predictable top value */
	width:auto;
	margin: 0 auto;
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 

#logo {
	float: left;
	width: 400px;
	height: 60px;
	margin: 0 auto;
	padding: 20px 0px 5px 10px;
}

/* Menu come impress */
#menu {
	/*position:relative; */
	margin: 0 auto;
	width:960px; 
	height:45px; 
	background:url('../images/menu.gif'); 
	overflow:hidden;
	font:bold 90%/1 "Verdana",sans-serif;
}

#menu ul {
	margin:0 20px; 
	list-style:none;
}

#menu li {display:inline;}

#menu li a {
	display:block; 
	float:left; 
	padding:17px 20px 17px 18px; 
	background:url('../images/menu-separator.gif') 100% 0 no-repeat; 
	text-decoration:none;
}


#menu li a:hover {
	background:url('../images/menu-hover.gif');
	color: #FFF;	
}

#menu li#menu-active a {
	background:url('../images/menu-active.png');
	color:#FFF;
}

#wrapper {
	width: 960px;
	margin: 10px 0px 0px 0px;
	background: #CCCCCC;
	height: 630px;
	border: 1px solid #000;
}

/* Colonna di sinistra */
#sidebar1 {
	position: absolute;
	top: 0;
	left: 0;
	width: 180px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	/*background: #454545;*/ /* the background color will be displayed for the length of the content in the column, but no further */
	/*padding: 15px 10px 15px 20px;*/
	padding: 0px 50px 10px 0px; /* top right bottom left */
	margin: 0 auto;
}

#sidebar1 h3 {
	color: #FFF;
	width: 190px;
	padding: 3px 25px 3px 15px;
	font-size: 16px;
	background-color: #2C3971;
	text-transform: uppercase;
}

#sidebar1 ul {
	list-style: none;
	margin-left: 10px;
	padding:0;
	/*list-style-image: url('../images/check.png');*/
}

#sidebar1 ul li a{
	display: block;  
	width: 200px;  
	padding: 5px 10px 5px 10px;  /* top right bottom left */
	margin: 0; 
	text-decoration: none;
	font-size: 14px;
}

#sidebar1 ul li a:hover{
	background: #DDDDDD;
	font-weight: bold;
}


#sidebar1 ul li.active a{
	display: block;  
	width: 200px;  
	padding: 5px 10px 5px 10px;  
	margin: 0; 
	text-decoration: none;
	background: #DDDDDD;
	color: #000;
	font-weight: bold;
}


/* Colonna di destra */
#sidebar2 {
	position: absolute;
	top: 0;
	right: 0;
	width: 180px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	/*background: #454545;*/ /* the background color will be displayed for the length of the content in the column, but no further */
	/*padding: 15px 10px 15px 20px;*/
	padding: 0px 50px 10px 0px; /* top right bottom left */
	font-size: 10px;
	text-align: center;
	margin: 0 auto;
}


#sidebar2 h3 {
	color: #FFF;
	width: 190px;
	padding: 3px 25px 3px 15px;
	font-size: 16px;
	background-color: #2C3971;
	text-transform: uppercase;
	text-align: left;
}

#sidebar2 ul {
	list-style: none;
	padding:0;
	text-align: left;
	/*list-style-image: url('../images/check.png');*/
}

#sidebar2 ul li a{
	display: block;  
	width: 200px;  
	padding: 5px 0px 5px 20px;  /* top right bottom left */
	margin: 0; 
	text-decoration: none;
	font-size: 14px;
}

#sidebar2 ul li a:hover{
	background: #DDDDDD;
	font-weight: bold;
}


#sidebar2 ul li.active a{
	display: block;  
	width: 200px;  
	padding: 5px 0px 5px 20px;  
	margin: 0; 
	text-decoration: none;
	background: #DDDDDD;
	color: #000;
	font-weight: bold;
}



#datepicker {
	margin: 10px 0px 0px 18px;
	position: absolute;
	top: 420px;
}

/* Contenuto */
#mainContent { 
	margin: 0 auto;
	margin: 0px 230px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. */
	padding: 1px 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background: #DDDDDD;
	height: 628px;
	/*border-top: 2px solid #DDDDDD;*/
}

.mapleft {
	float: left;
	width:200px;
}

.mapright {
	float: right;
	width: 200px;
}

#footer {
	/*position:relative; */
	margin: 0 auto;
	width:960px; 
	height:50px; 
	margin: 10px 0px 10px 0px;
	/*padding: 0px 10px 0 20px;*/ /* this padding matches the left alignment of the elements in the divs that appear above it. */
	/*background:url('../images/menu.gif'); */
	overflow:hidden;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 10px;
	text-align: center;
}

.foo_table {
	width: 960px;
}


td.info {width: 500px;}


td.validate {width: 200px;}


#clear {clear:both;}

a {color:#404040;}

a:hover {color:#000;}

a.nounderline {	text-decoration: none;}

h1 {color:#2C3971;}

h4 {
	margin-bottom: 0px;
}

img {border: none;}

img.photo {border: 4px solid #CCCCCC;}

p {text-align: justify;}

p.little {font-size: 12px;}

p.rightalign {text-align:right;}

p.centeralign {text-align: center;}

ul.map {font-size: 12px;}


/* FORM STYLE */

fieldset {font-size: 12px;}

.styled {width: 200px;}


.formHelp {
	font-size: 10px;
	text-align: justify;
}

h1.tb_title {
	font-size: 20px;
	text-align: center;
	padding-top: 20px;
}

/* TABELLE */

th {color: #2C3971;}

th.informa 
{
    font-size:10px;
    color:#2C3971;
    text-align:center;
    border: 1px solid #FFF;
}

td.popolazione 
{
    font-size:10px;
    border: 1px solid #FFF;
}


td.popolazioneTot 
{
    font-size:10px;
    border: 1px solid #FFF;
    width:300px;
    font-weight:bold;
}

table.stripeMe {
	padding: 10px 5px;
	margin: 5px;
	border: 1px solid #000;
}

tr.alt td {
  /*background: #DCDCDC;*/
  background-color: #2C3971;
  color: #FFF;
}
      
tr.over td {
	background: #C0C0C0;
	color: #000;
}


td {
	text-align: center;
	width: 160px;
}

td.td_title {
	text-align: right;
	width: 140px;
	font-weight: bold;
}

td.dati {
	text-align:justify;
	width: 350px;
}

td.foto {
	width: 150px;
}

tr {
	border-bottom: 1px solid black;
}

/*
.description {
	background-color: gray;
	font-size: 10px;
	color:#FFF;
	margin-left: 10px;
	vertical-align: top;
	padding: 2px;
	width: 400px;
}
*/

.description {
	width:450px; 
	height:19px; 
	padding:0px; 
	float:left;
	background: #C0C0C0;
}

.description .date{
	width:120px; 
	height:19px; 
	margin:0px; 
	padding:0 0 0 35px; 
	float:left; 
	font-family:Arial; 
	font-size:11px; 
	color: #ffffff; 
	line-height:20px; 
	font-weight:bold; 
	background:url('../images/icon/calendario.png') no-repeat 11px 0
}

.description .author{
	width:120px; 
	height:19px; 
	margin:0px; 
	padding:0 0 0 38px; 
	float:left; 
	font-family:Arial; 
	font-size:11px; 
	color: #ffffff; 
	line-height:20px; 
	font-weight:bold;
	background:url('../images/icon/author.png') no-repeat 11px 0
}

.description .fotografo{
	width:120px; 
	height:19px; 
	margin:0px; 
	padding:0 0 0 38px; 
	float:left; 
	font-family:Arial; 
	font-size:11px; 
	color: #ffffff; 
	line-height:20px; 
	font-weight:bold;
	background:url('../images/icon/photo.png') no-repeat 11px 0
}

.phone {
	width: 400px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/phone.png') no-repeat;
}

.female {
	width: 200px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/user_female.png') no-repeat;
}

.man {
	width: 200px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/boss-icon.png') no-repeat;
}

.policeman{
	width: 200px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/police_man.png') no-repeat;
}


.phone2 {
	width: 200px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/phone.png') no-repeat;
}


.doctor {
	width: 200px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/doctor.png') no-repeat;
}

.pharmacist {
	width: 200px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/nurse-icon.png') no-repeat;
}

.mailing {
	width: 400px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/mailbox_20.png') no-repeat;
}

.calcio {
	width: 450px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/Soccer_Ball.png') no-repeat;
}


.volley {
	width: 450px;
	margin:0px; 
	padding:0 0 0 28px;
	float:left; 
	background:url('../images/icon/Volleyball_Ball.png') no-repeat;
}



.news {

}

p.back 
{
    margin-top: 70px;
}

.title
{
    color: Gray;
    font-size: 24px;
}

.bordered 
{
    border: solid 1px #000;
    text-align: center;
}