/* Forms */
form input,
form button,
form select,
form textarea {
    font: 13px Arial, Helvetica, Sans-serif;
}
form textarea {
	color: #494C4F;
	background-color: #fff;
}

/* New form styles - Andrej @ Blast */
form.regular {
    overflow: hidden;
    _zoom: 1;
}

form.regular fieldset {
    border: 0; /* Redundant */
}

form.regular fieldset legend {
    display: none;
}

form.regular ol li {
	clear: left;
	padding-right: 5px;        
}

form.regular ol li label {
    height: 25px;
    line-height: 25px;
    float: left;
    padding-right: 15px;
    background: url(../img/interface/form/bg-input-left.png) no-repeat top right;
}

form.regular ol li label.strong {
    font-size: 14px;
    font-weight: bold;
}

form.regular ol li input {
    float: left;
    border: 0;
    background: url(../img/interface/form/bg-input.png) no-repeat top right;
    font: 13px Arial, Helvetica, Sans-serif;
    color: #494C4F;
    height: 16px;
    padding: 5px 6px 4px 2px;
    margin-left: -2px;
    outline: 0;
}

/* date picker */
form.regular ol li input.date-picker {
    background: url(../img/interface/form/bg-input-date.png) no-repeat top right;
	cursor: pointer;
}

/* spin box */
form.regular ol li .spinner-wrapper {
	float: left;
	margin-left: -20px;
	display: inline;
	position: relative;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
	form.regular ol li .spinner-wrapper {
		margin-left: -6px;
	}
}
form.regular ol li .spinner-wrapper input {
	background:url(../img/interface/form/spinbox.gif) no-repeat;
	width: 20px;
	margin: 0;
	padding: 0;
	float: none;
	display: block;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	*border: 0 !important;
}
form.regular ol li .spinner-wrapper input.spin-up {
	background-position: left top;
	border-bottom: 1px solid #e5e5e5;
	height: 13px;
}
form.regular ol li .spinner-wrapper input.spin-down {
	background-position: left bottom;
	height: 12px;
}
form.regular ol li .spinner-wrapper input.spin-up:hover {
	background-position: right top;
}
form.regular ol li .spinner-wrapper input.spin-down:hover {
	background-position: right bottom;
}

/* drop down */
form.regular ol li select {
    float: left;
    position: relative;
	top: 3px;
	*top: 2px;
    font: 13px Arial,Helvetica,Sans-serif;
    outline: 0;
}

/* textarea */
body form.regular ol li.form-textarea {
	width: 400px; /* default -- override where needed */
	padding: 0 !important;
	background: url(../img/interface/form/bg-textarea-bl.gif) no-repeat left bottom;
}
body form.regular ol li.form-textarea label {
	float: none;
	display: block;
	height: 11px;
	width: 100%;
	padding: 0 !important; _padding: 0 2px 0 0;
	background: url(../img/interface/form/bg-textarea-tr.gif) no-repeat right top;
}
form.regular ol li.form-textarea .ta-box-outer {
	background: url(../img/interface/form/bg-textarea-tl.gif) no-repeat left top;
}
form.regular ol li.form-textarea .ta-box-inner {
	padding: 0 10px 10px 10px;
	background: url(../img/interface/form/bg-textarea-br.gif) no-repeat bottom right;
}
form.regular ol li.form-textarea textarea {
	width: 380px; /* default -- override where needed */
	border: 0;
	overflow-x: hidden;
	overflow-y: auto;
	zoom: 1;
}


/* for Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	form.regular ol li select {
		top: 0;
	}
}

form.regular ol li.no-label label {
    width: 0;
    overflow: hidden;
    text-indent: -1000em;
    padding-right: 7px;
    white-space: nowrap;
}
    

/* form variations */
form.regular ol.inline {
	float: left;
}
form.regular ol.inline li {
    float: left;
	clear: none;
    width: auto !important;
}

form.regular ol.inline li.form-submit {
    position: relative;
    top: -1px;
    _top: -2px;
    *top: -2px;
	padding-right: 0; 
}

form.regular ol.inline li.form-submit-attached {
	margin-left: -10px;
}
form.regular ol.inline li.form-submit-attached button {
	overflow: hidden;
}
	
form.regular ol.inline .combo-form {
	padding-top: 3px;
}
			
form.regular ol.vertical label {
    display: block;
}

form.regular ol.vertical li {
    padding: 4px 0 !important;
	*padding: 2px 0 !important;
}


form.regular ol.vertical-inline label {
    width: 10em; /* default - override elsewhere if needed */
    float: left;
}
form.regular ol.vertical-inline li {
	padding: 4px 0;
}
form.regular ol.vertical-inline li.form-select label {
	padding-right: 9px; /* to left align with text boxes */
}

/* centered form elements */
form.centered ol li {
    float: none;
    display: table;
    margin: 0 auto;
    white-space: nowrap;
}

form.centered ol li label,
form.centered ol li input {
    display: table-cell;
}

form.centered ol li input {
    text-align: center;
}

/* ie-specific fixes for centered form elements */

form.centered ol li { *display: inline-block; _display: inline-block; }
form.centered ol li { *display: inline; _display: inline; }

form.centered ol li label { *display: inline-block; _display: inline-block; }
form.centered ol li label { *display: inline; _display: inline; }

form.centered ol li input { *display: inline-block; _display: inline-block; }
form.centered ol li input { *display: inline; _display: inline; }

form.centered ol { *text-align: center; _text-align: center; }
/* // centered form elements */

