/******************************************/
/* DO NOT CHANGE THESE COLOR DEFINITIONS! */
@define-color bg_color #e8e7ea;
@define-color fg_color #222123;
@define-color text_color #000000;
/******************************************/

/* mix(#888888_to_ffffff, white/black, white/black%) */
/* gtk-icontheme */

* {
/*  font: Noto Sans 12;*/ /* 12px is actually the correct size for "Noto Sans 9" (see gtk-2.0/gtkrc) */
/*  -gtk-font-name: Noto Sans 9;*/ /* use this is Gtk2 */
  padding: 0;
  -GtkToolButton-icon-spacing: 4;
  -GtkTextView-error-underline-color: #cc0000;
  -GtkScrolledWindow-scrollbar-spacing: 0;
  -GtkToolItemGroup-expander-size: 11;
  -GtkWidget-text-handle-width: 20;
  -GtkWidget-text-handle-height: 24;
  -GtkDialog-button-spacing: 4;
  -GtkDialog-action-area-border: 0;
  outline-color: alpha(currentColor,0.5);
  outline-offset: -2px;
  outline-width: 1px;
  -gtk-outline-radius: 1px;
  -gtk-secondary-caret-color: @selected_bg_color; }
/*@import url("options/focus-rectangle-off.css");*/
scrolledwindow *,
iconview *,
textview * {
    outline-style: dashed; }

/***************
 * Base States *
 ***************/
.background {
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
  background-color: mix(@bg_color, @shift_bg_color, 00.30); }
*:disabled {
  -gtk-icon-effect: dim; }

