/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */
audio,canvas,img,svg,video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
	resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
.browsehappy {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
	padding: 57px 80px 0 80px;
}

#cnt {
	width: 100%;
	margin-right: 180px;
	overflow-x: hidden;
}

* {
	
}

div {
	list-style: none;
	padding: 0;
	margin: 0
}

div.item img {
	width: 260px;
	height: 173px;
}

div.item {
	cursor: pointer;
	padding: 15px 0 60px 0;
	float: left;
	width: 260px;
	height: 173px;
	border-top: 1px solid #222222;
}

div.item.copyright {
	cursor: auto;
}

ul {
	float: left;
}

div.spacer {
	padding: 14px 0 14px 0;
	float: left;
	width: 80px;
	height: 173px;
	border-top: 1px solid #222222;
}

#wrap {
	overflow-x: hidden
}

div.spacer.empty {
	border-top: 0 solid #222222;
}

div.item div.dida {
	display: none;
	width: 260px;
	height: 173px;
	position: absolute;
	margin-top: -173px;
	background-image: url(../img/hover.png);
	background-size: 260px 130px;
	background-repeat:no-repeat;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 26px;
}

div.item div.dida div {
	padding: 41px 40px 0 40px;
	display: block;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 26px;
}

div.item div.tit {
	display: block;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 26px;
	margin-bottom: 47px;
}

div.item div.location {
	font-family: 'Crimson Text', serif;
	font-weight: 400;
	margin-top: -4px;
	display: block;
	margin-bottom: 27px;
	line-height: 18px;
	font-size: 18px;
}

div.item div.credits {
	font-family: 'Crimson Text', serif;
	font-weight: 400;
	display: block;
	line-height: 18px;
	font-size: 14px;
}

div.head {
	margin-bottom: 0px;
	padding-bottom: 24px;
	float: left;
	width: 100%;
}

div.subhead {
	border-top: 1px solid #222222;
	margin-bottom: 0;
	padding-bottom: 0;
	padding-top: 15px;
	float: left;
	width: 100%;
}

div.subhead div {
	font-family: 'Crimson Text', sans-serif;
	margin-left: 340px;
	font-size: 18px;
	line-height: 26px;
}

div.subhead div.links {
	margin-left: 0px;
	margin-bottom: 60px;
	margin-top: 25px;
}

div#orari {
	font-family: 'Crimson Text', sans-serif;
	margin-left: 340px;
	font-size: 16px;
	line-height: 20px;
	margin-top: -20px;
}

div#orari div {
	font-family: Montserrat, sans-serif;
	font-weight: 400;
	font-size: 14px;
}

div.subhead div.links a {
	font-family: Montserrat, sans-serif;
	color: #222;
	font-weight: 700;
	text-decoration: none;
	font-size: 15px;
	font-variant: small-caps;
}

div.subhead div.links a.comunicato {
	margin-left: 25px;
}

div.subhead div.links a:hover {
	text-decoration: none;
	color: #00d08e;
}

h1 {
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 34px;
	padding: 0;
	margin: 0;
}

h2 {
	font-family: Montserrat, sans-serif;
	font-weight: 400;
	font-size: 30px;
	padding: 0;
	margin: 0;
	line-height: 34px;
}

h3 {
	font-family: 'Crimson Text', sans-serif;
	font-weight: 400;
	font-size: 20px;
	padding: 0;
	margin: 0;
	line-height: 26px;
	margin-top: 25px;
}

div#logo {
	width: 340px;
	margin-top: 8px;
	float: left;
	height: 174px;
}

div.item#last {
	/*height: 123px;*/
	cursor: auto;
	height: auto;
	padding-bottom: 60px;
	margin-bottom: 0;
}

div#fill {
	cursor: auto;
}

#social {
	clear: both;
	height: 20px;
}

#social a {
	display: inline-table;
	line-height: 20px;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	margin-right: 10px;
	text-decoration: none;
}

#social a.fb {
	background-image: url(../img/social-facebook.png);
}

#social a.gp {
	background-image: url(../img/social-g.png);
}

#social a.pi {
	background-image: url(../img/social-pinterest.png);
}

#social a.tw {
	background-image: url(../img/social-twitter.png);
}

