/*
Theme Name: Ite China Theme
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Metae Italy
Author URI: http://www.metae.eu
Template: enfold
*/



/*  -------------  Stili tipografici  -------------  */	

h1, h2, h3, h4, h5, h6 {
	text-transform: none !important;
	color: #e55c00 !important;
}
h1, h2, h3 {
	font-weight:300 !important;
}
p, li {
	font-size: 110%;
}
nav li, ul ul li {
	font-size: 100%;
}
.helvetica-neue-websave {
font-family: "Helvetica Neue", Helvetica, "HelveticaNeue", Arial, Verdana, sans-serif;
}
.boxed_title {  /* Titoli slides  */	
  background: none repeat scroll 0 0 rgba(255, 111, 0, 0.75);
  color: #FFFFFF !important;
  display: table;
  font-size: 42px;
  font-weight: 200;
  margin: 0 0 5px;
  padding: 5px 15px 8px;
  width: auto;
}
.boxed_medium_title {
  background: none repeat scroll 0 0 rgba(255, 111, 0, 1);
  color: #FFFFFF !important;
  font-size: 32px;
  font-weight: 200;
  margin: 0 0 5px;
  padding: 5px 20px 8px;
  width: 100%;
}
.boxed_small_title {
  background: none repeat scroll 0 0 rgba(255, 111, 0, 1);
  color: #FFFFFF !important;
  font-size: 24px;
  font-weight: 200;
  margin: 0 0 5px;
  padding: 6px 22px 6px;
  width: 100%;
}
.boxed_small_title {
  background: none repeat scroll 0 0 rgba(255, 111, 0, 1);
  color: #FFFFFF !important;
  font-size: 24px;
  font-weight: 200;
  margin: 0 0 5px;
  padding: 6px 22px 6px;
  width: 100%;
}
.bianco {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.6);
}
.grigio {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
}
.outline {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
  color: #e55c00 !important;
  border: 1px solid #999;
  border-right: none;
}
.corner_tl {
-webkit-border-radius: 4px;
-webkit-border-top-left-radius: 30px;
-moz-border-radius: 4px;
-moz-border-radius-topleft: 30px;
border-radius: 4px;
border-top-left-radius: 30px;
}
.corner {
-webkit-border-radius: 4px;
-webkit-border-top-left-radius: 20px;
-moz-border-radius: 4px;
-moz-border-radius-topleft: 20px;
border-radius: 4px;
border-top-left-radius: 20px;
}
.ombrain {
	-webkit-box-shadow: inset 2px 3px 5px 0px rgba(50, 50, 50, 0.3);
	-moz-box-shadow:    inset 2px 3px 5px 0px rgba(50, 50, 50, 0.3);
	box-shadow:         inset 2px 3px 5px 0px rgba(50, 50, 50, 0.3);
}
.ombraout {
	-webkit-box-shadow: 0px 3px 5px -2px rgba(50, 50, 50, 0.3);
	-moz-box-shadow:    0px 3px 5px -2px rgba(50, 50, 50, 0.3);
	box-shadow:         0px 3px 5px -2px rgba(50, 50, 50, 0.3);
}
.testo16px {
  font-size: 16px;
  line-height: 24px;
}
.testo18px {
  font-size: 18px;
  line-height: 26px;
}
.testo_img {
	color: #222222;
	text-shadow: 1px 1px 2px #FFFFFF;
}
.testowh_img {
  color: #FFFFFF;
  text-shadow: 1px 1px 2px #000000;
}
.occhiello {
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 0.06em;
  line-height: 28px;
}
.citazione {
	font-family: "Times New Roman", Times, serif;
	font-size: 46px;
	font-weight: 600;
	vertical-align: middle;
}
.titolo_bordato {
  border-bottom: 1px solid;
  border-top: 1px solid;
  padding: 3px;
  text-align: center;
}
.txt_grigio {
  color: #666666 !important;
}


