/** ----------------------------------------------------------
 *
 * Contains the main layout of the page and the individual styles.
 * Acts as the main stylesheet for theme.
 *
 *		Include your notes or table of contents below....
 *		Include color hex's or values of your grid
 *
 *		1. OOCSS GRID
 *		2. MAIN LAYOUT
 *		3. HEADER
 *			- Brand
 *			- Search Form
 *		4. Navigation
 *			- Primary Navigation
 *			- tablet Navigation
 *			- Secondary Navigation
 *			- Secondary Nav 2-5 Levels deep
 *		5. Mixed
 *		6. Footer
 *		7. Page Specific Layout
 *			- Homepage
 *			- Search Results
 *		8. Device and Responsive Layout
 *			- Breakpoint 960px
 *			- Breakpoint 640px
 *				- Search Form
 *				- Main Content
 *		9. Print Styles
 *			- Simple Theme custom print styles
 *
 * @author Your Name <email@silverstripe.com>
 * ------------------------------------------------------- */

/* OOCSS Grid
* https://github.com/stubbornella/oocss/wiki/grids
*/

/* mattia */
html, body {
	height: 100%;
}

.line, /* line - Groups units on one horizontal line. Note: for mobile layout units may be stacked to avoid horizontal scrolling. */
.lastUnit {
	overflow:hidden;
	*overflow:visible;
	*zoom:1;
	padding:0 10px;
}
.unit { /* unit - Base class which divides a line into sections (columns). */
	float:left;
	padding:0 10px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box; /* box-sizing:border-box; creates a box-model where 
	padding and border are NOT added onto the width - they are included in the width, 
	so a 200px wide element with 20px padding will be 200px, NOT 240px wide */
}
.unitRightv { /* Use this class if you want to offset a column eg: |--content(.unit)--|--content(.unit)--|--no-content--|--no-content--|--content(.unitRighttv)--| */
	float:right;
}

/* sizeXofY - Extends unit. Indicates the fractional width of the unit, for example size3of4 would take up three quarters, or 75%, of the horizontal space. 
The following fractions are supported: 1, 1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, 4/5 */
/* It is possible to add more columns if you wish you will just have to add the fractions that are missing eg: .size1of6 {width:16.66666%;} */

.size1of1 {
	float:none;
}
.size1of2 {
	width:50%;
}
.size1of3 {
	width:33.33333%;
}
.size2of3 {
	width:66.66666%;
}
.size1of4 {
	width:25%;
}
.size3of4 {
	width:75%;
}
.size1of5 {
	width:20%;
}
.size2of5 {
	width:40%;
}
.size3of5 {
	width:60%;
}
.size4of5 {
	width:80%;
}
.lastUnit { /* lastUnit - Extends unit. Applied to the last child of every line. */
	float:none;
	width:auto;
	_position:relative; /* Bug fix for IE6 - Internet Explorer 6 and below wouldn't fail on properties that were prefixed with non-alphanumeric characters. 
	meaning that anything prefixed with _ wouldn't be picked up by any other browsers */
	_left:-3px;
	_margin-right:-3px;
}

.header2 .lastUnit {
	display: flex; /* mattia */
}

/* MAIN LAYOUT */
body {
    margin: 0;
	/*background: #ededed;*/ /* mattia */
	background: white;
    min-width: 240px; 
    -webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */
}
	.ie7 body,
	.ie8 body {
	    min-width: 860px; /* media queries are not supported in ie7/8 without a polyfill */
	}
	.main {
	    background: #fff;
	    min-height: 300px;
	}
	.inner {
	    max-width: 1100px;
	    margin: 0 auto;
	    padding: 0 30px;
	}
	.inner2 {
	    max-width: 1100px;
	    margin: 0 auto;
	    padding: 0 30px;
	}
	.ie6 .inner {
	    width: 960px;
	}
	.no-sidebar .content-container {
	    float: left;
	    width:100%; /* makes content container full width when there is no sidebar */
	}
	.sidebar { /* this is the sidebar element */
	    margin-top: 12px;
	}
	.no-sidebar .sidebar {
		display: none;
	}


/* HEADER */
header{
	display: none;
}

.header2 {
    background: #cc0001;
}

	.header2 .inner2 {
	    /*padding-top: 10px;*/ /* mattia */
	    position: relative;
	    min-height: 72px;
	}

	.header2 .inner2  hr { /* mattia */
	    display: block;
		border: none;
			border-left-color: currentcolor;
			border-left-style: none;
			border-left-width: medium;
		border-left: 1px solid white;
		height: 70px;
		width: 1%;
		margin: 0px;
	}
	
.header {
    background: #990000;
}
	.header .inner {
	    padding-top: 10px;
	    position: relative;
	    min-height: 42px;
	    display:none;
	}

	/* Brand */
	header .brand, header .brand:hover {
	    float: left;
	    color: #fff;
	    display: inline-block;
	}
		.brand h1 {
		    margin: 0;
		    padding: 0;
		    font-size: 48px;
		    font-family: "HelveticaNeueLTPro-Bd", "Helvetica Neue LT Pro Bold", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue LT Pro", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
		    color: #fff;
		    font-weight: 600;
		    font-stretch: normal; /* default value. No font stretching */
		    line-height: 1em;
		}
		.brand p {
		    color: #888;
		    margin-bottom: 22px;
		}

	/* Search form */

	#searchlite_home{
		display:none;
	}
	
	.search-bar {
		position: absolute;
		right: 13px;
		top: 12px;
	}
		.search-bar .field {
			margin: 0;
			padding: 0;
		}
		.search-bar form input.text {
		    width: 155px;
		    padding: 5px 34px 5px 15px;
		    color: #888;
		    margin: 0;
		    border: none;
		    -moz-border-radius: 14px;
		    border-radius: 14px;
		    background: #fff;
		}

		.search-bar form input.action { /* positions the search button icon over the top of the search input */
		    font-size: 14px;
		    position: absolute;
		    right: 5px;
		    top: 0;
		    cursor: pointer;
		    border: none;
		    padding: 5px;
		    background: none;
		    font-family: 'WebSymbolsRegular';
		    color: #848484;
			border-radius: 0;
			margin: 0;
		}
		.search-bar form input.active,
		.search-bar form input.action:hover {
		    color: #000;
		}
		.search-bar form input:focus,
		.header textarea:focus {
		    outline: none; /* removes default browser outlining on focus */
		}
		.search-dropdown-icon {
		    display: none; /* hides search-dropdown-icon when site is at full width - media queries set it to display:block when at mobile/tablet width */
		}

