/*
 * NELLA TESSUTI
 * Copyright we berry.
 */
/*
VERDE: #61917d; hover:#537b6b;
*/

/* Open Sans: font in locale, caricato da /assets/css/fonts.css (font-family: 'Open Sans', sans-serif;) */

html,
body {
	height: 100%;
}
body {
	min-height: 100%;
	color: #333;
	/*color: #A0A0A0;*/
	font-size: 15px;
	font-family: 'Open Sans', sans-serif;
	line-height: 24px;
	background: #f2f2f2;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	color: inherit;
	color: #262529;
	font-weight: 400;
	font-family: 'Source Sans Pro', sans-serif;
	line-height: 1.1;
}

a {
	color: #537b6b;
}

.noMarginBottom { 
	margin-bottom: 1px;
}
/* Images */
	img				{ border:0; }
	.max-image		{ width:100%; height:auto; position:relative; }
	.max-image.max	{ max-width:100%; width:auto; height:auto; position:relative; }

/* holder */

@media (max-width: 992px) {
	.wrapper,
	.wrap,#wrap {
		margin-top: 60px;
	}
}
.container {
	max-width: 100%;
}
/* Theme colors */

.bg-dark,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-image: -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0%, #2c2d33), color-stop(100%, #2c2d33));
	background-image: -webkit-linear-gradient(left top, #2c2d33, #2c2d33);
	background-image: -webkit-gradient(linear, left top, right bottom, from(#2c2d33), to(#2c2d33));
	background-image: linear-gradient(left top, #2c2d33, #2c2d33);
}


.bg-dark {
	background: #000000;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI5JSIgc3RvcC1jb2xvcj0iIzMzMzMzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc1JSIgc3RvcC1jb2xvcj0iIzliOWI5YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNGY0ZjQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #000000 0%, #333333 29%, #9b9b9b 75%, #f4f4f4 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(29%,#333333), color-stop(75%,#9b9b9b), color-stop(100%,#f4f4f4));
	background: -webkit-linear-gradient(top,  #000000 0%,#333333 29%,#9b9b9b 75%,#f4f4f4 100%);
	background: -o-linear-gradient(top,  #000000 0%,#333333 29%,#9b9b9b 75%,#f4f4f4 100%);
	background: -ms-linear-gradient(top,  #000000 0%,#333333 29%,#9b9b9b 75%,#f4f4f4 100%);
	background: linear-gradient(to bottom,  #000000 0%,#333333 29%,#9b9b9b 75%,#f4f4f4 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#f4f4f4',GradientType=0 );
}

.bg-dark h2,
.bg-dark h1,
.bg-dark h3,
.bg-dark .lead {
	color: #C7C7CC;
}

.bg-white {
	background: transparent;
}

.bg-white h2,
.bg-white h1,
.bg-white h3,
.bg-white .lead {
	color: #333!important;
}

.bg-grey {
	background-color: #f2f2f2;
}
.bg-white {
	background: #fff
}
hr {
	margin-top: 25px;
	margin-bottom: 25px;
	border: 0;
	border-top: 3px solid #537b6b; /* #1B1B1D; */
}
.hrMancolor {
	display: block;
	margin: 25px 0;
	width: 60px;
	border: 0;
	border-top: 4px solid #537b6b;
}
/* BUTTONS */

.btn-verde {
	position: relative;
	z-index: 1;
	overflow: hidden; /* l'effetto :after parte scalato a 1.3: anche se trasparente sporgerebbe dal pulsante e allargherebbe la pagina (scroll orizzontale) */
	display: inline-block;
	margin: 0 auto;
	padding: 0 20px;
	outline: none;
	border: 2px solid #537b6b;
	border-radius: 0;
	background: #61917d;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 15px;
	font-family: 'Source Sans Pro', sans-serif;
	line-height: 45px;
	cursor: pointer;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}
.btn-verde-sm {
	padding: 0 10px;
	height: 40px;
	font-size: 13px;
	line-height: 40px;
}


.btn-verde:hover {
	color: #fff;
}

.btn-verde:after {
	position: absolute;
	top: -2px;
	left: -2px;
	z-index: -1;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	padding: 2px;
	width: 100%;
	height: 100%;
	content: '';
	opacity: 0;
	-webkit-transition: -webkit-transform 0.2s, opacity 0.3s;
	transition: transform 0.2s, opacity 0.3s;
	-webkit-transform: scale(1.3);
	-ms-transform: scale(1.3);
	transform: scale(1.3);
	pointer-events: none;
}


.btn-verde:after {
	background:#537b6b;
}


.btn-verde:before {
	display: block;
	speak: none;
	-webkit-font-smoothing: antialiased;
}

.btn-verde:hover:after {
	opacity: 1;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}
.btn-xs {
	border-radius: 0;
}

.green.green {
	color: #61917d!important; font-weight: bold;
}
/***********************
-    SOCIAL ICONS    -
 ***********************/

.btn-social {
	display: inline-block;
	padding: 0;
	width: 25px;
	height: 25px;
	border: 0;
	border-radius: 0;
	color: #FFFFFF;
	text-align: center;
	line-height: 28px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.btn-social.btn-facebook {
	background: #325c94;
}
.btn-social.btn-facebook:hover {
	background: #789bde;
}
.btn-social.btn-twitter {
	background: #00abdc;
}
.btn-social.btn-twitter:hover {
	background: #8eddff;
}
.btn-social.btn-linkedin {
	background: #21a6d8;
}
.btn-social.btn-linkedin:hover {
	background: #0073b2;
}
.btn-social.btn-google-plus {
	background: #d9031f;
}
.btn-social.btn-google-plus:hover {
	background: #e36957;
}
.btn-social:hover {
	color: #fff;
}
/* HELPERS */
.divide10 {
	display: block;
	height: 10px;
}
.divide30 {
	display: block;
	height: 20px;
}
.divide30 {
	display: block;
	height: 30px;
}
.divide50 {
	display: block;
	height: 50px;
}
.divide70 {
	display: block;
	height: 70px;
}

.space10 {
	margin-bottom: 0;
	padding-top: 20px;
	padding-bottom: 10px;
	/*padding-bottom: 90px;*/
}

.space20 {
	margin-bottom: 0;
	padding-top: 20px;
	padding-bottom: 10px;
	/*padding-bottom: 90px;*/
}
.space30 {
	margin-bottom: 0;
	padding-top: 20px;
	padding-bottom: 10px;
	/*padding-bottom: 90px;*/
}

.space {
	margin-bottom: 0;
	padding-top: 90px;
	padding-bottom: 10px;
	/*padding-bottom: 90px;*/
}
/* LEAD */

.lead {
	color: rgb(43, 42, 56);
	font-size: 21px;
}
blockquote {
	margin: 35px 0 35px;
	padding: 10px 20px;
	border-left: 5px solid #222125;
	font-size: 17.5px;
}
/* GESTIONE LINGUE */
	.lang_box {
		position: absolute; top: 0; left: 0;
		margin: 0; padding: 5px 0; /* altezza barra = 18px (bandierina) + 2 x 5px = 28px: vedi .navmenu in min-width:992px */
		width: 100%;
		text-align: center;
		overflow: hidden;
		background: #61917d;
		/*border-bottom: 2px solid #537b6b;
		border-top: 2px solid #537b6b;*/
	}
	.lang_box ul {
		display: flex; justify-content: center; align-items: center;
		margin: 0; padding: 0;
		width: 100%;
	}
	.lang_box ul li {
		 margin: 0 6px; padding: 0;
		 display: inline-block;
		 list-style: none;
		 text-align: center;
		 vertical-align: middle;
	}
	/* Bandierina rotonda: il link è il cerchio (ritaglia la bandiera); la lingua attiva ha un bordo bianco di 2px */
	.lang_box ul li a {
		display: block;
		width: 18px;
		height: 18px;
		overflow: hidden;
		border-radius: 50%;
		box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
		line-height: 0;
		opacity: .75;
		transition: opacity .2s, box-shadow .2s;
	}
	.lang_box ul li a:hover,
	.lang_box ul li a:focus-visible {
		opacity: 1;
	}
	.lang_box ul li a:focus-visible {
		outline: 2px solid #fff;
		outline-offset: 3px;
	}
	.lang_box ul li a.active {
		opacity: 1;
		box-shadow: 0 0 0 2px #fff;
	}
	.lang_box .flag {
		display: block;
		width: 100%;
		height: 100%;
	}
/* */


.navmenu {
	padding-top: 50px;
}
.navbar {
	display: block;
	text-align: center;
}
.navbar-brand {
	display: inline-block;
	float: none;
}
.navbar-toggle {
	position: absolute;
	float: left;
	margin-top: 15px;
	margin-left: 15px;
	border: none;
	border-radius: 0;
	background: #222125;
}
@media (max-width: 991px) {
	/* --navbar-h e' l'altezza reale della barra superiore, misurata da assets/js/modules/nav.js (58px = logo 50px + padding) */
	.lang_box {
		top: var(--navbar-h, 58px);
	}
	.navmenu {
		padding-top: calc(var(--navbar-h, 58px) + 28px); /* barra superiore + barra delle lingue (28px) */
	}
	.nav {
		margin-top: 10px;
	}
}
@media (min-width: 1px) {
	.navbar-toggle {
		display: block !important;
	}
}
@media (min-width: 992px) {
	body {
		padding: 0 0 0 235px;
	}
	.navmenu {
		padding-top: 28px; /* spazio per la barra delle lingue (assoluta): il logo, anche ingrandito in hover, non ci va sopra */
	}
	.navbar {
		display: none !important;
		/* IE8 fix */
	}
}
@media (max-width: 992px) {
	/* nav bg */
	
}
/*Preloader*/
#loader {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	/*background: #242329;*/
	background: url("../images/bg_side.png") repeat scroll left top #61917d;
}
#loaderInner {
	position: relative;
	top: 46%;
	top: -webkit-calc(50% - 6px);
	top: calc(50% - 6px);
	left: 46%;
	left: -webkit-calc(50% - 6px);
	left: calc(50% - 6px);
	width: 12px;
	height: 12px;
	border-radius: 12px;
	background-color: #fff;
	-webkit-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	-webkit-animation: loader6 1s ease-in-out infinite;
	animation: loader6 1s ease-in-out infinite;
}
#loaderInner:before {
	position: absolute;
	top: 0px;
	left: -25px;
	width: 12px;
	height: 12px;
	border-radius: 12px;
	background-color: rgba(255, 255, 255, .5);
	content: "";
}
#loaderInner:after {
	position: absolute;
	top: 0px;
	left: 25px;
	width: 12px;
	height: 12px;
	border-radius: 12px;
	background-color: rgba(255, 255, 255, .5);
	content: "";
}
@-webkit-keyframes loader6 {
	0% {
		-webkit-transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(180deg);
	}
}
@keyframes loader6 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
}
/* LOGO */

.navmenu-brand {
	margin: 25px auto 0;
	padding: 5px;
	width: 210px;
	text-align: center;
	font-size: 18px;
}
.navbar-brand {
	padding: 4px;
}

.navmenu-brand img {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.navmenu-brand img:hover {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;

	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
} 

.small-logo img {
	position: relative;
	padding: 0;
	height: 50px;
}
/* NAV */

.navbar-default {
	border-color: #eee;
	background-color: #FFFFFF;
}
.navmenu {
	width: 235px;
	height: auto;
	border-right: 1px solid #eee;
	border-radius: 0;
	background:transparent url(../images/bg_side.png) repeat top left; /*background: #f2f2f2;*/
}
.nav,
.nav ul,
.nav li {
	list-style: none;
}
.nav ul {
	margin: 0;
	padding: 0;
}
.nav {
	margin-bottom: 20px;
	padding: 0;
}
.nav > li {
	margin: 0;
}
.nav > li li {
	margin: 2px 0;
}
.nav a {
	display: block;
	outline: none;
	color: #000; /*color: #9B9B9B;*/
	text-decoration: none; text-transform:uppercase;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	transition: 0.5s ease;

}
.nav li > a > span {
	float: right;
	color: #212124;
	font-size: 18px;
}
.nav li > a:hover > span {
	color: #fff;
}
.nav li > a > span:after {
	content: '\2b';
}
.nav li.open > a > span:after {
	content: '\2212';
}
.nav a:hover,
.nav li.active > a {
	padding-left:12px;
	background-color: transparent;
	color: #000;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	transition: 0.5s ease;
}
.nav > li.active > a {
	background-color: #537b6b;
	color: #fff;
}
.nav > li.active > a > span {
	color: #fff;
}
/* Voce attiva nel sottomenu (es. Storia / Collaboratori in Chi siamo) */
.nav > li li.active > a {
	padding-left: 12px;
	border-left: 3px solid #537b6b;
	color: #537b6b;
	font-weight: 700;
}
.nav li a {
	padding: 5px 10px;
	text-indent: 15px;
	font-size: 12px;
	line-height: 20px;
}
.nav > li > a {
	position: relative;
	display: block;
	margin: 0;
	padding: 13px 15px 13px 0;
	width: 100%;
	border-radius: 0;
	color: #000; /*color: #787879;*/
	text-indent: 20px;
	letter-spacing: 1px; text-transform:uppercase;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	line-height: 12px;
}
.nav > li > a:hover,
.nav > li > a:focus,
.nav > li > a:active {
	background: #537b6b;
	color: #fff;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
	border-color: #eee; /* border-color: #428bca;*/
	background: #537b6b;
	color: #fff;
}

/* NAV SEP */
.nav-sep {
	clear: both;
	margin: 10px 0;
	width: 16px;
	border-bottom: 2px solid #262529;
}
.first-sep {
	margin-left: 20px;
}
/* Tweets */


.tweet ul {
	padding: 0;
	list-style-type: none;
	font-size: 11px;
}
.tweet ul li a {
	color: #000;
}

/* SOCIAL */
.social {
	position: relative;
	display: block;
	margin-top: 15px; padding: 0;
	list-style-type: none;
}
	.social li {
		margin: 0; padding: 0;
	}
	.social li a {
		display: block;
		padding: 1px 0 1px 15px;
		text-transform: uppercase; text-decoration: none;

		-o-transition: 0.5s ease;
		-webkit-transition: 0.5s ease;
		transition: 0.5s ease;
	}
	.social li a:hover {
		padding-left: 25px;
		background: #537b6b;
		color: #fff;
	}


/* SOCIAL ICONS / NAV */
.navmenu .socials {
	margin-left: 15px;
	padding: 15px 0;
}
.navmenu .socials .btn-facebook,
.navmenu .socials .btn-twitter,
.navmenu .socials .btn-google-plus,
.navmenu .socials .btn-linkedin {
	background: transparent;
	color: #000
}
/* SLIDER */

.caption {
	margin-top: 25%;
	color: #fff;
	background:rgba(0, 0, 0, 0.4)
}
.caption .h1,
.caption h1 {
	position: relative;
	display: block;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 10px;
	font-weight: 900;
	font-size: 50px;
	line-height: 45px;
	text-shadow: 2px 2px 0px #537b6b;
}

@media (max-width: 678px) {
	.caption {
		margin-top: 30%;
	}
	.caption .h1,
	.caption h1 {
		font-size: 30px;
	}
}

/* LANGUAGE */
.lang {
	display: block;
	min-width: 22px; min-height: 22px;
	color: #333; font-size: 16px; line-height: 22px; text-decoration: none;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.lang small {
	font-size: 70%;
}
.lang:hover {
	color:#537b6b; text-decoration: none;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;

	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	-ms-transform: scale(0.9);
	-o-transform: scale(0.9);
	transform: scale(0.9);
}

/*
*
* BLOG
*
* */

#blog *,
#blog *:before,
#blog *:after {
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	box-sizing: border-box !important;
}
#blog {
	margin: auto
}
#blog .row {
	-webkit-column-width: 20em;
	-moz-column-width: 20em;
	column-width: 20em;
	-webkit-column-gap: 0;
	-moz-column-gap: 0;
	column-gap: 0;
}
#blog .panel {
	display: inline-block;
	margin: 0;
	padding: 0;
	width: 100%;
	border: none;
	-webkit-box-shadow: none; 
	border-bottom: 1px solid #F4F4F4;
	box-shadow: none;
	border-bottom: 1px solid #F4F4F4;
}


