html {
	margin:0;
	padding:0;
}
body {
	background-image:url('layout/bg-body.jpg');
	background-position:center top;
	background-repeat: no-repeat;
	background-color: #000;
	font:10px/1.4em Arial,Helvetica,sans-serif; 
	margin:0;
	padding:0;
}

a { color:#fff; }
a img{border:0}

/* layout */

#wrapper {
	width:1024px;
	margin:0 auto;
	position:relative;
}

#header {
	position:relative;
	width:100%;
	height:140px;
}

#logo {
	display:block;
	margin:0;
	padding:0;
	position:absolute; 
	left:0px; 
	top:42px;
}

#logo img {}

#top_istituzionale { 
	position:absolute; 
	right:0px; 
	top:42px; 
}

#main {
	position:relative;
	width:100%;	
}

#content {
	width:100%;
}

#loginBlock {
	height:280px;
	background-color: #000;
}

/* SLIDER */
#banner_top {width:100%; height:280px;}
#banner_top #slider-wrapper {width:1024px; height:280px; margin:0 auto; position:relative;}

#login {
	color:#949494;
	position: absolute;
	top:44px;
	right:32px;
	width:228px;
	height:156px;
	z-index:10;
}

#login h2 {
	padding:5px 0;
	text-indent:10px;
	color: #fff;
	background-color: #8d8275;
	margin:0 0 2px 0;
}

#login .alert { 
	position:absolute;
	top:3px; 
	right:20px;
	color:#8d8275;
	font-weight: bold;
}

#login form {
	background-color: #e5e5e5;
	width:228px;
	height:133px;
	position:relative;
}

#login div.text input, #login div.password input  { 
	width:130px; 
	height:20px;
	border:0 none; 
	margin-bottom:6px;
}

#login div.submit {
	text-align: right;
}

#login div.submit input {
	border:0 none;
	background-color: transparent;
	text-transform: uppercase;
	color:#949494;
	cursor:pointer;
}
#login div.submit input:hover {cursor:pointer;}
#formFields {
	position:absolute;
	top:22px;
	right:19px;
}

p#usrDimenticato {
	position:absolute;
	bottom: 20px;
	left:20px;
	margin:0;
}

p#usrDimenticato a { color:#949494; text-decoration: none; }

p#pwdDimenticata {
	position:absolute;
	bottom: 5px;
	left:20px;
	margin:0;
}

p#pwdDimenticata a { color:#949494; text-decoration: none; }

.block {
	height:186px;
	width:100%;
	font-size: 110%
}

.floated {
	float:left;
}

.cleared {
	clear:both;
}

.block .box{
	width:100%;
	float:left;
}

#textBlock {
	background-position:center top;
	background-repeat: no-repeat;
	background-color: #8d8275;
	color:#fff;
	float:left;
	width:218px;
	height:auto;
}

#textBlock .box{
	padding:0 10px 10px;
	width:198px; 
	height: 126px;
}

.box#last {
  background: none repeat scroll 0 0 #fff;
  border-bottom: 10px solid #fff;
  color:#626262;
  height: 170px;
  position: relative;
}

.box#last a {	color:#626262; text-decoration: none; }
.box#last a:hover {	color:#333333; }
.box#last img { margin-bottom: 2px; }
.box#last strong { margin:0; padding:0; font-size: 120% }
.box#last p { margin:5px 0; }

#collectionsBlock {
	background-color: #fff;
	color:#666;
	float:left;
	width:786px;
	height:578px;
	padding:10px;
}