.header3 {
    background: #990000;
    height:10px;
}

/* NAVIGATION */

	/* Primary navigation */
	.header .inner .unit {
		position: relative; /* used to position the main navigation */
	}
	.header .primary ul {
		position:absolute;
		top:0;
		right:0; /* positions the main navigation */
	}
	.header .primary li {
	    float: left;
	    padding-bottom: 14px;
	    margin: 0 ;
	    position: relative;
	    white-space: nowrap; /* forces text to never wrap onto a second line */
	}
	.header .primary li a {
	    color: #fff;
	    font-size: 14px;
	    font-family: Helvetica, Arial, sans-serif;
	    padding: 6px 8px;
	    font-weight: bold;
	    display: block;
	}
	.header .primary li a:hover {
	    color: #fff;
	}
	.header .primary li.section a,
	.header .primary li.current a {
	    color: #fff;
	}
	.header .primary li.section:after,
	.header .primary li.current:after {
	    content: '}'; /* adds triangle beneath current nav item ('}' is renders as a triangle when WebSymbolsRegular is set as the font) */
	    display: block;
	    position: absolute;
	    left: 50%;
	    margin-left: -7px;
	    bottom: -7px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 30px;
	    color: #fff;
	    text-align: center;
	    line-height: 20px;
	}

	/* Tablet Navigation */
	nav{
		height:30px;
	}
	
	.nav_navig{
		display:none;
	}
	
	.nav_search{
		display:none;
	}
	/* When navigation and logo overlap tablet-nav is initialized */
	.tablet-nav .brand p {
	    margin-bottom: 0;
	}
	.tablet-nav .header .inner {
	    padding-top: 10px;
	}
	.tablet-nav .header .primary ul {
	    float: left;
	    clear: both;
	    position: relative;
	    margin: 20px 0 0 -13px;
	    white-space: nowrap;
	    right: auto; /* resets the right property value that is set for the desktop site */
	}
		.tablet-nav .header .primary ul li {
		    white-space: nowrap;
		}
			.tablet-nav .header .primary ul li a { /* there is no hover on touch devices so no transition on hover is necessary */
			    -moz-transition: none;
			    -webkit-transition: none;
			    transition: none;
			}
	.tablet-nav .footer .right {
	    float: left;
	    width: 100%;
	}

	/* Secondary navigation */
	.main .secondary h3 {
	    font-size: 20px;
	    color: #AAA;
	    margin: 0 0 8px 0;
	    font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
	    font-weight: normal;
	}
	.main .secondary {
	    border-bottom: 1px solid #e5e5e5;
	}
		.main .secondary ul {
		    padding: 0;
		    margin: 0;
		}
		.main .secondary li {
		    border-top: 1px solid #e5e5e5;
		    position: relative;
		    list-style-type: none;
		    margin-bottom: 0;
		}
			.main .secondary li .arrow { 
			    color: #b80000;
			    padding-right: 5px;
			    display: block;
			    font-size: 15px;
			    line-height: 20px;
			    position: absolute;
			    left: 2px;
			    top: 7px;
			    -moz-transition: 0.2s; /* this transition moves the arrow from left:2px to left:6px */
			    -webkit-transition: 0.2s;
			    transition: 0.2s;
			}
		.main .secondary li a:hover .arrow {
		    left: 6px; /* this sets the final position for the arrow transition */
		}
		.main .secondary li a { /* side nav link styling */
		    padding: 10px 0;
		    display: block;
		    text-transform: uppercase;
		    letter-spacing: 2px;
		    font-size: 11px;
		    color: #333;
		    line-height: 17px;
		    border-bottom: none;
		    font-family: 'Lucida Sans', 'Lucida Grande', Arial, Helvetica, sans-serif;
		}
		.main .secondary li .text {
		    padding-left: 28px;
		    display: block;
		}
		.main .secondary li.current a.current {
			color: #b80000;
			background-color: #EDEDED;
		}
		.main .secondary li.section,
		.main .secondary li.current {
		    background-color: #F3F3F3;
		}
			.main .secondary li.section a,
			.main .secondary li.current a {
			    color: #000;
			}
		

		/* Secondary navigation 2-5 levels deep */
		.main .secondary ul ul {
			display: none;
		}
		.secondary ul li.current ul,
		.secondary ul li.section ul { /* Only show child pages from selected parent */
			display: block;
		}
		.secondary li.current ul ul {
			display: none;
		}
		.main .secondary ul ul li a { padding-left: 10px; } /* Indent all sidebar navigation levels*/
			.main .secondary ul ul li a .arrow { left: 12px; }
			.main .secondary ul ul li a:hover .arrow { left: 16px; }

		.main .secondary ul ul ul li a { padding-left: 20px; }
			.main .secondary ul ul ul li a .arrow { left: 22px; }
			.main .secondary ul ul ul li a:hover .arrow { left: 26px; }

		.main .secondary ul ul ul ul li a { padding-left: 30px; }
			.main .secondary ul ul ul ul li a .arrow { left: 32px; }
			.main .secondary ul ul ul ul li a:hover .arrow { left: 36px; }
			
		.main .secondary ul ul ul ul ul li a { padding-left: 40px; }
			.main .secondary ul ul ul ul ul li a .arrow { left: 32px; }
			.main .secondary ul ul ul ul ul li a:hover .arrow { left: 36px; }

		.main .secondary li a:hover,
		.main .secondary li.section a:hover,
		.main .secondary li.current a:hover {
			color: #b80000;
		}




