.style-switcher {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 250px;
  padding: 20px 25px 30px;
  width: 220px;
  background: white;
  box-shadow: 0 5px 29px rgba(0, 0, 0, 0.12);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}
.style-switcher.active {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.style-switcher.active .style-switcher__icon:before {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}
.style-switcher__icon {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  background: #434343;
  color: #fff;
  font-size: 28px;
  border-radius: 0 10px 10px 0;
}
.style-switcher__icon:before {
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.style-switcher.active .style-switcher__icon:before {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}
.style-switcher__header {
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
}
.style-switcher__block {
  margin-bottom: 20px;
}
.style-switcher__colors {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0;
  margin: 0 -5px 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.style-switcher__colors-item {
  list-style: none;
  padding: 5px;
  width: 20%;
}
.style-switcher__color {
  width: 100%;
  display: block;
  padding-bottom: 100%;
  transition: border-color 0.15s ease-in-out, opacity 0.1s ease-in-out, box-shadow 0.15s ease-in-out;
}
.style-switcher__color:hover {
  opacity: 0.7;
}
.style-switcher__color.active {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.6);
}
.style-switcher__reset {
  margin-top: 20px;
}
.style-switcher__reset-btn {
  font-size: 14px;
  width: 170px;
  padding: 10px 0;
}
.style-switcher__reset-btn:active {
  padding: 11px 0 9px;
}

.sp-replacer {
  position: relative;
  border: none;
  padding: 0 0 100% 0;
  overflow: visible;
  background: none;
  width: 100%;
}
.sp-replacer:hover {
  border: none;
  opacity: 0.8;
}
.sp-preview {
  border: none;
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0;
  transition: border-color 0.15s ease-in-out, opacity 0.1s ease-in-out, box-shadow 0.15s ease-in-out;
}
.sp-replacer.active .sp-preview {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.6);
}
.sp-preview-inner:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARdJREFUeNpi/P//PwM+wAgEMCYQcwIxBxD/AOLvDCDNuDAQsEdERMg2NDSoAdk8b9686fz379/n9+/f9wP53IQ08//48ePwnz9/7nz48GH2fyj4+/fvG6CcECHNXG/fvu36jwZevXrVDJLDp5EtKChIBuRkkHNhGoEumAryAjgM8Gn8/v37vl+/fl3p7OxUhxkA9MJdUDhg1YysEWYbyIDCwkIloAGtnz59msfDwyMKDn9CGqFOnQ3VwAV1MgtYPQkamTFcCdXIiEPjLFwakTVzgfxDikZYymQGYj6grVtJ0QjTzA1UPAPI+Qei79+/n0GMRrBmV1dXKWBye/r48eNcaEiyo8cCLswIDX5wTgEKfGMgAQAEGAAlHvMxCNX9OAAAAABJRU5ErkJggg==") no-repeat center;
}
.sp-dd {
  display: none;
}
.sp-container {
  box-shadow: 0 0px 29px rgba(0, 0, 0, 0.12);
  border: none;
  background: #fff;
}
.sp-container .sp-choose {
  padding: 5px 10px;
  font-size: 12px;
  text-shadow: none;
  border-radius: 0;
}
.sp-container .sp-choose:hover {
  text-shadow: none;
}
.sp-picker-container {
  border: none;
}
.sp-cancel {
  display: inline-block;
  font-size: 11px;
}

.style-switcher__body {
	margin-bottom: 25px;
}

.style-switcher__body select {
	width: 100%;
	height: 30px;
}