/*  -------------  Stili impaginazione  -------------  */	
.margine_dx {
	margin-right: 25px !important;
}
.posiz_bottom {
  bottom: 15%;
  position: absolute;
}
.continue {
  bottom: 4%;
  color: #666666;
  display: block;
  font-size: 14px;
  position: absolute;
  text-align: center;
  width: 70px;
  z-index: 10;
}
/*.continue:before {
  background-attachment: scroll;
  background-image: url("http://www.metae-italy.eu/itechina/wp-content/uploads/2014/09/continue_arrow.png");stick-down
  background-position: center top;
  background-repeat: no-repeat;
  content: "";
  height: 94px;
  left: -12px;
  position: absolute;
  right: 0;
  top: -18px;
  width: 118px;
  z-index: -1;
}*/

.continue:before {
  background-attachment: scroll;
  background-position: center top;
  background-repeat: no-repeat;
  content: "";
  height: 66px;
  left: -5px;
  position: absolute;
  /*top: -15px;*/
  bottom: -50px;
  width: 70px;
}

.img_home{
	width: 30%;
	padding-right: 10px;
}
.toggle_content p + h1, .toggle_content p + h2, .toggle_content p + h3, .toggle_content p + h4, .toggle_content p + h5, .toggle_content p + h6 {
  margin-top: 0;
}



/*  -------------  Bug fix  -------------  */	
.hr.hr-default {
  float: none;
}
#header_main_alternate, #header { /* header shadow is being duplicated when scroll the page - Chrome */ 
-webkit-transform: translateZ(0);
}



/*  -------------  Header & Menù  -------------  */	
#header:after {
  background: url("../images/shadow12.png") no-repeat scroll center top 0 rgba(0, 0, 0, 0);
  bottom: -30px;
  content: "";
  height: 30px;
  overflow: visible;
  position: absolute;
  width: 100%;
}
.html_header_top.html_header_sticky #header {
  -webkit-box-shadow: 0px 1px 7px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    0px 1px 7px 0px rgba(0, 0, 0, 0.5);
  box-shadow:         0px 1px 7px 0px rgba(0, 0, 0, 0.5);
  position: fixed;
}
#top .av-main-nav .mn_dx ul ul {  /* Primo sottomenù apertura a dx  */	
  left: 207px;
}
.bandierina a {
  display: inline !important;
  margin-right: -12px;
}

/*  -------------  Home  -------------  */	

#news_section_home .entry-content-wrapper .flex_column {
    height: 27em;
}
#news_section_home .entry-content-wrapper .flex_column:first-child {
    height: auto !important
}



/*  -------------  Tribe Events Plugin  -------------  */	

/* Single event page */
.event_feat_img {
  float: left;
  margin-right: 3%;
  margin-bottom: 3%;
  position: relative;
  width: 40%;
}
.event_title {
	float:left;
	width:55%;
	margin-bottom: 3%;
}
.single-tribe_events .tribe-events-schedule h3 {
  font-size: 1.4em;
  color: #919191 !important;
  /*margin-top: -15px;*/
}

/*.single-tribe_events .tribe-events-event-meta { background su tabella dettagli
  background: url("http://www.metae-italy.eu/itechina/wp-content/uploads/2014/03/ITE-CHINA.png") no-repeat scroll right center rgba(0, 0, 0, 0);
  border: 1px solid #EEEEEE;
  margin: 30px 0;
}*/

div.end_foo_event #tribe-events-footer:after {
  bottom: 0;
  content: "";
  height: 150px;
  left: -9%;
  overflow: visible;
  position: absolute;
  width: 25%;
  z-index: -1;
}
div.end_foo_event #tribe-events-footer {
  background: none repeat scroll 0 0 rgba(255, 111, 0, 1);
  bottom: 0;
  height: 90px;
  margin: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}
.bckgr_footer_event {
	padding: 1% 5% 1% 13%;
	color: #FFFFFF;
}
.bckgr_footer_event a {
	color: #FFFFFF;
}
.bckgr_footer_event .tribe-events-back {
  font-size: 1.8em;
  font-weight: 200;
  letter-spacing: 1px;
  text-align: center;
}

#tribe-events-footer.bckgr_footer_event ul li {
  width: 30%;
}