/* MIXED */
header:after,
header2:after,
.main:after,
#Root:after,
.search-bar:after,
header .inner:after,
header2 .inner2:after,
footer:after { /* clearfix */
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}
.search-bar form input.action,
.header .primary li a,
.footer a { /* adds color transition when links/inputs on hover */
    color: #ffffff;
}
.footer a.brand { color: #333; margin-left: 0; }
.footer a.brand:hover { color: #B80000; }
body h1 span.amp {
    font-family: Baskerville,"Goudy Old Style","Palatino","Book Antiqua",Georgia;
    font-style: italic;
}


/* FOOTER */
.footer {
    color: #ffffff;
    background: #990100;
    padding: 20px 0;
    font-size: 12px;
	line-height: 15px;
}
	.footer a {
	    color: #ffffff;
	}
	.footer a:hover {
	    color: #ffffff;
	}
	.footer .left {
	    float: left;
	    color: #000;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer .right {
	    float: right;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer .center {
	    text-align: center;
	    /*display: block;*/
		margin-bottom: 10px;
		display: flex;
		justify-content: center;
		text-transform: uppercase;
	}

	.footer .dot {
		padding-right: 2%;
		padding-left: 2%;
	}

	.footer .link {
		font-weight: bold;
	}

	.footer a {
		text-decoration: none;
	}
	
	.footer span {
	    padding: 0 3px;
	    color: #bbb;
	}
	.footer .primary,
	.footer .primary ul {
	    display: inline;
	    margin: 0;
	    padding: 0;
	}
		.footer .primary li {
		    display: inline;
		}
	.ie6 .footer .primary li,
	.ie7 .footer .primary li { /* this is a bugfix for ie6/7 */
	    display: inline;
	    zoom: 1;
	    margin-right: 10px;
	}
	.footer .primary li:after { /* adds '/' to separate the footer navigation items */
	    padding: 0 3px 0 5px;
	    content: '/';
	    color: #999;
	}
	.footer .primary li:last-child:after {
	    content: ''; /* makes sure last nav item doesn't have a '/' following it */
	}
	.footer .arrow {
	    padding: 0 8px 0 5px;
	    color: #b80000;
	    font-size: 13px;
	}
	.footer .primary .nav-open-button {
	    display: none; /* the footer includes the primary nav include - this makes sure the nav open close button doesn't show up */
	}

/* PAGE SPECIFIC LAYOUT */

	/* Homepage */
		/* currently no Hompage specific styles - feel free to add your own */

	/* Search Results */
	.typography .searchResults h1 {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	.searchResults p.searchQuery {
	    margin-bottom: 10px;
	    font-size: 15px;
	    font-weight: bold;
	}
	.searchResults ul#SearchResults {
	    padding: 0;
	    border-bottom: 1px solid #e5e5e5;
	    margin:0;
	}
		.searchResults ul#SearchResults li {
		    border-top: 1px solid #e5e5e5;
		    padding: 20px 0;
		    list-style-type: none;
		}
		.searchResults ul#SearchResults p {
		    margin-bottom: 10px;
		}
		.searchResults #PageNumbers a {
		    padding: 0 5px;
		}
		.searchResults #PageNumbers .pagination {
		   	border-bottom: 1px solid #e5e5e5;
		    padding: 20px 0;
		    display:table; /* displays the pagination as a table so that elements stay inline and the middle column adjusts its size to accomodate and the right arrow stays to the right */
		    width:100%;
		}
		.searchResults #PageNumbers .pagination span{
			display:table-cell; /* each element in the pagination div displays as a table cell */
		}
		.searchResults #PageNumbers p {
		    text-align: center;
		    padding:20px 0;
		}
		.searchResults #PageNumbers .next,
		.searchResults #PageNumbers .prev {
		    font-size: 14px;
		    padding: 0 20px;
		    display:table-cell; /* each element in the pagination div displays as a table cell */
		    vertical-align: middle;
		    border-bottom:0 !important;
		}
		.searchResults #PageNumbers .next {
		    margin-left: 15px;
		}
		.searchResults #PageNumbers .prev {
		    margin-right: 15px;
		}

/* DEVICE & RESPONSIVE LAYOUT */
.header .nav-open-button {
    display: none; /* removes the nav toggle button for desktop site */
}
#media-query-trigger {
    /* instead of detecting the width of the window in simple/javascript/script.js it detects the visibility of this element (which is set using media queries) 
    instead to trigger the hiding/showing of nav and search in mobile mode */
    display: none;
    visibility: hidden;
}

#search_options_area_home{    
	width: 100%; 
	height:20px;
 	padding: 0;
	float:left;
	margin: 0; 
}

