@import "reset.css";

/* -------------------- */
/* -- Fonts -- */
/* -------------------- */

@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
	font-family: 'fontawesome';
	src:url('../fonts/fontawesome.eot');
	src:url('../fonts/fontawesome.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fontawesome.svg#fontawesome') format('svg'),
		url('../fonts/fontawesome.woff') format('woff'),
		url('../fonts/fontawesome.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body, html { font-size: 100%; 
}


/* -------------------- */
/* -- General Styles -- */
/* -------------------- */
#wrap{
	position: relative;
	width:960px;
	margin:0 auto 0 auto;
}
body{
	font-family: 'Lato', arial, sans-serif;
	background-color:#fff;
	color:#555;
	line-height:24px;
	font-size: 0.9em;
	background:url(../images/main-bg.jpg) repeat-x;
}
h1{
	font-size:38px;
	margin:0 0 30px 0;
}
h2{
	font-size:28px;
	margin:40px 0 20px 0;
}
h3{
	font-size:20px;
	margin:30px 0 10px 0;
	font-style:italic;
}
h4{
	font-size:18px;
	margin:30px 0 15px 0;
}
h5{
	font-size:18px;
	margin:30px 0 5px 0;
}
p{
	margin:0 0 10px 0;
	text-align: left;
}
a{
	text-decoration:none;
	color:#990100;
}
a:hover{
	color:#E54C00;
	cursor:pointer;
}
em{
	font-style:italic;
}
.hide{
	display:none;
}
.title{
	margin-top:0;
}
.article-line{
	clear:both;
	border-bottom:1px #ddd dotted;
	margin:40px 0 45px 0;
}
.cache-images{
	display:none
}
.more-details{
	display:block;
	margin:5px 0 0 0;
}

#button_blu{
display: block;
background: transparent url("../images/blue-button-bg.png") no-repeat
scroll 0% 0%;
width: 141px;
height: 34px;
color: #FFF;
text-align: center;
padding: 5px 5px;
border: medium none;
cursor: pointer;
font-size: 14px;
margin: 5px;
}


/* ------------- */
/* -In evidenza - */
/* ------------- */
.evidenza_container{
	position: relative;
    float: left;
	background-color: #ddd;
	height: 200px;
    width:  280px;
	margin: 5px;
	padding: 10px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.evidenza_foto{
	position: absolute;

	background-color: #990100;
	margin: 5px;
	padding: 10px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}



.evidenza_label_RT { 
    position: absolute;
    top: 5px;
    right: 5px;
    width: auto;
    padding: 2px; 
    
    border: 3px solid #888;
    background-color: #fff;
	color:  #333;
    
	-moz-border-radius: 5px;
	border-radius: 5px;	 
}
.evidenza_label_RB {
    position: absolute; 
    bottom: 5px;
    right: 5px;
    width: auto;
    padding: 2px;
    
    border: 3px solid #888;
    background-color: #fff;
	color: #990100
    
	-moz-border-radius: 5px;
	border-radius: 5px;	 
}
.evidenza_label_LT { 
    position: absolute;
    top: 5px;
    left: 5px;
    width: auto;
    padding: 2px;
    
    border: 3px solid #888;
    background-color: #fff;
	color:  #333;
    
    -moz-border-radius: 5px;
	border-radius: 5px;	 
}
.evidenza_label_LB { 
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: auto;
    padding: 2px;
    
    border: 3px solid #888;
    background-color: #fff;
	color: #990100;
    
	-moz-border-radius: 5px;
	border-radius: 5px;	 
}



/* ------------ */
/* -- Header -- */
/* ------------ */
#header{
	padding:30px 0 0 0;
	height:110px;
	border-bottom:1px #ddd dotted;
}
#header h1{
	float:left;
	font-size:35px;
	margin:32px 0 0 0;
	letter-spacing:-2px;
	font-weight:bold;
}
#header h1 a{
	color:#555;
}


#header_right{
	float:right;
	height:110px;
	
}


