.minicolors,
.minicolors-input {
  display: block;
  width: 100%;
}

.minicolors {
  position: relative;
  height: auto;
}

.minicolors-sprite {
  background-image: url(/images/jquery.minicolors.png?0e61411589c771c12035fd14eaae2a01);
}

.minicolors-swatch {
  position: absolute;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: solid 1px #ccc;
  background-position: -80px 0;
  vertical-align: middle;
  cursor: text;
}

.minicolors-swatch-color {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.minicolors input[type=hidden] + .minicolors-swatch {
  position: static;
  width: 28px;
  cursor: pointer;
}

.minicolors input[type=hidden][disabled] + .minicolors-swatch {
  cursor: default;
}

.minicolors-panel {
  position: absolute;
  z-index: 99999;
  display: none;
  box-sizing: content-box;
  padding: 0.25rem;
  width: 173px;
  border: solid 1px #ccc;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.minicolors-panel.minicolors-visible {
  display: block;
}

.minicolors-panel .minicolors-position-top {
  top: -154px;
  -webkit-transform: translate(0, -0.625rem);
          transform: translate(0, -0.625rem);
}

.minicolors-panel .minicolors-position-right {
  right: 0;
}

.minicolors-panel .minicolors-position-bottom {
  top: auto;
}

.minicolors-panel .minicolors-position-left {
  left: 0;
}

.minicolors-panel .minicolors-with-opacity {
  width: 194px;
}

.minicolors .minicolors-grid {
  position: relative;
  margin-bottom: 2px;
  width: 150px;
  height: 150px;
  background-position: -120px 0;
  cursor: crosshair;
}

.minicolors .minicolors-grid-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
}

.minicolors-slider-saturation .minicolors-grid {
  background-position: -420px 0;
}

.minicolors-slider-saturation .minicolors-grid-inner {
  background-image: inherit;
  background-position: -270px 0;
}

.minicolors-slider-brightness .minicolors-grid {
  background-position: -570px 0;
}

.minicolors-slider-brightness .minicolors-grid-inner {
  background-color: black;
}

.minicolors-slider-wheel .minicolors-grid {
  background-position: -720px 0;
}

.minicolors-slider,
.minicolors-opacity-slider {
  position: absolute;
  left: 152px;
  width: 20px;
  height: 150px;
  background-color: white;
  background-position: 0 0;
  cursor: row-resize;
  -webkit-transform: translate(0.25rem, 0);
          transform: translate(0.25rem, 0);
}

[dir=rtl] .minicolors-slider, [dir=rtl]
.minicolors-opacity-slider {
  right: 152px;
  left: auto;
  -webkit-transform: translate(-0.25rem, 0);
          transform: translate(-0.25rem, 0);
}

.minicolors-slider-saturation .minicolors-slider {
  background-position: -60px 0;
}

.minicolors-slider-brightness .minicolors-slider,
.minicolors-slider-wheel .minicolors-slider {
  background-position: -20px 0;
}

.minicolors-opacity-slider {
  left: 173px;
  display: none;
  background-position: -40px 0;
}

[dir=rtl] .minicolors-opacity-slider {
  right: 173px;
  left: auto;
}

.minicolors-with-opacity .minicolors-opacity-slider {
  display: block;
}

.minicolors-grid .minicolors-picker {
  position: absolute;
  top: 70px;
  left: 70px;
  margin-top: -6px;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  border: solid 1px black;
  border-radius: 10px;
  background: none;
}

.minicolors-grid .minicolors-picker > div {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: content-box;
  width: 8px;
  height: 8px;
  border: solid 2px white;
  border-radius: 8px;
}

.minicolors-picker {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: content-box;
  margin-top: -2px;
  width: 18px;
  height: 2px;
  border: solid 1px black;
  background: white;
}

.minicolors-swatches {
  overflow: hidden;
  margin: 5px 0 3px 5px;
  padding: 0;
  list-style: none;
}

[dir=rtl] .minicolors-swatches {
  margin: 5px 5px 3px 0;
}

.minicolors-swatches li {
  overflow: hidden;
  margin: 5px 0 3px 5px;
  padding: 0;
  list-style: none;
}

[dir=rtl] .minicolors-swatches li {
  margin: 5px 5px 3px 0;
}

.minicolors-swatches .minicolors-swatch {
  position: relative;
  float: left;
  margin: 0 4px 0 0;
  cursor: pointer;
}

[dir=rtl] .minicolors-swatches .minicolors-swatch {
  float: right;
  margin: 0 0 0 4px;
}

.minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
  margin-right: 7px;
}

[dir=rtl] .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
  margin-right: 0;
  margin-left: 7px;
}

.minicolors-swatch.selected {
  border-color: #000;
}

.minicolors-inline {
  display: inline-block;
}

.minicolors-inline .minicolors-input {
  display: none !important;
}

.minicolors-inline .minicolors-panel {
  position: relative;
  top: auto;
  left: auto;
  z-index: auto;
  display: inline-block;
  box-shadow: none;
}

[dir=rtl] .minicolors-inline .minicolors-panel {
  right: auto;
}

.light-style .minicolors-panel {
  z-index: 1000;
  margin: .125rem 0;
  border: 1px solid rgba(24, 28, 33, 0.05);
  background-clip: padding-box;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.09);
  background-color: #fff;
  border-radius: 0.25rem;
}

.light-style .minicolors-swatch {
  top: 0.625rem;
  left: 0.625rem;
  width: 1.125rem;
  height: 1.125rem;
  border: 0;
}

.light-style .minicolors-position-right .minicolors-swatch {
  right: 0.625rem;
  left: auto;
}

.light-style .minicolors-input {
  padding-left: 2.375rem;
}

.light-style .minicolors-position-right .minicolors-input {
  padding-right: 2.375rem;
  padding-left: 0.875rem;
}

.material-style .minicolors-panel {
  z-index: 1000;
  margin: .125rem 0;
  border: 0px solid rgba(24, 28, 33, 0.15);
  background-clip: padding-box;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.07), 0px 4px 5px 0px rgba(0, 0, 0, 0.05), 0px 1px 10px 0px rgba(0, 0, 0, 0.03);
  background-color: #fff;
  border-radius: 0.125rem;
}

.material-style .minicolors-swatch {
  top: 0.53125rem;
  left: 0;
  width: 1.125rem;
  height: 1.125rem;
  border: 0;
}

.material-style .minicolors-position-right .minicolors-swatch {
  right: 0;
  left: auto;
}

.material-style .minicolors-input {
  padding-left: 1.65625rem !important;
}

.material-style .minicolors-position-right .minicolors-input {
  padding-right: 1.65625rem !important;
  padding-left: 0 !important;
}

.dark-style .minicolors-panel {
  z-index: 1000;
  margin: .125rem 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: #3b3e43;
  background-clip: padding-box;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
}

.dark-style .minicolors-swatch {
  top: 0.625rem;
  left: 0.625rem;
  width: 1.125rem;
  height: 1.125rem;
  border: 0;
}

.dark-style .minicolors-position-right .minicolors-swatch {
  right: 0.625rem;
  left: auto;
}

.dark-style .minicolors-input {
  padding-left: 2.375rem;
}

.dark-style .minicolors-position-right .minicolors-input {
  padding-right: 2.375rem;
  padding-left: 0.875rem;
}

