/* Ipad orizzontale */
@media only screen and (max-width: 1200px ) {
	.boxedWrapper,
	.boxedBottomBar.credits { width: 1000px; }
	h3 { font-size: 22px; line-height: 26px; }
	
	#h1200 { display: none; }
	
	iframe#gmap { height: 465px; }
	iframe#ytvideo { height: 395px; }
}

/* Ipad verticale */
@media only screen and (max-width: 979px ) {
	.container { padding: 0 20px; } 
	body, li { font-size: 12px; line-height: 16px; }
	.boxedWrapper,
	.boxedBottomBar.credits { width: 784px; }
	.content-wrap .row-fluid { margin-bottom: 25px; }
	.wide-background .row-fluid { margin-bottom: 0; }
	p { margin: 0 0 5px; }
	h1, h2, h3, h4, h5, h6 { margin: 5px 0; }
	h3 { font-size: 18px; line-height: 22px; }

	footer p { text-align: center !important; }	
	footer table { margin: 0 auto !important; float: none !important; }
	footer img#footer { display: none !important; }
	
	#h979 { display: none; }
	
	iframe#gmap { height: 357px; }
	iframe#ytvideo { height: 305px; }
	
	.sidebar #searchform input[type="text"] { height: 36px; padding: 0 3px; font-size: 12px; }
	.sidebar #searchform button.searchsubmit { top: 3px; right: 3px; }
}

/* Mobile orizzontale */
@media only screen and (max-width: 767px ) {
	.container { padding: 0 10px; }
	.container.main { padding-top: 25px; }
	.boxedWrapper,
	.boxedBottomBar.credits { width: 100%; margin: 0; border: 0; }
	
	header img#logo { max-width: 300px; min-width: 0; width: 100%; margin: 0 auto; display: block; }
	
	header nav.menu ul.std-menu { display: none !important; }
	header nav.menu ul.ul-mobile-menu { display: block !important; }
	
	.page-title h1 { text-align: center; font-size: 24px; line-height: 26px; }
	
	.single-archive-post img { margin-bottom: 10px; }
	
	.sidebar,
	prefooter { display: none; }
	
	#h1200, #h979 { display: block; }
	#h767 { display: none; }
	
	iframe#gmap { height: 270px; }
	iframe#ytvideo { max-width: 100%; height: 320px; display: block; margin: 25px auto 0; }
}

/* Mobile verticale */
@media only screen and (max-width: 480px ) {
	
	#h480 { display: none; }
	
	iframe#gmap { height: 180px; }
	iframe#ytvideo { max-width: 100%; height: 200px; }
	
	.visual-form-builder li.vfb-left-half, .visual-form-builder li.vfb-right-half,
	.visual-form-builder li.vfb-left-third, .visual-form-builder li.vfb-middle-third, 
	.visual-form-builder li.vfb-right-third { width: 100% !important; margin: 0 !important; }
}

/* CUSTOM */
@media only screen and (max-width: 1200px ) {
	header nav.menu.main-menu { margin-top: 50px; }
	.quote h1, .quote h1 a { font-size: 28px; line-height: 30px; }
	.quote h2, .quote h2 a { font-size: 18px; line-height: 20px; }
	
	.wide-background.newQuote h1 { font-size: 24px; line-height: 26px; margin-bottom: 15px; padding: 8px 15px; }
	.benvenuto h3 { font-size: 30px; line-height: 32px; }
	.benvenuto img.alignleft { width: 150px; }
	.benvenuto p#pN3 { display: none; }
	
	.corsi-box .serviceBox.style1 h3 { font-size: 20px; line-height: 22px; padding: 0 30px; }
	
	.mid-col { margin: 0px 15px 5px 0px; }
}

@media only screen and (max-width: 979px ) {
	header { padding: 30px 0px 10px; }
	header nav.menu.main-menu { margin-top: 35px; }
	header nav.menu.main-menu li a { padding: 8px; font-size: 16px; line-height: 18px; }
	header nav.menu.main-menu li ul.children { top: 34px; }
	
	.quote h1, .quote h1 a { font-size: 26px; line-height: 28px; }
	.quote h2, .quote h2 a { font-size: 20px; line-height: 22px; }
	
	.wide-background.section-servizi { padding-top: 0; }
	.serviceBox.style1 h3 { font-size: 16px; line-height: 18px; }
	
	.benvenuto { margin-bottom: 25px !important; }
	.benvenuto h3 { font-size: 22px; line-height: 24px; }
	.benvenuto h4.mTop20 { margin-top: 0; }
	.benvenuto img.alignleft { width: 100px; }
	
	prefooter a.custom-btn { padding: 8px 15px; margin-top: 8px; }
	prefooter iframe { height: 220px; }
	
	.corsi-box .serviceBox.style1 h3 { padding: 0; }
	
}

@media only screen and (max-width: 767px ) {
	header { padding: 10px 0; }
	header nav.menu.main-menu { margin-top: 10px; }
	.dl-menuwrapper li a { padding: 10px 10px; }
	
	.quote h1, .quote h1 a { font-size: 20px; line-height: 22px; }
	.quote h2, .quote h2 a { font-size: 16px; line-height: 18px; }
	
	.serviceBox.style1 { max-width: 80%; margin: 0 auto 15px; }
	.serviceBox.style1 h3 { font-size: 24px; line-height: 26px; }
	
	.benvenuto p#pN3 { display: block; }
	.benvenuto .cycloneslider { margin-top: 25px; }
}

@media only screen and (max-width: 480px ) {
	.quote h1, .quote h1 a { font-size: 18px; line-height: 20px; }
	.quote h2, .quote h2 a { font-size: 14px; line-height: 16px; }
	
	.serviceBox.style1 { max-width: 90%; }
	.serviceBox.style1 h3 { font-size: 22px; line-height: 24px; }
	
	.wide-background.newQuote h1 { font-size: 24px; line-height: 26px; }
	.wide-background.newQuote a.btn-newQuote { padding: 10px 15px; }
	
	.mid-col { width: 100%; margin: 0 0 15px 0; float: none; }
}