/* --------- */
/* -- Nav -- */
/* --------- */
#nav{
	float:right;
	margin:25px 0px 0 0;
}
.menu{
	padding:7px 6px 0 0;
}
.menu li{
	margin:0 0px;
	padding:0 0 8px;
	float:left;
	position:relative;
}
.menu a{
	display:block;
	padding: 8px 15px;
	margin:0;
	color:#555;
	text-decoration:none;
	font-size:17px;
}
.menu .current a, .menu li:hover > a{
	color:#990100;
}
.menu ul li:hover a, .menu li:hover li a{
	color:#555;
}
.menu ul a:hover{
	background:#2684cd !important;
	color:#fff !important;
}
.menu ul{
	background:#eee;
	display:none;
	margin:0;
	padding:0;
	width:250px;
	position:absolute;
	top:35px;
	left:20px;
	border:solid 1px #ddd;
}
.menu li:hover > ul{
	display:block;
}
.menu ul li{
	float:none;
	margin:0;
	padding:0;
}
.menu ul a{
	font-size:16px;
}
.menu ul ul{
	left:250px;
	top:-3px;
}
.menu li.current_page_item a{
	color:#2684cd;
}
.menu .sub-menu li.current_page_item a{
	color:#2684cd;
}

/* ---------------------- */
/* -- section  -- */
/* ---------------------- */
section#gallery figure1 {
    float:right;
    display:inline;
    width:21%;
    margin:2%; /*2% + 21% + 2% = 25% */
}
section#gallery figure {
    float:left;
    display:inline;
    width:21%;
    margin:2%; /*2% + 21% + 2% = 25% */
}
section#gallery a { 
    display:block; 
    width:100%;
    border:1px solid #000000;
    background:#42403f;
    opacity:0.6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; /* IE 8 hack */
    filter: alpha(opacity = 60); /* IE 5-7 hack */
    -webkit-transition: all 0.5s; 
    -moz-transition: all 0.5s; 
    -o-transition: all 0.5s; 
    transition: all 0.5s; 
    -webkit-box-shadow: 0 0 5px #42403f;
    -moz-box-shadow: 0 0 5px #42403f;
    box-shadow: 0 0 5px #42403f;
} 
 
section#gallery a:hover { 
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE 8 hack */
    filter: alpha(opacity = 100); /* IE 5-7 hack */
} 
 
section#gallery img { 
    width:100%;
    display:block;
    border:none;
    -ms-interpolation-mode:bicubic; /* IE 7+ hack */
}

.logo {
	background: url(../images/PrassiLogo440.png) no-repeat;
	height: 440px;
	width: 440px;
	margin: 20px auto;
	position: relative;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.logo320 {
	display: none;
	background: url(../images/PrassiLogo320.png) no-repeat;
	height: 320px;
	width: 320px;
	margin: 20px auto;
	position: relative;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}



/* ---------------------- */
/* -- Featured Section -- */
/* ---------------------- */
#featured-section{
	float:none;
	margin:0;
	overflow:hidden;
	border-bottom:1px #ddd dotted;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 50px;
	padding-left: 0;
}
#featured-section h2{
	clear:both;
	color:#888;
	letter-spacing:-1px;
	font-size:30px;
	padding:30px 0 15px 0;
	margin:0;
	text-align:center;
}
#featured-section h2 span{
	color:#555;
}

/* ---------------- */
/* -- Front Page -- */
/* ---------------- */
#frontpage-main{
	float:left;
	margin:50px 0 30px 0;
	background-color:#fff;
	width:100%;
}
#frontpage-main h3{
	margin-top:0;
	font-size:18px;
	font-style:italic;
}
#frontpage-main #search{
	float:left;
	width:300px;
	border-right:1px #ddd dotted;
	padding-right:20px;
	padding-left: 10px;
	/*background-image: url(../fotoagenzia/agenzia07.JPG);
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-position: left center;
	color: #FFF;*/
}
#frontpage-main #overview{
	float:left;
	width:300px;
	border-right:1px #ddd dotted;
	padding-right:20px;
	padding-left: 20px;
}

