/*
 DEFAULT STYLES
*/
.configure-item > div[data-else],
.precodes > div[data-else],
.configure-item > div[data-if],
.precodes > div[data-if] {
  display: none;
}
.configure-item > div[data-else-is="true"],
.precodes > div[data-else-is="true"],
.configure-item > div[data-if-is="true"],
.precodes > div[data-if-is="true"] {
  display: block;
}
.configure-inner-wrap > label:not(.configure-checkbox) {
  margin: 0 0 8px 0;
  display: block;
  font-size: 16px;
  line-height: 18px;
  margin: 24px 0 8px 0;
}
.configure-inner-wrap > .configure-subtitle {
  text-align: center;
  font-size: 12px;
  line-height: 14px;
  margin: 4px 0 0 0;
  padding: 0 4px;
}
.configure-inner-wrap > label.slider-label {
  display: grid;
  grid-template-columns: 1fr min-content;
  margin: 24px 0 4px 0;
}
label.slider-label > div {
  white-space: nowrap;
}
.configure-inner-wrap {
  margin: 0 0 8px 0;
}
.configure-wrap input {
  background: transparent;
  padding: 0;
}
.configure-text,
.configure-number,
.configure-select,
.configure-group-wrap label {
  position: relative;
  padding: 6px 6px 6px 16px;
  font-size: 16px;
  line-height: 24px;
  display: grid;
  grid-template-columns: min-content 1fr min-content min-content;
  align-items: center;
  grid-gap: 0px;
}
.configure-text {
  padding: 6px 16px;
  grid-template-columns: 1fr;
}
/*
 GROUP
*/
.configure-group-wrap label {
  display: block;
  padding: 0 16px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.configure-group-wrap label.stacks-label {
  padding: 8px;
}
.configure-group-wrap input:checked + label {
  position: relative;
}
.configure-group-wrap input:checked + label:after {
  content: "";
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  opacity: .1;
}
.configure-wrap .prefix {
  margin-right: 8px;
  white-space: nowrap;
}
.configure-wrap .postfix {
  margin-left: 8px;
  white-space: nowrap;
}
.configure-wrap .select-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}
.configure-wrap .select-icon svg {
  display: block;
}
.configure-input-wrap > * {
  z-index: 1;
}
.configure-input-wrap > .configure-input-design {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  pointer-events: none;
  z-index: 0;
}
.configure-text textarea,
.configure-text input,
.configure-number input,
.configure-select select {
  margin: 0;
  border: 0 solid transparent;
  background: transparent;
  font-size: 16px;
  line-height: 16px;
  /* padding: 10px 0; */
  width: 100%;
  -webkit-appearance:none;
}
.configure-text textarea {
  resize: none;
  line-height: 24px;
}
/* .configure-select input {
  line-height: 38px;
  padding: 0;
} */
.configure-group-wrap input + label:before,
.configure-checkbox input + .ccs-check-graphic:before,
.configure-wrap .configure-input-design:before {
  content: "";
  position: absolute;
  left:0;top:0;right:0;bottom:0;
  pointer-events: none;
  transition: opacity 150ms linear;
  opacity: 0;
}
.configure-group-wrap input:not(:checked) + label:hover:before,
.configure-checkbox:hover input + .ccs-check-graphic:before,
.configure-wrap .configure-input-design.configure-focused:before {
  opacity: 1;
}
.configure-wrap input:focus,
.configure-wrap select:focus {
  outline: 0;
}
.configure-wrap input[type=number]::-webkit-inner-spin-button,
.configure-wrap input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.configure-wrap input[type=number] {
  -moz-appearance: textfield;
}
/*
 RANGE
*/
.configure-range {
  width: 100%;
  position: relative;
}
.configure-range  .fill-to {
  position: absolute;
  top:0;left:0;bottom:0;
  width: 100%;
  height: 8px;
  top: 11px;
  left: 0px;
  border-radius: 4px;
  z-index: 0;
}
.configure-range  .fill-to-bar {
  position: absolute;
  top:0;left:0;bottom:0;
  width: 0;
  height: 8px;
  top: 11px;
  left: 0px;
  border-radius: 4px 0 0 4px;
  z-index: 2;
}
.configure-tick-wrap {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(1px, 1px) );
  justify-content: space-between;
  padding: 0 11px 0 12px;
  margin: 0;
}
.configure-tick-wrap > div {
  width: 1px;
  height: 6px;
}
.alternate-ticks .configure-tick-wrap > div:nth-child(even) {
  height: 4px;
}
.alternate-ticks .configure-tick-wrap > div:nth-child(odd) {
  height: 6px;
}
.configure-wrap input[type=range] {
  -webkit-appearance: none;
  margin: 0 0 8px 0;
  width: 100%;
  position: relative;
  z-index: 3;
}
.configure-wrap input[type=range]:focus {
  outline: none;
}
.configure-wrap input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: transparent;
}
.configure-wrap input[type=range]::-webkit-slider-thumb {
  height: 24px;
  width: 24px;
  border-radius: 12px;
  background-color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -9px;
  z-index: 3;
  position: relative;
}
.configure-wrap input[type=range]::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: transparent;
}
.configure-wrap input[type=range]::-moz-range-thumb {
  height: 24px;
  width: 24px;
  border-radius: 12px;
  background-color: #fff;
  cursor: pointer;
  margin-top: -9px;
  transform:translate(0,4px);
  z-index: 3;
  position: relative;
}
/*
 CHECKBOX
*/
.configure-inner-wrap > .configure-checkbox {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: center;
  grid-gap: 4px;
  position: relative;
  padding-left: 0px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 24px;
  line-height: 24px;
}
.ccs-checkbox-text {
  font-size: 16px;
  line-height: 24px;
}
.configure-checkbox  input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.ccs-check-graphic {
  height: 24px;
  width: 24px;
  display: inline-block;
  position: relative;
}
.ccs-check-graphic:after {
  content: "";
  position: absolute;
  display: none;
}
.configure-checkbox input:checked + .ccs-check-graphic:after {
  display: block;
}
.configure-checkbox .ccs-check-graphic:after {
  left: 8px;
  top: 3px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/*
 NUMBER
*/
.configure-number .configure-input-formatting {
  position: relative;
}
.configure-number .configure-input-formatting input[type="number"] {
  color: transparent;
}
.configure-number .configure-input-formatting input[type="text"] {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
}
.configure-number .configure-input-formatting input[type="number"]:focus + input[type="text"]  {
  display: none;
}
.quantity-nav {
  height: 100%;
  display: grid;
  grid-gap: 2px;
  margin-left: 8px;
  grid-template-columns: 1fr 1fr;
}
.quantity-button {
  font-family: "helvetica-Neue",helvetica;
  font-weight: 400;
  position: relative;
  cursor: pointer;
  border: none;
  width: 24px;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  height: 24px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.quantity-button.quantity-up:before {
  content: "+";
}
.quantity-button.quantity-down:before {
  content: "-";
}
.quantity-button:active:after {
  content: "";
  position: absolute;
  left:0;top:0;right:0;bottom:0;
  background: rgba(0,0,0,0.05);
  pointer-events: none;
}
.configure span.configure-item,
.configure span.configure-node {
  line-height: inherit;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
}
