/* ==========================================================================
 HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
 ========================================================================== */
* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	*behavior: url(script/boxsizing.htc);
}
@font-face {
	font-family: DINWeb;
	src: url("../fonts/DINWeb.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: DINWeb;
	src: url("../fonts/DINWeb-Ita.woff") format("woff");
	font-style: italic;
}
@font-face {
	font-family: DINWeb;
	src: url("../fonts/DINWeb-Bold.woff") format("woff");
	font-weight: bold;
}
@font-face {
	font-family: DINWeb;
	src: url("../fonts/DINWeb-BoldIta.woff") format("woff");
	font-weight: bold;
	font-style: italic;
}

html, button, input, select, textarea {
	color: #222;
}

body {
	font-size: 0.938em;
	line-height: 1.25em;
	color: #666666;
	font-family: DINWeb, Helvetica, Arial, sans-serif;
}
html, body {
	min-height: 100%;
}
::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

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

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

img {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ===== Initializr Styles ==================================================
 Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
 ========================================================================== */

.wrapper {
	width: 95%;
	max-width: 960px;
	margin: 0 auto;
}

.content {
	width: 65%;
	max-width: 620px;
	float: left;
	margin: 0 0 0 2%;
	border-top: 1px solid #f7941e;
}

.title-none {
	display: none;
}

a:link {
	color: #f7941e;
	text-decoration: none;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}/* unvisited link */
a:visited {
	color: #999;
	text-decoration: underline;
}/* visited link */
a:hover {
	color: #00aeef;
	text-decoration: underline;
}/* mouse over link */
a:active {
	color: #000;
}/* selected link */

.scale-img {
	max-width: 100%;
	height: auto;
	width: auto;
}
.bg-orange {
	color: #fff;
	background-color: #F7941E;
}
.bg-blue {
	color: #fff;
	background-color: #00AEEF;
}
/*Corner Radius
 ------------------------------------------------*/
.corner-radius-1 {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	*behavior: url(script/border-radius.htc);
}
.corner-radius-1000 {
	-webkit-border-radius: 15px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius: 15px;
	-moz-border-radius-topleft: 0;
	border-radius: 15px;
	border-top-left-radius: 0;
	*behavior: url(script/border-radius.htc);
}
.corner-radius-0100 {
	-webkit-border-radius: 15px;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius: 15px;
	-moz-border-radius-topright: 0;
	border-radius: 15px;
	border-top-right-radius: 0;
	*behavior: url(script/border-radius.htc);
}
.corner-radius-0010 {
	-webkit-border-radius: 15px;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius: 15px;
	-moz-border-radius-bottomright: 0;
	border-radius: 15px;
	border-bottom-right-radius: 0;
	*behavior: url(script/border-radius.htc);
}
.corner-radius-0001 {
	-webkit-border-radius: 15px;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius: 15px;
	-moz-border-radius-bottomleft: 0;
	border-radius: 15px;
	border-bottom-left-radius: 0;
	*behavior: url(script/border-radius.htc);
}
/*HEADER
 --------------------------------------------------------------------*/
.header-container {
	padding-bottom: 20px;
}
.logo-container {
	position: relative;
	overflow: hidden;
}
.logo {
	position: absolute;
	top: 10px;
	left: 10px;
	max-width: 140px;
}
.logo img {
	width: 100%;
	max-width: 140px;
}
/*
 Menu
 --------------------------------------------------------------------*/
.box-menu {
	width: 32%;
	max-width: 300px;
	float: left;
	margin: 0 1% 0 0;
	/*line-height: 1.733em;*/
	border-top: 1px solid #00aeef;
	overflow: hidden;
}
.menu .item {
	padding: 5px 0;
}
.menu .item:first-child {
	padding-top: 0;
}
.menu {
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}
.menu a:link {
	color: #666666;
	text-decoration: none;
	font-weight: bold;
}/* unvisited link */
.menu a:visited {
	color: #999;
}/* visited link */
.menu a:hover {
	color: #f7941e;
}/* mouse over link */
.menu a:active {
	color: #00aeef;
}/* selected link */
.menu .active a {
	color: #00aeef;
}
.item.social-btns {
	padding-top: 20px;
}
.social-btn {
	display: block;
}
#facebook-btn {
	padding-bottom: 5px;
}
#facebook-btn, #twitter-btn {
	font-size: 11px;
}
#twitter-btn iframe {
	width: 98% !important;
	max-width: 142px !important;
}
/*HOME
 --------------------------------------------------------------------*/
