#cercahm {
    width: 100%;
    max-width: 100%;
    height:60px;
	min-height:60px;
    position: absolute;
	left: 0;
	top: -174px;
	padding-top: 10px;
	text-align:center;
    z-index: -100;
    filter: alpha(opacity=0);
    opacity: 0;
 transition: opacity .6s;
 -webkit-transition: opacity 0.6s;
 -moz-transition: opacity 0.6s;
	background: #fff; 
	border-TOP: 1PX #E5E5E5 SOLID;
	border-bottom:1PX #E5E5E5 SOLID;
	border-left: 1PX #E5E5E5 SOLID;
	border-right: 1PX #E5E5E5 SOLID;
	border-radius: 10PX;
}
#cercahm a,
#cercahm span 
{display:block; border-bottom: 1px solid #CBCBCB; padding:7px 0 }



#cercahm input.input5 {border: 1px solid #dfdfdf; padding: 8px; border-radius: 6px; margin-top: 2px; width:60%;}
#cercahm a.inviog {border: 1px solid #dfdfdf; padding: 6px; border-radius: 6px; text-decoration:none; color: #00820e;}
#cercahm input.inviog { padding: 8px 12px; cursor: pointer; border: inherit; }
DIV#cercahm > input.inviog {
	border-TOP: 0PX #E5E5E5 SOLID;
	border-bottom:0PX #E5E5E5 SOLID;
	border-left: 0PX #E5E5E5 SOLID;
	border-right:0PX #E5E5E5 SOLID;
	border-radius: 0;
	argin-left: 10px;
}
#cercahm, #cercahm input, #cercahm a {vertical-align: middle}
#cercahm input.inviog    {
   	content: "";
	background: url(img/cercan.png);
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: center;
}
 
.vedi  {
	display:inline-block;
    cursor: pointer;
	font-weight:bold;
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
	position:absolute; 
	width: 36px;
 	height: 36px;
    vertical-align: top;
top: 36px;
    right: 100px;
    z-index: 1002;
}
 
[id='vedi']:checked ~ .vedi:after {
    position: absolute; right: 0; top: 0; height: 36px; width: 36px; display: block;  
	content: "";
	background: url(img/cercacn.png) #FFF;
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: center;

}
 
.vedi:before  {
    position: absolute; right: 0; top: 0; height: 36px; width: 36px; display: block; 
	content: "";
	background: url(img/cercan.png) #FFF;
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: center;

}
 
[id='vedi']:checked ~ #cercahm {
    overflow-y: hidden;
	z-index:2100;
	display:block;
    opacity: 1;
	top: 74px;
}


.chiudi {
	display:inline-block;
    cursor: pointer;
	font-weight:bold;
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
	position:relative; 
	width: 36px;
 	height: 36px;
    vertical-align: top;
	position: absolute;
	top: 0;
	right: 0;
}
.chiudi {z-index: 2;}

.chiudi:after {
    position: absolute; right: 0; top: 0; height: 36px; width: 36px; display: block;  
	content: "";
	background: url(img/sun.png) #FFF;
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
}

[id='vedi']:checked ~ .chiudi {
    left:auto;
    right: 0px;
    top: 10px;
	position: absolute;
	z-index: 3000;
	top: -174px;
}




























/*

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
@media screen and (min-height: 640px) {
    html,
    body {
      margin: 0;
    }
}
#xlegenda
{position:relative; display:block; height: 36px; margin-top:4px}

#legenda {
    width: 100%;
    max-width: 100%;
    height: 100%;
	min-height:100%;
    position: fixed;
    top: -100%;
    bottom: 0;
    margin: auto;
    left:0;
	right:0;
	padding:0;
	text-align:center;
    z-index: -100;
	background:inherit;
    filter: alpha(opacity=0);
    opacity: 0;
 transition: opacity .6s;
 -webkit-transition: opacity 0.6s;
 -moz-transition: opacity 0.6s;
}
#blsu {display:block; text-align:right; height: 38px}
#legenda ul {padding:0; margin:0;}
.vedi {
    position: absolute;
    right: 0px;
    top: 0;}
.vedi, .chiudi {
	display:inline-block;
	text-align:center;
    background: #DDD;
    color: #333;
    cursor: pointer;
    font-size: 16PX;
    line-height: 36px;
    width: 80px; height: 36px; 
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
	border-radius: 4px;
}
.vedi, .chiudi {z-index: 2;}
.vedi:after {
    content: url('img/cercan.png.png');
    text-decoration: none;
	max-width: 32px; max-height: 32px;
}
.chiudi:after {
    content: 'CHIUDI';
    text-decoration: none;
}
.vedi:hover, .chiudi:hover {
    color: #666;
	background:#CCC;
}
[id='vedi']:checked ~ .chiudi {
    left:auto;
    right: 0px;
    top: -170px;
	position: absolute;
	z-index: 3000;
}
[id='vedi']:checked ~ #legenda {
    top: 0px;
	height: 100%;
    overflow-y: auto;
	z-index:2100;
	background:url(img/nero.png);
	display:block;
    opacity: 1;
}
@media only screen and (max-height:479px) {
#legenda {
    height: 100%;
	min-height:100%;
    top: -100%;}
[id='vedi']:checked ~ #legenda {
    top: 0px;
	height: 100%;}}
@media only screen and (max-width:767px) {	
#xlegenda {margin-bottom:4px;}