.blog .blog-item h3 {
	margin-bottom: 20px;
}

.blog .img-circle {
	display: block;
	width: 120px;
	height: auto;
}
.blog .divider {
	padding: 45px 0;
}

.blog-item .item-content {
	padding: 35px 15px;
}
.post-media,
.post-title,
.post-meta {
	display: block;
}
.post-title h2.title,
.post-title h2.title a {
	margin: 10px 0 20px;
	color: rgb(43, 42, 56);
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;
	font-size: 20px;
	line-height: 25px;
}
.blog-single .post-title h2.title,
.blog-single .post-title h2.title a {
	margin: 25px 0 35px;
	font-size: 32px;
}
.bg dark .post-title h2.title,
.bg-dark .post-title h2.title a {
	margin: 0;
	color: rgb(255, 255, 255);
	font-size: 28px;
	line-height: 34px;
}
.post-title h2.title a:hover {
	color: #48505e;
}
.post-title blockquote {
	margin: 0;
	padding: 0;
	width: 100%;
	color: #aaa;
}
.post-title blockquote:before {
	content: "";
}
.post-title blockquote p {
	padding-left: 0;
	font-style: normal;
}
.post-meta {
	margin: 14px 0 20px 0;
	padding: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300;
	font-size: 10px;
}
.post-meta ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.post-meta li {
	display: inline;
	margin-right: 5px;
}
.post-meta li:last-child {
	margin-right: 0;
}
.post-meta li:after {
	content: "\2022";
}
.post-meta li:last-child:after {
	content: "";
}
.post-meta span {
	padding-right: 8px;
	line-height: 18px;
}
.post-meta a {
	display: inline-block;
	color: #aaa;
}
.post-meta a:hover {
	color: #676767;
}
.post-entry .button {
	margin-top: 14px;
}
.format-video iframe,
.format-video object,
.format-video embed,
.post-media {
	position: relative;
}
.post-media img {
	display: block;
	width: 100%;
	/* Filo verde sotto l'immagine di testata che all'hover si ispessisce: solo in basso (un outline si espanderebbe anche a sinistra sulla sidebar) */
	box-shadow: 0 1px 0 #61917d;

	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.post-media img:hover {
	box-shadow: 0 10px 0 #61917d;

	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.responsive-video-div > div {
	position: relative;
}
.responsive-video-div iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.responsive-video-vimeo {
	max-width: 1130px;
}
.responsive-video-vimeo > div {
	padding-top: 56.26506%;
}
.responsive-video-youtube {
	max-width: 1130px;
}
.responsive-video-youtube > div {
	padding-top: 56.271981%;
}
.post-date {
	margin-bottom: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 10px;
}
.post-date ul {
	margin: 0;
	padding: 0;
}
.post-date li {
	display: inline;
	margin-right: 5px;
}
.post-date li:last-child {
	margin-right: 0;
}
.post-date span.day:after {
	content: ",";
}
.post-date li:after {
	margin-left: 8px;
	content: "/";
}
.post-date li:last-child:after {
	margin-left: 0;
	content: "";
}
.post-entry .divider {
	margin: 0 auto;
	margin-top: 35px;
	margin-bottom: 35px;
	width: 20%;
	border-bottom: 1px solid #eee;
}

.post-entry img {
	position: relative;
	max-width: 100%!important; height: auto;
}

.blog-tags .btn-primary {
	border-color: transparent;
	background-color: #61917d;
	color: #fff;
}

.well {
	margin-bottom: 20px;
	padding: 19px;
	min-height: 20px;
	border: none;
	border-radius: 4px;
	background-color: transparent;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
pre {
	display: block;
	margin: 35px 0 35px;
	padding: 9.5px;
	border: 1px solid #eee;
	border-radius: 0;
	background-color: aliceblue;
	color: inherit;
	text-align: left;
	word-wrap: break-word;
	word-break: break-all;
	font-size: 14px;
	line-height: 1.42857143;
}
.media,
.media .media {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* NEWS DOC */
	.boxDoc {
		margin: 0 auto; padding: 0;
	}
	.boxDoc-list {
		list-style: none;
		color: #537b6b;
	}
	.boxDoc-list li a {
		margin: 0 0 0 0;
		list-style: none;
		color: #537b6b;
	}
/**/

/* Filter */

.row-filter {
	margin-bottom: 20px;
}
.cbp-l-filters-alignLeft {
	margin: 10px auto 20px;
	text-align: left;
}
.cbp-l-filters-alignLeft .cbp-filter-item {
	padding: 5px;
	border: 1px solid #61917d; /*border: 1px solid #f4f4f4;*/
	background: transparent;
	color: #537b6b;
	letter-spacing: 2px;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
}
.cbp-l-filters-alignLeft .cbp-filter-item-active {
	border: 1px solid #537b6b;
	background-color: #61917d;
	color: #fff!important;
	opacity: 1;
}


.cbp-l-filters-alignLeft .cbp-filter-item:hover {
	border: 1px solid #537b6b;
	background-color: #61917d;
	color: #fff;
}
.cbp-caption-defaultWrap img {
	width: 100%
}
/* Service page  */


.block {
	display: table;
	min-height: 450px;
}
@media (max-width: 768px) {
	.block {
		display: block;
		padding-top: 45px;
		min-height: 350px;
	}
}


/* ABOUT PAGE */

.about-page .extra-info h1 {
	margin-top: 0;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 10px;
	font-weight: 400;
	font-size: 38px;
}
.about-slider {
	margin-top: 45px;
	margin-bottom: -370px;
}

.azienda-slider {
	margin: 20px 0;
}

.team {
	margin-top: 300px;
}
.team h1 {
	text-transform: uppercase;
	letter-spacing: 10px;
	font-weight: 700;
	font-size: 20px;
	line-height: 30px;
}
.team-info h4.name {
	margin: 20px 0 15px;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 800;
	font-size: 14px;
}
@media (max-width: 768px) {
	.team-holder {
		text-align: center
	}
	.team-holder img {
		margin: auto;
	}
}
/* CONTACT

   ================================================== */

.contact-page .extra-info h1 {
	margin-top: 0;
	/*color: #fff;*/
	text-transform: uppercase;
	letter-spacing: 10px;
	font-weight: 400;
	font-size: 38px;
}
#contact h1 {
	padding-left: 15px;
	color: #333;
}
.contact-page address a {
	color: #61917d; /*#fff200;*/
	font-weight: bold;
}
/*
.contact-page address strong {
	color: #fff;
}
*/
/* campi, captcha e pulsante del form: assets/css/effects.css (Form di contatto) */

@media (max-width: 768px) {
	#contact {
		margin-bottom: 90px
	}
}


/* FOOTER */
	.foot {
		position: absolute; bottom: 0; left: 0;
		margin: 0; /*margin:12px auto 5px auto;*/ padding: 0 8px;
		width: 100%;
		background:#61917d;
		border-top: 2px solid #537b6b; border-bottom: 2px solid #537b6b;
	}
	.foot small {
		padding:12px 0;
		display:inline-block;
		width:100%;
		text-align:center; letter-spacing:-1px; line-height:13px; color:#fff;
	}

	.foot .pagine a,
	#footer .pagine a {
		color: #fff; font-weight: bold; font-style: normal;
	} 

	.foot a,
	#footer a,
	.foot small a,
	#footer small a {
		color: #61917d; font-weight: bold; font-style: italic;
	} 

