/* =================================================================== */
/* FONT helvetica nue
====================================================================== */
@font-face {
	font-family: 'font/texgyreherosRegular';
	src: url('font/texgyreheros-regular-webfont.eot');
	src: url('font/texgyreheros-regular-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheros-regular-webfont.woff') format('woff'),
	url('font/texgyreheros-regular-webfont.ttf') format('truetype'),
	url('font/texgyreheros-regular-webfont.svg#font/texgyreherosRegular') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'font/texgyreherosItalic';
	src: url('font/texgyreheros-italic-webfont.eot');
	src: url('font/texgyreheros-italic-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheros-italic-webfont.woff') format('woff'),
	url('font/texgyreheros-italic-webfont.ttf') format('truetype'),
	url('font/texgyreheros-italic-webfont.svg#font/texgyreherosItalic') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'font/texgyreherosBold';
	src: url('font/texgyreheros-bold-webfont.eot');
	src: url('font/texgyreheros-bold-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheros-bold-webfont.woff') format('woff'),
	url('font/texgyreheros-bold-webfont.ttf') format('truetype'),
	url('font/texgyreheros-bold-webfont.svg#font/texgyreherosBold') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'font/texgyreherosBoldItalic';
	src: url('font/texgyreheros-bolditalic-webfont.eot');
	src: url('font/texgyreheros-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheros-bolditalic-webfont.woff') format('woff'),
	url('font/texgyreheros-bolditalic-webfont.ttf') format('truetype'),
	url('font/texgyreheros-bolditalic-webfont.svg#font/texgyreherosBoldItalic') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'font/texgyreherosCnRegular';
	src: url('font/texgyreheroscn-regular-webfont.eot');
	src: url('font/texgyreheroscn-regular-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheroscn-regular-webfont.woff') format('woff'),
	url('font/texgyreheroscn-regular-webfont.ttf') format('truetype'),
	url('font/texgyreheroscn-regular-webfont.svg#font/texgyreherosCnRegular') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'font/texgyreherosCnItalic';
	src: url('font/texgyreheroscn-italic-webfont.eot');
	src: url('font/texgyreheroscn-italic-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheroscn-italic-webfont.woff') format('woff'),
	url('font/texgyreheroscn-italic-webfont.ttf') format('truetype'),
	url('font/texgyreheroscn-italic-webfont.svg#font/texgyreherosCnItalic') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'font/texgyreherosCnBold';
	src: url('font/texgyreheroscn-bold-webfont.eot');
	src: url('font/texgyreheroscn-bold-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheroscn-bold-webfont.woff') format('woff'),
	url('font/texgyreheroscn-bold-webfont.ttf') format('truetype'),
	url('font/texgyreheroscn-bold-webfont.svg#font/texgyreherosCnBold') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'font/texgyreherosCnBoldItalic';
	src: url('font/texgyreheroscn-bolditalic-webfont.eot');
	src: url('font/texgyreheroscn-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
	url('font/texgyreheroscn-bolditalic-webfont.woff') format('woff'),
	url('font/texgyreheroscn-bolditalic-webfont.ttf') format('truetype'),
	url('font/texgyreheroscn-bolditalic-webfont.svg#font/texgyreherosCnBoldItalic') format('svg');
	font-weight: normal;
	font-style: normal;

}

img{border:0}
.clearer {clear:both}
/* =================================================================== */
/* Header
====================================================================== */
#header {
	height: 130px;
}
/* Logo / Tagline
====================================*/
#logo {
	margin-top: 22px;
}
#logo a img {
	float: left;
}
h1.logo {
	float: left
}
h1.logo a {
	font-size: 24px;
	color: #000;
	margin: 0px
}
#tagline {
	color: #888;
	border-left: 1px solid #e9e9e9;
	margin: 35px 0 0 20px;
	padding: 5px 0 5px 20px;
	float: left;
}
/* Contact Details
====================================*/
#contact-details {
	float: right;
	/*margin: 85px -80px 0 0;*/
	margin: 85px 0 0 0;
	display: block;
}
#contact-details li {
	display: inline;
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #e9e9e9;
}
#contact-details li:first-child {
	border: none;
	margin-left: 0;
	padding: 0
}
#contact-details img {
	margin-right: 4px;
}
#contact-details a {
	color: #666;
}
#contact-details a:hover {
	color: #888;
}