#frontpage-main #latest-article{
	float:right;
	width:auto;
	
}
#latest-article .meta, #frontpage-section .meta a{
	color:#aaa;
	font-size:18px;
}
#latest-article .article-title{
	font-size:18px;
}
#latest-article .read-more{
	display:block;
	background:url(../images/blue-button-bg.png) no-repeat;
	width:141px;
	height:34px;
	color:#fff;
	text-align:center;
	padding:5px 0;
	margin:12px 0 0 -2px;
}
#latest-article .read-more:hover{
	background:url(../images/red-button-bg.png) no-repeat;
}
.blue-bullets{
	float:left;
	margin:10px 0 0 0;
}
.blue-bullets li{
	background:url(../images/blue-bullet.png) no-repeat;
	height:21px;
	position:relative;
	padding:0 0 18px 35px;
}
/* ------------- */
/* -- Content -- */
/* ------------- */
#main{
	float:left;
	margin:40px 0 50px 0;
	width:100%;
}
#content{
	float:left;
	width:480px;
	padding:0 165px 0 0;
}
/* --------------- */
/* -- Proposte -- */
/* --------------- */
#Proposte{
	background:none;
	margin:50px 0 0px 0;
}
#Proposte h2{
	letter-spacing:-1px;
	margin:0 0 40px 0;
	font-size:20px;
	font-style:italic;
	color:#888;
}

#Proposte .Colonna{
	
	background:#990100;
	width:300px;
	float:left;
	padding:0 0;
	margin:10px 5px 10px 5px;
}

.button{
	display:block;
	background:url(../images/orange-button-bg.png) no-repeat;
	width:141px;
	height:34px;
	color:#fff;
	text-align:center;
	float:left;
	padding:5px 0;
	margin:30px 79px;
	
}	


.immobile{
	border:solid ; 
	border-color:#E64B00;
	float:left;
	width:280px;
	height:200px;
	margin:10px 6px 10px 6px ;
}
.immobile:hover{
	opacity:0.7;
}


/* ------------- */
/* -- Ricerca -- */
/* ------------- */

#ricerca_left{
	background:#900;
	width: 280px;
	height:200px;
	float: left;
	border: 5px solid #999;
	margin-top: 5px;
	margin-left: 5px;
}	

#ricerca_leftB{background: #999 width: 500px;
	height:50px;
	padding:5px;
	width: 70px;
	background-color: #FF8040;
	float: left;
	position: relative;
	top: auto;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	margin: 5px;
}

#ricerca_right{
	height:200px;
	width: 550px;
	background-color: #dedede;
	float: left;
	position: relative;
	padding: 5px;
	margin-top: 5px;
}

#ricerca_rightBanner{
	background: #F2F2F2;
	height:40px;
	margin: 0px;
	font-weight: bold;
	color: #900;
	font-size: 14px;
	text-align: left;
}

#ricerca_rightT{
	background: #F2F2F2;
	height:30px;
	text-align: right;
	margin-top: 5px;
	background-color: #FFF;

}
#ricerca_rightTbox_first{
	background: #FFF;
	height:30px;
	width:30px;
	float: left;
}
#ricerca_rightTbox{
	background: #FFF;
	height:30px;
	width:30px;
	margin-right: 30px;
	float: left;
	color: #C00;
	text-align: center;
	font-weight: bold;
	vertical-align: middle;
}

ricerca_rightTbox_last{
	background: #FFF;
	margin-right: 10px;
	float: left;
	font-size: 12px;
	color: #C00;
	text-align: right;
	font-weight: bold;
}

#ricerca_rightB{
	background: #F2F2F2;
	height:100px;
	margin-top: 5px;
}

#ricerca_rightBottom {
	text-align: right;
	color: #FFF;
	font-weight: bold;
	font-size: 14px;
}

/* ------------- */
/* -- Manager -- */
/* ------------- */

#manager_container{
	height:auto;
	width: auto;
	background-color: #E2E2E2;
	margin-bottom: 10px;
	float: left;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

