/* 
    Created on : 25-feb-2015
    Author     : Visibilia
*/

/* Tipografia
   ========================================================================== */
body,
h1,h2,h3,h4,h5,h6,
.top-bar-section ul li > a {
	font-family: 'Lato', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Lato', sans-serif;
	font-style: italic;
}
h1{
	margin-bottom: 1.3rem;
	font-size: 2.5rem;
}
/* Override foundation
   ========================================================================== */
figure{
	margin: 0;
}
.panel.callout{
	background-color: #E7400D;
	color: #FFFFFF;
}
a {
	color: #FFFFFF;
}
a:hover {
	color: #b6b6b6;
}
.breadcrumbs{
	border: none;
	background: none;
}
.breadcrumbs>*{
	color: #000000;
}
.breadcrumbs>*.current {
	cursor: default;
	color: #F15A29;
}
.acf-map {
}
.acf-map img{
	max-width:none !important;
}
.acf-map label { 
	width: auto; 
	display:inline; 
} 

/* Generale
   ========================================================================== */
.slick-slider {
	margin-bottom: 0;
}
.slide {
	position: relative;
	display: none;
}
.slide:first-child,
.slick-initialized .slide{
	display: block;
}
.slick-prev {
	left: 25px;
}
.slick-next {
	right: 25px;
}
.slick-slide img{
	display: inline-block;
}
.slide figure {
	margin: 0;
	text-align: center;
}
.slide figcaption {
	position: absolute;
	width: 100%;
	bottom: 20px;
}
.slide .testo-1,
.slide .testo-2 {
	font-size: 2.4rem;
	font-style: italic;
	color: #FC4B14;
}
.slide .testo-1 {
	background-color: #000;
}
.acf-map {
	width: 100%;
	height: 250px;
	border: #ccc solid 1px;
}
button.skeletric,
.button.skeletric {
	background: none;
	border: 1px solid #FA460E;
	color: #FA460E;
}
@media only screen and (min-width: 48.063em) { /* medium &up */
	.space{
		margin-top: 5rem;
	}
}
aside .tribe-mini-calendar td.tribe-events-has-events.tribe-events-present, 
aside .tribe-mini-calendar td.tribe-events-has-events.tribe-mini-calendar-today {
	background-color: #FA460E;
}
body {
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(233,233,233,0.2) 30%, rgba(182,182,182,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(30%,rgba(233,233,233,0.2)), color-stop(100%,rgba(182,182,182,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(233,233,233,0.2) 30%,rgba(182,182,182,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(233,233,233,0.2) 30%,rgba(182,182,182,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(233,233,233,0.2) 30%,rgba(182,182,182,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(233,233,233,0.2) 30%,rgba(182,182,182,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#b6b6b6',GradientType=0 ); /* IE6-9 */



}
/* Header
   ========================================================================== */
.main-header{
	margin-bottom: 0.5rem;
}
.top{
	background-color: #6e777e;
}
.top a{
	color: #fefefe;
	font-size: 0.85rem;
}
.featured-image{
	text-align: center;
}
.breadcrumbs{
	margin: 1rem 0 0;
}
.top-bar-section li:not(.has-form) a:not(.button) {
	font-size: 1rem;
	font-weight: bold;
	
}
.slider-container {
	background-color: #f2f2f2;
}
@media only screen and (min-width: 48.063em) { /* medium &up */
	.main-header{
		margin-bottom: 2rem;
	}
}
/* Top-bar
   ========================================================================== */
.top-bar {
	background-color: #FFFFFF;
	color: #000000;
	height: 65px;
}
.top-bar.expanded .title-area {
	background-color: #FFFFFF;
	
}
.top-bar .toggle-topbar span {
	color: #000000;
}
.top-bar .toggle-topbar.menu-icon a span::after {
	box-shadow: 0 0 0 1px #000000, 0 7px 0 1px #000000, 0 14px 0 1px #000000;
}

.top-bar .name {
	height: auto;
}
.top-bar .name h1 {
	width: 150px;
	padding: 1rem 0;
	position: relative;
	z-index: 5;
}
.top-bar .name h1 a {
	width: 150px;
	height: auto;
	display: block;
	background-image: url('../img/logo.png');
	/*background-image: url('../img/logo.svg');*/
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.top-bar .name h1 a > span {
	visibility: hidden;
}
.top-bar-section ul li > a {
	background: #6b727a;
	text-transform: uppercase;
}
.top-bar-section ul li.active > a {
	background: #6b727a;
	color: #e60715;
}
@media only screen and (min-width: 48.063em) { /* medium &up */
	.top-bar {
		height: 65px;
		margin-bottom: 0.5rem;
	}
	.top-bar .title-area {
		float: left;
		text-align: center;
	}
	.top-bar-section ul{
		display: block;
	}
	.top-bar-section > ul > li{
		height: 57px;
		padding-top: 30px;
		text-align: center;
	}
	.top-bar .name h1 a {
		width: 333px;
		height: 85px;
	}
	.top-bar-section > ul > li:nth-child(1) { margin-left: 335px; width: 8%; }
	.top-bar-section > ul > li:nth-child(2) { width: 10%; }
	.top-bar-section > ul > li:nth-child(3) { width: 22%; }
	.top-bar-section > ul > li:nth-child(4) { width: 10%; }
	.top-bar-section .has-dropdown>a {
		padding-right: 0.9375rem !important;
	}
	.top-bar-section .has-dropdown>a:after {
		content: none;
	}
	.top-bar-section ul li > a {
		text-transform: uppercase;
	}
	
	/* colori */
	.top-bar-section > ul li,
	.top-bar-section li:not(.has-form) a:not(.button) {
		background: none;
		color: #000;
	}
	.top-bar-section li.active:not(.has-form) > a:not(.button),
	.top-bar-section li.active:not(.has-form) > a:not(.button):hover,
	.top-bar-section > ul > li:hover:not(.has-form) > a,
	.top-bar-section li:not(.has-form) a:not(.button):hover,
	.top-bar-section .dropdown li:not(.has-form):not(.active):hover>a:not(.button) {
		background: none;
		color: #e60715;
	}
	.top-bar-section .dropdown, .top-bar-section .dropdown li:not(.has-form):not(.active)>a:not(.button) {
		background-color: #6b727a;
	}
	.sub-menu.dropdown {
		left: -123px;
	}
	.sub-menu.dropdown:after {
		content: ' ';
		position: absolute;
		display: inline-block;
		left: 50%;
		right: 0;
		bottom: 135px;
		width: 0px;
		height: 0px;
		border-style: solid;
		border-width: 0 10px 10px 10px;
		margin-left: -20px;
		border-color: transparent transparent #6b727a transparent;
		opacity: 1;
	}
	.f-dropdown {
		max-width: 90px;
		margin-left: -10px;
	}
	.f-dropdown li {
		text-align: left;
	}
}

/* Footer
   ========================================================================== */
.page{
	margin-bottom: 0;
}
.footer-row-1{
	padding: 20px 0 0 0;
	background-color: #6b727a;
}
.piusi-logo {
	margin: 20px;
}
#s {
	color: #000;
	font-family: 'Lato', sans-serif;
	margin-top: 0;
	width:90%;/*235*/
	border-radius: 0px;
	margin: auto;
}
#searchsubmit {
	background: url('../img/freccia-dx.png') center no-repeat;
	display: block;
	float: right;
	height: 13px;
	padding-right: 12%;
	margin-top: -35px;
	position: relative;
	width: 8px;
	z-index: 12;
}
.copy {
	margin: 20px 0;
	text-align: right;
}
.lang-selector img {
	margin:10px;
}
.main-footer {
	color: #FFFFFF;
	font-size: 0.8rem;
	background-color: #6b727a;
}
@media only screen and (min-width: 40.063em) { /* medium &up */
	.page{
		margin-bottom: 2rem;
	}
	body {
		padding: 0 0 150px; /* bottom = footer height */
	}
	.main-footer {
		height: 160px;
	}
	.social{
		margin-top: -0.3rem;
	}
	.site-info > span {
		padding-right: 30px;
	}
	.piusi-logo {
		margin-top: 30px;
	}
	#s {
		width:235px;
		float: right;
	}
	.copy {
		margin-top: -20px;
	}
}

/* Home
   ========================================================================== */
.home-tpl h1 {
	font-style: normal;
	font-weight: lighter;
	text-transform: uppercase;
	font-size: 1.5rem;
	line-height: 2.3rem;
	color: #FFF;
	text-align: center;
	margin: 0px;
}
.home-tpl h1 strong {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 1.7rem;
}
.home-tpl span {
	text-transform: uppercase;
	font-size: 0.8rem;
	line-height: 2rem;
	text-align: center;
	margin-top:100px;
	color: #FFF;
}
.home-tpl span img {
	margin-left: 5px;	
}
.home-tpl .container > div {
	padding:0;
}
.grey:hover, .red:hover, .green:hover {
	opacity:0.6;
	transition: opacity .2s ease-out;
	-moz-transition: opacity .2s ease-out;
	-webkit-transition: opacity .2s ease-out;
	-o-transition: opacity .2s ease-out;
}
.grey {
	background: #b6b6b6;
}
.grey .row {
	margin-top:45px;
}
.red {
	background: #e60715;
}
.red .row {
	margin-top: 24px;
	margin-bottom: 25px;
}
.green {
	background: #007548;
}
.green .row {
	margin-top: 10px;
	margin-bottom: 10px;
}
@media only screen and (min-width: 40.063em) { /* medium &up */
	.grey {
		margin-bottom: 0.5rem !important;
	}
	.home-tpl .container > div {
		padding: 0 15px;
	}
	.home-tpl .right-box {
		padding-right: 0.5rem !important;
	}
	.home-tpl .left-box {
		padding-left:0px !important;
	}
}
/* Servizi
   ========================================================================== */
.servizi-tpl h1 {
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 1.8rem;
	line-height: 2.3rem;
	color: #000;
	text-align: center;
	margin: 30px;
}
.servizi-tpl p {
	text-align: center;
	font-size: 1.2rem;
	margin: 20px 0;
}
.servizi-tpl .content ul {
	background: -moz-linear-gradient(left,  rgba(182,182,182,1) 0%, rgba(182,182,182,0.2) 30%, rgba(182,182,182,0.2) 70%, rgba(182,182,182,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(182,182,182,1)), color-stop(30%,rgba(182,182,182,0.2)), color-stop(70%,rgba(182,182,182,0.2)), color-stop(100%,rgba(182,182,182,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(182,182,182,1) 0%,rgba(182,182,182,0.2) 30%,rgba(182,182,182,0.2) 70%,rgba(182,182,182,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(182,182,182,1) 0%,rgba(182,182,182,0.2) 30%,rgba(182,182,182,0.2) 70%,rgba(182,182,182,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(182,182,182,1) 0%,rgba(182,182,182,0.2) 30%,rgba(182,182,182,0.2) 70%,rgba(182,182,182,1) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(182,182,182,1) 0%,rgba(182,182,182,0.2) 30%,rgba(182,182,182,0.2) 70%,rgba(182,182,182,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b6b6b6', endColorstr='#b6b6b6',GradientType=1 ); /* IE6-9 */



	/*background: url('../img/servizi-bg.png') repeat-y;*/
	text-align: center;
	list-style-type: none;
	text-transform: uppercase;
	margin: 30px 0;
}
.servizi-tpl .content ul li {
	font-size: 1rem;
	line-height: 3rem;
	text-transform: uppercase;
	font-weight: bold;
}
.servizi-tpl .content ul li:first-child {
	padding-top: 20px;
}
.servizi-tpl .content ul li:last-child {
	padding-bottom: 20px;
}
.servizi-tpl .content ul li  strong {
	font-size: 1.3rem;
}
.servizi-tpl .content ul li  a {
	font-size: 1.3rem;
	order-style: solid;
	border-width: 0;
	cursor: pointer;
	font-weight: normal;
	line-height: normal;
	margin: 15px 0 1.25rem;
	position: relative;
	text-decoration: none;
	text-align: center;
	-webkit-appearance: none;
	border-radius: 0;
	display: inline-block;
	padding-top: 1rem;
	padding-right: 2rem;
	padding-bottom: 1.0625rem;
	padding-left: 2rem;
	color: #fff;
	transition: background-color 300ms ease-out;
	background: url('../img/button-bg.png') repeat-x;
}
.servizi-tpl .th {
	border: none;
}
.servizi-tpl .th:hover img, .servizi-tpl .th:focus img {
	opacity: 0.5;
}
/* Assistenza
   ========================================================================== */
.assistenza-tpl p {
	text-align: center;
	font-size: 1.2rem;
	padding: 20px 0;
}
/* FORM
   ========================================================================== */
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
	font-family: Lato, sans-serif;
	font-size: 0.8rem;
	border: 1px solid #c1c1c1;
	box-shadow: none;
	margin: 0 0 0.3rem 0;
	padding: 0.8rem;
}
form .privacy {
	float: left;
	padding-left: 15px;
}
form small {
	float: right;
	width: 90%;
	font-size: 0.7rem;
	color: #000000;
}
.wpcf7 .wpcf7-file {
	width: 150px;
	font-size: 0.8rem;
	float: right;
	height: 50px;
	text-align: center;
}
.wpcf7 p {
	font-size: 0.8rem;
	padding: 10px 0;
	margin: 0;
	text-align: left;
	float: left;
	width: 100%;
	color: #797979;
}
.wpcf7 .wpcf7-submit {
	text-transform: uppercase;
	padding: 15px 50px;
	background: url('../img/button-bg.png') repeat-x !important;
	float: right;
	margin-top: 20px;
}
.wpcf7 label.secondary.button{
	float: right;
	margin-top: -20px;
	content: "Caricare";	
	font-size: 0.8rem;
	padding: 20px 40px;
	color: #797979;
	border: 1px solid #c1c1c1;
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(215,215,215,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(215,215,215,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(215,215,215,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(215,215,215,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(215,215,215,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(215,215,215,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d7d7d7',GradientType=0 ); /* IE6-9 */

}
/* Contatti
   ========================================================================== */
.contatti-tpl p a {
	color: #e50714;
}
.contatti-tpl p a:hover, .contatti-tpl p a:focus {
	color: #6b727a;
}
.contatti-tpl .container.space {
	margin-top: 80px;
}
.contatti-tpl .container > div {
	padding: 0;
}
@media only screen and (min-width: 40.063em) { /* medium &up */
	.contatti-tpl .container > div {
		padding: 0 15px;
	}
}
/* Pagine standard
   ========================================================================== */
.sottomenu ul{
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	text-align: center;
	text-transform: uppercase;
	background-color: #2B2B2B;
}
.sottomenu ul > li {
	border-bottom: 1px solid #414141;
}
.sottomenu ul > li:last-child {
	border-bottom: none;
}
.sottomenu ul > li > a {
	display: block;
	padding: 0.5rem 0;
	color: #FFFFFF;
}
.sottomenu ul > li.current-menu-item > a,
.sottomenu ul > li.current-cat > a,
.sottomenu ul > li > a:hover,
.sottomenu ul > li > a:active {
	color: #F15A29;
}

/* Respnsive mediaquery
   ========================================================================== */
@media only screen and (max-width: 40em) { /* small only */
	.social{
		margin: 2rem 0;
	}
}
@media only screen and (min-width: 40.063em) and (max-width: 64em) { /* medium only */
}
@media only screen and (min-width: 40.063em) { /* medium &up */
	
	.page-tpl .entry-content > ul{
		margin: 0;
		list-style: none;
	}
	.page-tpl .entry-content > ul > li {
		padding-left: 45px;
		min-height: 32px;
		margin-bottom: 0.8rem;
		background-image: url('../img/icon.png');
		background-image: url('../img/icon.svg');
		background-repeat: no-repeat;
		background-position: top left;
	}
}
@media only screen and (min-width: 64.063em) and (max-width: 90em) { /* large only */
}
@media only screen and (min-width: 64.063em) { /* large & up */
}
@media only screen and (min-width: 90.063em) and (max-width: 120em) { /* xlarge only */
}
@media only screen and (min-width: 90.063em) { /* xlarge & up */
}
@media only screen and (min-width: 120.063em) and (max-width: 99999999em) { /* xxlarge only */
}
@media only screen and (min-width: 120.063em) { /* xxlarge & up */
}

