/* The svg uris need to be converted to Base64
 * orig
 * content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='-0.5 0 20 15'><rect fill='#444' stroke='none' transform='rotate(45 4.0033 8.87436)' height='5' width='6.32304' y='6.37436' x='0.84178'></rect><rect fill='#444' stroke='none' transform='rotate(45 11.1776 7.7066)' width='5' height='16.79756' y='-0.69218' x='8.67764'></rect></svg>");
 *
 * white
 * content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='-0.5 0 20 15'><rect fill='#fff' stroke='none' transform='rotate(45 4.0033 8.87436)' height='5' width='6.32304' y='6.37436' x='0.84178'></rect><rect fill='#fff' stroke='none' transform='rotate(45 11.1776 7.7066)' width='5' height='16.79756' y='-0.69218' x='8.67764'></rect></svg>"); }
*/
.select-select {
  display: none !important;
  /* For when we are on a small touch device and want to use native controls */
  pointer-events: none;
  position: absolute;
  opacity: 0;
}

.select-element,
.select-element:after,
.select-element:before,
.select-element *,
.select-element *:after,
.select-element *:before {
  box-sizing: border-box;
}

.select-element {
  position: absolute;
  display: none;
}
.select-element.select-open {
  display: block;
}

.select-theme-default,
.select-theme-default *,
.select-theme-default *:after,
.select-theme-default *:before {
  box-sizing: border-box;
}

.select.select-theme-default {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  z-index: 999;
}
.select.select-theme-default .select-content {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: #fff;
  font-family: inherit;
  color: inherit;
  overflow: auto;
  max-width: 32rem;
  max-height: 18rem;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 27rem), (max-height: 27rem) {
  .select.select-theme-default .select-content {
		max-width: 31rem;
		max-height: 11.25rem;
  }
}
.select.select-theme-default .select-options {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  margin: 0;
  padding: 0;
}
.select.select-theme-default .select-options .select-option {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  position: relative;
  list-style: none;
  margin: 0;
  line-height: 1.25rem;
  padding: 0.5rem 1.5em 0.5rem 2.5em;
  display: block;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select.select-theme-default .select-options .select-option.select-option-selected:before {
  content: '' !important;
  position: absolute !important;
  left: 1em !important;
  top: 50% !important;
  height: 1em !important;
  width: 1em !important;
  margin-top: -.5em !important;
  border: none !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIHZpZXdCb3g9Jy0wLjUgMCAyMCAxNSc+PHJlY3QgZmlsbD0nIzQ0NDQ0NCcgc3Ryb2tlPSdub25lJyB0cmFuc2Zvcm09J3JvdGF0ZSg0NSA0LjAwMzMgOC44NzQzNiknIGhlaWdodD0nNScgd2lkdGg9JzYuMzIzMDQnIHk9JzYuMzc0MzYnIHg9JzAuODQxNzgnPjwvcmVjdD48cmVjdCBmaWxsPScjNDQ0NDQ0JyBzdHJva2U9J25vbmUnIHRyYW5zZm9ybT0ncm90YXRlKDQ1IDExLjE3NzYgNy43MDY2KScgd2lkdGg9JzUnIGhlaWdodD0nMTYuNzk3NTYnIHk9Jy0wLjY5MjE4JyB4PSc4LjY3NzY0Jz48L3JlY3Q+PC9zdmc+") !important;
}
.select.select-theme-default .select-options .select-option:hover,
.select.select-theme-default .select-options .select-option.select-option-highlight {
  background: #63a2f1;
  color: #fff;
}
.select.select-theme-default .select-options .select-option:hover.select-option-selected:before,
.select.select-theme-default .select-options .select-option.select-option-highlight.select-option-selected:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIHZpZXdCb3g9Jy0wLjUgMCAyMCAxNSc+PHJlY3QgZmlsbD0nd2hpdGUnIHN0cm9rZT0nbm9uZScgdHJhbnNmb3JtPSdyb3RhdGUoNDUgNC4wMDMzIDguODc0MzYpJyBoZWlnaHQ9JzUnIHdpZHRoPSc2LjMyMzA0JyB5PSc2LjM3NDM2JyB4PScwLjg0MTc4Jz48L3JlY3Q+PHJlY3QgZmlsbD0nd2hpdGUnIHN0cm9rZT0nbm9uZScgdHJhbnNmb3JtPSdyb3RhdGUoNDUgMTEuMTc3NiA3LjcwNjYpJyB3aWR0aD0nNScgaGVpZ2h0PScxNi43OTc1NicgeT0nLTAuNjkyMTgnIHg9JzguNjc3NjQnPjwvcmVjdD48L3N2Zz4=") !important;

}
.select.select-theme-default .select-options .select-option:first-child {
  border-radius: 0.25em 0.25em 0 0;
}
.select.select-theme-default .select-options .select-option:last-child {
  border-radius: 0 0 0.25em 0.25em;
}

.select-target.select-theme-default {
	color: inherit !important;
}
.select-target.select-theme-default {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  border-radius: 4px;
  position: relative;
  padding: 0.9rem 3em 0.5rem 1em;
  background: #fff;
  border: 1px solid #8cb3d4;
  box-shadow: 0 5px 10px -5px rgba(0,0,0,.4)inset;
  cursor: pointer;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 40px;
}
.select-target.select-theme-default.select-target-focused,
.select-target.select-theme-default.select-target-focused:focus {
  outline: none;
}
.select-target.select-theme-default b {
  color: #e0585a;
  position: absolute;
  right: 1em;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 40px;
  width: 2em;
}
.select-target.select-theme-default b:before, .select-target.select-theme-default b:after {
  content: "";
  display: block;
  position: absolute;
  margin: auto;
  right: -5px;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  font-size: 2em;
  top: 18px;
}
.select-target.select-theme-default b:before {
  top: 5px;
  border-bottom-color: inherit;
}
.select-target.select-theme-default b:after {
  bottom: 0;
  border-top-color: inherit;
}