#manager_left{
	height:100px;
	width: 140px;
	background-color: #CFF;
	float: left;
	margin: 5px;
	padding: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#manager_box250{
	height:auto;
	width: 240px;
	background-color: #CCFFFF;
	float: left;
	position: relative;
	margin: 5px;
	padding: 5px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

#manager_desc_label{
	height:20px;
	width: 230px;
	background-color: #FFF;
	float: left;
	position: relative;
	margin: 5px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}

#manager_desc_field{
	height:auto;
	width: 230px;
	background-color: #FFF;
	float: left;
	position: relative;
	margin: 0px 5px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
	font-family: inherit;
}

#manager_box100{
	background-color: #CCFFFF;
	height:auto;
	width: auto;
	position: relative;
	float: left;
	margin: 5px;
	padding: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-bottomright: 0px;
	border-bottom-right-radius: 5px;
	border: thin solid #39F;
}

#manager_label{
	height: 20px;
	width: 60px;
	float: left;
	position: relative;
	background-color: #FCFCFE;
	color: #333;
	margin-top: 5px;
	margin-right: 0px;
	margin-left: 5px;
	-moz-border-radius-leftright: 5px;
	border-top-left-radius: 5px;
	-moz-border-radius-leftright: 5px;
	border-bottom-left-radius: 5px;
	 
}

#manager_riga{
	height: 20px;
	width: 140px;
	float: left;
	background-color: #FCFCFE;
	color: #333;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-right-radius: 5px;
}


/* ------------- */
/* --Conferimento-- */
/* ------------- */

#conferimento_title{
	width: auto;
	height: 30px;
	margin-top: 10px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: bold;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
	background-color: #FFF;
	border:  thin solid #999;
	text-align: center;
}	
#conferimento_left{
	height:auto;
	width: 250px;
	background-color: #FFFF99;
	float: left;
	position: relative;
	margin: 5px;
	padding: 5px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 2px solid #999;
}	

#conferimento_button{
	display:block;
	width:auto;
	height:30px;
	color: #2684cd;
	text-align:center;
	padding:5px;
	margin:15px;
	border:thin solid #999;
	cursor:pointer;
	font-size:14px;
	background-color: #42A9F8;
	float: left;
	-moz-border-radius: 10px;
	border-radius: 10px;
	
}

#conferimento_button:hover{
	background-color: #FFFFFF;
	color:#fff;
}
	

#conferimento_center{
	height:auto;
	width: 300px;
	background-color: #FFCC33;
	float: left;
	position: relative;
	margin: 5px;
	padding: 5px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 2px solid #999;
}	

#conferimento_right{
	width: 330px;
	height:auto;
	background-color: #FF9900;
	float: left;
	position: relative;
	margin: 5px;
	padding: 5px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 2px solid #999;
}	

#conferimento_label{
	height: 20px;
	width: 65px;
	float: left;
	position: relative;
	background-color: #FCFCFE;
	color: #333;
	margin-top: 5px;
	margin-right: 0px;
	margin-left: 5px;
	-moz-border-radius-leftright: 5px;
	border-top-left-radius: 5px;
	-moz-border-radius-leftright: 5px;
	border-bottom-left-radius: 5px;
	border: thin solid #06C;
	 
}

#conferimento_riga{
	height: 20px;
	width: 165px;
	float: left;
	background-color: #FCFCFE;
	color: #333;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-right-radius: 5px;
	border: thin solid #09F;
}

#conferimento_box{
	height: 20px;
	width: auto;
	float: left;
	position: relative;
	background-color: #FCFCFE;
	color: #333;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	border: thin solid #06C;
	 
}
#conferimento_box40{
	height: 20px;
	width: 40px;
	float: left;
	position: relative;
	background-color: #FCFCFE;
	color: #333;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	border: thin solid #06C;
}

#conferimento_casella30{
	height: 20px;
	width: 30px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
	color: #FFF;
	background-color: #999;
	font-weight: bold;
}

#conferimento_casella180{
	height: 20px;
	width: 180px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
	color: #FFF;
	background-color: #999;
	font-weight: bold;
}

#conferimento_casella240{
	height: 20px;
	width: 240px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
	color: #FFF;
	background-color: #999;
	font-weight: bold;
	clear: right;
}

