/* -------------
 * 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:url('/a0/ru/images/style/button_bg.gif');

	height:24px;
	line-height:20px;

	/* display:inline-block */
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;

	padding-left:10px;
	font-size:12px;
}

*:first-child+html button span {
	line-height:24px;
}

button span span {
	background-position:top right;
	color: #35647c;
	padding-left:0;
	padding-right:10px;
	font-weight:bold;
}

.jNice button {
	position:relative;
	left:-2px;
	*left:0px;
	top:-1px;
}

/* -------------
 * Inputs
 * ------------- */
.jNiceInputWrapper,.jNiceInputInner {

	/* display:inline-block */
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	vertical-align:top;

	height:24px;
	*border:none;
	*background: transparent url('/a0/ru/images/style/jnice/input.gif') no-repeat left top;
}

.jNiceInputWrapper {

	border:1px solid #b8b8b8; 

	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;

	*border:0 none;
	background:#fff;
	*background: transparent url('/a0/ru/images/style/jnice/input.gif') no-repeat left top;

/*	behavior: url(/a0/ru/css/border-radius.htc); */
}
.jNiceInputWrapper {
/*	float:left; */
/*	padding:1px 5px 1px; */
}

.jNiceInputInner {
	background-position:top right;
	position:relative;
	left:2px;

	padding:0 3px;

/*	margin-left:3px; */

/*	padding: 1px 4px 1px 2px; */

/*	padding: 4px 4px 0 09; */
}

.jNiceInputInner input {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#404040;	
	line-height: 22px;

	height: 22px;
/*
	*line-height: 15px;
	*height: 15px;
*/
	background:none;vertical-align:middle;padding:0;margin:0; 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(http://www.whitespace-creative.com/jquery/jnice/elements/radio.gif) no-repeat center top;
	height: 18px;
	width: 18px;
	position:absolute;left:0px;top:0px;cursor:pointer;vertical-align:middle;
}


/* -------------
 * Checkboxes
 * ------------- */
.jNiceCheckbox {
	background: transparent url(http://www.whitespace-creative.com/jquery/jnice/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 bottom;}

/* -------------
 * Selects
 * ------------- */
.jNiceWrapper select {border:none;margin:0;padding:0;height:24px;}


.jNiceSelectWrapper {
	height: 24px;
	left:0px;top:0px;z-index:3;position:absolute;
}

.jNiceWrapper iframe {position:absolute;z-index:1;width:100%;left:0px;top:0px;}

.jNiceSelectWrapper .jNiceSelectText {
	line-height: 24px;
	padding: 0px 5px;
	background-color: #FFF;
	overflow:hidden;float:none;position:absolute;z-index:100;
/*
	border: 1px solid #CCCCCC;
	border-right: none;
*/
	background: transparent url('/a0/ru/images/style/jnice/input.gif') no-repeat left top;
	height:24px;
}

.jNiceSelectWrapper .jNiceSelectOpen {
	width: 23px;
	height: 24px;
	background: url(/a0/ru/images/style/jnice/select_right.gif) no-repeat center center;
	z-index:100;display:block;position:absolute;right:0px;
}

.jNiceSelectWrapper ul {
	top: 24px;
	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: 98%;
}

.jNiceSelectWrapper ul a {
	color:#0099CC;
	background-color: #FFF;
	display:block;padding:5px;text-decoration:none;
}

.jNiceSelectWrapper ul a:hover { background:#E1F5FF; }
.jNiceSelectWrapper ul a.selected {background: #EDEDED;}

.jNiceFocus { border: dotted 1px #666666; }

.jNiceHidden {opacity:0;z-index:-1;position:relative;}
.jNiceWrapper {position:relative;vertical-align:top; 
	display:inline-block;
}
.jNiceWrapper input {outline:none;moz-outline:none;}
