/*--------------------------------------------------------------
# Color Palettes
--------------------------------------------------------------*/
.color-palette-transitions.duration-long * {
  -webkit-transition-duration: .5s;
          transition-duration: .5s;
}

.color-palette-transitions * {
  -webkit-transition-property: background-color, color, border-color;
  transition-property: background-color, color, border-color;
  -webkit-transition-duration: .3s;
          transition-duration: .3s;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.color-palette-transitions .menu-social a,
.color-palette-transitions .fa-stack {
  -webkit-transition: none;
  transition: none;
}

/*--------------------------------------------------------------
# Edit Buttons
--------------------------------------------------------------*/
/**
* #.# Edit buttons.
*
* Buttons are identified using "button[data-control]". Sometimes ".palette-primary button" styles
* override the button settings below, so "body" has been prepended below for specificity.
*/
button.customize-partial-edit-shortcut-button {
  display: none;
}

.customize-partial-edit-shortcuts-shown .product span.onsale {
  z-index: 2 !important;
}

#masthead .boldgrid-section .bgtfw-has-edit.btn-longshadow, .bgtfw-has-edit.btn-longshadow {
  position: static !important;
}

#masthead .boldgrid-section .bgtfw-has-edit.btn-longshadow .bgtfw-edit-button, .bgtfw-has-edit.btn-longshadow .bgtfw-edit-button {
  text-shadow: none;
}

#masthead .boldgrid-section .bgtfw-has-edit.top-button > .bgtfw-multi-edit-button, .bgtfw-has-edit.top-button > .bgtfw-multi-edit-button {
  top: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit.top-button > .bgtfw-multi-edit-button.expanded div, .bgtfw-has-edit.top-button > .bgtfw-multi-edit-button.expanded div {
  bottom: unset;
  top: 30px;
}

#masthead .boldgrid-section .bgtfw-has-edit.top-button > .bgtfw-edit-button, .bgtfw-has-edit.top-button > .bgtfw-edit-button {
  top: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit.top-button > .bgtfw-edit-button:hover div, .bgtfw-has-edit.top-button > .bgtfw-edit-button:hover div {
  left: 0px;
  right: unset;
}

#masthead .boldgrid-section .bgtfw-has-edit.left-button > .bgtfw-multi-edit-button, .bgtfw-has-edit.left-button > .bgtfw-multi-edit-button {
  left: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit.left-button > .bgtfw-multi-edit-button.expanded div, .bgtfw-has-edit.left-button > .bgtfw-multi-edit-button.expanded div {
  left: 0px;
  right: unset;
}

#masthead .boldgrid-section .bgtfw-has-edit.left-button > .bgtfw-edit-button, .bgtfw-has-edit.left-button > .bgtfw-edit-button {
  left: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit.left-button > .bgtfw-edit-button:hover div, .bgtfw-has-edit.left-button > .bgtfw-edit-button:hover div {
  left: 0px;
  right: unset;
}

#masthead .boldgrid-section .bgtfw-has-edit:hover > .bgtfw-edit-button, .bgtfw-has-edit:hover > .bgtfw-edit-button {
  background-color: #0073aa;
  color: #fff !important;
  opacity: 1;
}

