/*
-) BASIC CONTAINERS
-) HEAD
-) FEATURED
-) FOOTER
-) SOCKET
-) SIDEBAR
-) CONTENT AREA
-) COMMENTS
-) GENERIC
-) FORM ELEMENTS
*/

@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic);

/* BASIC CONTAINERS */
html{ background: #fff; }
body{ color: #777; background: #fff; background-image:url(../images/sfondo.jpg); background-repeat:repeat-x; }
#main{ border-bottom: 0px solid #BBB; }

/* HEAD */

.bg-logo a{
background-image: url(../images/skin1/logo.png);
background-repeat: no-repeat;
}

#top .nav, #top .avia_mega{
border:none;
border-bottom:none;
background: #f0fafd;
background-image:url(../images/nav_bg.png);
background-repeat: repeat-x;
width:978px;
}

#top .avia_mega a{
color:#004080;
-webkit-transition: all 0.3s ease-in;  /* Saf3.2+, Chrome */
     -moz-transition: all 0.3s ease-in;  /* FF4+ */
      -ms-transition: all 0.3s ease-in;  /* IE10? */
       -o-transition: all 0.3s ease-in;  /* Opera 10.5+ */
          transition: all 0.3s ease-in;
}

#top .avia_mega>.current-menu-item >a, #top .avia_mega>li:hover>a{
background: none;
color:#004080;
}

#top .avia_mega>li>a:hover, #top .avia_mega>li:hover>a, #top #wrap_all .avia_mega .open-mega-a {
background: #bdca00;
background-image:url(../images/li_bg.png);
background-repeat:repeat-x;
color:#fff;
}

#top .avia_mega > .current-menu-item > a, #top .avia_mega > li:hover > a {
background: #bdca00;
background-image:url(../images/li_bg.png);
background-repeat:repeat-x;
color:#fff;
}


.boxed{
background: #fff;
border:none;
}


/*mega menu only*/
.avia_mega1, .avia_mega2, .avia_mega3, .avia_mega4, .avia_mega5, .avia_mega>li>ul, .avia_mega>li>ul ul{
background: #f0fafd;
border:1px solid #999;
border-top:none;
}

.avia_mega ul{
background: transparent url(../images/.png) 0 0 repeat;
color:#777;
}

#top .avia_mega div ul a:hover{
background: transparent;
}

#top .avia_mega ul ul li, #top .avia_mega >li >ul li{
color:#777;
background-image:url(../images/menu_arrow_EMA.png);
background-position: -20px -11px;
*background-position: -50px -51px; /*ie7 pseudo fix of bg images*/
background-repeat: no-repeat;
}

#top .avia_mega >li >ul li{
background-position: -9px -8px;
}

#top .avia_mega > li > ul ul li:first-child{
background-position: 0px -8px;
}

#top .avia_mega div ul ul ul li{
background: #888 url(../images/skin1/menu_arrow.png)  -20px -11px  no-repeat;
}

.dropdown_available{
background: transparent url(../images/skin1/menu-arrow-down.png)  center center  no-repeat;
}
/*menu only sidebar*/

#main .nav, #main .avia_mega{
border:0px;
border-bottom:none;
background: #ffffff;
width:223px;
}

#main .avia_mega a{
height:30px;
display:block;
padding:0 5px;
text-decoration:none;
text-align:left;
line-height:30px; 
outline:none;
z-index:35;
position:relative;
float:left;

}

#main .avia_mega>.current-menu-item >a, #main .avia_mega>li:hover>a{
background: #8eb914;
color:#fff;
}

#main .avia_mega>li>a:hover, #main .avia_mega>li:hover>a, #main #wrap_all .avia_mega .open-mega-a{
background: #eee;
color:#333;
}




/* FEATURED */

.feature_excerpt h1{
color:#fff;
}

.feature_excerpt{
color:#fff;
background: transparent url(../images/skin1/bg-trans.png)  0 0  repeat;
}

.slidecontrolls a{
background: transparent url(../images/skin1/dot.png)  left bottom  no-repeat;
}

#top .slidecontrolls .activeItem{
background: transparent url(../images/skin1/dot.png)  0 0  no-repeat;
}