#home_searchbox{    				 
	width: 100%;
	min-height:80px; 
 	padding: 0;
	float:left;
	margin: 0 ; 
	background-color: #ffffff;
	/*-moz-border-radius : 0px 8px 8px 8px;*/
	/*border-radius : 0 10px 10px 10px;*/
	/*opacity:0.80; */

	border: 1px solid #cc0001;
	margin-top: 2%;
}

#box_check .text {/* mattia */
	float: left;
	width: 100%;
	padding-bottom: 10px;
	font-size: 15px;
	font-weight: bold;
	color: black;
}

/******************* CUSTOM CHECKBOX **************************/

.container_checkbox {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: flex;
}

.container_checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
	top: 0;
	left: 0;
	height: 13px;
	width: 13px;
	background-color: #ffffff;
	margin-right: 5px;
	text-align: center;
	border: 1px solid #cc0001;
}

.checkmark:hover input {
	background-color: #ccc;
}

.checkmark input:checked {
	background-color: #2196F3;
}

.checkmark:after {
	content: "";
	display: none;
}

.container_checkbox input:checked ~ .checkmark:after {
	display: block;
}

.container_checkbox .checkmark:after {	
	content: "\2713";
	width: 13px;
	height: 13px;
	color: white;
	background-color: #cc0001;
}



/**************************************************************/

/******************* CUSTOM RADIO BUTTON **************************/

.container_radio {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: block;
	position: relative;
}

.container_radio input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.radio {
	position: absolute;
	top: 0;
	left: 0;
	height: 14px;
	width: 14px;
	background-color: #ffffff;
	border-radius: 50%;
	border: 1px solid #cc0001;
}

.container_radio:hover input ~ .radio {
	background-color: #ccc;
}

.container_radio input:checked ~ .radio {
  background-color: #ffffff;
}

.radio:after {
	content: "";
	position: absolute;
	display: none;
}

.container_radio input:checked ~ .radio:after {
  display: block;
}

.container_radio .radio:after {
	content: "";
	top: 3px;
	left: 3px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #cc0001;
}

.container_radio .text {
	margin-left: 10%;
}
/**************************************************************/

.home_leftarea_box{
		width: 23%;
		float: left;
		background-color: #eaeaea;

		height: 750px;
	}
	.home_centralarea_box{
		width: 46%;
		padding:2% 4% 0 4%;
		float: left;
	}
	
	.left_box{
		width: 23%;
		float: left;
		background-color: #eaeaea;
		height: auto;
		margin-top: 40px;
		padding-bottom: 70px;
	}
	
	.page_centralarea_box{
		width: 73%;
		float: left;
		padding:2%;
	}

	.page_centralarea_box h2 {
		text-transform: uppercase;
	}
.scarica_i_dati {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.scarica_i_dati img {
	height: 20px;
	margin-right: 10px;
}

.scarica_i_dati h2 {
	margin-bottom: 0px;
}

.guida_alla_ricerca {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.guida_alla_ricerca img {
	height: 25px;
	margin-right: 5px;
}

.guida_alla_ricerca h2 {
	margin-bottom: 0px;
}
	
#facetbox{
	width: 23%;
	float: left;
	background:#ffffff;	
}

#hitbox{
	width: 77%; /*100 - 23*/
	float: left;
	padding:0;
	background:#ffffff;		
}

#home_leftarea_box{
	width: 23%;
	float: left;
	background:#ffffff;	
}

#article_box{
	width: 75%; /*100 - 23 + padding */
	float: left;
	padding:0;
	background:#ffffff;
	padding: 2% 0 0 2%;
}
	
#hit_list_ris_pag{
	width:70%;	/*585-10 padding*/
	float:left;
}