.home {
	padding: 0;
	margin: 0;
	background: url(../images/bg-angelo-jelmini-1.jpg) no-repeat top center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.home-logo-container {
	max-width: 180px;
}
.home-logo {
	max-width: 140px;
	margin: 10px;
}
.home-box {
	width: 160px;
	padding: 5px 15px;
	position: absolute;
	-webkit-transition: background 300ms ease;
	-moz-transition: background 300ms ease;
	-ms-transition: background 300ms ease;
	-o-transition: background 300ms ease;
	transition: background 300ms ease;
}
.home-box-active.bg-blue:hover {
	background-color: #73b0c7;
}
.home-box-active.bg-orange:hover {
	background-color: #eca551;
}
.home-tab-title {
	font-size: 0.875em;
	text-transform: uppercase;
	text-align: right;
	cursor: pointer;
}
.home-tab-content {
	display: none;
	font-size: 0.875em;
	line-height: 1.313em;
	padding: 0 0 20px 0;
}
.home-tab-content ul {
	padding: 0;
	margin: 0;
}
.home p {
	margin: 0;
}

.home-link-baloon {
	display: block;
	height: 100%;
	width: 100%;
	overflow: hidden;
	text-indent: -400px;
	position: absolute;
	top: 0;
	left: 0;
	background-image: url(../graphics/plus-icon.png);
	background-repeat: no-repeat;
}

.corner-radius-0010 .home-link-baloon {
	background-position: right bottom;
}

.corner-radius-0001 .home-link-baloon {
	background-position: left bottom;
}
.home-tab-content .item span {
	font-weight: bold;
}
.home-footer {
	display: none;
}
#home-facebook-btn {
	padding-left: 10px;
	padding-top: 10px;
}
#home-twitter-btn {
	padding-left: 10px;
	padding-top: 15px;
}
#box-appuntamenti {
	right: 10%;
	top: 20px;
}
#box-contatti {
	left: 30%;
	bottom: 100px;
}
#box-programma {
	right:20%;
	bottom: 20%;
}
#box-storia {
	left: 37%;
	top: 50%;
}
#box-stampa {
	right: 10%;
	bottom: 10%;
}
#home-facebook-btn a:link {
	color: #333;
}
/*BOX
 -------------------------------------------------*/
.box {
	padding: 20px 0px 20px 0px;
}
.box-video {
	width: 100%;
	max-width: 948px;
	position: relative;
	padding-bottom: 55.25%;
	height: 0;
}
.box-video iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.logo + .box-video {
	margin-top: 10px;
}

/*Content
 -------------------------------------------------*/
.text {
	/*font-size: 0.875em;*/
}
.text.box {
	padding-top: 0;
}
.text p {
	padding-top: 0;
	margin-top: 0;
}
.row {
	overflow: hidden;
}
.dl-orz {
	width: 280px;
	float: left;
	text-transform: uppercase;
	margin: 0 20px 0 0;
}
.dl-orz dt {
	padding-right: 8px;
	float: left;
	color: #999;
}
.dl-orz dd {
	margin-left: 0;
}
/*TAB
 -------------------------------------------------*/
.tab {
	float: left;
}
.tab-content {
	display: none;
}

a.tab-title {
	display: block;
	padding: 6px 8px 3px 8px;
	margin: 0 10px 0 0;
	color: #666666;
	background-color: #ccc;
	font-weight: bold;
}
a.tab-title.last {
	margin-right: 0;
}
a.tab-title:hover {
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}
a.tab-active {
	color: #fff;
	background-color: #999999;
}
.color-1.tab-active, a.color-1.tab-title:hover {
	background-color: rgb(247,147,30); /*orange*/
}
.color-2.tab-active, a.color-2.tab-title:hover {
	background-color: rgb(179,105,171); /*violet*/
}
.color-3.tab-active, a.color-3.tab-title:hover {
	background-color: rgb(41,170,226); /*blue*/
}
.color-4.tab-active, a.color-4.tab-title:hover {
	background-color: rgb(237,28,36); /*red*/
}
.color-5.tab-active, a.color-5.tab-title:hover {
	background-color: rgb(57,181,74); /*green*/
}