#top .ctrl_back{ background: transparent url(../images/skin1/dot-back.png)  0 0  no-repeat; }
#top .ctrl_fwd{ background: transparent url(../images/skin1/dot-fwd.png)  0 0  no-repeat; }
#top .ctrl_pause{ background: transparent url(../images/skin1/dot-pause.png)  0 0  no-repeat; }
#top div .ctrl_play{ background: transparent url(../images/skin1/dot-play.png)  0 0  no-repeat; }

.moving_pointer{
background: transparent url(../images/skin1/arrow-up.png)  center 0  no-repeat;
}

.fullwidth_no_image{
border-top:1px solid #e1e1e1;
background: #f8f8f8;
}

.shadow-top{
background: transparent url(../images/shared/bg-shadow.png)  center top  no-repeat;
}

.shadow-bottom{
background: transparent url(../images/shared/bg-shadow.png)  center bottom  no-repeat;
}

/*content slider*/
.contentSlideControlls a{
background-color: #c1c1c1;
background-image: url(../images/skin1/reverse-dot.png);
}


/*FOOTER*/
.social_bookmarks .rss a{background: transparent url(../images/skin1/rss.png) 0 0  no-repeat;}
.social_bookmarks .facebook a{background: transparent url(../images/skin1/facebook.png) 0 0  no-repeat;}
.social_bookmarks .twitter a{background: transparent url(../images/skin1/twitter.png) 0 0  no-repeat;}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {color:#333; }

#footer{
background: #00407f;
border-top: 1px solid #000;
color:#2d90cb;
}

#footer ul a {
border-bottom: 1px solid #E1E1E1;
color:#777;
background: transparent url(../images/skin1/list-icon.png)  0 10px  no-repeat;
}

.custom_button{
border: 1px solid #E1E1E1;
color: #666;
background: #fff url("../images/skin1/email.png") no-repeat scroll 10px center;
}

.custom_button:hover{
color: #333;
text-decoration: none;
}

#footer .arrow-down{
display:none;
background: transparent url("../images/skin1/arrow-down.png") no-repeat scroll 0 0;
}

#footer_contenuto{
	width:795px;
	float:left;
	margin-top:-5px;
	margin-bottom:30px;
}

#firma{
	width:160px;
	float:left;
	text-align:right;
}

#firma a{
	opacity: 1;
	/*filter: alpha(opacity=70);*/
	  -webkit-transition: all 0.2s ease-out;  /* Saf3.2+, Chrome */
     -moz-transition: all 0.2s ease-out;  /* FF4+ */
      -ms-transition: all 0.2s ease-out;  /* IE10? */
       -o-transition: all 0.2s ease-out;  /* Opera 10.5+ */
          transition: all 0.2s ease-out;
}

#firma a:hover{
	opacity: 1.0;
	filter: alpha(opacity=100);
}


/*SOCKET*/

#socket{
background: #333;
color:#777;
display:none;
}

#socket a{
color:#777;
display:none;
}

/*SIDEBAR*/

/*twitter widget*/
.tweet-thumb a{
border:1px solid #e1e1e1;
}

/*news widget*/
.news-thumb{
border:1px solid #e1e1e1;
}

.news-time{
color:#aaa;
}

.news-link{
color:#777;
}

.news-link:hover{
text-decoration: none;
}

/*Archive widget*/

.widget_archive li a, .widget_categories li a, .widget_pages li a, .widget_links li a, .widget_meta li a, .widget_recent_entries li a{
color:#333;
border-bottom:1px solid #e1e1e1;
}

.widget_archive li , .widget_categories li , .widget_pages li, .widget_links li, .widget_meta li{
background-image: url(../images/skin1/menu_arrow.png);
background-position: -20px -10px;
background-repeat: no-repeat;
}


/**recent entries default widget*/
.widget_recent_entries li a{
color:#888;
}

/*recent comments*/

.recentcomments{
color:#999;
border-bottom:1px solid #e1e1e1;
}

/*tagcloud*/

.tagcloud a{
border:1px solid #e1e1e1;
background: #f8f8f8;
color:#777;
text-shadow: 1px 1px 1px #fff;
}

.tagcloud a:hover, #footer .tagcloud a:hover{
color:#fff;
background: #333;
}

#footer .tagcloud a{
background: #fff;
}

/*rss*/
.rss-date, .widget_rss cite{
color:#999;
}

.widget_rss li{
border-bottom:1px solid #e1e1e1;
}




/*CONTENT AREA*/

.blog-meta, .entry-content{
border-top:1px solid #e1e1e1;
}

