/* --------------------------------
Slogan
-------------------------------- */
#slogan {
	text-align: center;
	text-transform: uppercase;
}
.word {
	margin-bottom: 10px;
	font-size: 30px;
	display: inline-block;
	padding: 0 20px;
}
.word .rosso {
	font-size: 35px;
}
/* --------------------------------
Titoli
-------------------------------- */
h1.titolo {
	width: auto;
	font-size: 39px;
	color: #ca382f;
	line-height: 1;
	display: inline-block;
	text-transform: uppercase;
	text-align: center;
	margin: 30px auto;
	padding: 0 30px 30px 30px;
	border-bottom: 1px solid #adadad;
}
/* --------------------------------
Testi
-------------------------------- */
.foto img {
	width: 100%;
	margin: 0 0 30px 0;
}
.testo {
	font-size: 20px;
	line-height: 30px;
	text-align: justify;
}
.testo .smallTx {
	font-size: 16px;
}
strong {
	font-weight: 700;
}
em { font-style: italic; }
.columns img, .column img {
	width: auto;
	max-width: 100%;
}
/* --------------------------------
Modal
-------------------------------- */
#contact .modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}
#contact .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 70%;
}
#contact .close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
#contact .close:hover, #contact .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

/* --------------------------------
Prodotti
-------------------------------- */
#prodotti .prodotto {
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
#prodotti .prodotto.grigio {
	background: #999;
}
#prodotti .prodotto.nero {
	background: #262626;
}
#prodotti .prodotto.rosso {
	background: #bd2010;
}
#prodotti .prodotto.arancione {
	background: #f39801;
}
#prodotti .prodotto img {
	width: 100%;
}
#prodotti .prodotto .tit {
	color: #fff;
	margin: 10px 0 15px 0;
	padding: 0;
	line-height: 1;
	font-weight: 700;
	font-size: 20px;
	text-align: center;
	text-transform: uppercase;
}
#prodotti .prodotto .desc {
	color: #fff;
	margin: 0;
	padding: 0 10px 0 10px;
	font-size: 14px;
	text-align: justify;
	text-transform: none;
}
#prodotti .prodotto .continua {
	display: inline;
	font-size: 14px;
}
/* --------------------------------
Biodiesel
-------------------------------- */
#biodiesel .box {
	background: #089946;
	padding: 30px;
}
/* --------------------------------
Base Layout
-------------------------------- */
.container {
	text-align: center;
	height: auto;
	margin: 0 auto;
	padding: 64px 0 0 0;
}
.contFull {
	width: 100% !important;
	padding: 0;
}
.nopadding {
	padding: 0 !important;
}
.row {
	margin-bottom: 32px;
}
.animated {
	visibility: hidden;
}
.visible {
	visibility: visible;
}
/* --------------------------------
Page Loader
-------------------------------- */

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: 9999;
}
.prehome {
	width: auto;
	max-width: 800px;
	margin: 0 auto 30px auto;
	text-align: center;
	display: block;
}
.loader {
	position: relative;
	margin: 0 auto 0 -70px;
	width: 140px;
	height: 140px;
	text-align: center;
	background: url(../images/loader.png);
	background-size: 140px 140px;
	left: 50%;
}
/* --------------------------------
Home (Header) Section
-------------------------------- */

