/*--------------------------------------------------------
MEDIA QUERIES
--------------------------------------------------------*/
@media only screen and (max-width: 960px) {
#portfolio-wrap .one-third {
	width:33.33%;
}

.home-quote {
	margin:0 10px;
}

.rnr-icon-middle h3 {
	font-size:24px;
}

#lansocial .socialssmall {
		 display:none;
}

}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
.parallax-bg, .home-parallax {
	-webkit-background-size: 1600px auto;
	background-size:1600px auto;	
}
#lansocial .socialssmall {
		 display:none;
}
.navbar li:hover ul, #navbar li.hover ul {

   margin: 18px 0 0 0;
   padding: 18px 0 0 0;
  }

}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
.parallax-bg {
	-webkit-background-size:1024px auto;
	background-size:1024px auto;	
}
.home-parallax {
	-webkit-background-size:auto 1024px;
	background-size:auto 1024px;	
}
#lansocial .socialssmall {
		 display:none;
}
.navbar li:hover ul, #navbar li.hover ul {

   margin: 18px 0 0 0;
   padding: 18px 0 0 0;
  }


}



@media only screen and (min-width: 768px) and (max-width: 959px) {
h1 {
	font-size: 80px;
}
.main-menu li, .main-menu.iconic li {
	margin-left:18px;
}

.main-menu a {
	font-size:13px;
}

.navbar li:hover ul, #navbar li.hover ul {

   margin: 18px 0 0 30px;
   padding: 18px 0 0 0px;
  }
  
  /* ZENWEB sottomenu */

.navbar li:hover li, #navbar li.hover li {
   float: left; 
   width:115px; height:115px; margin-left:0px; padding-top:0px;  padding-bottom:0;

}

.testimonial-slider .flex-direction-nav li .flex-next, .twitter-slider .flex-direction-nav li .flex-next {
	right:44%;
}

.testimonial-slider .flex-direction-nav li .flex-prev, .twitter-slider .flex-direction-nav li .flex-prev {
	left:44%;	
}

.team-member.team-two, .team-member.team-four {
	width: 50%;
}
#lansocial .socialssmall {
		 display:none;
}

#menunews {
	margin-left:400px;
}
#menudove {
	margin-left:60px;
}
}
 @media only screen and (max-width: 767px) {
h1 {
	font-size: 54px;
	line-height: 1;
}

.title h1 {
	font-size:40px;
}

.subtitle {
	font-size:18px;
	margin-bottom:0;
}
.modal {
	position:absolute;
	top:0px;
}

.home-logo, .home-logo-text {
	margin:40px 0 50px;
}

.main-menu {
	display: none;
}

.main-menu.large, .logo.large {
    height: 60px;
}

.selectnav {
	display: block;
	font-family: 'rotis', sans-serif;
	text-transform: uppercase;
	-webkit-appearance: none;
	background-color: transparent;
	border: 1px solid transparent;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	line-height: 1;
	padding: 0px 10px;
	border-radius: 0;
	background-image: url(../images/selectmenu.png);
	background-position: center right;
	background-repeat: no-repeat;
	color: #3d3d3d;
	outline: none;
	width:300px;
	background-size:30px;
	margin-top: 13px;
	font-size:24px;
	min-width:auto;
}

#home {
	height: auto !important;
	padding: 60px 0;
}

.page {
	/* padding-top: 90px; tolto zenweb */
	padding-bottom: 40px;
}

#slidecaption {
	display:none;
}
#prevslide {
	left:34%;
}
#nextslide {
	right:34%;
}


.container .columns, .container .column {
	margin-bottom:40px;
}

nav .container .columns, nav .cotainer .column, #ajaxpage .columns, #ajaxpage .column, .project-media {
	margin:0;
}
.caption {
	position:relative;
	left:0;
	bottom:5px;
	margin:0;
}

.testimonial-slider .flex-direction-nav li .flex-next, .twitter-slider .flex-direction-nav li .flex-next {
	right:36%;
}

.testimonial-slider .flex-direction-nav li .flex-prev, .twitter-slider .flex-direction-nav li .flex-prev {
	left:36%;	
}

.testimonial-slider, .twitter-slider, .contact-details, #contact-input {
	width:100%;
}

#contact-textarea {
	width: 93%;
	float: left;
	margin: 0 1%;
}

#contact-submit input[type="submit"] {
	width:94%;
	margin:1%;
	float:left;
}

.copyright .social-icons .social-icon {
	margin-bottom:10px;
}

