/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
 	.content { padding: 0 20px; }
	nav { padding: 10px 20px; }
	ul.slimmenu li a { padding: 10px 25px 10px 10px; }
	ul.slimmenu li .sub-collapser { width:20px; }
	ul.slimmenu li .sub-collapser:before { margin:0px; }
	
	.slide li .content_slide h1 { font-size: 50px; line-height: 50px; margin-bottom: 20px; } 
	.slide li .content_slide .text { font-size: 16px; }
	.slide li .content_slide { background-size: 50% auto; }
	.slide li .content_slide h1 .eggs { clear:left; display:block; }
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
	
	body { font-size:13px; }
	h1 { font-size: 34px; line-height:28px; }
	
	nav li { border-left:0px; }
	.box .products h2 { height:60px; }
	.item_news .span_1_of_4 { width: 49.2%; }
	.item_news .span_3_of_4 { width: 49.2%; }
	#main .slide li .content_slide h1 { font-size: 25px; line-height:30px; margin-bottom:20px; color:#FFF;}
	#main .slide li .content_slide h1 .counter { font-size:25px; }
	#main .slide li .content_slide h2 { margin:10px 0; font-size:16px;  }
	#main .slide li .content_slide .text { position:absolute; bottom: 80px; left:60px;  width:50%; color:#FFF; font-size:14px; background-color: rgba(0,0,0,0.7); padding:40px; height:300px; }
	#main.product .elenco .item h2 { font-size:22px; }
	#main.product .scheda p.cat { margin-bottom:20px; font-size:13px; }

	footer .maps { font-size:12px; }
	footer .address b { display:block; }
	
}

@media only screen and (max-width: 1200px){
	.btn-newsletter { display:none; }
}
/* mobile */
@media only screen and (max-width: 720px){
	
	header .social { right:20px; top: 20px; }
	body { font-size:13px; }
	.wrapper { min-width:0px; width:auto; padding:0px; background:none; }
	.content { padding: 0 10px; }
	input[type='button'], input[type='submit'] { padding: 10px 20px; }
	.anniversary { position:absolute; top:15px; left:auto; right:40px; }
	.anniversary img { width:50px; height:auto; }
	.phoneHide { display:none; }
	.row { margin:0px; }
	input, input.col, select, select.col, textarea { margin-bottom:10px; }
	
	.col { margin:0px; }
	.span_1_of_2 { width: 100%; }
	
	.span_1_of_3 { width: 100%; }
	.span_2_of_3 { width: 100%; }
	.span_3_of_3 { width: 100%; }
	
	.span_1_of_4 { width: 100%; }
	.span_2_of_4 { width: 100%; }
	.span_3_of_4 { width: 100%; }
	
	.span_1_of_5 { width: 100%; }
	.span_2_of_5 { width: 100%; }
	.span_3_of_5 { width: 100%; }
	.span_4_of_5 { width: 100%; }
	.span_5_of_5 { width: 100%; }
	
	h1 { font-size: 24px; line-height:26px; }
	h2 { font-size: 18px;  margin: 10px 0; text-transform:uppercase; }
    .bg_gray { background:#DDD; padding: 20px 0; }
    .mt40 { margin-top:20px; }
	
    
	header .header { height:70px;  background:#FFF; top:0; left:0; right:0; background: url('../images/bg_logo.png') no-repeat -105px -20px #D60016;  }
	header .logo { margin:10px 0 0 20px; }
	header .logo img { height:55px; width:auto; }
	header .lang { top:30px; right:60px; display:none; }
	header.smaller .header .logo { margin-left: 40px; }
	header.smaller .lang { top:20px; }
	header .social a { width:30px; height:30px; padding:2px; font-size:18px; }
	
	nav { padding: 10px; }
	nav li { border-left:0px; }
	
	#main { margin-top: 150px; }	
	#main .bx-wrapper .bx-caption span { font-size: 32px; }
	#main .bx-wrapper .bx-pager { display:none; }
	#main .bx-wrapper .bx-prev { left: 20px; }
	#main .bx-wrapper .bx-next { right: 0px; }
	
	#main .item_text h1 { margin: 15px 0; line-height:26px;  }
	#main .item_text { text-align:center; font-size:14px; line-height:normal; margin-bottom:40px; }
	
	.research .bg_gray p:last-child { margin-bottom:20px; }
	
	#main.product .elenco .item h2 { font-size:18px; margin-top:0px;}
	#main.product .elenco .item .span_1_of_3 { width: 49.2%; } 
	#main.product .elenco .item .span_2_of_3 { width: 49.2%; } 
	#main.product .elenco .item .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.product .elenco .item .col:first-child { margin-left: 0; }
	
	#main.product .scheda h1 { margin-top:10px; } 
	#main.product .scheda h2 { margin-bottom:0; text-transform:inherit; margin:10px 0; font-size:16px; }
	#main.product .scheda .item_caratteristiche { border-top:2px solid #DDD; padding: 20px 0 10px 0; margin-top:10px; }
	#main.product .scheda .item_caratteristiche h3 { font-size:18px; margin:5px 0 5px 0; background:#DDD; padding:2px 5px; }
	#main.product .scheda .tab_content.gallery .span_1_of_4:nth-child(2n+1) { margin-left:0px; }
	#main.product .scheda .tab_content.gallery .span_1_of_4 { width: 49.2%; }
	#main.product .scheda .tab_content.gallery .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.product .scheda .tab_content.gallery .col:first-child { margin-left: 0; }
	
	#main .slide { height:400px; margin-bottom:20px; }
	#main .slide li .content_slide h1 { font-size: 25px; line-height:30px; margin-bottom:20px;  color:#FFF; }
	#main .slide li .content_slide h1 .counter { font-size:25px; }
	#main .slide li .content_slide h2 { margin:10px 0; font-size:16px;  }
	#main .slide li .content_slide .text { position:absolute; top: 0px; left:0; right:0; width:100%; color:#FFF; font-size:14px; background-color: rgba(0,0,0,0.7); padding:60px; height:400px; }
	
	.box .products { margin-bottom:20px; }
	.box_news .item .span_1_of_5 { width: 32.2%; }
	.box_news .item .span_4_of_5 { width: 66.1%; }
	.box_news .item .col { display: block; float:left; margin: 0 0 0 1.6%; }
	.box_news .item .col:first-child { margin-left: 0; }
	
	.contact input[type='button'] { margin-bottom:10px; }
	
	footer .address b { display:block; }
	footer .maps { margin-bottom:40px; }
	footer h3 { margin: 0 0 5px 0; }
	div.top { right:20px; bottom:20px; }
	
	.caption1 { position:absolute; padding:20px; left:10px; right:inherit; top:0; z-index:2; font-size:14px; text-align:left; font-weight:bold; color:#FFF; text-shadow: 2px 2px 3px #000000; }
	.caption1 span { font-size:20px; }
	.caption2 { position:absolute; padding:20px; left:10px; right:inherit; top:0; z-index:2; font-size:14px; text-align:left; font-weight:bold; color:#FFF; text-shadow: 2px 2px 3px #000000; }
	.caption2 span { font-size:20px; }
	#main .bx-wrapper .bx-caption { bottom:20px; }

	
}

@media only screen and (max-width: 400px){
	.iphone_hide { display:none; }
}