div.foto_list {
	margin:0 9px; width:180px; min-height: 180px; float:left;
	margin-bottom:10px;border-bottom:1px solid #999; padding-bottom:5px; 
}
div.foto_list.last {margin-right:0;}
div.foto_list a {color:#545454;}
div.foto_list div.description_list { margin:0; position:absolute; top:180px; height:60px; display:none; }
div.foto_list div.description_list p { margin :0; }

div.photo_description {
	height:5em; border-bottom:1px dotted #999; border-top:1px dotted #999;
}

div.photo_description a:hover { color:#900; }

/* Footer BEGIN */

#footer {
  padding-top:10px;
  height: 70px;
  position: relative;
  width: 100%;
  clear:left; 
  text-align:right;
}
#footer * {
	color: #aaa;
	font-size:11px;
}

#footer #box_social {position:absolute; top:56px; right:320px; width:224px; height:22px;}
#footer #box_social ul {float:left; padding:0; margin:0;}
#footer #box_social ul li {float:left; list-style:none; margin-right:10px;}
#footer #box_social ul li a {display:block; text-indent:-9999px; font-size:0; line-height:0; width:22px; height:22px; border:none;}
#footer #box_social ul li a#youtube {background:url(layout/youtube.png) 0 0 no-repeat;}
#footer #box_social ul li a#flickr {background:url(layout/flickr.png) 0 0 no-repeat;}
#footer #box_social ul li a#facebook {background:url(layout/facebook.png) 0 0 no-repeat;}
#footer #box_social ul li a#twitter {background:url(layout/twitter.png) 0 0 no-repeat;}
#footer #box_social ul li a#googleplus {background:url(layout/googleplus.png) 0 0 no-repeat;}
#footer #box_social ul li a#tencent {background:url(layout/tencent.png) 0 0 no-repeat;}
#footer #box_social ul li a#feed_rss {background:url(layout/rss.png) 0 0 no-repeat;}

#footer a {	color:#626262; text-decoration: none; }
#footer a:hover {color:#333333;}
#footer img { margin-bottom: 2px; }
#footer strong { margin:0; padding:0;}
#footer p { margin:10px 0; }

/* Footer END */

/* generic message */
div.error-message {color: red; font-size: 80%;}

/* Debugging */
pre {color:#000; background:#f0f0f0; padding:1em;}
pre.cake-debug {background:#ffcc00; font-size:120%; line-height:140%; margin-top:1em; overflow:auto; position:relative;}
div.cake-stack-trace {background:#fff; border:4px dotted #ffcc00; color:#333; margin:0px; padding:6px; font-size:120%; line-height:140%; overflow:auto; position:relative;}
div.cake-code-dump pre {position:relative; overflow:auto;}
div.cake-stack-trace pre, div.cake-code-dump pre {color:#000; background-color:#F0F0F0; margin:0px; padding:1em; overflow:auto;}
div.cake-code-dump pre, div.cake-code-dump pre code {clear:both; font-size:12px; line-height:15px; margin:4px 2px; padding:4px; overflow:auto;}
div.cake-code-dump span.code-highlight {background-color:#ff0; padding:4px;}
div.code-coverage-results div.code-line {padding-left:5px; display:block; margin-left:10px;}
div.code-coverage-results div.uncovered span.content {background:#ecc;}
div.code-coverage-results div.covered span.content {background:#cec;}
div.code-coverage-results div.ignored span.content {color:#aaa;}
div.code-coverage-results span.line-num {color:#666; display:block; float:left; width:20px; text-align:right; margin-right:5px;}
div.code-coverage-results span.line-num strong {color:#666;}
div.code-coverage-results div.start {border:1px solid #aaa; border-width:1px 1px 0px 1px; margin-top:30px; padding-top:5px;}
div.code-coverage-results div.end {border:1px solid #aaa; border-width:0px 1px 1px 1px; margin-bottom:30px; padding-bottom:5px;}
div.code-coverage-results div.realstart {margin-top:0px;}
div.code-coverage-results p.note {color:#bbb; padding:5px; margin:5px 0 10px; font-size:10px;}
div.code-coverage-results span.result-bad {color:#a00;}
div.code-coverage-results span.result-ok {color:#fa0;}
div.code-coverage-results span.result-good {color:#0a0;}