/* List events page */
.fullsize .content {
  width: 100%;
}
.tribe-events-photo-event-wrap {
  background: none;
}
.tribe-events-list .tribe-events-event-image {
  margin-bottom: 5px;
} 
.tribe-events-loop .tribe-events-event-meta { /* Senza l'orario il float va su "left" incasinando le righe */
  float: none !important;
}
.vevent.tribe-events-photo-event .tribe-events-photo-event-wrap {
  border-width: 0;
}
.tribe-events-loop .tribe-events-event-meta {
  clear: none;
  float: left;
}
.tribe-events-loop .tribe-events-content {
  float: none;
}
.tribe-events-loop h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.tribe-events-list-separator-month {
  background: none repeat scroll 0 0 rgba(255, 111, 0, 1);
  color: #FFFFFF !important;
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 0;
  padding: 6px 22px;
  width: 100%;
  -webkit-border-radius: 4px;
  -webkit-border-top-left-radius: 20px;
  -moz-border-radius: 4px;
  -moz-border-radius-topleft: 20px;
  border-radius: 4px;
  border-top-left-radius: 20px;
  -webkit-box-shadow: inset 2px 3px 5px 0px rgba(50, 50, 50, 0.3);
  -moz-box-shadow:    inset 2px 3px 5px 0px rgba(50, 50, 50, 0.3);
  box-shadow:         inset 2px 3px 5px 0px rgba(50, 50, 50, 0.3);
}

body#top.tribe-events-photo.events-photo .tribe-events-photo-event div.tribe-events-photo-event-wrap div.tribe-events-event-details div.tribe-events-event-meta.vcard.location div.tribe-events-venue-details address.tribe-events-address span.adr{
	font-weight:400;
	font-size:13px;
}

/*body#top.tribe-events-photo.events-photo .tribe-events-photo-event div.tribe-events-photo-event-wrap div.tribe-events-event-details div.tribe-events-event-meta.vcard.location div.tribe-events-venue-details address.tribe-events-address span.adr span.country-name {  Nella vista "Photo" tiene unite le parole tipo "Russian Federation" 
  white-space: nowrap;
}*/
.tribe-events-venue-details.location-evento a.tribe-events-gmap {/* Nella vista "Photo" nasconde il link a googlemap */
  display: none;
}
.tribe-events-venue-details.location-evento span.street-address {/* Nella vista "Photo" nasconde l'indirizzo */
  display: none;
}
.tribe-events-venue-details.location-evento span.street-address + span.delimiter {/* Nella vista "Photo" nasconde il separatore "," dopo l'indirizzo */
  display: none;
}
.tribe-events-venue-details.location-evento span.postal-code {/* Nella vista "Photo" nasconde il CAP */
  display: none;
}
/*.delimiter:after { /*serve per fare andare a capo l'indirizzo delle sedi
  content: "";
  display: block;
}*/

/*VENUE VIEW*/
.tribe-events-map-wrap > div {
  width: 100% !important;
  height: 350px !important;
}
.updated.published.time-details {
  font-size: 1.2em;
}
.single-tribe_venue .tribe-events-venue address.venue-address span {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;
}
.single-tribe_venue .tribe-events-event-meta address.tribe-events-address {
  margin: 14px 0;
}

/* Main Top Bar */
#tribe-bar-form, .av-tribe-events-content-wrap {
	-webkit-border-radius: 4px;
	-webkit-border-top-left-radius: 30px;
	-moz-border-radius: 4px;
	-moz-border-radius-topleft: 30px;
	border-radius: 4px;
	border-top-left-radius: 30px;
}
.tribe-bar-views-inner {
  background: none repeat scroll 0 0 transparent;
}
#tribe-bar-form .tribe-bar-submit input[type="submit"] {
  background: none repeat scroll 0 0 #888;
  margin-top: 17px;
  padding: 5px;
}

/* iCal Google Cal import buttons */
#tribe-events .tribe-events-button {
  background: none repeat scroll 0 0 #b1b1b1;
  width: 48.5%;
  float:left;
  -webkit-border-radius: 4px;
