﻿.ddListContainer {
	position: relative;
	display: inline-block;
	margin-bottom: 15px;
	float:left;
	clear: both;
}

/* The 'selection' rectangle of the dropdownlist */
.ddListContainer > a {
	box-shadow: 0px 0px 2px 0px #000;
	cursor: pointer; 
	background: #fff;
	overflow: hidden;
	display: block;
	color: #6a6a6a;
	font-weight: normal;
	padding: 5px;
	box-sizing: border-box;
}
.ddListContainer > a:hover {
	box-shadow: 0px 0px 2px 0px #5F6DFF;
	/*background-color: #93bde2;*/
	color: #6a6a6a;
	font-weight: normal;
}
.ddListContainer.ddListDisabled > a {
	border: solid 2px #e0e0e0;
	cursor: default; 
	background: #f8f8f8;
	color: #999;
}

/* The 'selection' rectangle of the dropdownlist when open */
.ddListIsOpen > a,
.ddListIsOpen > a:hover {
	box-shadow: 0px 0px 2px 0px #000;
	/*background-color: #93bde2;*/
	color:#ffffff
}

/* The right arrow in the 'selection' rectangle of the dropdownlist */
.ddListArrow {
  width: 0;
  height: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -4px;
  border: solid 7px transparent; 
  border-top: solid 7px #505050;
  cursor: pointer;
}
.ddListDisabled .ddListArrow {
  border-top: solid 7px #999;
  cursor: normal;
}
.ddListIsOpen .ddListArrow {
  border: solid 7px transparent !important; 
  border-bottom: solid 7px #ffffff !important; 
  margin-top: -11px;
}

/* The 'options' list of the dropdownlist */
.ddListContainer > ul {
	display: none;
	position: absolute;
	z-index: 2000;
	max-height: 150px;
	/*border: solid 2px #212121;*/
	border-top: none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #F4F4F4;
	overflow: auto;
	-moz-box-shadow: 0 1px 5px #ddd;
	-webkit-box-shadow: 0 1px 5px #ddd;
	box-shadow: 0 1px 5px #ddd;
}
.ddListContainer > ul li { 
  margin-bottom: 0;
}
.ddListContainer > ul > li:last-child > a {
  border-bottom: none;
}

/* Any 'option' inside the 'options' list of the dropdownlist */
.ddListContainer > ul li a {
  padding: 2px;
  display: block;
  overflow: hidden;
  text-decoration: none;
  font-weight: normal;
  color: #6a6a6a;
  cursor: pointer;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.ddListContainer > ul li a:hover { 
  background: #93bde2; 
  color: #6a6a6a; 
}

/* A 'selected' option inside the 'options' list of the dropdownlist */
.ddListOptionIsSelected { 
  background: #eff4f5; 
}

/* Additional styling of text, img, description for 'selection' and 'option' */
.ddListContainer:not(.ddListDisabled) > a > label,
.ddListContainer:not(.ddListDisabled) > ul li a > label {
	color: #6a6a6a;
	cursor: pointer;
	clear: none;
	margin-left: 5px;
	line-height: 14px;
	text-align:left;
}
.ddListContainer > a > label { 
	padding-top: 2px;
}
.ddListContainer > a > small,
.ddListContainer > ul li a > small {
	float: left;
	clear: both;
	color: #b048c1;
	display: block;
	overflow: hidden;
	font-weight: bold;
	font-size: 0.7em;
	/* font-style: italic; */
	margin-left: 5px;
	padding-right: 15px;
}
.ddListContainer > a > img,
.ddListContainer > ul li a > img {
	vertical-align: middle; 
	float: left;
	margin-right: 5px;
	margin-left: 5px;
	max-width: 24px;
	margin-top: 5px;
}
