/* //ALE Modifica perche' non era possibile fare scroll di stampa html*/
@media print{
    input{
        border:0 none; 
        text-align: center;
        font-weight: 600;
    }
}

html {
	overflow: visible;	
}

/* STYLE FOR PRINT OUTPUT */

/* General settings for HTML print, especially legend */

BODY {
    background : white;
    color: black;
    overflow:auto;
}

TH {
    font-size: 11px;
    font-weight: bold;
    text-align: left;
}

TD {
    font-size: 11px;
    text-align: left;
}

#compass p{
    margin:5px 0;
}
b{
    font-size: 9px;
}

#print_main {
    padding:5px;
    border:5px solid;
    position: absolute;
    top: 0px;
    left: 0px;
    /*margin: 30px;*/
    width: 98%;
    height: 700px;
}


#print_titlebar {
      background-color: #336699;
    border: 2px solid #000000;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    height: 50px;
    left: 0;
    position: relative;
    top: 0;
    width: 73%;
}

#print_titlebar div{
    display: inline;
}

#print_title_text {
    vertical-align:top; 
    padding: 10px;
    font:30px;
    margin: 0 auto;
}


#print_mapzone {
     height: 100%;
    left: 0;
    position: absolute;
    top: 40px;
    width: 100%;
}

#print_map_image {
     height: 99%;
    left: 5px;
    position: absolute;
    top: 20px;
    width: 72%;
}
#print_map_image img{
 border: 5px groove;
    height: 90% !important;
    width: 100%;
}
#print_map_refimage {
    position: absolute;
    top: 0px;
    left: 0px;
    border: 1px solid #000000;
}

#print_map_scalebar {
    margin: 0 auto;
    width: 50%;
}

#print_scale_text {
font-size: 10px;
    font-weight: bold;
    left: 5px;
}


#print_legendzone {
     border: 5px groove #000000;
    height: 97%;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 25%;
}

#print_legend_table {
    padding: 8px;
}

#compass {
    text-align: center;
}

#compass img{
    width:150px;
    height:auto;
}
#compass h3 {
    margin: 0;
}
