/*	INPUT	*/
.fmInput { background: url("/tl_files/img/form/InputLeft.png") no-repeat; width: 220px;float: left;}
.fmInput span {	display: block;	padding: 5px 10px; background: url("/tl_files/img/form/InputRight.png") no-repeat right top;}
.fmInput span input { border:0; outline: none; width: 100%;	padding: 0 3px; position: relative;	z-index: 50;} 

.fmInput.fmInFocus { background-image: url("/tl_files/img/form/InputLeftFocus.png"); }
.fmInput.fmInFocus span { background-image: url("/tl_files/img/form/InputRightFocus.png"); }
.fmInput.fmInFocus span input { background-color: #FBFBFB; }

/*.fmInput.disabled { background-image: url("/tl_files/img/form/input-box-left-disabled.gif"); }
.fmInput.disabled span { background-image: url("/tl_files/img/form/input-box-right-disabled.gif"); }
.fmInput.disabled span input { background-color: #F0F0F0; }
*/

/*	BUTTON	*/

.fmButton { background: none;border: none;margin: 0;padding: 0; float: left; cursor: pointer;width: 100px;  overflow: visible;}

.fmButton strong {background: url("/tl_files/img/form/ButtonLeft.png") no-repeat;float: left;}
.fmButton strong span {	background: url("/tl_files/img/form/ButtonRight.png") no-repeat right top;height:34px;padding: 7px 15px;float: left; color:#fff;}
/*.fmButton:hover strong { background-position: left -33px; }
.fmButton:hover strong span { background: url("/tl_files/img/form/ButtonRight.png") no-repeat right -33px; }
*/

/*  CHECKBOX */

B.fmCheckbox {
	float: left;
	width: 12px;
	height: 12px;
	background: red;
	position: relative;
	cursor: pointer;
	background: url("/tl_files/img/form/checkbox.gif") no-repeat left -12px;
	margin-top: 5px;
	font-size: 9px;
	line-height: 1%;
	text-indent: -1000em;
}

B.fmCheckbox.checked { background-position: left top; }
B.fmCheckbox:hover { background-position: -12px -12px; }
B.fmCheckbox.checked:hover { background-position: -12px top; }

B.fmCheckbox.chbx-disabled { background-position: -24px -12px; }

B.fmCheckbox.checked.chbx-disabled,
B.fmCheckbox.checked.chbx-disabled:hover { background-position: -24px top; }

/*  textarea */

.fmTextarea {float: left; background: url("/tl_files/img/form/TextareaTopSx.png") no-repeat;}
.fmTextarea span {float: left;	height: 87px; width: 496px; background: url("/tl_files/img/form/TextareaBtmDx.png") no-repeat right bottom;}
.fmTextarea span span {float: left;	height: 100%;width: 100%;background: url("/tl_files/img/form/TextareaBtmSx.png") no-repeat left bottom;}
.fmTextarea span span span {float: left;width: 100%;padding-bottom: 10px;_padding-bottom: 0;background: url("/tl_files/img/form/TextareaTopDx.png") no-repeat right top;}

html body .fmTextarea textarea { margin:10px; width: 476px;	height: 67px;background: none;border: none;	overflow: auto;	outline: none;	max-width: 96%;	max-height: 500px;}

.fmTextarea.fmInFocus { background-image: url("/tl_files/img/form/TextareaTopSxFocus.png"); }
.fmTextarea.fmInFocus span { background-image: url("/tl_files/img/form/TextareaBtmDxFocus.png"); }
.fmTextarea.fmInFocus span span { background-image: url("/tl_files/img/form/TextareaBtmSxFocus.png"); }
.fmTextarea.fmInFocus span span span { background-image: url("/tl_files/img/form/TextareaTopDxFocus.png"); }


span.fmTextarea.tx-disabled,
span.fmTextarea.tx-disabled textarea { background-color: #F0F0F0; }

/*	select BOX	*/
.fmSelect {	width: 200px;	float: left; position: relative; outline: none;	z-index: 150;}
.fmSelect strong { float: left;	width: 100%; background: url("/tl_files/img/form/SelectLeft.png") no-repeat; cursor: pointer;	position: relative;}
.fmSelect strong span {	display: block;	background: url("/tl_files/img/form/SelectRight.png") no-repeat right top;}
.fmSelect strong span cite{	display: block;	padding: 7px; color:#7f7f7f; font-style:normal; font-weight:normal; overflow: hidden;	margin-right: 20px;}
.fmSelect ul {position: absolute;left: 0; top: 28px;	margin: 0 !important; padding: 0;width:195px; list-style: none; padding-top: 1px; max-height: 108px; _height: 108px; overflow-y: scroll;	z-index: 1500; display: none; background:#fff; border:2px solid #f8d17a; border-top:0;}
.fmSelect ul li { display: block; padding: 5px 7px;}
.fmSelect ul li.active {background: #e4e4e4; cursor: pointer;}

.fmSelect.fmInFocus strong { background-image: url("/tl_files/img/form/SelectLeftFocus.png"); }

/* RADIO BUTTON */

.fmRadio {
	float: left;
	width: 12px;
	height: 12px;
	font-size: 0;
	line-height: 1%;
	text-decoration: none;
	cursor: pointer;
	background: url("/tl_files/img/form/radiobutton.gif") no-repeat left -12px;
}

.fmRadio.checked { background-position: left top; }
.fmRadio:hover { 
	background-position: -12px -12px;
	text-decoration: none;
}
.fmRadio.checked:hover { background-position: -12px top; }

.fmRadio.rbtn-disabled,
.fmRadio.checked.rbtn-disabled, 
.fmRadio.rbtn-disabled:hover { background-position: -24px -12px; }

/*	FILE input	*/

.fnFileInput {float: left;	background: url("/tl_files/img/form/InputLeft.png") no-repeat; cursor: text;text-decoration: none;	position: relative;}
.fnFileInput span {	float: left; width: 230px;height: 29px;position: relative;z-index: 150;background: url("/tl_files/img/form/FileRight.png") no-repeat right top;}
.fnFileInput span cite { font-style:normal; display:block; float:left; width:140px; padding:5px; overflow:hidden;}
.fnFileInput span strong {float: right; display: inline; overflow: hidden; height: 29px; margin-right:4px; padding:4px 6px; background: url("/tl_files/img/form/FileButton.png") repeat-x; color:#fff; position: relative;z-index: 1;	max-width: 230px;}

A.fnFileInput.fmInFocus { background-image: url("/tl_files/img/form/InputLeftFocus.png"); }
A.fnFileInput:hover span strong { color:#666; }

.fnFileInput.disabled,
A.fnFileInput.fmInFocus.disabled { background-image: url("/tl_files/img/form/file-input-left-disabled.gif"); }

A.fnFileInput.disabled:hover span strong {
	background-image: url("/tl_files/img/form/file-input-button.gif");
	border-left: 2px solid #CDDFE9;
}

.fnFileHidden {
	position: absolute;
	top: 0;
	right: 0;
	
	z-index: 150;
	height: 30px;
	width: 15em !important;
	opacity: 0;
	font-size: 30px;
	padding: 0 1px;
}

/*	MULTIPLE select BOX 	*/

.fmMultipleSelect {
	float: left;
	background: url("/tl_files/img/form/textarea-tl.gif") no-repeat left top;
}

.fmMultipleSelect span {
	float: left;
	height: 100%;
	width: 100%;
	background: url("/tl_files/img/form/textarea-br.gif") no-repeat right bottom;
}

.fmMultipleSelect span span {
	float: left;
	height: 100%;
	width: 100%;
	background: url("/tl_files/img/form/textarea-blc.gif") no-repeat left bottom;
}

.fmMultipleSelect span span span {
	float: left;
	width: 100%;
	padding-bottom: 10px;
	_padding-bottom: 0;
	background: url("/tl_files/img/form/textarea-trc.gif") no-repeat right top;
}

.fmMultipleSelect select {
	margin: 2%;
	width: 96%;
	height: 96%;
	background: none;
	padding: 0;
	border: 0px;
	outline: none;
	font-size: 15px;
	color: #777;
	
	max-width: 96%;
	max-height: 500px;
}

.fmMultipleSelect select option { 
	padding: 3px 7px;
	margin: 0;
	cursor: pointer;
}

.fmMultipleSelect.fmInFocus,
.fmMultipleSelect.fmInFocus select { background-color: #FBFBFB; }

/* * */

.fmZero {
	margin: 0 !important;
	position: relative !important;
}

.fmHidden { display: none; }