/**
 * @file
 * Floating action styles.
 */
.region-float {
  position: fixed;
  right: var(--space-m);
  bottom: 2rem;
  z-index: 565;
}

@media (min-width: 992px) {
  .region-float {
    right: var(--space-xxl);
  }
}

.region-float .local-actions__item {
  display: block;
  margin: 0 0 var(--space-m) 0;
  height: 0;
  overflow: hidden;
}

.region-float .local-actions__item:last-child {
  height: var(--space-xl);
  margin-bottom: 0;
  overflow: visible;
}

.region-float .button {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: transparent;
  background-image: none;
  padding: 0;
  border: 0 !important;
  box-shadow: none;
  font-size: 0;
  color: transparent;
  transition: color .2s linear;
}

.region-float .button:before {
  content: "";
  background: var(--color-primary) url("data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='plus' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 34 34' style='enable-background:new 0 0 34 34;' xml:space='preserve'%3E %3Cg transform='translate(0,-952.36218)'%3E %3Cpath class='st0' fill='%23FFFFFF' d='M17,952.4c-2.2,0-4,1.8-4,4v9H4c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4h9v9c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4v-9h9 c2.2,0,4-1.8,4-4s-1.8-4-4-4h-9v-9C21,954.2,19.2,952.4,17,952.4z'/%3E %3C/g%3E %3C/svg%3E") center no-repeat;
  background-size: var(--space-m);
  width: var(--space-xl);
  height: var(--space-xl);
  margin-left: var(--space-m);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  border-radius: 50%;
  padding: var(--space-m);
  order: 5;
  transition: box-shadow .2s linear;
}

.region-float .button:hover {
  color: var(--color-primary) !important;
}

.region-float .button:hover:before {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(0, 0, 0, 0.28);
}

.region-float .action-links {
  margin: 0;
}

.region-float .action-links:hover .local-actions__item {
  height: var(--space-xl);
  overflow: visible;
}

.region-float .action-links:hover .button {
  font-size: var(--font-size-base);
  color: inherit;
}

.token-tree-dialog .ui-dialog-content {
  width: 100% !important;
  height: 100% !important;
}

.treetable.token-tree tr span.indenter {
  margin-left: 0;
}

.treetable.token-tree tr span.indenter:empty {
  display: none;
}

.vertical-tabs__items .token-dialog {
  display: inline-block;
  margin: 0 var(--space-l) var(--space-l);
}

.commerce-order-add-form #edit-type-value--wrapper .form-type--radio {
  display: inline-block;
}

form > .form-item:first-child {
  margin-top: 0;
}

.color-form .form-item {
  height: 3.5rem;
}

.ckeditor-buttons li a {
  box-sizing: content-box;
}

.address-container-inline > .form-item {
  vertical-align: top;
}

.panel,
.update,
.layer-wrapper,
.block-system > form,
.block-system > .table-responsive > table,
.block > .admin-list,
.system-status-general-info,
.system-status-report__requirements-group,
.views-edit-view,
.views-preview-wrapper,
.view-content .views-form,
.view-files .view-content,
.view-block-content .view-content,
.view-watchdog .view-content,
#views-entity-list,
#payment-gateway-form,
#tax-type-form,
#number-pattern-form {
  width: 100%;
  padding: 20px 24px 24px;
  background: var(--color-bg);
  box-shadow: 0 1px 1px 0 rgba(60, 75, 100, 0.14), 0 2px 1px -1px rgba(60, 75, 100, 0.12), 0 1px 3px 0 rgba(60, 75, 100, 0.2);
  box-sizing: border-box;
  border-radius: var(--layout-border-radius);
}

@media screen and (min-height: 680px) {
  .footer-actions--sticky,
  .layout-form .layout-region-footer,
  .block-system-main-block > form:first-child > .form-actions {
    position: -webkit-sticky;
    position: sticky;
    padding: 0 1.5rem;
    bottom: 0;
    margin-left: -1rem;
    margin-right: -1rem;
    background-color: white;
    border-top: 1px solid var(--color-primary-lightest);
    z-index: 55;
  }
}
