/* Box-sizing -*/
* {
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
 *behavior: url('/test/grid/script/boxsizing.htc');
}

/* Display block per gli elementi HTML5 su IE */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
 display: block;
}


/* IMMAGINI RESPONSIVE */
img { 
 border:0; 
	vertical-align:middle; 
	-ms-interpolation-mode:bicubic;
}
embed, object, video {
  max-width: 100%;
}
 
img.scala { 
 	max-width:100%; 
	height:auto; 
}

.scala { 
 	max-width:100%; 
	height:auto; 
}

.flex-img {max-width: 100%}

/* SLIDER RESPONSIVE */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }


/* Stili di base e tipografia */
html {
  font-size: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #333333;
	-webkit-text-size-adjust: 100%;
	}

.top-over {
	position:fixed;
	height:155px;
	top:0px;
    left:0px;
    right:0px;
	width:100%;
	margin-bottom:10px;
	display:inline;
    float:left;
	z-index:1000;
}

.top-footer {
	position:fixed;
	height:60px;
	top:0px;
    left:0px;
    right:0px;
	width:100%;
	margin-top:1000px;
	display:inline;
    float:left;
	z-index:1000;
}

.footer {
	padding: 5px;
	max-width: 995px;
}

.back-top {
	max-width: 100%;
	max-height: 184px;
	background-repeat: no-repeat;
	background-position: center;
}

.page-box {
	padding: 5px;
}

.box, a.box:link, a.box:active, a.box:visited {
	background-color: #900800;
	padding: 5px;
	margin-right: 8%;
	margin-bottom: 10px;
	width: 45%;
	overflow: auto;
	color: #ffffff;
	text-decoration: none;
}
a.box:hover {
	background-color: #640600;
	padding: 5px;
	margin-right: 8%;
	width: 45%;
	overflow: auto;
	color: #ffffff;
	text-decoration: none;
	pointer-events: none;
}

/* Video responsive */

.video {
position:         relative;
padding-top:      30px;
padding-bottom:   56.25%;
height:           0;
overflow:         hidden;
}

.video iframe
{
position:  absolute;
top:       0;
left:      0;
width:     100%;
height:    100%;
}


/* Griglia */

.riga {
 width: 100%;  
 margin: 0 auto;
 padding: 0px;
 overflow: auto;
}

.riga-2 {
 width: 100%; 
 max-width: 994px; 
 min-width: 720px; 
 margin: 0 auto;
 padding: 0px;
}

[class*='colonna-'] {
 float: left; 
 min-height: 1px; 
 padding: 0px;
 margin: 0px;
}

.colonna-1-4 {
 width: 25%;
 margin: 0px;
}

.colonna-1-3 {
 width: 33.33%;
 margin: 0px;
}

.colonna-1-2 {
 width: 50%;
 padding: 0px;
 margin: 0px;
}

.colonna-1 {
 width: 100%;
 padding: 0px;
 margin: 0px;
}

[class*="colonna-"] + [class*="colonna-"]:last-child {float: right;}

/* Micro-clearfix */
.riga:before,
.riga:after {
 content: " "; 
 display: table;
}

.riga:after {
 clear: both;
}

.riga {
 *zoom: 1;
}


/* Stili  per le varie sezioni */
header {
 height: 66px;
 position: relative;
}

header #logo {
 float: left;
}

#logo a {display: block;}

footer {
 border-top: 1px solid #333;
 border-bottom: 1px solid #333;
}

nav {
 float: right;
 padding: 20px 20px 0 0; 
}

nav ul, nav li {
 margin: 0;
 padding: 0;
}

nav ul li {
 list-style: none;
 float: left;
 margin-right: 5px;
}

nav ul li a {
 display: block;
 padding: 5px;
}

a.attiva-nav {
 display: none;
}

#logo-essence {
	padding:18px 20px 0px 20px;
}
#pay-off {
	padding:50px 10px 30px 10px;;
}

.space {
	width:10px;
	height:270px;
}

#banner-parallax {
	height:600px;
	background-size:cover;
	background-image:url(../banner-home/banner-03.jpg);
}

#banner-parallax-2 {
	height:300px;
	background-size:cover;
	background-image:url(../banner-home/banner-footer.jpg);
}

#footer-arrow {
	display:none;
}

@media only screen and (max-width:600px) {
	
#footer-arrow {
	display:block;
}
	
#banner-parallax {
	max-width:100%;
	background-image:url(../banner-home/banner-03-p.jpg);
	background-size:800px;
}

#banner-parallax-2 {
	height:150px;
	background-size:cover;
	background-image:url(../banner-home/banner-footer.jpg);
}	
	
.space {
	width:0px;
	height:0px;
}

#logo-essence {
	padding:15px 20px 0px 20px;
}

#pay-off {
	padding:20px 10px 30px 10px;;
}	
	
.riga { 
 width: auto;
 min-width: 0; 
 margin-left: 0; 
 margin-right: 0;
}
 
[class*="colonna-"] { 
 width: auto !important; 
 float: none;  
}

[class*="colonna"] + [class*="colonna"]:last-child {float: none;}
 