/* Main Navigation
====================================*/

#navigation {
	background: #303030;
	display: block;
	width: 100%;
	float: left;
	max-height: 50px;
	margin: 0 0 15px 0;
}
#navigation ul, #navigation li {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline;
}
#navigation ul li {
	float: left;
	position: relative;
}
#navigation ul li a {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	font-size: 11px;
	padding: 17px 42px;
}
#navigation ul li a:hover {
	color: #fff;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}
#navigation ul ul {
	position: absolute;
	display: none;
	top: 50px;
	left: 0;
	background: #303030;
	z-index: 999;
	overflow-x:hidden;
}
#navigation ul ul li a {
	color: #aaa;
}
#navigation ul > li.current-menu-ancestor > a {
	color: #fff
}
#navigation ul ul li a:hover {
	color: #fff;
}
#navigation ul ul li{
	width: 100%;
}
#navigation ul ul li a {
	display: block;
	width:100%;
	margin: 0;
	padding: 9px 18px;
	font-family: Arial, sans-serif;
	font-weight: normal;
	font-size: 12px;
	border-bottom: 1px solid #404040;
	background: none;
}

#navigation ul li:hover>ul {
	opacity: 1;
	position: absolute;
	top: 99%;
	left: 0;
}
#navigation ul ul li:hover>ul {
	position: absolute;
	top: 0;
	left: 100%;
	opacity: 1;
	z-index: 497;
	background-color:#2e4e7b;
}
#navigation ul ul li:hover > a {
	color: #fff;
	background-color:#2e4e7b;
}
#navigation > div > ul > li.current-menu-item > a, .menu-item:hover  {
	background-image: none;
	background-color:#2e4e7b;
}
/* =================================================================== */
/* Flexslider
====================================================================== */
.page-template-template-home-flex-php .slider, .home .slider {
	margin-bottom: 35px
}
/* Browser Resets
====================================*/
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
	outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Necessary Styles
====================================*/
.flexslider {
	margin: 0;
	padding: 0;
}
/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li {
	position: relative;
	zoom: 1;
	display: none;
	-webkit-backface-visibility: hidden;
}
.flexslider .slides img {
	width: 100%;
	display: block;
}
.flex-pauseplay span {
	text-transform: capitalize;
}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flexslider {
	position: relative;
	zoom: 1;
	z-index: 50;
}
/* Clearfix for the .slides element */
.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .slides {
	display: block;
}
* html .slides {
	height: 1%;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
* include js that eliminates this class on page load */
.no-js .slides > li:first-child {
	display: block;
}
/* Default Styles
====================================*/
.flexslider {
	background: #fff;
	zoom: 1;
}
.ie7 .flexslider {
	margin-bottom: -30px;
}
.flex-viewport {
	max-height: 2000px;
}
.loading .flex-viewport {
	max-height: 300px;
}
.flexslider .slides {
	zoom: 1;
}
/* Direction Nav
====================================*/

.flex-direction-nav a {
	width: 35px;
	height: 35px;
	display: block;
	background-color: #000;
	bottom: 20px;
	right: 20px;
	float: none;
	position: absolute;
	cursor: pointer;
	text-indent: -9999px;
	background-color: #222;
	background: rgba(0, 0, 0, 0.65);
	*bottom: 50px;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}
.flex-direction-nav .flex-next {
	background-image: url(img/slider-control-right.png);
	background-repeat: no-repeat;
	background-position: 52% 50%;
}
.flex-direction-nav .flex-prev {
	margin-right: 36px;
	background-image: url(img/slider-control-left.png);
	background-repeat: no-repeat;
	background-position: 48% 50%;
}
.flex-direction-nav .flex-prev:hover, .flex-direction-nav .flex-next:hover {
	opacity: 1;
}
.subpage .flex-direction-nav a {
	bottom: 0px;
	right: 0px;
	*bottom: 30px;
}
/* Control Nav
====================================*/
.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: -30px;
	text-align: center;
}
.flex-control-nav li {
	margin: 0 3px 0 0;
	display: inline-block;
	zoom: 1;
	*display: inline;
}
.flex-control-paging li a {
	width: 14px;
	height: 14px;
	display: block;
	background: #c8c8c8;
	cursor: pointer;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
}
.flex-control-paging li a:hover, .flex-control-paging li a.flex-active {
	background: #505050;
}
.flex-control-paging li a.flex-active {
	cursor: default;
}
/* Caption
====================================*/
.slide-caption {
	width: 30%;
	padding: 22px;
	margin: 0 0 20px 20px;
	position: absolute;
	display: block;
	left: 0;
	bottom: 0;
	background-color: #222;
	background: rgba(0, 0, 0, 0.7);
}
.slide-caption.n {
	background-color: #222;
	background: rgba(0, 0, 0, 0.6);
}
.slide-caption h3 {
	color: #fff;
	font-size: 16px;
	padding-bottom: 10px;
	margin: 0;
	line-height: 22px;
}
.slide-caption p {
	margin: 0;
	line-height: 19px;
	color: #bbb;
}

