*{
margin:0px;
border:0px;
}
body{
background-color:#f9f9f5;	
font-family: Arial,sans-serif;
font-size:14px;
line-height:18px;
color:#333333;
}
.right_float {
    float: right;
}
.dropdown-menu {
    border-bottom: 0 solid #333333;
    color: #333333;
    display: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 16px;
    padding-bottom: 6px;
}
#container a{
color: #999999;	
}
#abstract{
position:fixed;	
top:130px;
margin-left:10px;
}
#status {
	width:550px;
	height:400px;
	position:absolute;
	left:50%; /* centers the loading animation horizontally one the screen */
	top:50%; /* centers the loading animation vertically one the screen */
	background-image:url(../img/status.gif); /* path to your loading animation */
	background-repeat:no-repeat;
	background-position:center;
	margin:-200px 0 0 -275px; /* is width and height divided by two */
}
#preloader {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:#f9f9f5; /* change if the mask should have another color then white */
	z-index:99; /* makes sure it stays on top */
}
.percento20{
float:left;
width:30%;
}
#padding20{
padding-top:20px;
padding-bottom:20px;
}
.percento80{
float:left;
width:70%;
}
.percento50{
float:left;
width:50%;
}

#container{
	width:980px;
	margin:auto;
	margin-top:130px;
}
#container.fluid .item {
    width:  49.3%; 
    margin: 3px 0.2% 3px 0.2%;
}
#container.fluid .item2 {
    width:  99.3%; 
    margin: 3px 0.2% 3px 0.2%;
}
#container.fluid .item3 {
	width:  100%;
	margin-top: 3px;
	margin-right: 0%;
	margin-bottom: 3px;
	margin-left: 0%;
}
#container.fluid .item img, #container.fluid .item2 img
{
	display: block;
	width: 100%;
	height: auto !important;
	opacity:1;
}
#masthead{
	padding: 30px 0;
    width: 100%;
	top:0px;
	z-index:255;
	/*background-color:#f9f9f5;
	z-index:255;
	/*background: rgba(249, 249, 245, 0.8) none repeat scroll 0 0;*/
	}
	.wrapper {
    margin: 0;
}
header{
	padding: 30px 0;
    /*position: fixed;*/
    width: 100%;
	top:0px;
	background-color:#f9f9f5;
	z-index:255;
	}

#masthead.fixed {
	left: 0;
	opacity:0.95;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 255;
	background-color:#f9f9f5;
	/*border-bottom:solid 1px #999;*/
	-webkit-transition: background-color 0.4s ease;
	-moz-transition: background-color 0.4s ease;
	-o-transition: background-color 0.4s ease;
	transition: background-color 0.4s ease;
	padding-top: 30px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}
.menu{
padding-top: 35px;
margin-right:5px;
}
a{
text-decoration:none;	
}
.item span{
	font-size: 14px;
	bottom:10px;
	right:10px;
	padding:5px;
	line-height:20px;
	position:absolute;
	color:#000;
	background-image:url('../images/white.png');
	display:none;
}
.header-top{
width:980px;
margin:0 auto;
}
/*
.item:hover{
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
}*/



.item:hover > span{
display:block;	
}
/*menu*/
nav#main-nav {
	z-index: 50;
	display: block;
	/*margin-bottom: 40px;*/
	}
	
nav#main-nav ul {
	position: relative;
	z-index: 49;
	}
	
nav#main-nav ul li {
	position: relative;
	z-index: 45;
	float: left;
	margin-left: 20px;
	}

nav#main-nav > ul > li > a  {
	display: block;
	font-size: 12px;
	line-height: 16px;
	color: #333333;
	text-decoration: none;
	text-transform: uppercase;
	position: relative;
	z-index: 45;
	border-bottom: 0px solid rgba(51, 51, 51, 0);
	padding-bottom: 6px;
	}
	
nav#main-nav > ul > li:hover {
	z-index: 46;
	}
	
nav#main-nav > ul > li:hover > a {
	z-index: 48;
	color: #999999;
	border-bottom: 0px solid #333333;
	}
	
nav#main-nav > ul > li.current-menu-item > a, nav#main-nav > ul > li.current-menu-ancestor > a {
	color: #999999;
	border-bottom: 0px solid #333333;
	}
	
nav#main-nav ul li .sub-menu {
	border-top: 1px solid #333333;
	position: absolute;
	top: 16px;
	right: 0px;
	
	width: 140px;
	padding: 5px 5px 0px 0px;
	display: none;
	z-index: 47;
	text-align: left;
	box-shadow:  rgba(0,0,0, 0.1) 0px 0px 0px;
	-moz-box-shadow:  rgba(0,0,0, 0.1) 0px 0px 0px;
	-webkit-box-shadow:  rgba(0,0,0, 0.1) 0px 0px 0px;
	} 
	