#conferimento_casella30bianca{
	height: 20px;
	width: 30px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
}

#conferimento_casella180bianca{
	height: 20px;
	width: 180px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
}

#conferimento_casella240bianca{
	height: auto;
	width: 240px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
}




#conferimento_header{
	height: 50px;
	width: 100%;
	float: left;
	position: relative;
	color: #CCC;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-width: thin;
	border-bottom-color: #CCC;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	margin: 5px;
	padding: 5px;
	font-size: 14px;
	 
}

#conferimento_footer{
	height: 50px;
	width: 100%;
	float: left;
	position: relative;
	color: #666;
	border-bottom-style: none;
	border-right-style: none;
	border-top-style: solid;
	border-left-style: none;
	border-top-width: thin;
	border-top-color: #CCC;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	margin: 5px;
	padding: 5px;
	 
}
#conferimento_footer_logo{
	height: 50px;
	
	float: left;
	margin-left: 5px;
	margin-right: 5px;
}
#conferimento_footer_testo{
	height: 50px;
	width: 80%;
	float: left;
	text-align: center;
	margin-right: 5px;
	margin-left: 5px;
	font-family: Arial, Helvetica, sans-serif;
	color: #CCC;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#conferimento_testo{
	width: 100%;
	float: left;
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	 
}

#conferimento_titolo{
	width: 100%;
	float: left;
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 16px;
	margin-top: 40px;
	margin-bottom: 30px;
	 
}
#conferimento_titolo2{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-align: center;
	margin-top: 15px;
	margin-bottom: 10px;
	 
}
/* ------------- */
/* -- Pannello Controllo -- */
/* ------------- */
#Pannello_container{
	height: auto;
	width: 100%;
	float: left;
	position: relative;
	padding-left: 5px;
}


#Pannello_casella30{
	height: 20px;
	width: 30px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
	color: #FFF;
	background-color: #999;
	font-weight: bold;
}

#Pannello_casella50{
	height: 20px;
	width: 50px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
	color: #FFF;
	background-color: #999;
	font-weight: bold;
}

#Pannello_casella180{
	height: 20px;
	width: 180px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
	color: #FFF;
	background-color: #999;
	font-weight: bold;
}

#Pannello_casella100{
	height: 20px;
	width: 100px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
	color: #FFF;
	background-color: #999;
	font-weight: bold;
	clear: right;
}


#Pannello_casella30bianca{
	height: 20px;
	width: 30px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
}

#Pannello_casella50bianca{
	height: 20px;
	width: 50px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
}

#Pannello_casella180bianca{
	height: 20px;
	width: 180px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
}

#Pannello_casella100bianca{
	height: 20px;
	width: 100px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
}

#Pannello_casella30rossa{
	height: 20px;
	width: 30px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
    background-color: #f00;
}

#Pannello_casella50rossa{
	height: 20px;
	width: 50px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
    background-color: #f00;
}

#Pannello_casella180rossa{
	height: 20px;
	width: 180px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
    background-color: #f00;
}

#Pannello_casella100rossa{
	height: 20px;
	width: 100px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
    background-color: #f00;
}

#Pannello_casella30blu{
	height: 20px;
	width: 30px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
    background-color: #2684cd;
}

#Pannello_casella50blu{
	height: 20px;
	width: 50px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
     background-color: #2684cd;
}

#Pannello_casella180blu{
	height: 20px;
	width: 180px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
     background-color: #2684cd;
}

#Pannello_casella100blu{
	height: 20px;
	width: 100px;
	float: left;
	position: relative;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	padding-left: 5px;
    background-color: #2684cd;
}


/* ------------- */
/* -- Project -- */
/* ------------- */
#project-content{
	float:left;
	width:320px;
}

#project-header{
	border: thin solid #999;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	padding: 5px;
}

#project-content h3{
	margin:0 0 10px 0;
}

#project-description{
	border: thin double #900;
	height: 200px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	padding: 10px;
}

#project-footer{
	border: thin solid #939;
	height: 20px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	padding: 5px;
}

