/* -------------
 * Buttons
 * ------------- */
button {margin:0;padding:0;border:none;background-color:transparent;cursor:pointer;overflow:visible;outline:none;moz-outline:none;}
*:first-child+html button[type]{width:1;} /* IE7 */

button span {
	background: transparent url(elements/btn_right.gif) no-repeat scroll right top;
	display: block;
	float: left;
	padding: 0px 4px 0px 0px; /* sliding doors padding */
	margin: 0px;
	height:24px;
}

button span span {
	background: transparent url(elements/btn_left.gif) no-repeat;
	color: #FFFFFF;
	padding: 1px 4px 0px 8px;
	font-weight: normal;
	font-size: 12px;
	line-height: 19px;
	display: block;
	text-decoration: none;
	height:23px;
        white-space:nowrap;
}

/* -------------
 * Inputs
 * ------------- */
.jNiceInputWrapper {
	background: transparent url(elements/input.gif) no-repeat left top;
	float:left;
}

.jNiceInputInner {
	background: transparent url(elements/input.gif) no-repeat right top;
	padding: 2px 4px 2px 0;
	margin: 0 0 0 4px;
	height:24px;
}

.jNiceInputInner input {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#707070;	
	line-height: 24px;
	height: 24px;
	*line-height: 20px;/* IE Hacks */
	*height: 22px;/* IE Hacks */
	vertical-align:middle;padding:0;margin:0;background:none;border:none;outline:none;
}

.jNiceInputWrapper_hover { background-position: left bottom; }
.jNiceInputWrapper_hover .jNiceInputInner { background-position: right bottom; }


/* -------------
 * Radios
 * ------------- */
.jRadioWrapper { float: left; z-index: 2; }
.jNiceRadio {
	background: transparent url(elements/radio.png) no-repeat center top;
	height: 18px;
	width: 18px;
	position:absolute;left:0px;top:0px;cursor:pointer;vertical-align:middle;
}


/* -------------
 * Checkboxes
 * ------------- */
.jNiceCheckbox {
	background: transparent url(elements/checkbox.gif) no-repeat center top;
	height: 18px;
	width: 18px;
	position:absolute;left:0px;top:0px;z-index:2;cursor:pointer;
}

/* -------------
 * Checked - Used for both Radio and Checkbox
 * ------------- */
.jNiceChecked { background-position: center -18px;}
.rrrrrrrr {}

/* -------------
 * disabled - Used for both Radio and Checkbox
 * ------------- */
.jNicedisabled { background-position: center -36px; cursor:auto;}

/* -------------
 * checked disabled - Used for both Radio and Checkbox
 * ------------- */
.jNiceCdisabled { background-position: center -54px; cursor:auto;}

/* -------------
 * Selects
 * ------------- */
.jNiceWrapper select {border:none;margin:0;padding:0; }

.jNiceSelectWrapper {
	height: 24px;
	left:0px;
	margin-top:-17px;
	*margin-top:-21px;
	z-index:3;
	position:relative;
}

.jNiceWrapper iframe {position:absolute;z-index:1;width:100%;left:0px;top:0px;}

.jNiceSelectWrapper .jNiceSelectText {
	height: 26px;
	line-height: 24px;
	padding: 0px 3px 0 5px;
	font-family:Arial, Helvetica, sans-serif;
	color:#707070;	
	border: 1px solid #e0e0e0;
	border-right: none;
	background-color: #FFF;
	overflow:hidden;float:none;position:absolute;z-index:100;
}

.jNiceSelectWrapper .jNiceSelectOpen {
	width: 21px;
	height: 28px;
	background: url(elements/select_right.gif) no-repeat center center;
	z-index:100;display:block;position:absolute;right:0px;
}

.jNiceSelectWrapper ul {
	top: 27px;
	background-color: #FFF;
	border: solid 1px #CCC;
	height: 150px;
	position:absolute;left:0px;list-style:none;display: none;margin:0;padding:0;overflow-y:auto;z-index:100;width: 95%;
}

.jNiceSelectWrapper ul a {
	color:#707070;
	background-color: #FFF;
	display:block;padding:2px 5px;text-decoration:none;
}

.jNiceSelectWrapper ul a:hover { background:#b4b4b4; color:#fff; }
.jNiceSelectWrapper ul a.selected {background: #ededed; color:#707070;}

.jNiceFocus { border: dotted 1px #666666; }

.jNiceHidden {opacity:0;z-index:-1;position:relative;}
.jNiceWrapper {position:relative;vertical-align:top;}
.jNiceWrapper input {outline:none;moz-outline:none;}


/* -------------
 * textarea
 * ------------- */
.jNiceTextareaWrapper {
	background: transparent url(elements/textarea-bg.gif) no-repeat left top;
	float:left;
	height:106px;
}

.jNiceTextareaInner {
	background: transparent url(elements/textarea-bg.gif) no-repeat right top;
	padding: 2px 4px 2px 0;
	margin: 0 0 0 4px;
	
}

.jNiceTextareaInner textarea {
	font-family:tahoma;
	font-size: 12px;
	color:#000;	
	height: 102px;
	*height: 100px;/* IE Hacks */
	vertical-align:middle;
	padding:0;
	margin:0;
	background:none;
	border:none;
	outline:none;
	overflow:auto;
}

.jNiceTextareaWrapper_hover { 
	background-position: left bottom; 
}
.jNiceTextareaWrapper_hover .jNiceTextareaInner { 
	background-position: right bottom; 
}



/* -------------
 * file
 * ------------- */
.jNiceFileWrapper {
	background: transparent url(elements/file-bg.gif) no-repeat left top;
	float:left;
	height:26px;
}

.jNiceFileInner {
	background: transparent url(elements/file-bg.gif) no-repeat right top;
	padding: 2px 4px 2px 0;
	margin: 0 0 0 4px;
	
}


.jNiceFileInner input {
	font-family:tahoma;
	font-size: 12px;
	color:#000;	
	line-height: 17px;
	height: 22px;
	*line-height: 18px;/* IE Hacks */
	*height: 20px;/* IE Hacks */
	vertical-align:middle;
	padding:0;
	margin:0;
	background:white;
	border:none;
	outline:none;
	position:relative;
	display:inline;
	opacity:0;
	filter:alpha(opacity=0);
}

.jNiceFileWrapper_hover { background-position: left bottom; }
.jNiceFileWrapper_hover .jNiceFileInner { background-position: right bottom; }

.jNiceValue{
	position:absolute;
	width:120px;
	height:15px;
	overflow:hidden;
	z-index:20000;
	margin-top:-20px;
	margin-left:5px;
	font:12px tahoma;
}


.newbutton {
	background:url(../../images/customerPortal/blue-button-bg.gif) repeat-x;
	border:1px solid #07659e;
	color:#FFFFFF;
	padding:3px;
}


