/* ###########
   defaults */
.dropdownex {
  width: 250px;
}
.dropdownex ul {
  width: 240px;
  padding: 4px 4px;
}
.dropdownex a {
  color: blue;
  text-decoration: none;
}
.dropdownex > a {
  height: 2em;
  line-height: 2em;
  padding: 0 2em 0 .5em;
}
.dropdownex li a {
  height: 2em;
  line-height: 2em;
  padding: 0 .5em;
}
.dropdownex > a div {
  width: 2em;
}
.dropdownex > a b {
  background: url('/imgtmp/dropdownexgreen.png') no-repeat 0 1px;
  background-position: 6px 4px;
}
.dropdownex:hover > a b {
  background-position: 6px -21px;
}
/* #########################
   defaults - item styles */
.dropdownex li a, .dropdownex li a:visited {
  padding: 0 .5em;
  height: 2em;
  line-height: 2em;
  text-decoration: none;
}
.dropdownex li a:hover {
  background-color: #eee;
}
.dropdownex li a.active {
  color: gray;
}
/* ####################
   functional styles */
.dropdownex a {
  display: block;
}
.dropdownex > a {
  position: relative;
  /* für den button */

  height: 2em;
  line-height: 2em;
  cursor: default;
  background-color: silver;
  border: solid 1px #aaa;
  border-radius: 5px;
  background-image: url(/imgtmp/grad1.png);
  background-size: 100% 100%;
}
.dropdownex ul {
  display: none;
  position: absolute;
  z-index: 1;
  margin: -1px 0 0 0;
  list-style: none;
  background: #fff;
  border-style: solid;
  border-color: #aaa;
  border-width: 0 1px 1px 1px;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  -o-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}
.dropdownex.hover ul, .dropdownex:hover ul {
  display: block;
}
.dropdownex:hover > a {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: solid 1px #fff;
  background-image: url(/imgtmp/grad2.png);
  background-size: 100% 100%;
}
.dropdownex > a span {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.dropdownex > a div {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border-left: 1px solid #AAA;
  -webkit-border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
}
.dropdownex > a b {
  display: block;
  width: 100%;
  height: 100%;
}
.dropdownex:hover > a div {
  background: transparent;
  border-left: none;
}