/* FOOTER della sidebar: nome, contatti con icone, link legali (altezza ~ 84px, come prima) */
	.foot {
		padding: 0 6px;
	}
	.foot-inner {
		padding: 7px 0;
		text-align: center;
		font-family: 'Open Sans', sans-serif;
		color: #fff;
	}
	.foot-inner ul {
		margin: 0; padding: 0;
		list-style: none;
	}
	.foot-brand {
		margin: 0 0 4px;
		font-size: 10px; line-height: 13px; font-weight: 600;
		letter-spacing: 2px; text-transform: uppercase;
		color: rgba(255, 255, 255, .85);
	}
	.foot-contatti li {
		line-height: 15px;
	}
	.foot .foot-inner a {
		color: #fff; font-style: normal; font-weight: 400;
		text-decoration: none;
	}
	.foot-contatti a {
		display: inline-flex; align-items: center; gap: 6px;
		font-size: 12px; font-weight: 600;
	}
	.foot-contatti svg {
		flex: none;
		opacity: .8;
	}
	.foot-legale {
		display: flex; flex-wrap: wrap; justify-content: center;
		gap: 2px 9px;
		margin-top: 5px !important;
		padding-top: 5px !important;
		border-top: 1px solid rgba(255, 255, 255, .25);
		font-size: 10px; line-height: 13px;
	}
	.foot .foot-legale a {
		color: rgba(255, 255, 255, .9);
	}
	.foot .foot-inner a:hover,
	.foot .foot-inner a:focus-visible {
		color: #fff;
		text-decoration: underline;
		text-underline-offset: 2px;
	}
	.foot .foot-inner a:focus-visible {
		outline: 2px solid #fff;
		outline-offset: 2px;
	}

