/* General */
.toolbar {
  z-index: 1000 !important;
}

/* Collapsible fields */
.collapsible-field summary {
  padding-left: 0;
}
details:not(.field) {
  margin: 1.5rem 0;
}
summary:not(.claro-details__summary) {
  width: auto;
  background: #f3f4f9;
}
summary:hover {
  border-color: #232429;
  box-shadow: inset 0 0 0 1px #232429;
}
summary:focus {
  outline: 2px dotted transparent;
  box-shadow: 0 0 0 2px #fff,0 0 0 5px #26a769;
}
summary + .field__item {
  clear: both;
}

/* Forms */
.field {
  margin: 0.5rem 0;
}
.form-element:not([type="number"]) {
  width: 100%;
}
.error {
  background: #dc2323;
  color: white;
  padding: 0.5rem;
}
.claro-autocomplete,
.claro-autocomplete input {
  width: 100%;
  max-width: none;
}
/* Price */
.form-type-price-price {
  display: flex;
  margin: 1.5rem 0 0 0;
}
.form-item.js-form-type-price-number {
  margin: 0 0.5rem 0 0;
  width: 200px;
}
.form-item.js-form-type-price-number + .form-item {
  margin: 1.625rem 0 0 0;
}
/* Select */
.form-select:not([data-select2-config^='{"multiple": true']),
.form-select:not([data-select2-config^='{"multiple": true']) + .select2-container {
  width: 100%;
  max-width: 300px;
}

  /* Hide sidebar */
.layout-node-form .layout-region__content {
  margin: 0 !important;
  max-width: 70rem !important;
}
@media screen and (min-width: 61rem) {
  .layout-region--node-main,
  .layout-region--node-footer {
    width: 100% !important;
    max-width: 60rem;
  }
}

/* Node view */
table.line-items {
  margin-top: 0;
}

/* Layout */
.layout--twocol-section {
  justify-content: space-between;
}
@media screen and (min-width: 40em) {
  .layout--twocol-section > div {
    flex: 0 1 47% !important;
  }
}

/* Ckeditor styles */
.section-heading {
  display: block;
  text-align:center;
  padding: 0.5rem 1rem;
  background: #f3f4f9;
}

/* Views */
.views-exposed-form {
  align-items: flex-end;
}
.views-exposed-form .form-item {
  max-width: 100%;
  margin: 0.75rem 1rem 0 0;
}
.views-exposed-form fieldset {
  box-shadow: none;
  border: 0;
}
.views-exposed-form fieldset legend span {
  padding: 0;
}
.views-exposed-form fieldset .fieldset__wrapper {
  display: flex;
  margin: 0;
}
.views-exposed-form fieldset .fieldset__wrapper .form-item .form-item {
  margin: 0;
}

/* Entity reference modal. */
.flex-inline,
.flex-inline label {
  display: block !important;
}

.flex-inline .form-children {
  display: inline-flex;
}

.flex-inline > .form-item__description {
  margin-top: 0;
  width: 60px;
}

.flex-inline .dropbutton-wrapper {
  display: inline-flex !important;
}

.flex-inline .dropbutton {
  min-width: 0;
}

/* Remove button. */
.form-submit[value="Remove"] {
  margin-bottom: 0;
}
