.prettydropdown {
  position: relative;
  min-width: 72px; /* 70px + borders */
  display: inline-block;
}
.prettydropdown.loading {
  min-width: 0;
}
.prettydropdown > ul {
  border-radius:4px;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  border: 1px solid #a9a9a9;
  box-sizing: content-box;
  color: #000;
  cursor: pointer;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Likely future */
  z-index: 1;
  width:100%;
}
.prettydropdown.loading > ul {
  visibility: hidden;
  white-space: nowrap;
}
.prettydropdown > ul:focus, .prettydropdown:not(.disabled) > ul:hover {
  border-color: #7f7f7f;
}
.prettydropdown:not(.disabled) > ul.active {
  width: 100%;
  max-height: 250px !important;
  border-color: #575757;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 99;
}
.prettydropdown > ul.active:focus {
  outline: none;
}
.prettydropdown > ul.active.reverse {
  top: auto;
  bottom: 0;
}
.prettydropdown > ul > li {
  position: relative;
  min-width: 70px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  box-sizing: border-box;
  display: none;
  line-height: 20px;
  margin: 0;
  padding:13px 10px 13px;
  width:inherit !important;
}

.prettydropdown > ul > li::after {
  content:attr(data-message);
  color:#575757;
}

.prettydropdown > ul > li.hover::after {
  color:#fff;
}

.prettydropdown.loading > ul > li {
  min-width: 0;
  display: flex;
  justify-content:space-between;
  padding-right: 0.8rem;
}
.prettydropdown > ul:not(.active) > li:not(.selected):first-child {
  visibility: hidden; /* Prevent FOUC */
}
.prettydropdown > ul > li:first-child, .prettydropdown > ul.active > li {
  display: flex;
  justify-content:space-between;
}
.prettydropdown > ul.active > li:not(.label):hover, .prettydropdown > ul.active > li.hover:not(.label), .prettydropdown > ul.active > li:first-child:hover:after {
  background: #fb9d02;
  color: #fff;
}
.prettydropdown > ul.active > li.nohover {
  background: inherit !important;
}

.prettydropdown > ul:not(.active) > li > span.checked {
  display: none;
}

/* Multi-Select */
.prettydropdown.multiple > ul > li.selected {
  overflow: hidden;
  padding-right: 2rem;
  text-overflow: ellipsis;
  white-space: nowrap; 
}

.prettydropdown > ul > li[data-class="out-of-stock"] span {
  opacity:0.3;
}

.prettydropdown > ul > li > span.checked {
  clear: both;
  float: right;
  font-weight: bold;
  margin-right: 0.8rem;
}

/* Option Groups */
.prettydropdown > ul > li.label {
  cursor: default;
  font-weight: bold;
}
.prettydropdown > ul > li.label:first-child,
.prettydropdown.classic > ul > li.label ~ li.selected{
  border-top: none;
}
.prettydropdown > ul > li.label ~ li:not(.label):not(.selected),
.prettydropdown.classic > ul.active > li.label ~ li:not(.label) {
  padding-left: 1.6rem;
}

/* Classic Behavior */
.prettydropdown.classic > ul:not(.active) > li.selected:not(:first-child) {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: space-between;
}

/* Disabled */
.prettydropdown.disabled, .prettydropdown > ul > li.disabled {
  opacity: 0.3;
}
.prettydropdown.disabled > ul > li, .prettydropdown > ul > li.disabled {
  cursor: not-allowed;
}

/* Divider Lines */
.prettydropdown.multiple > ul > li.selected + li, .prettydropdown.multiple > ul.reverse > li.selected,
.prettydropdown > ul > li.label, .prettydropdown > ul > li.label ~ li.selected {
  border-top-color: #dedede;
}


.prettydropdown > ul li[data-class="out-of-stock"] {
  color:#a6a6a6;
}

.prettydropdown > ul li.selected.nohover[data-class="out-of-stock"]
.prettydropdown > ul li.selected[data-class="out-of-stock"]
.prettydropdown > ul li.hover[data-class="out-of-stock"] {
  color:#a6a6a6;
}

.prettydropdown > ul.active > li.selected {
  background-color:#fef5e5;
}

.prettydropdown > ul.active > li.selected.nohover {
  background-color:#fef5e5 !important;
}

.prettydropdown > ul:not(.active) > li.selected {
  padding-right:30px;
}

.pretty-caret {
  position: absolute;
  z-index: 20;
  top:50%;
  right:10px;
  transform:translateY(-50%);
}

.pretty-caret svg {
  fill:black;
  width:12px;
  height:12px;
}
.giftwrapping .prettydropdown {
  width:100% !important;
}

.giftwrapping .prettydropdown > ul {
  width:100% !important;
}