@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700');

@keyframes btn {
	0% {opacity:0;transform: rotateZ(45deg) translateX(-100px);}
	50% {opacity: 1;transform: rotateZ(45deg) translateX(0px);}
	100% {opacity:0;transform: rotateZ(45deg) translateX(100px);}
}

* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-family: 'Source Sans Pro', sans-serif;
	
}

html, body {
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    font-weight: 300;
    margin: 0;
}

* > a {
	color: inherit !important;
	font-family: inherit !important;
}

.green {color: #88C335; font-weight: bold;}

.content {
	max-width: 1000px;
	margin: 0 auto;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.caption {
	background: rgba(38,59,140,0.9);
	color: white !important;
	padding: 15px 30px;
	text-align: center;
	text-decoration: none !important;
}

/*INTESTAZIONE*/
header {
	border-bottom: 1px solid #d8d8d8;
}

header .logo-area,
header .details-area {
	float: left;
	width: 50%;
	position: relative;
}

header .logo-area .logo {
	padding: 5px 15px 0px;
	height: 35px;
}

header .details-area span {
	float: left;
	border-left: 1px solid #fefefe;
	display: block;
	width: 50%;
}

header .details-area span p {padding: 10px 15px;}

header .details-area span:first-of-type p {
	font-weight: 600;
	letter-spacing: 1px;
	border-left: 1px solid #d8d8d8;
	text-align: center;
	font-size: 14px;
}

header .details-area span:first-of-type p i {margin-left: 5px;}

header .details-area span input {
	padding: 10px 15px;
	border: none;
	border-left: 1px solid #d8d8d8;
	outline: 0 !important;
	font-size: 14px;
}

header .details-area span button {
	border: none;
	border-left: 1px solid #d8d8d8;
	padding: 10px 15px;
	font-size: 14px;
	background: none;
	cursor: pointer;
}

/*MENU*/
nav {
	text-align: center;
	position: relative;
	border-bottom: 1px solid #d8d8d8;
}

nav ul {
	list-style: none;
	display: inline-block;
	width: auto;
	position: relative;
	overflow: hidden;
}

nav ul li {
	display: block;
	float: left;
}

nav ul li a {
	display: block;
	padding: 10px 15px;
	color: inherit;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 20px;
}


/*MAIN CONTENT*/
#main {
	position: relative;
	overflow: hidden;
	height: 450px;
	background: #ffffff;
	z-index: 0;
}

/*slide*/
#main .slide {
	position: relative;
	max-width: 1440px;
	height: 100%;
	margin: 0 auto;
	background-size: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 1;
}

#main .slide a {
	position: absolute;
	bottom: 85px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);

	font-size: 36px;
	font-weight: 300;
	letter-spacing: 2px;
	z-index: 2;
	padding: 15px 45px;
}

#main .slide a i {
	position: absolute;
	top: 50%;
	right: 15px;

	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

/*cats*/
#categories {
	position: relative;
	overflow: hidden;
	padding: 5px 0;
	max-width: 1440px;
	margin: 0 auto;
}

#categories .cat {
	width:16.66666667%;
	float: left;
	background-size: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-clip: content-box;
	background-color: #f6f6f6;
	/*padding: 5px;*/
	height: 240px;
	position: relative;
	overflow: hidden;
}

#categories .cat a {
	display: block;
	position: absolute;
	bottom: 36px;
	right: 0px;
	height: 50px;
	width: 100%;
	max-width: 200px;
}

#categories .cat a span {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#categories .cat a i {
	position: absolute;
	top: 50%;
	right: 15px;
	font-weight: 600;
	font-size: 14px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#promo {
	height: auto;
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
}

#promo a {
	background-size: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	display: block;
	height: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

#brands {
	margin-top: 30px;
	background: #f6f6f6;
	padding: 10px 0;
}

#brands .content {
	position: relative;
	overflow: hidden;
	max-width: 1440px;
	margin: 0 auto;
	text-align: center;
}

#brands .content ul {
	display: block;
	list-style: none;
	padding: 10px 0;
	margin: 0 auto;
}

#brands .content ul li {
	display: inline-block;
	padding: 10px;
}

#brands .content ul li img {
	max-height: 60px;
	max-width: 150px;
}

#whatsapp {
	padding: 30px 0 10px;
	text-align: center;
}

#whatsapp .content {
	position: relative;
	overflow: hidden;
	width: auto;
	display: inline-block;
	margin: 0;

}

#whatsapp .content > div {float: right;}

#whatsapp .left.whatsapp {
	width: 100px;
}
#whatsapp .content > .right {padding: 10px;}
#whatsapp .content > .right h1 {font-size: 38px;}
#whatsapp .content > .right .green {font-weight: bold;font-size: 24px;}

/*FOOTER*/
/*informazioni*/
#informazioni {
	text-align: center;
}

#informazioni .content {
	display: inline-block;
	width: auto;
}

#informazioni .info {
	float: left;
	padding: 30px 15px;
	margin: 0 auto;
}

#informazioni .info strong {font-weight: bold;}
#informazioni .info p {letter-spacing: 2px;}
#informazioni .info i {font-size: 36px;}