#social a.fb.h {
	background-image: url(../img/social-facebook_over.png);
}

#social a.gp.h {
	background-image: url(../img/social-g_over.png);
}

#social a.pi.h {
	background-image: url(../img/social-pinterest_over.png);
}

#social a.tw.h {
	background-image: url(../img/social-twitter_over.png);
}

#big {
	display: inline-block;
	cursor: url('../img/zoom_cursor.png'), auto;
}

#zoom {
	background-color: #fff;
	z-index: 9999;
	position: fixed;
	top: 0;
	left: 0;
	text-align: center;
}

#zoom.bgLoad {
	background-image: url(../img/loading.gif);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50px 50px;
}

#prevNext a {
	z-index: 9999;
	position: fixed;
	height: 39px;
	cursor: pointer;
	width: 20px;
	top: 50%;
	margin-top: -20px;
}

#prevNext a.close {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
}

#prevNext a.close:hover {
	color: #00d08e;
}

#prevNext a.prev {
	background-image: url(../img/frecciaSX.png);
	left: 50px;
}

#prevNext a.next {
	background-image: url(../img/frecciaDX.png);
	right: 50px;
}

#prevNext a.prev.h {
	background-image: url(../img/frecciaSX_over.png);
	left: 50px;
}

#prevNext a.next.h {
	background-image: url(../img/frecciaDX_over.png);
	right: 50px;
}

#text {
	width: 200px;
	position: fixed;
	text-align: left;
	font-size: 14px;
	line-height: 18px;
}

#text div {
	display: block;
	font-family: 'Crimson Text', serif;
}

em {
	font-style: normal;
	font-weight: 400;
}

#text em {
	font-family: 'Crimson Text', serif;
}

#text strong div,#text strong div em {
	font-family: Montserrat, sans-serif;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) , only screen and (min-resolution: 144dppx) {
	#social a.fb {
		background-image: url(../img/social-facebook@2x.png);
		background-size: 20px 20px;
	}
	#social a.gp {
		background-image: url(../img/social-g@2x.png);
		background-size: 20px 20px;
	}
	#social a.pi {
		background-image: url(../img/social-pinterest@2x.png);
		background-size: 20px 20px;
	}
	#social a.tw {
		background-image: url(../img/social-twitter@2x.png);
		background-size: 20px 20px;
	}
	#social a.fb.h {
		background-image: url(../img/social-facebook_over@2x.png);
		background-size: 20px 20px;
	}
	#social a.gp.h {
		background-image: url(../img/social-g_over@2x.png);
		background-size: 20px 20px;
	}
	#social a.pi.h {
		background-image: url(../img/social-pinterest_over@2x.png);
		background-size: 20px 20px;
	}
	#social a.tw.h {
		background-image: url(../img/social-twitter_over@2x.png);
		background-size: 20px 20px;
	}
	#prevNext a.prev {
		background-image: url(../img/frecciaSX@2x.png);
		background-size: 20px 39px;
	}
	#prevNext a.next {
		background-image: url(../img/frecciaDX@2x.png);
		background-size: 20px 39px;
	}
	#prevNext a.prev.h {
		background-image: url(../img/frecciaSX_over@2x.png);
		background-size: 20px 39px;
	}
	#prevNext a.next.h {
		background-image: url(../img/frecciaDX_over@2x.png);
		background-size: 20px 39px;
	}
	#zoom.bgLoad {
		background-image: url(../img/loading@2x.gif);
		background-size: 50px 50px;
	}
}

@media only screen and (min-width: 35em) { /* Style adjustments for viewports that meet the condition */
}

@media print , ( -o-min-device-pixel-ratio : 5/4) , ( -webkit-min-device-pixel-ratio : 1.25) , ( min-resolution : 120dpi) { /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: 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
     */
	a[href^="javascript:"]:after,a[href^="#"]:after {
		content: "";
	}
	pre,blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead {
		display: table-header-group; /* h5bp.com/t */
	}
	tr,img {
		page-break-inside: avoid;
	}
	img {
		max-width: 100% !important;
	}
	p,h2,h3 {
		orphans: 3;
		widows: 3;
	}
	h2,h3 {
		page-break-after: avoid;
	}
}