/*
Theme Name: GruppoMastrotto
Author: GruppoMastrotto
Author URI:
Version: 1
Description: theme for Wordpress
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gruppomastrotto
Tags: one-column, two-columns
Theme URI:
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky,
.bypostauthor{
	display:block;
}

.wpcf7-form input[type="email"]{
	line-height:15px;
	font-size:12px;
	border:2px solid #dee1e3;
	border-radius:7px;
	width:357px;
	padding:9px;
	color:#34495e;
	outline:none;
}

.widget a{
	 color: #777777;
}
/* main elemensts */

div.wpcf7-response-output {
    border-radius: 5px 5px 5px 5px;
	margin: 2em 0.5em 1em;
	padding: 0.2em 3em;
   text-align: center;
}

.input-holder span.wpcf7-form-control-wrap {
	position: static;
}

.input-holder span .wpcf7-not-valid-tip {
	position: absolute;
	z-index: 100;
	background: #fff;
	border: 1px solid #ff0000;
	font-size: 10pt;
   border-radius: 5px 5px 5px 5px;
   bottom: 0;
   left: 0;
   padding: 10px;
   width: auto;
   right: 0;
   top : 0;
}

.contact-block .wpcf7{
	width:380px;
	float:left;
	padding:8px 0 0;
}



#main.trad {
	background:#f5f4f4;
	min-height: 750px;
}

.wrap-prod {
	margin: 0 auto;
    width: 960px;
}

.wrap-prod.prodotti-tradizionali {
	opacity: 0;
}


.preloader {
	margin: 0 auto;
    opacity: 1;
    width: 960px;
	padding: 100px 0;
}

.preloader p {
	text-align:center;
	margin-bottom:20px;
}

.trad-template #header {
	position: relative;
    
}
	
#trad-header {
	background: none repeat scroll 0 0 #F5F4F4;
    position: relative;
    z-index: 2;
}

#trad-header > p {
	font-size:22px;
	height:90px;
	line-height:90px;
	color:#F00;
	text-align:center;
	position:relative;
}
#trad-header > p > span.richieste, .area-prodotti .breadcrumbs span.richieste{
	position:absolute;
	right:0;
	font-size:14px;
	top: 32px;
}

.area-prodotti .breadcrumbs span.richieste{
	right: 9px;
    top: -4px;
    z-index: 0;
}

#trad-header > p > span.richieste a, .area-prodotti .breadcrumbs span.richieste a{
	color:red;
	background:url("images/trad-scheda-info-richieste.png") no-repeat center left;
	padding-left:67px;
	display:block;
	height:24px;
	line-height:24px;
}

#product-scroller {
	background: none repeat scroll 0 0 #F5F4F4;
    position: relative;
    top: -15px;
    z-index: 2;
}

#product-scroller ul {
	position:relative;
	z-index:1000;
}

#product-scroller ul, #product-data ul {
	list-style:none;
}

#product-scroller ul li {
    color: #DDDDDD;
    cursor: pointer;
    float: left;
    height: 100%;
    margin: 0 1px 0 0;
    padding: 0;
    text-align: center;
    width: 150px;
	margin: 0 -20px;
    position: relative;
    transform: scale(0.7);
	-ms-transform: scale(0.7); /* IE 9 */
	-webkit-transform: scale(0.7); /* Safari and Chrome */
    transition: transform 300ms ease-out 0s;
	-ms-transition: transform 300ms ease-out 0s;
	-webkit-transition: transform 300ms ease-out 0s;
}

#product-scroller ul li.active {
    transform: scale(1);
	-ms-transform: scale(1); /* IE 9 */
	-webkit-transform: scale(1);
    z-index: 10;
}

#product-scroller ul li.active ~ li {
    transform: scale(0.7);
	-ms-transform: scale(0.7); /* IE 9 */
	-webkit-transform: scale(0.7);
}

.controls a.btn{
	width:171px;
	height:48px;
	text-transform:uppercase;
	text-decoration:none;
	font-size:14px;
	line-height:14px;
	padding-top:17px;
	margin-top:-25px;
	cursor: pointer;
}

.controls a.btn.disabled{
	color:#bbbbbb;
	cursor: text;
}

.controls a.btn.prev{
	background:url("themes/images/trad-scheda-prev.png") left center no-repeat;
	padding-left:0px;
	float:left;
}

.controls a.btn.next{
	background:url("themes/images/trad-scheda-next.png") right center no-repeat;
	padding-right:20px;
	float:right;
	text-align:right;
}

#product-data > ul  {
	position:relative;
}

#product-data > ul > li {
	position:absolute;
	top:0;
	left:8px;
	display:none;
	opacity:0;
}

#product-data > ul > li div.scheda {
	-moz-border-radius: 0 0 20px 20px;
	border-radius: 0 0 20px 20px;
	width:914px;
	background:#edeeef;
	padding:20px 15px 30px 15px;
	position:relative;
}