.copyright p {
	margin-top:20px;
	font-size:11px;
}
.parallax, .parallax-content, .parallax .overlay, .color-block, .color-block-content {
	/* height:400px; tolto zenweb */
}
.parallax-slideshow {
	/*height:350px;  zenweb tolto */
}

.team-member {
	width:100%;
	float:none;
	margin-bottom:40px;
}

.testimonial-icon,
.twitter-feed-icon {
	display:none;
}

#filters {
	margin-top:40px;
}

#filters ul li a {
	padding:0;
	margin:0;
}

#portfolio-wrap .one-third {
    width: 50%;
}

.project-media {
    margin-top: 70px !important;
}

#filters ul li a h3 {
	margin-bottom:5px;
}

.home3 .home-text-wrapper .container {
	width:440px;
	height:440px;
}

.one_half,
.one_third,
.two_third,
.one_fourth,
.three_fourth,
.one_fifth,
.two_fifth,
.three_fifth,
.four_fifth,
.one_sixth,
.five_sixth { 
   width: 100%;
   margin:0;
   margin-bottom:40px;
   float:none;
}

.parallax-bg, .home-parallax {
	background-attachment: scroll;
	background-position:top center !important;
	background-size: cover;
}

p.quote, .contact-details h2 {
	font-size:30px;
}

#twitter-feed ul.slides > li {
	font-size:16px;
	margin-bottom:25px;
}

a#button-newsletter {
    width: 66%;
}
.home-newsletter .home-quote h3 {
	font-size:20px;
}
#home, .logo, #lansocial, .parallax-slideshow, #cucu, #navipalle {
		 display:none; 
 }
#headerbig {
	display:none;
}
#headersmart {
	display:block;
}
#lansocialsmart {
	position:relative;
	display:block;
	float:right;
}
#lansocialsmart  a {
		color:#999;
		text-decoration:none;
		font-size:100%;
		padding:0 5px;
	}
#lansocialsmart .linguesmart {
		float:right;
		margin-top:0px;
		height:25px;
		text-align:left;
	}
#lansocialsmart .socialssmart {
		
		 display:block;
		 height:20px;
		 padding:0 2px;
}

.page {
	padding-top: 0px;

}
.logomini {
	position:relative;
	display:block;
	float:left;
}


	#lansocial .socialssmall {
		 display:block;
		 float:left;
	}
	#lansocial .lingue {
		 height:22px;
	}
	
.home-logo-text a {
	font-size:32px;
}
.main-menu.large, .logo.large {
    height: 60px;
}
.selectnav {
	width:300px;
	background-size:30px;
	margin-top: 13px;
	font-size:18px;
	min-width:auto;
	font-family:'rotis', Helvetica, Arial;
}

#menunews {
	margin-left:400px;
}
#menudove {
	margin-left:260px;
}
}

 @media only screen and (max-width: 600px) {
#home, .logo, #lansocial, .parallax-slideshow, #cucu, #navipalle {
		 display:none; 
 }
#headerbig {
	display:none;
}
#headersmart {
	display:block;
}
#lansocialsmart {
	position:relative;
	display:block;
	float:right;
}
#lansocialsmart  a {
		color:#999;
		text-decoration:none;
		font-size:100%;
		padding:0 5px;
	}
#lansocialsmart .linguesmart {
		float:right;
		margin-top:0px;
		height:25px;
		text-align:left;
	}
#lansocialsmart .socialssmart {
		
		 display:block;
		 height:20px;
		 padding:0 2px;
}

.page {
	padding-top: 0px;

}
.logomini {
	position:relative;
	display:block;
	float:left;
}


	#lansocial .socialssmall {
		 display:block;
		 float:left;
	}
	#lansocial .lingue {
		 height:22px;
	}
	
.home-logo-text a {
	font-size:32px;
}
.main-menu.large, .logo.large {
    height: 60px;
}
.selectnav {
	width:300px;
	background-size:30px;
	margin-top: 13px;
	font-size:18px;
	min-width:auto;
	font-family:'rotis', Helvetica, Arial;
}
	 .parallax,  
.parallax .parallax-content,  
.parallax .overlay {
	margin-top:90px;
	height: 220px;
}
.parallax-slideshow {
	 display:block;
	 height: 220px;
}
	 
 }
 @media only screen and (max-width: 479px) {
#home, .logo, #lansocial, .parallax-slideshow, #cucu, #navipalle {
		 display:none; 
 }