/* form input variations */
form.regular ol li.form-select label {
    background: none;
    padding-right: 5px;
}

form.regular ol li.form-label label {
    padding-right: 5px;
    background: none;
}

form.regular ol li.form-checkbox label,
form.regular ol li.form-radio label {
	padding: 0 0 0 2px;
	background: none;
	height: auto;
	line-height: normal;
	vertical-align: middle;
	margin-top: 2px;
	font-size: 12px;
}
	
form.regular ol li.form-checkbox input,
form.regular ol li.form-radio input {
	background: none;
	margin-left: 0;
	height: auto;
	vertical-align: middle;
}

form.regular ol li.form-submit {
	padding-right: 0;
}

/* Label ontop of the input 
   Note - must disable cox.controller.myplace.InputLabelController prior to implementation */

form.regular ol li.top-label label {
    position: relative;
    width: 0;
    padding-right: 7px;
    white-space: nowrap;
    margin-top: 18px;
}

form.regular ol li.top-label input {
    margin-top: 18px;
}

form.regular ol li.top-label label span {
    display: block;
    position: absolute;
    top: -22px;
    font-size: 12px;
	text-indent: 1px;
}


/* button style (blue) */
form.regular button span {
    display: inline;
    margin: 0;
}

form.regular button::-moz-focus-inner,
button.rounded::-moz-focus-inner { 
    padding: 0; 
}

form.regular button,
button.rounded {
    border: 0;
    padding: 0 2px;
    width: 1;
    overflow: visible; 
    white-space: nowrap;
    background: transparent;
	cursor: pointer;
    margin: 0;
}
    
form.regular button span,
button.rounded span,
a.rounded,
form.regular ol li.button-input {
    border: 0;
    height: 26px;
    cursor: pointer;
    line-height: 24px;
    background: transparent url(../img/interface/form/bg-button-left.png) no-repeat top left;
    padding: 0 0 0 6px !important;
    vertical-align: top;
    display: block;
    display: inline-block;
    display: -moz-inline-box;
	font-size: 13px;
}

button.rounded span {
    margin: 0 !important;
}            

a.rounded {
    display:inline-block;
    margin-right: 5px;
    position: relative;
    top: 1px;
    _top: 2px !important;
	text-decoration: none;
}

form.regular button span span,
button.rounded span span,
a.rounded span {
	background: url(../img/interface/form/bg-button.png) no-repeat top right;
	height: 26px;
	line-height: 24px;
	display: inline-block;
    _top: 0;
	padding: 0 18px 0 10px !important;
	color: #fff !important;
}

form.regular ol li.button-input {
    top: 0px !important;
}
form.regular ol li.button-input input {
	background: url(../img/interface/form/bg-button.png) no-repeat top right;
	height: 26px;
	line-height: 23px;
	margin: 0 !important;
	padding: 0 15px 4px 7px !important;
	color: #fff;
	_width: 1 !important;
	*width: 1 !important;
	cursor: pointer;
	overflow: visible;
}

form.regular button {
    margin-left: -3px;
    *margin-left: -2px;
}
/* // button style (blue) */            

/* button style2 (grey) */
form.regular button.button2 span {
    background: transparent url(../img/interface/form/bg-button2-left.png) no-repeat top left;
}

form.regular button.button2 span span {
	background: url(../img/interface/form/bg-button2.png) no-repeat top right;
	color: #005498 !important;
	font-weight: 700;
}
	
form.regular .button2:hover span {
    background-position: bottom left !important;
}
form.regular .button2:hover span span {
    background-position: bottom right !important;
}
/* // button2 style (grey) */

/* button style (green) */
form.regular button.btn-green span {
	background: transparent url(../img/interface/form/bg-button-green-left.png) no-repeat top left;
}
form.regular button.btn-green span span {
	background: url(../img/interface/form/bg-button-green.png) no-repeat top right;
}
form.regular .btn-green:hover span,
form.regular .btn-green.hover span {
	background-position: bottom left !important;
}
form.regular .btn-green:hover span span,
form.regular .btn-green.hover span span {
	background-position: bottom right !important;
}
/* // button style (green) */


/* required fields related styles */
/* Style of an asterisk next to a required field */
form.regular .required-asterisk {	
	float:left;
	padding-top:10px;
	width:15px;
	font-size:26px;
	font-weight:700;	
}

/* Color of '=Required' and 'Items with * are required' verbiage */
.items-with-asterisk-required,
form.regular .asterisk-required-legend {
	color:#999;	
}

/* Color of required asterisks (red) */
form.regular .required-asterisk,
.items-with-asterisk-required span {
	color: #f00;
}

/* '=Required' style */
form.regular .asterisk-required-legend {
	height:18px;	
}	

/* '=Required' style */
form.regular .asterisk-required-legend div {
	padding-top:4px;
}

.cox-privacy-policy-a {
	font-weight:normal;
}
/* // required fields related styles */


/* button style (grey) */
form.regular button.btn-back span {
	background: transparent url(../img/interface/form/bg-button-grey-left.png) no-repeat top left;
}
form.regular button.btn-back span span {
	background: url(../img/interface/form/bg-button-grey.png) no-repeat top right;
}
form.regular .btn-back:hover span,
form.regular .btn-back.hover span {
	background-position: bottom left !important;
}
form.regular .btn-back:hover span span,
form.regular .btn-back.hover span span {
	background-position: bottom right !important;
}
/* // button style (grey) */


/* help icon alignment */
form.regular ol li.form-text .btn-help,
form.regular ol li.form-select .btn-help {
	margin-top: 4px;
}