/* =================================================================== */
/* Miscellaneous Styles
====================================================================== */
.ie-dropdown-fix {
	position: relative;
	z-index: 55;
}


/* Headline
====================================*/
.headline {
	background: url(img/headline-bg.png) 0 50% repeat-x;
	display: block;
	margin: 30px 0 8px 0;
}
.no-margin {
	margin-top: 0;
}
.low-margin {
	margin-top: 15px;
}
.headline h3, .headline h4 {
	background-color: #fff;
	display: inline;
	padding: 0 10px 0 0;
}
/* Page Title
====================================*/
#page-title {
	border-bottom: 1px solid #e9e9e9;
	display: block;
	margin: 0 0 15px 0;
}
#page-title h1, #page-title h2 {
	font-weight: normal;
	padding: 11px 0 0px 0;
	font-size: 22px;
	line-height: 25px;
}
#page-title h1.has-breadcrumbs, #page-title h2.has-breadcrumbs {
	padding-bottom: 0px
}
#page-title span {
	color: #aaa;
}
#bolded-line {
	text-indent: -9999px;
	height: 3px;
	width: 100px;
	display: block;
	margin-bottom: -2px;
}

/* =================================================================== */
/* Footer
====================================================================== */
#footer, #footer p, #footer a {
	color: #fff;
	text-decoration: none;
}
#footer a:hover {
	color: #fff;
}

.no-margin {
	margin-top: 0;
}

#footer p{
	float: left;
	display: inline;
	font-size: 13px;
}

#footer p.right{
	float: right;
}
#footer p.left{
	width: 800px;
}

/* Blockquote
====================================*/
blockquote {
	border-left: 4px solid #e7e7e7;
	padding-left: 20px;
	color: #888;
	line-height: 20px;
	margin: 5px 0 20px 0;
}
/* Social Icons
====================================*/

/* Header Icons */
.social-icons {
	margin: 0 15px 0 0;
	float: right;
}
.social-icons.about {
	float: left;
	margin: 0 0 0 -5px;
}
.social-icons li {
	display: inline;
	list-style: none;
	text-indent: -9999px;
	margin-left: 5px;
	float: left;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.social-icons li a {
	background-image:url(img/facebook_logo.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	display: block;
	height: 28px;
	width: 28px;
}

/* =================================================================== */
/* Boxed Layout
====================================================================== */

body {
	font: 14px font/texgyreherosRegular, Arial, sans-serif;
	color: #333;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
	background-color:#425059;
}

#wrapper {
	background: #fff;
	-webkit-box-shadow:  0px 0px 6px 0px rgba(0, 0, 0, 0.2);
	box-shadow:  0px 0px 6px 0px rgba(0, 0, 0, 0.2);
	width: 960px;
	padding: 10px 35px 35px 35px;
	margin: 30px auto 0 auto;
}

#footer {
	background: #303030;
	width: 960px;
	padding: 15px 35px 0px 35px;
	margin: 0 auto 50px auto;
}