#masthead .boldgrid-section .bgtfw-has-edit:hover > .bgtfw-multi-edit-button, .bgtfw-has-edit:hover > .bgtfw-multi-edit-button {
  background-color: #0073aa;
  color: #fff !important;
  opacity: 1;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-edit-button, .bgtfw-has-edit > .bgtfw-edit-button {
  position: absolute;
  width: 30px;
  padding: 5px;
  height: 30px;
  background-color: #ddd;
  bottom: -30px;
  opacity: 0.75;
  cursor: pointer;
  right: 0;
  text-decoration: none;
  color: #000 !important;
  border-radius: 4px;
  border: 0px;
  line-height: 20px;
  z-index: 300;
  font-size: 14px;
  margin: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-edit-button:hover, .bgtfw-has-edit > .bgtfw-edit-button:hover {
  background-color: #0073aa;
  color: #fff;
  opacity: 1;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-edit-button:hover ~ .bgtfw-edit-border-box, .bgtfw-has-edit > .bgtfw-edit-button:hover ~ .bgtfw-edit-border-box {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-box-shadow: inset 0 0 2px 2px #0073aa;
          box-shadow: inset 0 0 2px 2px #0073aa;
  background-color: rgba(0, 115, 170, 0.15);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-edit-button:before, .bgtfw-has-edit > .bgtfw-edit-button:before {
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 20px/1 'dashicons';
  vertical-align: top;
  content: "\f464";
  border-radius: 4px;
  border: 0px;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button, .bgtfw-has-edit > .bgtfw-multi-edit-button {
  position: absolute;
  width: 30px;
  padding: 5px;
  height: 30px;
  background-color: #ddd;
  bottom: -30px;
  opacity: 0.75;
  cursor: pointer;
  right: 0;
  text-decoration: none;
  color: #000 !important;
  border-radius: 4px;
  border: 0px;
  line-height: 20px;
  z-index: 300;
  font-size: 14px;
  margin: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item, .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  min-width: calc(100% - 10px);
  padding: 5px;
  margin: 5px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  text-transform: none;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item:hover, .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item:hover {
  background-color: #0073aa;
  color: #fff !important;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item:not(:last-child), .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item span.edit-label, .bgtfw-has-edit > .bgtfw-multi-edit-button .bgtfw-edit-item span.edit-label {
  font-weight: 600;
  text-align: left;
  width: 100%;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  padding-left: 0;
  text-transform: none;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button:hover, #masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded, .bgtfw-has-edit > .bgtfw-multi-edit-button:hover, .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded {
  background-color: #0073aa;
  color: #fff !important;
  opacity: 1;
  z-index: 301;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button:hover ~ .bgtfw-edit-border-box, #masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded ~ .bgtfw-edit-border-box, .bgtfw-has-edit > .bgtfw-multi-edit-button:hover ~ .bgtfw-edit-border-box, .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded ~ .bgtfw-edit-border-box {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-box-shadow: inset 0 0 2px 2px #0073aa;
          box-shadow: inset 0 0 2px 2px #0073aa;
  background-color: rgba(0, 115, 170, 0.15);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded:before, .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded:before {
  content: "\f158";
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded div, .bgtfw-has-edit > .bgtfw-multi-edit-button.expanded div {
  display: block;
  position: absolute;
  bottom: 30px;
  right: 0px;
  width: auto;
  list-style: none;
  background-color: #f8f8f8;
  color: black !important;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button:before, .bgtfw-has-edit > .bgtfw-multi-edit-button:before {
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 20px/1 'dashicons';
  vertical-align: top;
  content: "\f464";
  border-radius: 4px;
  border: 0px;
}

#masthead .boldgrid-section .bgtfw-has-edit > .bgtfw-multi-edit-button > div, .bgtfw-has-edit > .bgtfw-multi-edit-button > div {
  display: none;
}

/**
* #.# jQuery UI Dialog.
*
* Custom settings for our jQuery UI Dialog, which is used for notices, such as when trying to edit
* a page's content.
*/
/* By default, ensure the dialog is hidden. */
.dialog-hidden {
  display: none;
}

body div.ui-widget-overlay {
  background: unset;
  background-color: #000;
  opacity: 0.7;
}

/* Generic settings to ensure a theme's css does not interfere with dialog. */
.bgtfw-edit-dialog.ui-dialog {
  color: #000;
  max-width: 95%;
  font-family: Helvetica;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  /* Mimic wp-core-ui's button-primary */
}

.bgtfw-edit-dialog.ui-dialog .ui-widget-content {
  padding: 16px;
}

.bgtfw-edit-dialog.ui-dialog .ui-button {
  color: #555;
}

.bgtfw-edit-dialog.ui-dialog .ui-dialog-titlebar.ui-widget-header {
  background: #fff;
  border: unset;
  border-bottom: 1px solid #dcdcde;
  height: 36px;
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  padding: 0 36px 0 16px;
  border-radius: unset;
}

.bgtfw-edit-dialog.ui-dialog .ui-dialog-titlebar-close {
  height: 100%;
  float: right;
  background: transparent;
  margin-right: -35px;
  border: 0px;
  border-left: 1px solid #ddd;
}

.bgtfw-edit-dialog.ui-dialog .ui-dialog-buttonset button {
  font-size: 13px;
  line-height: 26px;
  height: 28px;
  margin: 0;
  padding: 0 10px 1px;
  border-width: 1px;
  -webkit-appearance: none;
  border-radius: 3px;
  white-space: nowrap;
}

.bgtfw-edit-dialog.ui-dialog .ui-dialog-buttonset button:first-of-type {
  background: #0085ba;
  border-color: #0073aa #006799 #006799;
  -webkit-box-shadow: 0 1px 0 #006799;
  box-shadow: 0 1px 0 #006799;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
  margin-right: 5px;
}

.bgtfw-edit-dialog .bgtfw-dialog-question {
  text-align: center;
  font-style: italic;
  color: #555d66;
  margin-top: 26px;
}