#headerbig {
	display:none;
}
#headersmart {
	display:block;
}
#lansocialsmart {
	position:relative;
	display:block;
	float:right;
}
#lansocialsmart  a {
		color:#999;
		text-decoration:none;
		font-size:100%;
		padding:0 5px;
	}
#lansocialsmart .linguesmart {
		float:right;
		margin-top:0px;
		height:25px;
		text-align:left;
	}
#lansocialsmart .socialssmart {
		
		 display:block;
		 height:20px;
		 padding:0 2px;
}

.page {
	padding-top: 0px;

}
#contact {
	padding-top:10px;
}
.logomini {
	position:relative;
	display:block;
	float:left;
}


	#lansocial .socialssmall {
		 display:block;
		 float:left;
	}
	#lansocial .lingue {
		 height:22px;
	}
	
.home-logo-text a {
	font-size:32px;
}
.main-menu.large, .logo.large {
    height: 60px;
}
.selectnav {
	width:300px;
	background-size:30px;
	margin-top: 13px;
	font-size:18px;
	min-width:auto;
	font-family:'rotis', Helvetica, Arial;
}
#portfolio-wrap .one-third {
    width: 100%;
}
.home3 .home-text-wrapper .container {
	width:280px;
	height:280px;
}
.home3#home h1 {
	font-size:15px;
	margin:0 20px;
}
#prevslide {
	left:30%;
}
#nextslide {
	right:30%;
}
a#button-newsletter {
    width: 92%;
}

.filosofia img {
	width:30%;
}

/* ZENWEB menu bottom 
#cucu {
	position:fixed; z-index:9999;
	bottom:-28px; left:5px;
	width:300px; height:50px;
	background: url(../images/cucu.png) no-repeat;
		
}
#freccia-cucu {
	position:absolute; top:0px; left:48%x;
	width:18px; height:12px;
	background:url(../images/freccia-cucu.png) no-repeat;
}
#cucu .elemento {
	float:left; 
	width:70px; height:28px;
	margin-top:23px;
	margin-left:5px;
	}
	#cucu .elemento img {
	opacity:0.5;
	filter:alpha(opacity=80);
	}
	#cucu .elemento img:hover{
		opacity:1;
		filter:alpha(opacity=100);
	}
	*/
#cucu {
	position:fixed; z-index:9999; background-color:#FFF;
	bottom:-55px; left:5%; 
	width:90%; height:75px;
	border-radius: 15px;
	border: 2px solid #034E92;
		
}
#cucu .contenitore {
	width:300px; height:55px; margin:0 auto;
}
#freccia-cucu {
	position:absolute; top:-15px; left:48%;
	width:18px; height:12px;
	background:url(../images/freccia-cucu.png) no-repeat;
}
#cucu .elemento {
	float:left; 
	width:60px; height:28px;
	margin-top:8px;
	margin-left:8px;
	
	}
	#cucu .elemento img {
	opacity:0.5;
	filter:alpha(opacity=80);
	width:90%;
	}
	#cucu .elemento img:hover{
		opacity:1;
		filter:alpha(opacity=100);
	}
	#cucu .noleft {
		margin-left:0px;
	}

.celiachia {
	position:absolute; top:0; left:50%; z-index:99999;
	width:51px; 
}
}
 @media only screen and (min-width: 1200px) {
nav .container {
	/*width: 96%; ZENWEB */
	width:960px;
	display:block;
}
.home-logo-text a {
	font-size:90px;
}
.slider-text {
	width: 100%;
}
.parallax,  
.parallax .parallax-content,  
.parallax .overlay {
	height: 380px;
}
.parallax-slideshow {
	/* height:480px; tolto zenweb */
}
#project-navigation {
	width: 1040px;
	height: 40px;
	top: 50%;
	left: 0;
	margin: -20px -40px 0px;
	z-index:0;
}

#project-navigation ul li#prevProject a {
	float: left;
	margin-right:0;
}
#project-navigation ul li#nextProject a {
	float: right;
	margin-right:0;
}

#closeProject {
	top: 10px;
	right:-40px;
}

.home4 .home-text-wrapper .container {
    width: 65%;
}

#lansocial {
	width:100%;

	
}
#lansocial  a {
		color:#CCC;
		text-decoration:none;
		font-size:0.8em;
		padding:0 5px;
	}
	#lansocial  a:hover {
		color:#999;
	}
	#lansocial .lingue {
		height:35px;
		text-align:right;
	}
	#lansocial .socials {
		height:35px;
		
	}
}