#hit_prec{
	/*position:absolute;
	width:100px;
	bottom:10px;
	right:110px;*/
	width:15%;
	float:left;
}
#hit_succ{
	/*position:absolute;
	width:100px;
	bottom:10px;
	right:0px;*/
	width:15%;
	float:left;
}
.qry_campo_valore_testo { font-size: 1.0em; padding: 2px 2px 0px 2px;  color: #333333; margin: 0; size:63;}

/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {
	.content img {
	    max-width: 97%;
	    height: auto;
	}
	.header .primary ul {
	    margin-left: -12px;
	    -webkit-padding-start: 0px; /* removes default webkit padding on ul items */
	}
	
	
}

/* BREAKPOINT 640px */

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 719px) { 
	/*body {
	    max-width: 640px;
	    
	}*/
	#media-query-trigger {
	    visibility: visible;
	}

	/* Navigation*/
	header{
		display: inline;
	}
	.header3{
		display:none;
	}
	.header .inner {
	    padding-top: 10px;
	    position: relative;
	    min-height: 42px;
	    display:inline;
	}
	
	.tablet-nav .header .brand {
	    float: none;
	    display: inline-block;
	    margin-left: 22px;
	    margin-bottom: 22px;
	}
		.brand h1 {
		    font-size: 40px;
		}
		.brand h1 {
		    padding-right: 100px; /* padding stops .brand text from overlapping the search and nav buttons */
		}
	.tablet-nav .header {
	    padding: 0px;
	}
		.tablet-nav .header .inner {
		    padding: 10px 0 0 0;
		    min-height: 0;
		    background: #990000;
		}
		.primarybox {
			float: left;
			padding: 0 0 5px;
			width: 30px;
		    }
		    
		.nav_navig{
			display:inline;
		}
		
		.nav_search{
			display:inline;
		}
		
		.tablet-nav .header .primary .nav-open-button { /* styling and positioning of the nav toggle button */
		    z-index: 100;
		    width: 20px;
		    height: 20px;
		    position: absolute;
		    right: 20px;
		    top: 0; /*35px;*/
		    display: block;
		    cursor: pointer;
		    font-family: 'WebSymbolsRegular';
		    font-size: 20px;
		    color: #ededed;
		}
		.tablet-nav .header .primary ul {
		    z-index: 10;
		    position: relative;
		    display: none; /* initially hiding the navigation */
		    float: left;
		    margin: 0;
		    padding: 0;
		    white-space: normal;
		    width: 100%;
		}
		
		
			.tablet-nav .header .primary ul li {
			    width: 100%;
			    margin: 0;
			    padding: 0;
			    float: none; /* displays list items vertically */
			    background: none;
			    position: relative;
			    text-shadow: 0 1px #fff;
			}
			.tablet-nav .header .primary ul li:after { /* creates the arrow for the primary nav links */
			    content: '\003e';
			    display: block;
			    position: absolute;
			    right: 20px;
			    top: 0px;
			    font-family: 'WebSymbolsRegular';
			    font-size: 14px;
			    color: #999;
			    text-align: center;
			    vertical-align: middle;
			    line-height: 38px;
			}
			.tablet-nav .header .primary ul li a,
			.tablet-nav .header .primary ul li.current a,
			.tablet-nav .header .primary ul li.section a { /* styling the  top level nav links */
			    padding: 10px 0 10px 22px;
			    font-weight: bold;
			    border-bottom: 1px solid #bbb;
			    color: #434343;
			    background: #e7e7e7;
			}
			.tablet-nav .header .primary ul li.current a,
			.tablet-nav .header .primary ul li.section a {
				background: #CCCCCC; /* makes background on current top level page slightly darker */
			}
			.tablet-nav .header .primary ul li a:hover {
			    color: inherit;
			}
			.tablet-nav .header .primary li.section:after,
			.tablet-nav .header .primary li.current:after {
			    display: none; /* hides the link arrow on current top level page */
			}
			.tablet-nav .tablet-nav .header nav.primary ul li {
				padding: 0;
			}

	/* Search Form */
	.search-bar { /* adds new styling to mobile search bar */
	    width: 100%;
	    position: relative;
	    top: 0;
	    right: 0;
	    display: none; /* hides searchbar initially */
	    padding: 20px 0;
	    margin: 0;
	    background-color: #E7E7E7;
	}
	.search-dropdown-icon { /* styling for search toggle button */
	    display: block;
	    cursor: pointer;
	    width: 20px;
	    height: 20px;
	    position: absolute;
	    right: 60px;
	    top: 34px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 20px;
	    color: #ededed;
	    text-align: center;
	    line-height: 20px;
	}
	.search-bar form {
	    margin: 0;
	    width: 100%;
	}
		.search-bar form fieldset {
		    padding: 0 18px;
		    left: 0;
		    right: 0;
		    position: relative;
		}
	.search-bar div.field {
	    margin-bottom: 0;
	}
	.search-bar form input.text {
	    width: 89%; /* makes search input full width - allowing for space either side */
	    max-width: 89%;
	    padding: 8px 10% 8px 1%;
	    text-indent: 15px;
	    position: relative;
	    display: block;
	    right: 0;
	    left: 0;
	    border: 1px solid #e5e5e5;
	    background: #fff;
	    font-size: 17px;
	    -moz-border-radius: 20px; /* increase border radius due to increased padding */
		border-radius: 20px;
	}
	.search-bar form input.action {
	    right: 5%;
	    top: 2px;
	    font-size: 18px;
	}

	/* Main Content */
	.main {
	    padding: 5px 0 45px; /* decrease padding so that more content can fit on screen */
	}
	.content-container,
	.sidebar,
	.hiteditoriale_box
	.articlepage_box{
	    width: 100%; /* sidenav is now shown above the page content */
	    margin-bottom: 30px;
	}
		.typography h1 { /* decrease size of page heading due to smaller screen */
		    font-size: 30px;
			line-height:35px;
		    margin-bottom: 15px;
		    padding-bottom: 10px;
		}
		.typography p {
		    font-size: 12px;
		    line-height: 16px;
		}
	p.intro {
	    font-size: 19px;
	    line-height: 27px;
	}
	.main .inner {
	    padding: 0 22px;
	}
	/* Secondry Nav */
	.secondary li a {
	    line-height: 24px;
	}
	.secondary li .arrow {
	    line-height: 26px;
	}
	/* Footer */
	.footer .right {
	    float: left;
	    width: 100%;
	}
	
	#search_options_area_home{    
		width: 100%; 
		height:20px;
		padding: 0;
		float:left;
		
	}
	
	#home_searchbox{    				 
		width: 100%;
		min-height:80px; 
		padding: 0;
		float:left;
		margin: 0 ; 
		background-color: #f1f1f1;
		-moz-border-radius : 0px 8px 8px 8px;
		border-radius : 0 10px 10px 10px;
		/*opacity:0.80; */
	}
	
	.home_leftarea_box{
		width: 100%;
		float: left;
		
	}
	.home_centralarea_box{
		width: 100%;
		float: left;
		padding:0;
		
	}
	
	.left_box{
		width: 100%;
		float: left;
		
	}
	
	
	#facetbox{
		width: 100%;
		float: left;
		background:#ffffff;	
	}
	#hitbox{
		width: 100%;
		float: left;
		padding:0;
		background:#ffffff;	
	}
	
	#home_leftarea_box{
		width: 100%;
		float: left;
		background:#ffffff;	
	}
	#article_box{
		width: 100%;
		float: left;
		padding:0;
		background:#ffffff;	
	}
	
	
	#hit_list_ris_pag{
		width:60%;	/*585-10 padding*/
		float:left;
	}
	
	#hit_prec{
		/*position:absolute;
		width:100px;
		bottom:10px;
		right:110px;*/
		width:20%;
		float:left;
	}
	#hit_succ{
		/*position:absolute;
		width:100px;
		bottom:10px;
		right:0px;*/
		width:20%;
		float:left;
	}
	
	.qry_campo_valore_testo { font-size: 1.0em; padding: 2px 2px 0px 2px;  color: #333333; margin: 0; }
	
}