[class*="colonna-"]:before, [class*="colonna-"]:after {
 content:""; 
 display:table;
}

[class*="colonna-"]:after {clear: both;}

a.attiva-nav {
	display: block;
	float: right;
	color: #FF6600;
	background: #dddddd;
	text-decoration: none;
	margin: 0px;
	padding: 1px;
	font-size: 14px;
	font-weight: bold;
	line-height: 22px;
	height: 22px;
}

nav {
 clear: both;
 position: absolute;
	top: 70px;
	width: 100%;
	z-index: 10000;
	background: #fff;
	padding: 0;
	display: none;
}

nav ul {
 margin: 0;
 padding: 0;
}
nav ul li {
 list-style: none;
 float: none;
}

nav ul li a { 
 padding: 5px;
 display: block;
 border-bottom: 1px solid #333; 
}
}

/*FINE PARTE RESPONSIVE */



h1, .h1, a.h1:link, a.h1:active, a.h1:visited {
	color: #030;
	font-size: 34px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}

a.h1:hover {
	color: #802106;
	font-size: 34px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	padding: 0px;
	margin: 0px;
	text-shadow: 1px 1px 5px #666666;
	font-weight: normal;
	pointer-events: none;	
}


h2, .h2, a.h2:link, a.h2:active, a.h2:visited {
	color: #600;
	font-size: 24px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	padding: 0px;
	margin: 0px;
	text-shadow: 1px 1px 5px #666666;
	font-weight: normal;
}

a.h2:hover {
	color: #802106;
	font-size: 34px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	padding: 0px;
	margin: 0px;
	text-shadow: 1px 1px 5px #666666;
	font-weight: normal;	
}

.title, a.title:link, a.title:active, a.title:visited {
	color: #333333;
	font-size: 34px;
	font-weight: 100;	
	font-family: 'Raleway', Helvetica, Arial, sans-serif; 
	line-height: 44px;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	margin: 0px;
	background-repeat: repeat-x;
	min-height: 44px;
	display: block;
}
a.title:hover{
	color: #999;
	font-size: 34px;
	font-weight: 100;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	line-height: 44px;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	margin: 0px;
	background-repeat: repeat-x;
	min-height: 44px;
	display: block;
	transition: all 0.7s ease;
}
.sub-title, a.sub-title:link, a.sub-title:active, a.sub-title:visited {
	font-size: 19px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-weight: 100;
	line-height: 22px;
	word-spacing: 2px;
	letter-spacing: 1px;
	text-decoration: none;
	min-height: 32px;
	display: block;
	color: #999999;
}
a.sub-title:hover{
	color: #C50407;
	font-size: 18px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-weight: 100;
	line-height: 18px;
	word-spacing: 2px;
	letter-spacing: 1px;
	text-decoration: none;
	min-height: 32px;
	display: block;
	color: #666666;
	transition: all 0.7s ease;
}
.sub-title-white, a.sub-title-white:link, a.sub-title-white:active, a.sub-title-white:visited {
	font-size: 22px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	line-height: 28px;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	text-shadow: 1px 1px 5px #000000;
}
a.sub-title-white:hover{
	color: #CCCCCC;
	font-size: 22px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	line-height: 28px;
	word-spacing: 2px;
	letter-spacing: 0px;
	border-left-width: 8px;
	text-decoration: none;
	text-shadow: 1px 1px 5px #000000;
	transition: all 0.7s ease;
}
.menu, a.menu:link, a.menu:active, a.menu:visited {
	font-size: 15px;
	letter-spacing: 1px;
	word-spacing: 2px;
	text-transform: capitalize;
	color: #11186D;
	margin: 2px;
	padding: 1px;
	text-decoration: none;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	width: 211px;
	line-height: 20px;
	display: block;
	height: 24px;
	background-image: url(../img/back-but-menu.jpg);
	background-repeat: no-repeat;
	background-position: center;
}	
a.menu:hover {
	font-size: 15px;
	letter-spacing: 1px;
	word-spacing: 2px;
	text-transform: capitalize;
	color: #7D99BC;
	margin: 2px;
	padding: 1px;
	text-decoration: none;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	width: 211px;
	line-height: 20px;
	display: block;
	height: 24px;
	background-image: url(../img/back-but-menu.jpg);
	background-repeat: no-repeat;
	background-position: center;
	transition: all 0.6s ease;
}	

.button, a.button:link, a.button:active, a.button:visited {
	background-color: #CE2055;
	font-size: 17px;
	font-weight: bold;
	letter-spacing: 2px;
	word-spacing: 2px;
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 9px;
	cursor: pointer;
	text-decoration: none;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}	
.button:hover {
	background-color: #770029;
	font-size: 17px;
	font-weight: bold;
	letter-spacing: 2px;
	word-spacing: 2px;
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 9px;
	cursor: pointer;
	text-decoration: none;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}	
