.rg-image-wrapper{
	position:relative;
	padding:20px 30px;
	background:#aaa;
	
	min-height:20px;
	-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.9);
    -webkit-box-shadow: 0px 1px 3px rgb(0 0 0 / 90%);
	box-shadow: 0px 1px 3px rgb(0 0 0 / 90%);
}
.rg-image{
	position:relative;
	text-align:center;
	line-height:0px;
}
.rg-image img{
	max-height:100%;
	max-width:100%;
}
.rg-image-nav a{
	position:absolute;
	top:0px;
	left:0px;
	background:#000 url(../images/nav.png) no-repeat -20% 50%;
	width:28px;
	height:100%;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
	
}
.rg-image-nav a.rg-image-nav-next{
	right:0px;
	left:auto;
	background-position:115% 50%;
}
.rg-image-nav a:hover{
	opacity:0.8;
}
.rg-caption {
	text-align:center;
	margin-top:20px;
	position:relative;
}
.rg-caption p{
	font-size:11px;
	letter-spacing:2px;
	font-family: 'Trebuchet MS', 'Myriad Pro', Arial, sans-serif;
	line-height:16px;
	padding:0 15px;
	text-transform:uppercase;
}
.rg-view{
	height:10px;
}
.rg-view a{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:#464646 url(../images/views.png) no-repeat top left;
	border:3px solid #464646;
	opacity:0.8;
}
.rg-view a:hover{
	opacity:1.0;
}
.rg-view a.rg-view-full{
	background-position:0px 0px;
}
.rg-view a.rg-view-selected{
	background-color:#6f6f6f;
	border-color:#6f6f6f;
}
.rg-view a.rg-view-thumbs{
	background-position:0px -16px;
}
.rg-loading{
	width:46px;
	height:46px;
	position:absolute;
	top:50%;
	left:50%;
	background:#000 url(../images/ajax-loader.gif) no-repeat center center;
	margin:-23px 0px 0px -23px;
	z-index:100;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	opacity:0.7;
}

.ads{
	margin-top: 10px;
	text-align: center;
}

#float-fix{
	height: 170px;
}

#navigation-panel{
	background: #aaa;
    padding: 10px 27px;
    position: relative;
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.9);
    -webkit-box-shadow: 0px 1px 3px rgb(0 0 0 / 90%);
    box-shadow: 0px 1px 3px rgb(0 0 0 / 90%);
    margin-right: auto;
    max-width: 300px;
    margin-left: 10px;
	margin-right: 20px;
	float:left;
	
}

#p_anno{
	margin-bottom: 1em;
}
#p_mese{
	margin-bottom: 1em;
}
#p_input{
	margin-top: 1em;
}
#b_input{
	background-color: #c0c0c0; /* Green */
	border: none;
	color: white;
	padding: 1em 1em;
	text-align: center;
	text-decoration: none;
	display: inline-block;
}

#loghi {
	margin:auto;
	width:54%;
}

.logo {
	margin: 20px 30px 10px 30px;
	vertical-align: middle;
}

@media only screen and (max-width: 1377px) {
  /* For mobile phones: */
  .logo {
	margin: 20px 10px 10px 10px;
	max-width:20%;
	height:auto;
	}
}

@media only screen and (max-width: 550px) {
  /* For mobile phones: */
  #float-fix {
    height: 220px;
	}
}