/*
* @description: EHM Custom Form
* @author:Jett.Liu & Swing.Chen
* @update:
*/

/** Greenery Template **/
.greenery-form.radio {
	padding: 6px 0 0 5px;
}

.greenery-form.radio label {
	display: inline-block;
	padding: 6px 10px 6px 0;
	font-size: 16px;
	cursor: pointer;
}

.greenery-form.text label,
.greenery-form.select label {
	display: block;
	margin-bottom: 6px;
}

.greenery-form input[type='radio'], .greenery-form input[type='checkbox'] {
    margin: 10px 4px 10px 15px;
    height: 13px;
    width: 13px;
}

.greenery-form input[type='text'] {
	padding: 6px 5px 6px 12px;
	border: 1px solid #cbcaca;
	font-size: 16px;
	-webkit-box-shadow:0px 1px 5px #dbdbdb inset;
	   -moz-box-shadow:0px 1px 5px #dbdbdb inset;
	        box-shadow:0px 1px 5px #dbdbdb inset;
}

.greenery-form select { 
	margin: 0;
	padding: 6px 5px 6px 12px;
	font-size: 16px;
}

.ehiInput {
	padding:0 10px;
	outline:0;
	border:1px solid #cbcaca;
	box-shadow:0px 1px 10px #dbdbdb inset;
	color:#999;
	vertical-align:middle;
	webkit-box-sizing:border-box;
	  -moz-box-sizing:border-box;
	       box-sizing:border-box;
}

.greenery-form input.ehiInputHover {
	border:1px solid #60c8fd;
}

.ehiSelect {
	position:relative;
	-webkit-user-select:none;
	   -moz-user-select:none;
}

.ehiSelect .ehiSelect-fa {
	position:relative;
	display:block;
	height:32px;
	min-width:50px;
	border:1px solid #c5c6c7;
	border-radius:2px;
	background:url(ehm-custom-form-sprite.png) 0 -90px repeat-x;
	line-height:32px;
	color: #333;
}

.ehiSelect .ehiSelect-fa:active { box-shadow:inset 0 0 2px #ccc; }

.ehiSelect .ehiSelect-fa:hover { 
	border:1px solid #60c8fd;
	background:url(ehm-custom-form-sprite.png) 0 -90px repeat-x;

}

.ehiSelect .ehiSelect-fa .ehiSelect-currt { padding-left:10px; }

.ehiSelect .ehiSelect-fa i {
	position:absolute;
	top:0;
	right:0;
	display:block;
	width:37px;
	height:32px;
	background:url(ehm-custom-form-sprite.png) 7px 0 no-repeat;
	cursor:pointer;
	border-left: 1px solid #bdbfc1;
}

.ehiSelect .ehiSelect-son {
	position:absolute;
	z-index:9999;
	display:block;
	display:none;
	overflow:auto;
	max-height:91px;
	border:1px solid #c5c6c7;
	border-top:0 none;
	border-radius:2px;
	background:#FFF;
}

.ehiSelect .ehiSelect-son li {
	margin:1px;
	padding:3px 10px;
	border-radius:2px;
}

.ehiSelect .ehiSelect-son li.odd { background:#fcfcfc; }

.ehiSelect .ehiSelect-son li.checked { background:#fce99f; }

.ehiSelect .ehiSelect-son li:hover {
	background:#3d95d6;
	color:#fff;
}

.ehiRadio {
	display:inline-block;
	margin:0 5px 0 0;
	width:23px;
	height:23px;
	background:url(ehm-radio-sprite.png) 0 -23px no-repeat;
	outline:0;
	vertical-align:-4px;
	-moz-user-select:none;
	-webkit-user-select:none;
	cursor: pointer;
	*vertical-align: 4px; /* IE7 */
}

.ehiRadio .ehiiRadio {
	display:block;
	width:23px;
	height:23px;
	background:url(ehm-radio-sprite.png) 0 0 no-repeat;
}