@media only screen and (max-width: 767px) {
	body{ background: #f4f8fb url(images/bg_300.jpg) repeat-x; }
	header, .wrapper, #afterFooter, #wrapper { width: 300px; }
	header { padding-top: 10px; height: 108px; }
	#logo { max-width: 100%; text-align: center; float: none; margin-left: 0px; }
	nav { max-width: 100%; margin: 10px 0 0; }
	nav #aaa_hmenu_1 { display: none; }
	nav .responsivemenu { display: block; width: 250px; margin: 0px auto; text-align: center; }
	nav .responsivemenu select { width: 100%; }
	#banner { padding: 35px 0px 0px 0px; height: 93px; width: 300px; }
	#banner #startrepeater { width: 250px; margin-top: -12px; }
	#banner-title { top: 6px; left: -20px; }
	#banner span.txt-22 { font-size: 17px; }
	#banner span.txt-28 { font-size: 20px; }
	#free-quote a { right: 28px; bottom: -115px; }
	#content-container { padding: 0 13px; }
	#content { padding: 20px 15px 37px 15px; }
	#content-area { width: 100%; float: none; margin-bottom: 25px; clear: both; }
	#content-area #page-title { width: 130px; }
	#content-area iframe { max-width: 100%; }
	#sidebar { width: 243px; margin-bottom: 20px; }
	.top-container { height: 5px; }
	.widget { width: 189px; }
	footer { background: url(images/bg_footer_300.png) no-repeat top center; padding-bottom: 0px; height: 43px; margin-bottom: 10px; }
	.fmh-group-body input { width: 185px; }
	.fmh-group-body textarea { width: 185px !important; }
	.fmh-standard-button { width: 75px !important; }
	/* Photo Gallery */
	.photoGallery li { width: 100%; max-height: none; }
	.photoGallery li:nth-child(3n+2), .photoGallery li:nth-child(odd), .photoGallery li:nth-child(even) { margin-left: 0px !important; margin-right: 0px !important; }
}

/* Mobile Portrait (Note: Design for a width of 480px) */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	body{ background: #f4f8fb url(images/bg_422.jpg) repeat-x; }
	header, .wrapper, #afterFooter, #wrapper { width: 462px; }
	header { padding-top: 10px; height: 108px; }
	#logo { max-width: 100%; text-align: center; float: none; margin-left: 0px; }
	nav { max-width: 100%; margin: 10px 0 0; }
	nav .responsivemenu { width: 350px; }
	#banner { padding: 35px 0px 0px 0px; height: 143px; width: 462px; }
	#banner #startrepeater { width: 400px; margin-top: -12px; }
	#banner-title { top: 15px; left: auto; }
	#banner span.txt-22 { font-size: 17px; }
	#banner span.txt-28 { font-size: 20px; }
	#free-quote a { right: 28px; bottom: -115px; }
	#content-container { padding: 0px 20px; }
	#content { padding: 35px 15px 37px 15px; }
	#content-area #page-title { width: 290px; }
	#sidebar { width: 396px; }
	.top-container { height: 7px; }
	.widget { width: 342px; }
	footer { background: url(images/bg_footer_462.png) no-repeat top center; padding: 26px 53px; height: 12px; margin-bottom: 10px; }
	.fmh-group-body input { width: 225px; }
	.fmh-group-body textarea { width: 225px !important; }
	/* Photo Gallery */
	.photoGallery li { width: 48%; max-height: 125px; }
	.photoGallery li:nth-child(3n+2) { margin-left: 0px !important; margin-right: 0px !important; }
	.photoGallery li:nth-child(odd) { margin-right: 5px !important; }
	.photoGallery li:nth-child(even) { margin-left: 5px !important; }
}

/* Tablet Portrait (Note: Design for a width of 768px) */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	header, .wrapper, #afterFooter { width: 760px; }
	#wrapper { width: 760px; }
	nav { width: 430px; }
	nav li a { padding: 10px 12px; }
	#avaima_hmenu_1 .yui-skin-sam .yuimenubaritemlabel { padding: 10px 12px !important; }
	#banner { padding-left: 0px; width: 760px; }
	#banner #startrepeater { width: 665px; margin-top: 7px; }
	#banner-title { padding-left: 55px; }
	#fade { max-width: 90%; margin: 0px auto; text-align: center; }
	#banner #fade img { max-width: 100%; }
	#content { padding: 41px 15px 37px 15px; }
	#sidebar { width: 200px; }
	.top-container { height: 4px; }
	.bottom-container { height: 6px; }
	.widget { width: 148px; }
	.widget img { max-width: 100%; }
	.fmh-FmFunction { float: right; }
	.fmh-standard-button { float: left; position: relative; left: -152px; }
	.fmh-FmFunction input, .fmh-FmFunction textarea.fmh-standard-textarea { width: 145px; }
	.fmh-standard-button { left: 0px; }
	/* Photo Gallery */
	.photoGallery li { width: 48%; }
	.photoGallery li:nth-child(3n+2) { margin-left: 0px !important; }
	.photoGallery li:nth-child(odd) { margin-right: 5px !important; }
	.photoGallery li:nth-child(even) { margin-left: 5px !important; }
}