.fcolor-1 {
	color: #FFF;
}
.fcolor-2 {
	color: #FFF;
}
.fcolor-3 {
	color: #FFF;
}
.fcolor-4 {
	color: #FFF;
}
.fcolor-5 {
	color: #FFF;
}

.sub-menu {
	margin: 20px 0 0 0;
	padding: 0;
	overflow: hidden;
}
.sub-menu .item {
	margin-bottom: 20px;
	float: left;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.867em
}
/*Mini gallery
 -------------------------------------------------*/
.mini-gallery .row {
	width: 100%;
	overflow: hidden;
	padding: 10px 0 0 0;
	margin: 0px 0 20px 0;
	border-top: 1px solid #00AEEF;
}
.mini-gallery .row li {
	width: 108px;
	height: 108px;
	float: left;
	margin: 0 0px 10px 20px;
	vertical-align: top;
	list-style: none;
}
.mini-gallery .row .first {
	margin-left: 0;
}
.mini-gallery .row a:hover {
	opacity: 0.6;
}
.mini-gallery .title {
	padding-top: 18px;
}

/*TABLE
 -------------------------------------------------*/
.table {
	margin: 20px 0;
	width: 100%;
	line-height: 1.3em;
	border-collapse: collapse;
}

.table th {
	background-color: #fff;
	color: #00AEEF;
	font-weight: bold;
	text-transform: uppercase;
}
.table td, .table th {
	padding: 5px 5px 5px 0;
	vertical-align: top;
	border-top: 1px solid #00AEEF;
	text-align: left;
}
.table-events td strong {
	display: block;
}
.table th {
	border-top: 0;
}
.table p {
	font-size: 0.867em;
	margin: 0;
}

.table-events .past-event, .table-events .past-event a:link, .table-events .past-event a:visited {
	color: #ccc;
}

/*Icon links
 -------------------------------------------------*/
a.dwn-ico, .table-press a[href$=".pdf"], .table-press a[href$=".doc"], .table-press a[href$=".docx"], .table-press a[href$=".xlsx"], .table-press a[href$=".xls"], .table-press a[href$=".jpg"], .table-press a[href$=".jpeg"], .table-press a[href$=".gif"], .table-press a[href$=".png"], .table-press a[href$=".tiff"], a[href$=".zip"] {
	background: url("../graphics/icons/icon-pdf.png") no-repeat scroll transparent;
	display: block;
	padding: 0 0 0 20px;
	background-position: 0% 50%;
}

.table-press a[href$=".doc"], .table-press a[href$=".docx"] {
	background-image: url("../graphics/icons/icon-doc.png")
}
.table-press a[href$=".xlsx"], .table-press a[href$=".xls"] {
	background-image: url("../graphics/icons/icon-exl.png")
}
.table-press a[href$=".jpg"], .table-press a[href$=".jpeg"], .table-press a[href$=".gif"], .table-press a[href$=".png"], .table-press a[href$=".tiff"] {
	background-image: url("../graphics/icons/icon-img.png")
}
.table-press a[href$=".zip"], .table-press a[href$=".docx"] {
	background-image: url("../graphics/icons/icon-zip.png")
}

a.externLink, .text a[target="_blank"] {
	background: url("../graphics/icons/external_link.gif") no-repeat scroll transparent;
	padding: 0 15px 0 0;
	background-position: 100% 49%;
}
/*Form
 -------------------------------------------------*/
.form-list {
	padding: 0;
}
.form-list li {
	list-style: none;
	margin-bottom: 10px;
}
.required {
	color: #F7941E;
}

.form-list label {
	display: block;
}
.form-list input {
	-webkit-appearance: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-moz-background-clip: padding;
	-webkit-background-clip: padding;
	background-color: #fff;
	padding: 5px 6px;
	height: 2.5em;
}

