@media only screen and (max-width: 950px) {
	#search-contents .form-item {width:49%;}
	#calibration-search #search-contents .form-item-wrapper {width:auto;}
	#repair-search #search-contents .form-item-wrapper {width:auto;}
	#tool-info div {width:auto;float:none;}
	#tool-group-info div {width:auto;float:none;}
	#tool-group-info div+div+div+div {width:auto;float:none;}
}

@media only screen and (max-width: 700px) {
	#account-header #user {display:none;}
	
	#calibration-info {width:100%;float:none;margin-right:0;margin-bottom:20px;}
	#calibration-tool-info {width:100%;float:none;}

	#repair-info {width:100%;float:none;margin-right:0;margin-bottom:20px;}
	#repair-info div .info {min-height:auto;}
	#repair-tool-info {width:100%;float:none;}
		
	#customer-info {width:100%;float:none;margin-right:0;margin-bottom:20px;}
	#customer-address-info {width:100%;float:none;}
}

@media only screen and (max-width: 640px) { /* samsung landscape */
	#actions .action-button .verbose-label {display:none;}
	
	#calibration-search .search-by-title {clear:both;display:block;}
	#tool-search #search-contents .form-item-wrapper {width:45%;float:left;}
	#tool-search #search-contents .text-field {width:95%;}
	#tool-search #search-contents .select-field {width:97%;}
	
	#repair-search #search-contents .form-item-wrapper {width:45%;float:left;}
	#repair-search #search-contents .text-field {width:95%;}
	#repair-search #search-contents .select-field {width:97%;}
	#repair-search #search-contents #form-item-rd-wrapper .text-field {width:80%;}

	#calibration-export-search #search-contents .form-item {width:100%;}
	#calibration-export-search #search-contents .text-field {width:95%;}
	#calibration-export-search #search-contents .select-field {width:97%;}
	#calibration-export-search #search-contents #to-date-wrapper label {display:block;}
	#calibration-export-search #search-contents #to-date-wrapper .text-field {width:80%;}
	#calibration-export-search #search-contents #from-date-wrapper label {display:block;}
	#calibration-export-search #search-contents #from-date-wrapper .text-field {width:80%;}
	
	#search-contents #form-item-clear-wrapper {padding-right:0;width:auto!important;}
	#search-contents #form-item-submit-wrapper {padding-right:0;width:auto!important;}
}

@media only screen and (max-width: 480px) { /* iphone landscape */
	body {padding:0;}
	#header {height:58px;}
	#logo {width:190px;height:44px;background:url(../images/logo-small.png) 0 0 no-repeat;}
	#logo_pro {width:220px;height:44px;background:url(../images/logo_pro-small.png) 0 0 no-repeat;}
	
	#nav li {font-size:24px;padding-right:15px;}
	#nav li.last {padding-right:0;}
	#nav li.extraDropdown {padding-right:0;}
	#search-contents .form-item-wrapper {width:100%;}
	
	/* View Tool */
	#tool-left-info {max-width:100%;isplay:block;margin-right:0px;}
	#tool-right-info {display:block;}

	#tool-photo-wrapper {width:100%;margin-bottom:20px;}
	#tool-photo-wrapper img {width:90%;height:auto;}
}

