/**
 * Rox WooCommerce Mega Search
 * Admin Styles
 * @version 1.0.1
 */
.woocommerce table.form-table .forminp p.description {
  margin: 10px auto 0;
  display: block;
}
.woocommerce table.form-table .forminp span.description {
  margin: 10px auto;
  display: inline-block;
}
.woocommerce table.form-table .forminp-radio ul li {
  line-height: 1.4em;
  display: inline-block;
  margin: 0 10px 0 0;
}
.woocommerce table.form-table .forminp-color .rox_colorpickpreview {
  padding: 7px 0;
  line-height: 1em;
  display: inline-block;
  width: 26px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.woocommerce table.form-table .forminp-color .rox-icon {
  width: 31px;
  height: 31px;
  border: 1px solid #ddd;
  margin: 0 auto 0 10px;
  text-align: left;
  box-sizing: border-box;
  vertical-align: top;
  display: inline-block;
  padding: 2px;
}
.woocommerce table.form-table input[type="text"] {
  max-width: 100%;
}

/**
 * Icons
 */
.rox-icon svg.icon {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  fill: #000;
  transition: all .3s linear;
}
.rox-icon svg.icon-rox-tick,
.rox-icon svg.icon-rox-search,
.rox-icon svg.icon-rox-right-d-arrow {
  fill: #56b1f1;
}
.rox-icon svg.icon-rox-reload,
.rox-icon svg.icon-rox-sad,
.rox-icon svg.icon-rox-close {
  fill: #7f7f7f;
}
.rox-icon svg.icon-rox-reload {
  -webkit-animation-name: spin;
  animation-name: spin;
  -webkit-animation-duration: 4000ms;
  animation-duration: 4000ms;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
.rox-icon svg.no-animation {
  -webkit-animation: none;
  animation: none;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.switch label {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 56px;
  height: 20px;
  padding: 3px;
  background: white;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
  background: linear-gradient(to bottom, #eeeeee, white 25px);
}
.switch label .label {
  position: relative;
  display: block;
  height: inherit;
  font-size: 10px;
  text-transform: uppercase;
  background: #eceeef;
  border-radius: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
  transition: 0.15s ease-out;
  transition-property: opacity, background;
}
.switch label .label:before, .switch label .label:after {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
  line-height: 1;
  transition: inherit;
}
.switch label .label:before {
  content: attr(data-off);
  right: 11px;
  color: #aaa;
  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.switch label .label:after {
  content: attr(data-on);
  left: 11px;
  color: white;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
}
.switch label .handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(to bottom, white 40%, #f0f0f0);
  transition: left 0.15s ease-out;
}
.switch label .handle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
  width: 12px;
  height: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
  background-image: linear-gradient(to bottom, #eeeeee, white);
}
.switch label input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.switch label input[type="checkbox"]:checked ~ .label {
  background: #47a8d8;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch label input[type="checkbox"]:checked ~ .label:before {
  opacity: 0;
}
.switch label input[type="checkbox"]:checked ~ .label:after {
  opacity: 1;
}
.switch label input[type="checkbox"]:checked ~ .handle {
  left: 40px;
  box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}
