.dropdown dd,
.dropdown dt,
.dropdown ul {
  margin: 0px;
  padding: 0px;
}

.dropdown dd ul li a span:first-child,
.dropdown dt a span span:first-child {
  background-image: url('/images/flags.png');
  background-repeat: no-repeat;
  width: 16px;
  height: 11px;
  display: inline-block;
  margin: 10px 0px;
  vertical-align: top;
}

.dropdown dt a span {
  cursor: pointer;
  display: block;
  padding: 5px;
  white-space: nowrap;
}

.dropdown dt a img {
  position: relative;
  z-index: 1;
}

.dropdown dt a span span:first-child:before {
  position: absolute;
  content: '';
  width: 8px;
  height: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
}

.dropdown dt a span span {
  display: inline-block;
}

.dropdown dt a span span:first-child {
  padding: 0;
}

.dropdown dd {
  position: relative;
}

.dropdown a,
.dropdown a:visited {
  color: #4a535f;
  text-decoration: none;
  outline: none;
}

.dropdown a:hover {
  color: #5d4617;
}

.dropdown dt a:hover,
.dropdown dt a:focus {
  color: #5d4617;
}

.dropdown dt a {
  position: relative;
  background: rgba(227, 230, 239, 0.8);
  display: block;
  padding-right: 20px;
  overflow: hidden;
  width: 270px;
}

.dropdown dt a:before {
  right: 12px;
  top: 18px;
  content: "";
  position: absolute;
  margin-left: 20px;
  bottom: 0;
  width: 0%;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
}

.dropdown dd ul {
  background: #f0f2f7;
  text-align: left;
  color: #C5C0B0;
  display: none;
  left: 0px;
  padding: 5px 0px;
  position: absolute;
  width: 270px;
  border: 1px solid #ed4267;
  list-style: none;
  max-height: 170px;
  overflow-y: scroll;
  top: 10px;
  z-index: 2;
}

/* li a span:nth-child(2) {
  line-height: 2.5em;
  padding: 5px;
} */

.dropdown dd ul::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown dd ul::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
  /*-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.5), 1px 0 0 #5cace9 inset, 2px 0 0 #b3d5ee inset;
    border-radius:10px;*/
}

.dropdown dd ul::-webkit-scrollbar-thumb:window-inactive {
  background: blue;
}

.dropdown span.value {
  display: none;
}

.dropdown dd ul li a {
  padding: 5px;
  display: block;
  font-size: 12px !important;
}

.dropdown dd ul li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

dl.dropdown {
  display: inline-block;
}

dl.dropdown span:nth-child(3) {
  color: rgba(0, 0, 0, 0.4)
}

dl.dropdown>span:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

dl.dropdown span:nth-child(3) {
  float: right;
}

dl.dropdown dt span:nth-child(2) {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6em;
}