-webkit-border-top-left-radius: 20px;
-moz-border-radius: 4px;
-moz-border-radius-topleft: 20px;
border-radius: 4px;
border-top-left-radius: 20px;
}
.tribe-events-cal-links .tribe-events-gcal.tribe-events-button {
  float: none !important;
}
.tribe-events-cal-links .tribe-events-ical.tribe-events-button {
  border-radius: 4px 20px 4px 4px !important;
  float: right !important;
}


/*   ---- WORK WITH US SIDE NAV -------   */
.parent-pageid-183 p { /* cambiare l'id della pagina che deve puntare a "Work with us" */
  margin-top: 0;
}

ul.nested_nav li.page_item {
  display: none;
}
ul.nested_nav li.page_item_has_children, ul.nested_nav li.page_item_has_children ul.children li {
  display: inherit;
}
ul.nested_nav li.page_item.page_item_has_children.current_page_ancestor.current_page_parent {
	font-weight:600;
}
ul.nested_nav li.page_item_has_children ul.children li {
	font-weight:400;
}
ul.nested_nav li.page_item_has_children ul.children li.current_page_item a {
	color: #E55C00;
}


/*   ---- PERSONAL PAGES -------   */
.avia-content-slider-inner div .av_one_fifth {
  margin-left: 3.2%;
  width:22.4%;
  margin-bottom:15px;
}

.avia-content-slider-inner div .av_one_fifth.first {
  margin-left: 0;
}
.slide-entry-wrap article:first-child{margin-left: 0;}

/*   ---- EXHIBITIONS BY LOCATION -------   */

.luoghi .read-more-link {
  display: none;
}
.luoghi .avia-content-slider .slide-entry-title {
  font-size: 1.4em;
  line-height: 1.2em;
}



/*   ---- RELETED SERVICES -------   */

.relserv p {
  font-size: 120%;
}
.relserv h3 {
  font-size: 24px;
}

.relserv .avia-animated-number-content {
  bottom: -3px;
  display: inline-block;
  padding-left: 10px;
  text-align: left;
  color: #9A9A9A;
}
.relserv .avia-animated-number-title {
  color: #666666 !important;
  font-weight: 200;
  letter-spacing: 0.005em;
}
.js_active .tab {
  font-size: 15px;
}
.sidebar_tab .tab_icon {
  font-size: 18px;
}
.relserv .tab_content img {
  margin-bottom: 10px;
  margin-right: 15px;
}
.relserv .tab_content p + h3 {
  margin-top: 0;
}

/*   ---- HOW TO EXHIBIT -------   */

#how-to .taglist {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.85);
  margin-bottom: 15px;
  padding: 5px;
}
#how-to .taglist > a {
  font-size: 130%;
  margin: 0 10px;
}
#how-to .single_toggle {
  opacity: 0.85;
}
#how-to .js_active .tab {
  /*color: #FF0000 !important;*/
  font-size: 12px;
}
#how-to .main_color .tabcontainer .active_tab_content {
background: #f2f4ef; /* Old browsers */
background: -moz-linear-gradient(top,  #f2f4ef 0%, #fefefe 70%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f4ef), color-stop(70%,#fefefe)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #f2f4ef 0%,#fefefe 70%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #f2f4ef 0%,#fefefe 70%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #f2f4ef 0%,#fefefe 70%); /* IE10+ */
background: linear-gradient(to bottom,  #f2f4ef 0%,#fefefe 70%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f4ef', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */

border-bottom:none;
border-left:none;
border-right:none;
}
#how-to .main_color .tabcontainer .active_tab {
  color: #E55C00 !important;
background: #fefefe; /* Old browsers */
background: -moz-linear-gradient(top,  #fefefe 30%, #f2f4ef 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(30%,#fefefe), color-stop(100%,#f2f4ef)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #fefefe 30%,#f2f4ef 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #fefefe 30%,#f2f4ef 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #fefefe 30%,#f2f4ef 100%); /* IE10+ */
background: linear-gradient(to bottom,  #fefefe 30%,#f2f4ef 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f2f4ef',GradientType=0 ); /* IE6-9 */

border-bottom:none;
}

#how-to .main_color .sidebar_tab, .main_color .tabcontainer .tab {
  background: none repeat scroll 0 0 #FFFFFF;
}
#how-to .main_color .toggle_content {
  background: none repeat scroll 0 0 #FFFFFF;
}
#how-to .togglecontainer .single_toggle p.activeTitle {
  color: #E55C00 !important;
}
/*   ---- PORTFOLIO -------   */

