/* GTK NAMED COLORS */
@define-color theme_fg_color #000;
@define-color theme_bg_color #fff;
@define-color theme_base_color #fff;
@define-color theme_selected_bg_color #000;
@define-color theme_selected_fg_color #fff;
@define-color insensitive_bg_color white;
@define-color insensitive_fg_color #7f7f7f;
@define-color insensitive_base_color #fff;
@define-color theme_unfocused_fg_color #000;
@define-color theme_unfocused_bg_color #fff;
@define-color theme_unfocused_base_color #fff;
@define-color theme_unfocused_selected_bg_color #000;
@define-color theme_unfocused_selected_fg_color #fff;
@define-color borders #7f7f7f;
@define-color unfocused_borders #8b8b8b;
@define-color warning_color #f57900;
@define-color error_color #cc0000;
@define-color success_color #73d216;
@define-color wm_title shade(#000, 1.8);
@define-color wm_unfocused_title #000;
@define-color wm_highlight #fff;
@define-color wm_borders_edge #fff;
@define-color wm_bg_a shade(#fff, 1.2);
@define-color wm_bg_b #fff;
@define-color wm_shadow alpha(black, 0.35);
@define-color wm_border alpha(black, 0.18);
@define-color wm_button_hover_color_a shade(#fff, 1.3);
@define-color wm_button_hover_color_b #fff;
@define-color wm_button_active_color_a shade(#fff, 0.85);
@define-color wm_button_active_color_b shade(#fff, 0.89);
@define-color wm_button_active_color_c shade(#fff, 0.9);
@define-color content_view_bg #fff;
* {
  padding: 0;
  -GtkToolButton-icon-spacing: 4;
  -GtkTextView-error-underline-color: #cc0000;
  -GtkPaned-handle-size: 1;
  -gtk-icon-style: symbolic;
  -GtkCheckButton-indicator-size: 16;
  -GtkCheckMenuItem-indicator-size: 16;
  -GtkScrolledWindow-scrollbar-spacing: 0;
  -GtkScrolledWindow-scrollbars-within-bevel: 1;
  -GtkToolItemGroup-expander-size: 11;
  -GtkExpander-expander-size: 16;
  -GtkTreeView-horizontal-separator: 4;
  -GtkMenu-horizontal-padding: 0;
  -GtkMenu-vertical-padding: 0;
  -GtkWidget-link-color: #000;
  -GtkWidget-visited-link-color: #000;
  -GtkWidget-focus-padding: 2;
  -GtkWidget-focus-line-width: 1;
  -GtkDialog-button-spacing: 4;
  -GtkDialog-action-area-border: 0;
  -GtkStatusbar-shadow-type: none;
  outline-color: rgba(0, 0, 0, 0.3);
  outline-style: dashed;
  outline-offset: -3px;
  outline-width: 1px;
  outline-radius: 2px; }

/***************
 * Base States *
 ***************/
.background {
  color: #000;
  background-color: #fff; }

.background:backdrop {
  text-shadow: none;
  icon-shadow: none;
  color: #1a1a1a;
  background-color: #fff; }

/*
   These wildcard seems unavoidable, need to investigate.
   Wildcards are bad and troublesome, use them with care,
   or better, just don't.
   Everytime a wildcard is used a kitten dies, painfully.
*/
*:insensitive {
  -gtk-image-effect: dim; }

.gtkstyle-fallback {
  background-color: #fff;
  color: #000; }
  .gtkstyle-fallback:prelight {
    background-color: white;
    color: #000; }
  .gtkstyle-fallback:active {
    background-color: #e6e6e6;
    color: #000; }
  .gtkstyle-fallback:insensitive {
    background-color: white;
    color: #7f7f7f; }
  .gtkstyle-fallback:selected {
    background-color: #000;
    color: #fff; }

.view {
  color: #000;
  background-color: #fff; }
  .view:backdrop {
    color: #000;
    background-color: #fff; }

.rubberband, GtkTreeView.view.rubberband {
  border: 1px solid #000;
  background-color: rgba(0, 0, 0, 0.2); }

.overshoot.top {
  background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(black), to(transparent)), -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(0, 0, 0, 0.5)), to(transparent));
  background-size: 100% 5%, 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: none;
  box-shadow: none; }
  .overshoot.top:backdrop {
    background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(#8b8b8b), to(rgba(139, 139, 139, 0)));
    background-size: 100% 5%;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: transparent;
    border: none;
    box-shadow: none; }
.overshoot.bottom {
  background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(black), to(transparent)), -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(0, 0, 0, 0.5)), to(transparent));
  background-size: 100% 5%, 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  border: none;
  box-shadow: none; }
  .overshoot.bottom:backdrop {
    background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(#8b8b8b), to(rgba(139, 139, 139, 0)));
    background-size: 100% 5%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: transparent;
    border: none;
    box-shadow: none; }
.overshoot.left {
  background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(black), to(transparent)), -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(0, 0, 0, 0.5)), to(transparent));
  background-size: 5% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  background-color: transparent;
  border: none;
  box-shadow: none; }
  .overshoot.left:backdrop {
    background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(#8b8b8b), to(rgba(139, 139, 139, 0)));
    background-size: 5% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    background-color: transparent;
    border: none;
    box-shadow: none; }
.overshoot.right {
  background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(black), to(transparent)), -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(0, 0, 0, 0.5)), to(transparent));
  background-size: 5% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: transparent;
  border: none;
  box-shadow: none; }
  .overshoot.right:backdrop {
    background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(#8b8b8b), to(rgba(139, 139, 139, 0)));
    background-size: 5% 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-color: transparent;
    border: none;
    box-shadow: none; }

.label:insensitive, .label:backdrop:insensitive {
  color: #7f7f7f; }

/*********************
 * Spinner Animation *
 *********************/
@keyframes spin {
  to {
    -gtk-icon-transform: rotate(1turn); } }
.spinner {
  background-image: none;
  background-color: blue;
  opacity: 0;
  -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); }
  .spinner:active {
    opacity: 1;
    animation: spin 1s linear infinite; }
    .spinner:active:insensitive {
      opacity: 0.5; }

/****************
 * Text Entries *
 ****************/
.entry {
  padding: 7px 4px;
  border-radius: 3px;
  border-width: 1px;
  transition: all 200ms ease-out;
  background-color: transparent;
  border-style: solid;
  background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
  border-color: #7f7f7f;
  box-shadow: inset 0 2px 2px -2px #7f7f7f; }
  .entry.flat, .entry.flat:focus {
    padding: 2px;
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    border-color: #7f7f7f;
    box-shadow: inset 0 2px 2px -2px #7f7f7f;
    border: none;
    border-radius: 0; }
  .entry:focus {
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    border-color: #000;
    box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #cccccc; }
  .entry:insensitive {
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    color: #7f7f7f;
    border-color: #7f7f7f;
    background-image: linear-gradient(to bottom, white);
    box-shadow: none; }
  .entry:backdrop {
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    color: #000;
    background-image: linear-gradient(to bottom, #fff);
    box-shadow: 0 1px rgba(255, 255, 255, 0); }
  .entry:backdrop:insensitive {
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    color: #7f7f7f;
    background-image: linear-gradient(to bottom, #fff);
    box-shadow: 0 1px rgba(255, 255, 255, 0); }
  .entry:selected, .entry:backdrop:selected {
    background-color: #000;
    color: #fff; }
  .entry.progressbar {
    margin: 1px;
    border-radius: 0;
    border-width: 0 0 2px;
    border-color: #000;
    border-style: solid;
    background-image: none;
    background-color: transparent;
    box-shadow: none; }
    .entry.progressbar:backdrop {
      background-color: transparent; }
  .linked .entry:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0; }
    .linked .entry:first-child:dir(rtl) {
      border-right-style: none; }
  .linked .entry:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left-style: none; }
    .linked .entry:last-child:dir(rtl) {
      border-left-style: solid; }
  .linked.vertical .entry {
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    border-color: #7f7f7f;
    box-shadow: inset 0 2px 2px -2px #7f7f7f;
    background-image: linear-gradient(to bottom, #fff);
    border-bottom-color: #d8d8d8;
    box-shadow: none; }
    .linked.vertical .entry:focus {
      border-color: #000;
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 -1px 0 0 #000; }
    .linked.vertical .entry:insensitive {
      background-color: transparent;
      border-style: solid;
      background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
      color: #7f7f7f;
      border-color: #7f7f7f;
      background-image: linear-gradient(to bottom, white);
      box-shadow: none;
      border-bottom-color: #d8d8d8; }
      .linked.vertical .entry:insensitive:backdrop {
        background-color: transparent;
        border-style: solid;
        background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
        color: #7f7f7f;
        background-image: linear-gradient(to bottom, #fff);
        box-shadow: 0 1px rgba(255, 255, 255, 0);
        border-bottom-color: gainsboro; }
    .linked.vertical .entry:backdrop {
      background-color: transparent;
      border-style: solid;
      background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
      color: #000;
      background-image: linear-gradient(to bottom, #fff);
      box-shadow: 0 1px rgba(255, 255, 255, 0);
      border-bottom-color: gainsboro; }
    .linked.vertical .entry:first-child {
      background-color: transparent;
      border-style: solid;
      background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
      border-color: #7f7f7f;
      box-shadow: inset 0 2px 2px -2px #7f7f7f;
      border-bottom-color: #d8d8d8; }
      .linked.vertical .entry:first-child:focus {
        background-color: transparent;
        border-style: solid;
        background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
        border-color: #000;
        box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #cccccc; }
      .linked.vertical .entry:first-child:insensitive {
        background-color: transparent;
        border-style: solid;
        background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
        color: #7f7f7f;
        border-color: #7f7f7f;
        background-image: linear-gradient(to bottom, white);
        box-shadow: none;
        border-bottom-color: gainsboro; }
        .linked.vertical .entry:first-child:insensitive:backdrop {
          background-color: transparent;
          border-style: solid;
          background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
          color: #7f7f7f;
          background-image: linear-gradient(to bottom, #fff);
          box-shadow: 0 1px rgba(255, 255, 255, 0);
          border-bottom-color: gainsboro;
          border-top-style: solid; }
      .linked.vertical .entry:first-child:backdrop {
        background-color: transparent;
        border-style: solid;
        background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
        color: #000;
        background-image: linear-gradient(to bottom, #fff);
        box-shadow: 0 1px rgba(255, 255, 255, 0);
        border-bottom-color: gainsboro; }
    .linked.vertical .entry:last-child {
      background-color: transparent;
      border-style: solid;
      background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
      border-color: #7f7f7f;
      box-shadow: inset 0 2px 2px -2px #7f7f7f;
      border-top-width: 0;
      background-image: linear-gradient(to bottom, #fff);
      box-shadow: none; }
      .linked.vertical .entry:last-child:focus {
        border-color: #000;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 -1px 0 0 #000; }
      .linked.vertical .entry:last-child:insensitive {
        background-color: transparent;
        border-style: solid;
        background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
        color: #7f7f7f;
        border-color: #7f7f7f;
        background-image: linear-gradient(to bottom, white);
        box-shadow: none; }
        .linked.vertical .entry:last-child:insensitive:backdrop {
          background-color: transparent;
          border-style: solid;
          background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
          color: #7f7f7f;
          background-image: linear-gradient(to bottom, #fff);
          box-shadow: 0 1px rgba(255, 255, 255, 0); }
      .linked.vertical .entry:last-child:backdrop {
        background-color: transparent;
        border-style: solid;
        background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
        color: #000;
        background-image: linear-gradient(to bottom, #fff);
        box-shadow: 0 1px rgba(255, 255, 255, 0); }
  .entry.error {
    color: #cc0000;
    border-color: #cc0000; }
    .entry.error:focus {
      background-color: transparent;
      border-style: solid;
      background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
      border-color: #cc0000;
      box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #f4cccc; }
    .entry.error:selected, .entry.error:selected:focus {
      background-color: #cc0000; }
  .entry.warning {
    color: #f57900;
    border-color: #f57900; }
    .entry.warning:focus {
      background-color: transparent;
      border-style: solid;
      background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
      border-color: #f57900;
      box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #fde4cc; }
    .entry.warning:selected, .entry.warning:selected:focus {
      background-color: #f57900; }

/***********
 * Buttons *
 ***********/
@keyframes needs_attention {
  from {
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#000), to(transparent)); }
  to {
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#000), to(transparent)); } }
.button {
  border-radius: 3px;
  transition: all 200ms ease-out;
  padding: 4px 6px;
  border-width: 2px;
  border-style: solid;
  color: #000;
  background-image: none;
  background-color: #fff;
  border-color: #7f7f7f; }
  .button:hover, .button.flat:hover, .sidebar-button.button:hover {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-color: #fff;
    border-color: #7f7f7f;
    background-image: none;
    -gtk-image-effect: highlight; }
  .button:active, .button.flat:active, .sidebar-button.button:active, .button:checked, .button.flat:checked, .sidebar-button.button:checked {
    border-width: 2px;
    border-style: solid;
    background-image: none;
    color: white;
    background-color: black;
    border-color: #7f7f7f;
    transition-duration: 50ms; }
  .button:backdrop, .button.flat:backdrop, .sidebar-button.button:backdrop {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-color: #fff;
    border-color: #8b8b8b;
    background-image: none;
    text-shadow: none;
    icon-shadow: none; }
    .button:backdrop:active, .button:backdrop:checked, .button.flat:backdrop:active, .sidebar-button.button:backdrop:active, .button.flat:backdrop:checked, .sidebar-button.button:backdrop:checked {
      border-width: 2px;
      border-style: solid;
      color: white;
      background-color: #8b8b8b;
      border-color: #8b8b8b;
      background-image: none; }
    .button:backdrop:insensitive, .button.flat:backdrop:insensitive, .sidebar-button.button:backdrop:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #8b8b8b;
      background-image: none; }
    .button:backdrop:insensitive:active, .button.flat:backdrop:insensitive:active, .sidebar-button.button:backdrop:insensitive:active {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      border-color: #8b8b8b;
      background-image: none;
      background-color: whitesmoke; }
  .button:insensitive {
    border-width: 2px;
    border-style: solid;
    color: #7f7f7f;
    background-color: white;
    border-color: #7f7f7f;
    background-image: none;
    text-shadow: none;
    icon-shadow: none; }
    .button:insensitive:active, .button:insensitive.flat:active, .sidebar-button.button:insensitive:active {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      border-color: #7f7f7f;
      background-image: none;
      background-color: white; }
  .osd .button {
    padding: 6px;
    border-width: 1px 1px 2px 1px;
    border-width: 2px;
    border-style: solid;
    color: #fff;
    background-image: none;
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none; }
    .osd .button:hover {
      border-width: 2px;
      border-style: solid;
      color: #fff;
      background-color: rgba(77, 77, 77, 0.8);
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: none; }
    .osd .button:active, .osd .button:checked {
      border-width: 2px;
      border-style: solid;
      color: rgba(0, 0, 0, 0.8);
      background-color: #fff;
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: none; }
    .osd .button:insensitive {
      border-width: 2px;
      border-style: solid;
      border-color: rgba(255, 255, 255, 0.2);
      color: #7f7f7f; }
    .osd .button:backdrop {
      border-width: 2px;
      border-style: solid; }
  .button.suggested-action {
    border-width: 2px;
    border-style: solid;
    color: white;
    background-image: none;
    background-color: #4a90d9;
    border-color: #1c5187; }
    .button.suggested-action:hover {
      border-width: 2px;
      border-style: solid;
      color: white;
      background-color: #4a90d9;
      border-color: #1c5187;
      background-image: none; }
    .button.suggested-action:active, .button.suggested-action:checked {
      border-width: 2px;
      border-style: solid;
      background-image: none;
      color: black;
      background-color: #b56f26;
      border-color: #1c5187; }
    .button.suggested-action:backdrop {
      border-width: 2px;
      border-style: solid;
      color: white;
      background-color: #4a90d9;
      border-color: #4a90d9;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
      .button.suggested-action:backdrop:insensitive {
        border-width: 2px;
        border-style: solid;
        color: #7f7f7f;
        background-color: white;
        border-color: #8b8b8b;
        background-image: none; }
    .button.suggested-action:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #7f7f7f;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
  .button.destructive-action {
    border-width: 2px;
    border-style: solid;
    color: white;
    background-image: none;
    background-color: #ef2929;
    border-color: #8e0b0b; }
    .button.destructive-action:hover {
      border-width: 2px;
      border-style: solid;
      color: white;
      background-color: #ef2929;
      border-color: #8e0b0b;
      background-image: none; }
    .button.destructive-action:active, .button.destructive-action:checked {
      border-width: 2px;
      border-style: solid;
      background-image: none;
      color: black;
      background-color: #10d6d6;
      border-color: #8e0b0b; }
    .button.destructive-action:backdrop {
      border-width: 2px;
      border-style: solid;
      color: white;
      background-color: #ef2929;
      border-color: #ef2929;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
      .button.destructive-action:backdrop:insensitive {
        border-width: 2px;
        border-style: solid;
        color: #7f7f7f;
        background-color: white;
        border-color: #8b8b8b;
        background-image: none; }
    .button.destructive-action:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #7f7f7f;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
  .button.image-button {
    padding: 8px; }
  .button.text-button {
    padding: 6px 8px 5px; }
  .inline-toolbar .button, .inline-toolbar .button:backdrop {
    border-radius: 2px;
    border-width: 1px; }
  .primary-toolbar .button {
    icon-shadow: none; }

.inline-toolbar GtkToolButton > .button {
  border-width: 2px;
  border-style: solid;
  color: #000;
  background-image: none;
  background-color: #fff;
  border-color: #7f7f7f; }
  .inline-toolbar GtkToolButton > .button:hover {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-color: #fff;
    border-color: #7f7f7f;
    background-image: none; }
  .inline-toolbar GtkToolButton > .button:active {
    border-width: 2px;
    border-style: solid;
    background-image: none;
    color: white;
    background-color: black;
    border-color: #7f7f7f; }
  .inline-toolbar GtkToolButton > .button:insensitive {
    border-width: 2px;
    border-style: solid;
    color: #7f7f7f;
    background-color: white;
    border-color: #7f7f7f;
    background-image: none;
    text-shadow: none;
    icon-shadow: none; }
  .inline-toolbar GtkToolButton > .button:insensitive:active {
    border-width: 2px;
    border-style: solid;
    color: #7f7f7f;
    border-color: #7f7f7f;
    background-image: none;
    background-color: white; }
  .inline-toolbar GtkToolButton > .button:backdrop {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-color: #fff;
    border-color: #8b8b8b;
    background-image: none;
    text-shadow: none;
    icon-shadow: none; }
  .inline-toolbar GtkToolButton > .button:backdrop:active {
    border-width: 2px;
    border-style: solid;
    color: white;
    background-color: #8b8b8b;
    border-color: #8b8b8b;
    background-image: none; }
  .inline-toolbar GtkToolButton > .button:backdrop:insensitive {
    border-width: 2px;
    border-style: solid;
    color: #7f7f7f;
    background-color: white;
    border-color: #8b8b8b;
    background-image: none; }
  .inline-toolbar GtkToolButton > .button:backdrop:insensitive:active {
    border-width: 2px;
    border-style: solid;
    color: #7f7f7f;
    border-color: #8b8b8b;
    background-image: none;
    background-color: whitesmoke; }

.inline-toolbar.toolbar GtkToolButton > .button.flat, .inline-toolbar.toolbar GtkToolButton > .sidebar-button.button {
  border-radius: 0;
  border-left-style: none; }
.inline-toolbar.toolbar GtkToolButton:first-child > .button.flat, .inline-toolbar.toolbar GtkToolButton:first-child > .sidebar-button.button {
  border-radius: 3px 0 0 3px;
  border-left-style: solid; }
.inline-toolbar.toolbar GtkToolButton:last-child > .button.flat, .inline-toolbar.toolbar GtkToolButton:last-child > .sidebar-button.button {
  border-radius: 0 3px 3px 0; }
.inline-toolbar.toolbar GtkToolButton:last-child:dir(rtl) > .button.flat, .inline-toolbar.toolbar GtkToolButton:last-child:dir(rtl) > .sidebar-button.button {
  border-right-style: solid; }
.inline-toolbar.toolbar GtkToolButton:only-child > .button.flat, .inline-toolbar.toolbar GtkToolButton:only-child > .sidebar-button.button {
  border-radius: 3px;
  border-style: solid; }

.sidebar-item.needs-attention > .label {
  animation: needs_attention 150ms ease-in;
  background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#000), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(#000), to(transparent));
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-position: right 3px, right 4px; }
  .sidebar-item.needs-attention > .label:backdrop {
    background-size: 6px 6px, 0 0; }
  .sidebar-item.needs-attention > .label:dir(rtl) {
    background-position: left 3px, left 4px; }

.osd .button, .osd .button:hover, .osd .button:active, .osd .button:checked, .osd .button:insensitive, .osd .button:backdrop, .inline-toolbar .button, .inline-toolbar .button:backdrop, .linked > .button, .linked > .button:hover, .linked > .button:active, .linked > .button:checked, .linked > .button:backdrop, .linked > GtkComboBox > .button:dir(ltr) {
  border-radius: 0;
  border-left-style: none; }
  .osd .button:dir(rtl), .inline-toolbar .button:dir(rtl), .linked > .button:dir(rtl), .linked > GtkComboBox > .button:dir(rtl) {
    border-radius: 0;
    border-right-style: none;
    border-left-style: solid; }

.osd .button:first-child, .inline-toolbar .button:first-child, .linked > .button:first-child, .linked > GtkComboBox:first-child > .button {
  border-radius: 3px 0 0 3px;
  border-left-style: solid; }
.osd .button:last-child, .inline-toolbar .button:last-child, .linked > .button:last-child, .linked > GtkComboBox:last-child > .button {
  border-radius: 0 3px 3px 0; }
  .osd .button:last-child:dir(rtl), .inline-toolbar .button:last-child:dir(rtl), .linked > .button:last-child:dir(rtl), .linked > GtkComboBox:last-child > .button:dir(rtl) {
    border-right-style: solid; }
.osd .button:only-child, .inline-toolbar .button:only-child, .linked > .button:only-child, .linked > GtkComboBox:only-child > .button {
  border-radius: 3px;
  border-style: solid; }

.linked.vertical .entry, .linked.vertical .entry:focus, .linked.vertical .entry:insensitive, .linked.vertical .entry:insensitive:backdrop, .linked.vertical .entry:backdrop, .linked.vertical > .button, .linked.vertical > .button:hover, .linked.vertical > .button:active, .linked.vertical > .button:checked, .linked.vertical > .button:backdrop, .linked.vertical > GtkComboBoxText > .button,
.linked.vertical > GtkComboBox > .button {
  border-left-style: solid;
  border-top-style: none;
  border-radius: 0; }

.linked.vertical .entry:first-child, .linked.vertical > .button:first-child, .linked.vertical > GtkComboBoxText:first-child > .button,
.linked.vertical > GtkComboBox:first-child > .button {
  border-style: solid;
  border-radius: 3px 3px 0 0; }
.linked.vertical .entry:last-child, .linked.vertical > .button:last-child, .linked.vertical > GtkComboBoxText:last-child > .button,
.linked.vertical > GtkComboBox:last-child > .button {
  border-radius: 0 0 3px 3px; }
.linked.vertical .entry:only-child, .linked.vertical > .button:only-child, .linked.vertical > GtkComboBoxText:only-child > .button,
.linked.vertical > GtkComboBox:only-child > .button {
  border-radius: 3px;
  border-style: solid; }

.button.flat, .sidebar-button.button, .button.flat:backdrop, .sidebar-button.button:backdrop, .button.flat:insensitive:backdrop, .sidebar-button.button:insensitive:backdrop, .menuitem.button.flat, .menuitem.sidebar-button.button, .menuitem.button.flat:backdrop, .menuitem.sidebar-button.button:backdrop, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.activatable,
.list-row.activatable:backdrop,
.list-row.activatable:backdrop:active,
.list-row.activatable:backdrop:checked,
.list-row.activatable:backdrop:insensitive,
.list-row.activatable:backdrop:insensitive:active,
.list-row.activatable:backdrop:insensitive:checked,
.list-row.activatable:insensitive:active,
.list-row.activatable:insensitive:checked, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  text-shadow: none;
  icon-shadow: none; }

/* menu buttons */
.menuitem.button.flat, .menuitem.sidebar-button.button {
  outline-offset: -1px; }
  .menuitem.button.flat:backdrop, .menuitem.sidebar-button.button:backdrop {
    color: #000; }
    .menuitem.button.flat:backdrop:hover, .menuitem.sidebar-button.button:backdrop:hover {
      color: #fff;
      background-color: #000; }
  .menuitem.button.flat:insensitive, .menuitem.sidebar-button.button:insensitive {
    color: #7f7f7f; }

GtkColorButton.button {
  padding: 4px; }

/*********
 * Links *
 *********/
*:link {
  color: #000; }
  *:link:hover, *:link:active, *:link:visited {
    color: black; }
  *:link:backdrop, *:link:backdrop:hover {
    color: #000; }

.button:link, .button:visited {
  color: #4a90d9;
  font-weight: bold;
  text-shadow: none; }
  .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active {
    color: black;
    text-shadow: none; }
  .button:link:backdrop, .button:visited:backdrop {
    color: #000; }

/*****************
 * GtkSpinButton *
 *****************/
.spinbutton {
  /* This is to fix spinbuttons in entries, but I feel like hiding code issues
   * hence it's commented atm.
   *  GtkTreeView & {
   *   &.entry, &.entry:focus {
   *     padding: 1px;
   *     border-width: 1px 0;
   *     border-color: $selected_bg_color;
   *     border-radius: 0;
   *     box-shadow: none;
   *   }
   * }
   */ }
  .spinbutton .button {
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    border-color: #7f7f7f;
    box-shadow: inset 0 2px 2px -2px #7f7f7f;
    background-image: none;
    border-width: 0 0 0 1px;
    border-color: rgba(127, 127, 127, 0.3);
    color: #0c0c0c;
    border-radius: 0; }
    .spinbutton .button:dir(rtl) {
      border-width: 0 1px 0 0; }
    .spinbutton .button:hover {
      color: #000;
      background-color: rgba(0, 0, 0, 0.05); }
    .spinbutton .button:insensitive {
      box-shadow: none;
      color: rgba(127, 127, 127, 0.3); }
    .spinbutton .button:active {
      box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2);
      background-color: rgba(0, 0, 0, 0.1); }
    .spinbutton .button:backdrop {
      border-color: rgba(139, 139, 139, 0.3);
      background-color: #fff;
      box-shadow: none; }
    .spinbutton .button:backdrop:insensitive {
      box-shadow: none;
      color: rgba(127, 127, 127, 0.3);
      border-width: 0 0 0 1px; }
      .spinbutton .button:backdrop:insensitive:dir(rtl) {
        border-width: 0 1px 0 0; }
  .spinbutton.vertical .button:first-child {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-image: none;
    background-color: #fff;
    border-color: #7f7f7f; }
    .spinbutton.vertical .button:first-child:active {
      border-width: 2px;
      border-style: solid;
      background-image: none;
      color: white;
      background-color: black;
      border-color: #7f7f7f; }
    .spinbutton.vertical .button:first-child:hover {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #7f7f7f;
      background-image: none; }
    .spinbutton.vertical .button:first-child:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #7f7f7f;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
    .spinbutton.vertical .button:first-child:backdrop {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #8b8b8b;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
  .spinbutton.vertical .button:last-child {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-image: none;
    background-color: #fff;
    border-color: #7f7f7f; }
    .spinbutton.vertical .button:last-child:active {
      border-width: 2px;
      border-style: solid;
      background-image: none;
      color: white;
      background-color: black;
      border-color: #7f7f7f; }
    .spinbutton.vertical .button:last-child:hover {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #7f7f7f;
      background-image: none; }
    .spinbutton.vertical .button:last-child:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #7f7f7f;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
    .spinbutton.vertical .button:last-child:backdrop {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #8b8b8b;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
  .spinbutton.vertical .button:backdrop:insensitive {
    border-width: 2px;
    border-style: solid;
    color: #7f7f7f;
    background-color: white;
    border-color: #8b8b8b;
    background-image: none; }
  .spinbutton.vertical.entry {
    border-radius: 0; }
  .spinbutton.vertical .button:first-child, .spinbutton.vertical .button:first-child:active, .spinbutton.vertical .button:first-child:hover, .spinbutton.vertical .button:first-child:insensitive, .spinbutton.vertical .button:first-child:backdrop {
    border-radius: 3px 3px 0 0;
    border-bottom-width: 0; }
  .spinbutton.vertical .button:last-child, .spinbutton.vertical .button:last-child:active, .spinbutton.vertical .button:last-child:hover, .spinbutton.vertical .button:last-child:insensitive, .spinbutton.vertical .button:last-child:backdrop {
    border-radius: 0 0 3px 3px;
    border-top-width: 0; }

/**************
 * ComboBoxes *
 **************/
GtkComboBox {
  padding: 0;
  -GtkComboBox-arrow-scaling: 0.5;
  -GtkComboBox-shadow-type: none;
  box-shadow: 0 1px #fff;
  text-shadow: 0 1px white;
  icon-shadow: 0 1px white; }
  GtkComboBox:insensitive {
    color: #7f7f7f;
    text-shadow: none;
    icon-shadow: none; }
  GtkComboBox:backdrop {
    color: #000;
    text-shadow: none;
    icon-shadow: none; }
  GtkComboBox:backdrop:insensitive {
    color: #7f7f7f; }
  GtkComboBox .menuitem {
    text-shadow: none; }
  GtkComboBox .separator.vertical, GtkComboBox GtkPlacesSidebar.sidebar .view .vertical.separator, GtkPlacesSidebar.sidebar .view GtkComboBox .vertical.separator {
    -GtkWidget-wide-separators: true; }
  GtkComboBox.combobox-entry .entry {
    border-radius: 3px 0 0 3px; }
    GtkComboBox.combobox-entry .entry:dir(rtl) {
      border-radius: 0 3px 3px 0; }
  GtkComboBox.combobox-entry .button, GtkComboBox.combobox-entry .button:backdrop {
    border-radius: 0 3px 3px 0;
    border-left-style: none; }
    GtkComboBox.combobox-entry .button:dir(rtl), GtkComboBox.combobox-entry .button:backdrop:dir(rtl) {
      border-radius: 3px 0 0 3px;
      border-left-style: solid;
      border-right-style: none; }

/************
 * Toolbars *
 ************/
.toolbar {
  padding: 6px;
  background-color: #fff; }
  .toolbar.osd {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    padding: 12px; }
    .toolbar.osd .label {
      color: #fff; }
  .toolbar.inline-toolbar {
    border-width: 0 1px 1px;
    padding: 3px;
    border-radius: 0  0 4px 4px; }
  .toolbar.search-bar {
    border-width: 0 0 1px;
    padding: 3px; }
  .toolbar.vertical {
    border-right: 1px solid #7f7f7f; }
    .toolbar.vertical:dir(rtl) {
      border-right: none;
      border-left: 1px solid #7f7f7f; }

.toolbar.inline-toolbar, .toolbar.search-bar {
  border-style: solid;
  border-color: #7f7f7f;
  background-color: #d8d8d8;
  box-shadow: inset 0 2px 3px -1px #a2a2a2; }
  .toolbar.inline-toolbar:backdrop, .toolbar.search-bar:backdrop {
    border-color: #8b8b8b;
    background-color: #d6d6d6;
    box-shadow: none; }

/***************
 * Header bars *
 ***************/
.titlebar,
.header-bar {
  border-width: 0 0 1px;
  border-style: solid;
  border-color: #7f7f7f;
  border-radius: 7px 7px 0 0;
  background-color: transparent;
  background-image: linear-gradient(to bottom, white, #fff);
  box-shadow: inset 0 -1px #d8d8d8, inset 0 1px #fff;
  padding: 6px; }
  .titlebar:backdrop,
  .header-bar:backdrop {
    border-color: #8b8b8b;
    background-color: #fff;
    background-image: none;
    box-shadow: none; }
  .titlebar .title,
  .header-bar .title {
    font: Bold;
    padding: 0px 12px; }
  .titlebar .subtitle,
  .header-bar .subtitle {
    font-size: 80%;
    padding: 0 12px; }
  .titlebar .header-bar-separator, .titlebar > GtkBox > .separator.vertical,
  GtkPlacesSidebar.sidebar .view .titlebar > GtkBox > .vertical.separator:backdrop,
  .header-bar .header-bar-separator,
  .header-bar > GtkBox > .separator.vertical,
  GtkPlacesSidebar.sidebar .view .header-bar > GtkBox > .vertical.separator:backdrop {
    -GtkWidget-wide-separators: true;
    -GtkWidget-separator-width: 1px;
    border-width: 0 1px;
    border-color: #000;
    border-style: solid; }
  .titlebar.selection-mode,
  .header-bar.selection-mode {
    color: black;
    text-shadow: 0 1px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(to bottom, #0d0d0d, #050505);
    box-shadow: inset 0 -1px #d8d8d8, inset 0 1px #7f7f7f; }
    .titlebar.selection-mode .button,
    .header-bar.selection-mode .button {
      border-width: 2px;
      border-style: solid;
      color: #fff;
      background-image: none;
      background-color: #000;
      border-color: black; }
      .titlebar.selection-mode .button:hover,
      .header-bar.selection-mode .button:hover {
        border-width: 2px;
        border-style: solid;
        color: #fff;
        background-color: #000;
        border-color: black;
        background-image: none; }
      .titlebar.selection-mode .button:active,
      .header-bar.selection-mode .button:active {
        border-width: 2px;
        border-style: solid;
        background-image: none;
        color: black;
        background-color: white;
        border-color: black; }
      .titlebar.selection-mode .button:insensitive,
      .header-bar.selection-mode .button:insensitive {
        border-width: 2px;
        border-style: solid;
        color: #7f7f7f;
        background-color: white;
        border-color: #7f7f7f;
        background-image: none;
        text-shadow: none;
        icon-shadow: none; }
      .titlebar.selection-mode .button:backdrop,
      .header-bar.selection-mode .button:backdrop {
        border-width: 2px;
        border-style: solid;
        color: #fff;
        background-color: #000;
        border-color: #000;
        background-image: none;
        text-shadow: none;
        icon-shadow: none;
        border-color: black; }
      .titlebar.selection-mode .button:backdrop:insensitive,
      .header-bar.selection-mode .button:backdrop:insensitive {
        border-width: 2px;
        border-style: solid;
        color: #7f7f7f;
        background-color: white;
        border-color: #8b8b8b;
        background-image: none; }
      .titlebar.selection-mode .button.suggested-action,
      .header-bar.selection-mode .button.suggested-action {
        border-width: 2px;
        border-style: solid;
        color: #000;
        background-image: none;
        background-color: #fff;
        border-color: #7f7f7f; }
        .titlebar.selection-mode .button.suggested-action:hover,
        .header-bar.selection-mode .button.suggested-action:hover {
          border-width: 2px;
          border-style: solid;
          color: #000;
          background-color: #fff;
          border-color: #7f7f7f;
          background-image: none; }
        .titlebar.selection-mode .button.suggested-action:active,
        .header-bar.selection-mode .button.suggested-action:active {
          border-width: 2px;
          border-style: solid;
          background-image: none;
          color: white;
          background-color: black;
          border-color: #7f7f7f; }
        .titlebar.selection-mode .button.suggested-action:insensitive,
        .header-bar.selection-mode .button.suggested-action:insensitive {
          border-width: 2px;
          border-style: solid;
          color: #7f7f7f;
          background-color: white;
          border-color: #7f7f7f;
          background-image: none;
          text-shadow: none;
          icon-shadow: none; }
        .titlebar.selection-mode .button.suggested-action:backdrop,
        .header-bar.selection-mode .button.suggested-action:backdrop {
          border-width: 2px;
          border-style: solid;
          color: #000;
          background-color: #fff;
          border-color: #8b8b8b;
          background-image: none;
          text-shadow: none;
          icon-shadow: none; }
        .titlebar.selection-mode .button.suggested-action:backdrop:insensitive,
        .header-bar.selection-mode .button.suggested-action:backdrop:insensitive {
          border-width: 2px;
          border-style: solid;
          color: #7f7f7f;
          background-color: white;
          border-color: #8b8b8b;
          background-image: none; }
    .titlebar.selection-mode .selection-menu,
    .header-bar.selection-mode .selection-menu {
      border-width: 0;
      background-image: none;
      box-shadow: none; }
  .tiled .titlebar, .maximized .titlebar, .tiled
  .header-bar, .maximized
  .header-bar {
    border-radius: 0; }

/************
 * Pathbars *
 ************/
.path-bar .button {
  padding: 5px 6px 6px; }
  .path-bar .button:first-child {
    padding-left: 8px; }
  .path-bar .button:last-child {
    padding-right: 8px; }
  .path-bar .button:only-child {
    padding-left: 12px;
    padding-right: 12px; }
  .path-bar .button .label:last-child {
    padding-left: 2px; }
  .path-bar .button .label:first-child {
    padding-right: 2px; }
  .path-bar .button .label:only-child {
    padding-right: 0;
    padding-left: 0; }
  .path-bar .button GtkImage {
    padding-top: 1px; }

/**************
 * Tree Views *
 **************/
GtkTreeView.view {
  -GtkTreeView-grid-line-width: 1;
  -GtkTreeView-grid-line-pattern: '';
  -GtkTreeView-tree-line-width: 1;
  -GtkTreeView-tree-line-pattern: '';
  -GtkTreeView-expander-size: 16;
  border-left-color: #7f7f7f;
  border-top-color: #fff; }
  GtkTreeView.view:selected {
    border-radius: 0; }
  GtkTreeView.view:selected, GtkTreeView.view:backdrop:selected {
    border-left-color: #7f7f7f;
    border-top-color: rgba(0, 0, 0, 0.1); }
  GtkTreeView.view:insensitive {
    color: #7f7f7f; }
    GtkTreeView.view:insensitive:selected {
      color: #666666; }
      GtkTreeView.view:insensitive:selected:backdrop {
        color: #7f7f7f; }
    GtkTreeView.view:insensitive:backdrop {
      color: #7f7f7f; }
  GtkTreeView.view.separator:backdrop {
    color: rgba(0, 0, 0, 0.1); }
  GtkTreeView.view:backdrop {
    color: #000;
    border-left-color: #7f7f7f;
    border-top: #fff; }
  GtkTreeView.view.dnd {
    border-style: solid none;
    border-width: 1px;
    border-color: black; }
  GtkTreeView.view.expander {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
    color: #4c4c4c; }
    GtkTreeView.view.expander:dir(rtl) {
      -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
    GtkTreeView.view.expander:hover {
      color: #000; }
    GtkTreeView.view.expander:selected {
      color: #b2b2b2; }
      GtkTreeView.view.expander:selected:hover {
        color: #fff; }
      GtkTreeView.view.expander:selected:backdrop {
        color: #b2b2b2; }
    GtkTreeView.view.expander:checked {
      -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
    GtkTreeView.view.expander:backdrop {
      color: #4c4c4c; }
  GtkTreeView.view.progressbar {
    color: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    background-color: #000; }
    GtkTreeView.view.progressbar:selected {
      color: #000; }
    GtkTreeView.view.progressbar:backdrop {
      color: #000;
      border-color: #000;
      background-color: #fff; }
  GtkTreeView.view.trough {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px; }
    GtkTreeView.view.trough:selected {
      background-color: rgba(255, 255, 255, 0.3);
      border-width: 1px 0;
      border-style: solid;
      border-color: #000; }

column-header .button {
  color: #7f7f7f;
  font-weight: bold;
  text-shadow: none;
  box-shadow: none; }
  column-header .button:hover {
    color: #3f3f3f;
    box-shadow: none; }
  column-header .button:active {
    color: #fff; }
column-header:last-child .button, column-header:last-child.button {
  border-right-style: none; }

column-header .button, column-header .button:hover, column-header .button:active {
  border-width: 0 1px 1px 0;
  border-radius: 0;
  background-image: none;
  border-color: #fff;
  text-shadow: none; }
  column-header .button:insensitive {
    border-width: 0 1px 1px 0;
    border-color: #fff;
    background-image: none; }
  column-header .button:backdrop {
    border-color: #fff;
    border-width: 0 1px 1px 0;
    color: #7f7f7f;
    background-image: none; }
    column-header .button:backdrop:insensitive {
      border-width: 0 1px 1px 0;
      border-color: #fff;
      background-image: none; }

GtkTreeView.view.progressbar {
  color: #fff;
  border-radius: 4px;
  background-image: linear-gradient(to bottom, #000, black); }
  GtkTreeView.view.progressbar:selected {
    color: #000;
    background-image: linear-gradient(to bottom, #fff, #e6e6e6); }
    GtkTreeView.view.progressbar:selected:backdrop {
      color: #000;
      background-image: none;
      background-color: #fff; }
  GtkTreeView.view.progressbar:backdrop {
    color: #fff;
    background-image: none; }

/*********
 * Menus *
 *********/
.menubar {
  padding: 0px;
  background-color: #f2f2f2; }
  .menubar:backdrop {
    background-color: #fff; }
  .menubar > .menuitem {
    padding: 4px 8px; }
    .menubar > .menuitem:hover {
      box-shadow: inset 0 -3px #000;
      color: #000; }
    .menubar > .menuitem:insensitive {
      color: #7f7f7f;
      box-shadow: none; }

.menu {
  padding: 0px;
  background-color: #fff; }
  .menu .menuitem {
    padding: 4px; }
    .menu .menuitem:hover {
      color: #fff;
      background-color: #000; }
    .menu .menuitem:insensitive {
      color: #7f7f7f; }
      .menu .menuitem:insensitive:backdrop {
        color: #7f7f7f; }
    .menu .menuitem:backdrop, .menu .menuitem:backdrop:hover {
      color: #000;
      background-color: #fff; }
    .menu .menuitem.arrow {
      -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
    .menu .menuitem.arrow:dir(rtl) {
      -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }

/***************
 * Popovers   *
 ***************/
.popover {
  margin: 10px;
  padding: 2px;
  border-color: #7f7f7f;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); }
  .popover:backdrop {
    box-shadow: none; }
  .popover > .list, .popover > .view, .popover > .toolbar {
    background-color: transparent; }
  .popover .separator, .popover GtkPlacesSidebar.sidebar .view .separator, GtkPlacesSidebar.sidebar .view .popover .separator {
    color: #000;
    background-color: transparent;
    border: 0; }
  .popover .button.flat, .popover .sidebar-button.button,
  .popover .button.flat:hover,
  .popover .sidebar-button.button:hover {
    color: #000;
    text-shadow: none;
    transition: none; }
  .popover.osd {
    background-image: none;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #7f7f7f;
    color: #fff; }
    .popover.osd .button {
      color: white;
      text-shadow: none;
      border-width: 2px;
      border-style: solid;
      color: #fff;
      background-image: none;
      background-color: rgba(0, 0, 0, 0.8);
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: none; }
      .popover.osd .button:hover {
        border-width: 2px;
        border-style: solid;
        color: #fff;
        background-color: rgba(77, 77, 77, 0.8);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: none; }
      .popover.osd .button:active {
        border-width: 2px;
        border-style: solid;
        color: rgba(0, 0, 0, 0.8);
        background-color: #fff;
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: none; }
      .popover.osd .button:insensitive {
        border-width: 2px;
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.2);
        color: #7f7f7f; }

/*****************
 * Notebooks and *
 * Tabs          *
 *****************/
.notebook {
  padding: 0;
  background-color: #fff;
  -GtkNotebook-initial-gap: 10;
  -GtkNotebook-arrow-spacing: 5;
  -GtkNotebook-tab-curvature: 0;
  -GtkNotebook-tab-overlap: -8;
  -GtkNotebook-has-tab-gap: false;
  -GtkWidget-focus-padding: 0;
  -GtkWidget-focus-line-width: 0;
  transition: all 200ms ease-out; }
  .notebook:backdrop {
    background-color: #fff; }
  .notebook.frame {
    border: 1px solid #7f7f7f; }
    .notebook.frame.top {
      border-top-width: 0; }
    .notebook.frame.bottom {
      border-bottom-width: 0; }
    .notebook.frame.right {
      border-right-width: 0; }
    .notebook.frame.left {
      border-left-width: 0; }
    .notebook.frame:backdrop {
      border-color: #8b8b8b; }
  .notebook.header {
    background-color: #d8d8d8; }
    .notebook.header.frame {
      border: 1px solid #7f7f7f; }
      .notebook.header.frame.top {
        border-bottom-width: 0; }
      .notebook.header.frame.bottom {
        border-top-width: 0; }
      .notebook.header.frame.right {
        border-left-width: 0; }
      .notebook.header.frame.left {
        border-right-width: 0; }
      .notebook.header.frame:backdrop {
        border-color: #8b8b8b; }
    .notebook.header.top {
      box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset 0 -1px #7f7f7f; }
      .notebook.header.top:backdrop {
        box-shadow: inset 0 -1px #8b8b8b; }
    .notebook.header.bottom {
      box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset 0 1px #7f7f7f; }
      .notebook.header.bottom:backdrop {
        box-shadow: inset 0 1px #8b8b8b; }
    .notebook.header.right {
      box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset 1px 0 #7f7f7f; }
      .notebook.header.right:backdrop {
        box-shadow: inset 1px 0 #8b8b8b; }
    .notebook.header.left {
      box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.15), inset -1px 0 #7f7f7f; }
      .notebook.header.left:backdrop {
        box-shadow: inset -1px 0 #8b8b8b; }
    .notebook.header:backdrop {
      background-color: #d6d6d6;
      box-shadow: none; }
  .notebook tab {
    border-width: 0;
    border-style: solid;
    border-color: transparent;
    background-color: transparent;
    outline-offset: 0;
    /* works for testnotebookdnd, but there's a superfluous border
       in gedit or web, commented out for now, needs gtk fixes
    &.reorderable-page {
      &.top {
        padding-top: ($vt_vpadding - 1px);
        border-top-width: 1px;
        border-left-width: 1px;
        border-right-width: 1px;
      }
      &.bottom {
        padding-bottom: ($vt_vpadding - 1px);
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-right-width: 1px;
      }
      &.left {
        padding-left: ($ht_hpadding - 1px);
        border-left-width: 1px;
        border-top-width: 1px;
        border-bottom-width: 1px;
      }
      &.right {
        padding-right: ($ht_hpadding - 1px);
        border-right-width: 1px;
        border-top-width: 1px;
        border-bottom-width: 1px;
      }
    }
    */ }
    .notebook tab.top, .notebook tab.bottom {
      padding: 8px 20px; }
    .notebook tab.left, .notebook tab.right {
      padding: 5px 20px; }
    .notebook tab.reorderable-page.top, .notebook tab.reorderable-page.bottom {
      padding-left: 12px;
      padding-right: 12px;
      border-left-width: 1px;
      border-right-width: 1px; }
    .notebook tab.reorderable-page.left, .notebook tab.reorderable-page.right {
      border-bottom-width: 1px;
      border-top-width: 1px; }
    .notebook tab.top {
      border-bottom-width: 3px; }
    .notebook tab.bottom {
      border-top-width: 3px; }
    .notebook tab.left {
      border-right-width: 3px; }
    .notebook tab.right {
      border-left-width: 3px; }
    .notebook tab:hover, .notebook tab.prelight-page {
      border-color: #7f7f7f; }
    .notebook tab:active, .notebook tab.active-page, .notebook tab:backdrop:active {
      border-color: #000; }
    .notebook tab:backdrop {
      background-color: transparent;
      border-color: transparent; }
    .notebook tab.reorderable-page.top {
      border-color: transparent; }
      .notebook tab.reorderable-page.top:hover, .notebook tab.reorderable-page.top.prelight-page {
        border-color: rgba(127, 127, 127, 0.3);
        border-bottom-color: #7f7f7f;
        background-color: rgba(255, 255, 255, 0.2); }
      .notebook tab.reorderable-page.top:active, .notebook tab.reorderable-page.top.active-page {
        background-color: rgba(255, 255, 255, 0.5);
        border-color: rgba(127, 127, 127, 0.5);
        border-bottom-color: #000; }
        .notebook tab.reorderable-page.top:active:hover, .notebook tab.reorderable-page.top.active-page:hover {
          background-color: rgba(255, 255, 255, 0.7); }
        .notebook tab.reorderable-page.top:active:backdrop, .notebook tab.reorderable-page.top.active-page:backdrop {
          border-color: #8b8b8b;
          background-color: #fff;
          border-bottom-color: #000; }
      .notebook tab.reorderable-page.top:backdrop {
        border-color: transparent;
        background-color: transparent; }
    .notebook tab.reorderable-page.bottom {
      border-color: transparent; }
      .notebook tab.reorderable-page.bottom:hover, .notebook tab.reorderable-page.bottom.prelight-page {
        border-color: rgba(127, 127, 127, 0.3);
        border-top-color: #7f7f7f;
        background-color: rgba(255, 255, 255, 0.2); }
      .notebook tab.reorderable-page.bottom:active, .notebook tab.reorderable-page.bottom.active-page {
        background-color: rgba(255, 255, 255, 0.5);
        border-color: rgba(127, 127, 127, 0.5);
        border-top-color: #000; }
        .notebook tab.reorderable-page.bottom:active:hover, .notebook tab.reorderable-page.bottom.active-page:hover {
          background-color: rgba(255, 255, 255, 0.7); }
        .notebook tab.reorderable-page.bottom:active:backdrop, .notebook tab.reorderable-page.bottom.active-page:backdrop {
          border-color: #8b8b8b;
          background-color: #fff;
          border-top-color: #000; }
      .notebook tab.reorderable-page.bottom:backdrop {
        border-color: transparent;
        background-color: transparent; }
    .notebook tab.reorderable-page.left {
      border-color: transparent; }
      .notebook tab.reorderable-page.left:hover, .notebook tab.reorderable-page.left.prelight-page {
        border-color: rgba(127, 127, 127, 0.3);
        border-right-color: #7f7f7f;
        background-color: rgba(255, 255, 255, 0.2); }
      .notebook tab.reorderable-page.left:active, .notebook tab.reorderable-page.left.active-page {
        background-color: rgba(255, 255, 255, 0.5);
        border-color: rgba(127, 127, 127, 0.5);
        border-right-color: #000; }
        .notebook tab.reorderable-page.left:active:hover, .notebook tab.reorderable-page.left.active-page:hover {
          background-color: rgba(255, 255, 255, 0.7); }
        .notebook tab.reorderable-page.left:active:backdrop, .notebook tab.reorderable-page.left.active-page:backdrop {
          border-color: #8b8b8b;
          background-color: #fff;
          border-right-color: #000; }
      .notebook tab.reorderable-page.left:backdrop {
        border-color: transparent;
        background-color: transparent; }
    .notebook tab.reorderable-page.right {
      border-color: transparent; }
      .notebook tab.reorderable-page.right:hover, .notebook tab.reorderable-page.right.prelight-page {
        border-color: rgba(127, 127, 127, 0.3);
        border-left-color: #7f7f7f;
        background-color: rgba(255, 255, 255, 0.2); }
      .notebook tab.reorderable-page.right:active, .notebook tab.reorderable-page.right.active-page {
        background-color: rgba(255, 255, 255, 0.5);
        border-color: rgba(127, 127, 127, 0.5);
        border-left-color: #000; }
        .notebook tab.reorderable-page.right:active:hover, .notebook tab.reorderable-page.right.active-page:hover {
          background-color: rgba(255, 255, 255, 0.7); }
        .notebook tab.reorderable-page.right:active:backdrop, .notebook tab.reorderable-page.right.active-page:backdrop {
          border-color: #8b8b8b;
          background-color: #fff;
          border-left-color: #000; }
      .notebook tab.reorderable-page.right:backdrop {
        border-color: transparent;
        background-color: transparent; }
    .notebook tab GtkLabel {
      padding: 0 2px;
      font-weight: bold;
      color: #7f7f7f;
      /* color: inherit doesn't work here */ }
      .notebook tab GtkLabel:backdrop, .notebook tab GtkLabel.prelight-page:backdrop {
        color: #7f7f7f; }
    .notebook tab.prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
      color: #3f3f3f; }
    .notebook tab.active-page GtkLabel, .notebook tab GtkLabel.active-page {
      color: #000; }
      .notebook tab.active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
        color: #000; }
    .notebook tab .button {
      border: 2px solid transparent;
      icon-shadow: none;
      transition: none;
      color: rgba(0, 0, 0, 0.3); }
      .notebook tab .button:hover {
        color: #000;
        border-width: 2px;
        border-style: solid;
        color: #000;
        background-color: #fff;
        border-color: #7f7f7f;
        background-image: none;
        border-width: 2px;
        background-image: none;
        box-shadow: none; }
      .notebook tab .button:active {
        border-width: 2px;
        border-style: solid;
        background-image: none;
        color: white;
        background-color: black;
        border-color: #7f7f7f;
        border-width: 2px; }
      .notebook tab .button:backdrop, .notebook tab .button:backdrop:hover {
        color: rgba(0, 0, 0, 0.3);
        border-color: transparent;
        border-width: 2px; }
      .notebook tab .button > GtkImage {
        padding: 2px; }

/**************
 * Scrollbars *
 **************/
.scrollbar {
  background-clip: padding-box;
  background-image: none;
  border-style: solid;
  -GtkRange-trough-border: 0;
  -GtkScrollbar-has-backward-stepper: false;
  -GtkScrollbar-has-forward-stepper: false;
  -GtkRange-slider-width: 20;
  -GtkScrollbar-min-slider-length: 42;
  -GtkRange-stepper-spacing: 0;
  -GtkRange-trough-under-steppers: 1; }
  .scrollbar .button {
    border: none; }
  .scrollbar.slider {
    border-radius: 20px;
    border: 5px solid transparent;
    background-color: #7f7f7f; }
    .scrollbar.slider:backdrop, .scrollbar.slider:insensitive {
      background-color: #e5e5e5; }
    .scrollbar.slider:hover {
      background-color: #4c4c4c; }
    .scrollbar.slider:prelight:active {
      background-color: #000; }
    .scrollbar.slider.fine-tune {
      border-width: 8px; }
      .scrollbar.slider.fine-tune:prelight:active {
        background-color: #000; }
  .scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
    opacity: 0.4;
    -GtkRange-slider-width: 5px; }
    .scrollbar.overlay-indicator:not(.dragging):not(.hovering) .slider {
      margin: 0;
      background-color: #000;
      border: 1px solid white;
      background-clip: padding-box; }
    .scrollbar.overlay-indicator:not(.dragging):not(.hovering) .trough {
      border-style: none;
      background-color: transparent; }
    .scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical .slider {
      margin-top: 2px;
      margin-bottom: 2px; }
    .scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal .slider {
      margin-left: 2px;
      margin-right: 2px; }
  .scrollbar.overlay-indicator.dragging, .scrollbar.overlay-indicator.hovering {
    opacity: 0.7; }

.scrollbars-junction, .scrollbar.trough {
  border-color: transparent;
  background-color: #f2f2f2; }
  .scrollbars-junction:backdrop, .scrollbar.trough:backdrop {
    background-color: transparent; }

/**********
 * Switch *
 **********/
GtkSwitch {
  -GtkSwitch-slider-width: 47px;
  -GtkSwitch-slider-height: 28px;
  font: bold condensed 9;
  outline-offset: -4px; }
  GtkSwitch.trough {
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    border-color: #7f7f7f;
    background-color: #cbcbcb;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.1);
    /*outset not working*/
    text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
    GtkSwitch.trough:active {
      color: white;
      border-color: #000;
      background-color: #000;
      text-shadow: 0 0 2px white; }
    GtkSwitch.trough:insensitive {
      color: #7f7f7f;
      border-color: #7f7f7f;
      background-color: white;
      text-shadow: none; }
    GtkSwitch.trough:backdrop {
      color: #000;
      border-color: #8b8b8b;
      background-color: #fff;
      box-shadow: none;
      text-shadow: none; }
      GtkSwitch.trough:backdrop:active {
        color: #fff;
        border-color: #8b8b8b;
        background-color: #8b8b8b;
        box-shadow: none; }
      GtkSwitch.trough:backdrop:insensitive, GtkSwitch.trough:backdrop:insensitive:active {
        background-color: white;
        color: #7f7f7f;
        border-color: #7f7f7f; }
  GtkSwitch.slider {
    border-radius: 3px;
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-image: none;
    background-color: #fff;
    border-color: #7f7f7f;
    box-shadow: inset 0 1px white, inset 0 -2px rgba(255, 255, 255, 0.6), inset 0 -1px #bfbfbf; }
    GtkSwitch.slider:hover {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #7f7f7f;
      background-image: none;
      box-shadow: inset 0 1px white, inset 0 -2px rgba(255, 255, 255, 0.6), inset 0 -1px #bfbfbf; }
    GtkSwitch.slider:active {
      border-color: #000; }
    GtkSwitch.slider:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #7f7f7f;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
    GtkSwitch.slider:backdrop {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #8b8b8b;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
      GtkSwitch.slider:backdrop:active {
        border-color: #8b8b8b; }
      GtkSwitch.slider:backdrop:insensitive {
        border-width: 2px;
        border-style: solid;
        color: #7f7f7f;
        background-color: white;
        border-color: #8b8b8b;
        background-image: none; }

/*************************
 * Check and Radio items *
 *************************/
GtkCheckButton.text-button, GtkRadioButton.text-button {
  padding: 1px;
  outline-offset: 0; }

.check {
  color: #000;
  background-image: none;
  -gtk-icon-source: -gtk-icontheme("checkbox-symbolic"); }
  .check:hover {
    color: #323232; }
  .check:checked, .check:active {
    -gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic"); }
    .check:checked:insensitive, .check:active:insensitive {
      color: #7f7f7f; }
      .check:checked:insensitive:backdrop, .check:active:insensitive:backdrop {
        color: #7f7f7f; }
    .check:checked:backdrop, .check:active:backdrop {
      color: #000; }
  .check:insensitive {
    color: #7f7f7f; }
    .check:insensitive:backdrop {
      color: #7f7f7f; }
  .check:inconsistent {
    -gtk-icon-source: -gtk-icontheme("checkbox-mixed-symbolic"); }
  .check:backdrop {
    color: #000; }
    .check:backdrop:selected {
      color: #000; }

.radio {
  color: #000;
  background-image: none;
  -gtk-icon-source: -gtk-icontheme("radio-symbolic"); }
  .radio:hover {
    color: #323232; }
  .radio:checked, .radio:active {
    -gtk-icon-source: -gtk-icontheme("radio-checked-symbolic"); }
    .radio:checked:insensitive, .radio:active:insensitive {
      color: #7f7f7f; }
      .radio:checked:insensitive:backdrop, .radio:active:insensitive:backdrop {
        color: #7f7f7f; }
    .radio:checked:backdrop, .radio:active:backdrop {
      color: #000; }
  .radio:insensitive {
    color: #7f7f7f; }
    .radio:insensitive:backdrop {
      color: #7f7f7f; }
  .radio:inconsistent {
    -gtk-icon-source: -gtk-icontheme("radio-mixed-symbolic"); }
  .radio:backdrop {
    color: #000; }
    .radio:backdrop:selected {
      color: #000; }

/************
 * GtkScale *
 ************/
.scale,
.scale.scale-has-marks-above.scale-has-marks-below,
.scale.vertical.scale-has-marks-above.scale-has-marks-below {
  -GtkScale-slider-length: 20;
  -GtkRange-slider-width: 20;
  -GtkRange-trough-border: 2;
  outline-offset: -9px;
  outline-radius: 4px; }
  .scale.fine-tune,
  .scale.scale-has-marks-above.scale-has-marks-below.fine-tune,
  .scale.vertical.scale-has-marks-above.scale-has-marks-below.fine-tune {
    outline-offset: -7px;
    outline-radius: 6px; }
    .scale.fine-tune.trough,
    .scale.scale-has-marks-above.scale-has-marks-below.fine-tune.trough,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.fine-tune.trough {
      border-radius: 4px;
      margin: 8px; }
  .scale.slider,
  .scale.scale-has-marks-above.scale-has-marks-below.slider,
  .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-image: none;
    background-color: #fff;
    border-color: #7f7f7f;
    border-radius: 50%;
    border-color: #777777; }
    .scale.slider:hover,
    .scale.scale-has-marks-above.scale-has-marks-below.slider:hover,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:hover {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #7f7f7f;
      background-image: none;
      border-color: #777777;
      border-radius: 50%; }
    .scale.slider:insensitive,
    .scale.scale-has-marks-above.scale-has-marks-below.slider:insensitive,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:insensitive {
      border-style: solid;
      border-radius: 50%;
      background-image: none;
      box-shadow: none; }
    .scale.slider:backdrop,
    .scale.scale-has-marks-above.scale-has-marks-below.slider:backdrop,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:backdrop {
      border-style: solid;
      border-radius: 50%;
      border-color: #838383;
      background-image: none;
      box-shadow: none; }
    .scale.slider:backdrop:insensitive,
    .scale.scale-has-marks-above.scale-has-marks-below.slider:backdrop:insensitive,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:backdrop:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #8b8b8b;
      background-image: none; }
    .scale.slider:active,
    .scale.scale-has-marks-above.scale-has-marks-below.slider:active,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:active {
      border: 1px solid black; }
  .scale.trough,
  .scale.scale-has-marks-above.scale-has-marks-below.trough,
  .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough {
    margin: 10px;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    border-color: #7f7f7f;
    background-color: #cbcbcb;
    box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); }
    .scale.trough.highlight,
    .scale.scale-has-marks-above.scale-has-marks-below.trough.highlight,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.highlight {
      border-color: #000;
      background-color: #000; }
      .scale.trough.highlight:backdrop,
      .scale.scale-has-marks-above.scale-has-marks-below.trough.highlight:backdrop,
      .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.highlight:backdrop {
        border-color: #7f7f7f;
        background-color: #7f7f7f;
        box-shadow: none; }
    .scale.trough:insensitive, .scale.trough.hilight:insensitive,
    .scale.scale-has-marks-above.scale-has-marks-below.trough:insensitive,
    .scale.scale-has-marks-above.scale-has-marks-below.trough.hilight:insensitive,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough:insensitive,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough.hilight:insensitive {
      border-color: #7f7f7f;
      background-color: white; }
    .scale.trough:backdrop,
    .scale.scale-has-marks-above.scale-has-marks-below.trough:backdrop,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough:backdrop {
      border-color: #8b8b8b;
      background-color: #bfbfbf;
      box-shadow: none; }
    .scale.trough:backdrop:insensitive, .scale.trough .hilight:backdrop:insensitive,
    .scale.scale-has-marks-above.scale-has-marks-below.trough:backdrop:insensitive,
    .scale.scale-has-marks-above.scale-has-marks-below.trough .hilight:backdrop:insensitive,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough:backdrop:insensitive,
    .scale.vertical.scale-has-marks-above.scale-has-marks-below.trough .hilight:backdrop:insensitive {
      border-color: #7f7f7f;
      background-color: #fff; }

/*****************
 * Progress bars *
 *****************/
GtkProgressBar {
  padding: 0;
  font-size: 83%;
  color: #000; }
  GtkProgressBar:backdrop {
    color: #7f7f7f; }

.progressbar {
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: #000;
  background-color: #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
  .progressbar.vertical {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2); }
  .progressbar:backdrop {
    border-color: #000;
    background-color: #000;
    box-shadow: none; }
  .progressbar.osd {
    border-width: 0;
    border-radius: 0;
    -GtkProgressBar-xspacing: 0;
    -GtkProgressBar-yspacing: 2px;
    -GtkProgressBar-min-horizontal-bar-height: 2px; }

GtkProgressBar.trough {
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: #7f7f7f;
  background-color: #d2d2d2;
  box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); }
  GtkProgressBar.trough:backdrop {
    border-color: #8b8b8b;
    background-color: #d6d6d6;
    box-shadow: 0 1px rgba(255, 255, 255, 0); }
  GtkProgressBar.trough.osd {
    background-color: transparent;
    box-shadow: none;
    border-width: 0; }

/*************
 * Level Bar *
 *************/
GtkLevelBar {
  -GtkLevelBar-min-block-width: 34;
  -GtkLevelBar-min-block-height: 3; }

GtkLevelBar.vertical {
  -GtkLevelBar-min-block-width: 3;
  -GtkLevelBar-min-block-height: 34; }

.level-bar.trough {
  padding: 2px;
  border-radius: 3px;
  background-color: transparent;
  border-style: solid;
  background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
  border-color: #7f7f7f;
  box-shadow: inset 0 2px 2px -2px #7f7f7f; }
  .level-bar.trough:backdrop {
    background-color: transparent;
    border-style: solid;
    background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
    color: #000;
    background-image: linear-gradient(to bottom, #fff);
    box-shadow: 0 1px rgba(255, 255, 255, 0); }
.level-bar.fill-block {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  background-color: #000;
  box-shadow: 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 1px; }
  .level-bar.fill-block:backdrop {
    border-color: #000;
    box-shadow: none; }
  .level-bar.fill-block.indicator-discrete.horizontal {
    margin: 0 1px; }
  .level-bar.fill-block.indicator-discrete.vertical {
    margin: 1px 0; }
  .level-bar.fill-block.level-high {
    border-color: #5aa411;
    background-color: #73d216; }
    .level-bar.fill-block.level-high:backdrop {
      border-color: #73d216; }
  .level-bar.fill-block.level-low {
    border-color: #c26000;
    background-color: #f57900; }
    .level-bar.fill-block.level-low:backdrop {
      border-color: #f57900; }
  .level-bar.fill-block.empty-fill-block {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: none; }
    .level-bar.fill-block.empty-fill-block:backdrop {
      border-color: rgba(0, 0, 0, 0.15); }

.view:selected, GtkCalendar:selected, .view:selected:focus, GtkCalendar:focus:selected, .view:selected:hover, GtkCalendar:hover:selected, .label:selected, .label:selected:focus, .label:selected:hover, .label:backdrop:selected, .entry:selected, .entry:selected:focus, .menuitem.button.flat:hover, .menuitem.sidebar-button.button:hover, .menuitem.button.flat:selected, .menuitem.sidebar-button.button:selected, .list-row.activatable:selected, .sidebar:selected, GtkPlacesSidebar.sidebar .view:selected, GtkPlacesSidebar.sidebar GtkCalendar:selected {
  background-color: #000;
  color: #fff;
  outline-color: rgba(255, 255, 255, 0.3); }
  .view:backdrop:selected, GtkCalendar:backdrop:selected, GtkCalendar:backdrop:focus:selected, GtkCalendar:backdrop:hover:selected, .label:backdrop:selected, .entry:backdrop:selected, .menuitem.button.flat:backdrop:hover, .menuitem.sidebar-button.button:backdrop:hover, .menuitem.button.flat:backdrop:selected, .menuitem.sidebar-button.button:backdrop:selected, .list-row.activatable:backdrop:selected, .sidebar:backdrop:selected, GtkPlacesSidebar.sidebar .view:backdrop:selected, GtkPlacesSidebar.sidebar GtkCalendar:backdrop:selected {
    background-color: #7f7f7f;
    color: #fff; }

/**********
 * Frames *
 **********/
.frame {
  border: 1px solid #7f7f7f;
  padding: 0; }
  .frame.flat {
    border-style: none; }
  .frame:backdrop {
    border-color: #8b8b8b; }
  .frame.action-bar {
    padding: 6px;
    border-width: 1px 0 0; }

GtkScrolledWindow .frame {
  border-radius: 2px; }
GtkScrolledWindow GtkViewport.frame {
  border-style: none; }

.separator, GtkPlacesSidebar.sidebar .view .separator,
GtkPlacesSidebar.sidebar .view .separator:backdrop {
  color: #7f7f7f; }
  GtkFileChooserButton .separator.vertical, GtkFileChooserButton GtkPlacesSidebar.sidebar .view .vertical.separator, GtkPlacesSidebar.sidebar .view GtkFileChooserButton .vertical.separator, GtkFontButton .separator.vertical, GtkFontButton GtkPlacesSidebar.sidebar .view .vertical.separator, GtkPlacesSidebar.sidebar .view GtkFontButton .vertical.separator {
    -GtkWidget-wide-separators: true; }

/*********
 * Lists *
 *********/
.list, .list-row {
  background-color: #fff;
  border-color: #7f7f7f; }
  .list:backdrop, .list-row:backdrop {
    background-color: #fff;
    border-color: #8b8b8b; }

.list-row,
.grid-child {
  padding: 2px; }

.list-row.activatable,
.list-row.activatable:backdrop,
.list-row.activatable:backdrop:active,
.list-row.activatable:backdrop:checked,
.list-row.activatable:backdrop:insensitive,
.list-row.activatable:backdrop:insensitive:active,
.list-row.activatable:backdrop:insensitive:checked,
.list-row.activatable:insensitive:active,
.list-row.activatable:insensitive:checked {
  background-color: rgba(255, 255, 255, 0);
  border-style: none;
  border-radius: 0;
  box-shadow: none; }

.list-row.activatable {
  color: #000; }
  .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup {
    background-color: #f2f2f2; }
  .list-row.activatable:active {
    box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
  .list-row.activatable:selected {
    background-color: #000;
    color: #fff; }
    .list-row.activatable:selected:active {
      box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
    .list-row.activatable:selected:hover, GtkPlacesSidebar.sidebar .has-open-popup:selected {
      background-color: black; }
    .list-row.activatable:selected:backdrop {
      background-color: #7f7f7f; }
    .list-row.activatable:selected .button.flat, .list-row.activatable:selected .sidebar-button.button {
      color: #fff; }
      .list-row.activatable:selected .button.flat:hover, .list-row.activatable:selected .sidebar-button.button:hover {
        color: #000; }
      .list-row.activatable:selected .button.flat:active, .list-row.activatable:selected .sidebar-button.button:active {
        color: #fff; }
.list-row .button.flat, .list-row .sidebar-button.button {
  color: #000; }
  .list-row .button.flat:active, .list-row .sidebar-button.button:active {
    color: #fff; }

.list-row, .list-row.activatable {
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  .list-row:hover, .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup {
    transition: none; }

/*********************
 * App Notifications *
 *********************/
.app-notification,
.app-notification.frame {
  padding: 10px;
  border-width: 0 1px 1px;
  border-style: solid;
  border-color: #7f7f7f;
  border-radius: 0 0 6px 6px;
  background-image: linear-gradient(to bottom, #efefef 5%, #f4f4f4); }
  .app-notification .button,
  .app-notification.frame .button {
    padding: 6px; }

/*************
 * Expanders *
 *************/
GtkExpander {
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
  GtkExpander:dir(rtl) {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
  GtkExpander:hover {
    color: #4d4d4d; }
  GtkExpander:checked {
    -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }

/************
 * Calendar *
 ***********/
GtkCalendar {
  border: 1px solid #7f7f7f; }
  GtkCalendar.button {
    padding: 0 4px;
    color: #999999; }
    GtkCalendar.button:hover {
      color: #000; }
    GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
      color: #7f7f7f; }
  GtkCalendar.view {
    border-radius: 2px; }
  GtkCalendar.header {
    background: linear-gradient(to bottom, white, #fafafa);
    border-bottom-color: #bfbfbf; }
    GtkCalendar.header:backdrop {
      background-image: linear-gradient(to bottom, #fff);
      border-bottom-color: #c5c5c5; }
  GtkCalendar:inconsistent, GtkCalendar:inconsistent:backdrop {
    color: alpha(currentColor,0.55); }
  GtkCalendar.highlight, GtkCalendar.highlight:backdrop {
    color: #000; }

/***********
 * Dialogs *
 ***********/
.message-dialog .dialog-action-area .button {
  padding: 8px; }

.message-dialog .titlebar {
  border-style: none;
  box-shadow: inset 0 1px #fff; }
.message-dialog.csd {
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px; }
  .message-dialog.csd .dialog-action-area .button {
    padding: 12px;
    border-radius: 0;
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-image: none;
    background-color: #fff;
    border-color: #7f7f7f; }
    .message-dialog.csd .dialog-action-area .button:hover {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #7f7f7f;
      background-image: none; }
    .message-dialog.csd .dialog-action-area .button:active {
      border-width: 2px;
      border-style: solid;
      background-image: none;
      color: white;
      background-color: black;
      border-color: #7f7f7f; }
    .message-dialog.csd .dialog-action-area .button:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #7f7f7f;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
    .message-dialog.csd .dialog-action-area .button:backdrop {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #8b8b8b;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
    .message-dialog.csd .dialog-action-area .button:backdrop:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #8b8b8b;
      background-image: none; }
    .message-dialog.csd .dialog-action-area .button.suggested-action {
      border-width: 2px;
      border-style: solid;
      color: white;
      background-image: none;
      background-color: #4a90d9;
      border-color: #1c5187; }
      .message-dialog.csd .dialog-action-area .button.suggested-action:hover {
        border-width: 2px;
        border-style: solid;
        color: white;
        background-color: #4a90d9;
        border-color: #1c5187;
        background-image: none; }
      .message-dialog.csd .dialog-action-area .button.suggested-action:active {
        border-width: 2px;
        border-style: solid;
        background-image: none;
        color: black;
        background-color: #b56f26;
        border-color: #1c5187; }
      .message-dialog.csd .dialog-action-area .button.suggested-action:backdrop {
        border-width: 2px;
        border-style: solid;
        color: white;
        background-color: #4a90d9;
        border-color: #4a90d9;
        background-image: none;
        text-shadow: none;
        icon-shadow: none; }
        .message-dialog.csd .dialog-action-area .button.suggested-action:backdrop:insensitive {
          border-width: 2px;
          border-style: solid;
          color: #7f7f7f;
          background-color: white;
          border-color: #8b8b8b;
          background-image: none; }
      .message-dialog.csd .dialog-action-area .button.suggested-action:insensitive {
        border-width: 2px;
        border-style: solid;
        color: #7f7f7f;
        background-color: white;
        border-color: #7f7f7f;
        background-image: none;
        text-shadow: none;
        icon-shadow: none; }
    .message-dialog.csd .dialog-action-area .button.destructive-action {
      border-width: 2px;
      border-style: solid;
      color: white;
      background-image: none;
      background-color: #ef2929;
      border-color: #8e0b0b; }
      .message-dialog.csd .dialog-action-area .button.destructive-action:hover {
        border-width: 2px;
        border-style: solid;
        color: white;
        background-color: #ef2929;
        border-color: #8e0b0b;
        background-image: none; }
      .message-dialog.csd .dialog-action-area .button.destructive-action:active {
        border-width: 2px;
        border-style: solid;
        background-image: none;
        color: black;
        background-color: #10d6d6;
        border-color: #8e0b0b; }
      .message-dialog.csd .dialog-action-area .button.destructive-action:backdrop {
        border-width: 2px;
        border-style: solid;
        color: white;
        background-color: #ef2929;
        border-color: #ef2929;
        background-image: none;
        text-shadow: none;
        icon-shadow: none; }
        .message-dialog.csd .dialog-action-area .button.destructive-action:backdrop:insensitive {
          border-width: 2px;
          border-style: solid;
          color: #7f7f7f;
          background-color: white;
          border-color: #8b8b8b;
          background-image: none; }
      .message-dialog.csd .dialog-action-area .button.destructive-action:insensitive {
        border-width: 2px;
        border-style: solid;
        color: #7f7f7f;
        background-color: white;
        border-color: #7f7f7f;
        background-image: none;
        text-shadow: none;
        icon-shadow: none; }
  .message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive, .message-dialog.csd .dialog-action-area .button:backdrop, .message-dialog.csd .dialog-action-area .button:backdrop:insensitive, .message-dialog.csd .dialog-action-area .button.suggested-action, .message-dialog.csd .dialog-action-area .button.suggested-action:hover, .message-dialog.csd .dialog-action-area .button.suggested-action:active, .message-dialog.csd .dialog-action-area .button.suggested-action:backdrop, .message-dialog.csd .dialog-action-area .button.suggested-action:backdrop:insensitive, .message-dialog.csd .dialog-action-area .button.suggested-action:insensitive, .message-dialog.csd .dialog-action-area .button.destructive-action, .message-dialog.csd .dialog-action-area .button.destructive-action:hover, .message-dialog.csd .dialog-action-area .button.destructive-action:active, .message-dialog.csd .dialog-action-area .button.destructive-action:backdrop, .message-dialog.csd .dialog-action-area .button.destructive-action:backdrop:insensitive, .message-dialog.csd .dialog-action-area .button.destructive-action:insensitive {
    border-right-style: none;
    border-bottom-style: none; }
  .message-dialog.csd .dialog-action-area .button:last-child {
    border-bottom-right-radius: 7px; }
  .message-dialog.csd .dialog-action-area .button:first-child {
    border-left-style: none;
    border-bottom-left-radius: 7px; }

GtkFileChooserDialog .search-bar {
  background-color: #fff;
  border-color: #fff;
  box-shadow: none; }
  GtkFileChooserDialog .search-bar:backdrop {
    background-color: #fff;
    border-color: #fff; }
GtkFileChooserDialog .dialog-action-box {
  border-top: 1px solid #7f7f7f; }
  GtkFileChooserDialog .dialog-action-box:backdrop {
    border-top-color: #8b8b8b; }

/***********
 * Sidebar *
 ***********/
.sidebar {
  border: none; }
  .sidebar:backdrop {
    background-color: #fff; }
  .sidebar > GtkScrolledWindow > .frame {
    border-right: 1px solid #7f7f7f; }
    .sidebar > GtkScrolledWindow > .frame:dir(rtl) {
      border-right: none;
      border-left: 1px solid #7f7f7f; }

GtkSidebarRow.list-row {
  padding: 0px; }
GtkSidebarRow .sidebar-revealer {
  padding: 4px 14px 4px 12px; }
GtkSidebarRow .sidebar-icon {
  opacity: 0.9; }
  GtkSidebarRow .sidebar-icon:dir(ltr) {
    padding-right: 8px; }
  GtkSidebarRow .sidebar-icon:dir(rtl) {
    padding-left: 8px; }
GtkSidebarRow .sidebar-label:dir(ltr) {
  padding-right: 2px; }
GtkSidebarRow .sidebar-label:dir(rtl) {
  padding-left: 2px; }

.sidebar-button.button {
  border-radius: 100%;
  outline-radius: 100%; }
  .sidebar-button.button.image-button {
    padding: 5px; }
  .sidebar-button.button:not(:hover):not(:active) > GtkImage, .sidebar-button.button:backdrop > GtkImage {
    opacity: 0.9; }
GtkPlacesSidebar.sidebar .view {
  color: #000;
  background-color: transparent; }
  GtkPlacesSidebar.sidebar .view .image {
    color: #4c4c4c; }
    GtkPlacesSidebar.sidebar .view .image:selected {
      color: #e5e5e5; }

.sidebar-item {
  padding: 10px 4px; }
  .sidebar-item > .label {
    padding-left: 6px;
    padding-right: 6px; }
  .sidebar-item.needs-attention > .label {
    background-size: 6px 6px, 0 0; }

/*********
 * Paned *
 *********/
GtkPaned {
  margin: 0 8px 8px 0; }
  GtkPaned:dir(rtl) {
    margin-right: 0;
    margin-left: 8px; }

.pane-separator {
  background-image: linear-gradient(to bottom, #7f7f7f); }
  .pane-separator:backdrop {
    background-image: linear-gradient(to bottom, #8b8b8b); }

GtkPaned.wide {
  -GtkPaned-handle-size: 5;
  margin: 0; }
  GtkPaned.wide .pane-separator {
    background-color: transparent;
    border-style: none solid;
    border-color: #7f7f7f;
    border-width: 1px; }
  GtkPaned.wide.vertical .pane-separator {
    border-style: solid none; }
  GtkPaned.wide .pane-separator:backdrop {
    border-color: #8b8b8b; }

/**************
 * GtkInfoBar *
 **************/
GtkInfoBar {
  border-width: 0;
  border-style: none; }

.info,
.question,
.warning,
.error {
  background-color: #000;
  color: #fff;
  text-shadow: 0 1px black;
  border-color: black; }
  .info .button,
  .question .button,
  .warning .button,
  .error .button {
    border-width: 2px;
    border-style: solid;
    color: #fff;
    background-image: none;
    background-color: #000;
    border-color: black; }
    .info .button:hover,
    .question .button:hover,
    .warning .button:hover,
    .error .button:hover {
      border-width: 2px;
      border-style: solid;
      color: #fff;
      background-color: #000;
      border-color: black;
      background-image: none; }
    .info .button:active,
    .question .button:active,
    .warning .button:active,
    .error .button:active {
      border-width: 2px;
      border-style: solid;
      background-image: none;
      color: black;
      background-color: white;
      border-color: black; }
    .info .button:insensitive,
    .question .button:insensitive,
    .warning .button:insensitive,
    .error .button:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #7f7f7f;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
    .info .button:backdrop,
    .question .button:backdrop,
    .warning .button:backdrop,
    .error .button:backdrop {
      border-width: 2px;
      border-style: solid;
      color: #fff;
      background-color: #000;
      border-color: #000;
      background-image: none;
      text-shadow: none;
      icon-shadow: none; }
    .info .button:backdrop:insensitive,
    .question .button:backdrop:insensitive,
    .warning .button:backdrop:insensitive,
    .error .button:backdrop:insensitive {
      border-width: 2px;
      border-style: solid;
      color: #7f7f7f;
      background-color: white;
      border-color: #8b8b8b;
      background-image: none; }
  .info .label:selected,
  .info .label:selected:focus,
  .info .label:selected:hover,
  .question .label:selected,
  .question .label:selected:focus,
  .question .label:selected:hover,
  .warning .label:selected,
  .warning .label:selected:focus,
  .warning .label:selected:hover,
  .error .label:selected,
  .error .label:selected:focus,
  .error .label:selected:hover {
    background-color: #333333; }

/************
 * Tooltips *
 ************/
.tooltip {
  color: white;
  padding: 4px;
  /* not working */
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.8);
  text-shadow: 0 1px black; }

.tooltip * {
  padding: 4px;
  background-color: transparent;
  color: inherit; }

/*****************
 * Color Chooser *
 *****************/
GtkColorSwatch {
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
  :selected GtkColorSwatch {
    box-shadow: none; }
    :selected GtkColorSwatch.overlay, :selected GtkColorSwatch.overlay:hover {
      border-color: #fff; }
  GtkColorSwatch:selected {
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
  GtkColorButton > GtkColorSwatch {
    box-shadow: none; }
  GtkColorSwatch.top {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px; }
  GtkColorSwatch.bottom {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px; }
  GtkColorSwatch.left, GtkColorSwatch:first-child:not(.overlay), GtkColorSwatch:first-child:not(.top) > .overlay {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px; }
  GtkColorSwatch.right, GtkColorSwatch:last-child:not(.overlay), GtkColorSwatch:last-child:not(.bottom) > .overlay {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; }
  GtkColorSwatch:only-child:not(.overlay), GtkColorSwatch:only-child > .overlay {
    border-radius: 5px; }
  GtkColorSwatch:hover, GtkColorSwatch:hover:selected {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.4); }
  GtkColorSwatch:backdrop, GtkColorSwatch:backdrop:selected {
    background-image: none;
    box-shadow: none; }
  GtkColorEditor GtkColorSwatch {
    border-radius: 3px; }
    GtkColorEditor GtkColorSwatch:hover {
      background-image: none;
      box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
    GtkColorEditor GtkColorSwatch:backdrop {
      box-shadow: none; }
  GtkColorSwatch.color-dark {
    color: white;
    outline-color: rgba(0, 0, 0, 0.3); }
    GtkColorSwatch.color-dark:backdrop {
      color: rgba(255, 255, 255, 0.3); }
  GtkColorSwatch.color-light {
    color: black;
    outline-color: rgba(255, 255, 255, 0.5); }
    GtkColorSwatch.color-light:backdrop {
      color: rgba(0, 0, 0, 0.3); }
  GtkColorSwatch.overlay, GtkColorSwatch.overlay:selected {
    border: 1px solid #7f7f7f; }
    GtkColorSwatch.overlay:hover, GtkColorSwatch.overlay:selected:hover {
      border-color: black; }
  GtkColorSwatch#add-color-button {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-image: none;
    background-color: #fff;
    border-color: #7f7f7f;
    border-style: solid;
    border-width: 1px;
    box-shadow: none; }
    GtkColorSwatch#add-color-button:hover {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #7f7f7f;
      background-image: none; }
    GtkColorSwatch#add-color-button:backdrop {
      border-width: 2px;
      border-style: solid;
      color: #000;
      background-color: #fff;
      border-color: #8b8b8b;
      background-image: none;
      text-shadow: none;
      icon-shadow: none;
      border-width: 1px;
      color: #7f7f7f; }
    GtkColorSwatch#add-color-button .overlay {
      border-width: 2px;
      border-style: solid;
      border-width: 0; }

/**********************
 * Window Decorations *
 *********************/
.window-frame {
  border-radius: 7px 7px 0 0;
  border-width: 0px;
  box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.23);
  /* this is used for the resize cursor area */
  margin: 10px; }
  .window-frame:backdrop {
    box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); }
  .window-frame.tiled {
    border-radius: 0; }
  .window-frame.csd.popup {
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
  .window-frame.csd.tooltip {
    border-radius: 5px;
    box-shadow: none; }
  .window-frame.solid-csd {
    border-radius: 0;
    margin: 4px;
    background-color: #fff;
    border: solid 1px #8b8b8b;
    box-shadow: none; }

.button.titlebutton {
  padding: 8px;
  border-color: transparent;
  background-image: none;
  transition-property: border, box-shadow, color;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
  .button.titlebutton:hover {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-image: none;
    background-color: #fff;
    border-color: #7f7f7f; }
  .button.titlebutton:active {
    border-width: 2px;
    border-style: solid;
    background-image: none;
    color: white;
    background-color: black;
    border-color: #7f7f7f; }
  .button.titlebutton:backdrop {
    border-width: 2px;
    border-style: solid;
    color: #000;
    background-color: #fff;
    border-color: #8b8b8b;
    background-image: none;
    text-shadow: none;
    icon-shadow: none;
    border-color: transparent;
    transition-property: border, box-shadow, color; }

/**********************
 * Touch Copy & Paste *
 *********************/
.entry.cursor-handle,
.cursor-handle {
  background-color: #fff;
  background-image: none;
  -gtk-icon-source: none;
  box-shadow: none;
  outline-style: none;
  outline-color: transparent;
  border: 2px solid #000; }
  .entry.cursor-handle.top:dir(ltr), .entry.cursor-handle.bottom:dir(rtl),
  .cursor-handle.top:dir(ltr),
  .cursor-handle.bottom:dir(rtl) {
    border-radius: 10px 0 0 0;
    padding-left: 10px; }
  .entry.cursor-handle.bottom:dir(ltr), .entry.cursor-handle.top:dir(rtl),
  .cursor-handle.bottom:dir(ltr),
  .cursor-handle.top:dir(rtl) {
    border-radius: 0 10px 0 0;
    padding-right: 10px; }
  .entry.cursor-handle.insertion-cursor:dir(ltr), .entry.cursor-handle.insertion-cursor:dir(rtl),
  .cursor-handle.insertion-cursor:dir(ltr),
  .cursor-handle.insertion-cursor:dir(rtl) {
    border-radius: 10px 10px 0 0; }
  .entry.cursor-handle.top:hover:dir(ltr), .entry.cursor-handle.bottom:hover:dir(rtl),
  .cursor-handle.top:hover:dir(ltr),
  .cursor-handle.bottom:hover:dir(rtl) {
    border-radius: 10px 0 0 0;
    padding-left: 10px; }
  .entry.cursor-handle.bottom:hover:dir(ltr), .entry.cursor-handle.top:hover:dir(rtl),
  .cursor-handle.bottom:hover:dir(ltr),
  .cursor-handle.top:hover:dir(rtl) {
    border-radius: 0 10px 0 0;
    padding-right: 10px; }
  .entry.cursor-handle.insertion-cursor:hover:dir(ltr), .entry.cursor-handle.insertion-cursor:hover:dir(rtl),
  .cursor-handle.insertion-cursor:hover:dir(ltr),
  .cursor-handle.insertion-cursor:hover:dir(rtl) {
    border-radius: 10px 10px 0 0; }
  .entry.cursor-handle.top:active:dir(ltr), .entry.cursor-handle.bottom:active:dir(rtl),
  .cursor-handle.top:active:dir(ltr),
  .cursor-handle.bottom:active:dir(rtl) {
    border-radius: 10px 0 0 0;
    padding-left: 10px; }
  .entry.cursor-handle.bottom:active:dir(ltr), .entry.cursor-handle.top:active:dir(rtl),
  .cursor-handle.bottom:active:dir(ltr),
  .cursor-handle.top:active:dir(rtl) {
    border-radius: 0 10px 0 0;
    padding-right: 10px; }
  .entry.cursor-handle.insertion-cursor:active:dir(ltr), .entry.cursor-handle.insertion-cursor:active:dir(rtl),
  .cursor-handle.insertion-cursor:active:dir(ltr),
  .cursor-handle.insertion-cursor:active:dir(rtl) {
    border-radius: 10px 10px 0 0; }

/* Decouple the font of context menus from their entry/textview */
.context-menu {
  font: initial; }

.touch-selection {
  font: initial;
  color: #fff;
  border: none;
  background-color: black;
  background-clip: padding-box;
  outline-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
  text-shadow: 0 1px black;
  icon-shadow: 0 1px black; }
  .touch-selection:backdrop {
    text-shadow: none; }
  .touch-selection .button {
    border-width: 2px;
    border-style: solid;
    color: #fff;
    background-image: none;
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none; }
    .touch-selection .button:hover {
      border-width: 2px;
      border-style: solid;
      color: #fff;
      background-color: rgba(77, 77, 77, 0.8);
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: none; }
    .touch-selection .button:active, .touch-selection .button:checked {
      border-width: 2px;
      border-style: solid;
      color: rgba(0, 0, 0, 0.8);
      background-color: #fff;
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: none; }
    .touch-selection .button:insensitive, .touch-selection .button:backdrop:insensitive {
      border-width: 2px;
      border-style: solid;
      border-color: rgba(255, 255, 255, 0.2);
      color: #7f7f7f; }
    .touch-selection .button:backdrop {
      border-width: 2px;
      border-style: solid; }
  .touch-selection .check {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:hover {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:active {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:insensitive {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:inconsistent {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:inconsistent:hover {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:inconsistent:selected {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:inconsistent:insensitive {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:checked {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:checked:insensitive {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:checked:hover {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:checked:active {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .check:backdrop:checked {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:hover {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:active {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:insensitive {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:inconsistent {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:inconsistent:hover {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:inconsistent:selected {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:inconsistent:insensitive {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:checked {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:checked:insensitive {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:checked:hover {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:checked:active {
    icon-shadow: none;
    color: #fff; }
  .touch-selection .radio:backdrop:checked {
    icon-shadow: none;
    color: #fff; }

.undershoot.top {
  background-color: transparent;
  background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
  padding-top: 1px;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  background-origin: content-box;
  background-position: center top; }
.undershoot.bottom {
  background-color: transparent;
  background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
  padding-bottom: 1px;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  background-origin: content-box;
  background-position: center bottom; }
.undershoot.left {
  background-color: transparent;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
  padding-left: 1px;
  background-size: 1px 10px;
  background-repeat: repeat-y;
  background-origin: content-box;
  background-position: left center; }
.undershoot.right {
  background-color: transparent;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%);
  padding-right: 1px;
  background-size: 1px 10px;
  background-repeat: repeat-y;
  background-origin: content-box;
  background-position: right center; }
