/**
 * Colors
 */
/**
 * Breakpoints & Media Queries
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
@keyframes loading-fade {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}
.theme-editor-component-add-new-theme .theme-editor-theme-card {
  background: linear-gradient(135deg, #ab6dca 0%, #2942ba 100%);
  color: #fff;
  transition: background 0.2s;
  cursor: pointer;
  box-shadow: none;
}
.theme-editor-component-add-new-theme .theme-editor-theme-card:hover {
  background: linear-gradient(135deg, rgba(171, 109, 202, 0.9) 0%, rgba(41, 66, 186, 0.9) 100%);
}
.theme-editor-component-add-new-theme .theme-editor-theme-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  fill: #fff;
}

.admin-components-color-picker .components-circular-option-picker {
  max-width: 250px;
}
.admin-components-color-picker .components-circular-option-picker .components-circular-option-picker__option-wrapper {
  margin-right: 6px !important;
  margin-left: 6px !important;
}
.admin-components-color-picker .components-circular-option-picker .components-circular-option-picker__option-wrapper .components-circular-option-picker__option::after {
  width: auto;
  height: auto;
}
.admin-components-color-picker .components-circular-option-picker .components-circular-option-picker__option-wrapper svg {
  fill: #000;
}
.admin-components-color-picker .components-circular-option-picker .components-angle-picker-control__input-field {
  margin-top: 5px;
}

.admin-components-color-preview .admin-components-color-preview__square {
  width: 25px;
  height: 25px;
  border-radius: 5px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.admin-components-combo-color-picker .admin-components-combo-color-picker__switcher-wrapper {
  margin-bottom: 10px;
}
.admin-components-combo-color-picker .components-circular-option-picker {
  max-width: 250px;
}

.theme-editor-customize .theme-editor-customize__back {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
}
.theme-editor-customize .theme-editor-customize__back svg {
  transform: rotate(180deg);
}
.theme-editor-customize .components-panel__body {
  border: none;
  margin-bottom: 15px;
  box-shadow: 0 0 1px 0 rgba(135, 135, 135, 0.79);
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}
.theme-editor-customize .components-panel__body .components-panel__body-title, .theme-editor-customize .components-panel__body .components-panel__body-title:hover {
  background: #fff !important;
}
.theme-editor-customize .components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]) {
  outline: none;
  outline-offset: 0;
}
.theme-editor-customize .fonts-hint {
  background: #ebcaff;
  color: #934cbf;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.theme-editor-customize .fonts-hint div {
  margin: 0 8px;
}

.theme-editor-customize-footer {
  position: absolute;
  bottom: 0;
  background: #ececec;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  right: 0;
  left: 0;
  justify-content: space-between;
}
.theme-editor-customize-footer .admin-components-button {
  width: 50%;
  padding: 20px !important;
  justify-content: center;
  align-items: center;
  border-radius: 0 !important;
  font-size: 12px;
}

.admin-components-gradient-picker .components-circular-option-picker {
  max-width: 250px;
}
.admin-components-gradient-picker .components-circular-option-picker .components-circular-option-picker__option-wrapper {
  margin-right: 6px !important;
  margin-left: 6px !important;
}
.admin-components-gradient-picker .components-circular-option-picker .components-circular-option-picker__option-wrapper .components-circular-option-picker__option::after {
  display: none;
}
.admin-components-gradient-picker .components-circular-option-picker .components-circular-option-picker__option-wrapper svg {
  fill: #000;
}
.admin-components-gradient-picker .components-circular-option-picker .components-angle-picker-control__input-field {
  margin-top: 5px;
}

.theme-editor-theme-actions .theme-editor-theme-actions__dropdown button {
  height: 28px;
  transition: background 0.3s linear;
}
.theme-editor-theme-actions .theme-editor-theme-actions__dropdown button > svg {
  color: #858789 !important;
}
.theme-editor-theme-actions .theme-editor-theme-actions__dropdown button:hover {
  background: #e3e3e3 !important;
}
.theme-editor-theme-actions .theme-editor-theme-actions__dropdown .components-dropdown-menu__popover .components-popover__content {
  border-radius: 7px;
}
.theme-editor-theme-actions .theme-editor-theme-actions__dropdown .components-menu-item__button {
  padding-left: 1rem;
}
.theme-editor-theme-actions .theme-editor-theme-actions__dropdown .theme-editor-theme-actions__menu-group .theme-editor-theme-actions__menu-item {
  font-size: 14px;
  margin-bottom: 5px;
}
.theme-editor-theme-actions .theme-editor-theme-actions__dropdown .theme-editor-theme-actions__menu-group .theme-editor-theme-actions__delete-theme {
  color: #f46262 !important;
}

.theme-editor-theme-card {
  width: 170px;
  height: 185px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #cecece;
  overflow: hidden;
  cursor: pointer;
}
.theme-editor-theme-card.isSelected {
  box-shadow: 0 0 0 2pt #58b9b0;
}

.theme-editor-themes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 13px;
  padding-top: 10px;
}
.theme-editor-themes-list > div {
  margin-right: 21px;
  margin-bottom: 21px;
}

.theme-editor-themes-list-item {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.theme-editor-themes-list-item .theme-editor-themes-list-item__header-wrapper {
  height: 135px;
  width: 100%;
}
.theme-editor-themes-list-item .theme-editor-themes-list-item__header-wrapper .theme-editor-themes-list-item__header {
  width: 100%;
  height: 100%;
  padding: 30px;
}
.theme-editor-themes-list-item .theme-editor-themes-list-item__header-wrapper .theme-editor-themes-list-item__header-question {
  margin-bottom: 5px;
  font-size: 16px;
}
.theme-editor-themes-list-item .theme-editor-themes-list-item__header-wrapper .theme-editor-themes-list-item__header-answer {
  margin-bottom: 15px;
}
.theme-editor-themes-list-item .theme-editor-themes-list-item__header-wrapper .theme-editor-themes-list-item__header-buttons {
  width: 60px;
  height: 20px;
  border-radius: 3px;
}
.theme-editor-themes-list-item .theme-editor-themes-list-item__footer {
  display: flex;
  height: calc(100% - 135px);
  flex-wrap: wrap;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e3e3e3;
  background: #fff;
}
.theme-editor-themes-list-item .theme-editor-themes-list-item__footer .theme-editor-themes-list-item__footer-title {
  word-break: break-word;
  max-width: 70%;
}

.typography-presets span {
  padding: 5px;
  margin: 2px;
  cursor: pointer;
}
.typography-presets span.selected {
  background: #e3e3e3;
  border-radius: 2px;
}