body#top.single-portfolio div .avia-gallery img {
  border: none;
  padding: 0;
}
/*.single-portfolio .avia-content-slider .slide-entry {
  padding: 20px;
  margin-bottom:5px;
  -webkit-box-shadow: 1px 1px 5px 0 rgba(50, 50, 50, 0.3) inset;
  -moz-box-shadow:    1px 1px 5px 0 rgba(50, 50, 50, 0.3) inset;
  box-shadow:         1px 1px 5px 0 rgba(50, 50, 50, 0.3) inset;
}
.single-portfolio .avia-content-slider .slide-entry:hover {
  padding: 16px 22px 22px 16px;
  border: 1px solid rgba(255, 111, 0, 0.5);
  background: rgba(100, 100, 100, 0.05);
  -webkit-box-shadow: 1px 1px 5px 0 rgba(50, 50, 50, 0.3) ;
  -moz-box-shadow:    1px 1px 5px 0 rgba(50, 50, 50, 0.3) ;
  box-shadow:         1px 1px 5px 0 rgba(50, 50, 50, 0.3) ;
}
.avia-content-slider .slide-entry:hover { 
  padding-right: 5px;
}*/
#top .with-title-container h3 a {
  color: #666666;
  font-size: 16px;
}

.avia-content-slider div .av_one_third {
  margin-left: 2.5%;
  margin-bottom: 2.5%;
  width: 30.5%;;
}


/*   ---- SHORTCODE MODIFY -------   */
.avia-progress-bar {
  margin-bottom: 30px;
}
.avia-progress-bar-container {
  margin-top: 23px !important;
}
.avia-progress-bar .progressbar-title-wrap {
  font-size: 105%;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  color: #444444;
  margin-bottom: 20px;
  padding: 0;
  top: -23px;
}
.avia-progress-bar .progress {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.07) inset;
  height: 11px;
}
/*.avia-progress-bar .progressbar-title-wrap {
  background: none repeat scroll 0 0 rgba(160, 80, 0, 0.5);
}*/

.team-social-inner { /*abbassa la posizione dei social dal viso dei soggetti*/
  top: 80%;
}


/*   ---- PAGINA HOW TO -------   */
#how-to.avia-section.av-minimum-height .container .content{
  vertical-align: top;
}


/*   ---- NEWS SECTION -------   */
.blog-author.minor-meta, .blog-categories.minor-meta + .text-sep {
  display: none;
}


/*   ---- SEARCH RESULTS -------   */
/*.search .template-search .post-meta-infos time.date-container.minor-meta.updated {
  display: none;
}
.search .template-search .post-meta-infos time.date-container.minor-meta.updated + .text-sep {
  display: none;
}*/


/*   ---- SIDEBAR & BASIC FOOTER -------   */

.sidebar .widgettitle, #footer .widgettitle {
  border-bottom: 1px solid;
  font-size: 15px;
  padding: 5px 8px;
  -webkit-border-top-left-radius: 13px;
  -moz-border-radius-topleft: 13px;
  border-top-left-radius: 13px;
}
.sidebar .widgettitle {
  background: none repeat scroll 0 0 #F5F5F5;
}