.home {
	position: relative;
	width: 100%;
	height: auto;
	top: 0;
}
.home:after {
	clear: both;
}
.header {
	margin: 0;
	padding: 70px 0 0 0;
	text-align: center;
}
.header img {
	width: 100%;
	display: block;
}
.header-text {
	background: rgba(0, 0, 0, .4);
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding: 24px 16px;
	margin: 0 auto;
	width: 55%;
	margin-bottom: 56px;
}
.text-slides {
	text-transform: uppercase;
	font-size: 48px;
	line-height: 56px;
	font-weight: 300;
	width: 100%;
	height: auto;
	color: #ffffff;
	margin: 0 auto;
}
.text-slides li:last-child {
	clear: both;
}
.social-media h4 {
	color: #ffffff;
	text-transform: uppercase;
	display: block;
	margin-bottom: 24px;
}
.header ul.social-links li {
	display: inline;
}
.header ul.social-links li a {
	display: inline-block;
	padding: 4px 0 0 1px;
	width: 32px;
	height: 32px;
	margin: 0 4px;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.header ul.social-links li a:hover {
	background: rgba(0, 0, 0, .7);
	color: #cb382f;
}
a.header-down-arrow {
	color: #fff;
	display: inline-block;
	font-size: 40px;
	font-weight: 400;
	margin-top: 100px;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
 filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
a.header-down-arrow:after {
	content: "\2329";
}
a.header-down-arrow:hover {
	color: #cb382f;
}
/* --------------------------------
Navigation Bar
-------------------------------- */

/* Logo Style */

.site-logo {
	float: left;
	position: relative;
	top: 30%;
	text-transform: uppercase;
	color: #2f2f2f;
	font-size: 32px;
	font-weight: 400;
}
.site-logo:hover {
	color: #2f2f2f;
}
.site-logo img { max-width: 210px; }
/* Nav Menu */

.hide-nav {
	top: -75px;
}
.show-nav {
	top: 0;
}
.nav li.lang {
	margin-left: 30px;
	text-align: right;
}
.nav li.ln a {
	opacity: 0.5;
}
.nav li.ln a.active, .nav li.ln a:hover { opacity: 1 !important;}
.nav li a.selected, .nav li a.current {
	color: #cb382f !important;
}
#navigation {
	position: fixed;
	height: 70px;
	width: 100%;
	background: #fff;
	border-bottom: 2px solid #cb382f;
	z-index: 100;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
.nav-container {
	margin: 0 auto;
	width: 100%;
	height: 100%;
	max-width: 1170px;
}
.mobile-nav-button {
	display: none;
	color: #cb382f;
	width: 40px;
	height: 40px;
	text-align: center;
	font-size: 25px;
	position: absolute;
	right: 15px;
	top: 57%;
	cursor: pointer;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}
.mobile-nav-button:hover {
	color: #cb382f;
}
.nav-menu {
	position: relative;
	top: 25%;
	float: right;
	height: 100%;
}
.nav li {
	float: left;
	position: relative;
}
.nav li a {
	display: block;
	text-transform: uppercase;
	color: #2f2f2f;
	padding: 8px 0;
	margin: 0 15px 0 0;
	font-size: 14px;
	font-weight: 400;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.nav li a:hover {
	color: #cb382f;
}
/* Drop Down Navigation */

.nav li i {
	margin-left: 3px;
	font-size: 8px;
	vertical-align: 10%;
}
.nav ul {
	margin: 20px 0 0 0;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 38px;
	left: 0;
	z-index: 1;
	background: #fff;
	box-shadow: 0px 1px 4px rgba(0,0,0, 0.1);
	transition: all .2s ease-in-out;
}
.nav li:hover > ul {
	opacity: 1;
	visibility: visible;
	margin: 0;
}
.nav ul li {
	float: none;
	display: block;
}
.nav ul a {
	padding: 10px;
	width: 100%;
	min-width: 150px;
	display: block;
	white-space: nowrap;
	float: none;
}
.nav ul a:after {
	content: "";
}
.nav ul a:hover {
	color: #2f2f2f;
	background-color: rgba(108,108,108, .3);
}
/* --------------------------------
Sub Page
-------------------------------- */

.sub-page {
	padding-top: 128px;
}
/* --------------------------------
Contact Section
-------------------------------- */
.contact-form {
	background: #cbcacf;
}
.contact-form .container {
	padding: 40px 0;
}
.contact-form input, .contact-form textarea {
	width: 100%;
	padding: 16px;
	margin-bottom: 24px;
	font-size: 16px;
	border: 1px solid rgba(47,47,47,.3);
	color: #6c6c6c !important;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.contact-form textarea {
	height: 209px;
	max-height: 209px;
}
.contact-form input:focus, .contact-form textarea:focus {
	outline: none;
	border: 1px solid rgba(47,47,47,.6);
	color: #2f2f2f;
	background: rgba(47,47,47,.1)
}
.contact-form input:hover, .contact-form textarea:hover {
	background: rgba(47,47,47,.1)
}
button#submit {
	font-family: 'Lato', sans-serif;
	letter-spacing: 1px;
	color: #fff;
	background: #cb382f;
	font-size: 16px;
	display: inline-block;
	padding: 8px 16px;
	text-transform: uppercase;
	font-weight: 300;
	border: 1px solid #cb382f;
	cursor: pointer;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
button#submit:hover {
	background: #6c6c6c;
	border: 1px solid #6c6c6c;
}
button#submit:focus {
	outline: none;
}
/* Contact Form Messages */

.error-container {
	display: block;
	margin-bottom: 24px;
}
.error {
	color: #cb382f;
	display: none;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 16px;
}
.success {
	color: #27ae60;
	display: none;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 16px;
}
/* --------------------------------
Footer
-------------------------------- */
#footer-bottom {
	position: relative;
	background: #e4e3e8;
	color: #fff;
}
#footer-bottom .container {
	padding: 24px 0;
}
#footer-bottom h2 {
	color: #fff;
}
a.button-to-top {
	position: absolute;
	top: -20px;
	left: 50%;
	margin-left: -16px;
	display: block;
	padding: 4px 0;
	width: 32px;
	height: 32px;
	background: rgba(47, 47, 47, 1);
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
a.button-to-top:hover {
	color: #cb382f;
}