#project-footer2{
	
	height: auto;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	padding: 5px;
}

#project-content h3 span{
	color:#888;
}
#project-image-large img{
	float:right;
	border:1px #ddd solid;
}

#project-image-small img{
	width:280px;
	height:200px;
	float:right;
	border:1px #ddd solid;
}


#project-content .read-more{
	display:block;
	background:url(../images/blue-button-bg.png) no-repeat;
	width:141px;
	height:34px;
	color:#fff;
	text-align:center;
	padding:5px 0;
	margin:25px 0 0 0;
}
#project-content .read-more:hover{
	background:url(../images/red-button-bg.png) no-repeat;
}
#project-header h3{
	margin-bottom:2px;
}
/* ----------- */
/* -- Posts -- */
/* ----------- */
.article-title{
	margin:0 0 -4px 0;
	color: #990100;
	font-family: inherit;
}
.article-title a{
	font-size:24px;
	color:#990100;
	font-style:normal;
}
.article-title a:hover{
	font-size:24px;
	color:#E64B00;
}
.article-meta, .article-meta a{
	font-size:18px;
	color:#aaa;
	font-style:normal;
	vertical-align: baseline;
	float: none;
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
}
.more-link{
	display:block;
	background:url(../images/blue-button-bg.png) no-repeat;
	width:141px;
	height:34px;
	color:#fff;
	text-align:center;
	padding:5px 0;
	margin:25px 0 0 0;
}
.more-link:hover{
	background:url(../images/red-button-bg.png) no-repeat;
	color:#fff;
}
/* ------------- */
/* -- Sidebar -- */
/* ------------- */
#sidebar{
	float:left;
	width:315px;
	margin:0;
}
#sidebar h3{
	font-size:16px;
}
#sidebar .sidebar-title{
	margin-top:0;
}
#sidebar .sidebar-button{
	clear:both;
	display:block;
	background:url(../images/orange-button-bg.png) no-repeat;
	width:141px;
	height:34px;
	color:#fff;
	text-align:center;
	padding:5px 0;
	margin:15px 0 0 -2px;
}
#sidebar .sidebar-button:hover{
	background:url(../images/black-button-bg.png) no-repeat;
}
#sidebar .portfolio-item{
	clear:both;
	margin:10px 0 10px 0;
	width:100px;
}
#sidebar .portfolio-item img{
	width:250px;
}
#sidebar .portfolio-item img:hover{
	opacity:0.9;
}
/* ------------------ */
/* -- Contact Form -- */
/* ------------------ */
#contact-details{
	float:left;
	width:320px;
	padding:0 20px 40px 0;
}
#contact-details .title{
	margin-top:0;
}
#contact-details h4{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0px;
}
#contact-details span{
	color:#888;
}
#contact-map-container{
	float:right;
	width:50%;
	position: relative;
}
#contact-form-container{
	float:left;
	width:450px;/*width:60%;*/
}
#contact-form input{
	background:url(../images/textinput-bg.png) repeat-x;
	border:1px #ddd solid;
	padding:2px;
	font-size:12px;
	color:#555;
	font-family:arial, sans-serif;
	margin-top: 2px;
	margin-right: 0;
	margin-bottom: 2px;
	margin-left: 0;
}
#contact-form textarea{
	background:url(../images/textarea-bg.png) repeat-x;
	border:1px #ddd solid;
	padding:15px;
	width:350px;
	margin:0 0 15px 0;
	font-size:12px;
	color:#555;
	line-height:18px;
	height:150px;
	font-family:arial, sans-serif;
}
#contact-form .submit{
	display:block;
	background:url(../images/blue-button-bg.png) no-repeat;
	width:141px;
	height:34px;
	color:#fff;
	text-align:center;
	padding:5px 0;
	margin:25px 0 0 0;
	border:none;
	cursor:pointer;
	font-size:14px;
	margin:0;
}
#contact-form .submit:hover{
	background:url(../images/red-button-bg.png) no-repeat;
	color:#fff;
	text-align: center;
}
#response{
	background-color:#eee;
	border:1px #ddd solid;
	padding:10px;
	color:#cc0000;
	margin-bottom:17px;
}