/* Print Styles */

/* Based on HTML5 boilerplate print styles */
@media print {
	* {
	    background: transparent !important;
	    color: black !important;
	    box-shadow: none !important;
	    text-shadow: none !important;
	    filter: none !important;
	    -ms-filter: none !important;
	}
	a,
	a:visited {
	    text-decoration: underline
	}
	a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

	thead {
	    display: table-header-group
	}
	tr,
	img {
	    page-break-inside: avoid
	}
	img {
	    max-width: 100% !important
	}
	pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    /* Simple theme custom print styles */
	.header,
	.footer,
    .nav-open-button,
    .search-bar,
    .search-dropdown-icon,
    nav.primary {
	    display: none;
	}
}


#titlebox {
    background: none repeat scroll 0 0 #cc0001;
    color: #fff;
    float: left;
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
    text-align: center;
	padding:20px 0 20px 5px;
	
	margin-top: 10px; /* mattia */
	width: 53%; /* mattia */
    
}

#logobox {
    
	float: left;
	width: 25%; /* mattia */
    margin-top: 10px; /* mattia */
    
}

#iconbox{
	float: right;
	text-align:right;
	padding: 0 0 0 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

	width: 20%; /* mattia */
}

/* mattia */
#iconbox a {
	background-color:white;

	height: 22px;
	width: 25px;
	display: inline-block;

	padding-top: 10px;
}


/* Button or link Rounded new ---------------------------*/

/*
#loginbox_registrati a, #loginbox_registrati a:hover{
	height: auto;
	width: auto; 
	font-size: 10px;
	text-align: center;
	padding: 2px 5px 2px 5px; 
	background: #FFFFFF url(../images/bkgreen.jpg) repeat-x left center;
	border-radius: 3px; float:left;
	text-decoration:none;
	color: #FFFFFF;
}*/

button {
	border: 0 none;
	cursor: pointer;
	text-align: center;
	width: auto;
	font-family: "Trebuchet MS",tahoma,verdana,arial,sans-serif ;
	
}

.but_green, .but_green a, .but_green a:hover{
	height: auto;
	width: auto; 
	font-size: 10px;
	text-align: center;
	padding: 2px 5px 2px 5px; 
	background: #FFFFFF url(../images/bkgreen.jpg) repeat-x left center;
	border-radius: 3px; float:left;
	text-decoration:none;
	color: #FFFFFF;
}

.but_orange, .but_orange a, .but_orange a:hover{
	height: auto;
	width: auto;
	font-size: 10px;
	text-align: center;
	padding: 8px 12px 8px 12px; 
	color: #FFFFFF;
	/*opacity:0.80; */
	background: #CC0001; 
	border-radius: 3px; float:left;
	text-decoration:none;
	margin: 0;
	font-weight: bold;
}

.but_red, .but_red a, .but_red a:hover{
	height: auto;
	width: auto;
	font-size: 12px;
	text-align: center;
	padding: 2px 5px 2px 5px; 
	color: #FFFFFF;
	/*opacity:0.80; */
	background: #CC0001; 
	border-radius: 3px; float:left;
	text-decoration:none;
	font-weight:bold;
}

.but_green_sfogliabile, .but_green_sfogliabile a, .but_green_sfogliabile a:hover{
	height: auto;
	width: 168px; 
	font-size: 10px;
	text-align: center;
	padding: 2px 5px 2px 5px; 
	background: #FFFFFF url(../images/bkgreen.jpg) repeat-x left center;
	border-radius: 3px; float:left;
	text-decoration:none;
	color: #FFFFFF;
}

.but_orange_sfogliabile, .but_orange_sfogliabile a, .but_orange_sfogliabile a:hover{
	height: auto;
	width: 168px;
	font-size: 10px;
	text-align: center;
	padding: 2px 5px 2px 5px; 
	color: #FFFFFF;
	/*opacity:0.80; */
	background: #fff url(../images/bkorange.jpg) repeat-x left center; 
	border-radius: 3px; float:left;
	text-decoration:none;
}
/* End Button Rounded new ---------------------------*/


/* Button Rounded ---------------------------*/


button.rounded {
background: transparent url(../images/btn_right.png) no-repeat scroll right top;
clear: left;
font-size: 9px;
}

button span {
display: block;
padding: 0 0 0 10px;
position: relative;
white-space: nowrap;
height: 20px;
line-height: 20px;
}

button.rounded span {
background: transparent url(../images/btn_left.png) no-repeat scroll left top;
color: #FFFFFF;
}

button.rounded:hover { background-position: 100% -20px; }
button.rounded:hover span { background-position: 0% -20px;}
button::-moz-focus-inner { border: none; }

/* end Button Rounded ---------------------------*/



/* MAIN NAVIGATION_USER - TABS
----------------------------------------- */
.navigation_laterale_sx{
	width: 100%; 
 	background:#eaeaea;
 	color:#333333;
 	font-size:12px;
	padding:20px 0 0 0;
}

.navigation_laterale_sx hr{
	display:block; height:1px; border:0; border-top:1px solid #ccc; margin:2em 0; padding:0;
}

.navigation_laterale_sx ul{
	padding:0;
	color:#333333;
	width: 90%;
	margin: auto;
}