/* Widget Tribe Calendar */
.sidebar table.tribe-mini-calendar tr:nth-child(2n+1) {
  background: none repeat scroll 0 0 #eee;
}
.sidebar .tribe_mini_calendar_widget .tribe-mini-calendar-no-event {
  color: #e55c00 !important;
}
#top .tribe-mini-calendar-nav td {
  padding: 6px !important;
}
.sidebar .tribe_mini_calendar_widget thead.tribe-mini-calendar-nav tr {
  background: none repeat scroll 0 0 #e55c00;
}
.sidebar .tribe-mini-calendar .tribe-events-present {
  background: none repeat scroll 0 0 #e55c00 !important;
}
.sidebar .tribe-mini-calendar .tribe-events-present .tribe-mini-calendar-no-event {
  color: #fff !important;
}


/*   ------- FOOTER -------   */

.footer_color{
	background-size: contain;
}
#footer .widgettitle {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  /*border-top: 1px solid rgba(255, 255, 255, 0.1);*/
  color: #632800 !important;
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.1);
  /*padding: 5px 0;*/
}
/*#footer .widgettitle {
  border-bottom: 1px solid;
  font-size: 15px;
  padding: 5px 7px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  border-top-left-radius: 10px;
}*/
#footer h3.widgettitle {
  font-weight: 500 !important;
  letter-spacing:0;
}
h4.entry-title {
  font-size: 1.1em;
  color: #FFFFFF !important;
}
div#tribe-events-list-widget-3.widget h3.widgettitle {
  margin-top: 0;
}
#footer ol.hfeed {
  margin-left: 0;
}

.tribe-events-list-widget .duration {
  font-size: 12px;
  font-weight: normal;
}

/* Widget next event list */
.tribe-events-adv-list-widget .tribe-events-event-image {
  float: left;
  margin-bottom: 0.8em;
  margin-right: 0.4em;
  width: 65px;
}
.tribe-events-adv-list-widget ol li {
  min-height: 40px;
}
#top .tribe-events-adv-list-widget .vcalendar li:first-child {
  border-top-style: none;
  margin-top: 0;
  padding-top: 0;
}
.tribe-events-adv-list-widget .tribe-events-widget-link {
  clear: both;
}

/* Widget Tribe Calendar */
.footer_color tr:nth-child(2n+1) {
  background: none repeat scroll 0 0 rgba(229, 92, 0, 0.85);
}
.tribe-mini-calendar-no-event {
  color: #fff !important;
}
#footer .tribe-mini-calendar td {
  border-color: rgb(249, 122, 40) !important;
}
.tribe-mini-calendar .tribe-mini-calendar-dayofweek {
  background: none repeat scroll 0 0 #fff;
  color: #e55c00;
  letter-spacing: 0.5px;
}
.tribe-mini-calendar .tribe-events-has-events div[id*="daynum-"] a:before {
  background: none repeat scroll 0 0 #632800 !important;
  bottom: 7px !important;
  height: 2px !important;
}
table.tribe-mini-calendar {
  margin-bottom: 10px;
}
.tribe-mini-calendar-event.first {
  margin-top: 0 !important;
}
.tribe-mini-calendar-event .list-info {
  margin: 3px 0 !important;
}
.tribe-mini-calendar-event .list-info h2 {
  font-weight: 500 !important;
  margin-bottom: 5px !important
}
#footer .tribe-mini-calendar-event .list-info h2 {
  color: #FFF !important;
}
.tribe-mini-calendar-event .list-date {
  background: none repeat scroll 0 0 #632800 !important;
  margin: 3px 5% 3px 0 !important;
}
.tribe-mini-calendar-event .list-date .list-dayname {
  color: #632800 !important;
}
#footer .tribe-mini-calendar .tribe-events-present {
  background: none repeat scroll 0 0 #fff !important;
}
#footer .tribe-mini-calendar .tribe-events-present .tribe-mini-calendar-no-event {
  color: #e55c00 !important;
}
#footer .tribe-events-present a.tribe-mini-calendar-day-link {
  color: #e55c00 !important;
}

/* Widget Tribe Countdown */
.tribe-countdown-text > a {
  color: #fff;
  font-size: 125%;
}
.tribe-countdown-days, .tribe-countdown-hours, .tribe-countdown-minutes, .tribe-countdown-under {
  color: #fff !important;
}
.tribe-countdown-seconds, .tribe-countdown-colon {
  color: #ccc !important;
}

