body {
	background: #f8f7f2;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: subpixel-antialiased;
	font-family: 'Raleway', Arial, sans-serif;
	font-weight: 400;
	color: #939389;
}

.content-wrap{
	overflow:hidden;
}

h1, h2, h3 { color:#7dbaaa; }

h1 { font-size: 2.5rem; line-height: 1.3; margin: 0 0 .75em 0; }
h2 { font-size: 1.8rem; line-height: 1.3; font-weight:bold; margin: 0 0 .75em 0; }
h3 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 .75em 0; }

a, a:visited {
	position: relative;
	color: #ee465a;
	text-decoration:none;
	outline: 0;
	-webkit-transition: color 0.2s ease-in-out;
	-moz-transition: color 0.2s ease-in-out;
	-o-transition: color 0.2s ease-in-out;
	-ms-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
}
a:hover, a:focus {
	color: #7dbaaa;
	text-decoration: none;
	outline:none;
}
article a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #7dbaaa;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
article a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.mb-20{
	margin-bottom: 20px;
}

.mb-0{
	margin-bottom: 0;
}


::selection {
	background: rgba(24, 102, 93, 0.1);
	text-shadow: none;
}

p { margin: 0 0 20px 0; }

strong { font-weight: bold; }
small { font-size: 0.8em; }

hr {
	    margin-top: 0;
    margin-bottom: 1rem;
    border: 0;
    border-top: 4px solid #f8f7f2;
    width: 100%;
}

.modifica a {
	text-transform: uppercase;
	text-decoration: none;
	background: rgba(0,0,0,0.2);
	color: #fff;
	padding: 5px 10px;
	font-size: 11px;
	letter-spacing: 1px;
	border-radius: 3px;
}


/* ELEMENTI LISTA */
ul, li {
	list-style: none;
}

article ul {
	list-style: none;
	margin-bottom: 20px;
	width: 100%;
}

article li {
	clear: left;
	background: url(../images/li.svg) 25px 10px no-repeat;
	padding-left: 40px;
	margin-bottom: 10px;
}

article a[href$=".pdf"] {
	clear: left;
	background: url(../images/file-pdf.svg) 8px no-repeat;
	background-size: 20px;
	padding: 10px 0 10px 40px;
	margin-bottom: 10px;
}
article a[href$=".pdf"]:before {
	content: none;
}

article a[href$=".doc"],
article a[href$=".docx"] {
	clear: left;
	background: url(../images/file-doc.svg) 8px no-repeat;
	background-size: 20px;
	padding: 10px 0 10px 40px;
	margin-bottom: 10px;
}
article a[href$=".doc"]:before,
article a[href$=".docx"]:before {
	content: none;
}


/* SIDEBAR PAGE */
.duecolonne {
	text-align: justify;
	margin: 20px 0 20px 0;

	column-count: 2;
	column-gap: 80px;
	column-rule: 1px dotted #ddd;

	-moz-column-count: 2;
	-moz-column-gap: 80px;
	-moz-column-rule: 1px dotted #ddd;

	-webkit-column-count: 2;
	-webkit-column-gap: 80px;
	-webkit-column-rule: 1px dotted #ddd;
}


/* HTML5 */
figure img, .imm-100 img {
	max-width: 100%;
	width: 100% !important;
	height: auto !important;
	display: block;
}

