#wrapper {
	width: 980px;
	margin: auto;
}

#header {
	height: 177px;
	position: relative;
	z-index: 10;
}

#middle {
	margin: 0 50px;
}

.content { 
	margin-left: 50px;
	width: 880px;
}

#footer {
	background: url('../images/line-footer.jpg') no-repeat center 45px;
	height: 100px;
	font-size: 9px;
	font-weight: bold;
	padding-top: 45px;
    width: 900px;
    margin-left: 40px;
}

#footer  p {
	line-height: 59px;
	text-align: center;
}

#logo {
	width: 226px;
	height: 38px;
	background: url('../images/logo-photology.png') no-repeat left top;
	display: block;
	overflow: hidden;
	text-indent: -1000px;
	position: absolute;
	left: 0;
	top: 30px;
}

#social {
	position: absolute;
	right: 0;
	top: 40px;
}

#social .social {
	float: left;
	margin-left: 10px;
}

/*menu header*/
#menuHeader {
	position: absolute;
	left: 0;
	top: 98px;
	height: 49px;
	background: url('../images/background-menu.jpg') repeat-x left top;
	width: 100%;
}

#menuHeader ul, #menuHeader li {
	list-style: none;
}

.menu1, .menu2, .menu3 {
	margin: 0;
	padding: 0;
	margin-top: 1px;
}

.menu1 li, .menu2 li, .menu3 li {
	margin: 0;
	padding: 0;
	position: relative;
	display: block;
	float: left;
}

#menuHeader a {
	text-decoration: none;
	text-transform: uppercase;
}

.livello1, .livello1:hover {
	color: #808080;
	font-family: 'Rufina', serif;
	display: block;
	height: 39px;
	line-height: 39px;
	font-weight: bold;
	margin-top: 4px;
}

.livello1 span {
	display: block;
	height: 39px;
	line-height: 39px;
	margin-left: 5px;
	padding-right: 5px;
}

.livello1.hover:hover, .show-submenu .livello1.hover, .selected{
	color: #808080;
	background: url('../images/btn-hover-menu-header.jpg') no-repeat left top;
}
/*
.livello1:hover .virgola, .selected .virgola {
	visibility: hidden;
}*/

.livello1.hover:hover span, .show-submenu span, .selected span{
	background: url('../images/btn-hover-menu-header.jpg') no-repeat right top;
}

.menu1, .menu2 {
	float: left;
}

#menuHeader  .menu2 {
	margin-left: 10px;
}

.menu2 a{
	margin-left: 3px;
	margin-right: 3px;
}

.menu3 {
	float: right;
}

.menu3 li {
	margin-top: 5px;
	height: 39px;
	background: url('../images/line-left.jpg') no-repeat left top;
}

.menu3 .livello1 {
	margin-top: 0;
}

#menuHeader .menu3 li {
	padding: 0 15px;
}

#menuHeader .menu3 .last {
	padding-right: 0;
}

.submenu {
	display: none;
	margin-left: -70px;
	width: 180px;
	position: absolute;
	left: 0;
	top: 53px;
	background: url('../images/box-menu.png') no-repeat left top;
}
.show-submenu .submenu {
	display: block;
}
.submenu a {
	font-weight: bold;
	padding: 0 2px;
	color: #808080;
    display: block;
}
.submenu a:hover {
	color: #fff;
	background: #808080;
}
.submenu li {
	float: none;
	padding: 3px 0;
}
.submenu-content {
	margin-top: 30px;
	padding: 0 18px;
	background: url('../images/box-menu.png') repeat-y -360px top;
}
.submenu-footer {
	overflow: hidden;
	height: 16px;
	background: url('../images/box-menu.png') repeat-y -180px top;
}
/*menu header*/