/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-fg-section {
  position: relative;
}
.pc-fg-section:before {
  position: absolute;
  top: 0;
  left: -24px;
  width: calc(100% + 24px);
  height: 1px;
  background: var(--g-color-line-generic);
  content: "";
  display: block;
  margin-left: 12px;
}
.pc-fg-section:after {
  position: absolute;
  bottom: 0;
  left: -24px;
  width: calc(100% + 24px);
  height: 1px;
  background: var(--g-color-line-generic);
  content: "";
  display: block;
  margin-left: 12px;
}
.pc-fg-section + .pc-fg-section:before {
  display: none;
}
.pc-fg-section:last-child.pc-fg-section:after {
  content: none;
}
.pc-fg-section_nested {
  margin-top: 8px;
  margin-bottom: 8px;
}
.pc-fg-section_nested:first-child {
  margin-top: 0;
}
.pc-fg-section_nested:last-child {
  margin-bottom: 0;
}
.pc-fg-section_nested:before, .pc-fg-section_nested:after {
  display: none;
}
.pc-fg-section_nested .pc-fg-section__header {
  padding-top: 0;
  padding-bottom: 0;
}
.pc-fg-section_nested .pc-fg-section__children_opened > .pc-fg-section__children-inner {
  padding-top: 8px;
}
.pc-fg-section__header {
  display: flex;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.pc-fg-section__title {
  display: inline-block;
}
.pc-fg-section__title::first-letter {
  text-transform: uppercase;
}
.pc-fg-section__header-button {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  outline: none;
  color: inherit;
  background: none;
  cursor: pointer;
  min-height: 28px;
  display: flex;
  align-items: center;
  flex-grow: 1;
}
.pc-fg-section__header-button_with-hover > * {
  transition: color 0.4s;
}
.pc-fg-section__header-button_with-hover:hover > * {
  color: var(--g-color-text-primary);
}
.pc-fg-section__arrow {
  margin-right: 4px;
  color: var(--g-color-text-hint);
}
.pc-fg-section__plus {
  width: 28px;
  height: 28px;
  padding: 6px;
  color: var(--g-color-text-hint);
  margin-left: auto;
  box-sizing: border-box;
}
.pc-fg-section__children {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  margin-bottom: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pc-fg-section__children_opened {
  grid-template-rows: 1fr;
  padding-bottom: 16px;
}
.pc-fg-section__children_opened .pc-fg-section__children_opened {
  padding-bottom: 0;
}
.pc-fg-section__children-inner {
  min-height: 0;
  overflow: hidden;
  transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pc-fg-section__card {
  padding: 12px;
}
.pc-fg-section__card:not(.pc-fg-section__card:nth-last-child(1)) {
  margin-bottom: 12px;
}
.pc-fg-section__card .pc-fg-section:before {
  content: none;
}
.pc-fg-section__item-clear {
  margin-top: 12px;
}
.pc-fg-section__item-clear:first-child {
  margin-top: 0;
}
.pc-fg-section__item-clear:not(.pc-fg-section__item-clear:nth-last-child(1)) {
  margin-bottom: 12px;
}
.pc-fg-section__item-clear .pc-fg-section:before {
  content: none;
}
.pc-fg-section__card-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.pc-fg-section__card-title {
  display: block;
  flex-grow: 1;
}
.pc-fg-section__card-title::first-letter {
  text-transform: uppercase;
}
.pc-fg-section__dropdown {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pc-fg-section__dropdown_opened {
  opacity: 1;
}
.pc-fg-section__header:hover > .pc-fg-section__dropdown {
  opacity: 1;
}