@charset "UTF-8";
/*! © JetSloth — SPDX-License-Identifier: GPL-2.0-or-later */
.collapsible-sections-field-description-setting {
  display: none;
}

.gform-theme--foundation.gform_editor .gfield.collapsible-sections-admin-field.cs--image,
.collapsible-sections-admin-field.cs--image {
  padding-left: calc(2rem + 50px);
  position: relative;
}

.collapsible-sections-admin-field.cs--image .gsection_collapsible_image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  position: absolute;
  pointer-events: none;
  left: 1rem;
  top: calc(1rem + 16px);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.collapsible-sections-admin-field:not(.cs--image) .gsection_collapsible_image {
  display: none;
}

.gsection_collapsible {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.7em;
}
.gsection_collapsible span {
  display: inline-block;
  padding: 1px 6px 0;
  border-radius: 3px;
  background-color: #ccc;
  color: grey;
}

.gfield.field_selected .gsection_collapsible span,
.gfield.field_hover .gsection_collapsible span {
  background-color: #D2E0EB;
  color: #712be5;
}

/* GF 2.5+ */
#form_editor_fields_container .gfield.field_hover:not(.field_selected) .gsection_collapsible span,
#form_editor_fields_container .gsection_collapsible span {
  background-color: #f0e7fa;
  color: #712be5;
}
#form_editor_fields_container .gfield.field_selected .gsection_collapsible span {
  background-color: #712be5;
  color: #fff;
}

#collapsible_sections_tab .collapsible-sections-field-toggle-setting > .section_label {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

#collapsible-sections-image-url {
  width: 100%;
  max-width: 100%;
}

textarea[id^=gf_collapsible_sections] ~ .CodeMirror {
  background: #f7f9fc;
  border-radius: 10px;
  padding: 20px;
}
textarea[id^=gf_collapsible_sections] ~ .CodeMirror .CodeMirror-sizer {
  min-height: 300px;
}
textarea[id^=gf_collapsible_sections] ~ .CodeMirror .CodeMirror-gutters {
  background-color: #f7f9fc;
  border-right-color: #f7f9fc;
}
textarea[id^=gf_collapsible_sections] ~ .CodeMirror .CodeMirror-linenumber {
  padding: 0 10px 0 5px;
  min-width: 10px;
  text-align: left;
  color: #999;
}

#collapsible-sections-theme-preview {
  background-color: #F8F8F9;
  border-radius: 5px;
  text-align: center;
}
#collapsible-sections-theme-preview img {
  border-radius: 5px;
  display: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#gform_setting_gf_collapsible_sections_theme_preview .collapsible-sections-theme-preview img {
  width: 400px;
}

#collapsible-sections-image-preview {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  border-radius: 50%;
  margin-bottom: 20px;
}

#gf-admin-notices-wrapper .gf-notice[data-gf_dismissible_key^=gf_collapsible_sections] {
  padding-left: 5rem;
}
#gf-admin-notices-wrapper .gf-notice[data-gf_dismissible_key^=gf_collapsible_sections]:before {
  left: 1.25rem;
  background-color: #f0e8ff;
}
#gf-admin-notices-wrapper .gf-notice[data-gf_dismissible_key^=gf_collapsible_sections]:after {
  background-image: url("data:image/svg+xml,%3Csvg width='20px' height='20px' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' style='enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cpath fill='%23ffffff' d='M1,6h18c0.3,0,0.5-0.1,0.7-0.3C19.9,5.5,20,5.3,20,5s-0.1-0.5-0.3-0.7C19.5,4.1,19.3,4,19,4H1 C0.7,4,0.5,4.1,0.3,4.3C0.1,4.5,0,4.7,0,5s0.1,0.5,0.3,0.7C0.5,5.9,0.7,6,1,6L1,6z M7,14H1c-0.3,0-0.5,0.1-0.7,0.3 C0.1,14.5,0,14.7,0,15s0.1,0.5,0.3,0.7C0.5,15.9,0.7,16,1,16h6c0.3,0,0.5-0.1,0.7-0.3C7.9,15.5,8,15.3,8,15s-0.1-0.5-0.3-0.7 C7.5,14.1,7.3,14,7,14z M16.5,9H1C0.7,9,0.5,9.1,0.3,9.3C0.1,9.5,0,9.7,0,10s0.1,0.5,0.3,0.7C0.5,10.9,0.7,11,1,11h15.5 c0.4,0,0.8,0.2,1.1,0.4c0.3,0.3,0.4,0.7,0.4,1.1s-0.2,0.8-0.4,1.1c-0.3,0.3-0.7,0.4-1.1,0.4h-3.1l0.3-0.3c0.2-0.2,0.3-0.4,0.3-0.7 s-0.1-0.5-0.3-0.7S13.3,12,13,12s-0.5,0.1-0.7,0.3l-2,2c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0,0.1,0.1,0.2,0.2,0.3l2,2 c0.1,0.1,0.2,0.2,0.3,0.2C12.7,18,12.9,18,13,18s0.3,0,0.4-0.1c0.1-0.1,0.2-0.1,0.3-0.2c0.1-0.1,0.2-0.2,0.2-0.3 C14,17.3,14,17.1,14,17s0-0.3-0.1-0.4c-0.1-0.1-0.1-0.2-0.2-0.3L13.4,16h3.1c0.9,0,1.8-0.4,2.5-1c0.7-0.7,1-1.5,1-2.5 c0-0.9-0.4-1.8-1-2.5C18.3,9.4,17.4,9,16.5,9L16.5,9z'/%3E%3C/svg%3E%0A");
  background-color: #712be5;
  background-size: 1rem;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  left: 1.75rem;
}

.gsection_collapsible {
  margin: 16px 0 0;
}

.gforms_edit_form .collapsible-sections-field-image-background-color .wp-picker-container,
#gform_setting_gf_collapsible_sections_image_background_color_custom .wp-picker-container,
#gform_setting_gf_collapsible_sections_global_image_background_color_custom .wp-picker-container {
  margin-top: 0;
}
.gforms_edit_form .collapsible-sections-field-image-background-color .wp-picker-container .wp-color-result.button,
#gform_setting_gf_collapsible_sections_image_background_color_custom .wp-picker-container .wp-color-result.button,
#gform_setting_gf_collapsible_sections_global_image_background_color_custom .wp-picker-container .wp-color-result.button {
  height: auto;
}
.gforms_edit_form .collapsible-sections-field-image-background-color .wp-picker-container .wp-picker-clear.button,
#gform_setting_gf_collapsible_sections_image_background_color_custom .wp-picker-container .wp-picker-clear.button,
#gform_setting_gf_collapsible_sections_global_image_background_color_custom .wp-picker-container .wp-picker-clear.button {
  min-height: 0;
  line-height: 0.875rem;
  height: 30px;
}

label[for=collapsible-sections-image-background-color-custom] {
  margin-top: 0.9375rem;
}