/* Widget News */
#footer .newsbox strong.news-headline {
  color: #fff;
  font-size: 120%;
}
/*.news-link a:hover .newsbox strong.news-headline {
  color: #632800 !important;
}*/
.newsbox .news-time {
  font-size: 90%;
}
#footer .newsbox .news-time {
  color: #fff;
}
.news-thumb {
  height: 38px;
  margin-right: 8px;
  padding: 1px;
  width: 38px;
}
.news-thumb img {
  height: 34px;
  width: 34px;
}

/* ------- CONTACT FORM 7 ------- */
.form_label {
  float: left;
  margin-right: 1%;
  margin-top: 5px;
  text-align: right;
  width: 15%;
}
#top textarea, #top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"], #top input[type="number"], #top input[type="url"], #top input[type="tel"], #top input[type="search"], #top textarea, #top select {
  width: 80%;
}
input[type="submit"], #submit, .button {
  margin-left: 16%;
}


/* Ottimizzazione su ipad */
@media screen and (max-width: 899px) and (min-width: 768px) {
.inner_sidebar {
  margin-left: 20px;
}
/*.responsive .container .three.units {
  width: 190px !important;
}*/
}

@media only screen and (max-width: 989px) {
.team-social-inner { /*ripristina la posizione dei social su schermi piccoli*/
  top: 50%;
  opacity: 0.6;
}
.team-social .avia-team-icon {
  color: #000 !important;
}
.responsive #top .avia-team-member .team-social {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.15);
  border: 0 solid rgba(0, 0, 0, 0.1);
  bottom: 40px;
  height: 40px;
  z-index: 100;
}
.team-img-container {
  margin-bottom: -30px;
}
}

/* Ottimizzazione su iphone */
@media only screen and (max-width: 767px)
{
.form_label {
  float: none;
  margin-bottom: 5px;
  margin-right: 0;
  margin-top: 0;
  text-align: left;
  width: 100%;
}
#top textarea, #top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"], #top input[type="number"], #top input[type="url"], #top input[type="tel"], #top input[type="search"], #top textarea, #top select {
  width: 100%;
}
input[type="submit"], #submit, .button {
  margin-left: 0;
}
	/*.responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even{margin-left:4%; clear:none;}*/
	.responsive #top #wrap_all .avia-content-slider-odd  .slide-entry.first{width:48%;}*/

   /*.responsive #top #wrap_all .slide-entry {
   width: 48% !important;
   margin-left: 0 !important;
   clear: none !important;
   }
   .responsive #top #wrap_all .slide-entry:nth-child(even) {
       margin-left: 4% !important;
   }
   .responsive #top #wrap_all .slide-entry:nth-child(odd) {
       margin-left: 0% !important;
       clear: left !important;
   }*/
}


/* Device specific visibility  */
	.hidden          { display: none; visibility: hidden; }
	.visible-phone   { display: none!important; }
	.visible-tablet  { display: none!important; }
	.hidden-desktop  { display: none!important; }
	.visible-desktop { display: inherit!important; }
@media (min-width: 768px) and (max-width: 979px) {
	.hidden-desktop  { display: inherit!important; }
	.visible-desktop { display: none!important; }
	.visible-tablet  { display: inherit!important; }
	.hidden-tablet   { display: none!important; }
}
@media (max-width: 767px) {
	.hidden-desktop  { display: inherit!important; }
	.visible-desktop { display: none!important; }
	.visible-phone   { display: inherit!important; }
	.hidden-phone    { display: none!important; }
	.centered-phone    { text-align: center!important; } /* custom */
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  { 
	.hidden-ipad   { display: none!important; }
	.visible-ipad  { display: inherit!important; }
	.full-width-ipad[class*="span"], .full-width-ipad [class*="span"] { float: none; margin-left: 0; margin-bottom: 20px; width: 100%; }
}
.visible-print { display: none!important; }
@media print {
	.visible-print { display: inherit!important; }
	.hidden-print  { display: none!important; }
}