:root {
  --color-theme: #2f91da;
  --color-body: #313637;
  --color-title: #151d2e;
  --color-border: #2a85d5;
  --color-bg-selected: #e8f4ff;
}

/* Button features*/
.btn-features {
  display: inline-block;
  margin-left: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  font-size: 0;
  background: url(./images/properties.svg) no-repeat;
  background-size: 1.25rem 1.25rem;
  background-position: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-features:hover,
.btn-features:focus {
  border: 1px solid var(--color-border);
  background: url(./images/properties-hover.svg) no-repeat;
  background-size: 1.25rem 1.25rem;
  background-position: center;
  transition: all 0.3s ease;
}
/* End button feature*/


/* Checkbox*/
.form-type--boolean {
  margin-left: 0;
  position: relative;
}

.form-type--boolean input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: auto;
  height: auto;
}

.form-type--boolean label {
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
  line-height: 1.75rem;
}

.form-type--boolean label:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--color-border);
}

.form-type--boolean label:after {
  position: absolute;
  content: "";
  top: 2px;
  left: 0.25rem;
  display: inline-block;
  width: 1rem;
  height: 1.5rem;
  background: url(./images/checkbox.svg) no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0;
  visibility: hidden;
}

.form-type--boolean input:checked + label:after {
  opacity: 1;
  visibility: visible;
}
/* End Checkbox*/


.component-wrapper-inline-form .group-feature-wrapper {
  display: none;
}

.component-wrapper-inline-form .group-feature-wrapper.active {
  display: flex;
}

.component-wrapper-inline-form > .form-wrapper > .form-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.component-wrapper-inline-form > .form-wrapper > .form-item > label {
  margin-right: 2rem;
  max-width: 8rem;
  display: flex;
  width: 100%;
}

.component-wrapper-inline-form > .form-wrapper > .form-item > select {
  flex: 1;
  width: 100%;
}

.component-wrapper-inline-form > .form-wrapper > .form-item > .form-text {
  flex: 1;
  width: 100%;
  border-radius: 8px;
  padding: 9px 12px;
  border: 1px solid #e5e5e5;
}

.component-wrapper-inline-form .claro-details__wrapper {
  margin: 1.5em 1.5em;
}

.component-wrapper-inline-form .text-full > .form-item {
  width: 100%;
}

.component-wrapper-inline-form .cke_top,
.component-wrapper-inline-form .cke_path_empty:only-child::after {
  background-color: var(--color-bg-selected);
}

.component-wrapper-inline-form .form-managed-file__main .form-element--api-file {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  width: 100%;
}

.component-wrapper-inline-form .form-managed-file__main {
  width: 100%;
}

.component-wrapper-inline-form input[value="Add new Item"] {
  border-radius: 0.5rem;
  display: inline-block;
  width: 100%;
  height: 2.5rem;
  background-color: #e8f4ff;
  text-align: center;
  border: 1px solid #acd7fd !important;
  padding: 0;
  box-shadow: none;
  color: var(--color-theme);
  background-image: url(./images/plus.svg);
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: calc(50% - 65px) center;
}

.component__features,
.component__features > .form-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.component__features > .form-item {
  flex: 1;
}

.component__features > .form-item > label {
  margin-right: 2rem;
  max-width: 8rem;
  display: flex;
  width: 100%;
}

.component__features > .form-item .select2,
.component__features > .form-item > select {
  flex: 1;
  width: 100%;
}

.group-feature-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.group-feature-wrapper .group-feature__label {
  margin-right: 2rem;
  max-width: 8rem;
  display: flex;
  width: 100%;
}

.group-feature-wrapper .form-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.group-feature-wrapper .field--type-boolean {
  max-width: calc(100% / 3);
  flex: 0 0 calc(100% / 3);
  margin-right: 0;
  margin-bottom: 20px;
}

.group-feature-wrapper .form-type--boolean {
  margin: 5px 0;
}

.claro-details .form-wrapper > .form-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.claro-details .form-wrapper > .form-item > label {
  margin-right: 2rem;
  max-width: 8rem;
  display: flex;
  width: 100%;
}

.claro-details .form-wrapper > .form-item > select,
.claro-details .form-wrapper > .form-item > input {
  flex: 1;
  width: 100%;
  border-radius: 8px;
  padding: 9px 12px;
  border: 1px solid #e5e5e5;
}

.claro-details summary[role="button"] {
  background-color: #fafafa;
}

.claro-details__summary:hover {
  color: #003ecc;
  background-color: #f5f8ff;
}

.component-complexity-simple > div > fieldset {
  border: none;
  box-shadow: none;
}

.component-complexity-simple > div > fieldset > .fieldset__wrapper {
  margin: 0 0;
}

.component-complexity-simple > div > fieldset > .fieldset__legend .fieldset__label {
  padding-left: 0;
  padding-right: 0;
}