#product-data > ul > li h2 {
	text-align:center;
	text-transform:uppercase;
	width:914px;
	background:url("images/trad-scheda-top.png") top center no-repeat;
	padding-top:51px;
	top:-24px;
	position:absolute;
	font-size:22px;
}

#product-data > ul > li img.img_main {
	float:left;
	width:400px;
	height:400px;
	margin-top: 6px;
}

#product-data > ul > li a.express {
	position:absolute;
	top:0;
	right:0;
	display:block;
	width:251px;
	height:61px;
}

#product-data > ul > li div.details { 
	float:right;
	width:470px;
	margin-top: 6px;
}

#product-data > ul > li div.details > p { 
	font-size:13px;
}

#product-data > ul > li div.details h3.caratteristiche {
	margin-bottom:0;
	font-size:18px;
}

#product-data > ul > li div.details h3.spessore {
	float:left;
	margin-right:10px;
	font-size:18px;
	margin-top:20px;
}

#product-data > ul > li div.details .trad-info {
	position:absolute;
	height:202px;
	bottom:0;
}

.trad-info a{
	display:block;
	text-transform:uppercase;
	text-decoration:none;
	font-size:12px;
	padding-left:60px;
	height:48px;
	line-height:48px;
	background:url('images/trad-scheda-richiesta.png') no-repeat center left; 
}
.trad-info a.first{
	background:url('images/trad-scheda-info.png') no-repeat center left; 
}
.trad-info a.aggiunta-correttamenste{
	background:url('images/trad-scheda-richiesta-aggiunta.png') no-repeat center left;
	visibility:hidden;
	cursor:text;
}
.trad-info a.richieste {
	cursor:pointer;
	background:url('images/trad-scheda-lista-richieste.png') no-repeat center left;
}

.og-details .trad-info a{
	display:block;
	text-transform:uppercase;
	text-decoration:none;
	font-size:10px;
	padding-left:40px;
	height:25px;
	line-height:25px;
	background:url('cep/img/2.jpg') no-repeat center left; 
}
.og-details .trad-info a.first{
	background:url('cep/img/1.jpg') no-repeat center left;
	margin-top: 25px;
}
.og-details .trad-info a.aggiunta-correttamenste{
	background:url('cep/img/3.jpg') no-repeat center left; 
	visibility:hidden;
	cursor:text;
}
.og-details .trad-info a.richieste {
	cursor:pointer;
	background:url('cep/img/4.jpg') no-repeat center left; 
}


#product-data > div.explain {
	height:400px;
	padding-top:150px;
	font-size:30px;
	line-height:30px;
	color:#bbbbbb;
	text-align:center;
	margin-bottom:10px;
}

#product-data ul li div.prodotti-correllati {
	-moz-border-radius: 20px 20px 20px 20px;
	border-radius: 20px 20px 20px 20px;
	width:914px;
	background:#edeeef;
	padding:15px;
	margin:30px 0 ;
	min-height:110px;
}

#product-data ul li div.prodotti-correllati h3 {
	text-align:center;
	text-transform:uppercase;
}

#product-data ul li div.prodotti-correllati ul {
	width:800px;
}

#product-data ul li div.prodotti-correllati ul li{
	width:200px;
	float:left;
}

#product-data ul li div.prodotti-correllati ul li img{
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.active-page.trad {
    left: 50px;
    padding: 0 0 43px;
    position: absolute;
    top: -75px;
}

.active-page.trad h1 {
	position:relative;
}

.active-page.trad img {
    left: 75px;
    position: absolute;
    top: -10px;
}

#trad-form {
	background:#fff;
}

#trad-form input[type=text], #trad-form input[type=email]{
	width:200px;
}

#trad-form .wpcf7 {
	width:480px;
	font-size:14px;
}

#trad-form  h5 {
	color:black;
}

#trad-form .wpcf7 .privacy {
	background:#edeeef;
	padding:5px;
}

#trad-form .wpcf7 .privacy a {
	font-style:italic;
}

.visible {
	visibility:visible !important;
}

/* SAFARI HACKS */

@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Safari-Opera specific declarations here */
	.safari.windows .active-page.news, .safari.windows .active-page.trad, .safari.windows .active-page.contacts {
		top: -33px;
	}

	.safari.windows .singola-pagina .active-page.news, .safari.windows .singola-pagina .active-page.trad, .safari.windows .singola-pagina .active-page.contacts {
		width:440px;
		left:500px;
	}
	.safari.windows .active-page.trad img {
		left: 75px;
		position: absolute;
		top: -50px;
	}

	.safari	#nav ul li > ul{
		display:block;
		opacity:0;
	}
	
	.safari	#nav ul li > ul  a{
		cursor:default;
	}
	
	
	
}
.wpcf7-radio .wpcf7-list-item{float:left;}