#informazioni .info span {
	float: left;
	display: block;
	font-size: 14px;
	text-align: center;
	padding: 10px;
}


/*dettagli*/
#details, #footer {
	background: #F7F7F7;
}

#details {
	padding: 30px 0;
}

#details ul,
#details small {float: left;}

#details ul {width: 65%;}
#details small {width: 35%;}

#details ul li {
	display: block;
	padding: 0px 15px;
}

#details ul li a {
	text-decoration: none;
	color: #187FB4 !important;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 14px;
}

#details small {
	text-align: right;
	font-size: 14px;
	letter-spacing: 3px;
	margin-top: 20px;
}

#details small strong {
	font-weight: 600;
}

#pay {
	padding: 20px 15px;
	border-top: 1px solid #d8d8d8;
	text-align: center;
	background: #f6f6f6;
}

#pay img {
	width: 100% !important;
	display: block;
	margin: 0 auto 20px;
}

#pay img:first-of-type {max-width: 359px;}
#pay img:last-of-type {max-width: 306px;}

/*footer*/
#footer {
	border-top: 1px solid #d8d8d8;
	padding: 10px 0;
}
#footer .copy,
#footer .dev {
	display: block;
	float: left;
	width: 50%;
}

#footer .dev {text-align: right;}
#footer .dev strong {font-weight: 600;}





/*----------------------------------*/
/*INSERZIONE 						*/
/*----------------------------------*/

#main.inserzione {
	height: auto;
	position: static;
	overflow: visible;
	padding: 60px 0 0;
	background: none;
}

#main.inserzione .content {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	display: block;
}
#main.inserzione .content > div {
	float: left;
	display: block;
	width: 50%;
	padding: 10px;
}

/*gallery*/
.inserzione .gallery {
	position: relative;
	height: 450px;
}

.inserzione .gallery .thumbnail,
.inserzione .gallery .main-image {
	float: left;
	position: relative;
}

.inserzione .gallery .thumbnail {
	width: 12%;
	padding: 0 5px;
	cursor: pointer;
}

.inserzione .gallery .thumbnail a {
	display: block;
	width: 100%;
	position: relative;
}

.inserzione .gallery .thumbnail a img {width: 100%;}
.inserzione .gallery .main-image {
	width: 88%;
	overflow: hidden;
	height: 600px;
}

.inserzione .gallery .main-image img {
	width: 100%;
	position: absolute;
	display: none;
}

.inserzione .gallery .main-image img:target,
.inserzione .gallery .main-image img:first-of-type {
	display: block;
}

/*descrizione*/
.inserzione .description {
	letter-spacing: 1px;
	font-size: 15px;
	line-height: 1.8em;
}

.inserzione .info {
	clear: both;
	position: relative;
	width: 100%;
	padding: 10px 15px;
	text-align: center;
	color: white;
	font-weight: bold;
	font-size: 20px;
	background: #ff2347;
	max-width: 980px;
	margin: 10px auto 40px;
}

/*pagina custom*/
#main.custom {height: auto;padding:40px 15px;background: none;}
#main.custom p {
	
	line-height: 2em;
	letter-spacing: 2px;
	margin: 0.5em 0;
}

#main.custom a {
	font-weight: 600 !important;
	letter-spacing: 2px;
}

/*COSTOM STYLES*/
.custom h1,
.inserzione .description h1,
.custom h2,
.inserzione .description h2,
.custom h3,
.inserzione .description h3,
.custom h4,
.inserzione .description h4 {
	font-weight: 600;
	line-height: 2.2em;
	letter-spacing: 2px;
}

.custom a,
.inserzione .description a {
	font-weight: 400;
	text-decoration: underline;
	color: inherit;
}

.custom a.btn,
.inserzione .description a.btn {
	display: inline-block;
	background: black;
	color: white !important;
	padding: 10px 15px;
	text-transform: uppercase;
	text-decoration: none;
	margin: 10px 0;
	position: relative;
	overflow: hidden;
}

.custom a.btn:after,
.inserzione .description a.btn:after {
	content: "";
	display: block;
	height: 200px;
	width: 10px;
	position: absolute;
	top: -100px;
	opacity: 0;
	right: 0;
	
	background: rgba(255,255,255,0.2);
	-webkit-transform: rotateZ(45deg);
	-ms-transform: rotateZ(45deg);
	-o-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
}

.custom a.btn:hover:after,
.inserzione .description a.btn:hover:after {
	-webkit-animation: btn 0.9s linear normal;
	-ms-animation: btn 0.9s linear normal;
	-o-animation: btn 0.9s linear normal;
	animation: btn 0.9s linear normal;
}

.custom img,
.inserzione .description img {max-width: 100%;}

.custom ul,
.inserzione .description ul,
.custom ol,
.inserzione .description ol {
	padding-left: 2em;
	margin: 15px 0;
}

.custom ul li,
.inserzione .description ul li,
.custom ol li,
.inserzione .description ol li {
	font-weight: bold;
	line-height: 2em;
	letter-spacing: 2px;

}