.field .wpcf7-not-valid, 
.field .wpcf7-not-valid:focus,
.field .validation-error, 
.field .validation-error:focus {
	border:1px solid #f2c4c2;
	background: #ffeceb;
}

body div.wpcf7-mail-sent-ng {	
	background-color: #ffe9e9;
	color: #de5959;
	border: 1px solid #fbc4c4;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 15px;
	padding: 14px 40px 14px 18px;
	-webkit-box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);
	box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);

}
body div.wpcf7-validation-errors {
	background-color: #FBFADD;
	color: #8f872e;
	border: 1px solid #ded58a;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 15px;
	padding: 14px 40px 14px 18px;
	-webkit-box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);
	box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);
}

body div.wpcf7-mail-sent-ok {
	background-color: #EBF6E0;
	color: #5f9025;
	border: 1px solid #b3dc82;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 15px;
	padding: 14px 40px 14px 18px;
	-webkit-box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);
	box-shadow:  0px 1px 1px 0px rgba(180, 180, 180, 0.1);
}

/* Smaller than standard 1029 (devices and browsers)
====================================================================== */
@media only screen and (max-width: 1029px) {

	#wrapper {
		margin: 0 auto;
		padding: 25px 0 30px 0;
		-webkit-box-shadow: none;
		box-shadow: none;
		width: 100%;
	}
	
	body {
		background: #fff
	}
	
	#footer {
		margin: 0 auto;
		padding: 15px 0 0 0;
		width: 100% !important;
	}
	
}

/* Tablet Portrait (devices and browsers)
====================================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	#footer {
		padding: 10px 0 0 0;
	}

}

/* All Mobile Sizes (devices and browser)
====================================================================== */
@media only screen and (max-width: 767px) {

	#wrapper {
		margin: 0 auto;
		padding: 15px 0 30px 0;
		-webkit-box-shadow: none;
		box-shadow: none;
		width: 100%;
	}
	
	body {
		background: #fff
	}
	
	#footer {
		margin: 0 auto;
		padding: 15px 0 0 0;
		width: 100% !important;
	}

}


/*custom style*/
#homepage .foto_right{
	float:right;
	display:inline;
	margin-left:15px;
	width:390px;
	
}


.contatti{
	background-image:url(img/contatti.png);
	background-position:right;
	background-repeat:no-repeat;
}
.contatti input{
	width:400px;
	border:1px solid #cecece;
	-webkit-border-radius: 6px;
	-moz-border--radius: 6px;
	padding-left:10px;
	background-color:#ebebeb
}
.contatti textarea{
	margin-top:5px;
	width:540px;
	height:120px;
	border:1px solid #cecece;
	-webkit-border-radius: 6px;
	-moz-border--radius: 6px;
	padding:10px;
	background-color:#ebebeb
}
.contatti .submit{
	width:auto;
	padding:5px 10px;
	background-color:#425059;
	border:0;
	color:white;
	font-weight:bold;
}
.contatti .submit:hover{
	cursor:pointer
}

.etichetta {
	float:left;
	display:inline-block;
	width:150px;
}

.offerta{
	float:left;
	margin-bottom: 15px;
	width:100%;
}

.offerta h2 span{
	float: right;
	font-size: 12px;
	color: #f55;
	padding-top: 7px;
}

.offerta h2{
	background-color: #ccc;
	padding: 10px 20px;
	font-weight: normal;
}

.offerta img{
	float: right;
	display: inline;
	margin-left:20px;
}

.lista-marchi{
	border-top:1px solid #E5E5E5;
	margin-top: 15px;
	padding-top: 10px
}

.lista-marchi ul{
	list-style:none;
	margin:0 10px;
	padding:0;
}
.lista-marchi li{
	border: 1px solid #E5E5E5;
	float: left;
	margin: -1px 0 0 -1px;
	padding:10px;
}
.lista-marchi li img{
	margin-bottom:-5px;
}