body {
	background: #fafafa;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: subpixel-antialiased;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	color: #444444;
}

h1, h2, h3 { color:#444; }

h1 { font-size: 20px; line-height: 1.3em; margin: 0 0 20px 0; }
h2 { font-size: 17px; line-height: 1.3em; font-weight:bold; margin: 40px 0 10px 0; }
h3 { font-size: 17px; line-height: 1.3em; font-weight: inherit; margin: 20px 0 5px 0; }

a, a:visited {
	color: #4bbd93;
	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: #333;
	text-decoration: none;
	outline:none;
}

p a, p a:visited {
	line-height: inherit;
}

::selection {
	background: #444;
	color: #fff;
	text-shadow: none;
}

p { margin: 0 0 10px 0; }

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

hr { height:1px; border:0; border-top:1px dotted #dddddd; margin: 30px 0 40px 0; clear: both; }

.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;
}


/* 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;
}


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

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


/* FADEIN FOR WOW ANIMATION */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
  opacity:0; 
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}
.fadeIn:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  animation-delay: 0s;
}
.fadeIn:nth-of-type(2) {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay:0.2s;
  animation-delay: 0.2s;
}
.fadeIn:nth-of-type(3) {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.fadeIn:nth-of-type(4) {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.fadeIn:nth-of-type(5) {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
.fadeIn:nth-of-type(6) {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}
.fadeIn:nth-of-type(7) {
  -webkit-animation-delay: 1.2s;
  -moz-animation-delay: 1.2s;
  animation-delay: 1.2s;
}
.fadeIn:nth-of-type(8) {
  -webkit-animation-delay: 1.4s;
  -moz-animation-delay: 1.4s;
  animation-delay: 1.4s;
}


/* SOCIAL */
.social-network {
	display: block;
	float: left;

	width: 25px;
	height: 25px;
	margin-right: 10px;
	background-color: #444;
	background-image: url(../images/social-networks.svg);
	background-repeat:no-repeat;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

	-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 {
	background-color: #888;
}

.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;}


/* 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 */
.custom-pagination {
	margin: 30px 0;
	clear: both;
}

.custom-pagination a, .custom-pagination span {
	display: inline-block;
	padding: 10px;
	background-color: #eee;
	border: 1px solid #ddd;
	border-bottom: 2px solid #ddd;
	color: #777;
}

.custom-pagination a:hover {
	text-decoration: none;
	background-color: #e1e1e1;
}

.custom-pagination span.current {
	background-color: #ccc;
	border: 1px solid #bbb;
	border-bottom: 2px solid #bbb;
	color: #444;
}

.custom-pagination .next {
	background-image: url(../images/icon/pagination-next.svg);
	background-position: center center;
	background-repeat: no-repeat;
}

.custom-pagination .prev {
	background-image: url(../images/icon/pagination-prev.svg);
	background-position: center center;
	background-repeat: no-repeat;
}


/* SINGLE TAGS LIST */
.post-tags {
	margin: 20px 0;
}

.post-tags li {
	display: inline-block;
	border: 1px solid #ddd;
	margin: 0 5px 5px 0;
	font-size: 0.9em;
}

.post-tags li a {
	padding: 7px;
	display: block;
}

.post-tags li a:hover {
	background-color: #444;
	color: #fff;
	text-decoration: none;
}


/* 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;
}



/* 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%;
	}

}
