/*
Standard WordPress admin colors.

Announcement post:
https://make.wordpress.org/core/2021/02/23/standardization-of-wp-admin-colors-in-wordpress-5-7/

Source:
https://codepen.io/ryelle/pen/WNGVEjw

A "wp" prefix has been added to avoid name conflicts with other code in this plugin.
 */
.ame-twm-section {
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  background: #fff;
  margin-bottom: 20px;
  border: 1px solid #ccd0d4;
  max-width: 630px;
}
.ame-twm-section .ws-ame-postbox-header {
  position: relative;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
  border-bottom: 1px solid #ccd0d4;
  border-top-right-radius: inherit;
  border-top-left-radius: inherit;
}
.ame-twm-section .ws-ame-postbox-header h3 {
  padding: 10px 36px 10px 12px;
  margin: 0;
  font-size: 1em;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.ame-twm-section .ws-ame-postbox-header .ws_tooltip_trigger .dashicons {
  height: 14px;
  line-height: 14px;
}
.ame-twm-section .ws-ame-postbox-toggle {
  color: #72777c;
  background: transparent;
  display: block;
  font: normal 20px/1 dashicons;
  text-align: center;
  cursor: pointer;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  height: 100%;
  padding: 0;
}
.ame-twm-section .ws-ame-postbox-toggle:hover {
  color: #23282d;
}
.ame-twm-section .ws-ame-postbox-toggle:active, .ame-twm-section .ws-ame-postbox-toggle:focus {
  outline: none;
  padding: 0;
}
.ame-twm-section .ws-ame-postbox-toggle:before {
  content: "\f142";
  display: inline-block;
  vertical-align: middle;
}
.ame-twm-section .ws-ame-postbox-toggle:after {
  display: inline-block;
  content: "";
  vertical-align: middle;
  height: 100%;
}
.ame-twm-section .ws-ame-postbox-content {
  border-top: none;
  padding: 12px;
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}
.ame-twm-section.ws-ame-closed-postbox .ws-ame-postbox-content {
  display: none;
}
.ame-twm-section.ws-ame-closed-postbox .ws-ame-postbox-toggle:before {
  content: "\f140";
}
.ame-twm-section.ws-ame-closed-postbox .ws-ame-postbox-header {
  border-bottom: none;
}
.ame-twm-section .ws-ame-postbox-content {
  padding-top: 8px;
}

.ame-twm-tweak-children {
  margin-left: 1.7em;
}
.ame-twm-tweak-children > .ame-twm-tweak {
  margin-left: 0.3em;
}

.ame-twm-named-node input[type=checkbox]:indeterminate {
  background: #fff;
}
.ame-twm-named-node input[type=checkbox]:indeterminate:before {
  content: "";
  display: block;
  float: left;
  margin: 0.125rem 0 0 0.125rem;
  width: 0.625rem;
  height: 0.625rem;
  line-height: 0.625rem;
  background: var(--wp-admin-theme-color, #1e8cbe);
}
@media screen and (max-width: 782px) {
  .ame-twm-named-node input[type=checkbox]:indeterminate:before {
    height: 0.9375rem;
    width: 0.9375rem;
    line-height: 0.9375rem;
    margin: 0.25rem 0 0 0.25rem;
    font-family: unset;
    font-weight: normal;
  }
}

.ame-twm-named-node {
  font-size: 14px;
  line-height: 1.65;
}
.ws-ame-postbox .ame-twm-named-node .ws_tooltip_trigger .dashicons {
  vertical-align: text-bottom;
}
.ws-ame-postbox .ame-twm-named-node .ws_tooltip_trigger .dashicons:hover {
  color: inherit;
}

.ame-twm-tweak .description {
  display: block;
  line-height: 1.4;
  margin-left: 24px;
  margin-bottom: 0.5em;
}

.ame-twm-tweak:last-child .description {
  margin-bottom: 0;
}

@media screen and (max-width: 782px) {
  .ame-twm-tweak .description {
    margin-left: 2.125rem;
  }
}
#ame-twm-new-css-tweak-code {
  width: 99%;
}

.ame-twm-tweak-actions {
  vertical-align: middle;
  margin-left: 1em;
  display: none;
}

.ame-twm-tweak:hover .ame-twm-tweak-actions {
  display: inline-block;
}

.ame-twm-action {
  text-decoration: none;
  color: #595959;
  cursor: pointer;
  padding: 0 0.5em;
}
.ame-twm-action > .dashicons {
  vertical-align: text-bottom;
}
.ame-twm-action:hover {
  text-decoration: none;
}
.ame-twm-action.ame-twm-delete-tweak:hover {
  color: #a00;
}

.ame-twm-user-input label .CodeMirror {
  cursor: auto;
}

.ame-twm-user-input .CodeMirror, .ame-twm-dialog .CodeMirror {
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 4px;
  height: auto;
}
.ame-twm-user-input .CodeMirror-scroll, .ame-twm-dialog .CodeMirror-scroll {
  overflow-y: hidden;
  overflow-x: auto;
  min-height: 100px;
  max-height: 500px;
}
.ame-twm-user-input .CodeMirror:focus-within, .ame-twm-dialog .CodeMirror:focus-within {
  border-color: #007cba;
  box-shadow: 0 0 0 1px #007cba;
}

.ame-twm-color-label {
  margin-right: 0.5em;
}

#ame-tweak-environment-dependent-colors .ame-twm-color-label {
  display: inline-block;
  min-width: 7em;
}

.ame-twm-pro-placeholder .ws-ame-postbox-content {
  min-height: 170px;
  position: relative;
}
.ame-twm-pro-placeholder .ws-ame-postbox-header h3:before {
  content: "Pro";
  display: inline-block;
  font-size: 13px;
  background: #f0c33c;
  border: 1px solid #dba617;
  color: #4a3200;
  font-weight: 600;
  border-radius: 4px;
  padding: 1px 6px 3px;
  margin-top: -2px;
  margin-bottom: -4px;
  position: relative;
  top: -1px;
}
.ame-twm-pro-placeholder .ws-ame-postbox-content .ame-postbox-section-child:first-child {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}
.ame-twm-pro-placeholder .ws-ame-postbox-content .ame-postbox-section-child:first-child > span {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.ame-twm-placeholder-overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  background: rgba(255, 255, 255, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 75%, rgb(255, 255, 255) 95%);
  backdrop-filter: blur(1.5px);
}

.ame-twm-pro-banner {
  box-sizing: border-box;
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 380px;
  min-height: 120px;
  padding: 10px 12px 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  background: #fcf9e8;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0c33c;
  border-radius: 8px;
}
.ame-twm-pro-banner .ame-twm-pro-message {
  font-size: 14px;
  margin-bottom: 0.5em;
}
.ame-twm-pro-banner .ame-twm-upgrade-button {
  flex-grow: 0;
  align-self: center;
  background: #008a20;
  border-color: #007017;
  color: #fff;
  font-weight: 600;
}
.ame-twm-pro-banner .ame-twm-upgrade-button:hover {
  background: #00a32a;
  border-color: #008a20;
  color: #fff;
}

/*# sourceMappingURL=tweaks.css.map */
