/*****************************************/
/* Customizer control widget style
/*****************************************/
/**
 * Import configuration file with variables.
 */
.sinatra-add-widget-wrap {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.sinatra-control-wrapper.sinatra-widget-wrapper .customize-control-description {
  margin-bottom: 12px !important;
}

.sinatra-customizer-widget-form,
.sinatra-widget-tmpls {
  display: none;
}

.sinatra-add-widget::before {
  content: "\f132";
  display: inline-block;
  position: relative;
  left: -4px;
  font: normal 16px/1 dashicons;
  vertical-align: middle;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.sinatra-adding-widget #customize-preview {
  opacity: 0.4;
}

body.sinatra-adding-widget #sinatra-available-widgets {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  visibility: visible;
}

body.sinatra-adding-widget .sinatra-add-widget {
  background: #eee;
  border-color: #929793;
  color: #32373c;
  -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
          box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}

body.sinatra-adding-widget .sinatra-add-widget:before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.sinatra-widget-caption {
  padding: 0 0 0 25px;
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border-bottom: 1px solid #ddd;
}

.sinatra-widget-caption h3 {
  font-size: 14px;
  display: block;
  font-weight: 200;
  margin: 0 auto 0 0;
  padding: 0;
  line-height: 1;
}

.sinatra-widget-caption a {
  margin-left: auto;
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0 2px 0 0;
  background: #eee;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  color: #444;
  text-align: left;
  cursor: pointer;
  -webkit-transition: color .15s ease-in-out, border-color .15s ease-in-out, background .15s ease-in-out;
  transition: color .15s ease-in-out, border-color .15s ease-in-out, background .15s ease-in-out;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  text-decoration: none;
}

.sinatra-widget-caption a:before {
  font: normal 18px/1 dashicons;
  content: "\f335";
}

.sinatra-widget-caption a:hover, .sinatra-widget-caption a:focus {
  background-color: #f3f3f5;
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
}

#sinatra-available-widgets-list .sinatra-widget {
  position: relative;
  padding: 15px 15px 15px 60px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  border-left: 4px solid #fff;
  -webkit-transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
  transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
  cursor: pointer;
}

#sinatra-available-widgets-list .sinatra-widget.disabled {
  opacity: 0.5;
  pointer-events: none;
}

#sinatra-available-widgets-list .sinatra-widget .widget {
  margin: 0;
}

#sinatra-available-widgets-list .sinatra-widget .widget-top {
  border: none;
  background: inherit;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

#sinatra-available-widgets-list .sinatra-widget .widget-title {
  position: relative;
}

#sinatra-available-widgets-list .sinatra-widget .widget-title h3 {
  padding: 0 0 5px;
  font-size: 14px;
}

#sinatra-available-widgets-list .sinatra-widget .widget-title i {
  position: absolute;
  top: -3px;
  right: 100%;
  margin-right: 20px;
  width: 20px;
  height: 20px;
  color: #32373c;
  font: normal 20px/1 dashicons;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#sinatra-available-widgets-list .sinatra-widget .widget-description {
  padding: 0;
  color: #72777c;
  display: block;
  font-size: 12px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
}

#sinatra-available-widgets-list .sinatra-widget .widget-title-action button {
  display: none;
}

#sinatra-available-widgets-list .sinatra-widget:hover, #sinatra-available-widgets-list .sinatra-widget.selected, #sinatra-available-widgets-list .sinatra-widget:focus {
  background-color: #f3f3f5;
  border-bottom-color: #ccc;
  color: #0073aa;
  border-left: 4px solid #0073aa;
}

.sinatra-widget-container .widget {
  margin-bottom: 5px;
}

.sinatra-widget-container .widget:last-child {
  margin-bottom: 12px;
}

.sinatra-widget-container .widget .widget-content p {
  margin: 0 0 20px 0;
}

.sinatra-widget-container .widget .widget-content label:not(.switch-label) {
  color: #23282d;
  font-weight: 500;
  display: block;
}

.sinatra-widget-container .widget .widget-content button {
  display: inline-block;
  margin-top: 6px;
}

.sinatra-widget-container .widget .widget-content .description {
  font-size: 11px;
}

.sinatra-widget-container .widget:first-child .widget-top {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.sinatra-widget-container .widget:last-child .widget-top {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.sinatra-widget-container .widget .widget-top {
  border: 1px solid #ddd !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.sinatra-widget-container .widget .widget-top .widget-title i {
  display: none;
}

.sinatra-widget-container .widget .widget-inside {
  padding: 20px;
  border-radius: 0 0 3px 3px;
}

.sinatra-widget-container .widget.sinatra-expanded .widget-top {
  background-color: #FFF;
  border-radius: 3px 3px 0 0 !important;
}

.sinatra-widget-container .widget.sinatra-expanded .toggle-indicator {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.sinatra-widget-container .widget .widget-control-actions {
  margin-top: 15px;
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sinatra-widget-container .widget .widget-control-actions .spinner {
  margin-left: auto;
  margin-right: 0;
  visibility: visible;
}

.sinatra-widget-container .widget .widget-control-actions .widget-control-separator {
  display: inline-block;
  margin: 0 2px;
}

.sinatra-widget-container .sinatra-widget-nav-selected {
  display: none;
}

.sinatra-widget-container .sinatra-widget-nav-has-menu .sinatra-widget-nav-empty {
  display: none;
}

.sinatra-widget-container .sinatra-widget-nav-has-menu .sinatra-widget-nav-selected {
  display: block;
}
