/* Dropdown control */
.selectBox-dropdown {
	position: relative;
	height:38px;
	width: 40px; /* width = (desired width) - padding-right */
	padding-right: 40px;
	border: solid 1px #3f5968;
	text-decoration: none;
	color: #fff;
	font-size:16px;
	outline: none;
	background: #537081;
	background: -moz-linear-gradient(top, #537081 1%, #3f5968 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #537081), color-stop(100%, #3f5968));
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	display: inline-block;
	cursor: default;

	box-shadow:inset 1px 1px 0px #9cadb6;
	
	/*float:left;
	height:39px;
	margin:0 5px;*/
}
.serviceblock .selectBox-dropdown {
	position: relative;
	height:28px;
	width: 60px; /* width = (desired width) - padding-right */
	border:1px solid #99b1bf; 
	text-decoration: none;
	color:#587789; 
	font-size:13px;
	outline: none;
	background: transparent;
	top:4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	cursor: default;
	box-shadow:none !important;
}


form#palvelun-tilaus .selectBox-dropdown {
	height:29px;
	width: 35px; /* width = (desired width) - padding-right */
	border:1px solid #99b1bf; 
	text-decoration: none;
	color:#587789; 
	font-size:16px;
	outline: none;
	background: transparent;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	cursor: default;
	box-shadow:none !important;
}


.serviceblock .selectBox-dropdown .selectBox-label {
	width: 100%;
	line-height:30px;
	font-weight:bold;
	/*padding: .2em .3em;*/
	display: block;
	white-space: nowrap;
	overflow: hidden;
	padding:0 10px;
}

.serviceblock .selectBox-dropdown .selectBox-arrow {
	position: absolute;
	top: 0;
	right: 0;
	width: 23px;
	height: 100%;
	background: url(/images/palvelunvalinta/rekaika-arrow.png) left center no-repeat;
	/*border-left: solid 1px #BBB;*/
}
.serviceblock .selectBox-dropdown:focus{
	border:1px solid #99b1bf; 
}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
	border-color: white;
}

.selectBox-dropdown.selectBox-menuShowing {
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-bottomright: 0;
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.selectBox-dropdown .selectBox-label {
	width: 100%;
	/*padding: .2em .3em;*/
	display: block;
	padding:9px;
	white-space: nowrap;
	overflow: hidden;
}

.selectBox-dropdown .selectBox-arrow {
	position: absolute;
	top: 0;
	right: 0;
	width: 23px;
	height: 100%;
	background: url(/images/domainhaku-paate-select-nuoli.png) left center no-repeat;
	/*border-left: solid 1px #BBB;*/
}


/* Dropdown menu */
.selectBox-dropdown-menu {
	position: absolute;
	z-index: 99999;
	max-height: 200px;
	border: solid 1px #BBB; /* should be the same border width as .selectBox-dropdown */
	background: #FFF;
	-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	overflow: auto;
}


/* Inline control */
.selectBox-inline {
	width: 250px;
	outline: none;
	border: solid 1px #BBB;
	background: #FFF;
	display: inline-block;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	overflow: auto;
}

.selectBox-inline:focus {
	border-color: #666;
}


/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
	list-style: none;
	display: block;
	cursor: default;
	padding: 0;
	margin: 0;
}

.selectBox-options LI A {
	line-height: 1.5;
	padding: 0 .5em;
	white-space: nowrap;
	overflow: hidden;
	background: 6px center no-repeat;
}

.selectBox-options LI.selectBox-hover A {
	background-color: #EEE;
}

.selectBox-options LI.selectBox-disabled A {
	color: #888;
	background-color: transparent;
}

.selectBox-options LI.selectBox-selected A {
	background-color: #C8DEF4;
}

.selectBox-options .selectBox-optgroup {
	color: #666;
	background: #EEE;
	font-weight: bold;
	line-height: 1.5;
	padding: 0 .3em;
	white-space: nowrap;
}


/* Disabled state */
.selectBox.selectBox-disabled {
	color: #888 !important;
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
	opacity: .5;
	filter: alpha(opacity=50);
	border-color: #666;
}

.selectBox-inline.selectBox-disabled {
	color: #888 !important;
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
	background-color: transparent !important;
}