@media only screen and (max-width: 360px) { /* samsung portrait */
	body {font-size:13px;}
	#title {font-size:26px;line-height:32px;}

	#actions a {display:none;}
	#actions .back-button {display:inline-block;}
	#sub-actions .action-button .verbose-label {display:none;}
	.sub-actions .action-button .verbose-label {display:none;}
	
	#tool-search #search-contents .form-item-wrapper {width:100%;}
	
	#repair-search #search-contents .form-item-wrapper {width:100%;}
	
	#login-form-wrapper .form-item-wrapper label {display:block;}
	#login-form-wrapper .form-item-wrapper .text-field {width:97%;}
	#login-form-wrapper .form-item-wrapper .password-field {width:97%;}
	#login-form-wrapper .form-item-wrapper .select-field {width:99%;}

	#forgot_password-form-wrapper .form-item-wrapper label {display:block;}
	#forgot_password-form-wrapper .form-item-wrapper .text-field {width:97%;}
	
	#add_user-form-wrapper .form-item-wrapper label {display:block;}
	#add_user-form-wrapper .form-item-wrapper .text-field {width:97%;}
	#add_user-form-wrapper .form-item-wrapper .select-field {width:99%;}

	#edit_user-form-wrapper .form-item-wrapper label {display:block;}
	#edit_user-form-wrapper .form-item-wrapper .text-field {width:97%;}
	#edit_user-form-wrapper .form-item-wrapper .select-field {width:99%;}

	#edit-account-form-wrapper .form-item-wrapper label {display:block;}
	#edit-account-form-wrapper .form-item-wrapper .text-field {width:97%;}
	#edit-account-form-wrapper .form-item-wrapper .select-field {width:99%;}
			
	#calibration-search #search-contents #form-item-tid-wrapper {width:auto;padding-right:0;}
	#calibration-search #search-contents #form-item-tid-wrapper .text-field {width:99%;}
	#calibration-search #search-contents #form-item-tt-wrapper {width:100%;}
	#calibration-search #search-contents #form-item-tt-wrapper .select-field {width:97%;}
	#calibration-search #search-contents #form-item-m-wrapper {width:100%;}
	#calibration-search #search-contents #form-item-m-wrapper .select-field {width:97%;}
	#calibration-search #search-contents #form-item-mnum-wrapper {width:auto;}
	#calibration-search #search-contents #form-item-mnum-wrapper .text-field {width:105px;}
	#calibration-search #search-contents #form-item-snum-wrapper {width:auto;padding-right:0;}
	#calibration-search #search-contents #form-item-snum-wrapper .text-field {width:105px;}
	
	#calibration-search #search-contents #form-item-cid-wrapper {width:auto;padding-right:0;}
	#calibration-search #search-contents #form-item-cid-wrapper .text-field {width:99%;}
	#calibration-search #search-contents #form-item-cd-wrapper {width:49%;padding-right:0;}
	#calibration-search #search-contents #form-item-cd-wrapper .text-field {width:80px;}
	#calibration-search #search-contents #form-item-ed-wrapper {width:49%;padding-right:0;}
	#calibration-search #search-contents #form-item-ed-wrapper .text-field {width:80px;}
	#calibration-search #search-contents #form-item-af-wrapper {width:100%;}
	#calibration-search #search-contents #form-item-af-wrapper .select-field {width:97%;}
	#calibration-search #search-contents #form-item-al-wrapper {width:100%;}
	#calibration-search #search-contents #form-item-al-wrapper .select-field {width:97%;}
	#calibration-search #search-contents #form-item-c-wrapper {width:100%;}
	#calibration-search #search-contents #form-item-c-wrapper .text-field {width:97%;}
	#calibration-search #search-contents #form-item-t-wrapper {width:100%;}
	#calibration-search #search-contents #form-item-t-wrapper .select-field {width:97%;}
	
	#calibration_export_list-form-wrapper .form-item-wrapper label {display:block;}
	#calibration_export_list-form-wrapper .form-item-wrapper .text-field {width:97%;}
	#calibration_export_list-form-wrapper .form-item-wrapper .select-field {width:99%;}
	
	#calibration_customer_note-form-wrapper .form-item-wrapper label {display:block;}
	#calibration_customer_note-form-wrapper .form-item-wrapper .text-field {width:97%;}
}

@media only screen and (max-width: 320px) { /* iphone portrait */
	#title {font-size:23px;line-height:32px;}

	#calibration-certs-charts h2 {font-size:26px;}

	#assigned-customers .text-field {width:62%;margin-right:4%;}
	#assigned-customers .add-button {width:10%;text-align:center;background:#848484;}
}