.radius {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.boxShadow {
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    -moz-shadow: 0 1px 3px rgba(0,0,0,0.4);
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.textShadow {
	text-shadow:0px 1px 0px #000000;
}

.bezier {
	-webkit-transition: .8s cubic-bezier(.75,-.52,.36,1.3);
	transition: .8s cubic-bezier(.75,-.52,.36,1.3);
}


/* GOOGLE MAPS */
.gmaps {
	margin-bottom: 20px;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: 0.8;
}

.gmaps img {
	width: 100%;
	height: auto;
}


/* SOCIAL */

.header-notizie-date, .header-notizie-share{
	display: inline-block;
	margin: 0 !important;

}
.header-notizie-date{
	padding-right: 12px;
}

.social-network {
	display: inline-block;
	/* float: left; */
	vertical-align: bottom;
	width: 26px;
	height: 26px;
	/* margin-right: 4px; */
	background-image: url(../images/social-networks.svg);
	background-repeat:no-repeat;
	background-color: #b9b6a5;

	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;

	-webkit-transition: background-color 0.2s ease-in-out;
	-moz-transition: background-color 0.2s ease-in-out;
	-o-transition: background-color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
}

.social-network.facebook-sprite {	background-position: 0px 0px;}
.social-network.google-sprite {		background-position: -25px 0px;}
.social-network.twitter-sprite {	background-position: -50px 0px;}
.social-network.youtube-sprite {	background-position: -75px 0px;}
.social-network.vimeo-sprite {		background-position: -100px 0px;}
.social-network.linkedin-sprite {	background-position: -125px 0px;}
.social-network.rss-sprite {		background-position: -150px 0px;}
.social-network.pinterest-sprite {	background-position: -175px 0px;}
.social-network.dropbox-sprite {	background-position: -200px 0px;}
.social-network.dribbble-sprite {	background-position: -225px 0px;}
.social-network.flickr-sprite {		background-position: -250px 0px;}
.social-network.skype-sprite {		background-position: -275px 0px;}
.social-network.tumblr-sprite {		background-position: -300px 0px;}
.social-network.instagram-sprite {	background-position: -325px 0px;}
.social-network.whatsapp-sprite {	background-position: -350px 0px;}
.social-network.email-sprite {		background-position: -375px 0px;}

.social-network.facebook-sprite:hover {	background-color: #547bbc;}
.social-network.google-sprite:hover {		background-color: #4b4b4b;}
.social-network.twitter-sprite:hover {	background-color: #78cbef;}
.social-network.youtube-sprite:hover {	background-color: #e9644a;}
.social-network.vimeo-sprite:hover {		background-color: #8ccfdd;}
.social-network.linkedin-sprite:hover {	background-color: #1384c7;}
.social-network.rss-sprite:hover {		background-color: #f29100;}
.social-network.pinterest-sprite:hover {	background-color: #e95655;}
.social-network.dropbox-sprite:hover {	background-color: #8fd2f0;}
.social-network.dribbble-sprite:hover {	background-color: #d87da5;}
.social-network.flickr-sprite:hover {		background-color: #396db3;}
.social-network.skype-sprite:hover {		background-color: #1d94d2;}
.social-network.tumblr-sprite:hover {		background-color: #5e8fae;}
.social-network.instagram-sprite:hover {	background-color: #696969;}
.social-network.whatsapp-sprite:hover {	background-color: #009540;}
.social-network.email-sprite:hover {		background-color: #ffa926;}

.header-notizie-share .social-network {
	background-color: transparent;
}

/* GALLERY INTEGRATA */
.wrapper-foto-gallery {
	width: 100%;
	float: left;
	margin: 15px 0;
}

.foto-gallery {
	width: 23.5%;
	float: left;
	line-height: 0;
	position: relative;
	margin: 0 1% 0 1%;
}

.foto-gallery:first-of-type { margin-left: 0; }
.foto-gallery:last-of-type { margin-right: 0; }

.foto-gallery img {
	width: 100%;
	height: auto;
}

.foto-gallery .foto-mask {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.4);
	padding: 7%;
	line-height: 120%;
	color: #333;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;

	transition: all 0.5s ease-in-out;
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
}

.foto-gallery:hover .foto-mask {
	-moz-opacity: 100;
	-khtml-opacity: 100;
	opacity: 100;
}


/* CUSTOM PAGINATION */
.post-pagination {
	width: 100%;
    text-align: center;
	clear: both;
}
.post-pagination a,
.post-pagination span {
	display: inline-block;
    padding: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 20px;
    background-color: #f8f7f2;
    color: #222;
}
.post-pagination a:hover {
	text-decoration: none;
	background-color: #ee455a;
	color: #fff;
}
.post-pagination span.current {
	background-color: #7dbaaa;
	color: #fff;
}
.post-pagination .prev {
	-moz-border-radius: 0 0 0 20px;
	-webkit-border-radius: 0 0 0 20px;
	border-radius: 0 0 0 20px;
}
.post-pagination .next {
	-moz-border-radius: 0 20px 0 0;
	-webkit-border-radius: 0 20px 0 0;
	border-radius: 0 20px 0 0;
}


/* TABELLE
table {
	position: relative;
	display: block;
	overflow: hidden;

	border: 1px solid #eeeeee;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

table::after {
	position: absolute;
	content: '';
	right: 0;
	top: 0;
	width: 50px;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

table tbody {
	display: block;
	width: 100%;
	overflow-y: auto;
	text-align: center;
	font-size: 15px;
	line-height: 120%;
	padding: 0px;
	margin: 0px;
}

table th {
	font-weight:bold;
}

table td {
	margin: 0px;
	padding: 10px 15px;
	border-bottom: 1px solid #eeeeee;
	border-right: 1px solid #eeeeee;
}

table td:first-of-type {
	text-align: left;
	font-weight: bold;
}

table tr:nth-child(1) {
	font-weight: bold;
}

table tr:nth-child(even) {
	background-color: #ffffff;
}

table tr:nth-child(odd) {
	background-color: #f6f6f6;
}
*/

/* WYSIWYG */
img.alignnone,
img.aligncenter {
  margin: 15px auto;
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

img.alignleft {
  margin: 6px 15px 6px 0;
  float: left;
  display: block;
  max-width: 18rem;
  width: auto;
  height: auto;
}

img.alignright {
  margin: 6px 0px 6px 15px;
  float: right;
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}


/* SM - meno di 992px */
@media (max-width: 992px) {

}

/* XS - meno di 768px */
@media (max-width: 768px) {
	table { border-right: none; }
	table td { white-space:nowrap; }
	table::after {
		background: -moz-linear-gradient(left, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%);
		background: -webkit-linear-gradient(left, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%);
		background: linear-gradient(to right, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%);
	}

	.foto-gallery {
		width: 48%;
		float: left;
		line-height: 0;
		position: relative;
		margin: 1%;
	}
	.foto-gallery:first-of-type,
	.foto-gallery:last-of-type {
		margin: 1%;
	}

	img.alignnone,
	img.aligncenter,
	img.alignleft,
	img.alignright {
	  margin: 20px 0;
		width: 100%;
	}

}

blockquote{
	margin:0;
	margin-bottom: 1rem;
}
blockquote p{
	text-transform: uppercase;
    font-size: 1em;
    letter-spacing: .05rem;
    color: #0d5f56;
}
.header-txt p{
	color: white;
}

#green-line {
    height: .4rem;
    position: fixed;
    bottom: 0;
    background: #7dbaaa!important;
}

h3.contact-form-title:before {
	content: '';
    width: 4rem;
    height: 3rem;
    background: url(../images/header/lettera.svg) no-repeat center center;
    display: inline-block;
    vertical-align: middle;
    margin-right: .75rem;
    margin-bottom: 0.3rem;
}

.accettazione{
	margin-bottom: 1.5rem;
}
.check-box, .check-label{
	display: inline-block;
}
.check-box{
	width: 1.5rem;
	margin-left: .5rem;
	vertical-align: top;
}
.check-label{
	width: calc(100% - 8rem);
}

.header-content {
	    margin-bottom: 8rem;
	}

.title-home{
	color: white;
	margin-top: 16rem;
}

.title-home h1{
	color: white;
}

@media (min-width: 768px){
	.header-content {
	    height: 62vw;
	}
	.title-home{
		margin-top: 14rem;
	}
}

@media (min-width: 992px){
	.title-home{
		margin-top: 0;
	}
	.title-home h1{
		font-size: 3rem;
	}
	.title-home p{
		font-size: 1.8rem;
	}
}

.element-list div:last-child{
	margin-bottom: 0 !important;
}

.element-list a{
	color: white;
}

.element-list a:hover{
	color: #ee465a;
}
