﻿.ddListContainer {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

/* The 'selection' rectangle of the dropdownlist */
.ddListContainer > a {
  border: solid 2px #bababa;
  border: none;
  cursor: pointer; 
  background: #d40079;
  overflow: hidden;
  display: block;
  padding: 5px 0px 5px 0px;
  color: #fff;
  font-weight: normal;
}
.ddListContainer > a:hover {
  border: solid 2px #808080;
  border: none;
  color: #000;
  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 {
  border:solid 2px #212121;
  border: none;
  background-color:#497981;
  background-color:#d40079;
  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 5px transparent; 
  border-top: solid 5px #fff;
  border-width: 8px 4px 0px 4px;
}
.ddListDisabled .ddListArrow {
  border-top: solid 5px #999;
}
.ddListIsOpen .ddListArrow {
  border: solid 5px transparent !important; 
  border-bottom: solid 5px #ffffff !important; 
  border-width: 0 4px 8px 4px !important;
  margin-top: -4px;
}

/* arrow Hover effect */
.ddListContainer > a:hover .ddListArrow{
	border-top: solid 5px #000;
	border-width: 8px 4px 0px 4px;
}

/* The 'options' list of the dropdownlist */
.ddListContainer > ul {
  display: none;
  position: absolute;
  z-index: 2000;
  border: solid 2px #212121;
  border: none;
  border-top: none;
  list-style: none;
  margin: 0;
  margin-top: 3px;
  padding: 0;
  background: #d40079;
  overflow: auto;
  color: #fff; 
  /*
  -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: 0px 10px 5px 10px;
  display: block;
  overflow: hidden;
  text-decoration: none;
  font-weight: normal;
  color: #fff;
  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 label {
	display: block; border-top: 1px solid #fff; padding-top: 5px }

.ddListContainer > ul li:first-child a label {
	border-top: 1px solid #d40079; }

.ddListContainer > ul li a:hover { 
  /* background: #d0d0d0; */ 
  color: #000; 
}

/* 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 {
  cursor: pointer;
}
.ddListContainer > a > label { 
  font-weight: 400;
  padding-left: 10px;
}
.ddListContainer > a > small,
.ddListContainer > ul li a > small {
  color:#aaa;
  display:block;
  overflow: hidden;
  font-weight:normal;
  line-height: 1.4em;
}
.ddListContainer > a > img,
.ddListContainer > ul li a > img {
  vertical-align: middle; 
  float: left;
  margin-right: 5px; 
  max-width: 64px;
}