.custom small,
.inserzione .description small {
	font-weight: bold;
	line-height: 2em;
	letter-spacing: 2px;
}

.custom cite,
.inserzione .description cite {
	background: #f8f8f8;
	border: 2px dotted #f0f0f0;
	padding: 30px 15px;
	margin: 15px 0;
	display: inline-block;
	width: 100%;
	padding-left: 1.5em;
}

.custom blockquote,
.inserzione .description blockquote {
	background: #f0f0f0;
	padding: 10px 15px;
	border-left: 10px solid #e0e0e0;
	text-align: justify;
}

/*tabelle*/
.custom table,
.inserzione .description table {
	width: 100%;
	border-spacing: 0px;
	vertical-align: middle;
	text-align: left;
	font-size: 12px;
	margin: 10px 0;
	border: 1px solid #f0f0f0;
}
.custom table th,
.inserzione .description table th,
.custom table td,
.inserzione .description table td {
	padding: 10px 15px;
}

.custom table tr:first-of-type td,
.inserzione .description table tr:first-of-type td,
.custom table th,
.inserzione .description table th {
	font-weight: 600;
	background: #f5f5f5;
	border: 0;
	border-bottom: 4px solid #f0f0f0;
}

.custom table td,
.inserzione .description table td {
	border-bottom: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
}

.custom table td:last-of-type,
.inserzione .description table td:last-of-type {
	border-bottom: 1px solid #f0f0f0;
	border-right: 0;
}

.custom table tr:last-of-type td,
.inserzione .description table tr:last-of-type td {border-bottom: 0;}



/*MEDIA*/
@media (max-width: 955px) {
	#categories .cat {width:33.33333334%;}
	#informazioni .content {
		display: block;
		width: 100%;
	}
	#informazioni .info {
		float: none;
		display: inline-block;
		width: auto;
		margin: 0 auto;
		height: 130px;
	}
}

@media (max-width: 880px) {

	/*INTESTAZIONE*/
	header .logo-area,
	header .details-area {
		float: none;
		width: initial;
		position: relative;
	}
	header .logo-area  {text-align: center;}
	header .details-area {border-top: 1px solid #d8d8d8;}

	/*MENU*/
	nav ul li {float: none;margin: 0 auto;}

	/*MAIN*/
	#main .slide .caption {
		font-size: 20px;
		width: 80%;
	}

	/*DETTAGLI*/
	#details .content,
	#footer .content {padding: 0 15px;}


	/*INSERZIONE*/
	#main.inserzione .content > div {
		width: initial;
		float: none;
		position: relative;
		overflow: hidden;
	}

	#main.inserzione .gallery .thumbnail,
	#main.inserzione .gallery .main-image {
		float: none;
		width: initial;
	}

	#main.inserzione .gallery .thumbnail {
		overflow: hidden;
		position: relative;
		padding: 0;
	}

	#main.inserzione .gallery .thumbnail a {
		width: 16.66666667%;
		float: left;
		border: 2px solid white;
		position: relative;
		overflow: hidden;
		height: 100px;
	}

	#main.inserzione .gallery .thumbnail a:first-of-type {border-left: 0;}
	#main.inserzione .gallery .thumbnail a:last-of-type {border-right: 0;}

	#main.inserzione .gallery .thumbnail a:after {
		content: "";
		padding-bottom: 100%;
	}

	#main.inserzione .gallery .thumbnail a img {
		position: absolute;
		max-height: 100%;
		width: auto;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%,-50%);
		-ms-transform: translate(-50%,-50%);
		-o-transform: translate(-50%,-50%);
		transform: translate(-50%,-50%);
	}

	.inserzione .gallery .main-image {height: 350px;}
}

@media (max-width: 650px) {
	/*INTESTAZIONE*/
	header .details-area span {
		border: 0;
		float: none;
		width: 100%;
	}
	header .details-area span:last-of-type {border-top: 1px solid #d8d8d8;}
	header .details-area span form {float: right; width: 100%;}
	header .details-area span form input {width: 79%;}
	header .details-area span form button {width: 20%;}

	#main.home {height: 300px;}

	/*categorie*/
	#categories .cat {width: 50%;}

	/*informazioni*/
	#informazioni .content .info {
		display: block;
		width: initial;
		height: initial;
	}
	#informazioni .content .info span {
		float: none;
		width: 100%;
		text-align: center;
	}

	/*dettagli*/
	#details ul,
	#details small {
		display: block;
		float: none;
		width: 100%;
		position: relative;
		overflow: hidden;
		text-align: center;
	}

	#details ul li {
		float: none;
		width: initial;
	}

	#details small {padding: 30px 0;}

	/*inserzione*/
	.inserzione .gallery .thumbnail a {width: 33.33333334% !important;}
	.inserzione .gallery .thumbnail a img {
		max-width: 100% !important;
		max-height: none !important;
	}

	#promo {height: 150px;}
	#promo a {background-position: 56% center !important;}
}

.inserzione .description h4 {
	font-weight: bold !important;
}

img {
	max-width: 100% !important;
}