label, .ht, .ft, .mt, .fm_box, .fm_box img, .err, .fm_block, .fm_block a {float:left;}
.fm {font-size:1.1em; overflow:hidden; padding:10px 15px 0 15px; background:#F0F0F0; border:2px solid #E82B25; box-shadow:1px 1px 3px rgba(0,0,0,0.2); z-index:100;}
.fm_head {text-align:center; height:20px; background:#E82B25; color:#FFF; position:relative; top:-10px; left:-15px; padding:2px 15px 0 15px; width:100%;}
.fm form {position:relative; padding:0; margin:0;}
.fm_block {width:100%; clear:both; margin:4px 0 4px 0; position:relative;}
.fm_block a{ clear:both; display:block; color:#666;}
label {padding-top:5px; display:block; clear:both; font-size:1.1em;}
label.in {clear:none; }
label.full { width:90%; }
.fm_box { width:50%; clear:none; position:relative;}
.fm_box.compact { padding-left:8%; width:42%; }
.fm_box img{position: absolute; top: 23px; left: 72%;}
.fm_box select {width:100%; margin-top:3px; }
.ht, .ft { width:88%; margin:2px 0 0 0; padding-left:2%; }
.ft {clear:both; width:97%;}
.opt {color:#888; margin-top:8px; }
.err { border:1px solid #E82B25; color:#D51927;}
div.err {width:90%; margin:0 3%; padding:1px 2%; border:none; -webkit-border-radius: 0 0 3px 3px; -moz-border-radius: 0 0 3px 3px; border-radius:0 0 3px 3px; background:#FFCCCC; box-shadow:inset 0 2px 2px rgba(0,0,0,0.2); }
input[type="checkbox"] {float:left; margin:4px 4px 0 0;}
.fm_submit {font-family:Arial; font-weight:bold; border:none; height:39px; cursor:pointer; background:top right no-repeat url('//www.avis.com/car-rental/html/landing/sem/sem-img/bigred_btn.png'); width:179px; color:#FFF; text-shadow:-1px -1px 1px rgba(0,0,0,0.2); padding:0px; }
.fm_submit:link {text-decoration:none;}
.fm_submit:hover { background-position:0 -40px; }
.fm_submit:active{ background-position:0 -80px; }
#af_couponawd_wrap .fm_box { width:40%; margin-right:8%;}
#ui-datepicker-div {font-size:120%; z-index: 102 !important;}
.tempHide { visibility:hidden; }
.overtop {position:absolute; top:10px; left:5%; width:90%; z-index:105;}
.formTop {position:absolute; top:0; }
input, select { font-size:1.4em; }
.fm .ctr {text-align:center; padding-top:10px; padding-bottom:10px; }

.fm_block.inline label {clear:none; max-width:50% }
.fm_block.inline input, .fm_block.inline select { clear:none; width:auto; max-width:50%; }
#af_age_block label { margin-top:5px; }

/*MODAL FORM*/
.avis_form_modal {width:100%; height:100%; overflow:hidden; }
.avis_form_modal .fm {position:fixed;  left:50%; margin-left:-290px; top:20%; width:580px;}
.avis_form_modal .fm_block {clear:none; width:270px; margin-right:20px;}
.avis_form_modal img.close_modal {position:absolute; top:4px; right:4px; }
.avis_form_modal a.close_modal {clear:both; float:right;}
.modal_show, .avis_form_modal .modal_hide {display:none!important;}
.modal_hide, .avis_form_modal .modal_show {display:block!important;}
.modal_shade {position:absolute; top:0px; left:0px; width:100%; height:100%; background:#FFF; z-index:99; opacity:0.85;}
.avis_form_modal .modal_shade {display:block; }
.avis_form_modal #af_pickuploc_block {margin-top:20px; }
.avis_form_modal #af_dropoffloc_block {margin-top:44px; }
.avis_form_modal #af_dropoffloc_block.expanded {margin-top:0; }
.avis_form_modal .fm_submit { float:right; clear:both; margin:10px 40px; }
.avis_form_modal #af_couponawd_block, .avis_form_modal #af_age_block {clear:both; }
.avis_form_modal #af_cor_block { width:100%; }
#af_additional_fields { margin:7px 0; color:#888; }
#af_additional_fields:hover { color:#D51927;}
.modal_ { display:none; float:right; clear:both; margin-top:10px; }
.close_button { display:none; position:absolute; top:4px; right:4px; width:17px; height:17px;}
.modal .close_link { display:block!important; }
.modal .close_button { display:block!important; }
.ui-autocomplete { max-height: 200px; overflow-y: scroll; overflow-x: hidden;}

@media only screen and (max-width:932px) {
	.fm { left:5%; }
}
@media only screen and (max-width:680px) {
	.fm { width:auto; padding:10px 3.5% 0 3.5%; left:10px; top:118px; margin-right:10px; }
	.fm_head { left:-5%; padding:2px 5% 0 5%; }
	.fm_block { clear:none; margin-right:7%; width:46.5%; }
	.fm_block:nth-child(even) { margin-right:0; }
	.ht, .ft, .fm_box select { width:96%; padding:5px 4px; margin-top:2px; }
	#renterAge {padding:5px 4px;}
	.fm_box img { top:28px; left:81%; }
	#af_submit_block {float:right; text-align:right;}
	#clear_pickupLoc {display:block; position: absolute; top: 26px; right: -22px; pointer:cursor; }
	.fm_block.opt { background:#E5E5E5; padding:5px 1% 7px 1%; width:44.5%; margin-top:14px}
	.fm_block.opt.expanded {margin:0!important; background:none; padding:0; width:46.5%;}
	#af_dropoffloc_block { margin-top:25px; }
	.margined {margin-top:20px;}
	.ui-menu-item { padding-top:8px!important; padding-bottom:8px!important; border-bottom:1px solid #DDD; }
}

@media only screen and (max-width:640px) {
	#ui-datepicker-div {font-size: 140%!important; left: -120px!important; margin-left:50%; margin-top:-30px;}
	.ui-datepicker-calendar td a { padding-top:8px; padding-bottom:8px; }
}

@media only screen and (max-width:540px) {
	.fm { top:132px; }
}

@media only screen and (max-width:480px) {
	#ui-datepicker-div {font-size:160%!important; left:-144px!important;}
	.fm_block{ width:100%;  padding:0;}
	.fm form { position:relative; top:-10px; }
	#af_dropoffloc_block { padding-top:0;  margin-top:5px; }
	#clear_pickupLoc { left:94%; }
	.ft { width:91%; }
	.margined {margin-top:0;}
	.fm_block.opt {width:98%; margin-top:5px;}
	.fm_block.opt.expanded { border-radius:none; margin:0!important; background:none; width:100%; padding:0;}
}