/* GALLERY */
	#gallery_least h3 {
		text-align: center;
	}

/* DETTAGLIO GALLERY: breadcrumb, condivisione, precedente / successivo */
	.breadcrumb-nav {
		margin: 0 0 5px;
		font-size: 12px;
		letter-spacing: 1px;
		text-transform: uppercase;
	}
	.breadcrumb-nav ol {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.breadcrumb-nav li {
		display: inline-flex;
		align-items: center;
		max-width: 100%;
	}
	.breadcrumb-nav li + li::before {
		content: "";
		width: 5px;
		height: 5px;
		margin: 0 10px;
		border-top: 1.5px solid #9aa5a0;
		border-right: 1.5px solid #9aa5a0;
		transform: rotate(45deg);
	}
	.breadcrumb-nav a {
		color: #537b6b;
		text-decoration: none;
	}
	.breadcrumb-nav a:hover,
	.breadcrumb-nav a:focus-visible {
		color: #2b2a38;
		text-decoration: underline;
	}
	.breadcrumb-nav li:not([aria-current]) > span {
		color: #777;
	}
	.about-page .breadcrumb-nav {
		margin-bottom: 20px;
	}
	.breadcrumb-nav [aria-current="page"] span {
		display: block;
		overflow: hidden;
		max-width: 40ch;
		color: #777;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Condivisione (include/share_social.php) */
	.condividi {
		margin: 10px 0 30px;
	}
	.condividi-testo {
		margin: 0 0 15px;
		color: #777;
	}
	.condividi-elenco {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.condividi-voce {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 8px 14px;
		border: 1px solid #61917d;
		background: transparent;
		color: #537b6b;
		font: inherit;
		font-size: 13px;
		letter-spacing: 2px;
		text-decoration: none;
		cursor: pointer;
		transition: background-color .2s, border-color .2s, color .2s;
	}
	.condividi-voce[hidden] {
		display: none;
	}
	.condividi-voce svg {
		flex: none;
		width: 20px;
		height: 20px;
	}
	.condividi-rete:hover,
	.condividi-rete:focus-visible {
		border-color: var(--rete);
		background: var(--rete);
		color: var(--rete-testo);
		text-decoration: none;
	}
	.condividi-copia:hover,
	.condividi-copia:focus-visible,
	.condividi-nativa:hover,
	.condividi-nativa:focus-visible {
		border-color: #537b6b;
		background: #61917d;
		color: #fff;
	}
	.condividi-voce:focus-visible {
		outline: 2px solid #2b2a38;
		outline-offset: 2px;
	}

	/* Precedente / successivo (solo icone SVG + titolo) */
	.prevnext {
		display: flex;
		justify-content: space-between;
		gap: 20px;
		margin: 10px 0 30px;
		padding: 20px 0;
		border-top: 1px solid #e5e5e5;
		border-bottom: 1px solid #e5e5e5;
	}
	.prevnext-vuoto {
		flex: 1 1 0;
	}
	.prevnext-link {
		display: flex;
		flex: 1 1 0;
		align-items: center;
		gap: 12px;
		min-width: 0;
		color: #537b6b;
		text-decoration: none;
	}
	.prevnext-next {
		justify-content: flex-end;
		text-align: right;
	}
	.prevnext-icon {
		flex: none;
		transition: transform .2s;
	}
	.prevnext-titolo {
		display: -webkit-box;
		overflow: hidden;
		color: rgb(43, 42, 56);
		font-weight: 700;
		letter-spacing: 1px;
		text-overflow: ellipsis;
		text-transform: uppercase;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.prevnext-link:hover,
	.prevnext-link:focus-visible {
		color: #2b2a38;
		text-decoration: none;
	}
	.prevnext-prev:hover .prevnext-icon { transform: translateX(-4px); }
	.prevnext-next:hover .prevnext-icon { transform: translateX(4px); }
	.prevnext-link:focus-visible {
		outline: 2px solid #2b2a38;
		outline-offset: 4px;
	}
	@media (max-width: 480px) {
		.prevnext-titolo { font-size: 12px; }
		.breadcrumb-nav [aria-current="page"] span { max-width: 22ch; }
	}
	@media (prefers-reduced-motion: reduce) {
		.prevnext-icon, .condividi-voce { transition: none; }
		.prevnext-link:hover .prevnext-icon { transform: none; }
	}


/* MAPPE GOOGLE (contatti): anteprima con pulsante, l'iframe si carica solo al clic */
	.mappa {
		position: relative;
		width: 100%;
		height: 450px;
		background: #e6e8e7;
		border: 1px solid #d5dad7;
	}
	.mappa-anteprima {
		display: flex; flex-direction: column; align-items: center; justify-content: center;
		gap: 10px;
		height: 100%;
		padding: 20px;
		text-align: center;
		color: #537b6b;
	}
	.mappa-pin {
		flex: none;
	}
	.mappa-indirizzo {
		margin: 0;
		font-weight: 600;
		letter-spacing: 1px;
		color: #2b2a38;
	}
	.mappa-avviso {
		margin: 0;
		max-width: 42ch;
		color: #777;
	}
	.mappa-link {
		font-size: 12px;
		letter-spacing: 1px;
		text-transform: uppercase;
		color: #537b6b;
		text-decoration: underline;
		text-underline-offset: 2px;
	}
	.mappa-link:hover,
	.mappa-link:focus-visible {
		color: #2b2a38;
	}
	.mappa iframe {
		display: block;
		width: 100%;
		height: 100%;
		border: 0;
	}
	@media (max-width: 480px) {
		.mappa { height: 340px; }
	}


/* TITOLI FLUIDI: dimensione e spaziatura delle lettere seguono la larghezza dello schermo (i valori massimi sono quelli di sempre),
   le parole troppo lunghe vanno a capo invece di uscire dai bordi e creare lo scroll orizzontale.
   Chiude le regole dei titoli sparse sopra (home, chi siamo, contatti, dettagli): qui sono tutte insieme. */
	h1, h2, h3,
	.caption .h1 {
		overflow-wrap: break-word; /* a capo di emergenza solo se una parola da sola e' piu' larga della riga */
	}
	.about-page .extra-info h1,
	.contact-page .extra-info h1 {
		font-size: clamp(22px, 7vw, 38px);
		letter-spacing: clamp(1px, 1.2vw, 10px);
		line-height: 1.15;
	}
	.team h1 {
		letter-spacing: clamp(2px, 1.2vw, 10px);
	}
	#contact h1 {
		font-size: clamp(24px, 7vw, 36px);
		line-height: 1.15;
	}
	.caption .h1,
	.caption h1 {
		font-size: clamp(26px, 8vw, 50px);
		letter-spacing: clamp(2px, 1.5vw, 10px);
		line-height: 0.95;
	}
	.post-title h2.title,
	.post-title h2.title a {
		letter-spacing: clamp(1px, 0.7vw, 3px);
	}
	.blog-single .post-title h2.title,
	.blog-single .post-title h2.title a {
		font-size: clamp(22px, 6vw, 32px);
		line-height: 1.2;
	}

/* Rete di sicurezza: nessuno scroll orizzontale della pagina anche se un contenuto e' piu' largo dello schermo */
	body {
		overflow-x: hidden;
	}