.gtkstyle-fallback {
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
/*  background-color: mix(@bg_color, @shift_bg_color, 00.30); */
}
  .gtkstyle-fallback:hover {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    background-color: mix(@canvas_bg_color, @shift_bg_color, 00.30); }
  .gtkstyle-fallback:active {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    background-color: mix(#cfcfcd, @shift_bg_color, 00.30); }
  .gtkstyle-fallback:disabled {
    color: mix(#767978, @shift_bg_color, 00.30);
    background-color: mix(#e2e3e0, @shift_bg_color, 00.30); }
  .gtkstyle-fallback:selected {
    color: @selected_fg_color;
    background-color: @selected_bg_color; }

.view, iconview,
.view text,
iconview text,
textview text {
  color: @text_color;
  background-color: @canvas_bg_color; }
  .view:disabled, iconview:disabled,
  .view text:disabled,
  iconview text:disabled,
  textview text:disabled {
    color: mix(#767978, @shift_bg_color, 00.30);
    background-color: mix(#e2e3e0, @shift_bg_color, 00.30); }
  .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected,
  .view text:selected:focus,
  iconview text:selected:focus,
  textview text:selected:focus,
  .view text:selected,
  iconview text:selected,
  textview text:selected {
    border-radius: 3px; }

textview border {
  background-color: mix(#f4f4f3, @shift_bg_color, 00.30); }

.rubberband,
rubberband,
flowbox rubberband,
treeview.view rubberband, treeview.view .rubberband,
.content-view rubberband, .content-view .rubberband {
  border: 1px solid mix(#2a76c6, @shift_bg_color, 00.30);
  background-color: mix(rgba(42, 118, 198, 0.2), rgba(0, 0, 0, 0.2), 00.30); }

flowbox flowboxchild {
  padding: 3px; }
  flowbox flowboxchild:selected {
    outline-offset: -2px; }

.content-view .tile {
  margin: 2px;
  background-color: transparent;
  border-radius: 0;
  padding: 0; }
  .content-view .tile:active, .content-view .tile:selected {
    background-color: transparent; }
  .content-view .tile:disabled {
    background-color: transparent; }

label {
  caret-color: currentColor; }
  label.separator {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30); }
  label selection {
    background-color: @selected_bg_color;
    color: @selected_fg_color; }
  label:disabled {
    color: mix(#767978, @shift_bg_color, 00.30); }

.dim-label, label.separator, .titlebar:not(headerbar) .subtitle,
headerbar .subtitle {
  opacity: 0.55;
  text-shadow: none; }

assistant .sidebar {
  background-color: @canvas_bg_color;
  border-top: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30); }
assistant.csd .sidebar {
  border-top-style: none; }
assistant .sidebar label {
  padding: 6px 12px; }
assistant .sidebar label.highlight {
  background-color: mix(#c3c4c4, @shift_bg_color, 00.30); }

.csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier, .csd popover.background.osd, popover.background.osd, .app-notification,
.app-notification.frame, .osd .scale-popup,
.osd {
  color: mix(#eeeeec, @shift_bg_color, 00.30);
  border: none;
  background-color: mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30);
  background-clip: padding-box;
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black; }

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

/****************
 * Text Entries *
 ****************/
entry {
  min-height: 25px;
  padding-left: 5px;
  padding-right: 5px;
  border: 1px solid;
  border-radius: 3px;
/*  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); */
  color: @text_color;
  border-color: mix(#a8a8a8, @shift_bg_color, 00.30);
  background-color: @canvas_bg_color;
  box-shadow: inset 1px 1px 0 0 mix(mix(@bg_color, @shift_bg_color, 00.30), @canvas_bg_color, 0.5); }
  spinbutton:not(.vertical) image.left,
  entry image.left {
    margin-right: 6px; }
  spinbutton:not(.vertical) image.right,
  entry image.right {
    margin-left: 6px; }
  spinbutton.flat:focus:not(.vertical), spinbutton.flat:not(.vertical),
  entry.flat:focus,
  entry.flat {
    min-height: 0;
    padding: 2px;
    background-color: transparent;
    border-color: transparent;
    border-radius: 0; }
  entry:focus {
    box-shadow: inset 0 0 0 1px mix(@canvas_bg_color, @selected_bg_color, 0.35);
    border-color: shade(@selected_bg_color, 0.86); }
  entry:disabled {
    color: mix(#767978, @shift_bg_color, 00.30);
    border-color: mix(#c6c6c3, @shift_bg_color, 00.30);
    background-color: mix(#e2e3e0, @shift_bg_color, 00.30);
    box-shadow: none; }
  spinbutton.error:not(.vertical),
  entry.error {
    color: #cc0000;
    border-color: #cc0000; }
    spinbutton.error:focus:not(.vertical),
    entry.error:focus {
      box-shadow: inset 0 0 0 1px #cc0000;
      border-color: #cc0000; }
    spinbutton.error:not(.vertical) selection,
    entry.error selection {
      background-color: #cc0000; }
  spinbutton.warning:not(.vertical),
  entry.warning {
    color: #f57900;
    border-color: #f57900; }
    spinbutton.warning:focus:not(.vertical),
    entry.warning:focus {
      box-shadow: inset 0 0 0 1px #f57900;
      border-color: #f57900; }
    spinbutton.warning:not(.vertical) selection,
    entry.warning selection {
      background-color: #f57900; }
  spinbutton:not(.vertical) image,
  entry image {
    color: mix(#585d5e, mix(@shift_bg_color, #585d5e, 0.398), 00.30); }
    spinbutton:not(.vertical) image:hover,
    entry image:hover {
      color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30); }
    spinbutton:not(.vertical) image:active,
    entry image:active {
      color: @selected_bg_color; }
  spinbutton:drop(active):focus:not(.vertical), spinbutton:drop(active):not(.vertical),
  entry:drop(active):focus,
  entry:drop(active) {
    border-color: shade(@selected_bg_color, 0.9266);
    box-shadow: inset 0 0 0 1px shade(@selected_bg_color, 0.9266); }
  .osd spinbutton:not(.vertical), .osd entry {
    color: white;
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30);
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black; }
    .osd spinbutton:focus:not(.vertical), .osd entry:focus {
      color: white;
      box-shadow: inset 0 0 0 1px shade(mix(@bg_color, @shift_bg_color, 00.30), 0.95);
      border-color: shade(@selected_bg_color, 0.86);
/*      border-color: @selected_bg_color; */
      background-color: mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30);
      background-clip: padding-box;
/*      box-shadow: inset 0 0 0 1px @selected_bg_color; */
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black; }
    .osd spinbutton:disabled:not(.vertical), .osd entry:disabled {
      color: mix(#767978, @shift_bg_color, 00.30);
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30);
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }
spinbutton:not(.vertical) progress,
entry progress {
  margin: 2px -6px;
  background-color: transparent;
  background-image: none;
  border-radius: 0;
  border-width: 0 0 2px;
  border-color: @selected_bg_color;
  border-style: solid;
  box-shadow: none; }
.linked:not(.vertical) > spinbutton:focus:not(.vertical) + spinbutton:not(.vertical), .linked:not(.vertical) > spinbutton:focus:not(.vertical) + button, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + combobox > box > button.combo, .linked:not(.vertical) >
entry:focus + spinbutton:not(.vertical), .linked:not(.vertical) >
entry:focus + button, .linked:not(.vertical) >
entry:focus + combobox > box > button.combo, .linked:not(.vertical) > spinbutton:focus:not(.vertical) +
entry, .linked:not(.vertical) >
entry:focus +
entry {
  border-left-color: @selected_bg_color; }
.linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + spinbutton:not(.vertical), .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + button, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) + combobox > box > button.combo, .linked:not(.vertical) >
entry:drop(active) + spinbutton:not(.vertical), .linked:not(.vertical) >
entry:drop(active) + button, .linked:not(.vertical) >
entry:drop(active) + combobox > box > button.combo, .linked:not(.vertical) > spinbutton:drop(active):not(.vertical) +
entry, .linked:not(.vertical) >
entry:drop(active) +
entry {
  border-left-color: shade(@selected_bg_color, 0.9266); }
.linked.vertical > spinbutton:not(:disabled):not(.vertical) + entry:not(:disabled), .linked.vertical > spinbutton:not(:disabled):not(.vertical) + spinbutton:not(:disabled):not(.vertical), .linked.vertical >
entry:not(:disabled) + entry:not(:disabled), .linked.vertical >
entry:not(:disabled) + spinbutton:not(:disabled):not(.vertical) {
  border-top-color: mix(#e9e9e8, @shift_bg_color, 00.30); }
.linked.vertical > spinbutton:disabled:not(.vertical) + spinbutton:disabled:not(.vertical), .linked.vertical > spinbutton:disabled:not(.vertical) + entry:disabled, .linked.vertical >
entry:disabled + spinbutton:disabled:not(.vertical), .linked.vertical >
entry:disabled + entry:disabled {
  border-top-color: mix(#e9e9e8, @shift_bg_color, 00.30); }
.linked.vertical > spinbutton:not(.vertical) + spinbutton:focus:not(:only-child):not(.vertical),
.linked.vertical > spinbutton:not(.vertical) + entry:focus:not(:only-child), .linked.vertical >
entry + spinbutton:focus:not(:only-child):not(.vertical),
.linked.vertical >
entry + entry:focus:not(:only-child) {
  border-top-color: @selected_bg_color; }
.linked.vertical > spinbutton:not(.vertical) + spinbutton:drop(active):not(:only-child):not(.vertical),
.linked.vertical > spinbutton:not(.vertical) + entry:drop(active):not(:only-child), .linked.vertical >
entry + spinbutton:drop(active):not(:only-child):not(.vertical),
.linked.vertical >
entry + entry:drop(active):not(:only-child) {
  border-top-color: shade(@selected_bg_color, 0.9266); }
.linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + spinbutton:not(.vertical),
.linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + entry,
.linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + button,
.linked.vertical > spinbutton:focus:not(:only-child):not(.vertical) + combobox > box > button.combo, .linked.vertical >
entry:focus:not(:only-child) + spinbutton:not(.vertical),
.linked.vertical >
entry:focus:not(:only-child) + entry,
.linked.vertical >
entry:focus:not(:only-child) + button,
.linked.vertical >
entry:focus:not(:only-child) + combobox > box > button.combo {
  border-top-color: @selected_bg_color; }
.linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + spinbutton:not(.vertical),
.linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + entry,
.linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + button,
.linked.vertical > spinbutton:drop(active):not(:only-child):not(.vertical) + combobox > box > button.combo, .linked.vertical >
entry:drop(active):not(:only-child) + spinbutton:not(.vertical),
.linked.vertical >
entry:drop(active):not(:only-child) + entry,
.linked.vertical >
entry:drop(active):not(:only-child) + button,
.linked.vertical >
entry:drop(active):not(:only-child) + combobox > box > button.combo {
  border-top-color: shade(@selected_bg_color, 0.9266); }

treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) {
  background-color: @canvas_bg_color;
  transition-property: color, background; }
treeview entry.flat, treeview entry {
  border-radius: 0;
  background-image: none;
  background-color: @canvas_bg_color; }
  treeview entry.flat:focus, treeview entry:focus {
    border-color: @selected_bg_color; }

/***********
 * Buttons *
 ***********/
@keyframes needs_attention {
  from {
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(@selected_bg_color), to(transparent)); }
  to {
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(@selected_bg_color), to(transparent)); }
}

button,
.inline-toolbar toolbutton > button,
/*button.titlebutton, # button.titlebutton is refined in headerbar targeting min/max/close */
notebook > header > tabs > arrow {
  outline-offset: -4px;
  min-height: 17px;
  min-width: 17px;
  padding: 4px 8px;
  border: 1px solid;
  border-radius: 3px;
  transition: 50ms;
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
  outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
  border-color: mix(#b0b0b0, @shift_bg_color, 00.30);
  border-bottom-color: mix(#9a9a9a, @shift_bg_color, 00.30);
/*border-color: mix(rgba(145, 145, 140, 0.6), @shift_bg_color, 00.30);
  border-bottom-color: mix(rgba(110, 110, 110, 0.6), @shift_bg_color, 00.30);*/
  background-image: linear-gradient(to bottom, mix(#f4f4f4, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 50%, mix(#d0d0d0, @shift_bg_color, 00.30));
  text-shadow: 0 1px mix(#f0f0f0, @shift_bg_color, 00.30);
  -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), @shift_bg_color, 00.30);
  box-shadow: inset 0 1px mix(#fbfbfb, @shift_bg_color, 00.30); }
  button.flat, button.titlebutton, button.sidebar-button,
  notebook > header > tabs > arrow {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none;
    transition: 50ms; }
    button.flat:hover, button.sidebar-button:hover, button.titlebutton:hover {
      transition: all 50ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transition-duration: 50ms; }
      button.flat:hover:active, button.sidebar-button:hover:active, button.titlebutton:hover:active {
        transition: all 50ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  button:hover, button.titlebutton:hover,
  .inline-toolbar toolbutton > button:hover,
  notebook > header > tabs > arrow:hover {
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#bcbcbc, @shift_bg_color, 00.30);
    border-left-color: mix(#b4b4b4, @shift_bg_color, 00.30);
    border-right-color: mix(#b4b4b4, @shift_bg_color, 00.30);
    border-bottom-color: mix(#a8a8a8, @shift_bg_color, 00.30);
/*  border-color: mix(rgba(170, 170, 170, 0.6), @shift_bg_color, 00.30);
    border-bottom-color: mix(rgba(130, 130, 130, 0.6), @shift_bg_color, 00.30);*/
/*  text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30); */
    -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
/*    background-image: linear-gradient(to bottom, mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.299), 00.30), mix(#f4f4f4, mix(@shift_bg_color, #f4f4f4, 0.299), 00.30) 50%, mix(#dcdcdc, mix(@shift_bg_color, #dcdcdc, 0.299), 00.30));*/
    background-image: linear-gradient(to bottom, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.11), shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.06) 50%, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 0.94));
    box-shadow: inset 0 1px shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.14);
    text-shadow: 0 1px mix(#f8f8f8, @shift_bg_color, 00.30);
    -gtk-icon-effect: none; }
    button.flat:hover {
/*    background-image: linear-gradient(to bottom, mix(#f8f8f8, mix(@shift_bg_color, #f8f8f8, 0.299), 00.30), mix(@bg_color, mix(@shift_bg_color, @bg_color, 0.299), 00.30) 50%, mix(#d0d0d0, mix(@shift_bg_color, #d0d0d0, 0.299), 00.30));
      box-shadow: inset 0 1px mix(#f8f8f8, mix(@shift_bg_color, #f8f8f8, 0.499), 00.30);*/
      background-image: linear-gradient(to bottom, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.09), shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.03) 50%, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 0.92));
      box-shadow: inset 0 1px shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.11); }
  button.flat:disabled,
  button.titlebutton:disabled,
  button.sidebar-button:disabled,
  notebook > header > tabs > arrow:disabled {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none; }
  button:disabled,
  button.titlebutton:disabled,
  .inline-toolbar toolbutton > button:disabled,
  notebook > header > tabs > arrow:disabled {
    border-color: mix(#c6c6c3, @shift_bg_color, 00.30);
    border-bottom-color: mix(#bcbcbc, @shift_bg_color, 00.30);
    border-right-color: mix(#bcbcbc, @shift_bg_color, 00.30);
    background-image: linear-gradient(to bottom, mix(#e8e8e8, @shift_bg_color, 00.30), mix(#d8d8d8, @shift_bg_color, 00.30)); 
    text-shadow: 0 1px mix(#f8f8f8, @shift_bg_color, 00.30);
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), @shift_bg_color, 00.30);
    -gtk-icon-shadow: none; }
    button:disabled, button:disabled label,
    button.titlebutton:disabled, button.titlebutton:disabled label,
    .inline-toolbar toolbutton > button:disabled, .inline-toolbar toolbutton > button:disabled label,
    notebook > header > tabs > arrow:disabled, notebook > header > tabs > arrow:disabled label {
/*    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);*/
      color: mix(#767978, @shift_bg_color, 00.30); }
  button.image-button, button.image-button.titlebutton,
  notebook > header > tabs > arrow.image-button {
    min-width: 24px;
    padding-left: 4px;
    padding-right: 4px; }
  button.text-button, button.text-button.titlebutton,
  notebook > header > tabs > arrow.text-button {
    padding-left: 16px;
    padding-right: 16px; }
  button.text-button.image-button, button.text-button.image-button.titlebutton,
  notebook > header > tabs > arrow.text-button.image-button {
    padding-left: 8px;
    padding-right: 8px; }
    button.text-button.image-button label, button.text-button.image-button.titlebutton label,
    notebook > header > tabs > arrow.text-button.image-button label {
      padding-left: 8px;
      padding-right: 8px; }
  combobox:drop(active) button.combo, notebook > header > tabs > arrow:drop(active), button.titlebutton:drop(active),
  button:drop(active) {
    color: shade(@selected_bg_color, 0.9266);
    border-color: shade(@selected_bg_color, 0.9266);
    box-shadow: inset 0 0 0 1px shade(@selected_bg_color, 0.9266); }
row:selected
button {
  border-color: mix(#184472, @shift_bg_color, 00.30); }
  row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled), row:selected
  button.flat:not(:active):not(:checked):not(:hover):not(disabled) {
    color: @selected_fg_color;
    border-color: transparent; }
button.osd {
  min-width: 24px;
  min-height: 32px;
  color: mix(#eeeeec, @shift_bg_color, 00.30);
  border-radius: 5px;
  color: mix(#eeeeec, @shift_bg_color, 00.30);
  border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
  background-color: transparent;
  background-image: image(mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30));
  background-clip: padding-box;
  box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30);
  border: none;
  box-shadow: none; }
  button.osd.image-button {
    min-width: 32px; }
  button.osd:hover {
    color: white;
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(57, 63, 65, 0.7), rgba(0, 0, 0, 0.7), 00.30));
    background-clip: padding-box;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border: none;
    box-shadow: none; }
  button.osd:active,
  button.osd:checked {
    color: white;
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border: none;
    box-shadow: none; }
  button.osd:disabled {
    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
    color: mix(#767978, @shift_bg_color, 00.30);
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    border: none; }
.csd popover.background.touch-selection button, .csd popover.background.magnifier button, popover.background.touch-selection button, popover.background.magnifier button, .app-notification button,
.app-notification.frame button, .osd
button {
  color: mix(#eeeeec, @shift_bg_color, 00.30);
  border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
  background-color: transparent;
  background-image: image(mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30));
  background-clip: padding-box;
  box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  popover.background.touch-selection button:hover, popover.background.magnifier button:hover, .app-notification button:hover, .osd
  button:hover {
    color: white;
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(57, 63, 65, 0.7), rgba(0, 0, 0, 0.7), 00.30));
    background-clip: padding-box;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  popover.background.touch-selection button:active, popover.background.magnifier button:active, .app-notification button:active, popover.background.touch-selection button:checked, popover.background.magnifier button:checked, .app-notification button:checked,
  .osd button:active, .osd button:checked {
    color: white;
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  popover.background.touch-selection button:disabled, popover.background.magnifier button:disabled, .app-notification button:disabled,
  .osd button:disabled {
    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
    color: mix(#767978, @shift_bg_color, 00.30);
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none; }
  popover.background.touch-selection button.flat, popover.background.magnifier button.flat, .app-notification button.flat, .osd
  button.flat {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: none;
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black; }
    popover.background.touch-selection button.flat:hover, popover.background.magnifier button.flat:hover, .app-notification button.flat:hover, .osd
    button.flat:hover {
      color: white;
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: transparent;
      background-image: image(mix(rgba(57, 63, 65, 0.7), rgba(0, 0, 0, 0.7), 00.30));
      background-clip: padding-box;
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
    popover.background.touch-selection button.flat:disabled, popover.background.magnifier button.flat:disabled, .app-notification button.flat:disabled, .osd
    button.flat:disabled {
      text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
      color: mix(#767978, @shift_bg_color, 00.30);
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: transparent;
      background-image: image(mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      background-image: none;
      border-color: transparent;
      box-shadow: none; }
    popover.background.touch-selection button.flat:active, popover.background.magnifier button.flat:active, .app-notification button.flat:active, popover.background.touch-selection button.flat:checked, popover.background.magnifier button.flat:checked, .app-notification button.flat:checked, .osd
    button.flat:active, .osd
    button.flat:checked {
      color: white;
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: transparent;
      background-image: image(mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
/*@import url("options/default-button-bright.css");*/
  .selection-mode button.titlebutton,
  button.suggested-action.default.flat {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @selected_bg_color; }
  .selection-mode button.titlebutton:disabled,
  button.suggested-action.default.flat:disabled {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: mix(rgba(74, 144, 217, 0.8), rgba(0, 0, 0, 0.8), 00.30); }
  .osd button.suggested-action {
    color: #eeeeec;
    border-color: rgba(0, 0, 0, 0.7);
    background-color: transparent;
    background-image: image(rgba(74, 144, 217, 0.5));
    background-clip: padding-box;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: rgba(238, 238, 236, 0.3); }
    .osd button.suggested-action:hover {
      color: white;
      border-color: rgba(0, 0, 0, 0.7);
      background-color: transparent;
      background-image: image(rgba(74, 144, 217, 0.7));
      background-clip: padding-box;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: rgba(238, 238, 236, 0.3); }
    .osd button.suggested-action:active, .osd button.suggested-action:checked {
      color: white;
      border-color: rgba(0, 0, 0, 0.7);
      background-color: transparent;
      background-image: image(@selected_bg_color);
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      outline-color: rgba(238, 238, 236, 0.3); }
    .osd button.suggested-action:disabled {
      text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
      color: #767978;
      border-color: rgba(0, 0, 0, 0.7);
      background-color: transparent;
      background-image: image(mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }
button.destructive-action {
  color: white;
  outline-color: rgba(255, 255, 255, 0.3);
  border-color: #a60c0c;
  border-bottom-color: #760909;
  background-image: linear-gradient(to bottom, #ef2929, #ee1616 60%, #d51010);
  text-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
  -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
  button.destructive-action.flat {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: #ef2929; }
  button.destructive-action:hover {
    color: white;
    outline-color: rgba(255, 255, 255, 0.3);
    border-color: #a60c0c;
    border-bottom-color: #760909;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.51278);
    -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.51278);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
    background-image: linear-gradient(to bottom, #f14545, #ef2929 60%, #ee1616); }
  button.destructive-action:active,
  button.destructive-action:checked {
    color: white;
    outline-color: rgba(255, 255, 255, 0.3);
    border-color: #c00c0c;
    background-image: linear-gradient(to top, #ff7878, #f01818 60%, #e01010);
    box-shadow: inset 1px 0 rgba(255, 255, 255, 0.25), inset -1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px rgba(255, 255, 255, 0.25), inset 0 1px rgba(255, 255, 255, 0.35);
    text-shadow: none;
    -gtk-icon-shadow: none; }
  button.destructive-action.flat:disabled {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: rgba(239, 41, 41, 0.8); }
    button.destructive-action:disabled {
    border-color: #b6b6b3;
    background-image: image(#ffcccc);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
    button.destructive-action:disabled, button.destructive-action:disabled label {
      text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
/*    color: #767978; */
      color: #666666; }
    button.destructive-action:disabled:active,
    button.destructive-action:disabled:checked {
      border-color: #a60c0c;
      background-image: image(#ee2323);
      box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
      button.destructive-action:disabled:active label,
      button.destructive-action:disabled:active,
      button.destructive-action:disabled:checked label,
      button.destructive-action:disabled:checked {
        color: #f8a7a7; }
  .osd button.destructive-action {
    color: #eeeeec;
    border-color: rgba(0, 0, 0, 0.7);
    background-color: transparent;
    background-image: image(rgba(239, 41, 41, 0.5));
    background-clip: padding-box;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: rgba(238, 238, 236, 0.3); }
    .osd button.destructive-action:hover {
      color: white;
      border-color: rgba(0, 0, 0, 0.7);
      background-color: transparent;
      background-image: image(rgba(239, 41, 41, 0.7));
      background-clip: padding-box;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: rgba(238, 238, 236, 0.3); }
    .osd button.destructive-action:active, .osd button.destructive-action:checked {
      color: white;
      border-color: rgba(0, 0, 0, 0.7);
      background-color: transparent;
      background-image: image(#ef2929);
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      outline-color: rgba(238, 238, 236, 0.3); }
    .osd button.destructive-action:disabled {
      text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
      color: #767978;
      border-color: rgba(0, 0, 0, 0.7);
      background-color: transparent;
      background-image: image(mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }
.stack-switcher > button {
  outline-offset: -4px; }
  .stack-switcher > button > label {
    padding-left: 6px;
    padding-right: 6px; }
  .stack-switcher > button > image {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px; }
  .stack-switcher > button.text-button {
    padding-left: 10px;
    padding-right: 10px; }
  .stack-switcher > button.image-button {
    padding-left: 2px;
    padding-right: 2px; }
  .stack-switcher > button.needs-attention:active > label,
  .stack-switcher > button.needs-attention:active > image,
  .stack-switcher > button.needs-attention:checked > label,
  .stack-switcher > button.needs-attention:checked > image {
    animation: none;
    background-image: none; }
button.font separator,
button.file separator {
  background-color: transparent; }
button.font > box > box > label {
  font-weight: bold; }
.inline-toolbar button {
  border-radius: 2px;
  border-width: 1px; }
.primary-toolbar button {
  -gtk-icon-shadow: none; }
button.circular {
  border-radius: 9999px;
  -gtk-outline-radius: 9999px;
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box; }
  button.circular label {
    padding: 0; }
  button.circular:not(.flat):not(:checked):not(:active):not(:disabled) {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
    border-bottom-color: mix(#91918c, @shift_bg_color, 00.30);
    background-image: linear-gradient(to bottom, mix(@bg_color, @shift_bg_color, 00.30), mix(#dededd, @shift_bg_color, 00.30) 60%, mix(#cfcfcd, @shift_bg_color, 00.30));
    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8), 00.30);
    background-image: linear-gradient(to bottom, mix(@bg_color, @shift_bg_color, 00.30), mix(#dededd, @shift_bg_color, 00.30) 60%, mix(#cfcfcd, @shift_bg_color, 00.30)), linear-gradient(to top, mix(#91918c, @shift_bg_color, 00.30) 25%, mix(#b6b6b3, @shift_bg_color, 00.30) 50%);
    border-color: transparent; }
  button.circular:hover:not(:checked):not(:active):not(:disabled) {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
    border-bottom-color: mix(#91918c, @shift_bg_color, 00.30);
/*    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30); */
    -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30);
    background-image: linear-gradient(to bottom, mix(#f7f7f7, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 60%, mix(#dededd, @shift_bg_color, 00.30));
    background-image: linear-gradient(to bottom, mix(#f7f7f7, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 60%, mix(#dededd, @shift_bg_color, 00.30)), linear-gradient(to top, mix(#91918c, @shift_bg_color, 00.30) 25%, mix(#b6b6b3, @shift_bg_color, 00.30) 50%);
    border-color: transparent; }

.stack-switcher > button.needs-attention > label,
.stack-switcher > button.needs-attention > image, 
stacksidebar row.needs-attention > label { 
  animation: needs_attention 250ms ease-in;
  background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#ffff66), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30)), to(transparent)); /***/
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  background-position: right 5px; }
  .stack-switcher >  button.needs-attention > label:dir(rtl),
  .stack-switcher >  button.needs-attention > image:dir(rtl),
  stacksidebar row.needs-attention > label:dir(rtl) {
    background-position: left 5px; }

/***/
.inline-toolbar toolbutton > button.flat,
.linked:not(.vertical) > spinbutton:not(.vertical),
.linked:not(.vertical) > entry,
.inline-toolbar button, 
.linked > button,
.linked > button:hover,
.linked > button:active,
.linked > button:checked,
.linked > combobox > box > button.combo:dir(ltr),
.linked > combobox > box > button.combo:dir(rtl) {
  border-radius: 0;
  border-right-style: none; }

.linked:not(.vertical) > spinbutton:first-child:not(.vertical),
.linked:not(.vertical) > entry:first-child,
.inline-toolbar button:first-child,
.linked > button:first-child,
toolbar.inline-toolbar toolbutton:first-child > button.flat,
combobox.linked button:nth-child(2):dir(rtl),
.linked:not(.vertical) > combobox:first-child > box > button.combo {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px; }
.linked:not(.vertical) > spinbutton:last-child:not(.vertical),
.linked:not(.vertical) > entry:last-child,
.inline-toolbar button:last-child,
.linked > button:last-child,
toolbar.inline-toolbar toolbutton:last-child > button.flat,
combobox.linked button:nth-child(2):dir(ltr),
.linked:not(.vertical) > combobox:last-child > box > button.combo {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-right-style: solid; }
.linked:not(.vertical) > spinbutton:only-child:not(.vertical),
.linked:not(.vertical) > entry:only-child,
.inline-toolbar button:only-child,
.linked > button:only-child,
toolbar.inline-toolbar toolbutton:only-child > button.flat,
.linked:not(.vertical) > combobox:only-child > box > button.combo {
  border-radius: 3px;
  border-style: solid; }

.linked.vertical > spinbutton:not(.vertical),
.linked.vertical > entry,
.linked.vertical > button,
.linked.vertical > button:hover,
.linked.vertical > button:active,
.linked.vertical > button:checked,
.linked.vertical > combobox > box > button.combo {
  border-style: solid solid none solid;
  border-radius: 0; }
.linked.vertical > spinbutton:first-child:not(.vertical),
.linked.vertical > entry:first-child,
.linked.vertical > button:first-child,
.linked.vertical > combobox:first-child > box > button.combo {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px; }
.linked.vertical > spinbutton:last-child:not(.vertical),
.linked.vertical > entry:last-child,
.linked.vertical > button:last-child,
.linked.vertical > combobox:last-child > box > button.combo {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-style: solid; }
.linked.vertical > spinbutton:only-child:not(.vertical),
.linked.vertical > entry:only-child,
.linked.vertical > button:only-child,
.linked.vertical > combobox:only-child > box > button.combo {
  border-radius: 3px;
  border-style: solid; }

/* menu buttons */
button:link,
button:visited, button:link:hover, button:link:active, button:link:checked,
button:visited:hover,
button:visited:active,
button:visited:checked, calendar.button, .scale-popup button:hover {
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30), 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
  text-shadow: none;
  -gtk-icon-shadow: none; }

modelbutton.flat,
.menuitem.button.flat {
  color: @fg_color;
  outline-style: none;
  min-height: 20px;
  padding: 2px;
  border-radius: 0px;
  outline-offset: -2px; }
  modelbutton.flat:hover,
  .menuitem.button.flat:hover {
    color: @selected_fg_color;
    background-color: @selected_bg_color; }

modelbutton.flat check, modelbutton.flat radio,
.menuitem.button.flat check, .menuitem.button.flat radio {
  border: none;
  box-shadow: none;
  border-radius: 0;
  background-image: image(@menu_bg_color); }
  modelbutton.flat check:hover, modelbutton.flat radio:hover,
  .menuitem.button.flat check:hover, .menuitem.button.flat radio:hover {
    background-image: image(@selected_bg_color); }
  modelbutton.flat radio, .menuitem.button.flat radio {
    min-width: 11px;
    min-height: 11px; }

modelbutton.flat arrow {
  min-height: 13px;
  min-width: 13px;
  background: none; }
  modelbutton.flat arrow:hover {
    background: none; }
  modelbutton.flat arrow.left:dir(ltr) {
    margin-left: 5px;
    -gtk-icon-source: image(-gtk-recolor(url("assets/extras/pan-start2-symbolic.svg"))); }
  modelbutton.flat arrow.left:dir(rtl) {
    margin-right: 5px;
    -gtk-icon-source: image(-gtk-recolor(url("assets/extras/pan-start2-symbolic.svg"))); }
  modelbutton.flat arrow.right:dir(ltr) {
    margin-right: 5px;
    -gtk-icon-source: image(-gtk-recolor(url("assets/extras/pan-end2-symbolic.svg"))); }
  modelbutton.flat arrow.right:dir(rtl) {
    margin-left: 5px;
    -gtk-icon-source: image(-gtk-recolor(url("assets/extras/pan-end2-symbolic.svg"))); }

button.color {
  padding: 4px; }
  button.color colorswatch:only-child {
    box-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30); }
    button.color colorswatch:only-child, button.color colorswatch:only-child overlay {
      border-radius: 0; }
    .osd button.color colorswatch:only-child {
      box-shadow: none; }
  .osd button.color:disabled colorswatch:only-child, .osd button.color:active colorswatch:only-child, .osd button.color:checked colorswatch:only-child, button.color:disabled colorswatch:only-child, button.color:active colorswatch:only-child, button.color:checked colorswatch:only-child {
    box-shadow: none; }

/*********
 * Links *
 *********/
button:link > label,
button:visited > label,
*:link,
button:link,
button:visited {
  color: mix(#2a76c6, @shift_bg_color, 00.30); }
  button:link > label:visited,
  button:visited > label:visited,
  *:link:visited,
  button:visited {
    color: mix(#215d9c, @shift_bg_color, 00.30); }
    *:selected button:link > label:visited,
    *:selected button:visited > label:visited, *:selected
    *:link:visited, *:selected
    button:visited:link,
    *:selected button:visited {
      color: mix(#b7d3f0, @shift_bg_color, 00.30); }
  button:link > label:hover,
  button:visited > label:hover,
  *:link:hover,
  button:hover:link,
  button:hover:visited {
    color: @selected_bg_color; }
    *:selected button:link > label:hover,
    *:selected button:visited > label:hover, *:selected
    *:link:hover, *:selected
    button:hover:link,
    *:selected button:hover:visited {
      color: mix(#edf4fb, @shift_bg_color, 00.30); }
  button:link > label:active,
  button:visited > label:active,
  *:link:active,
  button:active:link,
  button:active:visited {
    color: mix(#2a76c6, @shift_bg_color, 00.30); }
    *:selected button:link > label:active,
    *:selected button:visited > label:active, *:selected
    *:link:active, *:selected
    button:active:link,
    *:selected button:active:visited {
      color: mix(#dbe9f7, @shift_bg_color, 00.30); }
  infobar.info *:link, infobar.info button:link,
  infobar.info button:visited, infobar.question *:link, infobar.question button:link,
  infobar.question button:visited, infobar.warning *:link, infobar.warning button:link,
  infobar.warning button:visited, infobar.error *:link, infobar.error button:link,
  infobar.error button:visited, button:link > label:selected,
  button:visited > label:selected, *:selected button:link > label,
  *:selected button:visited > label,
  *:link:selected,
  button:selected:link,
  button:selected:visited,
  .selection-mode.titlebar:not(headerbar) .subtitle:link,
  headerbar.selection-mode .subtitle:link, *:selected
  *:link, *:selected
  button:link,
  *:selected button:visited {
    color: #dbe9f7; }

button:link,
button:visited {
  text-shadow: none; }
  button:link:hover, button:link:active, button:link:checked,
  button:visited:hover,
  button:visited:active,
  button:visited:checked {
    text-shadow: none; }
  button:link > label,
  button:visited > label {
    text-decoration-line: underline; }

/*****************
 * SpinButton *
 *****************/
spinbutton:not(.vertical) {
  color: @text_color;
  min-height: 25px;
  background: @canvas_bg_color;
  box-shadow: inset 0 0 0 1px mix(mix(@bg_color, @shift_bg_color, 00.30), @canvas_bg_color, 0.3);
  padding: 0; }
  spinbutton:not(.vertical):disabled {
    color: mix(#767978, @shift_bg_color, 00.30);
    background-color: mix(#e2e3e0, @shift_bg_color, 00.30);
    box-shadow: none; }
  spinbutton:not(.vertical) entry {
    min-width: 28px;
    margin: 0;
    background: none;
    background-color: transparent;
    border-style: solid none solid solid;
    border-radius: 3px 0 0 3px; }
/*spinbutton:not(.vertical) entry:not(:focus) {
    box-shadow: none; }*/
  spinbutton:not(.vertical) entry:dir(rtl) {
    border-style: solid solid solid none;
    border-radius: 0 3px 3px 0; }
  spinbutton:not(.vertical) button {
    border-style: solid none solid solid;
    border-radius: 0; }
    spinbutton:not(.vertical) button:dir(rtl) {
      border-style: solid solid solid none; }
    spinbutton:not(.vertical) button:hover {
      outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
      -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
      -gtk-icon-effect: highlight; }
    spinbutton:not(.vertical) button:disabled {
      -gtk-icon-shadow: none; }
    spinbutton:not(.vertical) button:active { }
    spinbutton:not(.vertical) button:dir(ltr):last-child {
      border-right-style: solid;
      border-radius: 0 2px 2px 0; }
    spinbutton:not(.vertical) button:dir(rtl):first-child {
      border-left-style: solid;
      border-radius: 2px 0 0 2px; }
.osd spinbutton:not(.vertical) button {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: mix(#eeeeec, @shift_bg_color, 00.30);
  border-style: solid none solid solid;
  border-color: mix(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), 00.30);
  border-radius: 0;
  box-shadow: none;
  -gtk-icon-shadow: 0 1px black; }
  .osd spinbutton:not(.vertical) button:dir(rtl) {
    border-style: solid solid solid none; }
  .osd spinbutton:not(.vertical) button:hover {
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: mix(#eeeeec, @shift_bg_color, 00.30);
    border-color: mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30);
    background-color: mix(rgba(238, 238, 236, 0.1), rgba(0, 0, 0, 0.1), 00.30);
    -gtk-icon-shadow: 0 1px black;
    box-shadow: none; }
  .osd spinbutton:not(.vertical) button:disabled {
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: mix(#767978, @shift_bg_color, 00.30);
    border-color: mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30);
    -gtk-icon-shadow: none;
    box-shadow: none; }
  .osd spinbutton:not(.vertical) button:dir(ltr):last-child {
    border-right-style: solid;
    border-radius: 0 3px 3px 0; }
  .osd spinbutton:not(.vertical) button:dir(rtl):first-child {
    border-left-style: solid;
    border-radius: 3px 0 0 3px; }
spinbutton.vertical {
  color: @text_color; }
spinbutton.vertical:disabled {
  color: mix(#767978, @shift_bg_color, 00.30); }
spinbutton.vertical:drop(active) {
  border-color: transparent;
  box-shadow: none; }
spinbutton.vertical entry {
  min-height: 26px;
/*  min-width: 26px; */
  padding: 0;
  border-radius: 0; }
spinbutton.vertical button {
  min-height: 26px;
  min-width: 26px;
  padding: 0; }
spinbutton.vertical button.up {
  border-radius: 3px 3px 0 0;
  border-style: solid solid none solid; }
spinbutton.vertical button.down {
  border-radius: 0 0 3px 3px;
  border-style: none solid solid solid; }
.osd spinbutton.vertical button:first-child {
  color: mix(#eeeeec, @shift_bg_color, 00.30);
  border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
  background-color: transparent;
  background-image: image(mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30));
  background-clip: padding-box;
  box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  .osd spinbutton.vertical button:first-child:hover {
    color: white;
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(57, 63, 65, 0.7), rgba(0, 0, 0, 0.7), 00.30));
    background-clip: padding-box;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  .osd spinbutton.vertical button:first-child:active {
    color: white;
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  .osd spinbutton.vertical button:first-child:disabled {
    color: mix(#767978, @shift_bg_color, 00.30);
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none; }
treeview spinbutton:not(.vertical) {
  min-height: 0;
  border-style: none;
  border-radius: 0; }
  treeview spinbutton:not(.vertical) entry {
    min-height: 0;
    padding: 1px 2px; }

/**************
 * ComboBoxes *
 **************/
combobox > box > button.combo {
  min-height: 16px;
  min-width: 16px;
  text-shadow: none;
  padding: 2px 2px 2px 4px; }
combobox > box > button.combo arrow {
  margin: 5px 2px 3px 5px;
  -gtk-icon-source: -gtk-recolor(url("assets/extras/combobox-symbolic.svg"));
  min-height: 13px;
  min-width: 13px; }
combobox > box > button.combo:not(:only-child) arrow {
  margin: 2px 2px 2px 0px;
  -gtk-icon-source: -gtk-recolor(url("assets/override/pan-down-symbolic.svg"));
  min-height: 12px;
  min-width: 14px; }
combobox:drop(active) {
  box-shadow: none; }

/************
 * Toolbars *
 ************/
toolbar {
/*  border-style: solid; */
/*  border-width: 0 0 1px 0; */
/*  border-bottom: 1px solid mix(#cccccc, @shift_bg_color, 00.30);*/
/*  margin: 0 0 3px 0; */
  padding: 4px 3px 3px 4px; }
  .osd toolbar {
    background-color: transparent; }
  toolbar.osd {
    padding: 13px;
    border: none;
    border-radius: 5px;
    background-color: mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30); }
    toolbar.osd.left, toolbar.osd.right, toolbar.osd.top, toolbar.osd.bottom {
      border-radius: 0; }
  toolbar.horizontal separator {
    margin: 0 7px 1px 6px; }
  toolbar.vertical separator {
    margin: 6px 1px 7px 0; }
  toolbar:not(.inline-toolbar):not(.osd) switch,
  toolbar:not(.inline-toolbar):not(.osd) scale,
  toolbar:not(.inline-toolbar):not(.osd) entry,
  toolbar:not(.inline-toolbar):not(.osd) spinbutton,
  toolbar:not(.inline-toolbar):not(.osd) button {
    margin-right: 1px;
    margin-bottom: 1px; }

searchbar,
.inline-toolbar,
.location-bar {
  padding: 3px;
  border-width: 1px;
  border-radius: 0px;
  border-style: none;
  border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
/*  background-color: mix(#d9d9d7, @shift_bg_color, 00.30);  */
  background-color: mix(@bg_color, @shift_bg_color, 00.30); }

.location-bar entry {
  margin-top: 5px;
  margin-bottom: 4px; }

/* headerbar:not(.titlebar) button,  */
.location-bar button {
  min-height: 26px; }

toolbar button, .inline-toolbar button {
  min-height: 24px; }

/***************
 * Header bars *
 ***************/
.titlebar:not(headerbar),
headerbar {
  padding: 0 6px 0 6px;
  min-height: 35px; /* 35/46/56 */
  border-width: 0 0 1px 0;
  border-style: solid; /* none/solid */
  border-color: mix(#cccccc, @shift_bg_color, 00.30);
  border-radius: 0;
  background: linear-gradient(to bottom, mix(#ffffff, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 50%, mix(mix(@bg_color, @shift_bg_color, 00.30), #000000, 0.0)); }
  headerbar:not(.titlebar) {
    box-shadow: none;
    background: image(mix(@bg_color, @shift_bg_color, 00.30)); }
  .titlebar:not(headerbar) .title,
  headerbar .title {
    padding-left: 12px;
    padding-right: 12px;
    text-shadow: 1px 1px #f4f4f4;
    color: #282828;
    font-weight: normal; }
  .titlebar:not(headerbar) .subtitle,
  headerbar .subtitle {
    font-size: smaller;
    color: mix(#444444, mix(@shift_bg_color, #444444, 0.398), 00.30);
    padding-left: 12px;
    padding-right: 12px; }
  headerbar.titlebar {
    box-shadow: inset 0 1px shade(#f8f8f8, 0.95); }
  headerbar.titlebar:backdrop {
    box-shadow: inset 0 1px shade(#eeeeee, 0.95); }
  headerbar.titlebar entry,
  headerbar.titlebar combobox button,
  headerbar.titlebar spinbutton,
  headerbar.titlebar switch {
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 0px 6px 0px 6px; }
  headerbar.titlebar combobox button {
    padding: 2px 6px 2px 6px; }
  headerbar.titlebar > :last-child button.titlebutton {
    padding: 2px 1px 1px 2px; }
  headerbar.titlebar > :last-child {
    -GtkWidget-window-dragging: false; /* no effect for some reason */
/*  margin-top: -8px;*/
    margin-left: 8px; }
/*  headerbar.titlebar :not(toolbutton) button.titlebutton {
    padding: 2px 2px; }*/
/*  headerbar.titlebar button.titlebutton:nth-last-child(1) {
    padding: 2px 2px; }
  headerbar.titlebar button.titlebutton:nth-last-child(2) {
    padding: 2px 2px; }
  headerbar.titlebar button.titlebutton:nth-last-child(3) {
    padding: 2px 2px; }
  headerbar.titlebar button.titlebutton:first-child {
    padding: 4px 8px; }*/
  headerbar.titlebar:backdrop, headerbar.titlebar:backdrop * {
    color: mix(#777777, @shift_bg_color, 0.10); }
  headerbar.titlebar:backdrop .title, headerbar.titlebar:backdrop .subsubtitle {
    color: #888888;
    text-shadow: 1px 1px #f8f8f8; }
  headerbar.titlebar button.suggested-action:backdrop, headerbar.titlebar button.suggested-action:backdrop * {
    border-color: #66aabb;
    border-bottom-color: #5090a0;
    color: #5555aa; }
  headerbar.titlebar button.titlebutton.close, headerbar.titlebar button.titlebutton.close *,
  headerbar.titlebar button.titlebutton.maximize, headerbar.titlebar button.titlebutton.maximize *,
  headerbar.titlebar button.titlebutton.minimize, headerbar.titlebar button.titlebutton.minimize *,
  headerbar.titlebar:backdrop button.titlebutton.close, headerbar.titlebar:backdrop button.titlebutton.close *,
  headerbar.titlebar:backdrop button.titlebutton.maximize, headerbar.titlebar:backdrop button.titlebutton.maximize *,
  headerbar.titlebar:backdrop button.titlebutton.minimize, headerbar.titlebar:backdrop button.titlebutton.minimize * {
    color: transparent;
    background-position: center;
    background-repeat: no-repeat; }
  headerbar.titlebar button.titlebutton.close:disabled, headerbar.titlebar button.titlebutton.maximize:disabled, headerbar.titlebar button.titlebutton.minimize:disabled {
    border-color: transparent; }
  headerbar.titlebar button.titlebutton.close {
    background-image: url("assets/extras/csd-close-active.png"); }
  headerbar.titlebar button.titlebutton.close:hover {
    box-shadow: none;
    background-image: url("assets/extras/csd-close-active.png"), linear-gradient(to bottom, mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.399), 00.30), mix(#eeeeee, mix(@shift_bg_color, #eeeeee, 0.399), 00.30) 50%, mix(#c0c0c0, mix(@shift_bg_color, #c0c0c0, 0.299), 00.30)); }
  headerbar.titlebar button.titlebutton.close:active {
    border-color: transparent;
    background-image: url("assets/extras/csd-close-pressed.png"); }
  headerbar.titlebar:backdrop button.titlebutton.close, headerbar.titlebar:backdrop button.titlebutton.close:hover {
    border-color: transparent;
    background-image: url("assets/extras/csd-close-inactive.png"); }
  headerbar.titlebar button.titlebutton.minimize {
    background-image: url("assets/extras/csd-minimize-active.png"); }
  headerbar.titlebar button.titlebutton.minimize:hover {
    box-shadow: none;
    background-image: url("assets/extras/csd-minimize-active.png"), linear-gradient(to bottom, mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.399), 00.30), mix(#eeeeee, mix(@shift_bg_color, #eeeeee, 0.399), 00.30) 50%, mix(#c0c0c0, mix(@shift_bg_color, #c0c0c0, 0.299), 00.30)); }
  headerbar.titlebar button.titlebutton.minimize:active {
    border-color: transparent;
    background-image: url("assets/extras/csd-minimize-pressed.png"); }
  headerbar.titlebar:backdrop button.titlebutton.minimize, headerbar.titlebar:backdrop button.titlebutton.minimize:hover {
    border-color: transparent;
    background-image: url("assets/extras/csd-minimize-inactive.png"); }
  headerbar.titlebar button.titlebutton.maximize {
    background-image: url("assets/extras/csd-maximize-active.png"); }
  headerbar.titlebar button.titlebutton.maximize:hover {
    box-shadow: none;
    background-image: url("assets/extras/csd-maximize-active.png"), linear-gradient(to bottom, mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.399), 00.30), mix(#eeeeee, mix(@shift_bg_color, #eeeeee, 0.399), 00.30) 50%, mix(#c0c0c0, mix(@shift_bg_color, #c0c0c0, 0.299), 00.30)); }
  headerbar.titlebar button.titlebutton.maximize:active {
    border-color: transparent;
    background-image: url("assets/extras/csd-maximize-pressed.png"); }
  headerbar.titlebar:backdrop button.titlebutton.maximize, headerbar.titlebar:backdrop button.titlebutton.maximize:hover {
    border-color: transparent;
    background-image: url("assets/extras/csd-maximize-inactive.png"); }
  .selection-mode.titlebar:not(headerbar),
  headerbar.selection-mode { /***/
    color: @selected_fg_color;
    border-color: mix(#184472, @shift_bg_color, 00.30);
    text-shadow: 0 -1px mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30);
    background: @selected_bg_color linear-gradient(to top, mix(#276fba, @shift_bg_color, 00.30), mix(#428bd7, @shift_bg_color, 00.30) 2px, @selected_bg_color 3px);
    box-shadow: inset 0 1px mix(rgba(146, 188, 232, 0.9), rgba(0, 0, 0, 0.9), 00.30); }
    .selection-mode.titlebar:not(headerbar) button,
    headerbar.selection-mode button {
      color: @selected_fg_color;
      outline-color: mix(rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3), 00.30);
      border-color: mix(#215d9c, @shift_bg_color, 00.30);
      border-bottom-color: mix(#184472, @shift_bg_color, 00.30);
      background-image: linear-gradient(to bottom, @selected_bg_color, #3986d5 60%, #2a76c6);
      text-shadow: 0 -1px mix(rgba(0, 0, 0, 0.54353), rgba(0, 0, 0, 0.54353), 00.30);
      -gtk-icon-shadow: 0 -1px mix(rgba(0, 0, 0, 0.54353), rgba(0, 0, 0, 0.54353), 00.30);
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.4), 00.30); }
      .selection-mode.titlebar:not(headerbar) button.flat,
      headerbar.selection-mode button.flat {
        border-color: transparent;
        background-color: transparent;
        background-image: none;
        box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
        text-shadow: none;
        -gtk-icon-shadow: none; }
      .selection-mode.titlebar:not(headerbar) button:hover,
      headerbar.selection-mode button:hover {
        color: @selected_fg_color;
        outline-color: mix(rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3), 00.30);
        border-color: mix(#215d9c, @shift_bg_color, 00.30);
        border-bottom-color: mix(#184472, @shift_bg_color, 00.30);
/*        text-shadow: 0 -1px mix(rgba(0, 0, 0, 0.49553), rgba(0, 0, 0, 0.49553), 00.30); */
        -gtk-icon-shadow: 0 -1px mix(rgba(0, 0, 0, 0.49553), rgba(0, 0, 0, 0.49553), 00.30);
        box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.4), 00.30);
        background-image: linear-gradient(to bottom, #63a0de, @selected_bg_color 60%, #3986d5); }
      .selection-mode.titlebar:not(headerbar) button:active, .selection-mode.titlebar:not(headerbar) button:checked,
      headerbar.selection-mode button:active,
      headerbar.selection-mode button:checked {
        color: mix(#ffffff, @shift_bg_color, 00.30);
        outline-color: mix(rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3), 00.30);
        border-color: mix(#215d9c, @shift_bg_color, 00.30);
        background-image: image(mix(#3180d4, @shift_bg_color, 00.30));
        box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
        text-shadow: none;
        -gtk-icon-shadow: none; }
      .selection-mode.titlebar:not(headerbar) button.flat:disabled,
      headerbar.selection-mode button.flat:disabled {
        border-color: transparent;
        background-color: transparent;
        background-image: none;
        box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
        text-shadow: none;
        -gtk-icon-shadow: none; }
      .selection-mode.titlebar:not(headerbar) button:disabled,
      headerbar.selection-mode button:disabled {
        border-color: mix(#215d9c, @shift_bg_color, 00.30);
        background-image: image(mix(#65a1df, @shift_bg_color, 00.30));
        text-shadow: none;
        -gtk-icon-shadow: none;
        box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30); }
        .selection-mode.titlebar:not(headerbar) button:disabled label, .selection-mode.titlebar:not(headerbar) button:disabled,
        headerbar.selection-mode button:disabled label,
        headerbar.selection-mode button:disabled {
          color: mix(#b2d0ef, @shift_bg_color, 00.30); }
        .selection-mode.titlebar:not(headerbar) button:disabled:active, .selection-mode.titlebar:not(headerbar) button:disabled:checked,
        headerbar.selection-mode button:disabled:active,
        headerbar.selection-mode button:disabled:checked {
          border-color: mix(#215d9c, @shift_bg_color, 00.30);
          background-image: image(mix(#438cd8, @shift_bg_color, 00.30));
          box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30); }
          .selection-mode.titlebar:not(headerbar) button:disabled:active label, .selection-mode.titlebar:not(headerbar) button:disabled:active, .selection-mode.titlebar:not(headerbar) button:disabled:checked label, .selection-mode.titlebar:not(headerbar) button:disabled:checked,
          headerbar.selection-mode button:disabled:active label,
          headerbar.selection-mode button:disabled:active,
          headerbar.selection-mode button:disabled:checked label,
          headerbar.selection-mode button:disabled:checked {
            color: mix(#b4d1ef, @shift_bg_color, 00.30); }
      .selection-mode.titlebar:not(headerbar) button.suggested-action,
      headerbar.selection-mode button.suggested-action {
        color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
        outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
        border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
        border-bottom-color: mix(#91918c, @shift_bg_color, 00.30);
        background-image: linear-gradient(to bottom, mix(@bg_color, @shift_bg_color, 00.30), mix(#dededd, @shift_bg_color, 00.30) 60%, mix(#cfcfcd, @shift_bg_color, 00.30));
        text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
        -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
        box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8), 00.30);
        border-color: mix(#184472, @shift_bg_color, 00.30); }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:hover,
        headerbar.selection-mode button.suggested-action:hover {
          color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
          outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
          border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
          border-bottom-color: mix(#91918c, @shift_bg_color, 00.30);
/*          text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30); */
          -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
          box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30);
          background-image: linear-gradient(to bottom, mix(#f7f7f7, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 60%, mix(#dededd, @shift_bg_color, 00.30));
          border-color: mix(#184472, @shift_bg_color, 00.30); }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:active,
        headerbar.selection-mode button.suggested-action:active {
          color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
          outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
          border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
          background-image: image(mix(#d9d9d7, @shift_bg_color, 00.30));
          box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
          text-shadow: none;
          -gtk-icon-shadow: none;
          border-color: mix(#184472, @shift_bg_color, 00.30); }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:disabled,
        headerbar.selection-mode button.suggested-action:disabled {
          border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
          background-image: image(mix(#e2e3e0, @shift_bg_color, 00.30));
          text-shadow: none;
          -gtk-icon-shadow: none;
          box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
          border-color: mix(#184472, @shift_bg_color, 00.30); }
          .selection-mode.titlebar:not(headerbar) button.suggested-action:disabled label, .selection-mode.titlebar:not(headerbar) button.suggested-action:disabled,
          headerbar.selection-mode button.suggested-action:disabled label,
          headerbar.selection-mode button.suggested-action:disabled {
            text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
            color: mix(#767978, @shift_bg_color, 00.30); }
    .selection-mode.titlebar:not(headerbar) .selection-menu,
    headerbar.selection-mode .selection-menu {
      border-color: mix(rgba(74, 144, 217, 0), rgba(0, 0, 0, 0), 00.30);
      background-color: mix(rgba(74, 144, 217, 0), rgba(0, 0, 0, 0), 00.30);
      background-image: none;
      box-shadow: none;
      padding-left: 10px;
      padding-right: 10px; }
      .selection-mode.titlebar:not(headerbar) .selection-menu GtkArrow,
      headerbar.selection-mode .selection-menu GtkArrow {
        -GtkArrow-arrow-scaling: 1; }
      .selection-mode.titlebar:not(headerbar) .selection-menu .arrow,
      headerbar.selection-mode .selection-menu .arrow {
        -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
        color: mix(rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0.5), 00.30);
        -gtk-icon-shadow: none; }
  .tiled .titlebar:not(headerbar), .maximized .titlebar:not(headerbar), .tiled  headerbar, .maximized  headerbar {
    border-radius: 0; }
  .default-decoration.titlebar:not(headerbar),
  headerbar.default-decoration {
    min-height: 28px;
    padding: 4px; }
    .default-decoration.titlebar:not(headerbar) button.titlebutton,
    headerbar.default-decoration button.titlebutton {
      min-height: 26px;
      min-width: 26px;
      margin: 0;
      padding: 0; }
  .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar),.solid-csd  headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) {
    margin-left: -1px;
    margin-right: -1px;
    margin-top: -1px;
    border-radius: 0;
    box-shadow: none; }

headerbar entry,
headerbar spinbutton,
/* headerbar separator, */
headerbar switch,
headerbar button /* this includes "comobobx > box > button" */ {
  margin-top: 6px;
  margin-bottom: 6px; }

.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px; }

window:not(.tiled):not(.maximized):not(.solid-csd) separator:first-child + headerbar, window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:first-child {
  border-top-left-radius: 3px; }
window:not(.tiled):not(.maximized):not(.solid-csd) headerbar:last-child {
  border-top-right-radius: 3px; }
window:not(.tiled):not(.maximized):not(.solid-csd) stack headerbar:first-child, window:not(.tiled):not(.maximized):not(.solid-csd) stack headerbar:last-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px; }

window.csd > .titlebar:not(headerbar) {
  padding: 0;
  background-color: transparent;
  background-image: none;
  border-style: none;
  border-color: transparent;
  box-shadow: none; }

/************
 * Pathbars *
 ************/
.path-bar button.text-button, .path-bar button.image-button, .path-bar button {
  padding-left: 4px;
  padding-right: 4px; }
.path-bar button.text-button.image-button label {
  padding-left: 0;
  padding-right: 0; }
.path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child {
  padding-right: 8px; }
.path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child {
  padding-left: 8px; }
.path-bar button image {
  padding-left: 4px;
  padding-right: 4px; }
.path-bar button.slider-button {
  padding-left: 0;
  padding-right: 0; }

/**************
 * Tree Views *
 **************/
treeview.view {
/*  border-left-color: mix(#979a9b, @shift_bg_color, 00.30); */
/*  border-top-color: mix(@bg_color, @shift_bg_color, 00.30);  */
  border-color: mix(#bbbbbb, @shift_bg_color, 00.30); }
  * {
    -GtkTreeView-horizontal-separator: 4;
    -GtkTreeView-grid-line-width: 1;
    -GtkTreeView-grid-line-pattern: '';
    -GtkTreeView-tree-line-width: 1;
    -GtkTreeView-tree-line-pattern: '';
    -GtkTreeView-expander-size: 16; }
  treeview.view:selected:focus, treeview.view:selected {
    border-radius: 0; }
  treeview.view:selected {
    border-left-color: mix(#a5c8ec, @shift_bg_color, 00.30);
    border-top-color: mix(rgba(46, 52, 54, 0.1), rgba(0, 0, 0, 0.1), 00.30); }
  treeview.view:disabled {
    color: mix(#767978, @shift_bg_color, 00.30); }
    treeview.view:disabled:selected {
      color: mix(#92bce8, @shift_bg_color, 00.30); }
  treeview.view.separator {
    min-height: 2px;
    color: mix(@bg_color, @shift_bg_color, 00.30); }
  treeview.view:drop(active) {
    border-style: solid none;
    border-width: 1px;
    border-color: mix(#184472, @shift_bg_color, 00.30); }
    treeview.view:drop(active).after {
      border-top-style: none; }
    treeview.view:drop(active).before {
      border-bottom-style: none; }
  treeview.view.expander {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
    color: mix(#444444, mix(@shift_bg_color, #444444, 0.398), 00.30); }
    treeview.view.expander:dir(rtl) {
      -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
    treeview.view.expander:hover {
      color: black; }
    treeview.view.expander:selected {
      color: mix(#ffffff, @shift_bg_color, 00.30); }
      treeview.view.expander:selected:hover {
        color: mix(#ffffff, @selected_bg_color, 0.5); }
    treeview.view.expander:checked {
      -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
  treeview.view.progressbar {
    color: mix(#ffffff, @shift_bg_color, 00.30);
    border: 1px solid mix(#184472, @shift_bg_color, 00.30); /***/
    border-radius: 4px;
    background-image: linear-gradient(to bottom, @selected_bg_color, mix(#2a76c6, @shift_bg_color, 00.30));
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3), 00.30), 0 1px mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30); }
    treeview.view.progressbar:selected:focus, treeview.view.progressbar:selected {
      border-radius: 4px;
      color: @selected_bg_color;
      box-shadow: none;
      background-image: linear-gradient(to bottom, mix(@selected_fg_color, @shift_bg_color, 00.30), mix(#e6e6e6, @shift_bg_color, 00.30)); }
  treeview.view.trough {
    background-color: mix(rgba(46, 52, 54, 0.1), rgba(0, 0, 0, 0.1), 00.30);
    border-radius: 4px; }
    treeview.view.trough:selected:focus, treeview.view.trough:selected {
      background-color: mix(rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3), 00.30);
      border-radius: 4px;
      border-width: 1px 0;
      border-style: solid;
      border-color: @selected_bg_color; }
  treeview.view header button {
    min-height: 18px;
    background-image: linear-gradient(to bottom, mix(#f8f8f8, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 50%, mix(#d8d8d8, @shift_bg_color, 00.30));
    box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30), inset 1px 0 alpha(#ffffff, 0.17);
    text-shadow: none;
    border-style: solid;
    border-radius: 0;
    border-width: 1px 1px 1px 0px;
    border-color: mix(#bbbbbb, @shift_bg_color, 00.30);
    border-bottom-color: mix(#b4b4b4, @shift_bg_color, 00.30);
    font-weight: normal;}
/*.    scrolledwindow > treeview.view > header button {
       border-width: -1px 1px 1px 0px;
       margin: -1px 0px 0px 0px; }*/
    frame > border > treeview.view header button, .frame > treeview.view header button {
       margin: -1px 0px 0px 0px; }
  treeview.view header button:last-child {
    border-right-style: none; }
/*  treeview.view header button:first-child:hover, treeview.view header button:first-child {
    border-left-width: 1px; }
  frame > border > treeview.view header button:first-child:hover, .frame treeview.view header button:first-child {
    border-left-width: 0px; }
  frame > border > treeview.view header button:last-child:hover, .frame treeview.view header button:last-child {
    border-right-width: 0px; }*/
  treeview.view button.dnd:active, treeview.view button.dnd:selected, treeview.view button.dnd:hover, treeview.view button.dnd,
  treeview.view header.button.dnd:active,
  treeview.view header.button.dnd:selected,
  treeview.view header.button.dnd:hover,
  treeview.view header.button.dnd {
    padding: 0 6px;
    color: @selected_fg_color;
    background-image: none;
    background-color: @selected_bg_color;
    border-style: none;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px @selected_fg_color;
    text-shadow: none;
    transition: none; }
  treeview.view acceleditor > label {
    background-color: @selected_bg_color; }
  treeview.view header button:hover {
/*  background-image: linear-gradient(to bottom, mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.299), 00.30), mix(#f0f0f0, mix(@shift_bg_color, #f0f0f0, 0.299), 00.30) 40%, mix(#e0e0e0, mix(@shift_bg_color, #e0e0e0, 0.299), 00.30));*/
    background-image: linear-gradient(to bottom, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.09), shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.04) 50%, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 0.97));
    box-shadow: inset 0 1px shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.15);
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30); }
  treeview.view header button:disabled {
    border-color: mix(@bg_color, @shift_bg_color, 00.30);
    background-image: none; }

/*. treeview.view {
border-style: solid;
border-color: mix(#000000, mix(@shift_bg_color, #000000, 0.398), 00.30);
border-width: 1px;
margin: 0px;
padding: 0px; }*/

/*********
 * Menus *
 *********/
menubar, .menubar {
  padding: 0px;
  margin: 1px 1px 0px 1px;
  border-bottom: 1px solid mix(#cccccc, @shift_bg_color, 00.30);
/*box-shadow: inset 0 -1px mix(#cccccc, @shift_bg_color, 00.30); */
  -GtkWidget-window-dragging: false; }
  menubar > menuitem,
  .menubar > menuitem {
    min-height: 10px;
    padding: 3px 8px 3px; }
    menubar > menuitem:hover,
    .menubar > menuitem:hover {
/*     box-shadow: inset 0 -3px @selected_bg_color;
      color: mix(#2a76c6, @shift_bg_color, 00.30);*/
      background-color: @selected_bg_color;
      color: @selected_fg_color;
}
    menubar > menuitem:disabled,
    .menubar > menuitem:disabled {
      color: mix(#767978, @shift_bg_color, 00.30);
      box-shadow: none; }

menu,
.menu,
.context-menu {
  margin: 4px;
  padding: 0px;
  box-shadow: inset 0px 0px 1px 1px shade(@menu_bg_color, 0.8);
/*  border: 1px solid mix(#cccccc, @shift_bg_color, 00.30); */
  background-color: @menu_bg_color; }
  .csd menu, 
  .csd .menu, 
  .csd .context-menu {
    border: none; }
  menu menuitem,
  .menu menuitem,
  .context-menu menuitem {
    min-height: 10px;
    min-width: 40px;
    padding: 3px 6px;
    color: @fg_color;
    text-shadow: none; }
  menu menuitem > arrow,
  .menu menuitem > arrow,
  .context-menu menuitem > arrow {
/*  -GtkArrow-arrow-scaling: 0.3; */
/*  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);*/
    color: shade(@fg_color, 1.15);
    min-height: 13px;
    min-width: 11px; }
    menu menuitem:hover,
    .menu menuitem:hover,
    .context-menu menuitem:hover,
    menu menuitem:hover > arrow,
    .menu menuitem:hover > arrow,
    .context-menu menuitem:hover > arrow {
      color: @selected_fg_color;
      background-color: @selected_bg_color; }
    menu menuitem:disabled,
    .menu menuitem:disabled,
    .context-menu menuitem:disabled,
    menu menuitem:disabled > arrow,
    .menu menuitem:disabled > arrow,
    .context-menu menuitem:disabled > arrow {
      color: mix(#767978, @shift_bg_color, 00.30); }
    menu *:disabled, .csd menu *:disabled {
      text-shadow: 1px 1px mix(@menu_bg_color, #ffffff, 0.6); }
      menu menuitem arrow:dir(ltr),
      .menu menuitem arrow:dir(ltr),
      .context-menu menuitem arrow:dir(ltr) {
        -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-end-symbolic.svg")));
        margin-left: 10px; }
      menu menuitem arrow:dir(rtl),
      .menu menuitem arrow:dir(rtl),
      .context-menu menuitem arrow:dir(rtl) {
        -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-end-symbolic-rtl.svg")));
        margin-right: 10px; }
    menu menuitem label:dir(rtl), menu menuitem label:dir(ltr),
    .menu menuitem label:dir(rtl), .menu menuitem label:dir(ltr),
    .context-menu menuitem label:dir(rtl), .context-menu menuitem label:dir(ltr) {
      color: inherit; }
  menu > arrow,
  .menu > arrow,
  .context-menu > arrow {
    min-height: 13px;
    min-width: 13px;
    padding: 4px;
    border-radius: 0; 
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none;
    -GtkArrow-arrow-scaling: 0.3; }
    menu > arrow.top,
    .menu > arrow.top,
    .context-menu > arrow.top {
      margin-top: 0px;
      border-bottom: 1px solid shade(@menu_bg_color, 0.88);
      min-width: 13px;
      min-height: 13px;
      background-image: image(-gtk-recolor(url("assets/override/pan-up-symbolic.svg")));
      background-repeat: no-repeat; 
      background-position: center;}
    menu > arrow.bottom,
    .menu > arrow.bottom,
    .context-menu > arrow.bottom {
      margin-bottom: 0px;
      border-top: 1px solid shade(@menu_bg_color, 0.88);
      min-width: 13px;
      min-height: 13px;
      background-image: image(-gtk-recolor(url("assets/override/pan-down-symbolic.svg")));
      background-repeat: no-repeat; 
      background-position: center;}
    menu > arrow:hover,
    .menu > arrow:hover,
    .context-menu > arrow:hover {
      color: @selected_fg_color;
      background-color: @selected_bg_color; }
    menu > arrow:disabled,
    .menu > arrow:disabled,
    .context-menu > arrow:disabled {
      color: transparent;
      background-color: transparent;
      border-color: transparent; }

menuitem accelerator {
  color: alpha(currentColor,0.55); }
menuitem check,
menuitem radio {
  min-height: 16px;
  min-width: 16px; }
  menuitem check:dir(ltr),
  menuitem radio:dir(ltr) {
    margin-right: 7px; }
  menuitem check:dir(rtl),
  menuitem radio:dir(rtl) {
    margin-left: 7px; }

/************
 * Popovers *
 ************/
popover.background { /***/
  padding: 2px;
  border-radius: 5px;
  background-color: @menu_bg_color;
  box-shadow: 0 1px 2px mix(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  .csd popover.background, popover.background {
    padding: 0px;
    border-radius: 6px;
/*  box-shadow: 0px 2px 5px 3px rgba(100, 100, 100, 0.3);*/
    box-shadow: 0px 2px 6px 1px rgba(100, 100, 100, 0.35),  0px 2px 10px -2px rgba(100, 100, 100, 0.2);
    border: 1px solid shade(@menu_bg_color, 0.8); }
  popover.background > list,
  popover.background > .view,
  popover.background > iconview,
  popover.background > toolbar {
    border-style: none;
    background-color: transparent; }
  .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier {
    border: 1px solid mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30); }
  popover.background separator {
    margin: 3px; }
  popover.background list separator {
    margin: 0px; }
  popover *:disabled, .csd popover *:disabled {
    text-shadow: none; }

/*************
 * Notebooks *
 *************/
/*@import url("options/alt-tabs-on.css");*/
/*frame > border > notebook:only-child, .frame > notebook:only-child {
  border-top-style: none; }*/
notebook > stack:not(:only-child) {
  color: @text_color;
  background-color: @canvas_bg_color; }
  notebook > stack:not(:only-child) > *:disabled {
    background-color: mix(#e2e3e0, @shift_bg_color, 00.30); }

/**************
 * Scrollbars *
 **************/
scrollbar {
/*  transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);  */
  background-color: mix(#c3c4c4, @shift_bg_color, 00.30);}
  * {
    -GtkScrollbar-has-backward-stepper: false;
    -GtkScrollbar-has-forward-stepper: false; }
  scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
    border-color: transparent;
    opacity: 0.4;
    background-color: transparent; }
    scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
      margin: 0;
      min-width: 3px;
      min-height: 3px;
      background-color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
      border: 1px solid mix(#ffffff, @shift_bg_color, 00.30); }
    scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
      min-width: 5px;
      min-height: 5px;
      background-color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
      background-clip: padding-box;
      border-radius: 100%;
      border: 1px solid mix(#ffffff, @shift_bg_color, 00.30);
      -gtk-icon-source: none; }
    scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
      margin: 0 2px;
      min-width: 40px; }
    scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
      margin: 1px 2px;
      min-width: 5px; }
    scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
      margin: 2px 0;
      min-height: 40px; }
    scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
      margin: 2px 1px;
      min-height: 5px; }
  scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
    opacity: 0.8; }
  scrollbar.horizontal slider {
    min-width: 40px; }
  scrollbar.vertical slider {
    min-height: 40px; }
  scrollbar button {
    padding: 0;
    min-width: 12px;
    min-height: 12px;
    border-style: none;
    border-radius: 0;
    transition-property: min-height, min-width, color;
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: mix(#787c7d, @shift_bg_color, 00.30); }
    scrollbar button:hover {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
      text-shadow: none;
      -gtk-icon-shadow: none;
      color: mix(#535859, mix(@shift_bg_color, #535859, 0.398), 00.30); }
    scrollbar button:active, scrollbar button:checked {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
      text-shadow: none;
      -gtk-icon-shadow: none;
      color: mix(#2a76c6, @shift_bg_color, 00.30); }
    scrollbar button:disabled {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
      text-shadow: none;
      -gtk-icon-shadow: none;
      color: mix(rgba(120, 124, 125, 0.2), rgba(0, 0, 0, 0.2), 00.30); }
  scrollbar.vertical button.down {
    -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-down-symbolic.svg"))); }
  scrollbar.vertical button.up {
    -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-up-symbolic.svg"))); }
  scrollbar.horizontal button.down {
    -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-end-symbolic.svg"))); }
  scrollbar.horizontal button.up {
    -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-start-symbolic.svg"))); }

/*. treeview ~ scrollbar.vertical {
  border-top: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30);
  margin-top: -1px; }*/

/**********
 * Switch *
 **********/
switch, switch:disabled {
  font-weight: bold;
  font-size: smaller;
  outline-offset: -4px;
  border: 1px solid mix(#aaaaaa, @shift_bg_color, 00.30);
  border-radius: 3px;
  color: transparent; /*mix(#888888, @shift_bg_color, 00.30);*/
  background-color: @canvas_bg_color;
  background-image: url("assets/extras/switch-0.png");
  background-repeat: no-repeat;
  background-position: right center;
  text-shadow: none; }
  switch:disabled {
    border-color: mix(#c6c6c3, @shift_bg_color, 00.30);
    background-color: mix(#e2e3e0, @shift_bg_color, 00.30); }
  switch:checked, switch:checked:disabled {
    color: transparent; /*@selected_fg_color;*/
    background-color: @selected_bg_color;
    background-image: url("assets/extras/switch-1.png"); 
    background-repeat: no-repeat;
    background-position: left center; }
    switch:checked:disabled {
      background-image: url("assets/extras/switch-1-disabled.png"); 
      background-color: mix(#e2e3e0, @shift_bg_color, 00.30); }
  switch slider {
    margin: -1px;
    min-width: 25px;
    min-height: 25px;
    border: 1px solid;
    border-radius: 3px;
/*    transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); */
/*    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30); */
    outline-color: alpha(mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30),0.5);
    outline-offset: 2px;
    border-color: mix(#aaaaaa, @shift_bg_color, 00.30);
    border-bottom-color: mix(#91918c, @shift_bg_color, 00.30);
    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
/*    box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30); 
    background-image: linear-gradient(to bottom, mix(#f8f8f8, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 50%, mix(#cfcfcd, @shift_bg_color, 00.30));*/
    box-shadow: inset 0 1px mix(#f0f0f0, @shift_bg_color, 00.30), inset 0 -1px mix(#cfcfcf, @shift_bg_color, 00.30);
    background-image: linear-gradient(to top, mix(#ffffff, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 50%, mix(#c8c8c8, @shift_bg_color, 00.30)); }
/*  switch:hover slider {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#aaaaaa, @shift_bg_color, 00.30);
    box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30);
    background-image: linear-gradient(to bottom, mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.299), 00.30), mix(#f0f0f0, mix(@shift_bg_color, #f0f0f0, 0.299), 00.30) 50%, mix(#e0e0e0, mix(@shift_bg_color, #e0e0e0, 0.299), 00.30)); }*/
/*  switch:checked slider {
    box-shadow: inset 0 1px mix(#f0f0f0, @shift_bg_color, 00.30), inset 0 -1px mix(#cfcfcf, @shift_bg_color, 00.30);
    background-image: linear-gradient(to top, mix(#ffffff, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 50%, mix(#c8c8c8, @shift_bg_color, 00.30)); }*/
  switch:disabled slider {
    border-color: mix(#c6c6c3, @shift_bg_color, 00.30);
    box-shadow: inset 0 1px mix(#e4e4e4, @shift_bg_color, 00.30), inset 0 -1px mix(#cfcfcf, @shift_bg_color, 00.30);
/*    border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
    background-image: image(mix(#e2e3e0, @shift_bg_color, 00.30));
    text-shadow: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);*/
/*    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#b8b8b8, @shift_bg_color, 00.30);
    border-top-color: mix(#b4b4b4, @shift_bg_color, 00.30);
    background-image: linear-gradient(to top, mix(#e4e4e4, @shift_bg_color, 00.30), mix(#d8d8d8, @shift_bg_color, 00.30) 50%, mix(#c8c8c8, @shift_bg_color, 00.30));
    box-shadow: inset 0 1px mix(#c0c0c0, @shift_bg_color, 00.30), inset 0 -1px mix(#e8e8e8, @shift_bg_color, 00.30);*/
    -gtk-icon-shadow: none; }
    switch:disabled slider label, switch:disabled slider {
      color: mix(#767978, @shift_bg_color, 00.30); }
  row:selected switch {
    box-shadow: none;
    border-color: mix(#184472, @shift_bg_color, 00.30); }
/*    row:selected switch.slider:dir(rtl) {
      border-left-color: mix(#b6b6b3, @shift_bg_color, 00.30); }
    row:selected switch.slider:dir(ltr) {
      border-right-color: mix(#b6b6b3, @shift_bg_color, 00.30); }
    row:selected switch.slider:checked, row:selected switch.slider {
      border-color: mix(#184472, @shift_bg_color, 00.30); }*/

/*************************
 * Check and Radio items *
 *************************/
.view.content-view.check:not(list), iconview.content-view.check:not(list),
.content-view .tile check:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png"));
  background-color: transparent;
  min-width: 40px;
  min-height: 40px;
  background-image: none;
  transition: none;
  box-shadow: none;
  border-width: 0; }

.view.content-view.check:hover:not(list), iconview.content-view.check:hover:not(list),
.content-view .tile check:hover:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-hover-selectionmode.png"), url("assets/checkbox-hover-selectionmode@2.png"));
  background-color: transparent;
  min-width: 40px;
  min-height: 40px;
  background-image: none;
  transition: none;
  box-shadow: none;
  border-width: 0; }

.view.content-view.check:active:not(list), iconview.content-view.check:active:not(list),
.content-view .tile check:active:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-active-selectionmode.png"), url("assets/checkbox-active-selectionmode@2.png"));
  background-color: transparent;
  min-width: 40px;
  min-height: 40px;
  background-image: none;
  transition: none;
  box-shadow: none;
  border-width: 0; }

.view.content-view.check:checked:not(list), iconview.content-view.check:checked:not(list),
.content-view .tile check:checked:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-selectionmode.png"), url("assets/checkbox-checked-selectionmode@2.png"));
  background-color: transparent;
  min-width: 40px;
  min-height: 40px;
  background-image: none;
  transition: none;
  box-shadow: none;
  border-width: 0; }

.view.content-view.check:checked:hover:not(list), iconview.content-view.check:checked:hover:not(list),
.content-view .tile check:checked:hover:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover-selectionmode.png"), url("assets/checkbox-checked-hover-selectionmode@2.png"));
  background-color: transparent;
  min-width: 40px;
  min-height: 40px;
  background-image: none;
  transition: none;
  box-shadow: none;
  border-width: 0; }

.view.content-view.check:checked:active:not(list), iconview.content-view.check:checked:active:not(list),
.content-view .tile check:checked:active:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-active-selectionmode.png"), url("assets/checkbox-checked-active-selectionmode@2.png"));
  background-color: transparent;
  min-width: 40px;
  min-height: 40px;
  background-image: none;
  transition: none;
  box-shadow: none;
  border-width: 0; }

checkbutton.text-button, radiobutton.text-button {
  padding: 2px 0;
  outline-offset: 0; }
  checkbutton.text-button label:not(:only-child):first-child, radiobutton.text-button label:not(:only-child):first-child {
    margin-left: 4px; }
  checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button label:not(:only-child):last-child {
    margin-right: 4px; }

checkbutton:hover,
radiobutton:hover {
   background-color: shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.055);
}

check,
radio {
  margin: 0 4px;
  min-height: 14px;
  min-width: 14px;
  border: 1px solid;
  -gtk-icon-source: none;
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
  outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
/*border-color: shade(@canvas_bg_color, 0.6);*/
  border-color: mix(#91918c, @shift_bg_color, 00.30);
  text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
  -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
/*  background-image: linear-gradient(to bottom, mix(#f4f4f4, @shift_bg_color, 00.30) 20%, mix(@bg_color, @shift_bg_color, 00.30) 90%); */
/*  box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30), inset 0 -2px mix(#ededec, @shift_bg_color, 00.30), inset 0 -1px mix(#cacac8, @shift_bg_color, 00.30), 0 1px mix(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1), 00.30);  */
  background-color: @canvas_bg_color /*mix(@canvas_bg_color, #ffffff, 0.5)*/; }
  check:only-child,
  radio:only-child {
    margin: 0; }
/*  check:hover,
  radio:hover {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30), inset 0 -1px mix(#d0d0d0, @shift_bg_color, 00.30);
    background-image: linear-gradient(to bottom, mix(#f8f8f8, @shift_bg_color, 00.30) 10%, mix(#e0e0e0, @shift_bg_color, 00.30) 90%);
}*/
/*.  check:active,
  radio:active {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
    background-image: image(mix(#d9d9d7, @shift_bg_color, 00.30));
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30);
    text-shadow: none;
    -gtk-icon-shadow: none; }*/
  check:disabled,
  radio:disabled {
    border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
    background-image: image(mix(#f1f1f1, @shift_bg_color, 00.30));
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30); }
    check:disabled label, check:disabled,
    radio:disabled label, radio:disabled {
      color: mix(#767978, @shift_bg_color, 00.30); }
  row:selected check, row:selected radio { 
    background-color: @canvas_bg_color /*mix(@canvas_bg_color, #ffffff, 0.5)*/;
    border-color: mix(#184472, @shift_bg_color, 00.30); }
  .osd check, .osd radio {
    color: mix(#eeeeec, @shift_bg_color, 00.30);
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: transparent;
    background-image: image(mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30));
    background-clip: padding-box;
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
    .osd check:hover, .osd radio:hover {
      color: mix(#eeeeec, @shift_bg_color, 00.30);
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: transparent;
      background-image: image(mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30));
      background-clip: padding-box;
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
    .osd check:active, .osd radio:active {
      color: white;
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: transparent;
      background-image: image(mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  menu menuitem check, menu menuitem radio {
    margin: 0; }
    menu menuitem check, menu menuitem check:hover, menu menuitem check:disabled, menu menuitem radio, menu menuitem radio:hover, menu menuitem radio:disabled {
      min-height: 14px;
      min-width: 14px;
      background-image: none;
      background-color: @menu_bg_color;
/*      border-color: currentColor; */
      border: none;
      box-shadow: none;
/*      color: inherit; */
      -gtk-icon-shadow: none;}
       menu menuitem radio, menu menuitem radio:hover, menu menuitem radio:disabled {
         min-width: 11px;
         min-height: 11px; }
      menu menuitem check:hover, menu menuitem radio:hover {
        background-color: @selected_bg_color; }

check {
  border-radius: 3px; }
  check:checked {
    -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")), -gtk-recolor(url("assets/check-symbolic.symbolic.png"))); }
  check:indeterminate {
    -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); }

treeview.view radio:selected:focus, treeview.view radio:selected,
radio {
  border-radius: 100%; }
  treeview.view radio:checked:selected, radio:checked {
    -gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")), -gtk-recolor(url("assets/bullet-symbolic.symbolic.png"))); }
  treeview.view radio:indeterminate:selected, radio:indeterminate {
    -gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")), -gtk-recolor(url("assets/dash-symbolic.symbolic.png"))); }

radio:not(:indeterminate):not(:checked):active {
  -gtk-icon-transform: scale(0); }

check:not(:indeterminate):not(:checked):active {
  -gtk-icon-transform: translate(6px, -3px) rotate(-45deg) scaleY(0.2) rotate(45deg) scaleX(0); }

radio:active,
check:active {
  -gtk-icon-transform: scale(0, 1); }
radio:checked, radio:indeterminate,
check:checked, check:indeterminate {
  -gtk-icon-transform: unset;
/*  transition: 400ms;  */
}

menu menuitem radio:checked, menu menuitem radio:indeterminate,
menu menuitem check:checked, menu menuitem check:indeterminate {
  transition: none; }

treeview.view check, treeview.view check:selected:focus, treeview.view check:selected,
treeview.view radio, treeview.view radio:selected:focus, treeview.view radio:selected {
  background-color: @canvas_bg_color /*mix(@canvas_bg_color, #ffffff, 0.5)*/; }
treeview.view check:selected:focus, treeview.view check:selected,
treeview.view radio:selected:focus, treeview.view radio:selected {
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
  border-color: mix(#184472, @shift_bg_color, 00.30); }
treeview.view check:selected:disabled,
treeview.view radio:selected:disabled {
  color: mix(#767978, @shift_bg_color, 00.30); }
treeview.view check:hover,
treeview.view radio:hover {
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
  outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
  box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30), inset 0 -1px mix(#d0d0d0, @shift_bg_color, 00.30);
  background-image: linear-gradient(to bottom, mix(#f8f8f8, @shift_bg_color, 00.30) 10%, mix(#e0e0e0, @shift_bg_color, 00.30) 90%); }


/************
 * Scale *
 ************/
scale trough, scale fill, progressbar trough {
  border: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30);
  border-radius: 3px;
  background-color: mix(#cfcfcd, @shift_bg_color, 00.30); }
  scale trough:disabled, scale fill:disabled, progressbar trough:disabled {
    background-color: mix(#e2e3e0, @shift_bg_color, 00.30); }
  row:selected scale trough:disabled, scale row:selected trough:disabled, row:selected scale fill:disabled, scale row:selected fill:disabled, row:selected progressbar trough:disabled, progressbar row:selected trough:disabled, row:selected scale trough, scale row:selected trough, row:selected scale fill, scale row:selected fill, row:selected progressbar trough, progressbar row:selected trough {
    border-color: mix(#184472, @shift_bg_color, 00.30); }
  .osd scale trough, scale .osd trough, .osd scale fill, scale .osd fill, .osd progressbar trough, progressbar .osd trough {
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
    background-color: mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30); }
    .osd scale trough:disabled, scale .osd trough:disabled, .osd scale fill:disabled, scale .osd fill:disabled, .osd progressbar trough:disabled, progressbar .osd trough:disabled {
      background-color: mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30); }

scale highlight, progressbar progress {
  border: 1px solid shade(@selected_bg_color, 0.8);
  border-radius: 3px;
  background-color: @selected_bg_color; }
  scale highlight:disabled, progressbar progress:disabled {
    background-color: transparent;
    border-color: transparent; }
  row:selected scale highlight:disabled, scale row:selected highlight:disabled, row:selected progressbar progress:disabled, progressbar row:selected progress:disabled, row:selected scale highlight, scale row:selected highlight, row:selected progressbar progress, progressbar row:selected progress {
    border-color: mix(#184472, @shift_bg_color, 00.30); }
  .osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
    border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30); }
    .osd scale highlight:disabled, scale .osd highlight:disabled, .osd progressbar progress:disabled, progressbar .osd progress:disabled {
      border-color: transparent; }

scale {
/*  min-height: 10px;
  min-width: 10px;*/
  padding: 10px; }
  scale fill,
  scale highlight {
    margin: -1px; 
    border-color: shade(@selected_bg_color, 0.8);}
  scale slider {
    min-height: 17px;
    min-width: 17px;
    margin: -8px; }
  scale.fine-tune slider, scale.fine-tune.horizontal slider, scale.fine-tune.vertical slider {
      color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
      outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
      border-color: mix(#71716c, @shift_bg_color, 00.30);
      box-shadow: inset 0 1px mix(#e0e0e0, @shift_bg_color, 00.30);
      background-image: linear-gradient(to top, mix(#ffffff, @shift_bg_color, 00.30), mix(#aaaaaa, @shift_bg_color, 00.30)); }
  scale trough {
    outline-offset: 2px;
    -gtk-outline-radius: 5px; }
    scale fill {
    background-color: mix(#b6b6b3, @shift_bg_color, 00.30); }
    scale fill:disabled {
    border-color: transparent;
    background-color: transparent; }
  .osd scale fill {
    background-color: mix(rgba(91, 91, 90, 0.775), rgba(0, 0, 0, 0.775), 00.30); }
    .osd scale fill:disabled {
      border-color: transparent;
      background-color: transparent; }
  scale slider {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#91918c, @shift_bg_color, 00.30);
    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    background-image: linear-gradient(to bottom, mix(#ffffff, @shift_bg_color, 00.30), mix(#c4c4c4, @shift_bg_color, 00.30));
    box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30);
    border: 1px solid mix(#898984, @shift_bg_color, 00.30);
    border-radius: 100%;
/*    transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    transition-property: background, border, box-shadow; }
    scale slider:hover {
      color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
      outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
      border-color: mix(#91918c, @shift_bg_color, 00.30);
      box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30);
      background-image: linear-gradient(to bottom, mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.299), 00.30), mix(#e0e0e0, mix(@shift_bg_color, #e0e0e0, 0.299), 00.30)); }
/*.    scale slider:active {
      border-color: mix(#184472, @shift_bg_color, 00.30); }*/
    scale slider:disabled {
      border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
      background-image: linear-gradient(to bottom, mix(#e8e8e8, @shift_bg_color, 00.30), mix(#d8d8d8, @shift_bg_color, 00.30));
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0), 00.30); }
      scale slider:disabled label, scale slider:disabled {
        color: mix(#767978, @shift_bg_color, 00.30); }
    row:selected scale slider:disabled, row:selected scale slider {
      border-color: mix(#184472, @shift_bg_color, 00.30); }
    .osd scale slider {
      color: mix(#eeeeec, @shift_bg_color, 00.30);
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: transparent;
      background-image: image(mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30));
      background-clip: padding-box;
      box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30);
      border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
      background-color: mix(#1c1f20, mix(@shift_bg_color, #1c1f20, 0.398), 00.30); }
      .osd scale slider:hover {
        color: mix(#ffffff, @shift_bg_color, 00.30);
        border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
        background-color: transparent;
        background-image: image(mix(rgba(57, 63, 65, 0.7), rgba(0, 0, 0, 0.7), 00.30));
        background-clip: padding-box;
        box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1), 00.30);
        text-shadow: 0 1px black;
        -gtk-icon-shadow: 0 1px black;
        outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30);
        background-color: mix(#1c1f20, mix(@shift_bg_color, #1c1f20, 0.398), 00.30); }
      .osd scale slider:active {
        color: mix(#ffffff, @shift_bg_color, 00.30);
        border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
        background-color: transparent;
        background-image: image(mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30));
        background-clip: padding-box;
        box-shadow: none;
        text-shadow: none;
        -gtk-icon-shadow: none;
        outline-color: mix(rgba(238, 238, 236, 0.3), rgba(0, 0, 0, 0.3), 00.30);
        background-color: mix(#1c1f20, mix(@shift_bg_color, #1c1f20, 0.398), 00.30); }
      .osd scale slider:disabled {
        color: mix(#767978, @shift_bg_color, 00.30);
        border-color: mix(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), 00.30);
        background-color: transparent;
        background-image: image(mix(rgba(49, 52, 52, 0.5), rgba(0, 0, 0, 0.5), 00.30));
        background-clip: padding-box;
        box-shadow: none;
        text-shadow: none;
        -gtk-icon-shadow: none;
        background-color: mix(#1c1f20, mix(@shift_bg_color, #1c1f20, 0.398), 00.30); }
  scale value {
    color: alpha(currentColor,0.55); }
  scale marks {
    color: alpha(currentColor,0.55); }
    scale marks.top {
      margin-bottom: 6px;
      margin-top: -12px; }
    scale marks.bottom {
      margin-top: 6px;
      margin-bottom: -12px; }
    scale marks.top {
      margin-right: 6px;
      margin-left: -12px; }
    scale marks.bottom {
      margin-left: 6px;
      margin-right: -12px; }
  scale.horizontal indicator {
    min-height: 6px;
    min-width: 1px; }
  scale.vertical indicator {
    min-height: 1px;
    min-width: 6px; }
  scale.color slider {
margin: -6px;
 }

/*****************
 * Progress bars *
 *****************/
progressbar {
  font-size: smaller;
  color: mix(rgba(46, 52, 54, 0.4), rgba(0, 0, 0, 0.4), 00.30); }
  progressbar.horizontal trough,
  progressbar.horizontal progress {
    min-height: 10px; }
  progressbar.vertical trough,
  progressbar.vertical progress {
    min-width: 10px; }
  progressbar.horizontal progress {
    margin: 0 -1px; }
  progressbar.vertical progress {
    margin: -1px 0; }
  progressbar progress {
    border-radius: 3px; }
/*    progressbar progress.left {
      border-top-left-radius: 2px;
      border-bottom-left-radius: 2px; }
    progressbar progress.right {
      border-top-right-radius: 2px;
      border-bottom-right-radius: 2px; }
    progressbar progress.top {
      border-top-right-radius: 2px;
      border-top-left-radius: 2px; }
    progressbar progress.bottom {
      border-bottom-right-radius: 2px;
      border-bottom-left-radius: 2px; }*/
  progressbar.osd {
    min-width: 3px;
    min-height: 3px;
    background-color: transparent; }
    progressbar.osd trough {
      border-style: none;
      border-radius: 0;
      background-color: transparent;
      box-shadow: none; }
    progressbar.osd progress {
      border-style: none;
      border-radius: 0; }
  progressbar trough.empty progress {
    all: unset; }
  .xfce4-panel progressbar trough,
  .xfce4-panel progressbar progress {
    border-radius: 3px;
    margin: 0;
    padding: 0;
    min-width: 5px;
    min-height: 5px; }
  .xfce4-panel progressbar progress {
    border-color: currentColor;
}
/*************
 * Level Bar *
 *************/
levelbar block {
  min-width: 32px;
  min-height: 1px; }
levelbar.vertical block {
  min-width: 1px;
  min-height: 32px; }
levelbar trough {
  border: 1px solid;
  padding: 2px;
  border-radius: 3px;
  color: black;
  border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
  background-color: @canvas_bg_color;
  box-shadow: inset 0 0 0 1px mix(rgba(74, 144, 217, 0), rgba(0, 0, 0, 0), 00.30); }
levelbar.horizontal.discrete block {
  margin: 0 1px; }
levelbar.vertical.discrete block {
  margin: 1px 0; }
levelbar block {
  border: 1px solid;
  border-radius: 1px; }
  levelbar block.low {
    border-color: mix(#8f4700, @shift_bg_color, 00.30);
    background-color: mix(#f57900, @shift_bg_color, 00.30); }
  levelbar block.high, levelbar block:not(.empty) {
    border-color: mix(#215d9c, @shift_bg_color, 00.30);
    background-color: @selected_bg_color; }
  levelbar block.full {
    border-color: mix(#40760c, @shift_bg_color, 00.30);
    background-color: mix(#73d216, @shift_bg_color, 00.30); }
  levelbar block.empty {
    background-color: transparent;
    border-color: mix(rgba(46, 52, 54, 0.2), rgba(0, 0, 0, 0.2), 00.30); }

/****************
 * Print dialog *
*****************/
printdialog paper {
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
  border: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30);
  background: @canvas_bg_color;
  padding: 0; }
printdialog .dialog-action-box {
  margin: 12px; }

/**********
 * Frames *
 **********/
/* frame,  */
frame > border,
.frame 
{
  box-shadow: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 1px solid mix(#bbbbbb, @shift_bg_color, 00.30); }
  frame > border.flat,
  .frame.flat {
    border-style: none; }

actionbar > revealer > box {
  padding: 6px;
  border-top: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30); }
/*.  actionbar > revealer > box:backdrop {
    border-color: mix(#c0c0bd, @shift_bg_color, 00.30); }*/

/*********
 * Paned *
 *********/
/*. scrolledwindow
{
   border-style: solid;
   border-width: 1px;
   border-color: mix(#bbbbbb, @shift_bg_color, 00.30);
}*/
/* paned scrolledwindow.frame, */ /* not needed because .frame is already defined */
/*.   frame scrolledwindow, .frame scrolledwindow {
#   border-style: none;
#   border-color: mix(#d0d0d0, @shift_bg_color, 00.30);
   margin: 2px;
#   padding: 1px;
}*/
/*. paned scrolledwindow
 {
   border-style: solid;
   border-width: 1px;
   border-color: mix(#bbbbbb, @shift_bg_color, 00.30);
}*/
/*. paned > .frame {
   border: none; }*/

scrolledwindow viewport,
/* scrolledwindow viewport frame,*/
scrolledwindow viewport.frame {
   border-style: none; }

  scrolledwindow junction, scrolledwindow junction.frame { 
  border-color: transparent;
  border-image: none;
  border-style: none;
/*  border-image: linear-gradient(to bottom, mix(#b6b6b3, @shift_bg_color, 00.30) 1px, transparent 1px) 0 0 0 1/0 1px stretch; */
  background-color: transparent; }
  scrolledwindow junction:dir(rtl) {
    border-image-slice: 0 1 0 0; }

/*********
 * Lists *
 *********/
list {
  color: @text_color;
  background-color: @canvas_bg_color;
  border-color: mix(#b6b6b3, @shift_bg_color, 00.30); }
list:disabled {
  background-color: mix(#e2e3e0, @shift_bg_color, 00.30); }
  list row {
    padding: 0px; }
  row.activatable.has-open-popup, row.activatable:hover {
    background-color: /*mix(rgba(46, 52, 54, 0.1), rgba(0, 0, 0, 0.1), 00.30)*/ mix(#cccccc, @shift_bg_color, 00.30); }
  row.activatable:active {
    box-shadow: inset 0 2px 2px -2px mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30); }
  row.activatable:selected:active {
    box-shadow: inset 0 2px 3px -1px mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30); }
  row.activatable:selected.has-open-popup, row.activatable:selected:hover {
    background-color: @selected_bg_color; }

/*********************
 * App Notifications *
 *********************/
.app-notification,
.app-notification.frame {
  padding: 10px;
  border-radius: 0 0 5px 5px;
  background-color: mix(rgba(28, 31, 32, 0.7), rgba(0, 0, 0, 0.7), 00.30);
  background-image: linear-gradient(to bottom, mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30), transparent 2px);
  background-clip: padding-box; }
  .app-notification border,
  .app-notification.frame border {
    border: none; }

/*************
 * Expanders *
 *************/
expander arrow {
  min-width: 16px;
  min-height: 16px;
  -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-end-symbolic.svg"))); }
  expander arrow:dir(rtl) {
    -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-end-symbolic-rtl.svg"))); }
  expander arrow:hover {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30); }
  expander arrow:checked {
    -gtk-icon-source: image(-gtk-recolor(url("assets/override/pan-down-symbolic.svg"))); }

/************
 * Calendar *
 ***********/
calendar {
  color: @text_color;
  border: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30); }
  calendar:selected {
    border-radius: 3px; }
  calendar.header {
    border-bottom-color: mix(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1), 00.30); }
  calendar.button {
    color: mix(rgba(46, 52, 54, 0.45), rgba(0, 0, 0, 0.45), 00.30); }
    calendar.button:hover {
      color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30); }
    calendar.button:disabled {
      color: mix(rgba(139, 142, 143, 0.45), rgba(0, 0, 0, 0.45), 00.30); }
  calendar.highlight {
    color: mix(#767978, @shift_bg_color, 00.30); }
  calendar:indeterminate {
    color: alpha(currentColor,0.1); }

/***********
 * Dialogs *
 ***********/
messagedialog .titlebar {
  min-height: 20px;
  background-image: none;
/*  background-color: mix(@bg_color, @shift_bg_color, 00.30); */
  border-style: none;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px; }
messagedialog.csd.background {
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px; }
messagedialog.csd .dialog-action-area button {
  padding: 10px 14px;
  border-radius: 0;
  border-left-style: solid;
  border-right-style: none;
  border-bottom-style: none; }
  messagedialog.csd .dialog-action-area button:first-child {
    border-left-style: none;
    border-bottom-left-radius: 7px;
    -gtk-outline-bottom-left-radius: 5px; }
  messagedialog.csd .dialog-action-area button:last-child {
    border-bottom-right-radius: 7px;
    -gtk-outline-bottom-right-radius: 5px; }

filechooser .dialog-action-box {
  border-top: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30); }
filechooser #pathbarbox { /***/
  background-color: mix(@bg_color, @shift_bg_color, 00.30);
/*border-right: 1px solid mix(#cccccc, @shift_bg_color, 00.30);
  border-top: 1px solid mix(#bbbbbb, @shift_bg_color, 00.30);*/
  border-bottom: 1px solid mix(#bbbbbb, @shift_bg_color, 00.30); }
filechooser treeview header button {
  margin-top: -1px; }
/*filechooser .frame {
  border-width: 1px;
  border-style: solid;
  border-color: mix(#bbbbbb, @shift_bg_color, 00.30); }*/

filechooserbutton:drop(active) {
  box-shadow: none;
  border-color: transparent; }

/***********
 * Sidebar *
 ***********/
/*. .sidebar {
  border-style: none;
  background-color: mix(#f4f4f3, @shift_bg_color, 00.30); }
  stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) {
    border-right: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30);
    border-left-style: none; }
  stacksidebar.sidebar:dir(rtl) list
  .sidebar:dir(rtl), stacksidebar.sidebar.right list
  .sidebar:dir(rtl), .sidebar.right {
    border-left: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30);
    border-right-style: none; }*/
/*.  .sidebar:backdrop {
    background-color: mix(#f2f2f2, @shift_bg_color, 00.30);
    border-color: mix(#c0c0bd, @shift_bg_color, 00.30);
    transition: 200ms ease-out; }*/
/*.  .sidebar list {
    background-color: transparent; }
  paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar {
    border-style: none; 
}*/

/*. .sidebar .frame {
    border-style: none;
}*/

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

/****************
 * File chooser *
 ****************/
placessidebar > viewport.frame {
/*  border-width: 1px 0px 1px 0px; */
/*  border-color: mix(#bbbbbb, @shift_bg_color, 00.30); */
  border-style: none; 
}
placessidebar row {
  min-height: 36px;
  padding: 0px; }
  placessidebar row > revealer {
    padding: 0 14px; }
/*.  placessidebar row:selected {
    color: @selected_fg_color; }*/
  placessidebar row:disabled {
    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
    color: mix(#767978, @shift_bg_color, 00.30); }
  placessidebar row image.sidebar-icon {
    opacity: 0.7; }
    placessidebar row image.sidebar-icon:dir(ltr) {
      padding-right: 8px; }
    placessidebar row image.sidebar-icon:dir(rtl) {
      padding-left: 8px; }
  placessidebar row label.sidebar-label:dir(ltr) {
    padding-right: 2px; }
  placessidebar row label.sidebar-label:dir(rtl) {
    padding-left: 2px; }
  button.sidebar-button {
    min-height: 26px;
    min-width: 26px;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 0;
    border-radius: 100%;
    -gtk-outline-radius: 100%; }
    button.sidebar-button:not(:hover):not(:active) > image {
      opacity: 0.7; }
  placessidebar row:selected:active {
    box-shadow: none; }
  placessidebar row.sidebar-placeholder-row {
    padding: 0 8px;
    min-height: 2px;
    background-image: image(shade(@selected_bg_color, 0.9266));
    background-clip: content-box; }
  placessidebar row.sidebar-new-bookmark-row {
    color: @selected_bg_color; }
  placessidebar row:drop(active):not(:disabled) {
    color: shade(@selected_bg_color, 0.9266);
    box-shadow: inset 0 1px shade(@selected_bg_color, 0.9266), inset 0 -1px shade(@selected_bg_color, 0.9266); }
    placessidebar row:drop(active):not(:disabled):selected {
      color: @selected_fg_color;
      background-color: shade(@selected_bg_color, 0.9266); }

placesview .server-list-button > image {
/*  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); */
  -gtk-icon-transform: rotate(0turn); }
placesview .server-list-button:checked > image {
/*  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); */
  -gtk-icon-transform: rotate(-0.5turn); }
placesview row.activatable:hover {
  background-color: transparent; }
placesview > actionbar > revealer > box > label {
  padding-left: 8px;
  padding-right: 8px; }

/**************
 * Separators *
 **************/
paned > separator, paned > separator.wide {
  min-width: 8px;
  min-height: 8px;
  margin: 0px;
  color: transparent;
  background-color: transparent;
/*  -gtk-icon-source: none; */
/*  background-clip: none; */
/*  box-shadow: inset 0px 0px 0px 1px mix(#bbbbbb, @shift_bg_color, 00.30);  */
/*  border-bottom-color: mix(#ff0000, @shift_bg_color, 00.30); */
/*  border-bottom-style: solid; */
/*  border-bottom-width: 5px; */
/*  border-style: none; */
/*  background-color: transparent; */
/*  background-image: image(mix(#b6b6b3, @shift_bg_color, 00.30)); */
/*  background-size: 1px 1px;  */
/*  background-color: mix(@bg_color, @shift_bg_color, 00.30); */
}
/*  paned > separator.wide {
    padding: 0px 1px 0px 1px;
    box-shadow: 0px 0px 0px 1px mix(#bbbbbb, @shift_bg_color, 00.30); }*/
  paned > separator:selected {
    background-image: image(@selected_bg_color); }

/*.  paned.horizontal > separator {
    background-image: -gtk-gradient (linear, left top, right top, color-stop (0, mix(#bbbbbb, @shift_bg_color, 00.30)),  color-stop (0.2, mix(@bg_color, @shift_bg_color, 00.30)), color-stop (0.8, mix(@bg_color, @shift_bg_color, 00.30)), color-stop (1, mix(#bbbbbb, @shift_bg_color, 00.30))); }
  paned.vertical > separator {
    background-image: -gtk-gradient (linear, left top, left bottom, color-stop (0, mix(#bbbbbb, @shift_bg_color, 00.30)),  color-stop (0.2, mix(@bg_color, @shift_bg_color, 00.30)), color-stop (0.8, mix(@bg_color, @shift_bg_color, 00.30)), color-stop (1, mix(#bbbbbb, @shift_bg_color, 00.30))); }*/

  paned.horizontal > separator {
/*    box-shadow: inset 1px 0px mix(#c0c0c0, @shift_bg_color, 00.30), inset -1px 0px mix(#c0c0c0, @shift_bg_color, 00.30);*/
    background: url("assets/extras/separator-bg-lighter.png") center center repeat, /*url("assets/extras/separator-vert-bg-top.png") center top no-repeat, url("assets/extras/separator-vert-bg-bottom.png") center bottom no-repeat,*/ url("assets/extras/separator-handle-vert.png") center center no-repeat, url("assets/extras/separator-vert-lighter.png") center center repeat-y/*, url("assets/extras/separator-line-horiz-darker.png") center top no-repeat, url("assets/extras/separator-line-horiz-darker.png") center bottom no-repeat;*/ }
  paned.vertical > separator {
/*    box-shadow: inset 0px 1px mix(#c0c0c0, @shift_bg_color, 00.30), inset 0px -1px mix(#c0c0c0, @shift_bg_color, 00.30);*/
    background: url("assets/extras/separator-bg-lighter.png") center center repeat, /*url("assets/extras/separator-horiz-bg-left.png") left center no-repeat, url("assets/extras/separator-horiz-bg-right.png") right center no-repeat,*/ url("assets/extras/separator-handle-horiz.png") center center no-repeat, url("assets/extras/separator-horiz-lighter.png") center center repeat-x/*, url("assets/extras/separator-line-vert-darker.png") left center no-repeat, url("assets/extras/separator-line-vert-darker.png") right center no-repeat;*/ }

/*.  paned > separator.wide {
    min-width: 5px;
    min-height: 5px;
    background-color: mix(@bg_color, @shift_bg_color, 00.30);
    background-image: image(mix(#b6b6b3, @shift_bg_color, 00.30)), image(mix(#b6b6b3, @shift_bg_color, 00.30));
    background-size: 1px 1px, 1px 1px; }
  paned.horizontal > separator {
    background-repeat: repeat-y; }
  paned.horizontal > separator:dir(ltr) {
    margin: 0 -8px 0 0;
    padding: 0 8px 0 0;
    background-position: left; }
  paned.horizontal > separator:dir(rtl) {
    margin: 0 0 0 -8px;
    padding: 0 0 0 8px;
    background-position: right; }
  paned.horizontal > separator.wide {
    margin: 0;
    padding: 0;
    background-repeat: repeat-y, repeat-y;
    background-position: left, right; }
paned.vertical > separator {
  margin: 0 0 -8px 0;
  padding: 0 0 8px 0;
  background-repeat: repeat-x;
  background-position: top; }
  paned.vertical > separator.wide {
    margin: 0;
    padding: 0;
    background-repeat: repeat-x, repeat-x;
    background-position: bottom, top; }*/

separator {
/*  background: mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30); */
  background-color: mix(#cccccc, @shift_bg_color, 00.30);
  min-width: 1px;
  min-height: 1px; }
/*. separator {
  margin: 2px; }
separator.vertical {
  margin: 0px 2px 0px 2px; }
separator.horizontal {
  margin: 2px 0px 2px 0px; }*/

headerbar separator.vertical, .csd headerbar separator.vertical {
/*  background: mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30); */
  background-color: transparent;
  min-width: 5px; }

/*@import url("options/menu-separator-flat.css");*/

/*. .frame + separator, frame > border + separator {
margin-left: -1px; }
separator + .frame, separator + frame > border {
border-left-style: none; }*/

/**************
 * InfoBar *
 **************/
infobar {
  border: 1px solid mix(#b6b6b3, @shift_bg_color, 00.30); }
  infobar.info, infobar.question {
    color: white;
    text-shadow: none /*0 1px #2a76c6*/;
    background-color: #2a76c6;
    border-color: shade(#2a76c6, 0.8); }
  infobar.warning {
    color: white;
    text-shadow: none /*0 1px #2a76c6*/;
    background-color: #ff6b00;
    border-color: shade(#ff6b00, 0.8); }
  infobar.error {
    color: white;
    text-shadow: none /*0 1px #2a76c6*/;
    background-color: #d51010;
    border-color: shade(#d51010, 0.8); }
  infobar.info button, infobar.question button, infobar.info switch slider, infobar.question switch slider {
    color: white;
    outline-color: rgba(255, 255, 255, 0.3);
    border-color: #215d9c;
    border-bottom-color: #184472;
    background-image: linear-gradient(to bottom, #4a90d9, #3986d5 60%, #2a76c6);
    text-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
    -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.54353);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
    infobar.info switch, infobar.question switch {
      border-color: #215d9c; }
  infobar.warning button, infobar.warning switch slider {
    color: white;
    outline-color: rgba(255, 255, 255, 0.3);
    border-color: #ff4800;
    border-bottom-color: #ff3f00;
    background-image: linear-gradient(to bottom, #ff9800, #ff8800 60%, #ff7800);
    text-shadow: 0 -1px rgba(0, 0, 0, 0.34353);
    -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.34353);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3); }
    infobar.warning switch {
      border-color: #ff4800; }
  infobar.error button, infobar.error switch slider {
    color: white;
    outline-color: rgba(255, 255, 255, 0.3);
    border-color: #a60c0c;
    border-bottom-color: #760909;
    background-image: linear-gradient(to bottom, #ef2929, #ee1616 60%, #d51010);
    text-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
    -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.56078);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); }
    infobar.error switch {
      border-color: #a60c0c; }
    infobar.info button:hover, infobar.question button:hover, infobar.info switch:hover slider, infobar.question switch:hover slider {
      color: white;
      outline-color: rgba(255, 255, 255, 0.3);
      border-color: #215d9c;
      border-bottom-color: #184472;
/*      text-shadow: 0 -1px rgba(0, 0, 0, 0.49553); */
      -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.49553);
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
      background-image: linear-gradient(to bottom, #63a0de, #4a90d9 60%, #3986d5); }
    infobar.warning button:hover, infobar.warning switch:hover slider {
      color: white;
      outline-color: rgba(255, 255, 255, 0.3);
      border-color: #ff4000;
      border-bottom-color: #ff3800;
      background-image: linear-gradient(to bottom, #ffaf00, #ff9800 60%, #ff9800);
/*      text-shadow: 0 -1px rgba(0, 0, 0, 0.34353);*/
      -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.34353);
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.35); }
    infobar.error button:hover, infobar.error switch:hover slider {
      color: white;
      outline-color: rgba(255, 255, 255, 0.3);
      border-color: #a60c0c;
      border-bottom-color: #760909;
      text-shadow: 0 -1px rgba(0, 0, 0, 0.51278);
      -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.51278);
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
      background-image: linear-gradient(to bottom, #f14545, #ef2929 60%, #ee1616); }
    infobar.info button:active, infobar.info button:checked, infobar.question button:active, infobar.question button:checked, infobar.info switch:checked slider, infobar.question switch:checked slider {
      box-shadow: inset 1px 0 rgba(255, 255, 255, 0.2), inset -1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px rgba(255, 255, 255, 0.3), inset 0 1px rgba(255, 255, 255, 0.4);
      border-color: #2a56a6;
      background-image: linear-gradient(to top, #5f9ff9, #3986e5 50%, #1a60a6); }
    infobar.warning button:active, infobar.warning button:checked, infobar.warning switch:checked slider {
      box-shadow: inset 1px 0 rgba(255, 255, 255, 0.2), inset -1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px rgba(255, 255, 255, 0.4), inset 0 1px rgba(255, 255, 255, 0.4);
      border-color: #ee4000;
      background-image: linear-gradient(to top, #ffbb00, #ff8f00 60%, #f86000); }
    infobar.error button:active, infobar.error button:checked, infobar.error switch:checked slider {
      color: white;
      outline-color: rgba(255, 255, 255, 0.3);
      border-color: #a00c0c;
      background-image: linear-gradient(to top, #ff7878, #f01818 50%, #d01010);
      box-shadow: inset 1px 0 rgba(255, 255, 255, 0.25), inset -1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px rgba(255, 255, 255, 0.2), inset 0 1px rgba(255, 255, 255, 0.4);
      text-shadow: none;
      -gtk-icon-shadow: none; }
    infobar.info button:disabled, infobar.question button:disabled, infobar.info switch:disabled slider, infobar.question switch:disabled slider {
      border-color: #215d9c;
      background-image: image(#65a1df);
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
      infobar.info switch:disabled, infobar.question switch:disabled {
        border-color: #215d9c; }
    infobar.warning button:disabled, infobar.warning switch:disabled slider {
      border-color: #ef5b00;
      background-image: image(#ff8f00);
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
      infobar.warning switch:disabled {
        border-color: #ef5b00; }
    infobar.error button:disabled, infobar.error switch:disabled slider {
      border-color: #b6b6b3;
      background-image: image(#ffcccc);
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
      infobar.error switch:disabled {
        border-color: #b6b6b3; }
      infobar.info button:disabled label, infobar.info button:disabled, infobar.question button:disabled label, infobar.question button:disabled, infobar.info switch:disabled slider label, infobar.info switch:disabled slider, infobar.question switch:disabled slider label, infobar.question switch:disabled slider {
        text-shadow: none;
        color: #c2e0ef; }
      infobar.warning button:disabled label, infobar.warning button:disabled, infobar.warning switch:disabled slider label, infobar.warning switch:disabled slider {
        text-shadow: none;
        color: #d0e0e0; }
      infobar.error button:disabled label, infobar.error button:disabled, infobar.error switch:disabled slider label, infobar.error switch:disabled slider {
        text-shadow: 0 1px mix(rgba(255, 255, 255, 0.86923), @shift_bg_color, 00.30);
        color: #666666; }
  infobar.info selection, infobar.question selection, infobar.warning selection, infobar.error selection {
/*    background-color: #2a76c6; */
    color: @selected_fg_color;
    background-color: @selected_bg_color; }
  infobar button.default:not(:disabled), infobar button.default:not(:disabled):hover {
    text-shadow: none;
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    border-color: alpha(currentColor,0.4);
    border-bottom-color: alpha(currentColor,0.45); }
  infobar button.default:not(:disabled):active, infobar button.default:not(:disabled):checked {
    border-color: alpha(currentColor,0.4);
    border-bottom-color: alpha(currentColor,0.2);
    border-right-color: alpha(currentColor,0.2);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px rgba(255, 255, 255, 0.2); }

/************
 * Tooltips *
 ************/
tooltip {
  padding: 0px;
  /* not working */
  border-radius: 0px;
/*  text-shadow: 0 1px black; */
  box-shadow: none; }
  tooltip.background {
    box-shadow: inset 0 1px mix(#ffffff, mix(@shift_bg_color, #ffffff, 0.5), 00.30);
    padding: 0px;
    background-image: linear-gradient(to bottom, mix(#f8f8f8, mix(@shift_bg_color, #f8f8f8, 0.299), 00.30), mix(#d8d8d8, mix(@shift_bg_color, #d8d8d8, 0.299), 00.30));
    border: 1px solid mix(#aaaaaa, @shift_bg_color, 00.30);
    background-clip: padding-box; }
  tooltip decoration {
    box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.2);
    background-color: transparent; }
  tooltip * {
    padding: 0px;
    color: @fg_color;
    background-color: transparent; }

/*****************
 * Color Chooser *
 *****************/
colorswatch:drop(active), colorswatch {
  border-style: none; }
colorswatch.top {
  border-top-left-radius: 5.5px;
  border-top-right-radius: 5.5px; }
  colorswatch.top overlay {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px; }
colorswatch.bottom {
  border-bottom-left-radius: 5.5px;
  border-bottom-right-radius: 5.5px; }
  colorswatch.bottom overlay {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px; }
colorswatch.left, colorswatch:first-child:not(.top) {
  border-top-left-radius: 5.5px;
  border-bottom-left-radius: 5.5px; }
  colorswatch.left overlay, colorswatch:first-child:not(.top) overlay {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px; }
colorswatch.right, colorswatch:last-child:not(.bottom) {
  border-top-right-radius: 5.5px;
  border-bottom-right-radius: 5.5px; }
  colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; }
colorswatch overlay {
  color: black; }
  colorswatch overlay:hover {
    border-color: mix(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5), 00.30); }
colorswatch:drop(active) {
  box-shadow: none; }
  colorswatch:drop(active) overlay {
    border-color: shade(@selected_bg_color, 0.9266);
    box-shadow: inset 0 0 0 1px shade(@selected_bg_color, 0.9266); }
colorswatch overlay {
  border: 1px solid mix(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), 00.30); }
  colorswatch overlay:hover {
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.4), 00.30), inset 0 -1px mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30); }
colorswatch#add-color-button {
  border-radius: 5px 5px 0 0; }
  colorswatch#add-color-button:only-child {
    border-radius: 5px; }
  colorswatch#add-color-button overlay {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
    border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
    border-bottom-color: mix(#91918c, @shift_bg_color, 00.30);
    background-image: linear-gradient(to bottom, mix(@bg_color, @shift_bg_color, 00.30), mix(#dededd, @shift_bg_color, 00.30) 60%, mix(#cfcfcd, @shift_bg_color, 00.30));
    text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
    box-shadow: inset 0 1px mix(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8), 00.30); }
    colorswatch#add-color-button overlay:hover {
      color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
      outline-color: mix(rgba(46, 52, 54, 0.3), rgba(0, 0, 0, 0.3), 00.30);
      border-color: mix(#b6b6b3, @shift_bg_color, 00.30);
      border-bottom-color: mix(#91918c, @shift_bg_color, 00.30);
/*      text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30); */
      -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
      box-shadow: inset 0 1px mix(#ffffff, @shift_bg_color, 00.30);
      background-image: linear-gradient(to bottom, mix(#f7f7f7, @shift_bg_color, 00.30), mix(@bg_color, @shift_bg_color, 00.30) 60%, mix(#dededd, @shift_bg_color, 00.30)); }
colorswatch:disabled {
  opacity: 0.5; }
  colorswatch:disabled overlay {
    border-color: mix(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6), 00.30);
    box-shadow: none; }
row:selected colorswatch {
  box-shadow: 0 0 0 2px @selected_fg_color; }
colorswatch#editor-color-sample {
  border-radius: 4px; }
  colorswatch#editor-color-sample overlay {
    border-radius: 4.5px; }

colorchooser .popover.osd {
  border-radius: 5px; }

/********
 * Misc *
 ********/
.content-view {
  background-color: mix(#d7d7d5, @shift_bg_color, 00.30); }
  .content-view:hover {
    -gtk-icon-effect: highlight; }

.osd .scale-popup button.flat {
  border-style: none;
  border-radius: 5px; }
.scale-popup button:hover {
  background-color: mix(rgba(46, 52, 54, 0.1), rgba(0, 0, 0, 0.1), 00.30);
  border-radius: 5px; }

/**********************
 * Window Decorations *
 *********************/
/*. window.csd {
  border-width: 1px;
  border-style: solid;
  border-color: #ffffff; }*/

/*. window:not(menu) decoration, window:not(.menu) decoration {
padding-left: 5px;
padding-right: 5px;
padding-bottom: 5px;
background-color: mix(@bg_color, @shift_bg_color, 00.30);
}*/

decoration {
  border-radius: 3px 3px 0 0;
  border-width: 0px;
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.30), 0 0 0 1px #939393;
  margin: 5px; }
/*.  decoration:backdrop {
    box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30), 0 0 0 1px mix(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18), 00.30);
    transition: 200ms ease-out; }*/
  .maximized decoration, .fullscreen decoration, .tiled decoration {
    border-radius: 0; }
/*.
  .popup decoration {
    box-shadow: none; }
*/
  .popup decoration {
    border-radius: 10px;
    box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.2); 
}
  .ssd decoration {
    box-shadow: 0 0 0 1px mix(rgba(0, 0, 0, 0.23), rgba(0, 0, 0, 0.23), 00.30); }
/*.
  .csd.popup decoration {
    border-radius: 0;
    box-shadow: 0 1px 2px mix(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2), 00.30), 0 0 0 1px mix(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13), 00.30); }
*/
  .csd.popup decoration {
    border-radius: 10px;
    box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.30); }
  tooltip.csd decoration {
    box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.15);
    border-radius: 0px; }
  messagedialog.csd decoration {
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
  .solid-csd decoration {
    margin: 0;
    padding: 4px;
    background-color: mix(#b6b6b3, @shift_bg_color, 00.30);
    border: solid 1px mix(#b6b6b3, @shift_bg_color, 00.30);
    border-radius: 0;
    box-shadow: inset 0 0 0 3px mix(#eeeeee, @shift_bg_color, 00.30), inset 0 1px mix(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8), 00.30); }
/*.    .solid-csd decoration:backdrop {
      box-shadow: inset 0 0 0 3px mix(@bg_color, @shift_bg_color, 00.30), inset 0 1px mix(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8), 00.30); }*/

button.titlebutton {
  text-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30);
  -gtk-icon-shadow: 0 1px mix(rgba(255, 255, 255, 0.76923), rgba(0, 0, 0, 0.76923), 00.30); }
/*.  button.titlebutton:backdrop {
    -gtk-icon-shadow: none; }*/

headerbar.selection-mode button.titlebutton,
.titlebar.selection-mode button.titlebutton {
  text-shadow: 0 -1px mix(rgba(0, 0, 0, 0.54353), rgba(0, 0, 0, 0.54353), 00.30);
  -gtk-icon-shadow: 0 -1px mix(rgba(0, 0, 0, 0.54353), rgba(0, 0, 0, 0.54353), 00.30); }

.view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected,
.view text:selected:focus,
iconview text:selected:focus,
textview text:selected:focus,
.view text:selected,
iconview text:selected,
textview text:selected, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection,
textview text selection:focus,
textview text selection, flowbox flowboxchild:selected, spinbutton:not(.vertical) selection,
entry selection, modelbutton.flat:selected,
.menuitem.button.flat:selected, row:selected, calendar:selected {
  background-color: @selected_bg_color; }
  row:selected label, label:selected, .selection-mode button.titlebutton, .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected,
  .view text:selected:focus,
  iconview text:selected:focus,
  textview text:selected:focus,
  .view text:selected,
  iconview text:selected,
  textview text:selected, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection,
  textview text selection:focus,
  textview text selection, flowbox flowboxchild:selected, spinbutton:not(.vertical) selection,
  entry selection, modelbutton.flat:selected,
  .menuitem.button.flat:selected, row:selected, calendar:selected {
    color: @selected_fg_color; }
    row:selected label:disabled, label:disabled:selected, .selection-mode button.titlebutton:disabled, iconview:disabled:selected:focus, .view:disabled:selected, iconview:disabled:selected,
    iconview text:disabled:selected:focus,
    textview text:disabled:selected:focus,
    .view text:disabled:selected,
    iconview text:disabled:selected,
    textview text:disabled:selected, iconview text selection:disabled:focus, .view text selection:disabled, iconview text selection:disabled,
    textview text selection:disabled, flowbox flowboxchild:disabled:selected, label:disabled selection, spinbutton:not(.vertical) selection:disabled,
    entry selection:disabled, modelbutton.flat:disabled:selected,
    .menuitem.button.flat:disabled:selected, row:disabled:selected, calendar:disabled:selected {
      color: mix(#a5c8ec, @shift_bg_color, 00.30); }
/***/
    .view:selected, iconview:selected, .view text:selected, iconview text:selected, textview text:selected {
      color: @selected_nofocus_fg_color;
    }

.monospace {
  font-family: monospace; }

/**********************
 * Touch Copy & Paste *
 *********************/
cursor-handle {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  border-style: none; }
  cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/text-select-start.png"), url("assets/text-select-start@2.png"));
    padding-left: 10px; }
  cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/text-select-end.png"), url("assets/text-select-end@2.png"));
    padding-right: 10px; }
  cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"), url("assets/slider-horz-scale-has-marks-above@2.png")); }
  cursor-handle.top:hover:dir(ltr), cursor-handle.bottom:hover:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-hover.png"), url("assets/text-select-start-hover@2.png"));
    padding-left: 10px; }
  cursor-handle.bottom:hover:dir(ltr), cursor-handle.top:hover:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-hover.png"), url("assets/text-select-end-hover@2.png"));
    padding-right: 10px; }
  cursor-handle.insertion-cursor:hover:dir(ltr), cursor-handle.insertion-cursor:hover:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active.png"), url("assets/slider-horz-scale-has-marks-above-active@2.png")); }
  cursor-handle.top:active:dir(ltr), cursor-handle.bottom:active:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/text-select-start-active.png"), url("assets/text-select-start-active@2.png"));
    padding-left: 10px; }
  cursor-handle.bottom:active:dir(ltr), cursor-handle.top:active:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/text-select-end-active.png"), url("assets/text-select-end-active@2.png"));
    padding-right: 10px; }
  cursor-handle.insertion-cursor:active:dir(ltr), cursor-handle.insertion-cursor:active:dir(rtl) {
    -gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active.png"), url("assets/slider-horz-scale-has-marks-above-active@2.png")); }

.context-menu {
  font: initial; }

.keycap {
  min-width: 20px;
  min-height: 25px;
  margin-top: 2px;
  padding-bottom: 3px;
  padding-left: 6px;
  padding-right: 6px;
  color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
  background-color: @canvas_bg_color;
  border: 1px solid;
  border-color: mix(#cfcfcd, @shift_bg_color, 00.30);
  border-radius: 5px;
  box-shadow: inset 0 -3px mix(#ededec, @shift_bg_color, 00.30);
  font-size: smaller; }

:not(decoration):not(window):drop(active):focus,
:not(decoration):not(window):drop(active) {
  border-color: shade(@selected_bg_color, 0.9266);
  box-shadow: inset 0 0 0 1px shade(@selected_bg_color, 0.9266);
  caret-color: shade(@selected_bg_color, 0.9266); }

stackswitcher button.text-button {
  min-width: 80px;
  min-height: 30px;
  padding: 0; }

stackswitcher button.circular,
stackswitcher button.text-button.circular {
  min-width: 30px;
  min-height: 30px;
  padding: 0; }

/* for some reason the following has no effect on the Software Center's title bar 
headerbar.titlebar stackswitcher button,
headerbar.titlebar stackswitcher button.text-button,
headerbar.titlebar stackswitcher button.text-button.circular,
headerbar.titlebar stackswitcher button.circular {
  min-height: 17px;
  min-width: 80px; } ***/

/* GTK NAMED COLORS
   ----------------
   use responsibly! */
/* 
   these values are used by some gtk3 apps, e.g. the label with number of updates on the 'Updates' button of 'Software Center' uses @selected_bg_color and @selected_fg_color */ /***/
/*
widget text/foreground color */
@define-color theme_fg_color mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
/*
text color for entries, views and content in general */
@define-color theme_text_color @text_color;
/*
widget base background color */
@define-color theme_bg_color mix(@bg_color, @shift_bg_color, 00.30);
/*
text widgets and the like base background color */
@define-color theme_base_color @canvas_bg_color;
/*
base background color of selections */
@define-color theme_selected_bg_color @selected_bg_color;
/*
text/foreground color of selections */
@define-color theme_selected_fg_color @selected_fg_color;
/*
base background color of insensitive widgets */
@define-color insensitive_bg_color mix(#e2e3e0, @shift_bg_color, 00.30);
/*
text foreground color of insensitive widgets */
@define-color insensitive_fg_color mix(#767978, @shift_bg_color, 00.30);
/*
insensitive text widgets and the like base background color */
@define-color insensitive_base_color mix(#ffffff, @shift_bg_color, 00.30);
/*
widget text/foreground color on backdrop windows */
@define-color theme_unfocused_fg_color mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
/*
text color for entries, views and content in general on backdrop windows */
@define-color theme_unfocused_text_color mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
/*
widget base background color on backdrop windows */
@define-color theme_unfocused_bg_color mix(@bg_color, @shift_bg_color, 00.30);
/*
text widgets and the like base background color on backdrop windows */
@define-color theme_unfocused_base_color mix(@bg_color, @shift_bg_color, 00.30);
/*
base background color of selections on backdrop windows */
@define-color theme_unfocused_selected_bg_color @selected_bg_color;
/*
text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color @selected_nofocus_fg_color;
/*
insensitive color on backdrop windows*/
@define-color unfocused_insensitive_color mix(#c3c3c0, @shift_bg_color, 00.30);
/*
widgets main borders color */
@define-color borders mix(#b6b6b3, @shift_bg_color, 00.30);
/*
widgets main borders color on backdrop windows */
@define-color unfocused_borders mix(#b6b6b3, @shift_bg_color, 00.30);
/*
these are pretty self explicative */
@define-color warning_color #f57900;
@define-color error_color #cc0000;
@define-color success_color mix(#73d216, @shift_bg_color, 00.30);
/*
these colors are exported for the window manager and shouldn't be used in applications,
read if you used those and something break with a version upgrade you're on your own... */
@define-color wm_title shade(mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30), 1.8);
@define-color wm_unfocused_title mix(#767978, @shift_bg_color, 00.30);
@define-color wm_highlight mix(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8), 00.30);
@define-color wm_borders_edge mix(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.8), 00.30);
@define-color wm_bg_a shade(mix(@bg_color, @shift_bg_color, 00.30), 1.2);
@define-color wm_bg_b mix(@bg_color, @shift_bg_color, 00.30);
@define-color wm_shadow alpha(black, 0.35);
@define-color wm_border alpha(black, 0.18);
@define-color wm_button_hover_color_a shade(mix(@bg_color, @shift_bg_color, 00.30), 1.3);
@define-color wm_button_hover_color_b mix(@bg_color, @shift_bg_color, 00.30);
@define-color wm_button_active_color_a shade(mix(@bg_color, @shift_bg_color, 00.30), 0.85);
@define-color wm_button_active_color_b shade(mix(@bg_color, @shift_bg_color, 00.30), 0.89);
@define-color wm_button_active_color_c shade(mix(@bg_color, @shift_bg_color, 00.30), 0.9);
@define-color content_view_bg @canvas_bg_color;


/***********************************
*********** Final Tewaks ***********
************************************/

/************
* Statusbar *
*************/
/* statusbar:backdrop * {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    border-color: mix(#bbbbbb, @shift_bg_color, 00.30) mix(#bbbbbb, @shift_bg_color, 00.30) mix(#aaaaaa, @shift_bg_color, 00.30) mix(#bbbbbb, @shift_bg_color, 00.30);
}

statusbar:backdrop *:disabled {
    color: mix(#888888, @shift_bg_color, 00.30);
}*/

/**********************
* Scrollbars override *
***********************/
scrollbar.vertical, scrollbar.horizontal {
	-GtkScrollbar-has-backward-stepper: true;
	-GtkScrollbar-has-forward-stepper: true;
/*	-GtkRange-stepper-spacing: 0; */
/*	-GtkRange-trough-under-steppers: 0; */
/*	-GtkArrow-arrow-scaling: 0.3; */
	background-color: mix(#cccccc, @shift_bg_color, 00.30);
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: mix(#afafaf, @shift_bg_color, 00.30);
}

frame > border > scrollbar.vertical, .frame > scrollbar.vertical {
/*  transform: translateX(1px); */
/*  transform: translate(1px, 0px); */
  margin: -1px -1px -1px 0;
/*  margin: 2px 2px 2px 0px; */
}
frame > border > scrollbar.horizontal, .frame > scrollbar.horizontal {
/*  transform: translateY(1px); */
/*  transform: translate(0px, 1px); */
  margin: 0 -1px -1px -1px;
/*  margin: 0px 2px 2px 2px; */
}

/* scrollbar.vertical button:active, scrollbar.vertical .button:active,
scrollbar.horizontal button:active, scrollbar.horizontal .button:active {
    background-image: image(mix(#dddddd, @shift_bg_color, 00.30));
} */

scrollbar.vertical button, scrollbar.vertical .button {
    min-height: 12px;
    min-width: 12px;
    padding: 0px;
    margin: 0px;
    color: mix(#444444, mix(@shift_bg_color, #444444, 0.398), 00.30);
    background-image: -gtk-gradient (linear, left top, right top, color-stop (0, mix(#f8f8f8, @shift_bg_color, 00.30)), color-stop (0.5, mix(#eaeaea, @shift_bg_color, 00.30)), color-stop (1, mix(#dddddd, @shift_bg_color, 00.30)));
    border-style: none;
}

scrollbar.vertical button.up:not(:disabled), scrollbar.vertical .button.up:not(:disabled) {
   border-bottom: 1px solid mix(#afafaf, @shift_bg_color, 00.30);
}

scrollbar.vertical button.down:not(:disabled), scrollbar.vertical .button.down:not(:disabled) {
   border-top: 1px solid mix(#afafaf, @shift_bg_color, 00.30);
}

scrollbar.horizontal button, scrollbar.horizontal .button {
    min-height: 12px;
    min-width: 12px;
    padding: 0px;
    margin: 0px;
    color: mix(#444444, mix(@shift_bg_color, #444444, 0.398), 00.30);
    background-image: -gtk-gradient (linear, left top, left bottom, color-stop (0, mix(#f8f8f8, @shift_bg_color, 00.30)), color-stop (0.5, mix(#eaeaea, @shift_bg_color, 00.30)), color-stop (1, mix(#dddddd, @shift_bg_color, 00.30)));
    border-style: none;
}

scrollbar.horizontal button.up:not(:disabled), scrollbar.horizontal .button.up:not(:disabled) {
   border-right: 1px solid mix(#afafaf, @shift_bg_color, 00.30);
}

scrollbar.horizontal button.down:not(:disabled), scrollbar.horizontal .button.down:not(:disabled) {
   border-left: 1px solid mix(#afafaf, @shift_bg_color, 00.30);
}

scrollbar button:hover, scrollbar .button:hover {
    color: mix(@fg_color, mix(@shift_bg_color, @fg_color, 0.398), 00.30);
    background-image: image(shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.07));
}

scrollbar button:disabled, scrollbar .button:disabled {
    color: mix(#a4a4a5, @shift_bg_color, 00.30);
}

scrollbar.vertical slider, scrollbar.vertical .slider {
    min-width: 12px;
    min-height: 30px;
    background-image: -gtk-gradient (linear, left top, right top, color-stop (0, mix(#f8f8f8, @shift_bg_color, 00.30)), color-stop (0.5, mix(#eaeaea, @shift_bg_color, 00.30)), color-stop (1, mix(#dddddd, @shift_bg_color, 00.30)));
    border-style: solid;
    border-width: 1px 0px 1px 0px;
    border-color: mix(#afafaf, @shift_bg_color, 00.30);
}

scrollbar.horizontal slider, scrollbar.horizontal .slider {
    min-width: 30px;
    min-height: 12px;
    background-image: -gtk-gradient (linear, left top, left bottom, color-stop (0, mix(#f8f8f8, @shift_bg_color, 00.30)), color-stop (0.5, mix(#eaeaea, @shift_bg_color, 00.30)), color-stop (1, mix(#dddddd, @shift_bg_color, 00.30)));
    border-style: solid;
    border-width: 0px 1px 0px 1px;
    border-color: mix(#afafaf, @shift_bg_color, 00.30);
}

scrollbar.vertical slider:hover, scrollbar.vertical .slider:hover {
  background-image: -gtk-gradient (linear, left top, right top, color-stop (0, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.07)), color-stop (1, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.02)));
}

scrollbar.horizontal slider:hover, scrollbar.horizontal .slider:hover {
  background-image: -gtk-gradient (linear, left top, left bottom, color-stop (0, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.07)), color-stop (1, shade(mix(mix(@bg_color, @shift_bg_color, 00.30), @bg_color, 0.15), 1.02)));
}

scrollbar.vertical.fine-tune slider:hover {
  background-image: linear-gradient(to left, mix(#eeeeee, @shift_bg_color, 00.30), mix(#999999, @shift_bg_color, 00.30));
  box-shadow: inset -1px 0px mix(#f8f8f8, @shift_bg_color, 00.30), inset 1px 0px mix(#dddddd, @shift_bg_color, 00.30);
}

scrollbar.horizontal.fine-tune slider:hover {
  background-image: linear-gradient(to top, mix(#eeeeee, @shift_bg_color, 00.30), mix(#999999, @shift_bg_color, 00.30)); 
  box-shadow: inset 0px -1px mix(#f8f8f8, @shift_bg_color, 00.30), inset 0px 1px mix(#dddddd, @shift_bg_color, 00.30);
}