.form-list input, .form-list textarea {
	width: 100%;
	border: 1px solid #999;
	background-color: #fff;
	outline-color: #F7941E;
}
.recaptcha label {

}
.recaptcha input, .form-list .btn {
	width: 140px;
}
.form-list .btn {
	background-color: #CCCCCC;
}
.form-list .btn:hover {
	background-color: #F7941E;
}
.form-list .btn:active {
	border-color: #00AEEF;
}
#gen-numbers {
	color: #00AEEF;
}
#user-numbers {
	margin-left: 160px;
}
.error-form {
	border-color: red !important;
}
/*Facebook
 -------------------------------------------------*/
.menu a.social-btn.facebook:link {
	cursor: pointer;
	color: #333;
	font-weight: bold;
	text-transform: none;
	outline: medium none;
}
.social-btn.facebook {
	display: inline-block;
	height: 20px;
	width: 143px;
	max-width: 98%;
	overflow: hidden;
	position: relative;
	border: 1px solid #CCCCCC;
	border-radius: 3px 3px 3px 3px;
	font-weight: bold;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	vertical-align: top;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 11px;
	background-color: #F8F8F8;
	background-image: -webkit-gradient(linear,left top,left bottom,from(white),to(#DEDEDE));
	background-image: -moz-linear-gradient(top,white,#DEDEDE);
	background-image: -o-linear-gradient(top,white,#DEDEDE);
	background-image: -ms-linear-gradient(top,white,#DEDEDE);
	background-image: linear-gradient(top,white,#DEDEDE);
	line-height: 20px;
}
.social-btn.facebook:hover {
	text-decoration: none;
	border-color: #999;
	background-color: #F8F8F8;
	background-image: -webkit-gradient(linear,left top,left bottom,from(white),to(#DEDEDE));
	background-image: -moz-linear-gradient(top,white,#DEDEDE);
	background-image: -o-linear-gradient(top,white,#DEDEDE);
	background-image: -ms-linear-gradient(top,white,#DEDEDE);
	background-image: linear-gradient(top,white,#DEDEDE);
}
.menu a.social-btn.facebook:visited {
	color: #333;
}
.social-btn.facebook .label {
	padding: 0 7px 0 18px;
	white-space: nowrap;
	vertical-align: top;
}
.social-btn.facebook i {
	display: block;
	position: absolute;
	height: 12px;
	width: 12px;
	left: 2px;
	top: 48%;
	margin-top: -5px;
	vertical-align: top;
	background-image: url(../graphics/social/facebook-icon.png);
	background-repeat: no-repeat;
}
#home-facebook-btn {
	vertical-align: top;
}
#box-appuntamenti2 {
	position:absolute;
	right: 10%;
	top: 20px;
	margin-top:10px;
}

/*Footer
 -------------------------------------------------*/

.footer-container {
	font-size: 0.750em;
}
.footer-container .box {
	padding-top: 10px;
}
.footer-container a:link {
	color: #666666;
}
/* ==========================================================================
 Author's custom styles
 ========================================================================== */

/* ==========================================================================
 Media Queries
 ==========================================================================

 @media only screen and (min-width: 480px) {
 }

 @media only screen and (min-width: 768px) {
 }

 @media only screen and (min-width: 1140px) {

 }
 */

@media only screen and (max-width: 760px) , (min-device-width: 768px) and (max-device-width: 1024px) {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	tr {
		border-top: 1px solid #00AEEF;
	}
	tr:nth-of-type(odd) {
		background: #eee;
	}

	td {
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 50%;
	}
	.table td {
		border-top: 0;
	}

	td:before {
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}
	/*
	 Label the data
	 */
	.table-events td:nth-of-type(1):before {
		content: "Data:";
	}
	.table-events td:nth-of-type(2):before {
		content: "Luogo:";
	}
	.table-events td:nth-of-type(3):before {
		content: "Tema:";
	}

}

@media only screen and (max-width: 550px) {
	/*	body {
	 font-size: 1.063em;
	 }
	 .logo {
	 position: absolute;
	 top: 10px;
	 left: 10px;
	 width: 30%;
	 max-width: 140px;
	 }

	 .content {
	 width: 65%;
	 max-width: 620px;
	 float: left;
	 margin: 0 10px;
	 border-top: 1px solid #f7941e;
	 }

	 table, thead, tbody, th, td, tr {
	 display: block;
	 }

	 thead tr {
	 position: absolute;
	 top: -9999px;
	 left: -9999px;
	 }
	 tr {
	 border-top: 1px solid #00AEEF;
	 }
	 tr:nth-of-type(odd) {
	 background: #eee;
	 }

	 td {

	 border: none;
	 position: relative;
	 padding-left: 50%;
	 }
	 .table td {
	 border-top: 0;
	 }

	 td:before {
	 width: 45%;
	 padding-right: 10px;
	 white-space: nowrap;
	 }

	 .table-events td:nth-of-type(1):before {
	 content: "Data:";
	 }
	 .table-events td:nth-of-type(2):before {
	 content: "Luogo:";
	 }
	 .table-events td:nth-of-type(3):before {
	 content: "Tema:";
	 }

	 .box-menu {
	 width: 100%;
	 max-width: 100%;
	 margin: 0;
	 padding-bottom: 0;
	 float: none;
	 }
	 .box-menu .item {
	 text-align: center;
	 border: 1px solid #eee;
	 padding: 5px 0;
	 margin-top: 5px;
	 line-height: 38px;
	 }
	 .box-menu .item.social-btns {
	 border: 0 none;
	 }
	 .box-menu .item:first-child {
	 margin-top: 0;
	 }
	 .menu a:link {
	 display: block;
	 width: 100%;
	 height: 100%;
	 }
	 .menu .social-btns a:link {
	 display: inline-block;
	 width: 143px;
	 height: 22px;
	 }
	 .sub-menu .item {
	 float: none;
	 margin-top: 10px;
	 text-align: center;
	 }
	 .sub-menu .item:first-chield {
	 margin-top: 0;
	 }
	 a.tab-title {
	 padding-right: 0;
	 margin: 0;
	 }
	 .content {
	 width: 100%;
	 min-width: 90%;
	 margin: 0 auto;
	 }
	 .footer-container {
	 text-align: center;
	 }
	 .footer-container .content {
	 border-top: 0 none;
	 }
	 .footer-container .box-menu {
	 border-color: #F7941E;
	 }

	 .form-list .btn {
	 width: 100%;
	 margin-top: 20px;
	 }
	 #user-numbers {
	 margin: 0;
	 width: 100%;
	 }
	 */
	 	.dl-orz dt {
		float:none;
	}
	.mini-gallery .row {
		margin-bottom: 0;
	}
	.mini-gallery .row li {
		margin: 0 0 20px 0;
		width: 50%;
		text-align: center;
	}
	.home-box {
		position: relative;
		margin-top: 10px !important;
		width: 95%;
		margin: 0 auto;
	}

	#box-appuntamenti {
		left: 0;
		top: 0;
	}
	#box-contatti {
		left: 0;
		top: 0;
	}
	#box-programma {
		left: 0;
		top: 0;
	}
	#box-storia {
		left: 0;
		top: 0;
	}
	#box-stampa {
		left: 0;
		top: 0;
	}
	.home {
		background: url(../images/bg-angelo-jelmini-1-mobile.jpg) no-repeat top center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
	.home-footer {
		display: block;
		width: 100%;
		margin-top: 20px;
		color: #333;
	}
	.home-footer address {
		overflow: auto;
		background-color: rgba(255,255,255,0.5);
	}
	.home-footer a:link {
		color: #333;
	}
	.logo img {
		width: 80%;
		max-width: 140px;
	}
	#box-appuntamenti2 {
		position: relative;
		width:95%;
		text-align:center;
		top:0;
		right:0;
		
	}


}

/*
 Back to top button
 */
#back-top {
	position: fixed;
	bottom: 30px;
	margin-left: 0px;
}
#back-top a {
	width: 108px;
	display: block;
	text-transform: uppercase;
	text-decoration: none;
	color: #bbb;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover {
	color: #000;
}
#back-top a:hover span {
	background-color: #777;
}


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

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}
/* ==========================================================================
 Print styles
 ========================================================================== */

@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
	 */

	.ir a:after, 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;
	}

	@page {
		margin: 0.5cm;
	}

	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}

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