.post-date-comment-container{
background: transparent url(../images/skin1/bg-meta.png) center center  no-repeat;
border-bottom:1px solid #e1e1e1;
}

.post-date-comment-container, .post-date-comment-container a, .post-date-comment-container a:hover{
color:#fff;
}


.blog-categories, .blog-tags{
border-bottom:1px solid #e1e1e1;
}


div .pagination a{
background: url("../images/skin1/bg-button.png") repeat-x scroll center top #666;
border:1px solid #666;
}


#top .more-link, .pagination .current, .pagination a, .button, #commentform #submit{
    background-image: url("../images/skin1/bg-button.png");
    background-repeat: repeat-x;
    background-position: center top;
    color: #FFFFFF;
}

#top .more-link:hover, .pagination a:hover, .button:hover, #commentform #submit:hover{
	background-image: url("../images/skin1/bg-button.png");
    background-repeat: repeat-x;
    background-position: center top;
    text-decoration: none;
}

.dropcap2, .dropcap3{
	background-image: url("../images/skin1/reverse-dropcap.png");
}

.dropcap3{
color:#fff;
background-color: #000;
}
#js_sort_items, .all_sort{background:#fff;}
#js_sort_items .active_sort{
color:#666;
}


/************************************************************************
COMMENTS
*************************************************************************/
#comments{
text-align: right;
}

#top .gravatar img{
border:1px solid #e1e1e1;
background: #fff;
}

.comment_content{
border:1px solid #e1e1e1;
background: #fff;
}

.author_name a{
}

.commentmetadata a{
color:#aaa;
}

.says{
background:transparent url(../images/skin1/say.png) no-repeat scroll 0 0;
}

.comment-reply-link{
border-top:1px solid #e1e1e1;
border-right:1px solid #e1e1e1;
color:#555;
}

.form-allowed-tags{
color:#999;
}



/************************************************************************
GENERIC
*************************************************************************/
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
color:#000;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover{
color:#666;
text-decoration: none;
}


h2, h3, h4, h5, h6{
border-bottom:1px solid #e1e1e1;
}

.hr, #top .entry-content .hr{
background: transparent url(../images/skin1/hr.png) center right  no-repeat;
}

.hr a, #top .entry-content .hr a{
background: none repeat scroll 0 0 #FFFFFF;
color:#ccc;
}

.preloading{
background: transparent url(../images/skin1/loading.gif) center center  no-repeat;
}

.lightbox_image{
background: transparent url(../images/shared/magnify.png) center center  no-repeat;
}

.lightbox_video{
background: transparent url(../images/shared/video.png) center center  no-repeat;
}

 #main .slideshow .preloading{
background: transparent url(../images/skin1/loading.gif) center center  no-repeat !important;
}

.entry-content ul, .entry ol, #top #search-fail ul{
border-top:1px solid #e1e1e1;
color:#555;
}

.entry-content ul li , #top #search-fail ul li{
background:url("../images/skin1/list-icon.png") no-repeat scroll 0 10px transparent;
border-bottom:1px solid #e1e1e1;
}

.entry-content ol li {
border-bottom:1px solid #e1e1e1;
}

pre{
border:1px solid #e1e1e1;
background: #fff;
}

#top .wp-caption{
border:1px solid #e1e1e1;
}

.dropcap2, .dropcap3, .pagination a, .pagination a:hover{
color:#fff;
}

/*table*/


th {
	color: #fff;
	border-right: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	border-top: 1px solid #e1e1e1;
	background: #555;
}

th.nobg {
	border-right: 1px solid #e1e1e1;
	color:#555;
}

td {
	border-right: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	background: #fff;
	color: #777;
}


td.alt {
	background: #eee;
	color: #777;
}

th.spec {
	border-left: 1px solid #e1e1e1;
	background: #fff;
	color:#777;
}

th.specalt {
	border-left: 1px solid #e1e1e1;
	background: #eee;
	color: #777;
}

td:first-child{
border-left: 1px solid #e1e1e1;
}

/************************************************************************
CONTACT FORM
*************************************************************************/

.valid .text_input, .valid .text_area{border:1px solid #9AA600;} /*#70A41B*/
.error .text_input, .error .text_area{border:1px solid #FF6600;}
.ajax_alert .text_input, .ajax_alert .text_area{border:1px solid #ffb628;}

/*FORM ELEMENTS*/

input, textarea{
color:#777;
}

#s{
border:1px solid #e1e1e1;
background: #f8f8f8;
color:#777;
}

#searchsubmit{
background: transparent url(../images/skin1/icon-search.png) center center  no-repeat;
}

#searchsubmit:hover{
background: #eee url(../images/skin1/icon-search.png) center center  no-repeat;
}