.navigation_laterale_sx ul li{
	list-style:none;
	line-height:18px;
	border: solid;
	border-color: #cc0001;
	border-width: 1px;
	background-color: white;
	padding-top: 2%;
	padding-bottom: 2%;
	padding-left: 2%;

	margin-bottom: 5px;

	display: flex;
	align-items: center;
}

.navigation_laterale_sx ul li a{
	color:#333333;
	text-decoration:none;
	width: 75%;
}

.navigation_laterale_sx ul li a:visited{
	color:#333333;
	text-decoration:none;
}

.navigation_laterale_sx ul li a:hover{
	color:#333333;
	text-decoration:none;
}

.navigation_laterale_sx ul li i {
	font-size: 18px;
	color: #cc0001;
	padding-right: 10px;
}

.navigation_laterale_sx img {
	padding-right: 10px;
	width: 25px;
	height: 25px;
}
.navigation_laterale_sx .link_esterno {
	padding-right: 0px;
	width: 20px;
	height: 20px;
	float: right;
}

.navigation_laterale_dx{
	width: 100%; 
 	background:#eaeaea;
 	float:left;
 	color:#333333;
 	font-size:12px;
 	text-align:right;
	padding:20px 0 0 0;
	 -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.navigation_laterale_dx hr{
	display:block; height:1px; border:0; border-top:1px solid #ccc; margin:2em 0; padding:0;
}

.navigation_laterale_dx ul{
	padding:0;
	color:#333333;
	width: 90%;
	margin: auto;
	float: right;
}

.navigation_laterale_dx ul li{
	list-style:none;
	line-height:18px;
	border: solid;
	border-color: #cc0001;
	border-width: 1px;
	width: 90%;
	background-color: white;
	padding-top: 2%;
	padding-bottom: 2%;
	padding-right: 2%;
	margin-bottom: 5px;

	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.navigation_laterale_dx ul li a{
	color:#333333;
	text-decoration:none;
}

.navigation_laterale_dx ul li a:visited{
	color:#333333;
	text-decoration:none;
}

.navigation_laterale_dx ul li a:hover{
	color:#333333;
	text-decoration:none;
}

.navigation_laterale_dx a {
	margin-right: 5px;
}

#left2box{
	width: 200px; 
 	background:#fff;
 	float:left;
 	color:#333333;
	font-size:12px;
	
	/* da sistemare */
	margin-left: 15px;
	padding-top: 30px;
	margin-top: 20px;
	padding: 10px;
	padding-top: 20px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 20px;
}

#left2box h2{
	padding:0;
	font-family: "Verdana";
	/*text-align:center;*/
	color:#cc0001;
	font-size:12px;
	font-weight: bold;
	border-bottom: solid;
	width: 90%;
	margin: auto;

	padding-bottom: 8px;
}

#left2box a{
	color:#cc0001;
	text-decoration: none;
}

#left2box ul{
	padding:10px 0 10px 0;
	color:#333333;
	margin-left: 15px;
}

#left2box ul li{
	list-style:square;
	line-height:18px;
	color: #cc0001;

	padding-top: 8px;
}

#left2box ul li a{
	color:#333333;
	text-decoration:none;
}

#left2box ul li a:visited{
	color:#333333;
	text-decoration:none;
}

#left2box ul li a:hover{
	color:#333333;
	text-decoration:none;
}

#divnovita { 
	padding:0px 0 5px 0px;
	font-size:12px
	text-align:center;
}

#divnovita p{ 
	text-align:center;
}

#divnovita p a{ 
	text-decoration: underline;
}

#left3box{
	width: 244px; 
 	background:#fff;
 	float:left;
 	color:#333333;
 	font-size:12px
}

#left3box h2{
	padding:25px 0 0 0px;
	text-align:center;
	color:#333333;
	font-size:12px;
}

#left3box ul{
	padding:10px 0 25px 0;
	color:#333333;
}

#left3box ul li{
	list-style:none;
	line-height:18px;
}

#left3box ul li a{
	color:#333333;
	text-decoration:none;
}

#left3box ul li a:visited{
	color:#333333;
	text-decoration:none;
}

#left3box ul li a:hover{
	color:#333333;
	text-decoration:none;
}

#navigation_user_menu{
	width: 545px; 
 	height: 43px;
 	margin-left:20px;
 	background:#fff;
 	float:left;
 	color:#ffffff;
 	font-size:11px;
}
#nav_user_center, #nav_user_center a, #nav_user_center a:hover, #nav_user_center a:visited{
	text-decoration:none; 
	font-size:11px;
	color:#ffffff;
}

#nav_user_rigth{
	width: 10px; 
 	height: 43px;
 	background:#fff;
 	float:left;
}

#nav_user_left{
	width: 10px; 
 	height: 43px;
 	background:#fff;
 	float:left;
}

#nav_user_center{
	color:#ffffff;
  	width: 525px; 
 	height: 33px;
 	padding:10px 0 0 0 ;
 	background:#fff url(../images/angolo_user_cx.jpg) repeat-x left center;
 	float:left;
}


/*  Area login Header   200x87 no bordo */

#loginbox_entra{
	width: 50%;  
 	height: 20px;
 	float: left;
	margin: 35px 0px 0px 10px; 	
}
#loginbox_registrati {
	width: 50;  
 	height: 20px;
	float: left;
	margin: 35px 0px 0px 5px; 	
}
#loginbox_logout {
	width: 50;  
 	height: 20px;
	float: left;
	margin: 10px 0px 0px 10px; 	
}