nav#main-nav ul .sub-menu li {
	float: none;
	}
	
nav#main-nav ul .sub-menu li a {
	color: #999999;
	line-height: 12px;
	font-size: 11px;
	font-weight: normal;
	}
	
nav#main-nav ul .sub-menu li a:hover {
	color: #f9bb00;
	}
	
nav#main-nav ul .sub-menu li.current-menu-item > a, nav#main-nav ul .sub-menu li.current-menu-ancestor > a {
	color: #f9bb00;
	}
ol, ul {
    list-style: outside none none;
}
#logo{
max-width:100%;	
}
.dropdown-menu {
	display:none;	
	}
	.clearfix::after {
    clear: both;
    content: "";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
#responsive-nav {
	display: none;

	position: absolute;
	top: 50px;
	right: 0px;
	background-color:#f9f9f5;
	min-width: 280px;
	padding: 10px 20px 10px 20px;
	z-index: 255;
	text-align: right;
	box-shadow:  rgba(0,0,0, 0.1) 0px 0px 0px;
	-moz-box-shadow:  rgba(0,0,0, 0.1) 0px 0px 0px;
	-webkit-box-shadow:  rgba(0,0,0, 0.1) 0px 0px 0px;
	}

#header-responsive #responsive-nav {
	right: inherit;
	left: 0px;
	text-align: left;
	}
	
#responsive-nav li {
	float: none;
	}

#responsive-nav li a  {
	color: #333333;
	line-height: 26px;
	font-size: 16px;
	
	}
	
#responsive-nav li:hover > a, #responsive-nav li.current-menu-item > a, #responsive-nav li.current-menu-ancestor > a {
	color: #cccccc;
	}
	
#responsive-nav li ul {
	width: auto;
	position: inherit;
	border: none;
	padding: 0;
	display: block;
	left: inherit;
	top: inherit;
	position: relative;
	margin-bottom: 10px;
	}
	
#responsive-nav li ul li {
	display: block;
	padding: 0;
	position: inherit;
	width: 100%;
	}
	
#responsive-nav li ul li a { 
	font-size: 11px;
	padding-right: 20px; 
	color: #999999;
	display: block;  
	}
	
#header-responsive #responsive-nav li ul li a { 
	padding-right: 0px; 
	padding-left: 20px; 
	}
	
#responsive-nav li ul li:hover > a, #responsive-nav li ul li.current-menu-item > a, #responsive-nav li ul li.current-menu-ancestor > a { 
	color: #f9bb00;
	}

	
#responsive-nav li ul li ul {
	border: none;
	padding: 0;
	position: inherit;
	left: 0px;
	top: 0px;
	margin: 0;
	}
	
#responsive-nav li ul li ul li a { padding-right: 40px; font-weight: normal;  }

#header-responsive #responsive-nav li ul li ul li a { padding-right: 0px; padding-left: 40px;   }

.progetti2 b{
	font-size:18px;
}

@media only screen and (max-width:1007px) and (min-width:998px)
{
.menu{
margin-right: 10px;	
}
#container{
/*padding-right: 10px;	
padding-left:10px;
width:960px;*/
}
}


@media only screen and (max-width:997px) and (min-width:300px)
{
.percento20{
width:100%;
}
.percento50{
width:100%;
}
.percento80{
width:100%;
}
.header-top{
width:100%;	
}
#container{
	width:calc(100% - 40px);
	padding:20px;
	background: rgba(249, 249, 245, 0.8) none repeat scroll 0 0;
	padding-top:0px;
}
img{
max-width:100%;	
}
#logo{
}
#wrapper{
min-width:auto;	
}
#container.fluid .item {
    /*width:  90.8%; */
	width: 100%;
    margin: 3px 0.2% 3px 0.2%;
}

#container.fluid .item3 {
	width:  100%;
	margin-top: 3px;
	margin-right: 0%;
	margin-bottom: 3px;
	margin-left: 0%;
}
.wrapper{
margin: 0 20px;	
}
#abstract{
position:relative;
top:0px;
}
.dropdown-menu {
	display:block;	
	}
	nav#main-nav{
	display:none;	
	}
	#logo {
	/*max-width:75%;*/
	max-width:180px;
	float:left;
	display:block;
	}
	#footer div{
	padding-left:20px;
	padding-right:20px;
	width:calc(100% - 40px);
	}
	.menu{
	margin-right:0px;	
	}
	.menu {
    padding-top: 15px;

}
#masthead.fixed {
    padding: 15px 0;
}
#container {
    margin: 80px auto auto;
}
}