/* ------------ */
/* -- Footer -- */
/* ------------ */
#footer{
	float:left;
	border-top:1px #ddd dotted;
	margin:20px 0 0 0;
	padding:15px 0 20px 0;
	width:100%;
}
.copyright{
	float:left;
}
.twitter{
	float:right;
	
}

/*
gallery
*/


#gallery-background {
	width: 600px;
	height: 360px;
	margin-bottom: 10px;
	background: #990100;
}

#gallery-bgthumb {
	width: 600px;
	height: 120px;
	background: #990100;
}

#gallery
{
	float: right;
	width: 600px;
	margin: 0 auto;
}

#gallery img.output
{
	width: max-widht;
	height: 340px;
	padding: 10px 10px 10px 10px;
}



#gallery ul.nav
{
	width: 600px;
	list-style: none;
	margin: 0 0 3em 0;
	padding: 0;
}

#gallery ul.nav li
{
	margin: 0 1em 1em 0;
	float: left;
}

#gallery ul.thumbnails
{
	width: 600px;
	list-style: none;
	margin: 0;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}

#gallery ul.thumbnails li
{
	float: left;
	margin-top: 0;
	margin-right: 0.3em;
	margin-bottom: 1em;
	margin-left: 0.3em;
}

#gallery ul.thumbnails li img
{
	width: 128px;
	height: 88px;
	border: solid 6px #E64B00;
	cursor: pointer;
}

#gallery ul.thumbnails li img.active
{
	border: solid 1px #;
	background-color: #FFFFFF;
}


@media screen and (max-width: 63.875em) {
	#wrap{
	position: relative;
	
	margin:0 10px 0 10px;
	}
	
	.logo {
		display:block;
	}
	.logo320 {
		display: none;
	}

}

@media screen and (max-width: 39.8125em) {
	
	#wrap{
	position: relative;
	width: 740px;
	margin:0 10px 0 10px;
	}
	
	.logo {
		display:block;
	}
	.logo320 {
		display: none;
	}
	
.portfolio-item{
	margin-left: 20px;

	}
	
#contact-map-container{
	float: right;
	width: 320px;
	position: relative; 
}

}

@media screen and (max-width: 35.6875em) {
	
	#wrap{
	position: relative;
	width: 320px;
	/*margin:0 auto 0 1px;*/
	}
	
	.logo320 {
		display:block;
		margin-left:0;
	}
	.logo {
		display: none;	
	}
	
	.portfolio-item{
	margin-left: 20px;

	}

	#contact-map-container{
	float:right;
	max-width:100%;
	width:100%;
	position: relative; 
	}

	#frontpage-main #latest-article{
	border-top:1px #ddd dotted;
	float:right;
	width: 320px;
	margin: 10px auto 0 auto;
	}

.twitter{
	width:50%;
	margin-right: 5px;
}


#gallery-background {
	width: 320px;
	height: 180px;
	margin-bottom: 5px;
	background-color: #990100;
}

#gallery-bgthumb {
	width: 320px;
	height: 60px;
	background: #990100;
}

#gallery
{
	float: right;
	width: 320px;
	margin: 30px auto;
}

#gallery img.output
{
	width: 310px;
	height: 170px;
	padding: 5px 5px 5px 5px;
}



#gallery ul.nav
{
	width: 320px;
	list-style: none;
	margin: 0 0 1.5em 0;
	padding: 0;
}

#gallery ul.nav li
{
	margin: 0 0.5em 0.5em 0;
	float: left;
}

#gallery ul.thumbnails
{
	width: 320px;
	list-style: none;
	margin: 0;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}

#gallery ul.thumbnails li
{
	margin: 0 0.3em 0.5em 0.3em;
	float: left;
}

#gallery ul.thumbnails li img
{
	width: 64px;
	height: 44px;
	border: solid 4px #E64B00;
	cursor: pointer;
}

#gallery ul.thumbnails li img.active
{
	border: solid 2px #E64B00;
}

}