#button {
	background-color: #CD0033;
	font-size: 17px;
	font-weight: bold;
	letter-spacing: 2px;
	word-spacing: 2px;
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 9px;
	cursor: pointer;
	text-decoration: none;
}	
#button:hover {
	background-color: #850024;
	font-size: 17px;
	font-weight: bold;
	letter-spacing: 2px;
	word-spacing: 2px;
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 9px;
	cursor: pointer;
	text-decoration: none;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.testi, a.testi:visited, a.testi:link, a.testi:active {
	color: #000000;
	font-size: 15px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 23px;
	word-spacing: 2px;
	letter-spacing: 1px;
	text-decoration: none;
}
a.testi:hover {
	color: #333333;
	text-decoration:underline;
	transition: all 0.7s ease;
}

.testi-chiari, a.testi-chiari:visited, a.testi-chiari:link, a.testi-chiari:active {
	color: #ffffff;
	font-size: 13px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	line-height: 24px;
	word-spacing: 2px;
	letter-spacing: 1px;
	text-decoration: none;
}
a.testi-chiari:hover {
	color: #cccccc;
	font-size: 13px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	line-height: 24px;
	word-spacing: 2px;
	letter-spacing: 1px;
	transition: all 0.7s ease;
}


.title-red { color: #FF0000; font-size: 18px; 	font-family: 'Raleway', Helvetica, Arial, sans-serif;
 line-height: 22px; word-spacing: 2px; letter-spacing: 1px; }
.testi-pic, a.testi-pic:visited, a.testi-pic:link, a.testi-pic:active {
	color: #000000;
	font-size: 10px;
	font-weight: 200;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	line-height: 18px;
	word-spacing: 2px;
	letter-spacing: 1px;
	text-decoration: none;
}
a.testi-pic:hover {
	color: #666666;
	font-size: 10px;
	font-weight: 200;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	line-height: 18px;
	word-spacing: 2px;
	letter-spacing: 1px;
	text-decoration: underline;
	transition: all 0.7s ease;
}


.awd, a.awd:visited, a.awd:link, a.awd:active  {
	color: #999999;
	text-decoration: none;
	font-size: 10px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	word-spacing: 2px;
	letter-spacing: 1px;
}

a.awd:hover {
	color: #660000;
	text-decoration: underline;
	font-size: 10px;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	word-spacing: 2px;
	letter-spacing: 1px;
}

.bordo_immagine { border: solid 1px #003371; }
.top-spacer {color: #B2CBEA; font-size: 10px; font-family: 'Raleway', Helvetica, Arial, sans-serif; line-height: 10px; }

input {
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	text-decoration: none;
	text-transform: none;
	color: #023273;
	background: #EEEEEE;
	font-size: 13px;
	padding: 5px;
	width:100%;
	border-radius:5px;
	border:1px solid #ffffff;
}
/*Imposto i parametri per le textarea*/
textarea {
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	text-decoration: none;
	text-transform: none;
	color: #023273;
	background: #EEEEEE;
	font-size: 13px;
	padding: 5px;
	width: 100%;
	border-radius: 5px;
	border: 1px solid #ffffff;
}
#checkbox {
	float: none;
	display: auto;
	width: auto;
}
.buttons, a.buttons:link, a.buttons:active, a.buttons:visited  {
	width: 70%;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	padding: 10px;
	background-color: #efefef;
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	margin-left: auto;
	margin-right:auto;
	border-radius: 5px;
	box-shadow: 2px 2px 5px #666666;
}
a.buttons:hover {
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	width: 70%;
	padding: 10px;
	background-color: #600;
	color: #ffffff;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 5px;
	box-shadow: 0px 0px 0px #ffffff;
	transition: all 0.6s ease;
}
#buttons, #buttons:link, #buttons:active, #buttons:visited  {
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	width: 70%;
	padding: 10px;
	background-color: #efefef;
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	margin-left: auto;
	margin-right:auto;
	box-shadow: 1px 1px 3px #333333;
}
#buttons:hover {
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	width: 70%;
	padding: 10px;
	background-color: #600;
	color: #ffffff;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	margin-left: auto;
	margin-right: auto;
	transition: all 0.6s ease;
}
.top-arrow, a.top-arrow:link, a.top-arrow:active, a.top-arrow:visited  {
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	color: #444444;
	margin-left: auto;
	margin-right: auto;
	height: 35px;
	width: 90px;
	font-size: 14px;
	display: block;
	text-decoration: none;
}
a.top-arrow:hover {
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	color: #cccccc;
	margin-left: auto;
	margin-right: auto;
	height: 35px;
	width: 90px;
	font-size: 14px;
	display: block;
	text-decoration: none;
	transition: all 0.6s ease;
}
.photostyle {
	background-color: #900800;
	padding: 7px;
	margin: 5px;
	max-width: 100%;
	height: auto;
}
.photostyle1 {
	max-width:100%; 
	height:auto; 
}
.scopri, a.scopri:link, a.scopri:active, a.scopri:visited {
	padding: 10px 25px;
	background-color: #FF9;
	color: #063;
	text-decoration: none;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	text-shadow: 1px 1px 5px #999999;
	border-radius: 5px;
}
a.scopri:hover {
	padding: 10px 25px;
	background-color: #045405;
	color: #FFFFFF;
	text-decoration: none;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	border-radius: 5px;
	transition: all 1s ease;
}