#loginbox_in{
	width: 500px; 
	height: auto;
	float:left;
	background: #fff;
	border-left:1px solid #FFF;
 	border-right:1px solid #FFF;
 	position:absolute;
 	top:50px;
 	left:10px;
}
#loginbox_out{	
	width: 500px; 
 	height:100px;
 	float:left;
 	background: #fff ;
 	
}
#login_foto{	
	width: 55px; 
 	height: 55px;
 	float:left;
 	padding: 0;
 	margin: 10px 0 10px 130px;
 	position: absolute;
}

#loginbox_dati{
	width: 100%; 
 	height: 20px;
}

#loginbox_but{	/*150x25 */
	width: 170px;  
 	height: 25px;
 	float: left;
	margin: 0px 0px 0px 10px; 	
}

.login_butd{
	width: 75px;
	border: 1px solid #F25322;
	background-color: #f57d20; 
	text-align:center;
	font-size:10px;
	color:#FFFFFF;
	margin:8px 0px 0px 10px;
}
.login_txt{
	font-size:12px;
	font-weight: normal;
	margin: 10px 10px 15px 10px;
	
}

.login_registrati{
	font-size:10px;
	font-weight: bold;
	padding:20px 10px 15px 10px;
	color:#008168;
}
.ulogin{
	font-size:10px;
	margin:5px 10px 5px 10px;
	color:#333333;
	display: block;
	
}

.upassword{
	font-size:10px;
	margin:5px 10px 0px 10px;
	color:#333333;
	
}


.login_azienda{
	font-size:12px;
	color:#FFFFFF;
	float:right;
	margin-top: 3px;
}

#dialogTree_title{
	display:none;
}

#last_list_facet{
	display:none;
}

.stato_img img{
	display:none;
}

.testo_img{
	display:inline;
}

.boxarchive_complete{
	width:220px;
	float:right;

	padding-top: 110px; /* mattia */
}

.boxarchive{
	border: 1px solid #e2e2e2;
	padding:10px;
	-moz-box-sizing: border-box;
	 -webkit-box-sizing: border-box;
	box-sizing: border-box;
	/*width:90%;*/ /* mattia */
	width: 100%; /* mattia */
	margin:0 0 10px 0;
	min-height:40px;
	font-weight:bold;
}

.boxarchive_lft{
	float:left;
	line-height: 30px;
	width:130px;
	text-align:right;
}

.boxarchive_rt{
	float: right;

	/* mattia */
	background-color: #cc0001;
	padding: 5px;
	color: white;
	font-weight: bold;
	display: flex;
}

.boxarchive_rt img{ /* mattia */
	height: 20px;
	width: 22px;
}

.boxarchive tr {
    /*background-color: #ffffff;*/
}

.boxarchive td {
	border: medium none !important;
}

.boxarchive_rt span { /* mattia */
	margin-left: 10px;
}

.boxarchive_rt a:hover {
	text-decoration: none;
}

.boxarchive a{
	padding:5px;
	background:#e2e2e2;
	color:#333333;
	border-radius: 2px;
	text-decoration:none;
	font-weight:normal;
}

.boxarchive a:hover{
	text-decoration:none;
}

.boxarchive a:visited{
	text-decoration:none;
}

.boxarchive select {
	color: #cc0001;
}

/***************** CUSTOM SELECT *************************************/

.boxarchive .s-hidden {
    visibility:hidden;
    padding-right:10px;
}
.boxarchive .select {
    cursor:pointer;
    display:inline-block;
    position:relative;
    font:normal 11px/22px Arial, Sans-Serif;
    color:#cc0001;
    border:1px solid #cc0001;
}
.boxarchive .styledSelect {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:white;
    padding:0 10px;
    font-weight:bold;
}
.boxarchive .styledSelect:after {
	content:"	\25B6";
	color: #cc0001;
    width:0;
	height:0;	  

    position:absolute;
    top:1px;
    right:14px;
}
.boxarchive .styledSelect:active, .styledSelect.active {
	background-color:#ffffff;
	border-bottom: none;
}
.boxarchive .styledSelect.active:after {
	content:"	\25BC";
	color: #cc0001;
    width:0%;
	height:0;	  

    position:absolute;
    top:1px;
	right:16px;
	font-size: 13px;
}
.boxarchive .options {
	display:none;
	width: 100%;
    position:absolute;
    top:100%;
    right:0;
    left:-1px;
    z-index:999;
    margin:0 0;
    padding:0 0;
    list-style:none;
	border:1px solid #cc0001;
	border-top: none;
    background-color:white;
    -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
}
.boxarchive .options li {
    padding:0 6px;
    margin:0 0;
    padding:0 10px;
}
.boxarchive .options li:hover {
    background-color:#cc0001;
    color:white;
}

.typography .boxarchive ul li {
	list-style-type: none;
}

/******************************************************/

.evidenzia_match {
	background:#ffff00;
	color:#455560;
	
}

.archive_box { /* mattia */
	border: 1px solid #cc0001;
	padding: 5%;
	overflow: auto;
}

.archive_box table { /* mattia */
	padding: 5%;
	background-color:#e2e2e2;
	border: none;
	margin-top: 30px;
}

.archive_box p { /* mattia */
	padding: 20px;
	padding-bottom: 0px;
	padding-top: 0px;
}

.typography table tr:nth-child(2n) {
	background-color:#fff; /*#e2e2e2;*/
}

.typography table {
	border-collapse: separate;
}

.typography a { /* da applicare solo sulla pagina scarica i dati */
	text-decoration: none;
}

.content {
	padding: 5%;
	border: 1px solid #cc0001;
}

.content a {
	color: #cc0001;
	text-decoration: underline;
}
