/* Hides the native <select> and its label for the colour field (Form 9, Field 7) */
/* so nice-select's generated markup shows instead */
.gform_wrapper li.custom_color-select > .ginput_container.ginput_container_select > select,
.gform_wrapper li.custom_color-select > label {
  display: none;
}

.gform_wrapper li.custom_color-select:after {
  clear: both;
  content: "";
  display: block;
}

/* Styled notice/badge tied to this field group (adjust/remove if unused on your form) */
.gform_wrapper li#field_9_76 {
  background: #2a8f0c;
  border-radius: 6px;
  color: #fff;
  display: list-item;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 15px;
}

/* Nice-select base structure + dropdown arrow */
.gform_wrapper .nice-select {
  width: 100% !important;
  color:#141617!important;
  border:1px solid rgba(35,87,137,0.65)!important;
  border-radius:3px!important;
}

.gform_wrapper .nice-select:focus {
  outline: none;
}

.gform_wrapper .nice-select .current {
  color: #222;
  display: inline-block;
  padding-left: 26px;
  position: relative;
  vertical-align: top;
}

.gform_wrapper .nice-select .current.null {
  color: #141617;
  padding-left: 0;
}

.gform_wrapper .nice-select .current.null:before {
  border: none;
}

.gform_wrapper .nice-select .current:before {
  background: transparent;
  border: 0px solid #e4e4e4;
  border-radius: 50%;
  content: "";
  height: 18px;
  left: 0;
  margin-left: 0;
  margin-top: 9px;
  position: absolute;
  top: 0;
  width: 18px;
}

.gform_wrapper .nice-select .current[data-value=""] {
  padding-left: 18px;
  border-radius:3px;
}

.gform_wrapper .nice-select .current[data-value=""]:before {
  border: none;
}

/* Selected-value swatch colours (lowercase — matches nice-select's .current output) */
.gform_wrapper .nice-select .current[data-value=grey]:before   { background: #adaca7; }
.gform_wrapper .nice-select .current[data-value=brown]:before  { background: #b06931; }
.gform_wrapper .nice-select .current[data-value=purple]:before { background: #9f5d9b; }
.gform_wrapper .nice-select .current[data-value=green]:before  { background: #1a5; }
.gform_wrapper .nice-select .current[data-value=pink]:before   { background: #b94d80; }
.gform_wrapper .nice-select .current[data-value=orange]:before { background: #f57e18; }
.gform_wrapper .nice-select .current[data-value=yellow]:before { background: #f5db3a; }
.gform_wrapper .nice-select .current[data-value=white]:before  { background: #fafaf7; }
.gform_wrapper .nice-select .current[data-value=black]:before  { background: #393836; }
.gform_wrapper .nice-select .current[data-value=red]:before    { background: #ac2d2d; }
.gform_wrapper .nice-select .current[data-value=blue]:before   { background: #45bcd8; }

.gform_wrapper .nice-select:after {
  display: none;
}

.gform_wrapper .nice-select .list {
  max-height: 280px;
}

.gform_wrapper .nice-select .nice-select-dropdown {
  width: 100%;
}

.gform_wrapper .nice-select .option {
  color: #222;
  padding-left: 40px;
  position: relative;
}

.gform_wrapper .nice-select .option:before {
  background: transparent;
  border: 0px solid #e4e4e4;
  border-radius: 100%;
  content: "" !important;
  height: 15px;
  left: 0;
  margin-left: 18px;
  margin-top: 12px;
  position: absolute;
  top: 0;
  width: 15px;
}

.gform_wrapper .nice-select .option[data-value=""] {
  padding-left: 18px;
}

.gform_wrapper .nice-select .option[data-value=""]:before {
  border: none;
}

/* Dropdown-list swatch colours (capitalized — matches nice-select's .option output) */
.gform_wrapper .nice-select .option[data-value=Grey]:before   { background: #adaca7; }
.gform_wrapper .nice-select .option[data-value=Brown]:before  { background: #b06931; }
.gform_wrapper .nice-select .option[data-value=Purple]:before { background: #9f5d9b; }
.gform_wrapper .nice-select .option[data-value=Green]:before  { background: #1a5; }
.gform_wrapper .nice-select .option[data-value=Pink]:before   { background: #b94d80; }
.gform_wrapper .nice-select .option[data-value=Orange]:before { background: #f57e18; }
.gform_wrapper .nice-select .option[data-value=Yellow]:before { background: #f5db3a; }
.gform_wrapper .nice-select .option[data-value=White]:before  { background: #fafaf7; }
.gform_wrapper .nice-select .option[data-value=Black]:before  { background: #393836; }
.gform_wrapper .nice-select .option[data-value=Red]:before    { background: #ac2d2d; }
.gform_wrapper .nice-select .option[data-value=Blue]:before   { background: #45bcd8; }