.text_input, textarea, select, #commentform input{
border:1px solid #e1e1e1;
background: #f8f8f8;
}


/************************************************************************
Shortcodes
*************************************************************************/

/*tabs and toggler and slider */
.js_active .toggler{
background:url("../images/skin1/toggle.png") no-repeat scroll 6px 6px #FFFFFF;
border:1px solid #E1E1E1;
}

.js_active  #top .activeTitle{
background: #f8f8f8 url('../images/skin1/toggle.png') no-repeat 6px -77px ; 
border:1px solid #ddd;
color:#555555;
}

.js_active .tab_content{
background: #fff;
border:1px solid #E1E1E1;

}

.js_active  .tab{
background:#fff;
border:1px solid #E1E1E1;
border-bottom: none;
}

.js_active #top  .active_tab{
background:none repeat scroll 0 0 #fff;
color:#555555;
}

.toggle_content{
border: 1px solid #E1E1E1;
}

/*******************************
form
*******************************/

label { line-height:31px;}

input[type=text] { float:right; width:300px; margin-bottom:5px; height:22px; border:#81B81D 1px solid; border-radius:3px; }

textarea { float:right; width:300px; margin-bottom:5px; border:#81B81D 1px solid; resize:none; border-radius:3px;}

.wpcf7-submit {width:100px; height:30px;}

.widget select#qtrans_select_qtranslate-3-chooser{
color:#547e9b;
-webkit-appearance:none;
-moz-appearance:none;
border:1px solid #adccdd;
border-radius:10px;
moz-border-radius:10px;
behavior: url(border-radius.htc);
padding-left:10px;
padding-right:13px;
height: 25px;
overflow: hidden;
background:#eaf6fa url(../images/btn_bg.png);
background-repeat:no-repeat;
background-position:right;
}

[if IE].widget select#qtrans_select_qtranslate-3-chooser {
padding-right:0px;
}

/*------------------------ TIMELINE EVENTI  ------------------------*/


#timeline{
	background:url(http://dummyimage.com/1x1/b4ca4b/b4ca4b.gif) top center repeat-y;
	width: 960px;
	padding:50px 0;
	margin:0 auto 50px auto;
	overflow:hidden;
	list-style:none;
	position:relative;
	margin-top: 30px;
}
#timeline::before, #timeline::after {
content: " ";
width: 10px;
height: 10px;
display: block;
background: #b4ca4b;
position: absolute;
bottom: 0;
left: 50%;
margin-left: -5px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;}

#timeline::after {
margin-left: -10px;
background: none;
border: 10px solid transparent;
border-bottom-color: #b4ca4b;
width: 0;
height: 0;
bottom: auto;
top: -10px;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}

#timeline ol, #timeline ol li{ list-style:none;}

#timeline li{
	list-style:none;
	position:relative;
	clear:both;
	float:left;
	width: 388px;
	padding:10px;
	background-color:#fff;
	background-image:-moz-linear-gradient(top, #fff, #ebf3f6);
	background-image:-webkit-linear-gradient(top, #fff, #ebf3f6);
	background-image: linear-gradient(to bottom, #fff, #ebf3f6); /* Firefox 16+, IE10, Opera 12.50+ */
	border:1px solid #B4CA4B;
	text-align:right;
	margin:0 0 10px 0;
	-moz-border-radius:7px;
	-webkit-border-radius:7px;
	border-radius:7px;
	-moz-box-shadow:0 -1px #fff inset;
	-webkit-box-shadow:0 -1px #fff inset;
	box-shadow:0 -1px #fff inset;
}
#timeline li::before,
#timeline li::after{
	content:" ";
	width:71px;
	height:1px;
	background:#b4ca4b;
	position:absolute;
	left:100%;
	top:50%;
}
#timeline li:nth-of-type(odd),
#timeline li:nth-of-type(even){
	margin:-10px 0 0 0;
}
#timeline li:nth-of-type(even){
	float:right;
	text-align:left;
}
#timeline li:nth-of-type(even):after{
	background:#b4ca4b;
	left:auto;
	right:100%;
}

#timeline li.destra{
margin-top:-80px;
}

