/* iPads (landscape) orizzontale ----------- */
@media only screen and (min-device-width : 421px) and (max-device-width : 768px) and (orientation : landscape) {

}

/* iPads (portrait) verticale ----------- */
@media only screen and (min-device-width : 421px) and (max-device-width : 768px) and (orientation : portrait) {
	
	#main.store .dashboard .span_1_of_3 { width: 49.2%; }
	#main.store .dashboard .span_1_of_3:first-child { margin-left:0; }
	#main.store .dashboard .span_1_of_3:nth-child(3n+1) { margin-left:0; }
	#main.store .dashboard .span_1_of_3:nth-child(2n+1) { margin-left:1.6%; }
}

/* @media only screen and (max-width: 720px){ */

@media only screen and (min-width: 320px) and (max-width: 768px) {
	
	.hide_phone { display:none; }
	
	h1 { margin: 20px 0; font-size:24px; }
	input, select, textarea { padding:10px; }
	input.span_1_of_2 { width: 49.2%; }
	input[type=submit], input[type=button], .btn { padding: 12px 5px; height: auto; }
	div.label { padding:0px 0 5px 0; }
	.button .col { display: block; float:left; margin: 0 0 0 1.6%; }
	.button .col:first-child { margin-left: 0; }
	.button .span_1_of_2 { width: 49.2%; }
	.button .span_1_of_3 { width: 32.2%; }
	
	
	.mt40 { margin-top:20px; }
	.tab a { padding-top:10px; padding-bottom:10px; font-weight:bold; }
	.tab .span_1_of_2 { width: 49.2%; }
	.tab .span_1_of_3 { width: 32.2%; }
	.tab .span_1_of_4 { width: 23.8%; }
	.tab .col { display: block; float:left; margin: 0 0 0 1.6%; }
	.tab .col:first-child { margin-left: 0; }
	
	#topbar { padding: 10px; text-transform:uppercase; font-weight:bold; }
	#topbar .general_control span { padding: 15px 0; display:block; }
	#header { padding: 15px 20px; margin:0px; border:0px; }
	#header .logo h1 { width: 35px; height:40px; overflow:hidden; text-indent:-500px; background: url('../images/logo.png') no-repeat; margin:0px; }
	#header .box_account { position:absolute; top:15px; left:80px; width:75%; }
	#header .box_account ul, #header .box_account .container { float:left; }
	#footer { margin-top:20px; }
	
	#main { padding: 20px 10px; }
	
	#main .dashboard ul li { width:100%; border-bottom:1px solid #DDD;  }
	#main .dashboard ul li a { display:block; padding:15px 0 15px 60px; display:block; }
	#main .dashboard ul li b { font-size:18px; margin-bottom:5px; display:inline-block; }
	#main .dashboard ul li i { top:15px; font-size:28px; width:60px; }
	#main .dashboard ul.main li i { top:15px;   }
	#main .dashboard li:last-child { border:0px; }
	
	
	#footer { padding: 20px; }
	#footer div { text-align:center; line-height:20px; }
	
		
	
	.box_user { position:relative; top:0px; right:0px; padding: 0 0 40px 20px; background: none repeat scroll 0 0 #EEEEEE; border-bottom: 1px solid #DDDDDD; }
	.content { min-width:0px; width:auto; }	
	.col { margin:0px; }
	
	.span_1_of_2 { width: 100%; }
	.span_2_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%; }

	.span_1_of_6 { width: 100%; }
	.span_2_of_6 { width: 100%; }
	.span_3_of_6 { width: 100%; }
	.span_4_of_6 { width: 100%; }
	.span_5_of_6 { width: 100%; }
	.span_6_of_6 { width: 100%; }

	.span_1_of_8 { width: 100%; }
	.span_2_of_8 { width: 100%; }
	.span_3_of_8 { width: 100%; }
	.span_4_of_8 { width: 100%; }
	.span_5_of_8 { width: 100%; }
	.span_6_of_8 { width: 100%; }
	.span_7_of_8 { width: 100%; }
	.span_8_of_8 { width: 100%; }

	.span_1_of_10 { width: 100%; }
	.span_2_of_10 { width: 100%; }
	.span_3_of_10 { width: 100%; }
	.span_4_of_10 { width: 100%; }
	.span_5_of_10 { width: 100%; }
	.span_6_of_10 { width: 100%; }
	.span_7_of_10 { width: 100%; }
	.span_8_of_10 { width: 100%; }
	.span_9_of_10 { width: 100%; }
	.span_10_of_10 { width: 100%; }
	
	
	#login #header .logo {display:inline-block; }
	#login #header .logo h1 { width: 150px; height:58px; }
	
	.paginazione .selezione { text-align:center;  }
	.paginazione .pagine { text-align:center; margin-top:10px; }
	
	#main .dashboard .box { margin-bottom:40px; }
	#main .dashboard .box:last-child { margin-bottom:0px; }
	#main .dashboard .item b { font-size: 16px; }
	
	
	/* LATO */
	#lato { margin-top:40px; }
	#lato .box_search .span_4_of_5 { width: 79.68%; }
	#lato .box_search .span_1_of_5 { width: 18.72%; }
	#lato .box_search .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#lato .box_search .col:first-child { margin-left: 0; }
	
	
	
	/* CONFIGURATORE */
	#main.configurator .dashboard p.text { font-size:14px; line-height:18px; }
	
	#main.configurator .box_system { padding:10px; }
	#main.configurator .box_system td { padding:3px 3px 3px 0;  }
	#main.configurator .select_product .span_1_of_6 { width: 49.2%; }
	#main.configurator .select_product .item:nth-child(2n+1) { border-right:0px; }
	#main.configurator .select_product .item:last-child { border-right:1px solid #DDD; }
	
	#main.configurator .configurazione .image img { width:100%; height:auto; }
	#main.configurator .configurazione .image { height: auto; } 
	
	#main.configurator .select_accessory .item img { width:80%; height:auto; }
	#main.configurator .select_accessory .item .span_1_of_3 { width: 32.2%; }
	#main.configurator .select_accessory .item .span_2_of_3 { width: 66.1%; }
	#main.configurator .select_accessory .item .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.configurator .select_accessory .item .col:first-child { margin-left: 0; }
	
	#main.configurator .custom_button .tab_content .span_1_of_2 { width: 49.2%; }
	#main.configurator .custom_button .tab_content .span_1_of_3 { width: 32.2%; }
	#main.configurator .custom_button .tab_content .span_2_of_3 { width: 66.1%; }
	#main.configurator .custom_button .tab_content .label { padding:10px 0 5px 0; }
	#main.configurator .custom_button .tab_content .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.configurator .custom_button .tab_content .col:first-child { margin-left: 0; }
	
	
	#main.configurator .confirm .list_box_display .span_1_of_4 { width: 49.2%; }
	#main.configurator .confirm .list_box_display .span_2_of_4 { width: 100%; margin:20px 0 0;}
	#main.configurator .confirm .list_box_display img { width:80%; height:auto; }
	#main.configurator .confirm .span_1_of_3 { width: 32.2%; }
	#main.configurator .confirm .span_2_of_3 { width: 66.1%; }
	#main.configurator .confirm .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.configurator .confirm .col:first-child { margin-left: 0; }

	#main.configurator #lato .summary .span_1_of_3 { width: 32.2%; }
	#main.configurator #lato .summary .span_2_of_3 { width: 66.1%; }
	#main.configurator #lato .summary .span_1_of_2 { width: 49.2%; }
	#main.configurator #lato .summary .span_1_of_6 { width: 15.33%; }
	#main.configurator #lato .summary .span_3_of_6 { width: 49.2%; }
	#main.configurator #lato .summary .span_2_of_6 { width: 32.26%; }
	#main.configurator #lato .summary .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.configurator #lato .summary .col:first-child { margin-left: 0; }
	
	
	#main.customized .select_series .span_1_of_3 { width: 32.2%; }
	#main.customized .select_series .span_2_of_3 { width: 66.1%; }
	#main.customized .select_series .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.customized .select_series .col:first-child { margin-left: 0; }
	
	
	#main .toolbar_option { margin-top:0px; }
	#main .toolbar_option .span_1_of_5 { width: 49.2%; }
	#main .toolbar_option .col { display: block; float:left; margin: 0 0 5px 1.6%; }
	#main .toolbar_option .col:first-child, #main .toolbar_option .col:nth-child(2n+1) { margin-left: 0; }
	#main .toolbar_option input[type=submit] { padding: 0px ;}
	
	#main .list_offers { margin-top:20px; }
	
	
	
	
	/* SUPPORT */
	#main.support form .button { margin-top: 10px; }
	#main.support .download_center .tab .span_1_of_5 { width: 18.72%; }
	#main.support .download_center .tab a { min-height:45px; }
	


	/* STORE */
	#header .box_account li:last-child { min-width:100px; }
	#main.store .dashboard li { border:0px; padding: 2px 0; }
	#main.store .list_product .item { height:320px; }
	#main.store .list_product .item .button_cart .span_1_of_2 { width:50%; }	
	#main.store .list_product .item.span_1_of_4 {  width: 49.2%; }
	#main.store .list_product .item.col { display: block; float:left; margin: 0 0 20px 1.6%; }
	#main.store .list_product .item.col:first-child, #main.store .list_product .item:nth-child(2n+1) { margin-left: 0; }
	#main.store .list_product .item .image { height:120px; }
	#main.store .list_product .item .image img { width:100%; height:auto; }
	#main.store .list_product .item .text { height: 110px; }
	#main.store .list_product .option_view select { margin-bottom:20px; }

	#main.store .scheda .detail { min-height:300px; padding:20px; }
	#main.store .scheda .detail img { width:100%; height:auto; }
	#main.store .scheda .detail .add_to_cart .span_1_of_5 { width: 32.2%; }
	#main.store .scheda .detail .add_to_cart .span_4_of_5 { width: 66.1%; }
	#main.store .scheda .detail .add_to_cart .col { display: block; float:left; margin: 0 0 0 1.6%; }
	#main.store .scheda .detail .add_to_cart .col:first-child { margin-left: 0; }
	#main.store .scheda .detail .add_to_cart input[type='button'] { width:100px; }
	#main.store .manual_insert input[type='text'], #main.store .manual_insert textarea, #main.store .manual_insert input[type='file'] { margin-bottom:5px; }


	#main.maintenance { font-size:16px; line-height:auto; text-align:center; }
	#main.maintenance h1 { font-size:28px; margin:20px 0 20px 0; }
	#main.maintenance .image { text-align:center; }
}
