.mobi-select {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	position: relative;
}
.mobi-select {
	/*
	height: 25px;
	line-height: 25px;
	margin: 0;
	padding: 0 10px;
	*/
	background: #fff;
	background-image: -moz-linear-gradient(top,  #ffffff 70%, #f0f0f0 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(70%,#ffffff), color-stop(100%,#f0f0f0));
	background-image: -webkit-linear-gradient(top,  #ffffff 70%,#f0f0f0 100%);
	background-image: -o-linear-gradient(top,  #ffffff 70%,#f0f0f0 100%);
	background-image: -ms-linear-gradient(top,  #ffffff 70%,#f0f0f0 100%);
	background-image: linear-gradient(to bottom,  #ffffff 70%,#f0f0f0 100%);
	/*
	background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#f3f3f3));
	background-image: -webkit-linear-gradient(#ffffff,#f3f3f3);
	background-image: -moz-linear-gradient(#ffffff,#f3f3f3);
	background-image: -ms-linear-gradient(#ffffff,#f3f3f3);
	background-image: -o-linear-gradient(#ffffff,#f3f3f3);
	background-image: linear-gradient(#ffffff,#f3f3f3);
	*/
	border: 1px solid #dcdcdc;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.mobi-select select {
	-webkit-appearance: none;
	cursor: pointer;
	height: 25px;
	width: 50px;
	filter: alpha(opacity=0.005); /* internet explorer */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0.005)"; /*IE8*/
	opacity: 0.005; /* android 2.3.3:n selain pyöristää 2 desimaalin tarkkuuteen */
	position: relative;
	vertical-align: top;
	z-index: 10;
}
.mobi-select > .label {
	left: 10px;
	line-height: 25px;
	overflow: hidden;
	position: absolute;
	right: 30px;
	text-overflow: ellipsis;
	top: 1px;
	white-space: nowrap;
	z-index: 1;
}
.mobi-select > .hint {
	background: #5a5a5a;
	border-radius: 0 0.4em 0.4em 0;
	height: 25px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	width: 25px;
	z-index: 2;
}
.mobi-select > .hint .icon {
	background: transparent url('/css/site/img/select-arrow.png') no-repeat 6px 7px;
	display: block;
	height: 24px;
	margin: 1px 0 0 1px;
	overflow: hidden;
	width: 24px;
}
/*
.mobi-select:hover > .hint .icon {
	background-position: 0 -24px;
}
*/
.mobi-select-disabled {
	background: #ddd;
	background-image: none;
	border-color: #ccc;
	color: #888;
}
.mobi-select-disabled select {
	cursor: auto;
}
.mobi-select-disabled > .hint {
	background: #ccc none;
}

.mobi-select-onlyicon {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	background-color: transparent;
	background-image: none;
	border: none;
	height: 22px;
}
.mobi-select-onlyicon > .label {
	line-height: 22px;
	padding-right: 54px;
	position: static;
	vertical-align: top;
}
.mobi-select-onlyicon select {
	height: 22px;
	left: 0;
	position: absolute;
	top: 0;
}
.mobi-select-onlyicon > .hint {
	background: #bbb;
	border-radius: .25em;
	height: 22px;
	width: 44px;
}
.mobi-select-onlyicon > .hint .icon {
	background: transparent url('images/page-icons-32_white.png') no-repeat 0 -11px;
	display: block;
	height: 22px;
	margin: 5px 6px;
	overflow: hidden;
	width: 44px;
}


.mobi-radio,
.mobi-checkbox {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;

	background: transparent url('img/input-boxes.png') no-repeat 0 0;
	height: 19px;
	margin-right: 5px;
	overflow: hidden;
	vertical-align: middle;
	width: 19px;
}
.mobi-radio input,
.mobi-checkbox input {
	opacity: 0.01; /* Hide the input */
}

.mobi-checkbox { background-position: 0 0; }
.mobi-checkbox.hover { background-position: -20px 0; }
.mobi-checkbox.checked { background-position: 0 -20px; }
.mobi-checkbox.checked.hover { background-position: -20px -20px; }
.mobi-checkbox.disabled { background-position: 0 -60px !important; }
.mobi-checkbox.focus { outline: 1px dotted #8e8f8f; }

.mobi-radio { background-position: -40px 0; }
.mobi-radio.hover { background-position: -60px 0; }
.mobi-radio.checked { background-position: -40px -20px; }
.mobi-radio.checked.hover { background-position: -60px -20px; }
.mobi-radio.disabled { background-position: -40px -60px !important; }
.mobi-radio.focus { outline: 1px dotted #8e8f8f; }