#timeline li a img{
	padding:4px;
	box-shadow:0 0 5px #999;
}

#timeline li span.data {font-weight:bold; font-size:14px; color:#999;}

#timeline li a {float:left;}

#timeline p {padding:0; color:#b4ca4b; font-weight:bold; font-size:16px;}

p.evento {
float: right;
text-align: left;
width:260px;
}


/*--------------------------- EVENTI 2015 -------------------------------*/


		.eventi_list {
		width:720px;
		float:left;
		margin-right:80px;
		font-family: 'Lato', Arial, Helvetica, sans-serif;
		font-size:14px;
		color:#777;
	}

	.eventi_sidebar {
		float:right;
		width:170px;
	}

	.post_header {
		font-family: 'Lato', Arial, Helvetica, sans-serif;
		display: block;
		margin-bottom:30px;
	}

	.post {
		display: block;
		padding: 0 0 30px 0 !important;
		margin-bottom:30px;
		border-bottom: 1px solid #afc5d0 !important;
	}

	.post_data {
		color:#fff;
		background: #a3cc42;
		width:100px;
		height:100px;
		display: block;
		float:left;
		text-align: center;
		margin:0 30px 0 0;
		padding:13px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}

	.post_data div {
		display:block;
		font-size: 19px;
		line-height: 19px;
		margin:0;
	}
		.post_data .day {font-size: 40px; line-height: 35px;}


	.post_title {
		color:#000;
		font-size:26px;
		font-weight: normal;
		display: table-cell;
		vertical-align: middle;
		height: 100px;
		border-bottom: 0px !important;
		padding-top: 0px !important;
		line-height: 1.3em;
	}

	.post_body {
		font-family: Arial, Helvetica, sans-serif;
	}

	.post_body p{margin:0; line-height: 20px;}


	.eventi_list ul {border:none!important;}
	.eventi_list ul li {background:none!important;}

	ul.prodotti {
		border: none !important;
	}
	.entry-content ul.prodotti li {
		float: left;
		width: 30%;
		border: none;
	}
	.entry-content ul.prodotti li img {
		width:100%;
		height:auto;
	}


/* ---------------------- PORTFOLIO PRODOTTI ------------------------ */


	.portfolio-overview {margin-top: 80px;} 

	.portfolio-overview .post-entry {
		box-shadow: inset 0px 0px 0px 1px #daf1fc;
		border-radius: 10px;
		overflow: hidden;
		transition: all 0.3s;
	} 
	.portfolio-overview .post-entry:hover {box-shadow: inset 0px 0px 0px 1px #49a1d3;}

	#main .post-entry .slideshow_container {margin-top:0;} 

	.portfolio-overview .post-title,
	.portfolio-overview .entry-content {display:none;} 

	#main #js_sort_items a {padding:5px 0;} 


/* ---------------------- FIX WM ZOOM ------------------------ */


	.zoomContainer {
		z-index: 999;
		margin-top: -28px;
	}

    .post-entry #produzione img {max-width: 100%; margin: 0;}

.gallery_produzione1 a {
    display: inline-block;
    float: left;
    margin: 0 12px 20px 0px;
}
.gallery_produzione2 a {
    float: left;
    display: inline-block;
    margin: 12px 0 0 12px;
}
.gallery_produzione3 a {
    float: left;
    display: inline-block;
    margin: 12px 12px 0 0;
}
.gallery_produzione4 a {
    display: inline-block;
    float: right;
    margin: 0 0px 20px 12px;
}

img.shadow_divider {padding: 40px 0;}

span.title_h3 {
    font-size: 35px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #6a9d24;
    line-height: 40px;
    display: block;
}
.coll {
    float: left;
    display: block;
    overflow: hidden;
    margin: 10px 6px 5px;
}
.gallery_produzione5 a img { padding: 11px 0 10px; }

#produzione h2 {border:none;}

#produzione .lightbox_video {display: none !important;}

a.video_prod_btn {
    margin: 15px 0 0;
    display: inline-block;
}
.gallery_produzione5 {
    padding-bottom: 100px;
    padding-top: 40px;
    overflow: hidden;
}
.gallery_produzione1, .gallery_produzione2, .gallery_produzione3 {
    overflow: hidden;
    padding-bottom: 70px;
}

.premium_photo .pp_description { display: none!important;}

 .page-id-1501 h1 {display: none;}
 #produzione {padding-top: 50px;}
