/* -------------
 * 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(/jquery/jnice/elements/btn_right.gif) no-repeat scroll right top;
	display: block;
	float: left;
	padding: 0px 4px 0px 0px; /* sliding doors padding */
	margin: 0px;
}

button span span {
	background: transparent url(/jquery/jnice/elements/btn_left.gif) no-repeat;
	color: #FFFFFF;
	padding: 1px 4px 0px 8px;
	font-weight: normal;
	font-size: 10px;
	line-height: 13px;
	text-transform: lowercase;
	display: block;
	text-decoration: none;
}

/* -------------
 * Inputs (textboxes)
 * ------------- */
.jNiceInputWrapper {
	background: transparent url(../Images/jnice/textbox_bg.gif) no-repeat left top;
	float:left;
}

.jNiceInputInner {
	background: transparent url(../Images/jnice/textbox_bg.gif) no-repeat right top;
	padding: 2px 5px 5px 0;
	margin: 0 0 0 5px;
}

.jNiceInputInner input {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#4c4c4c;	
	line-height: 17px;
	height: 17px;
	*line-height: 15px;/* IE Hacks */
	*height: 15px;/* IE Hacks */
	vertical-align:middle;
	padding:0;
	margin:0;
	background:none;
	border:none;
	outline:none;
}

/* OVERRIDE FOR PRODUCT SEARCH */
.product-search  .jNiceInputWrapper {
	background: transparent url(../Images/jnice/textbox_bg.gif) no-repeat left top;
	float:left;
}

.product-search  .jNiceInputInner {
	background: transparent url(../Images/jnice/textbox_bg.gif) no-repeat right top;
	padding: 2px 5px 5px 0;
	margin: 0 0 0 5px;
}

.product-search  .jNiceInputInner input {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#4c4c4c;	
	line-height: 17px;
	height: 17px;
	*line-height: 15px;/* IE Hacks */
	*height: 15px;/* 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; }
*/


/* -------------
 * Textareas
 * ------------- */
.jNiceTextareaWrapper {
	background: transparent url(../Images/jnice/textarea_bg.gif) no-repeat left top;
	height: 75px;
	width: 407px;
	float:left;
	padding-bottom: 5px;
}
.column-right .jNiceTextareaWrapper {
	background: transparent url(../Images/jnice/textarea_smaller_bg.gif) no-repeat left top;
	width: 200px;
}
.jNiceTextareaInner {
	/*background: transparent url(../Images/jnice/textbox_bg.gif) no-repeat right top;*/
	padding: 0 2px 0 0;
	margin: 0 0 0 5px;
}

.jNiceTextareaInner textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#4c4c4c;	
	height: 73px;
	width: 100%;
	vertical-align:middle;
	padding:0;
	margin:0;
	background:none;
	border:none;
	outline:none;
}


/* -------------
 * Radios
 * ------------- */
.jRadioWrapper { float: left; z-index: 2; }
.jNiceRadio {
	background: transparent url(../Images/jnice/radio.gif) no-repeat center top;
	height: 16px;
	width: 16px;
	position:absolute;left:0px;top:0px;cursor:pointer;vertical-align:middle;
}


/* -------------
 * Checkboxes
 * ------------- */
.jCheckboxWrapper { 
	float: left;
	position:relative;
	vertical-align:top;
	height: 20px;
}
.jNiceCheckbox {
	background: transparent url(../Images/jnice/checkbox.gif) no-repeat center top;
	height: 16px;
	width: 16px;
	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;
}

.jNiceSelectWrapper {
	height: 27px;
	left:0px;
	top:0px;
	z-index:3;
	position:absolute;
	cursor: pointer; /* hand-shaped cursor */
	cursor: hand; /* for IE 5.x */
	padding-right: 13px;
}

.jNiceWrapper iframe {position:absolute;z-index:1;width:100%;left:0px;top:0px;}

.jNiceSelectWrapper .jNiceSelectText {
	height: 27px;
	line-height: 27px;
	padding: 0 10px 0 12px;
	background: transparent url(../Images/jnice/select_bg_left.png) no-repeat left top;
	border-right: none;
	overflow:hidden;
	float:none;
	position:absolute;
	z-index:100;
	white-space: nowrap;
}

.jNiceSelectWrapper .jNiceSelectOpen {
	width: 25px;
	height: 27px;
	background: transparent url(../Images/jnice/select_bg_right.png) no-repeat right top;
	z-index:100;
	display:block;
	position:absolute;
	right:0px;
}

.jNiceSelectWrapper ul {
	background-color: #FFF;
	border: 1px solid #d3d4d4;
	height: 150px;
	position:absolute;
	top: 24px;
	left: 7%;
	list-style:none;
	display: none;
	margin:0;
	padding:0;
	overflow-y:auto;
	z-index:100;
	width: 86%;
}

.jNiceSelectWrapper ul a {
	color: #4c4c4c !important;
	background-color: #FFF;
	display:block;
	padding: 3px 12px 3px 12px;
	text-decoration:none;
}

.jNiceSelectWrapper ul a:hover { 
	background: #dde2e7;
}
.jNiceSelectWrapper ul a.selected {
	background: #dde2e7;
	color: #607784;
}

.jNiceFocus { 
	/*border: dotted 1px #666666; */
}

.jNiceHidden {opacity:0;z-index:-1;position:relative;}
.jNiceWrapper {
	position:relative;
	vertical-align:top;
	height: 27px; /* Corresponds to the select element height */
}
.jNiceWrapper input {
	outline:none;
	moz-outline:none;

}

.jNiceFileWrapper 
{
    position: relative;
    width: 200px;
    height: 30px;
    float: left;
    overflow: hidden;
    padding-right: 20px;
}
    .jNiceFileWrapper .jNiceFile  
    {
	    position: relative;
	    text-align: right;
	    -moz-opacity:0 ;
	    filter:alpha(opacity: 0);
	    opacity: 0;
	    z-index: 2;
	    width: 200px;
	    height: 21px;
    }
    .jNiceFileWrapper .fakefile 
    {
	    position: absolute;
	    top: 0px;
	    left: 0px;
	    z-index: 1;
	    width: 144px;
	    height: 24px;
	    background: transparent url(../Images/jnice/file_bg.png) no-repeat left top;
    }
    .jNiceFileWrapper .fakefile input 
    {
        width: 140px;
        height: 20px;
        margin: 0;
        padding: 2px;
        border-width: 0;
        background-color: Transparent;
    }
    .jNiceFileWrapper .fakefile-button 
    {
	    position: absolute;
	    top: 0px;
	    /*left: 144px;*/
	    left: 150px;
	    z-index: 1;
	    width: 56px;
	    height: 24px;
	    background: transparent url(../Images/jnice/file_button_fi.png) no-repeat left top;
    }

/**** ENGLISH ****/

#en .jNiceFileWrapper {
    position: relative;
    width: 230px;
    height: 30px;
    float: left;
    overflow: hidden;
    padding-left: 20px;
}
#en .jNiceFileWrapper .fakefile-button {
	 position: absolute;
	 top: 0px;
	 left: 150px;
	 z-index: 1;
	 width: 97px;
	 height: 27px;
	 background: transparent url(../Images/jnice/en/btn_selaa.png) no-repeat left top;
    }