
@import "../imports/import.css"; /*imports colors from theme (and Plasma, if so is configured)*/


/* GTK NAMED COLORS
   ----------------
   use responsibly! */

/*
second color, on scales... */
@define-color secondary_selected_bg_color shade(@selected_bg, 1.7);



/*
widgets main borders color. This "borders" color should be transformed to border_color,
    but replacing is not straightforward*/
@define-color borders @border_color;

/*
 widgets main borders color on backdrop windows */
 @define-color unfocused_borders @borders; /*shade(@borders, 1.05);*/

/*highlight for buttons*/
@define-color highlight_color alpha(white, 0.5);

/*text shadows to simulate "groove" (or "outset")*/
@define-color text_shadow_color black;



/* scale slider colors*/
@define-color slider_inner_color @warning_color_breeze;
@define-color slider_middle_color alpha(@warning_color_breeze,0.7);
@define-color slider_outer_color alpha(@warning_color_breeze,0);

/*
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(@window_fg, 1.8);
@define-color wm_unfocused_title @window_fg;
@define-color wm_highlight alpha(white, 0.5);
@define-color wm_borders_edge alpha(white, 0.5);
@define-color wm_bg_a shade(@window_bg, 1.2);
@define-color wm_bg_b @window_bg;
@define-color wm_shadow alpha(black, 0.35);
@define-color wm_border alpha(black, 0.18);
@define-color wm_button_hover_color_a shade(@window_bg, 1.3);
@define-color wm_button_hover_color_b @window_bg;
@define-color wm_button_active_color_a shade(@window_bg, 0.85);
@define-color wm_button_active_color_b shade(@window_bg, 0.89);
@define-color wm_button_active_color_c shade(@window_bg, 0.9);
@define-color content_view_bg @text_widget_bg;


/***************
 * Base States *
 ***************/
.background {
  color: @window_fg;
  background-color: @window_bg; }
  /*.background:backdrop {
    color: @wm_unfocused_title;
    background-color: @window_bg;
    text-shadow: none;
    -gtk-icon-shadow: none; }*/

/*
   These wildcard seems unavoidable, need to investigate.
   Wildcards are bad and troublesome, use them with care,
   or better, just don't.
   Everytime a wildcard is used a kitten dies, painfully.
*/

.gtkstyle-fallback {
  color: @window_fg;
  background-color: @window_bg; }
  .gtkstyle-fallback:hover {
    color: @window_fg;
    background-color: shade(@window_bg, 1.1); }
  .gtkstyle-fallback:active {
    color: @window_fg;
    background-color: shade(@window_bg, 0.9); }
  .gtkstyle-fallback:disabled {
    color: @disabled_fg;
    background-color: @window_bg; }
  .gtkstyle-fallback:selected {
    color: @selected_fg;
    background-color: @selected_bg; }

    .view, iconview,
.view text,
iconview text,
textview text {
  color: @text_widget_fg;
  background-color: @text_widget_bg; }
  /*.view:backdrop, iconview:backdrop,
  .view text:backdrop,
  iconview text:backdrop,
  textview text:backdrop {
    color: @window_fg;
    background-color: @text_widget_bg; }
    .view:backdrop:disabled, iconview:backdrop:disabled,
    .view text:backdrop:disabled,
    iconview text:backdrop:disabled,
    textview text:backdrop:disabled {
      color: @disabled_fg; }*/
  .view:disabled, iconview:disabled,
  .view text:disabled,
  iconview text:disabled,
  textview text:disabled {
    color: @disabled_fg;
    background-color: @text_widget_bg; }
  .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: 5px; }

textview border {
  background-color: @window_bg; }

.rubberband,
rubberband,
flowbox rubberband,
treeview.view rubberband,
.content-view rubberband,
.content-view .rubberband {
  border: 1px solid @selected_bg;
  background-color: alpha(@selected_bg, 0.3); }

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:backdrop {
    background-color: transparent; }*/
  .content-view .tile:active, .content-view .tile:selected {
   background-color: alpha(@selected_bg, 0.7);
   /* background-color: transparent;*/ }
  .content-view .tile:disabled {
	background-color: alpha(@disabled_bg, 0.7);
    /*background-color: transparent; */}

label {
  caret-color: currentColor;
  /*color: @text_widget_fg;*/
 }
  label.separator {
    color: @window_fg; }
    /*label.separator:backdrop {
      color: @wm_unfocused_title; }*/
  label selection,  label:selected, selection {
    background-color: @selected_bg;
    color: @selected_fg; }
  label:disabled {
    color: @disabled_fg; }
    /*label:disabled:backdrop {
      color: @disabled_fg; }*/
  /*label:backdrop {
    color: @wm_unfocused_title; }*/

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

assistant .sidebar {
  background-color: @text_widget_bg;
  border-top: 1px solid @borders; }
  assistant .sidebar:backdrop {
    background-color: @text_widget_bg;
    border-color: @unfocused_borders; }

assistant.csd .sidebar {
  border-top-style: none; }

assistant .sidebar label {
  padding: 6px 12px; }

assistant .sidebar label.highlight {
  background-color: @wm_highlight; }

.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: @window_fg;
  border: 1px solid mix(@window_fg, @window_bg, 0.5);
  background-color: alpha(@window_bg, 0.7);
  /*background-clip: padding-box;*/
  /*text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;*/ }
  /*popover.background.touch-selection:backdrop, popover.background.magnifier:backdrop, popover.background.osd:backdrop, .app-notification:backdrop, .osd .scale-popup:backdrop,
  .osd:backdrop {
    text-shadow: none;
    -gtk-icon-shadow: none; }*/
    
/*widget {
	background-color: @text_widget_bg;
	color: @text_widget_fg;
}
headerbar widget {
	background-color: transparent;
	color: inherit;
}*/



/*********************
 * 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 *
 ****************/
 
spinbutton:not(.vertical),
spinbutton.vertical text,
entry {
  min-height: 32px;

  border: none; /*1px solid @window_bg;*/
  border-radius: 5px;
  transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: @text_widget_fg;
  background-color: @text_widget_bg;
  /*box-shadow: inset 0 0 0 1px rgba(42, 145, 250, 0);*/
  box-shadow: inset 0 4px 3px 0px alpha(black,0.5),
              inset 0 1px 1px 0 alpha(black, 0.35),
              inset 0 -1px 1px 0 @highlight_color;
   }
spinbutton:not(.vertical):dir(ltr) {
        padding-left: 8px;
        padding-right: 0px;
}  
spinbutton:not(.vertical):dir(rtl) {
        padding-left: 0px;
        padding-right: 8px;
}  
 
 
entry {
  padding-left: 8px;
  padding-right: 8px;
}

spinbutton.vertical text {
        padding-left: 0;
        padding-right: 0;
}

spinbutton:not(.vertical) text  {
        background: none;
}

spinbutton:not(.vertical) image.left,
  entry image.left {
    margin-right: 6px; }
  spinbutton:not(.vertical) image.right,
  entry image.right {
    margin-left: 6px; }
    

  /* undershoots defined globally later
   *
  spinbutton:not(.vertical) undershoot.left,
  entry undershoot.left {
    background-color: transparent;
    background-image: linear-gradient(to top, alpha(white, 0.2) 50%, alpha(black, 0.2) 50%);
    padding-left: 1px;
    background-size: 1px 10px;
    background-repeat: repeat-y;
    background-origin: content-box;
    background-position: left center;
    border: none;
    box-shadow: none; }
  spinbutton:not(.vertical) undershoot.right,
  entry undershoot.right {
    background-color: transparent;
    background-image: linear-gradient(to top, alpha(white, 0.2) 50%, alpha(black, 0.2) 50%);
    padding-right: 1px;
    background-size: 1px 10px;
    background-repeat: repeat-y;
    background-origin: content-box;
    background-position: right center;
    border: none;
    box-shadow: none; }*/
 
 spinbutton:focus button {
background-color: @text_widget_bg;
}

  spinbutton.flat:focus:not(.vertical), spinbutton.flat:backdrop:not(.vertical), spinbutton.flat:disabled:not(.vertical), spinbutton.flat:backdrop:disabled:not(.vertical), spinbutton.flat:not(.vertical),
  entry.flat:focus, entry.flat:focus-within
  entry.flat:backdrop,
  entry.flat:disabled,
  entry.flat:backdrop:disabled,
  entry.flat {
    min-height: 0;
    padding: 2px;
    background-color: transparent;
    border-color: transparent;
    border-radius: 0; }
  spinbutton:focus:not(.vertical),
  entry:focus, entry:focus-within {
    box-shadow: inset 0 0 0 3px @selected_bg,
                inset 0 4px 3px 0px alpha(black,0.5),
              inset 0 1px 1px 0 alpha(black, 0.35),
              inset 0 -1px 1px 0 @highlight_color;
    /*border-color: @selected_bg;*/ }

  spinbutton:disabled:not(.vertical),
  entry:disabled {
    color: @disabled_fg;
    border-color: @disabled_fg;
    background-color: @disabled_bg;
    /*box-shadow: none;*/
    }
/*  spinbutton:backdrop:not(.vertical),
  entry:backdrop {
    color: @window_fg;
    border-color: @unfocused_borders;
    background-color: @text_widget_bg;
    box-shadow: none;
    transition: 80ms ease-out; }*/
/*  spinbutton:backdrop:disabled:not(.vertical),
  entry:backdrop:disabled {
    color: @disabled_fg;
    border-color: @unfocused_borders;
    background-color: @disabled_bg;
    box-shadow: none; }*/
  spinbutton.error:not(.vertical),
  entry.error {
    color: @error_color;
    border-color: @error_color; }
    spinbutton.error:focus:not(.vertical),
    entry.error:focus {
      border-color: @error_color; }
    spinbutton.error:not(.vertical) selection,
    entry.error selection {
      background-color: @error_color; }
  spinbutton.warning:not(.vertical),
  entry.warning {
    color: @warning_color_breeze;
    border-color: @warning_color_breeze; }
    spinbutton.warning:focus:not(.vertical),
    entry.warning:focus {
      border-color: @warning_color_breeze; }
    spinbutton.warning:not(.vertical) selection,
    entry.warning selection {
      background-color: @warning_color_breeze; }
  spinbutton:not(.vertical) image,
  entry image {
    color: @text_widget_fg; }
    spinbutton:not(.vertical) image:hover,
    entry image:hover {
      color: @window_fg; }
    spinbutton:not(.vertical) image:active,
    entry image:active {
      color: @selected_bg; }
    /*spinbutton:not(.vertical) image:backdrop,
    entry image:backdrop {
      color: @window_fg; }*/
  spinbutton:drop(active):focus:not(.vertical), spinbutton:drop(active):not(.vertical),
  entry:drop(active):focus,
  entry:drop(active) {
    border-color: @success_color;
    box-shadow: inset 0 0 0 1px @success_color; }
  /*.osd spinbutton:not(.vertical), .osd entry {
    color: white;
    border-color: alpha(black, 0.7);
    background-color: alpha(black, 0.5);
    background-clip: padding-box;
    box-shadow: none;}
    .osd spinbutton:focus:not(.vertical), .osd entry:focus {
      color: white;
      border-color: @selected_bg;
      background-color: alpha(black, 0.5);
      background-clip: padding-box;
      box-shadow: inset 0 0 0 1px @selected_bg;
       }*/
    /*.osd spinbutton:backdrop:not(.vertical), .osd
    entry:backdrop {
      color: white;
      border-color: alpha(black, 0.7);
      background-color: alpha(black, 0.5);
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }*/
    /*.osd spinbutton:disabled:not(.vertical), .osd entry:disabled {
      color: @disabled_fg;
      border-color: alpha(@disabled_fg, 0.7);
      background-color: @disabled_bg;
      background-clip: padding-box;
 
      -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;
  border-style: solid;
  /*box-shadow: none;*/ }
/*  spinbutton:not(.vertical) progress:backdrop,
  entry progress:backdrop {
    background-color: transparent; }*/

spinbutton button, spinbutton button.image-button {
padding: 0px;
min-width: 1em;
min-height: 1em;
}
spinbutton:not(.vertical) button, 
spinbutton:not(.vertical) button.image-button {
margin: 2px 0;
}



.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; }

.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: @success_color; }

.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: @window_bg; }
  .linked.vertical > spinbutton:not(:disabled):not(.vertical) + entry:not(:disabled):backdrop,
  .linked.vertical > spinbutton:not(:disabled):not(.vertical) + spinbutton:not(:disabled):backdrop:not(.vertical), .linked.vertical >
  entry:not(:disabled) + entry:not(:disabled):backdrop,
  .linked.vertical >
  entry:not(:disabled) + spinbutton:not(:disabled):backdrop:not(.vertical) {
    border-top-color: @window_bg; }

.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: @window_bg; }

.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; }

.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: @success_color; }

.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; }

.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: @success_color; }

treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) {
  background-color: @text_widget_bg;
  transition-property: color, background; }

treeview entry.flat, treeview entry {
  border-radius: 0;
  background-image: none;
  background-color: @text_widget_bg; }
  treeview entry.flat:focus, treeview entry:focus {
    border-color: @selected_bg; }

.entry-tag {
  padding: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
  border-style: none;
  color: @selected_fg;
  background-color: @selected_bg; }
  :dir(ltr) .entry-tag {
    margin-left: 8px;
    margin-right: -5px; }
  :dir(rtl) .entry-tag {
    margin-left: -5px;
    margin-right: 8px; }
  .entry-tag:hover {
    background-color: shade(@selected_bg, 1.15); }
  :backdrop .entry-tag {
    color: @text_widget_bg;
    background-color: @selected_bg; }
  .entry-tag.button {
    background-color: transparent;
    color: @selected_fg; }
  :not(:backdrop) .entry-tag.button:hover {
    border: 1px solid @selected_bg;
    color: @selected_fg; }
  :not(:backdrop) .entry-tag.button:active {
    background-color: @selected_bg;
    color: @selected_fg; }


/***************
 * Header bars *
 ***************/
 
 /*.titlebar:not(headerbar),*/
.titlebar,
headerbar {
  color: @titlebar_active_fg;
  /*text-shadow: 0 1px alpha(@text_shadow_color, 0.3), 0 -1px alpha(black, 0.3);*/
  padding: 0 6px;
  min-height: 46px;
  border-width: 0;
  border-radius: 0;
  /* background: linear-gradient(to top, shade(@window_bg, 0.85), shade(@window_bg, 0.95) 4px, @window_bg 7px);*/
  background-image: linear-gradient(to top, @titlebar_active_bg, shade(@titlebar_active_bg, 1.1));
  /* background: linear-gradient(to top, shade(@window_bg, 0.8), shade(@window_bg, 0.6) 2px, shade(@window_bg, 1.05) 3px); */
  /* background: linear-gradient(to top, @window_bg, shade(@window_bg, 1.15)); */
  box-shadow: inset 0px 1px 1px alpha(@highlight_color, 0.3); }

  /*.titlebar:backdrop:not(headerbar),*/
  .titlebar:backdrop,
  headerbar:backdrop {
  color: @titlebar_backdrop_fg;
    border-color: transparent;
    background-color: @theme_header_unfocused_bg;
    background-image: linear-gradient(to top, @titlebar_backdrop_bg, shade(@titlebar_backdrop_bg, 1.1));
    /*box-shadow: none;*/
    transition: 80ms ease-out; }
  .titlebar:not(headerbar) .title,
  headerbar .title {
    padding-left: 12px;
    padding-right: 12px; }
  .titlebar:not(headerbar) .subtitle,
  headerbar .subtitle {
    font-size: smaller;
    padding-left: 12px;
    padding-right: 12px; }
  .selection-mode.titlebar:not(headerbar),
  headerbar.selection-mode {
    color: @selected_fg;
    border-color: shade(@selected_bg, 0.45);
    /*text-shadow: 0 -1px alpha(black, 0.5);*/
    background: @selected_bg linear-gradient(to top, shade(@selected_bg, 0.9), shade(@selected_bg, 0.7) 2px, @selected_bg 3px);
    box-shadow: inset 0px 1px 1px shade(@selected_bg, 1.2); }
    .selection-mode.titlebar:backdrop:not(headerbar),
    headerbar.selection-mode:backdrop {
      background-color: @selected_bg;
      background-image: none;
      box-shadow: inset 0 1px shade(@selected_bg, 1.15); }
    .selection-mode.titlebar:not(headerbar) button,
    headerbar.selection-mode button {
      color: @selected_fg;
      outline-color: alpha(white, 0.2);
      /*text-shadow: 0 1px alpha(black, 0.428024);
      -gtk-icon-shadow: 0 1px alpha(black, 0.428024);*/
      border-color: shade(@selected_bg, 0.6);
      background: linear-gradient(to top, shade(@selected_bg, 1), shade(@selected_bg, 1.1));
      box-shadow: inset 0px 1px 1px shade(@selected_bg, 1.2); }
      .selection-mode.titlebar:not(headerbar) button.flat,
      headerbar.selection-mode button.flat {
        color: @selected_fg;
        border-color: transparent;
        background-color: transparent;
        background-image: none;
        box-shadow: inset 0 1px alpha(white, 0);
        text-shadow: none;
        -gtk-icon-shadow: none; }
      .selection-mode.titlebar:not(headerbar) button:hover,
      headerbar.selection-mode button:hover {
        color: @selected_fg;
        outline-color: alpha(white, 0.2);
        background: linear-gradient(to top, shade(@selected_bg, 1.05), shade(@selected_bg, 1.15)); }
      .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: @selected_fg;
        outline-color: alpha(white, 0.2);
        /*text-shadow: 0 1px alpha(black, 0.428024);
        -gtk-icon-shadow: 0 1px alpha(black, 0.428024);*/
        border-color: shade(@selected_bg, 0.5);
        background-image: image(shade(@selected_bg, 0.7));
        -gtk-icon-shadow: none;
        box-shadow: inset 0px 0px 2px 0px shade(@selected_bg, 0.5); }
      .selection-mode.titlebar:not(headerbar) button:backdrop.flat, .selection-mode.titlebar:not(headerbar) button:backdrop,
      headerbar.selection-mode button:backdrop.flat,
      headerbar.selection-mode button:backdrop {
        border-color: @selected_bg;
        background-image: image(@selected_bg);
        text-shadow: none;
        -gtk-icon-shadow: none;
        box-shadow: inset 0 1px alpha(white, 0);
        /*-gtk-icon-filter: none;*/
        border-color: shade(@selected_bg, 0.7); }
        .selection-mode.titlebar:not(headerbar) button:backdrop.flat label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat, .selection-mode.titlebar:not(headerbar) button:backdrop label, .selection-mode.titlebar:not(headerbar) button:backdrop,
        headerbar.selection-mode button:backdrop.flat label,
        headerbar.selection-mode button:backdrop.flat,
        headerbar.selection-mode button:backdrop label,
        headerbar.selection-mode button:backdrop {
          color: shade(@selected_bg, 1.45); }
        .selection-mode.titlebar:not(headerbar) button:backdrop.flat:active, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:checked, .selection-mode.titlebar:not(headerbar) button:backdrop:active, .selection-mode.titlebar:not(headerbar) button:backdrop:checked,
        headerbar.selection-mode button:backdrop.flat:active,
        headerbar.selection-mode button:backdrop.flat:checked,
        headerbar.selection-mode button:backdrop:active,
        headerbar.selection-mode button:backdrop:checked {
          background-image: image(shade(@selected_bg, 0.75));
          box-shadow: inset 0 1px alpha(white, 0);
          border-color: shade(@selected_bg, 0.5); }
          .selection-mode.titlebar:not(headerbar) button:backdrop.flat:active label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:active, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:checked label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:checked, .selection-mode.titlebar:not(headerbar) button:backdrop:active label, .selection-mode.titlebar:not(headerbar) button:backdrop:active, .selection-mode.titlebar:not(headerbar) button:backdrop:checked label, .selection-mode.titlebar:not(headerbar) button:backdrop:checked,
          headerbar.selection-mode button:backdrop.flat:active label,
          headerbar.selection-mode button:backdrop.flat:active,
          headerbar.selection-mode button:backdrop.flat:checked label,
          headerbar.selection-mode button:backdrop.flat:checked,
          headerbar.selection-mode button:backdrop:active label,
          headerbar.selection-mode button:backdrop:active,
          headerbar.selection-mode button:backdrop:checked label,
          headerbar.selection-mode button:backdrop:checked {
            color: alpha(@selected_fg, 0.5); }
        .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled,
        headerbar.selection-mode button:backdrop.flat:disabled,
        headerbar.selection-mode button:backdrop:disabled {
          text-shadow: none;
          -gtk-icon-shadow: none;
          box-shadow: inset 0 1px alpha(white, 0);
          border-color: shade(@selected_bg, 0.5); }
          .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled label, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled,
          headerbar.selection-mode button:backdrop.flat:disabled label,
          headerbar.selection-mode button:backdrop.flat:disabled,
          headerbar.selection-mode button:backdrop:disabled label,
          headerbar.selection-mode button:backdrop:disabled {
            color: alpha(@selected_fg, 0.7); }
          .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:active, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:checked, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:active, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:checked,
          headerbar.selection-mode button:backdrop.flat:disabled:active,
          headerbar.selection-mode button:backdrop.flat:disabled:checked,
          headerbar.selection-mode button:backdrop:disabled:active,
          headerbar.selection-mode button:backdrop:disabled:checked {
            border-color: @selected_bg;
            background-image: image(@selected_bg);
            box-shadow: inset 0 1px alpha(white, 0);
            border-color: shade(@selected_bg, 0.5); }
            .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:active label, .selection-mode.titlebar:not(headerbar) button:backdrop.flat:disabled:checked label, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:active label, .selection-mode.titlebar:not(headerbar) button:backdrop:disabled:checked label,
            headerbar.selection-mode button:backdrop.flat:disabled:active label,
            headerbar.selection-mode button:backdrop.flat:disabled:checked label,
            headerbar.selection-mode button:backdrop:disabled:active label,
            headerbar.selection-mode button:backdrop:disabled:checked label {
              color: shade(@selected_bg, 1.2); }
      .selection-mode.titlebar:not(headerbar) button.flat:backdrop, .selection-mode.titlebar:not(headerbar) button.flat:disabled, .selection-mode.titlebar:not(headerbar) button.flat:backdrop:disabled,
      headerbar.selection-mode button.flat:backdrop,
      headerbar.selection-mode button.flat:disabled,
      headerbar.selection-mode button.flat:backdrop:disabled {
        border-color: transparent;
        background-color: transparent;
        background-image: none;
        box-shadow: inset 0 1px alpha(white, 0);
        text-shadow: none;
        -gtk-icon-shadow: none; }
      .selection-mode.titlebar:not(headerbar) button:disabled,
      headerbar.selection-mode button:disabled {
        text-shadow: none;
        -gtk-icon-shadow: none;
        background-image: image(@selected_bg);
        box-shadow: 0px 1px 2px alpha(@selected_bg, 0.7);
        box-shadow: none;
        border-color: @borders; }
        .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: shade(@selected_bg, 1.45); }
        .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 {
          color: @selected_fg;
          outline-color: alpha(white, 0.2);
          text-shadow: none;
          background-image: image(shade(@selected_bg, 0.85));
          box-shadow: inset 0px 0px 2px 0px shade(@selected_bg, 0.6);
          -gtk-icon-shadow: none; }
      .selection-mode.titlebar:not(headerbar) button.suggested-action,
      headerbar.selection-mode button.suggested-action {
        color: @selected_fg;
        outline-color: alpha(black, 0.1);
        /*text-shadow: 0 1px alpha(white, 0.769231);
        -gtk-icon-shadow: 0 1px alpha(@text_shadow_color, 0.769231);*/
        background-image: image(@selected_bg);
        box-shadow: inset 0px 0px 0px 1px alpha(white, 0.5), 0px 1px 2px alpha(black, 0.1);
        border-color: shade(@selected_bg, 0.75); }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:hover,
        headerbar.selection-mode button.suggested-action:hover {
          color: @selected_fg;
          outline-color: alpha(black, 0.1);
          background-image: image(shade(@selected_bg, 1.05));
          border-color: shade(@selected_bg, 0.75); }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:active,
        headerbar.selection-mode button.suggested-action:active {
          color: @selected_fg;
          outline-color: alpha(black, 0.1);
          /*text-shadow: 0 1px alpha(white, 0.769231);
          -gtk-icon-shadow: 0 1px alpha(@text_shadow_color, 0.769231);*/
          background-image: image(shade(@selected_bg, 0.7));
          -gtk-icon-shadow: none;
          box-shadow: inset 0px 0px 2px 0px shade(@window_bg, 0.75);
          border-color: shade(@selected_bg, 0.5); }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:disabled,
        headerbar.selection-mode button.suggested-action:disabled {
          text-shadow: none;
          -gtk-icon-shadow: none;
          background-image: image(@selected_bg);
          box-shadow: 0px 1px 2px @borders;
          box-shadow: none;
          border-color: shade(@selected_bg, 0.85); }
          .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 {
            color: @disabled_fg; }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop,
        headerbar.selection-mode button.suggested-action:backdrop {
          background-image: image(@selected_bg);
          text-shadow: none;
          -gtk-icon-shadow: none;
          box-shadow: inset 0 1px alpha(white, 0);
          border-color: shade(@selected_bg, 0.8); }
          .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop label, .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop,
          headerbar.selection-mode button.suggested-action:backdrop label,
          headerbar.selection-mode button.suggested-action:backdrop {
            color: @disabled_fg; }
        .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop:disabled,
        headerbar.selection-mode button.suggested-action:backdrop:disabled {
          text-shadow: none;
          -gtk-icon-shadow: none;
          box-shadow: inset 0 1px alpha(white, 0);
          border-color: shade(@selected_bg, 0.9); }
          .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop:disabled label, .selection-mode.titlebar:not(headerbar) button.suggested-action:backdrop:disabled,
          headerbar.selection-mode button.suggested-action:backdrop:disabled label,
          headerbar.selection-mode button.suggested-action:backdrop:disabled {
            color: @disabled_fg; }
    .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop, .selection-mode.titlebar:not(headerbar) .selection-menu,
    headerbar.selection-mode .selection-menu:backdrop,
    headerbar.selection-mode .selection-menu {
      border-color: rgba(42, 145, 250, 0);
      background-color: rgba(42, 145, 250, 0);
      background-image: none;
      box-shadow: none;
      padding-left: 10px;
      padding-right: 10px; }
      .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop arrow, .selection-mode.titlebar:not(headerbar) .selection-menu arrow,
      headerbar.selection-mode .selection-menu:backdrop arrow,
      headerbar.selection-mode .selection-menu arrow {
        /*-GtkArrow-arrow-scaling: 1;*/ }
      .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop .arrow, .selection-mode.titlebar:not(headerbar) .selection-menu .arrow,
      headerbar.selection-mode .selection-menu:backdrop .arrow,
      headerbar.selection-mode .selection-menu .arrow {
        -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
        color: alpha(@window_fg, 0.65);
        -gtk-icon-shadow: none; }

 .tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar),
  .tiled-top .titlebar:backdrop:not(headerbar),
  .tiled-top .titlebar:not(headerbar),
  .tiled-right .titlebar:backdrop:not(headerbar),
  .tiled-right .titlebar:not(headerbar),
  .tiled-bottom .titlebar:backdrop:not(headerbar),
  .tiled-bottom .titlebar:not(headerbar),
  .tiled-left .titlebar:backdrop:not(headerbar),
  .tiled-left .titlebar:not(headerbar),
  .maximized .titlebar:backdrop:not(headerbar),
  .maximized .titlebar:not(headerbar),
  .fullscreen .titlebar:backdrop:not(headerbar),
  .fullscreen .titlebar:not(headerbar), .tiled
  headerbar:backdrop, .tiled
  headerbar,
  .tiled-top
  headerbar:backdrop,
  .tiled-top
  headerbar,
  .tiled-right
  headerbar:backdrop,
  .tiled-right
  headerbar,
  .tiled-bottom
  headerbar:backdrop,
  .tiled-bottom
  headerbar,
  .tiled-left
  headerbar:backdrop,
  .tiled-left
  headerbar,
  .maximized
  headerbar:backdrop,
  .maximized
  headerbar,
  .fullscreen
  headerbar:backdrop,
  .fullscreen
  headerbar {
    border-radius: 0;
    background-color: @window_bg; }
  .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:backdrop:dir(rtl):not(headerbar), .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd
  headerbar:backdrop:dir(rtl), .solid-csd
  headerbar:backdrop:dir(ltr), .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 button {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  /*border-color: alpha(black, 0.3);*/
  }

/*headerbar button:disabled {
	background-color: alpha(@disabled_bg, 0.2);
	border-color: alpha(black, 0.2);
}*/

headerbar switch {
  margin-top: 14px;
  margin-bottom: 14px; }

.background .titlebar:backdrop, .background .titlebar {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px; }

.background.tiled .titlebar:backdrop, .background.tiled .titlebar,
.background.tiled-top .titlebar:backdrop,
.background.tiled-top .titlebar,
.background.tiled-right .titlebar:backdrop,
.background.tiled-right .titlebar,
.background.tiled-bottom .titlebar:backdrop,
.background.tiled-bottom .titlebar,
.background.tiled-left .titlebar:backdrop,
.background.tiled-left .titlebar,
.background.maximized .titlebar:backdrop,
.background.maximized .titlebar,
.background.solid-csd .titlebar:backdrop,
.background.solid-csd .titlebar {
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

window separator:first-child + headerbar:backdrop, window separator:first-child + headerbar,
window headerbar:first-child:backdrop,
window headerbar:first-child {
  border-top-left-radius: 5px; }

window headerbar:last-child:backdrop, window headerbar:last-child {
  border-top-right-radius: 5px; }

window stack headerbar:first-child:backdrop, window stack headerbar:first-child, window stack headerbar:last-child:backdrop, window stack headerbar:last-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px; }

window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled headerbar:backdrop, window.tiled headerbar:backdrop:first-child, window.tiled headerbar:backdrop:last-child, window.tiled headerbar:backdrop:only-child,
window.tiled-top headerbar,
window.tiled-top headerbar:first-child,
window.tiled-top headerbar:last-child,
window.tiled-top headerbar:only-child,
window.tiled-top headerbar:backdrop,
window.tiled-top headerbar:backdrop:first-child,
window.tiled-top headerbar:backdrop:last-child,
window.tiled-top headerbar:backdrop:only-child,
window.tiled-right headerbar,
window.tiled-right headerbar:first-child,
window.tiled-right headerbar:last-child,
window.tiled-right headerbar:only-child,
window.tiled-right headerbar:backdrop,
window.tiled-right headerbar:backdrop:first-child,
window.tiled-right headerbar:backdrop:last-child,
window.tiled-right headerbar:backdrop:only-child,
window.tiled-bottom headerbar,
window.tiled-bottom headerbar:first-child,
window.tiled-bottom headerbar:last-child,
window.tiled-bottom headerbar:only-child,
window.tiled-bottom headerbar:backdrop,
window.tiled-bottom headerbar:backdrop:first-child,
window.tiled-bottom headerbar:backdrop:last-child,
window.tiled-bottom headerbar:backdrop:only-child,
window.tiled-left headerbar,
window.tiled-left headerbar:first-child,
window.tiled-left headerbar:last-child,
window.tiled-left headerbar:only-child,
window.tiled-left headerbar:backdrop,
window.tiled-left headerbar:backdrop:first-child,
window.tiled-left headerbar:backdrop:last-child,
window.tiled-left headerbar:backdrop:only-child,
window.maximized headerbar,
window.maximized headerbar:first-child,
window.maximized headerbar:last-child,
window.maximized headerbar:only-child,
window.maximized headerbar:backdrop,
window.maximized headerbar:backdrop:first-child,
window.maximized headerbar:backdrop:last-child,
window.maximized headerbar:backdrop:only-child,
window.fullscreen headerbar,
window.fullscreen headerbar:first-child,
window.fullscreen headerbar:last-child,
window.fullscreen headerbar:only-child,
window.fullscreen headerbar:backdrop,
window.fullscreen headerbar:backdrop:first-child,
window.fullscreen headerbar:backdrop:last-child,
window.fullscreen headerbar:backdrop:only-child,
window.solid-csd headerbar,
window.solid-csd headerbar:first-child,
window.solid-csd headerbar:last-child,
window.solid-csd headerbar:only-child,
window.solid-csd headerbar:backdrop,
window.solid-csd headerbar:backdrop:first-child,
window.solid-csd headerbar:backdrop:last-child,
window.solid-csd headerbar:backdrop:only-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0; }


.titlebar:not(headerbar) > separator {
  background-color: @borders; }

/***********
 * Buttons *
 ***********/

notebook > header > tabs > arrow, button.titlebutton,
button {
  min-height: 24px;
  min-width: 16px;
  padding: 0.2em 0.5em;
  border: 0px solid;
  border-radius: 5px;
  /*transition: background-color 80ms;*/
  transition: none;
}

button.default {
    font-weight: bold;
}
notebook > header > tabs > arrow,
button.titlebutton:hover,
windowcontrols button:hover,
button, button.flat:hover, button.flat:focus {
  color: @button_fg;
  outline-color: alpha(black, 0.1);
  /*text-shadow: 0 1px alpha(@text_shadow_color, 0.7), 0 -1px alpha(black, 0.3);
  -gtk-icon-shadow: 0 1px alpha(@text_shadow_color, 0.7), 0 -1px alpha(black, 0.3);*/
  border-color: @border_color; /*shade(@text_widget_bg, 0.4);*/
  /*background: linear-gradient(to top, shade(@window_bg, 1), shade(@window_bg, 1.05));*/
  background-image: linear-gradient(to bottom, alpha(@highlight_color,0.2), alpha(black,0.2));
  /*box-shadow: inset 0px 1px 1px shade(@window_bg, 1.15);*/
  /*box-shadow: inset 0px 1px 1px alpha(@highlight_color, 0.5),
		inset 0px -1px 1px alpha(black, 0.85), 
		0px 3px 3px -2px alpha(black, 0.6) ;*/
  box-shadow: 
	inset 0px 2px 3px 0 alpha(@highlight_color, 0.4),
	inset 0px 1px 0px 0 alpha(@highlight_color, 0.8),
	inset 0px -2px 2px 0px alpha(black, 0.4),
	inset 0px -1px 1px 0px alpha(black, 0.5);
	/*inset 0 0 0 1px black;*/
    background-color: @button_bg;
}
  notebook > header > tabs > arrow, button.sidebar-button, button.titlebutton, windowcontrols button,
  button.flat {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    /*box-shadow: inset 0 1px alpha(white, 1);*/
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    transition: none; }
    notebook > header > tabs > arrow:hover, button.sidebar-button:hover, button.titlebutton:hover,
    button.flat:hover {
      /*transition: all 80ms cubic-bezier(0.25, 0.46, 0.45, 0.94);*/
      transition-duration: 500ms;
      background-color: alpha(@highlight_color, 0.2);
     }
      notebook > header > tabs > arrow:hover:active, button.sidebar-button:hover:active, button.titlebutton:hover:active,
      button.flat:hover:active {
        /*transition: all 80ms cubic-bezier(0.25, 0.46, 0.45, 0.94); */}
  notebook > header > tabs > arrow:focus, button.titlebutton:focus,
  
  button:focus {
    outline-offset: -8px;
    background-color: shade(@button_bg, 1.2);
   }


notebook > header > tabs > arrow:hover,
  button:hover {
/*    color: @window_fg;
    outline-color: alpha(black, 0.1);*/
    /*background: linear-gradient(to top, shade(@window_bg, 1.05), shade(@window_bg, 1.1));*/
/*    background: linear-gradient(to top, shade(@button_bg, 1.05), shade(@button_bg, 1.1));
    border-color: @borders;
    border-bottom-color: shade(@borders, 0.75);*/
    background-color: shade(@button_bg,1.1);
     }

/*   headerbar button:hover {
      background-color: alpha(@highlight_color, 0.3);
    }*/
  notebook > header > tabs > arrow:active, button.titlebutton:active, notebook > header > tabs > arrow:checked, button.titlebutton:checked,
  button:active,
  button:checked, button.flat:active, button.flat:checked {
    color: @button_pushed_fg;
    background-color: @button_pushed_bg;
    outline-color: alpha(black, 0.1);
    border-color: @border_color;
 
    -gtk-icon-shadow: none;
    
  box-shadow: 
	/*inset 0 0 0 1px black,*/
	
	inset 0px 2px 1px 0 alpha(@highlight_color, 0.5),
	inset 0px 2px 2px 1px alpha(black, 0.85),
	inset 0px -1px 0px 0px alpha(@highlight_color, 1);
        
        
    /*transition-duration: 50ms; */}

button:checked:hover, button.flat:checked:hover {
        background-color: shade(@button_pushed_bg, 1.1);
}
button:checked:focus, button.flat:checked:focus {
        background-color: shade(@button_pushed_bg, 1.2);
}

  notebook > header > tabs > arrow:disabled, button.titlebutton:disabled, button.suggested-action:disabled, button.destructive-action:disabled,
  button:disabled {
    text-shadow: none;
    -gtk-icon-shadow: none;
    /*background-image: image(@disabled_bg);*/
    background-image: none;
    background-color: alpha(@disabled_bg, 1);
    color: @disabled_fg;
    /*box-shadow: 0px 1px 2px @borders;*/
    /*box-shadow: inset 0 0 0 1px  @disabled_fg ;*/
    box-shadow: 
	inset 0px -1px 0px 0px alpha(black, 0.3),
	inset -1px 0px 0px 0px alpha(black, 0.15),
	inset 1px -1px 0px 0px alpha(black, 0.15),
	inset 0px 1px 0px 0 alpha(@highlight_color, 0.5);
    
    border-color: @disabled_fg; }
    
    
    notebook > header > tabs > arrow:disabled label, button.titlebutton:disabled label, notebook > header > tabs > arrow:disabled, button.titlebutton:disabled,
    button:disabled label,
    button:disabled {
      color: @disabled_fg;} /*@wm_unfocused_title; }*/
    notebook > header > tabs > arrow:disabled:active, button.titlebutton:disabled:active, notebook > header > tabs > arrow:disabled:checked, button.titlebutton:disabled:checked, button.suggested-action:disabled:checked, button.destructive-action:disabled:checked,
    button:disabled:active,
    button:disabled:checked {
      /*color: @window_fg;*/
      outline-color: alpha(black, 0.1);
      text-shadow: none;
      background-image: none;
      /*background-image: image(@disabled_bg);*/
      background-color: alpha(@disabled_bg, 1);
      color: @disabled_fg;
      box-shadow: 	/*inset 0 0 0 1px @disabled_fg,*/
	inset 0px 2px 1px 0 alpha(@highlight_color, 0.5),
	inset 0px 2px 2px 1px alpha(black, 0.85),
	inset 0px -1px 0px 0px alpha(@highlight_color, 1);
      /*border-bottom-color: alpha(@highlight_color, 0.5);*/
      -gtk-icon-shadow: none; }
  notebook > header > tabs > arrow.image-button, button.image-button.titlebutton,
  button.image-button {
    min-width: 24px;
    padding-left: 4px;
    padding-right: 4px; }
  notebook > header > tabs > arrow.text-button, button.text-button.titlebutton,
  button.text-button {
    padding-left: 16px;
    padding-right: 16px; }
  notebook > header > tabs > arrow.text-button.image-button, button.text-button.image-button.titlebutton,
  button.text-button.image-button {
    padding-left: 8px;
    padding-right: 8px; }
    notebook > header > tabs > arrow.text-button.image-button label, button.text-button.image-button.titlebutton label,
    button.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(@success_color, 0.85);
    border-color: shade(@success_color, 0.85);
    box-shadow: inset 0 0 0 1px shade(@success_color, 0.85); }

row:selected
button {
  border-color: shade(@selected_bg, 0.75); }
  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;
    border-color: transparent; }
    row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop, row:selected
    button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop {
      color: @text_widget_bg; }

/*
button.osd {
  min-width: 24px;
  min-height: 32px;
  color: #eeeeec;
  border-radius: 5px;
  color: #eeeeec;
  border-color: alpha(black, 0.7);
  background-color: transparent;
  background-image: image(rgba(28, 31, 32, 0.7));
  background-clip: padding-box;
  box-shadow: inset 0 1px alpha(white, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(238, 238, 236, 0.2);
  border: none;
  box-shadow: none; }

  button.osd.image-button {
    min-width: 32px; }

  button.osd:hover {
    color: white;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(rgba(57, 63, 65, 0.7));
    background-clip: padding-box;
    box-shadow: inset 0 1px alpha(white, 0.1);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: rgba(238, 238, 236, 0.2);
    border: none;
    box-shadow: none; }

  button.osd:active,
  button.osd:checked {
    color: white;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(black, 0.7));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    outline-color: rgba(238, 238, 236, 0.2);
    border: none;
    box-shadow: none; }

  button.osd:disabled:backdrop,
  button.osd:disabled {
    color: @disabled_fg;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(rgba(49, 52, 52, 0.5));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    border: none; }
 */

  /*button.osd:backdrop {
    color: #eeeeec;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(rgba(28, 31, 32, 0.7));
    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: #eeeeec;
  border-color: alpha(black, 0.7);
  background-color: transparent;
  background-image: image(rgba(28, 31, 32, 0.7));
  background-clip: padding-box;
  box-shadow: inset 0 1px alpha(white, 0.1);
  text-shadow: 0 1px black;
  -gtk-icon-shadow: 0 1px black;
  outline-color: rgba(238, 238, 236, 0.2); }
  popover.background.touch-selection button:hover, popover.background.magnifier button:hover, .app-notification button:hover,
  .osd
  button:hover {
    color: white;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(rgba(57, 63, 65, 0.7));
    background-clip: padding-box;
    box-shadow: inset 0 1px alpha(white, 0.1);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: rgba(238, 238, 236, 0.2); }
  popover.background.touch-selection button:active:backdrop, popover.background.magnifier button:active:backdrop, .app-notification button:active:backdrop, popover.background.touch-selection button:active, popover.background.magnifier button:active, .app-notification button:active, popover.background.touch-selection button:checked:backdrop, popover.background.magnifier button:checked:backdrop, .app-notification button:checked:backdrop, popover.background.touch-selection button:checked, popover.background.magnifier button:checked, .app-notification button:checked,
  .osd
  button:active:backdrop,
  .osd
  button:active,
  .osd
  button:checked:backdrop,
  .osd
  button:checked {
    color: white;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(black, 0.7));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    outline-color: rgba(238, 238, 236, 0.2); }
  popover.background.touch-selection button:disabled:backdrop, popover.background.magnifier button:disabled:backdrop, .app-notification button:disabled:backdrop, popover.background.touch-selection button:disabled, popover.background.magnifier button:disabled, .app-notification button:disabled,
  .osd
  button:disabled:backdrop,
  .osd
  button:disabled {
    color: @disabled_fg;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(rgba(49, 52, 52, 0.5));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none; }*/
/*  popover.background.touch-selection button:backdrop, popover.background.magnifier button:backdrop, .app-notification button:backdrop,
  .osd
  button:backdrop {
    color: #eeeeec;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(rgba(28, 31, 32, 0.7));
    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 alpha(white, 0);
    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: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(rgba(57, 63, 65, 0.7));
      background-clip: padding-box;
      box-shadow: inset 0 1px alpha(white, 0.1);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: rgba(238, 238, 236, 0.2); }*/
  /*  popover.background.touch-selection button.flat:disabled, popover.background.magnifier button.flat:disabled, .app-notification button.flat:disabled,
    .osd
    button.flat:disabled {
      color: @disabled_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(rgba(49, 52, 52, 0.5));
      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:backdrop, popover.background.magnifier button.flat:backdrop, .app-notification button.flat:backdrop,
    .osd*/
  /*  button.flat:backdrop {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px alpha(white, 0);
      text-shadow: none;
      -gtk-icon-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: @selected_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(alpha(black, 0.7));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      outline-color: rgba(238, 238, 236, 0.2); }*/


button.suggested-action {
  color: @selected_fg;
  outline-color: alpha(white, 0.2);
  /*text-shadow: 0 1px alpha(black, 0.428024);
  -gtk-icon-shadow: 0 1px alpha(black, 0.428024);*/
  /*border-color: shade(@selected_bg, 0.75);*/
  /*background: linear-gradient(to top, shade(@selected_bg, 1.05), shade(@selected_bg, 1.15));*/
background-color: @selected_bg;
  /*box-shadow: inset 0px 1px 1px shade(@selected_bg, 1.2);*/
}
  .selection-mode button.titlebutton,
  button.suggested-action.flat {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px alpha(white, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @selected_bg; }

  button.suggested-action:hover {
    color: @selected_fg;
    outline-color: alpha(white, 0.2);
	background-color: shade(@selected_bg,1.1);
    /*background: linear-gradient(to top, shade(@selected_bg, 1), shade(@selected_bg, 1.1));*/
    /*border-color: shade(@selected_bg, 0.6);
    border-bottom-color: shade(@selected_bg, 0.55); */}

  button.suggested-action:active,
  button.suggested-action:checked {
    color: @selected_fg;
    outline-color: alpha(white, 0.2);
    /*text-shadow: 0 1px alpha(black, 0.428024);
    -gtk-icon-shadow: 0 1px alpha(black, 0.428024);*/
    /*border-color: shade(@selected_bg, 0.4);*/
    background-color: shade(@selected_bg,1.1);
    -gtk-icon-shadow: none;
    /*box-shadow: inset 0px 0px 2px 0px shade(@selected_bg, 0.6); */
	}
/*  .selection-mode button.titlebutton:backdrop,
  button.suggested-action:backdrop,
  button.suggested-action.flat:backdrop {
    border-color: @selected_bg;
    background-image: image(@selected_bg);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px alpha(white, 0); }*/
  /*  .selection-mode button.titlebutton:backdrop label, .selection-mode button.titlebutton:backdrop,
    button.suggested-action:backdrop label,
    button.suggested-action:backdrop,
    button.suggested-action.flat:backdrop label,
    button.suggested-action.flat:backdrop {
      color: alpha(@selected_fg, 0.75); }
    .selection-mode button.titlebutton:backdrop:active, .selection-mode button.titlebutton:backdrop:checked,
    button.suggested-action:backdrop:active,
    button.suggested-action:backdrop:checked,
    button.suggested-action.flat:backdrop:active,
    button.suggested-action.flat:backdrop:checked {
      border-color: shade(@selected_bg, 1.25);
      background-image: image(shade(@selected_bg, 1.25));
      box-shadow: inset 0 1px alpha(white, 0); }
      .selection-mode button.titlebutton:backdrop:active label, .selection-mode button.titlebutton:backdrop:active, .selection-mode button.titlebutton:backdrop:checked label, .selection-mode button.titlebutton:backdrop:checked,
      button.suggested-action:backdrop:active label,
      button.suggested-action:backdrop:active,
      button.suggested-action:backdrop:checked label,
      button.suggested-action:backdrop:checked,
      button.suggested-action.flat:backdrop:active label,
      button.suggested-action.flat:backdrop:active,
      button.suggested-action.flat:backdrop:checked label,
      button.suggested-action.flat:backdrop:checked {
        color: alpha(@selected_fg, 0.75); }
    .selection-mode button.titlebutton:backdrop:disabled,
    button.suggested-action:backdrop:disabled,
    button.suggested-action.flat:backdrop:disabled {
      border-color: @unfocused_borders;
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px alpha(white, 0); }
      .selection-mode button.titlebutton:backdrop:disabled label, .selection-mode button.titlebutton:backdrop:disabled,
      button.suggested-action:backdrop:disabled label,
      button.suggested-action:backdrop:disabled,
      button.suggested-action.flat:backdrop:disabled label,
      button.suggested-action.flat:backdrop:disabled {
        color: @disabled_fg; }
      .selection-mode button.titlebutton:backdrop:disabled:active, .selection-mode button.titlebutton:backdrop:disabled:checked,
      button.suggested-action:backdrop:disabled:active,
      button.suggested-action:backdrop:disabled:checked,
      button.suggested-action.flat:backdrop:disabled:active,
      button.suggested-action.flat:backdrop:disabled:checked {
        border-color: shade(@selected_bg, 1.25);
        background-image: image(shade(@selected_bg, 1.25));
        box-shadow: inset 0 1px alpha(white, 0); }
        .selection-mode button.titlebutton:backdrop:disabled:active label, .selection-mode button.titlebutton:backdrop:disabled:checked label,
        button.suggested-action:backdrop:disabled:active label,
        button.suggested-action:backdrop:disabled:checked label,
        button.suggested-action.flat:backdrop:disabled:active label,
        button.suggested-action.flat:backdrop:disabled:checked label {
          color: shade(@selected_bg, 1.1); }*/
  .selection-mode button.titlebutton:backdrop, .selection-mode button.titlebutton:disabled, .selection-mode button.titlebutton:backdrop:disabled,
  button.suggested-action.flat:backdrop,
  button.suggested-action.flat:disabled,
  button.suggested-action.flat:backdrop:disabled {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px alpha(white, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @disabled_fg; }

  /*button.suggested-action:disabled {
    text-shadow: none;
    -gtk-icon-shadow: none;
    background-image: image(shade(@selected_bg, 1.15));
    box-shadow: 0px 1px 2px @borders;
    box-shadow: none;
    border-color: shade(@selected_bg, 0.9);
	}

  button.suggested-action:disabled label,
  button.suggested-action:disabled {
    color: @disabled_fg; }

  button.suggested-action:disabled:active,
  button.suggested-action:disabled:checked {
    color: @selected_fg;
    outline-color: alpha(white, 0.2);
    text-shadow: none;
    background-image: image(@selected_bg);
    box-shadow: inset 0px 0px 2px 0px shade(@selected_bg, 1.25);
    -gtk-icon-shadow: none; }*/
 /* .osd
  button.suggested-action {
    color: @selected_fg;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(@selected_bg, 0.5));
    background-clip: padding-box;
    box-shadow: inset 0 1px alpha(white, 0.1);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: rgba(238, 238, 236, 0.2); }
    .osd
    button.suggested-action:hover {
      color: @selected_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(alpha(@selected_bg, 0.7));
      background-clip: padding-box;
      box-shadow: inset 0 1px alpha(white, 0.1);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: rgba(238, 238, 236, 0.2); }
    .osd
    button.suggested-action:active:backdrop, .osd
    button.suggested-action:active, .osd
    button.suggested-action:checked:backdrop, .osd
    button.suggested-action:checked {
      color: @selected_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(@selected_bg);
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      outline-color: rgba(238, 238, 236, 0.2); }
    .osd
    button.suggested-action:disabled:backdrop, .osd
    button.suggested-action:disabled {
      color: #858786;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(rgba(49, 52, 52, 0.5));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }
    .osd
    button.suggested-action:backdrop {
      color: @selected_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(alpha(@selected_bg, 0.5));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }*/


button.destructive-action,
button.close:hover, button.close:focus,
button.flat.close:hover, button.flat.close:focus {
  color: @window_fg;
  outline-color: alpha(white, 0.2);
  /*text-shadow: 0 1px alpha(black, 0.451529);
  -gtk-icon-shadow: 0 1px alpha(black, 0.451529);*/
  /*border-color: shade(@error_color, 0.6);*/
  background: linear-gradient(to top, shade(mix(@error_color, @button_bg, 0.5), 0.9), shade(mix(@error_color, @button_bg, 0.5), 1.1));
  /*box-shadow: inset 0px 1px 1px shade(@error_color, 1.15); */
  }

  button.destructive-action.flat {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px alpha(white, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @error_color; }

  button.destructive-action:hover {
    /*color: @selected_fg;*/
    outline-color: alpha(white, 0.2);
    background: linear-gradient(to top, shade(mix(@error_color, @button_bg, 0.5), 1), shade(mix(@error_color, @button_bg, 0.5), 1.1)); }

  button.destructive-action:active,
  button.destructive-action:checked {
    color: @selected_fg;
    outline-color: alpha(white, 0.2);
    /*text-shadow: 0 1px alpha(black, 0.451529);
    -gtk-icon-shadow: 0 1px alpha(black, 0.451529);*/
    /*border-color: shade(@error_color, 0.4);*/
    background-image: image(@error_color);
    -gtk-icon-shadow: none;
    /*box-shadow: inset 0px 0px 2px 0px shade(@error_color, 0.5);*/
    }

  /*button.destructive-action:backdrop,
  button.destructive-action.flat:backdrop {
    border-color: @error_color;
    background-image: image(@error_color);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px alpha(white, 0); }

    button.destructive-action:backdrop label,
    button.destructive-action:backdrop,
    button.destructive-action.flat:backdrop label,
    button.destructive-action.flat:backdrop {
      color: alpha(@selected_fg, 0.8); }

    button.destructive-action:backdrop:active,
    button.destructive-action:backdrop:checked,
    button.destructive-action.flat:backdrop:active,
    button.destructive-action.flat:backdrop:checked {
      border-color: @error_color;
      background-image: image(@error_color);
      box-shadow: inset 0 1px alpha(white, 0); }

      button.destructive-action:backdrop:active label,
      button.destructive-action:backdrop:active,
      button.destructive-action:backdrop:checked label,
      button.destructive-action:backdrop:checked,
      button.destructive-action.flat:backdrop:active label,
      button.destructive-action.flat:backdrop:active,
      button.destructive-action.flat:backdrop:checked label,
      button.destructive-action.flat:backdrop:checked {
        color: alpha(@selected_fg, 0.8); }

    button.destructive-action:backdrop:disabled,
    button.destructive-action.flat:backdrop:disabled {
      border-color: alpha(@error_color, 0.75);
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px alpha(white, 0); }

      button.destructive-action:backdrop:disabled label,
      button.destructive-action:backdrop:disabled,
      button.destructive-action.flat:backdrop:disabled label,
      button.destructive-action.flat:backdrop:disabled {
        color: @disabled_fg; }

      button.destructive-action:backdrop:disabled:active,
      button.destructive-action:backdrop:disabled:checked,
      button.destructive-action.flat:backdrop:disabled:active,
      button.destructive-action.flat:backdrop:disabled:checked {
        border-color: @error_color;
        background-image: image(@error_color);
        box-shadow: inset 0 1px alpha(white, 0); }

        button.destructive-action:backdrop:disabled:active label,
        button.destructive-action:backdrop:disabled:checked label,
        button.destructive-action.flat:backdrop:disabled:active label,
        button.destructive-action.flat:backdrop:disabled:checked label {
          color: shade(@error_color, 1.2); }

  button.destructive-action.flat:backdrop,
  button.destructive-action.flat:disabled,
  button.destructive-action.flat:backdrop:disabled {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px alpha(white, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: alpha(@error_color, 0.8); }*/



    button.destructive-action:disabled label,
    button.destructive-action:disabled {
      color: @disabled_fg; }

    button.destructive-action:disabled:active,
    button.destructive-action:disabled:checked {
      color: @selected_fg;
      outline-color: alpha(white, 0.2);
      text-shadow: none;
      background-image: image(@error_color);
      box-shadow: inset 0px 0px 2px 0px shade(@error_color, 0.6);
      -gtk-icon-shadow: none; }
 /* .osd
  button.destructive-action {
    color: @selected_fg;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(@error_color, 0.5));
    background-clip: padding-box;
    box-shadow: inset 0 1px alpha(white, 0.1);
    text-shadow: 0 1px black;
    -gtk-icon-shadow: 0 1px black;
    outline-color: rgba(238, 238, 236, 0.2); }
    .osd
    button.destructive-action:hover {
      color: @selected_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(alpha(@error_color, 0.7));
      background-clip: padding-box;
      box-shadow: inset 0 1px alpha(white, 0.1);
      text-shadow: 0 1px black;
      -gtk-icon-shadow: 0 1px black;
      outline-color: rgba(238, 238, 236, 0.2); }
    .osd
    button.destructive-action:active:backdrop, .osd
    button.destructive-action:active, .osd
    button.destructive-action:checked:backdrop, .osd
    button.destructive-action:checked {
      color: @selected_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(@error_color);
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none;
      outline-color: rgba(238, 238, 236, 0.2); }
    .osd
    button.destructive-action:disabled:backdrop, .osd
    button.destructive-action:disabled {
      color: #858786;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(rgba(49, 52, 52, 0.5));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }
    .osd
    button.destructive-action:backdrop {
      color: @selected_fg;
      border-color: alpha(black, 0.7);
      background-color: transparent;
      background-image: image(alpha(@error_color, 0.5));
      background-clip: padding-box;
      box-shadow: none;
      text-shadow: none;
      -gtk-icon-shadow: none; }*/

.stack-switcher >
button {
  outline-offset: -3px; }
  .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; }
    
  calendar header button.image-button {
        padding: 0;
  }
  .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: @borders; }


button.font > box > box > label {
  font-weight: bold; }

/*.inline-toolbar
button, .inline-toolbar
button:backdrop {
  border-radius: 5px;
  border-width: 1px; }*/

.primary-toolbar
button {
  -gtk-icon-shadow: none; }


button.circular {
  border-radius: 100%;
  padding: 0.2em;
  /*-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):not(:backdrop) {
    color: @window_fg;
    outline-color: rgba(82, 87, 98, 0.2);
    text-shadow: 0 1px alpha(white, 0.769231);
    -gtk-icon-shadow: 0 1px alpha(white, 0.769231);
    border-color: @borders;
    border-bottom-color: shade(@borders, 1.1);
    background-image: image(@button_bg);
    box-shadow: inset 0px 0px 0px 1px alpha(white, 0.5), 0px 1px 2px alpha(black, 0.1); }

  button.circular:hover:not(:checked):not(:active):not(:disabled):not(:backdrop) {
    color: @window_fg;
    outline-color: rgba(82, 87, 98, 0.2);
    background-image: image(shade(@button_bg, 1.1));
    border-color: @borders;
    border-bottom-color: shade(@borders, 1.1); }*/

/*.inline-toolbar toolbutton > button {
  color: @window_fg;
  outline-color: rgba(82, 87, 98, 0.2);
  text-shadow: 0 1px alpha(white, 0.769231);
  -gtk-icon-shadow: 0 1px alpha(white, 0.769231);
  border-color: @borders;
  border-bottom-color: shade(@borders, 1.1);
  background-image: image(@window_bg);*/
/*  box-shadow: inset 0px 0px 0px 1px alpha(white, 0.5), 0px 1px 2px alpha(black, 0.1);
  box-shadow: inset 0px 0px 0px 1px rgba(254, 254, 254, 0.5), 0px 2px 0px alpha(@window_bg, 0.5), 0px 1px 0px alpha(@window_bg, 0.5);
  */ /* }
  .inline-toolbar toolbutton > button:hover {
    color: @window_fg;
    outline-color: rgba(82, 87, 98, 0.2);
    background-image: image(shade(@window_bg, 1.1));
    border-color: @borders;
    border-bottom-color: shade(@borders, 1.1); }
  .inline-toolbar toolbutton > button:active, .inline-toolbar toolbutton > button:checked {
    color: @window_fg;
    outline-color: rgba(82, 87, 98, 0.2);
    text-shadow: 0 1px alpha(white, 0.769231);
    -gtk-icon-shadow: 0 1px alpha(white, 0.769231);
    border-color: @borders;
    background-image: image(shade(@window_bg, 1.25));
    -gtk-icon-shadow: none;
    box-shadow: inset 0px 0px 2px 0px shade(@window_bg, 0.75); }
  .inline-toolbar toolbutton > button:disabled {
    text-shadow: none;
    -gtk-icon-shadow: none;
    background-image: image(@disabled_bg);
    box-shadow: 0px 1px 2px @borders;
    box-shadow: none;
    border-color: @borders; }
    .inline-toolbar toolbutton > button:disabled label, .inline-toolbar toolbutton > button:disabled {
      color: @disabled_fg; }
    .inline-toolbar toolbutton > button:disabled:active, .inline-toolbar toolbutton > button:disabled:checked {
      color: @window_fg;
      outline-color: rgba(82, 87, 98, 0.2);
      text-shadow: none;
      background-image: image(@disabled_bg);
      box-shadow: inset 0px 0px 2px 0px shade(@window_bg, 0.75);
      -gtk-icon-shadow: none; }*/
 /* .inline-toolbar toolbutton > button:backdrop {
    border-color: @unfocused_borders;
    background-image: image(@window_bg);
    text-shadow: none;
    -gtk-icon-shadow: none;
    box-shadow: inset 0 1px alpha(white, 0); }
    .inline-toolbar toolbutton > button:backdrop label, .inline-toolbar toolbutton > button:backdrop {
      color: @disabled_fg; }
    .inline-toolbar toolbutton > button:backdrop:active, .inline-toolbar toolbutton > button:backdrop:checked {
      border-color: @unfocused_borders;
      background-image: image(shade(@window_bg, 1.25));
      box-shadow: inset 0 1px alpha(white, 0); }
      .inline-toolbar toolbutton > button:backdrop:active label, .inline-toolbar toolbutton > button:backdrop:active, .inline-toolbar toolbutton > button:backdrop:checked label, .inline-toolbar toolbutton > button:backdrop:checked {
        color: @disabled_fg; }
    .inline-toolbar toolbutton > button:backdrop:disabled {
      border-color: @unfocused_borders;
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px alpha(white, 0); }
      .inline-toolbar toolbutton > button:backdrop:disabled label, .inline-toolbar toolbutton > button:backdrop:disabled {
        color: @disabled_fg; }
      .inline-toolbar toolbutton > button:backdrop:disabled:active, .inline-toolbar toolbutton > button:backdrop:disabled:checked {
        border-color: @unfocused_borders;
        background-image: image(shade(@window_bg, 1.05));
        box-shadow: inset 0 1px alpha(white, 0); }
        .inline-toolbar toolbutton > button:backdrop:disabled:active label, .inline-toolbar toolbutton > button:backdrop:disabled:checked label {
          color: @disabled_fg; }*/


.needs-attention > label{
        animation: needs_attention 150ms ease-in;
        background-image: radial-gradient(closest-side, @warning_color_breeze 0%, @warning_color_breeze 50%, alpha(@warning_color_breeze, 0) 100%);
        background-size: 1em 1em;
        background-repeat: no-repeat;
        background-position: top right;
}

.needs-attention:dir(rtl) > label {
        background-position: top left;
}


toolbar.inline-toolbar toolbutton > button.flat,
toolbar.inline-toolbar toolbutton:backdrop > button.flat, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .inline-toolbar button, .inline-toolbar button:backdrop, .linked > button,
.linked > button:hover,
.linked > button:active,
.linked > button:checked,
.linked > button:backdrop, .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:active:not(:backdrop):not(.vertical) + spinbutton:not(:backdrop):not(.vertical), .linked:not(.vertical) > entry:active:not(:backdrop) + spinbutton:not(:backdrop):not(.vertical), .inline-toolbar .linked:not(.vertical) > button:active:not(:backdrop) + spinbutton:not(:backdrop):not(.vertical), .inline-toolbar .linked:not(.vertical) > button:active:not(:backdrop):backdrop + spinbutton:not(:backdrop):not(.vertical), .linked:not(.vertical) > button:active:not(:backdrop) + spinbutton:not(:backdrop):not(.vertical),
.linked:not(.vertical) > button:active:not(:backdrop):hover + spinbutton:not(:backdrop):not(.vertical),
.linked:not(.vertical) > button:active:not(:backdrop):checked + spinbutton:not(:backdrop):not(.vertical),
.linked:not(.vertical) > button:active:not(:backdrop):backdrop + spinbutton:not(:backdrop):not(.vertical), .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + entry:not(:backdrop), .linked:not(.vertical) > entry:active:not(:backdrop) + entry:not(:backdrop), .inline-toolbar .linked:not(.vertical) > button:active:not(:backdrop) + entry:not(:backdrop), .inline-toolbar .linked:not(.vertical) > button:active:not(:backdrop):backdrop + entry:not(:backdrop), .linked:not(.vertical) > button:active:not(:backdrop) + entry:not(:backdrop),
.linked:not(.vertical) > button:active:not(:backdrop):hover + entry:not(:backdrop),
.linked:not(.vertical) > button:active:not(:backdrop):checked + entry:not(:backdrop),
.linked:not(.vertical) > button:active:not(:backdrop):backdrop + entry:not(:backdrop), .inline-toolbar .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + button:not(:backdrop), .inline-toolbar .linked:not(.vertical) > entry:active:not(:backdrop) + button:not(:backdrop), .inline-toolbar button:active:not(:backdrop) + button:not(:backdrop), .inline-toolbar button:active:not(:backdrop):backdrop + button:not(:backdrop), .inline-toolbar .linked > button:active:not(:backdrop) + button:not(:backdrop), .inline-toolbar
.linked > button:active:not(:backdrop):hover + button:not(:backdrop), .inline-toolbar
.linked > button:active:not(:backdrop):checked + button:not(:backdrop), .inline-toolbar
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop), .inline-toolbar .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + button:not(:backdrop):backdrop, .inline-toolbar .linked:not(.vertical) > entry:active:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar button:active:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar button:active:not(:backdrop):backdrop + button:not(:backdrop):backdrop, .inline-toolbar .linked > button:active:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:active:not(:backdrop):hover + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:active:not(:backdrop):checked + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):backdrop, .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + button:not(:backdrop), .linked:not(.vertical) > entry:active:not(:backdrop) + button:not(:backdrop), .inline-toolbar .linked > button:active:not(:backdrop) + button:not(:backdrop), .inline-toolbar .linked > button:active:not(:backdrop):backdrop + button:not(:backdrop), .linked > button:active:not(:backdrop) + button:not(:backdrop),
.linked > button:active:not(:backdrop):hover + button:not(:backdrop),
.linked > button:active:not(:backdrop):checked + button:not(:backdrop),
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop), .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + button:not(:backdrop):hover, .linked:not(.vertical) > entry:active:not(:backdrop) + button:not(:backdrop):hover, .inline-toolbar
.linked > button:active:not(:backdrop) + button:not(:backdrop):hover, .inline-toolbar
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):hover, .linked > button:active:not(:backdrop) + button:not(:backdrop):hover,
.linked > button:active:not(:backdrop):hover + button:not(:backdrop):hover,
.linked > button:active:not(:backdrop):checked + button:not(:backdrop):hover,
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):hover, .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + button:not(:backdrop):active, .linked:not(.vertical) > entry:active:not(:backdrop) + button:not(:backdrop):active, .inline-toolbar
.linked > button:active:not(:backdrop) + button:not(:backdrop):active, .inline-toolbar
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):active, .linked > button:active:not(:backdrop) + button:not(:backdrop):active,
.linked > button:active:not(:backdrop):hover + button:not(:backdrop):active,
.linked > button:active:not(:backdrop):checked + button:not(:backdrop):active,
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):active, .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + button:not(:backdrop):checked, .linked:not(.vertical) > entry:active:not(:backdrop) + button:not(:backdrop):checked, .inline-toolbar
.linked > button:active:not(:backdrop) + button:not(:backdrop):checked, .inline-toolbar
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):checked, .linked > button:active:not(:backdrop) + button:not(:backdrop):checked,
.linked > button:active:not(:backdrop):hover + button:not(:backdrop):checked,
.linked > button:active:not(:backdrop):checked + button:not(:backdrop):checked,
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):checked, .linked:not(.vertical) > spinbutton:active:not(:backdrop):not(.vertical) + button:not(:backdrop):backdrop, .linked:not(.vertical) > entry:active:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:active:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):backdrop, .linked > button:active:not(:backdrop) + button:not(:backdrop):backdrop,
.linked > button:active:not(:backdrop):hover + button:not(:backdrop):backdrop,
.linked > button:active:not(:backdrop):checked + button:not(:backdrop):backdrop,
.linked > button:active:not(:backdrop):backdrop + button:not(:backdrop):backdrop, .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + spinbutton:not(:backdrop):not(.vertical), .linked:not(.vertical) > entry:checked:not(:backdrop) + spinbutton:not(:backdrop):not(.vertical), .inline-toolbar .linked:not(.vertical) > button:checked:not(:backdrop) + spinbutton:not(:backdrop):not(.vertical), .inline-toolbar .linked:not(.vertical) > button:checked:not(:backdrop):backdrop + spinbutton:not(:backdrop):not(.vertical), .linked:not(.vertical) > button:checked:not(:backdrop) + spinbutton:not(:backdrop):not(.vertical),
.linked:not(.vertical) > button:checked:not(:backdrop):hover + spinbutton:not(:backdrop):not(.vertical),
.linked:not(.vertical) > button:checked:not(:backdrop):active + spinbutton:not(:backdrop):not(.vertical),
.linked:not(.vertical) > button:checked:not(:backdrop):backdrop + spinbutton:not(:backdrop):not(.vertical), .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + entry:not(:backdrop), .linked:not(.vertical) > entry:checked:not(:backdrop) + entry:not(:backdrop), .inline-toolbar .linked:not(.vertical) > button:checked:not(:backdrop) + entry:not(:backdrop), .inline-toolbar .linked:not(.vertical) > button:checked:not(:backdrop):backdrop + entry:not(:backdrop), .linked:not(.vertical) > button:checked:not(:backdrop) + entry:not(:backdrop),
.linked:not(.vertical) > button:checked:not(:backdrop):hover + entry:not(:backdrop),
.linked:not(.vertical) > button:checked:not(:backdrop):active + entry:not(:backdrop),
.linked:not(.vertical) > button:checked:not(:backdrop):backdrop + entry:not(:backdrop), .inline-toolbar .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + button:not(:backdrop), .inline-toolbar .linked:not(.vertical) > entry:checked:not(:backdrop) + button:not(:backdrop), .inline-toolbar button:checked:not(:backdrop) + button:not(:backdrop), .inline-toolbar button:checked:not(:backdrop):backdrop + button:not(:backdrop), .inline-toolbar .linked > button:checked:not(:backdrop) + button:not(:backdrop), .inline-toolbar
.linked > button:checked:not(:backdrop):hover + button:not(:backdrop), .inline-toolbar
.linked > button:checked:not(:backdrop):active + button:not(:backdrop), .inline-toolbar
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop), .inline-toolbar .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + button:not(:backdrop):backdrop, .inline-toolbar .linked:not(.vertical) > entry:checked:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar button:checked:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar button:checked:not(:backdrop):backdrop + button:not(:backdrop):backdrop, .inline-toolbar .linked > button:checked:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:checked:not(:backdrop):hover + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:checked:not(:backdrop):active + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):backdrop, .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + button:not(:backdrop), .linked:not(.vertical) > entry:checked:not(:backdrop) + button:not(:backdrop), .inline-toolbar .linked > button:checked:not(:backdrop) + button:not(:backdrop), .inline-toolbar .linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop), .linked > button:checked:not(:backdrop) + button:not(:backdrop),
.linked > button:checked:not(:backdrop):hover + button:not(:backdrop),
.linked > button:checked:not(:backdrop):active + button:not(:backdrop),
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop), .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + button:not(:backdrop):hover, .linked:not(.vertical) > entry:checked:not(:backdrop) + button:not(:backdrop):hover, .inline-toolbar
.linked > button:checked:not(:backdrop) + button:not(:backdrop):hover, .inline-toolbar
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):hover, .linked > button:checked:not(:backdrop) + button:not(:backdrop):hover,
.linked > button:checked:not(:backdrop):hover + button:not(:backdrop):hover,
.linked > button:checked:not(:backdrop):active + button:not(:backdrop):hover,
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):hover, .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + button:not(:backdrop):active, .linked:not(.vertical) > entry:checked:not(:backdrop) + button:not(:backdrop):active, .inline-toolbar
.linked > button:checked:not(:backdrop) + button:not(:backdrop):active, .inline-toolbar
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):active, .linked > button:checked:not(:backdrop) + button:not(:backdrop):active,
.linked > button:checked:not(:backdrop):hover + button:not(:backdrop):active,
.linked > button:checked:not(:backdrop):active + button:not(:backdrop):active,
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):active, .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + button:not(:backdrop):checked, .linked:not(.vertical) > entry:checked:not(:backdrop) + button:not(:backdrop):checked, .inline-toolbar
.linked > button:checked:not(:backdrop) + button:not(:backdrop):checked, .inline-toolbar
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):checked, .linked > button:checked:not(:backdrop) + button:not(:backdrop):checked,
.linked > button:checked:not(:backdrop):hover + button:not(:backdrop):checked,
.linked > button:checked:not(:backdrop):active + button:not(:backdrop):checked,
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):checked, .linked:not(.vertical) > spinbutton:checked:not(:backdrop):not(.vertical) + button:not(:backdrop):backdrop, .linked:not(.vertical) > entry:checked:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:checked:not(:backdrop) + button:not(:backdrop):backdrop, .inline-toolbar
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):backdrop, .linked > button:checked:not(:backdrop) + button:not(:backdrop):backdrop,
.linked > button:checked:not(:backdrop):hover + button:not(:backdrop):backdrop,
.linked > button:checked:not(:backdrop):active + button:not(:backdrop):backdrop,
.linked > button:checked:not(:backdrop):backdrop + button:not(:backdrop):backdrop {
  border-left-color: shade(@borders, 1.1); }

.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,
toolbar.inline-toolbar toolbutton:backdrop: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: 5px;
  border-bottom-left-radius: 5px; }

.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,
toolbar.inline-toolbar toolbutton:backdrop: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: 5px;
  border-bottom-right-radius: 5px;
  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,
toolbar.inline-toolbar toolbutton:backdrop:only-child > button.flat, .linked:not(.vertical) > combobox:only-child > box > button.combo {
  border-radius: 5px;
  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 > button:backdrop, .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: 5px;
  border-top-right-radius: 5px; }

.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: 5px;
  border-bottom-right-radius: 5px;
  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: 5px;
  border-style: solid; }

/*
modelbutton.flat,
.menuitem.button.flat, modelbutton.flat:backdrop, modelbutton.flat:backdrop:hover,
.menuitem.button.flat:backdrop,
.menuitem.button.flat:backdrop:hover, 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, .scale-popup button:backdrop:hover, .scale-popup button:backdrop:disabled, .scale-popup button:backdrop {
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  box-shadow: inset 0 1px alpha(white, 0), 0 1px alpha(white, 0);
  text-shadow: none;
  -gtk-icon-shadow: none; }*/

/* menu buttons */
modelbutton.flat,
.menuitem.button.flat {
  min-height: 26px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 5px;
  outline-offset: -2px; }
  modelbutton.flat:hover,
  .menuitem.button.flat:hover {
    background-color: @text_widget_bg; }

modelbutton.flat arrow {
  background: none; }
  modelbutton.flat arrow:hover {
    background: none; }
  modelbutton.flat arrow.left {
    -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
  modelbutton.flat arrow.right {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }

button.color {
  padding: 4px; }
  button.color colorswatch:only-child {
    box-shadow: 0 1px alpha(@highlight_color, 0.769231); }
    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:backdrop 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:backdrop 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(@selected_bg, @window_fg, 0.6); }
button:link > label:visited,
button:visited > label:visited,
*:link:visited,
button:visited {
  color: @selected_bg; }
*:selected button:link > label:visited, *:selected
button:visited > label:visited,
*:selected
*:link:visited,
*:selected button:visited:link,
*:selected
button:visited {
  color: shade(@selected_bg, 1.05); }
button:link > label:hover,
button:visited > label:hover,
*:link:hover,
button:hover:link,
button:hover:visited {
  color: shade(@selected_bg, 1.1); }
*:selected button:link > label:hover, *:selected
button:visited > label:hover,
*:selected
*:link:hover,
*:selected button:hover:link,
*:selected
button:hover:visited {
  color: shade(@selected_bg, 1.15); }
button:link > label:active,
button:visited > label:active,
*:link:active,
button:active:link,
button:active:visited {
  color: shade(@selected_bg, 1.05); }
*:selected button:link > label:active, *:selected
button:visited > label:active,
*:selected
*:link:active,
*:selected button:active:link,
*:selected
button:active:visited {
  color: shade(@selected_bg, 1.15); }
/*button:link > label:backdrop:backdrop:hover,
button:visited > label:backdrop:backdrop:hover, button:link > label:backdrop:backdrop:hover:selected,
button:visited > label:backdrop:backdrop:hover:selected, button:link > label:backdrop,
button:visited > label:backdrop,
*:link:backdrop:backdrop:hover,
button:backdrop:backdrop:hover:link,
button:backdrop:backdrop:hover:visited,
*:link:backdrop:backdrop:hover:selected,
button:backdrop:backdrop:hover:selected:link,
button:backdrop:backdrop:hover:selected:visited,
.selection-mode.titlebar:not(headerbar) .subtitle:backdrop:backdrop:hover:link,
headerbar.selection-mode .subtitle:backdrop:backdrop:hover:link,
*:link:backdrop,
button:backdrop:link,
button:backdrop:visited {
  color: @selected_bg; }*/
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: shade(@selected_bg, 1.2); }

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; }

/*****************
 * GtkSpinButton *
 *****************/
spinbutton:not(.vertical) {
  padding: 0; }
  spinbutton:not(.vertical) entry {
    min-width: 28px;
    margin: 0;
    background: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none; }
    /*spinbutton:not(.vertical) entry:backdrop:disabled {
      background-color: transparent; }*/

spinbutton button {
    border-radius:5em;
    padding: 0.1em;
    min-height:0;
    min-width:0;
}
  /*spinbutton:not(.vertical) button {
    min-height: 16px;
    margin: 0;
    padding-bottom: 0;
    padding-top: 0;
    color: @text_widget_fg;
    background-image: none;
    border-style: none none none solid;
    border-color: alpha(@borders, 0.3);
    border-radius: 0;
    box-shadow: none; }
    spinbutton:not(.vertical) button:dir(rtl) {
      border-style: none solid none none; }
    spinbutton:not(.vertical) button:hover {
      color: @window_fg;
      background-color: alpha(@window_fg, 0.05); }
    spinbutton:not(.vertical) button:disabled {
      color: @disabled_fg;
      background-color: transparent; }
    spinbutton:not(.vertical) button:active {
      background-color: alpha(@window_fg, 0.1);
      }*/
    /*spinbutton:not(.vertical) button:backdrop {
      color: shade(@disabled_fg, 1.25);
      background-color: transparent;
      border-color: alpha(@disabled_fg, 0.5);
      transition: 80ms ease-out; }*/
    /*spinbutton:not(.vertical) button:backdrop:disabled {
      color: alpha(@disabled_fg, 0.3);
      background-color: transparent;
      border-style: none none none solid; }
      spinbutton:not(.vertical) button:backdrop:disabled:dir(rtl) {
        border-style: none solid none none; }*/
   /* spinbutton:not(.vertical) button:dir(ltr):last-child {
      border-radius: 0 5px 5px 0; }
    spinbutton:not(.vertical) button:dir(rtl):first-child {
      border-radius: 5px 0 0 5px; }*/

/*.osd spinbutton:not(.vertical) button {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 1px alpha(white, 0);
  text-shadow: none;
  -gtk-icon-shadow: none;
  color: @window_fg;
  border-style: none none none solid;
  border-color: alpha(black, 0.4);
  border-radius: 0;
  box-shadow: none;
  -gtk-icon-shadow: 0 1px black; }
  .osd spinbutton:not(.vertical) button:dir(rtl) {
    border-style: none solid none none; }
  .osd spinbutton:not(.vertical) button:hover {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px alpha(white, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @window_fg;
    border-color: alpha(black, 0.5);
    background-color: @button_bg;
    -gtk-icon-shadow: 0 1px black;
    box-shadow: none; }*/
 /* .osd spinbutton:not(.vertical) button:backdrop {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px alpha(white, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @window_fg;
    border-color: alpha(black, 0.5);
    -gtk-icon-shadow: none;
    box-shadow: none; }*/
 /* .osd spinbutton:not(.vertical) button:disabled {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 1px alpha(white, 0);
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @disabled_fg;
    border-color: alpha(black, 0.5);
    -gtk-icon-shadow: none;
    box-shadow: none; }
  .osd spinbutton:not(.vertical) button:dir(ltr):last-child {
    border-radius: 0 5px 5px 0; }
  .osd spinbutton:not(.vertical) button:dir(rtl):first-child {
    border-radius: 5px 0 0 5px; }

spinbutton.vertical:disabled {
  color: @disabled_fg; }*/

/*spinbutton.vertical:backdrop:disabled {
  color: @disabled_fg; }*/

spinbutton.vertical:drop(active) {
  border-color: transparent;
  box-shadow: none; }

spinbutton.vertical entry {
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  /*border-radius: 0;*/ }
  
spinbutton:not(.vertical) text {
margin: 0 4px;
min-width: 2em;
}

/*spinbutton.vertical button {
  min-height: 32px;
  min-width: 32px;
  padding: 0; }

spinbutton.vertical button.up {
  border-radius: 5px 5px 0 0;
  border-style: solid solid none solid; }

spinbutton.vertical button.down {
  border-radius: 0 0 5px 5px;
  border-style: none solid solid solid; }

.osd spinbutton.vertical button:first-child {
  color: @window_fg;
  border-color: alpha(black, 0.7);
  background-color: transparent;
  background-image: image(alpha(@window_bg, 0.7));
  background-clip: padding-box;
  box-shadow: inset 0 1px alpha(white, 0.1);

  outline-color: alpha(@window_fg, 0.2); }
  .osd spinbutton.vertical button:first-child:hover {
    color: white;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(shade(@window_bg,1.2), 0.7));
    background-clip: padding-box;
    box-shadow: inset 0 1px alpha(white, 0.1);

    outline-color: alpha(@window_fg, 0.2); }
  .osd spinbutton.vertical button:first-child:active {
    color: white;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(black, 0.7));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none;
    outline-color: alpha(@window_fg, 0.2); }
  .osd spinbutton.vertical button:first-child:disabled {
    color: #858786;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(@window_bg, 0.5));
    background-clip: padding-box;
    box-shadow: none;
    text-shadow: none;
    -gtk-icon-shadow: none; }*/
  /*.osd spinbutton.vertical button:first-child:backdrop {
    color: #eeeeec;
    border-color: alpha(black, 0.7);
    background-color: transparent;
    background-image: image(alpha(@window_bg, 0.7));
    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 arrow {
  -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
  min-height: 16px;
  min-width: 16px; }

combobox:drop(active) {
  box-shadow: none; }


/************
 * Toolbars *
 ************/
toolbar, .toolbar, .inline-toolbar, searchbar,
.location-bar {
  /*-GtkWidget-window-dragging: true;*/
  padding: 4px;
  background-color: @window_bg; }

toolbar, .toolbar {
  padding: 4px 3px 3px 4px; }
  .osd toolbar {
    background-color: transparent; }
  toolbar.osd, .toolbar osd {
    padding: 13px;
    border: none;
    border-radius: 5px;
    background-color: rgba(28, 31, 32, 0.7); }
    toolbar.osd.left, toolbar.osd.right, toolbar.osd.top, toolbar.osd.bottom {
      border-radius: 0; }
  toolbar.horizontal separator, .toolbar.horizontal separator {
    margin: 0 7px 1px 6px; }
  toolbar.vertical separator, .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,
  .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; }

.inline-toolbar {
  padding: 3px;
  border-width: 0 1px 1px;
  border-radius: 0 0 5px 5px; }

searchbar,
.location-bar {
  border-width: 0 0 1px;
  padding: 3px; }

.inline-toolbar, searchbar,
.location-bar {
  border-style: solid;
  border-color: @borders;
  background-color: shade(@window_bg, 1.05); }
  /*.inline-toolbar:backdrop, searchbar:backdrop,
  .location-bar:backdrop {
    border-color: @unfocused_borders;
    background-color: @window_bg;
    box-shadow: none;
    transition: 80ms ease-out; }*/



/************
 * 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 *
 **************/
columnview.view,
treeview.view {
  border-left-color: @borders;
  border-top-color: @window_bg;
   }

  /** {
    -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; }*/

  columnview.view:selected:focus, columnview.view:selected,
  treeview.view:selected:focus, treeview.view:selected {
    border-radius: 0; }
  columnview.view:selected:backdrop, columnview.view:selected,
  treeview.view:selected:backdrop, treeview.view:selected {
    border-left-color: shade(@selected_bg, 1.4);
    border-top-color: alpha(@window_fg, 0.25); }
  columnview.view:disabled, treeview.view:disabled {
    color: @disabled_fg; }
    columnview.view:disabled:selected,
    treeview.view:disabled:selected {
      color: alpha(@selected_fg, 0.25); }
      /*treeview.view:disabled:selected:backdrop {
        color: alpha(@selected_fg, 0.5); }*/
    /*treeview.view:disabled:backdrop {
      color: @disabled_fg; }*/
  columnview.view.separator
  treeview.view.separator {
    min-height: 2px;
    color: @window_bg; }
   /* treeview.view.separator:backdrop {
      color: alpha(@window_bg, 0.1); }*/
  /*treeview.view:backdrop {
    border-left-color: shade(@window_bg, 1.1);
    border-top: @window_bg; }*/
  columnview.view:drop(active),
  treeview.view:drop(active) {
    border-style: solid none;
    border-width: 1px;
    border-color: shade(@selected_bg, 0.5); }
    columnview.view:drop(active).after,
    treeview.view:drop(active).after {
      border-top-style: none; }
    columnview.view:drop(active).before,
    treeview.view:drop(active).before {
      border-bottom-style: none; }
  columnview.view.expander,
  treeview.view.expander {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
    color: shade(@window_fg, 1.3);
    min-width: 1em;
    min-height: 1em; }
    columnview.view.expander:dir(rtl),
    treeview.view.expander:dir(rtl) {
      -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
    treeview.view.expander:hover,
    columnview.view.expander:hover {
      color: @window_fg; }
    columnview.view.expander:selected,
    treeview.view.expander:selected {
      color: shade(@selected_bg, 1.3); }
      columnview.view.expander:selected:hover,
      treeview.view.expander:selected:hover {
        color: shade(@selected_bg, 1.5); }
/*      treeview.view.expander:selected:backdrop {
        color: shade(@selected_bg, 1.3); }*/
    columnview.view.expander:checked,
    treeview.view.expander:checked {
      -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
    /*treeview.view.expander:backdrop {
      color: shade(@window_fg, 1.3); }*/
  
  /*treeview.view.progressbar {
    color: @text_widget_bg;
    border: 1px solid shade(@selected_bg, 1.5);
    border-radius: 4px;
    background-color: @selected_bg;
    background-image: linear-gradient(to bottom, @selected_bg, shade(@selected_bg, 1.1));
    box-shadow: inset 0 1px alpha(white, 0.3), 0 1px alpha(black, 0.2); }
    treeview.view.progressbar:selected:focus, treeview.view.progressbar:selected {
      border-radius: 4px;
      color: @selected_fg;
      box-shadow: none;
      background-image: linear-gradient(to bottom, @text_widget_bg, @window_bg); }*/
      /*treeview.view.progressbar:selected:focus:backdrop, treeview.view.progressbar:selected:backdrop {
        color: @selected_bg;
        border-color: shade(@selected_bg, 1.5);
        background-color: @text_widget_bg; }*/
    /*treeview.view.progressbar:backdrop {
      color: @text_widget_bg;
      background-image: none;
      box-shadow: none; }*/
  /*treeview.view.trough {
    background-color: rgba(82, 87, 98, 0.1);
    border-radius: 4px; }
    treeview.view.trough:selected:focus, treeview.view.trough:selected {
      background-color: alpha(white, 0.3);
      border-radius: 4px;
      border-width: 1px 0;
      border-style: solid;
      border-color: @selected_bg; }*/
  columnview.view header button,
  treeview.view header button {
    /*color: @window_fg; */ /*shade(@window_fg, 1.5);*/
    /*background-color: @button_bg;*/ /*@text_widget_bg;*/
    font-weight: bold;
    text-shadow: none;
    /*box-shadow: none;*/ }
    columnview.view header button:hover,
    treeview.view header button:hover {
      /*color: shade(@window_fg, 1.1);*/
      /*box-shadow: none;*/
      transition: none; }
    columnview.view header button:active,
    treeview.view header button:active {
      /*color: @shade(@window_fg, 1.2);
      background-color: shade(@button_bg, 1.2);*/
      transition: none; }
  
  
columnview.view button.dnd:active, columnview.view button.dnd:selected, columnview.view button.dnd:hover, columnview.view button.dnd,
  columnview.view header.button.dnd:active,
  columnview.view header.button.dnd:selected,
  columnview.view header.button.dnd:hover,
  columnview.view header.button.dnd  
  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;
    background-image: none;
    background-color: @selected_bg;
    border-style: none;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px @text_widget_bg;
    text-shadow: none;
    transition: none; }
  columnview.view acceleditor > label,
  treeview.view acceleditor > label {
    background-color: @selected_bg; }

columnview.view header button,
treeview.view header button /* , treeview.view header button:hover, treeview.view header button:active */
        {
  padding: 0 6px;
  /*background-image: none;*/
  border-style: none solid solid none;
  border-color: @window_bg;
  border-radius: 0;
  text-shadow: none;
  /*box-shadow: inset -1px 0 0 0 @borders;*/ }
  treeview.view header button:disabled {
    border-color: @window_bg;
    background-color: @disabled_bg; }
  /*treeview.view header button:backdrop {
    color: shade(@window_fg, 1.1);
    border-color: @window_bg;
    border-style: none solid solid none;
    background-image: none;
    background-color: @text_widget_bg; }
    treeview.view header button:backdrop:disabled {
      border-color: @window_bg;
      background-image: none; }*/
columnview.view header button:last-child,
treeview.view header button:last-child {
    border-right-style: none; }

/*********
 * Menus *
 *********/
menubar,
.menubar {
  /*-GtkWidget-window-dragging: true;*/
  padding: 0px;
  /*box-shadow: inset 0 -1px alpha(black, 0.1);*/ }
  menubar:backdrop,
  .menubar:backdrop {
    background-color: @window_bg; }
  menubar > menuitem,
  .menubar > menuitem, menubar > item {
    min-height: 16px;
    padding: 4px 8px; }
    menubar > menuitem:hover,
    .menubar > menuitem:hover, menubar > item:hover {
      /*box-shadow: inset 0 -3px @selected_bg;*/
      background-color: @selected_bg;
      color: @selected_fg;
    /*text-shadow: 0px 1px alpha(black, 0.6); */}
    menubar > menuitem:disabled,
    .menubar > menuitem:disabled, menubar > item:disabled {
      color: @disabled_fg;
      box-shadow: none; }

menu,
.menu,
.context-menu {
  margin: 4px;
  padding: 2px 0px;
  background-color: @text_widget_bg;
  border: 1px solid @borders; }
  .csd menu, .csd
  .menu, .csd
  .context-menu {
    border: none; }
  /*menu:backdrop,
  .menu:backdrop,
  .context-menu:backdrop {
    background-color: @text_widget_bg; }*/
  menu menuitem,
  .menu menuitem,
  .context-menu menuitem {
    min-height: 16px;
    min-width: 40px;
    padding: 4px 6px;
    text-shadow: none; }
    menu menuitem:hover,
    .menu menuitem:hover,
    .context-menu menuitem:hover {
      color: @selected_fg;
      background-color: @selected_bg; }
    menu menuitem:disabled,
    .menu menuitem:disabled,
    .context-menu menuitem:disabled {
      color: @disabled_fg; }
      menu menuitem:disabled:backdrop,
      .menu menuitem:disabled:backdrop,
      .context-menu menuitem:disabled:backdrop {
        color: @disabled_fg; }
    menu menuitem:backdrop, menu menuitem:backdrop:hover,
    .menu menuitem:backdrop,
    .menu menuitem:backdrop:hover,
    .context-menu menuitem:backdrop,
    .context-menu menuitem:backdrop:hover {
      color: @disabled_fg;
      background-color: transparent; }
    menu menuitem arrow,
    .menu menuitem arrow,
    .context-menu menuitem arrow {
      min-height: 16px;
      min-width: 16px; }
      menu menuitem arrow:dir(ltr),
      .menu menuitem arrow:dir(ltr),
      .context-menu menuitem arrow:dir(ltr) {
        -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
        margin-left: 10px; }
      menu menuitem arrow:dir(rtl),
      .menu menuitem arrow:dir(rtl),
      .context-menu menuitem arrow:dir(rtl) {
        -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
        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 {
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    /*box-shadow: inset 0 1px alpha(white, 0);*/
    text-shadow: none;
    -gtk-icon-shadow: none;
    min-height: 16px;
    min-width: 16px;
    padding: 4px;
    background-color: @text_widget_bg;
    border-radius: 0; }
    menu > arrow.top,
    .menu > arrow.top,
    .context-menu > arrow.top {
      margin-top: -6px;
      border-bottom: 1px solid rgba(235, 235, 237, 0.9991);
      -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
    menu > arrow.bottom,
    .menu > arrow.bottom,
    .context-menu > arrow.bottom {
      margin-bottom: -6px;
      border-top: 1px solid rgba(235, 235, 237, 0.9991);
      -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
    menu > arrow:hover,
    .menu > arrow:hover,
    .context-menu > arrow:hover {
      background-color: shade(@text_widget_bg, 1.1); }
    menu > arrow:backdrop,
    .menu > arrow:backdrop,
    .context-menu > arrow:backdrop {
      background-color: @text_widget_bg; }
    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;
  /*border: 1px solid mix(@window_fg, @window_bg, 0.5);*/
  background-color: @window_bg;
  box-shadow: 0 0 4px alpha(black, 0.2), 0 0 2px alpha(black, 0.2); }
  .csd popover.background, popover.background {
    border: 1px solid mix(@window_fg, @window_bg, 0.5); }
  popover.background:backdrop {
    background-color: @window_bg;
    box-shadow: none; }
 /* 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-width: 2px; }
  popover.background separator {
    margin: 3px; }
  popover.background list separator {
    margin: 0px; }


/*************
 * Notebooks *
 *************/

/* defined as a trough in GtkScale */

notebook {
        background-color: @borders;
}

notebook > header {
  padding: 0px;
  border-color: @borders;
  border-width: 0px;
  background-color: mix(@window_bg, @text_widget_bg, 0.5); }
  /*notebook > header:backdrop {
    border-color: @unfocused_borders;
    background-color: @window_bg; }*/
  /*notebook > header tabs {
    margin: 0px; }
  notebook > header.top {
    border-bottom-style: solid; }
    notebook > header.top > tabs {
      margin-bottom: -1px; }
      notebook > header.top > tabs > tab:hover {
        box-shadow: inset 0 -3px alpha(@selected_bg, 0.5); }
      notebook > header.top > tabs > tab:backdrop {
        box-shadow: none; }
      notebook > header.top > tabs > tab:checked {
        box-shadow: inset 0 -3px @selected_bg; }
  notebook > header.bottom {
    border-top-style: solid; }
    notebook > header.bottom > tabs {
      margin-top: -1px; }
      notebook > header.bottom > tabs > tab:hover {
        box-shadow: inset 0 3px alpha(@selected_bg, 0.5); }
      notebook > header.bottom > tabs > tab:backdrop {
        box-shadow: none; }
      notebook > header.bottom > tabs > tab:checked {
        box-shadow: inset 0 3px @selected_bg; }
  notebook > header.left {
    border-right-style: solid; }
    notebook > header.left > tabs {
      margin-right: -1px; }
      notebook > header.left > tabs > tab:hover {
        box-shadow: inset -3px 0 alpha(@selected_bg, 0.5); }
      notebook > header.left > tabs > tab:backdrop {
        box-shadow: none; }
      notebook > header.left > tabs > tab:checked {
        box-shadow: inset -3px 0 @selected_bg; }
  notebook > header.right {
    border-left-style: solid; }
    notebook > header.right > tabs {
      margin-left: -1px; }
      notebook > header.right > tabs > tab:hover {
        box-shadow: inset 3px 0 alpha(@selected_bg, 0.5); }
      notebook > header.right > tabs > tab:backdrop {
        box-shadow: none; }
      notebook > header.right > tabs > tab:checked {
        box-shadow: inset 3px 0 @selected_bg; }*/


        
  notebook > header.top > tabs > arrow {
    border-top-style: none; }
  notebook > header.bottom > tabs > arrow {
    border-bottom-style: none; }
  notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow {
    margin-left: -5px;
    margin-right: -5px;
    padding-left: 4px;
    padding-right: 4px; }
    notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down {
      -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
    notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up {
      -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
  notebook > header.left > tabs > arrow {
    border-left-style: none; }
  notebook > header.right > tabs > arrow {
    border-right-style: none; }
  notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow {
    margin-top: -5px;
    margin-bottom: -5px;
    padding-top: 4px;
    padding-bottom: 4px; }
    notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down {
      -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
    notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up {
      -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
  notebook > header > tabs > arrow {
    min-height: 16px;
    min-width: 16px;
    border-radius: 0; }
    notebook > header > tabs > arrow:hover:not(:active):not(:backdrop) {
      background-clip: padding-box;
      background-image: none;
      background-color: alpha(@selected_bg, 0.3);
      border-color: transparent;
      box-shadow: none; }
    notebook > header > tabs > arrow:disabled {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px alpha(white, 0);
      text-shadow: none;
      -gtk-icon-shadow: none; }
      

    
      
      
notebook > header tab {
    min-height: 30px;
    min-width: 30px;
    padding: 0 1em;
    margin: 3px 4px;
    outline-offset: -8px;
    /*color: alpha(@window_fg, 0.5);*/
    /*font-weight: bold;*/
    border-width: 0px;
    border-color: transparent;
    border-radius: 0.3em;}

notebook > header tab:hover {
    background-color: alpha(@selected_bg ,0.5);
}

notebook > header tab:checked {
    background-color: @text_widget_bg;/*@selected_bg; */
    color: @text_widget_fg; /*@selected_fg;*/
    /*font-weight: bold;*/
    /*border-color: black;*/
    /*box-shadow: 0 2px 2px -1px black,
        inset 0 1px 1px 0 alpha(white, 0.5),
        inset 0 -1px 1px 0 alpha(black, 0.5);*/  }

notebook > header.top tab:checked {
margin-bottom: -1px;
padding-bottom: .3em;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
box-shadow: /*0 2px 2px -1px black,*/
        inset 0 1px 1px 0 alpha(white, 0.5);
        /*inset 0 -1px 1px 0 alpha(black, 0.5);*/
}

notebook > header.bottom tab:checked {
margin-top: -1px;
padding-top: .3em;
border-top-right-radius: 0px;
border-top-left-radius: 0px;
box-shadow: 0 2px 2px -1px black,
        /*inset 0 1px 1px 0 alpha(white, 0.5);*/
        inset 0 -1px 0px 0 alpha(black, 0.5);
}

notebook > header.right tab:checked {
margin-left: -1px;
padding-left: 1.3em;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
box-shadow: 1px 3px 2px -2px black,
        inset 0 1px 1px 0 alpha(white, 0.5);
        /*inset 0 -1px 1px 0 alpha(black, 0.5);*/
}

notebook > header.left tab:checked {
margin-right: -1px;
padding-right: 1.3em;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
box-shadow: -1px 3px 2px -2px black,
        inset 0 1px 1px 0 alpha(white, 0.5);
        /*inset 0 -1px 1px 0 alpha(black, 0.5);*/
}
     

      /*notebook > header tab:hover.reorderable-page {
        border-color: alpha(@borders, 0.3);
        background-color: alpha(@window_bg, 0.2); }*/
    /*notebook > header tab:backdrop {
      color: @window_bg; }
      notebook > header tab:backdrop.reorderable-page {
        border-color: transparent;
        background-color: transparent; }*/

      /*notebook > header tab:checked.reorderable-page {
        border-color: alpha(@borders, 0.5);
        background-color: alpha(@window_bg, 0.5); }*/
        notebook > header tab:checked.reorderable-page:hover {
          background-color: shade(@text_widget_bg, 1.1); }
    /*notebook > header tab:backdrop:checked {
      color: @wm_unfocused_title; }*/
      /*notebook > header tab:backdrop:checked.reorderable-page {
        border-color: @unfocused_borders;
        background-color: @window_bg; }*/
    notebook > header tab button.flat {
      padding: 0;
      margin-top: 4px;
      margin-bottom: 4px;
      min-width: 20px;
      min-height: 20px; }
      notebook > header tab button.flat:hover {
        color: currentColor; }
      notebook > header tab button.flat, notebook > header tab button.flat:backdrop {
        color: alpha(currentColor,0.3); }
      notebook > header tab button.flat:last-child {
        margin-left: 4px;
        margin-right: -4px; }
      notebook > header tab button.flat:first-child {
        margin-left: -4px;
        margin-right: 4px; }
 /* notebook > header.top tabs, notebook > header.bottom tabs {
    padding-left: 0px;
    padding-right: 0px; }
    notebook > header.top tabs:not(:only-child), notebook > header.bottom tabs:not(:only-child) {
      margin-left: 0px;
      margin-right: 0px; }
      notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child {
        margin-left: 0px; }
      notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child {
        margin-right: 0px; }
    notebook > header.top tabs tab, notebook > header.bottom tabs tab {
      margin-left: 0px;
      margin-right: 0px; }
      notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page {
        border-style: none solid; }
  notebook > header.left tabs, notebook > header.right tabs {
    padding-top: 0px;
    padding-bottom: 0px; }
    notebook > header.left tabs:not(:only-child), notebook > header.right tabs:not(:only-child) {
      margin-top: 0px;
      margin-bottom: 0px; }
      notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child {
        margin-top: 0px; }
      notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child {
        margin-bottom: 0px; }
    notebook > header.left tabs tab, notebook > header.right tabs tab {
      margin-top: 0px;
      margin-bottom: 0px; }
      notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
        border-style: solid none; }
  notebook > header.top tab {
    padding-bottom: 4px; }
  notebook > header.bottom tab {
    padding-top: 4px; }*/

notebook > stack:not(:only-child) {
  background-color: @text_widget_bg; }
  /*notebook > stack:not(:only-child):backdrop {
    background-color: @text_widget_bg; }*/


/**************
 * Scrollbars *
 **************/
scrollbar {
  background-color: shade(@text_widget_bg, 1);
  transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
/*border: 1px solid @borders;*/
   box-shadow: 
	inset 0px 2px 1px 0 alpha(@highlight_color, 0.5),
	inset 0px 2px 2px 1px alpha(black, 0.85),
        0px 1px 0px 0px alpha(@highlight_color, 1);
 }
 scrollbar trough {
 /*border: 1px solid @window_bg;*/
 /*box-shadow: inset 0 2px 4px 2px alpha(black, 0.3), inset 0px -2px 4px 2px alpha(@highlight_color, 0.2);*/

 padding: 0px;
 min-width: 1em;
 min-height: 1em;
 }

 /*scrollbar.top {
    border-bottom: 1px solid @borders; }
  scrollbar.bottom {
    border-top: 1px solid @borders; }
  scrollbar.left {
    border-right: 1px solid @borders; }
  scrollbar.right {
    border-left: 1px solid @borders; }*/
  /*scrollbar:backdrop {
    background-color: alpha(@window_fg, 0.25);
    border-color: @unfocused_borders;
    transition: 80ms ease-out; }*/
  scrollbar slider {
    min-width: 1em;
    min-height: 1em;
    margin: 0px;
    border: 1px solid alpha(black, 0.4);
    border-radius: 0.5em;
    background-color: @button_bg;
    background-image: linear-gradient(to top, alpha(shade(@button_bg, 0.9), 0.6), alpha(shade(@button_bg, 1.1), 0.6));
  box-shadow: inset 0px 1px 1px 1px alpha(@highlight_color, 0.6),
                inset 0 -1px 1px 1px alpha(black, 0.6);
      
}

/*scrollbar.vertical slider {
background-image:linear-gradient(to bottom, transparent, transparent 45%, red 48%, blue 51%, red 53%, transparent 55%);
}*/
    scrollbar slider:hover {
      background-color: shade(@button_bg, 1.1); }
    scrollbar slider:hover:active {
      background-color: shade(@selected_bg, 1); }
    /*scrollbar slider:backdrop {
      background-color: alpha(@window_fg, 0.35); }*/
    scrollbar slider:disabled {
      background-color: @window_bg; }
  scrollbar.fine-tune slider:active {
    background-color: shade(@selected_bg, 1.3);}
  /*scrollbar.fine-tune.horizontal slider {
    border-width: 5px 4px; }
  scrollbar.fine-tune.vertical slider {
    border-width: 4px 5px; }*/
  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: @window_fg;
      border: 1px solid white; }
    scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
      min-width: 5px;
      min-height: 5px;
      background-color: @window_fg;
      background-clip: padding-box;
      border-radius: 100%;
      border: 1px solid white;
      -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 alpha(white, 0);*/
    text-shadow: none;
    -gtk-icon-shadow: none;
    color: @window_fg; }
    /*scrollbar button:hover {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px alpha(white, 0);
      text-shadow: none;
      -gtk-icon-shadow: none;
      color: alpha(@window_fg, 0.7); }
    scrollbar button:active, scrollbar button:checked {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px alpha(white, 0);
      text-shadow: none;
      -gtk-icon-shadow: none;
      color: @selected_bg; }
    scrollbar button:disabled {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px alpha(white, 0);
      text-shadow: none;
      -gtk-icon-shadow: none;
      color: alpha(@window_fg, 0.5); }*/
  /*  scrollbar button:backdrop {
      border-color: transparent;
      background-color: transparent;
      background-image: none;
      box-shadow: inset 0 1px alpha(white, 0);
      text-shadow: none;
      -gtk-icon-shadow: none;
      color: alpha(@window_fg, 0.35); }*/
      /*scrollbar button:backdrop:disabled {
        border-color: transparent;
        background-color: transparent;
        background-image: none;
        box-shadow: inset 0 1px alpha(white, 0);
        text-shadow: none;
        -gtk-icon-shadow: none;
        color: alpha(@window_fg, 0.2); }*/
  scrollbar.vertical button.down {
    -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
  scrollbar.vertical button.up {
    -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
  scrollbar.horizontal button.down {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
  scrollbar.horizontal button.up {
    -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }

treeview ~ scrollbar.vertical {
  border-top: 1px solid @borders;
  margin-top: -1px; }


/**********
 * Switch *
 **********/
switch {
  font-size: smaller;
  outline-offset: 2px;
  box-shadow: inset 0px 0px 0px 1px alpha(@borders, 0.75), inset 0 1px 3px 0 alpha(black, 0.5);
  border-radius: 4px;
  color: transparent;
  background-color: alpha(black, 0.3);
  margin: 3px; }
  switch:checked {
    background-image: linear-gradient(@selected_bg, shade(@selected_bg, 1.1));
    box-shadow: inset 0px 0px 0px 1px shade(@selected_bg, 0.8); }
  /*switch:disabled {
    background-color: alpha(black, 0.1);
    box-shadow: inset 0px 0px 0px 1px alpha(@borders, 0.75); }*/
/*  switch:backdrop {
    background-color: alpha(black, 0.1);
    box-shadow: inset 0px 0px 0px 1px alpha(@borders, 0.75);
    transition: 80ms ease-out; }
  switch:backdrop:checked {
    background-image: linear-gradient(shade(@selected_bg, 1.05), shade(@selected_bg, 1.15));
    box-shadow: inset 0px 0px 0px 1px shade(@selected_bg, 0.85); }
  switch:backdrop:disabled {
    background-color: alpha(black, 0.05);
    box-shadow: inset 0px 0px 0px 1px alpha(@borders, 0.75); }*/
  switch slider {
    margin: 1px;
    min-width: 20px;
    min-height: 20px;
    border: 0px;
    border-radius: 4px;
    transition: all 80ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-image: linear-gradient(shade(@button_bg, 1.1), @button_bg);
    box-shadow: 0 0 0 2px alpha(white, 0), 
            0 1px 2px alpha(black, 0.6), 
            inset 0 0 0 1px alpha(white, 0.4),
            0px 4px 2px -1px alpha(black, 0.6);  
    }
  switch:hover slider, switch:focus slider {
    box-shadow: 0 0 0 6px alpha(white, 0.4), 0 1px 2px alpha(black, 0.6), inset 0 0 0 1px alpha(white, 0.4); }
  switch:disabled slider {
    background-image: linear-gradient(shade(@disabled_bg, 1.1), @disabled_bg);
    box-shadow: 0 0 0 2px alpha(white, 0), 
            0 1px 2px alpha(black, 0.6), 
            inset 0 0px 0px 1px @disabled_fg,
            0px 4px 2px -1px alpha(black, 0.6);  
     }
  switch:focus slider {
    outline-color: @selected_bg;
    outline-offset: -16px;
    outline-style: solid;
    outline-width: 4px;
    /*-gtk-outline-radius: 100%;*/ }
  /*switch:backdrop slider {
    transition: 80ms ease-out;
    box-shadow: 0 1px 2px alpha(black, 0.4), inset 0 0 0 1px alpha(white, 0.3); }
  switch:backdrop:disabled slider {
    box-shadow: 0 1px 2px alpha(black, 0.2); }*/


/*************************
 * 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:backdrop:not(list), iconview.content-view.check:backdrop:not(list),
.content-view .tile check:backdrop:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-backdrop-selectionmode.png"), url("assets/checkbox-backdrop-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; }

/*.view.content-view.check:backdrop:checked:not(list), iconview.content-view.check:backdrop:checked:not(list),
.content-view .tile check:backdrop:checked:not(list) {
  -gtk-icon-shadow: none;
  -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-backdrop-selectionmode.png"), url("assets/checkbox-checked-backdrop-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; }

check,
radio {
  margin: 0 4px;
  background: @text_widget_bg;
  box-shadow: inset 0 3px 3px 0px alpha(black, 0.5);
  color: @text_widget_fg;
  min-height: 14px;
  min-width: 14px;
  padding: 1px;
  border: 1px solid @text_widget_fg;
  -gtk-icon-source: none; }
  check:only-child,
  radio:only-child {
    margin: 0; }
  popover check.left:dir(rtl), popover
  radio.left:dir(rtl) {
    margin-left: 0;
    margin-right: 12px; }
  popover check.right:dir(ltr), popover
  radio.right:dir(ltr) {
    margin-left: 12px;
    margin-right: 0; }
  check:indeterminate,
  radio:indeterminate {
    background: shade(mix(@warning_color_breeze,@selected_bg,0.5), 1.025);
    color: @selected_fg;
    /*box-shadow: none;*/ }
  check:hover,
  radio:hover {
    border-color: @selected_bg;
    
  }
  check:active, check:checked,
  radio:active,
  radio:checked {
    background: @selected_bg;
    color: @selected_fg;
    /*box-shadow: none;*/ }
  check:disabled,
  radio:disabled {
    background: alpha(@text_widget_bg, 0.7);
    box-shadow: none;
    color: @disabled_fg;
    border-color: @disabled_fg; }
  check:disabled:active, check:disabled:checked,
  radio:disabled:active,
  radio:disabled:checked {
    background: alpha(@selected_bg, 0.3);
    box-shadow: none;
    
    padding: 1px; }
  check:disabled:indeterminate,
  radio:disabled:indeterminate {
    background: alpha(mix(@warning_color_breeze,@selected_bg,0.5), 0.7);
    color: @disabled_fg;
    box-shadow: none; }
  /*check:backdrop,
  radio:backdrop {
    box-shadow: inset 0px 0px 0px 1px alpha(black, 0.2);
    transition: 80ms ease-out; }
    check:backdrop:disabled,
    radio:backdrop:disabled {
      box-shadow: inset 0px 0px 0px 1px alpha(black, 0.04); }*/
  row:selected check, row:selected
  radio {
    box-shadow: inset 0px 0px 0px 1px alpha(white, 0.2); }
  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: transparent;
      -gtk-icon-shadow: none;
      border-color: currentColor; }


check {
  border-radius: 5px; }

  check:checked, check:indeterminate: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, radio:indeterminate: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:not(:backdrop) {
  -gtk-icon-transform: scale(0); }

check:not(:indeterminate):not(:checked):active:not(:backdrop) {
  -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:not(:backdrop), radio:indeterminate:not(:backdrop),
check:checked:not(:backdrop),
check:indeterminate:not(:backdrop) {
  -gtk-icon-transform: unset;
  transition: 400ms; }

menu menuitem radio:checked:not(:backdrop), menu menuitem radio:indeterminate:not(:backdrop),
menu menuitem check:checked:not(:backdrop),
menu menuitem check:indeterminate:not(:backdrop) {
  transition: none; }

/*treeview.view check,
treeview.view radio {
  color: @text_widget_fg; }
  treeview.view check:selected:focus, treeview.view check:selected,
  treeview.view radio:selected:focus,
  treeview.view radio:selected {
    color: @text_widget_fg;
    box-shadow: inset 0px 0px 0px 1px alpha(white, 0.6); }
  treeview.view check:selected:disabled,
  treeview.view radio:selected:disabled {
    color: @text_widget_fg;
    box-shadow: inset 0px 0px 0px 1px alpha(white, 0.2); }*/




/************
 * GtkScale and some common progressbar parts*
 ************/

scale trough, scale fill, progressbar trough, scrollbar trough, switch {
  border-radius: 5px;
  background-color: @borders;
  padding: 1px; }
progressbar trough, scale trough, levelbar trough, scrollbar trough, switch, notebook > header {
  /*box-shadow: inset 0 1px 2px 1px alpha(black, 0.3), inset 0 -1px 2px 1px alpha(@highlight_color, 0.3);*/
    box-shadow: 
	inset 0px 2px 1px 0 alpha(@highlight_color, 0.5),
	inset 0px 2px 2px 1px alpha(black, 0.85),
        0px 1px 0px 0px alpha(@highlight_color, 1);
}
 /* scale trough:disabled, scale fill:disabled, progressbar trough:disabled {
    background-color: @window_bg; }*/
 /* scale trough:backdrop, scale fill:backdrop, progressbar trough:backdrop, progressbar:backdrop trough {
    background-color: shade(@window_bg, 1.1);
    transition: 80ms ease-out; }
    scale trough:backdrop:disabled, scale fill:backdrop:disabled, progressbar trough:backdrop:disabled, progressbar:backdrop trough:disabled {
      background-color: shade(@window_bg, 0.8); }*/
  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: shade(@selected_bg, 1.5); }
  .osd scale trough, scale .osd trough, .osd scale fill, scale .osd fill, .osd progressbar trough, /*progressbar .osd trough {
    background-color: alpha(black, 0.5); }
    .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: rgba(49, 52, 52, 0.5); }*/

scale highlight, progressbar progress {
  border-radius: 5px;
  background-color: @selected_bg;
  }

scale highlight, progressbar progress, levelbar block.filled {
  box-shadow: inset 0px 2px 1px alpha(@highlight_color, 0.5), inset 0px -2px 2px alpha(black, 0.5);
  }

  scale.horizontal highlight,
  scale.horizontal progressbar progress,
  progressbar scale.horizontal progress
  progressbar.horizontal progress,
  progressbar.horizontal progress.left,
  levelbar.continuous.horizontal block.filled {
    background: linear-gradient(to left, @secondary_selected_bg_color, shade(@selected_bg, 0.8)); }
  scale.horizontal highlight:dir(rtl),
  scale.horizontal progressbar progress:dir(rtl),
  progressbar scale.horizontal progress:dir(rtl),
  progressbar.horizontal progress:dir(rtl),
  progressbar.horizontal progress.right {
      background-image: linear-gradient(to right, @secondary_selected_bg_color, shade(@selected_bg, 0.8)); }

  scale.vertical highlight.top,
  scale.vertical progressbar progress.top,
  progressbar scale.vertical progress.top,
  progressbar.vertical progress.top,
  levelbar.continuous.vertical block.filled {
    background-image: linear-gradient(to top, @secondary_selected_bg_color, shade(@selected_bg, 0.8)); }

  scale.vertical highlight.bottom,
  scale.vertical progressbar progress.bottom,
  progressbar scale.vertical progress.bottom,
  progressbar.vertical progress.bottom /*,
  levelbar.continuous.vertical block.filled*/ {
    background-image: linear-gradient(to bottom, @secondary_selected_bg_color, shade(@selected_bg, 0.8)); }

 /* scale.horizontal highlight:disabled, scale.horizontal progressbar progress:disabled, progressbar scale.horizontal progress:disabled, scale.vertical highlight:disabled,
  scale.vertical progressbar progress:disabled, progressbar
  scale.vertical progress:disabled, scale highlight:disabled, progressbar progress:disabled {
    background-image: none;
    background-color: transparent; }
  scale highlight:backdrop, progressbar progress:backdrop, progressbar:backdrop progress {
    border-color: @selected_bg; }
    scale highlight:backdrop:disabled, progressbar progress:backdrop:disabled, progressbar:backdrop progress:disabled {
      background-color: transparent; }*/

scale {
  min-height: 10px;
  min-width: 10px;
  padding: 12px; }

.vertical trough, .vertical fill {
min-width: 8px;
}

.horizontal trough, .horizontal fill {
min-height: 8px;
}

/*progressbar.vertical trough, scale.vertical trough {
  background-image: linear-gradient(to right, alpha(black, 0), alpha(black, 0.6), alpha(black, 0));
}

progressbar.horizontal trough, scale.horizontal trough, levelbar.horizontal trough{
  background-image: linear-gradient(to bottom, alpha(black, 0.3), alpha(black, 0.6), alpha(black, 0), alpha(white, 0.4));
}*/

  scale fill,
  scale highlight {
    margin: 0px; }
  scale slider {
    min-height: 18px;
    min-width: 18px;
    margin: -8px; }
  scale.fine-tune.horizontal {
    padding-top: 9px;
    padding-bottom: 9px;
    min-height: 16px; }
  scale.fine-tune.vertical {
    padding-left: 9px;
    padding-right: 9px;
    min-width: 16px; }
  scale.fine-tune slider {
    margin: -4px; }
  scale.fine-tune fill,
  scale.fine-tune highlight,
  scale.fine-tune trough {
    border-radius: 5px;
    /*-gtk-outline-radius: 7px;*/ }
  scale trough {
    outline-offset: 2px;
    /*-gtk-outline-radius: 5px;*/
    padding: 0px; }
/*  scale fill:backdrop, scale fill {
    background-color: @borders; }*/
 /* scale fill:disabled:backdrop, scale fill:disabled {
    border-color: transparent;
    background-color: transparent; }*/
  .osd scale fill {
    background-color: rgba(91, 91, 90, 0.775); }
    /*.osd scale fill:disabled:backdrop, */.osd scale fill:disabled {
      border-color: transparent;
      background-color: transparent; }
  scale slider {
    border-radius: 100%;
    background-color: shade(@button_bg, 1.15);
    box-shadow: 0 0 0 4px alpha(white, 0), 0 2px 3px 0 alpha(black, 0.6), inset 0 1px 2px 0 alpha(white, 0.5), inset 0 -1px 2px 0 alpha(black, 0.3);
    transition: all 80ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-property: background, border, box-shadow;
    /*border: 4px dashed yellow;*/
  }
  scale:not(.marks-after):not(.marks-before):not(:disabled) slider {
background-image: radial-gradient(@slider_inner_color, @slider_middle_color 25%, @slider_outer_color 35%);

}
    scale slider:hover {
      box-shadow: 0 0 0 8px alpha(white, 0.4), 0 1px 2px 0 alpha(black, 0.5), inset 0 0 0 1px white; }
    scale slider:active {
      background-color: shade(@window_bg, 1.25);
       }
    scale slider:disabled {
      background-color: mix(@button_bg, @disabled_bg, 0.8);
      background-image: none;
      box-shadow: 0 0 0 4px alpha(white, 0), 0 2px 3px 0 alpha(black, 0.6), inset 0 1px 2px 0 alpha(white, 0.1), inset 0 -1px 2px 0 alpha(black, 0.1);
      }
    /*scale slider:backdrop {
      box-shadow: 0 1px 2px 0 alpha(black, 0.2); }
      scale slider:backdrop:disabled {
        border-color: shade(@window_bg, 0.9);
        text-shadow: none;
        -gtk-icon-shadow: none;
        box-shadow: 0 1px 2px 0 alpha(black, 0.2); }
        scale slider:backdrop:disabled label, scale slider:backdrop:disabled {
          color: @disabled_fg; }*/
  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.fine-tune marks.top {
    margin-bottom: 6px;
    margin-top: -9px; }
  scale.fine-tune marks.bottom {
    margin-top: 6px;
    margin-bottom: -9px; }
  scale.fine-tune marks.top {
    margin-right: 6px;
    margin-left: -9px; }
  scale.fine-tune marks.bottom {
    margin-left: 6px;
    margin-right: -9px; }
  scale.horizontal indicator {
    min-height: 6px;
    min-width: 1px; }
  scale.horizontal.fine-tune indicator {
    min-height: 3px; }
  scale.vertical indicator {
    min-height: 1px;
    min-width: 6px; }
  scale.vertical.fine-tune indicator {
    min-width: 3px; }
  scale.horizontal.marks-before:not(.marks-after) slider {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-before:not(.marks-after) slider:hover {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-before:not(.marks-after) slider:active {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-before:not(.marks-after) slider:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px; }
  /*scale.horizontal.marks-before:not(.marks-after) slider:backdrop {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }*/
  scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-before:not(.marks-after) slider:backdrop:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-after:not(.marks-before) slider {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-after:not(.marks-before) slider:hover {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-after:not(.marks-before) slider:active {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-after:not(.marks-before) slider:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-after:not(.marks-before) slider:backdrop {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px; }
  scale.horizontal.marks-after:not(.marks-before) slider:backdrop:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    min-height: 24px;
    min-width: 9px; }
  scale.horizontal.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px; }
  scale.vertical.marks-before:not(.marks-after) slider {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-before:not(.marks-after) slider:hover {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-before:not(.marks-after) slider:active {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-before:not(.marks-after) slider:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  /*scale.vertical.marks-before:not(.marks-after) slider:backdrop {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }*/
  scale.vertical.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-before:not(.marks-after) slider:backdrop:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-before:not(.marks-after).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-after:not(.marks-before) slider {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-after:not(.marks-before) slider:hover {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-after:not(.marks-before) slider:active {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-after:not(.marks-before) slider:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-after:not(.marks-before) slider:backdrop {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.vertical.marks-after:not(.marks-before) slider:backdrop:disabled {
    margin: -11px -4px;
    padding: 0px;
    border-style: none;
    border-radius: 6px;
    margin: -4px -11px;
    min-height: 9px;
    min-width: 24px; }
  scale.vertical.marks-after:not(.marks-before).fine-tune slider {
    margin: -8px -4px;
    margin: -4px -8px; }
  scale.color.horizontal slider:dir(ltr):hover, scale.color.horizontal slider:dir(ltr):backdrop, scale.color.horizontal slider:dir(ltr):disabled, scale.color.horizontal slider:dir(ltr):backdrop:disabled, scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl):hover, scale.color.horizontal slider:dir(rtl):backdrop, scale.color.horizontal slider:dir(rtl):disabled, scale.color.horizontal slider:dir(rtl):backdrop:disabled, scale.color.horizontal slider:dir(rtl) {
    background-color: alpha(white, 0.7); }
  scale.color.vertical:dir(ltr) slider:hover, scale.color.vertical:dir(ltr) slider:backdrop, scale.color.vertical:dir(ltr) slider:disabled, scale.color.vertical:dir(ltr) slider:backdrop:disabled, scale.color.vertical:dir(ltr) slider {
    background-color: alpha(white, 0.7); }




/*****************
 * Progress bars *
 *****************/
progressbar {
  font-size: smaller;
  color: alpha(@window_fg, 0.5);
  margin: 1px; }

  progressbar.horizontal trough,
  progressbar.horizontal progress {
    min-height: 8px; }
  progressbar.vertical trough,
  progressbar.vertical progress {
    min-width: 8px; }
  /*progressbar.horizontal progress {
    margin: 2px; }
  progressbar.vertical progress {
    margin: 2px; }*/
  /*progressbar:backdrop {
    box-shadow: none;
    transition: 80ms ease-out; }*/
  progressbar progress {
    border-radius: 5px;
    margin: 1px; }
    /*progressbar progress.left {
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px; }
    progressbar progress.right {
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px; }
    progressbar progress.top {
      border-top-right-radius: 5px;
      border-top-left-radius: 5px; }
    progressbar progress.bottom {
      border-bottom-right-radius: 5px;
      border-bottom-left-radius: 5px; }*/
  progressbar.osd {
    min-width: 5px;
    min-height: 5px;
    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; }

/*************
 * Level Bar *
 *************/
levelbar.horizontal block {
  min-height: 5px; }

levelbar.horizontal.discrete block {
  margin: 0 1px;
  min-width: 32px; }

levelbar.vertical block {
  min-width: 5px; }

levelbar.vertical.discrete block {
  margin: 1px 0;
  min-height: 32px; }

/*levelbar:backdrop {
  transition: 80ms ease-out; }*/

levelbar trough {
  border: 1px solid;
  padding: 1px;
  border-radius: 5px;
  color: @window_fg;
  border-color: @borders;
  background-color: @borders;
/*box-shadow: inset 0 0 0 1px rgba(42, 145, 250, 0); */}
  /*levelbar trough:backdrop {
    color: @window_fg;
    border-color: @unfocused_borders;
    background-color: @text_widget_bg;
    box-shadow: none; }*/

levelbar block {
  border: 1px solid;
  border-radius: 5px;
border-style: none; }
  levelbar block.low {
    border-color: shade(@warning_color_breeze, 1.5);
    background-color: @warning_color_breeze;
    background-image: none;}
    /*levelbar block.low:backdrop {
      border-color: @warning_color_breeze; }*/
  levelbar block.high, levelbar block:not(.empty) {
    border-color: shade(@selected_bg, 1.2);
    background-color: @selected_bg;
    background-image: none; }
    /*levelbar block.high:backdrop, levelbar block:not(.empty):backdrop {
      border-color: @selected_bg; }*/
  levelbar block.full {
    border-color: shade(@success_color, 1.5);
    background-color: @success_color;
  background-image: none;}
    /*levelbar block.full:backdrop {
      border-color: @success_color; }*/
  levelbar block.empty {
    background-color: transparent;
    border-color: rgba(95, 95, 95, 0.2); }
   /* levelbar block.empty:backdrop {
      border-color: rgba(168, 168, 168, 0.15); }*/

/****************
 * Print dialog *
*****************/
printdialog paper {
  color: @window_fg;
  border: 1px solid @borders;
  background: white;
  padding: 0; }
  /*printdialog paper:backdrop {
    color: @wm_unfocused_title;
    border-color: @unfocused_borders; }*/

printdialog .dialog-action-box {
  margin: 12px; }



/**********
 * Frames *
 **********/
frame > border,
.frame {
  box-shadow: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 1px solid @borders; }
  frame > border.flat,
  .frame.flat {
    border-style: none; }
  frame > border:backdrop,
  .frame:backdrop {
    border-color: @unfocused_borders; }

actionbar > revealer > box {
  padding: 6px;
  border-top: 1px solid @borders; }
  /*actionbar > revealer > box:backdrop {
    border-color: @unfocused_borders; }*/

scrolledwindow viewport.frame {
  border-style: none; }
  
  
overshoot.top {
  background-image: radial-gradient(ellipse at top, alpha(shade(@selected_bg, 2), 0.8) 0%, alpha(@selected_bg, 0.5) 30%, alpha(@selected_bg, 0) 100%);
  background-size: 100% 1em;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

overshoot.bottom {
  background-image: radial-gradient(ellipse at bottom, alpha(shade(@selected_bg, 2), 0.8) 0%, alpha(@selected_bg, 0.5) 30%, alpha(@selected_bg, 0) 100%);
  background-size: 100% 1em;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

overshoot.left {
  background-image: radial-gradient(ellipse at left, alpha(shade(@selected_bg, 2), 0.8) 0%, alpha(@selected_bg, 0.5) 30%, alpha(@selected_bg, 0) 100%);
  background-size: 1em 100%;
  background-repeat: no-repeat;
  background-position: left;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

overshoot.right {
  background-image: radial-gradient(ellipse at right, alpha(shade(@selected_bg, 2), 0.8) 0%, alpha(@selected_bg, 0.5) 30%, alpha(@selected_bg, 0) 100%);
  background-size: 1em 100%;
  background-repeat: no-repeat;
  background-position: right;
  background-color: transparent;
  border: none;
  box-shadow: none;
}
/*
scrolledwindow overshoot.top {
  background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(@selected_bg), to(alpha(@selected_bg, 0))), -gtk-gradient(radial, center top, 0, center top, 0.6, from(alpha(@selected_bg, 0.07)), to(alpha(@selected_bg, 0)));
  background-size: 100% 5%, 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: transparent;
  border: none;
  box-shadow: none; }
  scrolledwindow overshoot.top:backdrop {
    background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(alpha(@selected_bg, 0.65)), to(alpha(@selected_bg, 0)));
    background-size: 100% 5%;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: transparent;
    border: none;
    box-shadow: none; }

scrolledwindow overshoot.bottom {
  background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(@selected_bg), to(alpha(@selected_bg, 0))), -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(alpha(@selected_bg, 0.07)), to(alpha(@selected_bg, 0)));
  background-size: 100% 5%, 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  border: none;
  box-shadow: none; }*/
/*  scrolledwindow overshoot.bottom:backdrop {
    background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(alpha(@selected_bg, 0.65)), to(alpha(@selected_bg, 0)));
    background-size: 100% 5%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: transparent;
    border: none;
    box-shadow: none; }*/

/*scrolledwindow overshoot.left {
  background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(@selected_bg), to(alpha(@selected_bg, 0))), -gtk-gradient(radial, left center, 0, left center, 0.6, from(alpha(@selected_bg, 0.07)), to(alpha(@selected_bg, 0)));
  background-size: 5% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  background-color: transparent;
  border: none;
  box-shadow: none; }*/
  /*scrolledwindow overshoot.left:backdrop {
    background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(alpha(@selected_bg, 0.65)), to(alpha(@selected_bg, 0)));
    background-size: 5% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    background-color: transparent;
    border: none;
    box-shadow: none; }*/

/*scrolledwindow overshoot.right {
  background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(@selected_bg), to(alpha(@selected_bg, 0))), -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@selected_bg, 0.07)), to(alpha(@selected_bg, 0)));
  background-size: 5% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: transparent;
  border: none;
  box-shadow: none; }*/
/*  scrolledwindow overshoot.right:backdrop {
    background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(alpha(@selected_bg, 0.65)), to(alpha(@selected_bg, 0)));
    background-size: 5% 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-color: transparent;
    border: none;
    box-shadow: none; }*/
/*
scrolledwindow undershoot.top {
  background-color: transparent;
  background-image: linear-gradient(to left, alpha(white, 0.2) 50%, alpha(black, 0.2) 50%);
  padding-top: 1px;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  background-origin: content-box;
  background-position: center top;
  border: none;
  box-shadow: none; }

scrolledwindow undershoot.bottom {
  background-color: transparent;
  background-image: linear-gradient(to left, alpha(white, 0.2) 50%, alpha(black, 0.2) 50%);
  padding-bottom: 1px;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  background-origin: content-box;
  background-position: center bottom;
  border: none;
  box-shadow: none; }

scrolledwindow undershoot.left {
  background-color: transparent;
  background-image: linear-gradient(to top, alpha(white, 0.2) 50%, alpha(black, 0.2) 50%);
  padding-left: 1px;
  background-size: 1px 10px;
  background-repeat: repeat-y;
  background-origin: content-box;
  background-position: left center;
  border: none;
  box-shadow: none; }

scrolledwindow undershoot.right {
  background-color: transparent;
  background-image: linear-gradient(to top, alpha(white, 0.2) 50%, alpha(black, 0.2) 50%);
  padding-right: 1px;
  background-size: 1px 10px;
  background-repeat: repeat-y;
  background-origin: content-box;
  background-position: right center;
  border: none;
  box-shadow: none; }
*/


/* undershoots defined globally here */
undershoot.top {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.3),
                                      alpha(black, 0.10),
                                      alpha(black, 0));
    background-size: 10px 50%;
    background-repeat: repeat-x;
    background-origin: content-box;
    background-position: center top;
}

undershoot.bottom {
    background-color: transparent;
    background-image: linear-gradient(to top,
                                      alpha(black, 0.3),
                                      alpha(black, 0.10),
                                      alpha(black, 0));
    background-size: 10px 50%;
    background-repeat: repeat-x;
    background-origin: content-box;
    background-position: center bottom;
}

undershoot.left {
    background-color: transparent;
    background-image: linear-gradient(to right,
                                      alpha(black, 0.3),
                                      alpha(black, 0.10),
                                      alpha(black, 0));
    background-size: 50% 10px;
    background-repeat: repeat-y;
    background-origin: content-box;
    background-position: left center;
}

undershoot.right {
    background-color: transparent;
    background-image: linear-gradient(to left,
                                      alpha(black, 0.3),
                                      alpha(black, 0.10),
                                      alpha(black, 0));
    background-size: 50% 10px;
    background-repeat: repeat-y;
    background-origin: content-box;
    background-position: right center;
}


scrolledwindow junction {
  border-color: transparent;
  border-image: linear-gradient(to bottom, @borders 1px, transparent 1px) 0 0 0 1/0 1px stretch;
  background-color: @window_bg; }
  scrolledwindow junction:dir(rtl) {
    border-image-slice: 0 1 0 0; }
  scrolledwindow junction:backdrop {
    border-image-source: linear-gradient(to bottom, @unfocused_borders 1px, transparent 1px);
    background-color: @window_bg;
    transition: 80ms ease-out; }

separator {
  background: alpha(@borders, 0.1);
  min-width: 1px;
  min-height: 1px;
  margin:  0 0.5em;
  /*padding: 0 0.5em;*/ }



/*********
 * Lists *
 *********/
list {
  color: @text_widget_fg;
  background-color: @text_widget_bg;
  border-color: @borders; }
  /*list:backdrop {
    background-color: @text_widget_bg;
    border-color: @unfocused_borders; }*/
  list row {
    padding: 2px;
    }
  list row:nth-child(odd):not(:hover):not(:selected):not(:active) {
        background-color: mix(@text_widget_bg, @window_bg, 0.2);
  }

row {
  /*transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94);*/
    transition: none;
}
  row:hover {
    transition: none; }
  /*row:backdrop {
    transition: 80ms ease-out; }*/
  row.activatable.has-open-popup:not(:selected), row.activatable:hover:not(:selected) {
    background-color: mix(@text_widget_bg, @window_bg, 0.4); }
  row.activatable:active {
    box-shadow: inset 0 2px 2px -2px alpha(black, 0.2); }
  /*row.activatable:backdrop:hover {
    background-color: transparent; }*/
  row.activatable:selected:active {
    box-shadow: inset 0 2px 3px -1px alpha(black, 0.5); }
  row.activatable:selected.has-open-popup {
    background-color: shade(@selected_bg, 1.1); }
    row.activatable:selected,
    row.activatable:selected:backdrop {
      color: @selected_fg;
      background-color: @selected_bg; }

/*********************
 * App Notifications *
 *********************/
.app-notification,
.app-notification.frame {
  padding: 10px;
  /*border-radius: 0 0 2px 2px;*/
  background-color: alpha(@hint_bg,0.8);/*rgba(28, 31, 32, 0.7);*/
  background-image: linear-gradient(to bottom, alpha(black, 0.2), transparent 2px);
  background-clip: padding-box;
  border-radius: 0.5em;
  border: 1px solid @hint_fg;
   }
  /*.app-notification:backdrop,
  .app-notification.frame:backdrop {
    background-image: none;
    transition: 80ms ease-out; }*/
  /*.app-notification border,
  .app-notification.frame border {
    border: none; }*/
.app-notification label {color: @hint_fg;}
/*************
 * Expanders *
 *************/
expander arrow {
  min-width: 16px;
  min-height: 16px;
  -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
  expander arrow:dir(rtl) {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
  expander arrow:hover {
    color: alpha(@window_fg, 0.75); }
  expander arrow:checked {
    -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }

/************
 * Calendar *
 ***********/
calendar {
  color: @text_widget_fg;
  border: 1px solid @borders; }
  calendar:selected {
    border-radius: 5px; }
  calendar.header {
    border-bottom-color: alpha(black, 0.1); }
    /*calendar.header:backdrop {
      border-bottom-color: alpha(black, 0.1); }*/
  calendar.button {
    color: alpha(@window_fg, 0.65); }
    calendar.button:hover {
      color: @window_fg; }
  /*  calendar.button:backdrop {
      color: @window_fg; }*/
    calendar.button:disabled {
      color: @disabled_fg; }
  calendar.highlight {
    color: @disabled_fg; }
   /* calendar.highlight:backdrop {
      color: @disabled_fg; }*/
  /*calendar:backdrop {
    color: @window_fg;
    border-color: @unfocused_borders; }*/
  calendar:indeterminate {
    color: alpha(currentColor,0.5); }
  calendar button {
        padding: 1px;
  }

/***********
 * Dialogs *
 ***********/

messagedialog .titlebar {
  min-height: 20px;
  background-image: none;
  background-color: @window_bg;
  border-style: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: inset 0px 1px 1px shade(@window_bg, 1.1); }

messagedialog.csd.background {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  /* box-shadow: inset 0px 1px 1px shade(@window_bg, 1.1); */
}

/*messagedialog.csd .dialog-action-area button {
  padding: 10px 14px;
  border-radius: 0;
  border-left-style: solid;
  border-right-style: none;
  border-bottom-style: none;
  box-shadow: none; }*/
/*  messagedialog.csd .dialog-action-area button:first-child {
    border-left-style: none;
    border-bottom-left-radius: 2px;
    -gtk-outline-bottom-left-radius: 1px; }
  messagedialog.csd .dialog-action-area button:last-child {
    border-bottom-right-radius: 2px;
    -gtk-outline-bottom-right-radius: 1px;}*/

filechooser .dialog-action-box {
  border-top: 1px solid @borders; }
  filechooser .dialog-action-box:backdrop {
    border-top-color: alpha(white, 0.5); }

filechooser #pathbarbox {
  border-bottom: 1px solid @window_bg; }

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



/***********
 * Sidebar *
 ***********/
.sidebar {
  border-style: none;
  background-color: @text_widget_bg; }
  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 @borders;
    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 @borders;
    border-right-style: none; }
  /*.sidebar:backdrop {
    background-color: @text_widget_bg;
    border-color: @unfocused_borders;
    transition: 80ms 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; }

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

/****************
 * File chooser *
 ****************/

row image.sidebar-icon {
  opacity: 0.7; }

placessidebar > viewport.frame {
  border-style: none; }

placessidebar row {
  min-height: 36px;
  padding: 0px; }
  placessidebar row > revealer {
    padding: 0 14px; }
  placessidebar row:selected {
    color: @selected_fg; }
  placessidebar row:disabled {
    color: @disabled_fg; }
  /*placessidebar row:backdrop {
    color: @wm_unfocused_title; }*/
    /*placessidebar row:backdrop:selected {
      color: @text_widget_bg; }
    placessidebar row:backdrop:disabled {
      color: @disabled_fg; }*/
  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, button.sidebar-button:backdrop > 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(@success_color);
    background-clip: content-box; }
  placessidebar row.sidebar-new-bookmark-row {
    color: @selected_bg; }
  placessidebar row:drop(active):not(:disabled) {
    color: @success_color;
    box-shadow: inset 0 1px @success_color, inset 0 -1px @success_color; }
    placessidebar row:drop(active):not(:disabled):selected {
      color: @selected_fg;
      background-color: @success_color; }

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; }



/*********
 * Paned *
 *********/
paned > separator {
  min-width: 1px;
  min-height: 1px;
  -gtk-icon-source: none;
  border-style: none;
  background-color: transparent;
  background-image: image(@borders);
  background-size: 1px 1px; }
  paned > separator:selected {
    background-image: image(@selected_bg); }
  paned > separator:backdrop {
    background-image: image(@window_bg); }
  paned > separator.wide {
    min-width: 5px;
    min-height: 5px;
    background-color: @window_bg;
    background-image: image(@borders), image(@borders);
    background-size: 1px 1px, 1px 1px; }
    paned > separator.wide:backdrop {
      background-color: @window_bg;
      background-image: image(@window_bg), image(@window_bg); }

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; }

/**************
 * GtkInfoBar *
 **************/
infobar {
  border-style: none; }
  infobar.info, infobar.question, infobar.warning, infobar.error {
    /*text-shadow: 0 1px alpha(black, 0.4);*/ }
    infobar.info:backdrop, infobar.info, infobar.question:backdrop, infobar.question, infobar.warning:backdrop, infobar.warning, infobar.error:backdrop, infobar.error {
      background-color: @selected_bg;
      border-color: shade(@selected_bg, 1.2); }
      infobar.info:backdrop label, infobar.info:backdrop, infobar.info label, infobar.info, infobar.question:backdrop label, infobar.question:backdrop, infobar.question label, infobar.question, infobar.warning:backdrop label, infobar.warning:backdrop, infobar.warning label, infobar.warning, infobar.error:backdrop label, infobar.error:backdrop, infobar.error label, infobar.error {
        color: @selected_fg; }
    infobar.info:backdrop, infobar.question:backdrop, infobar.warning:backdrop, infobar.error:backdrop {
      text-shadow: none; }
      /*
    infobar.info button, infobar.question button, infobar.warning button, infobar.error button {
      color: @selected_fg;
      outline-color: alpha(white, 0.2);
      text-shadow: 0 1px alpha(black, 0.428024);
      -gtk-icon-shadow: 0 1px alpha(black, 0.428024);
      border-color: shade(@selected_bg, 0.7);
      background-image: image(shade(@selected_bg, 1.05));
      box-shadow: inset 0px 1px 1px shade(@selected_bg, 1.2), 0px 1px 2px alpha(black, 0.1); }
      infobar.info button:hover, infobar.question button:hover, infobar.warning button:hover, infobar.error button:hover {
        color: @selected_fg;
        outline-color: alpha(white, 0.2);
        background-image: image(shade(@selected_bg, 1.1));
        border-color: shade(@selected_bg, 0.7); }
      infobar.info button:active, infobar.info button:checked, infobar.question button:active, infobar.question button:checked, infobar.warning button:active, infobar.warning button:checked, infobar.error button:active, infobar.error button:checked {
        color: @selected_fg;
        outline-color: alpha(white, 0.2);
        text-shadow: 0 1px alpha(black, 0.428024);
        -gtk-icon-shadow: 0 1px alpha(black, 0.428024);
        border-color: shade(@selected_bg, 0.4);
        background-image: image(shade(@selected_bg, 1.1));
        -gtk-icon-shadow: none;
        box-shadow: inset 0px 0px 2px 0px shade(@selected_bg, 0.6); }
      infobar.info button:disabled, infobar.question button:disabled, infobar.warning button:disabled, infobar.error button:disabled {
        text-shadow: none;
        -gtk-icon-shadow: none;
        background-image: image(@selected_bg);
        box-shadow: none;
        border-color: shade(@selected_bg, 1.1); }
        infobar.info button:disabled label, infobar.info button:disabled, infobar.question button:disabled label, infobar.question button:disabled, infobar.warning button:disabled label, infobar.warning button:disabled, infobar.error button:disabled label, infobar.error button:disabled {
          color: shade(@selected_bg, 1.3); }
      infobar.info button:backdrop, infobar.question button:backdrop, infobar.warning button:backdrop, infobar.error button:backdrop {
        border-color: @selected_bg;
        background-image: image(@selected_bg);
        text-shadow: none;
        -gtk-icon-shadow: none;
        box-shadow: inset 0 1px alpha(white, 0);
        border-color: shade(@selected_bg, 1.3); }
        infobar.info button:backdrop label, infobar.info button:backdrop, infobar.question button:backdrop label, infobar.question button:backdrop, infobar.warning button:backdrop label, infobar.warning button:backdrop, infobar.error button:backdrop label, infobar.error button:backdrop {
          color: shade(@selected_bg, 1.5); }
        infobar.info button:backdrop:disabled, infobar.question button:backdrop:disabled, infobar.warning button:backdrop:disabled, infobar.error button:backdrop:disabled {
          border-color: shade(@selected_bg, 1.1);
          text-shadow: none;
          -gtk-icon-shadow: none;
          box-shadow: inset 0 1px alpha(white, 0);
          border-color: shade(@selected_bg, 1.3); }
          infobar.info button:backdrop:disabled label, infobar.info button:backdrop:disabled, infobar.question button:backdrop:disabled label, infobar.question button:backdrop:disabled, infobar.warning button:backdrop:disabled label, infobar.warning button:backdrop:disabled, infobar.error button:backdrop:disabled label, infobar.error button:backdrop:disabled {
            color: shade(@selected_bg, 1.25); }*/
            
    infobar.info selection, infobar.question selection, infobar.warning selection, infobar.error selection {
      background-color: shade(@selected_bg, 1.25); }

/************
 * Tooltips *
 ************/
tooltip, tooltip.csd, tooltip.background {
  padding: 4px;
  /* not working */
  border-radius: 0.5em;
  box-shadow: none;
  /*text-shadow: 0 1px black;*/ }
  tooltip.background {
    background-color: alpha(@hint_bg, 0.8);
    /*background-clip: padding-box;*/
    border: 1px solid alpha(@hint_fg, 0.8); }
  tooltip decoration {
    /*background-color: transparent;*/
    box-shadow: 0 2px 4px 0 alpha(black, 0.5); }
  /*tooltip * {
    padding: 4px;
    background-color: transparent;
    color: white; }*/

/*****************
 * 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.dark {
  outline-color: alpha(white, 0.6); }
  colorswatch.dark overlay {
    color: white; }
    colorswatch.dark overlay:hover {
      border-color: alpha(black, 0.8); }
    colorswatch.dark overlay:backdrop {
      color: alpha(white, 0.5); }

colorswatch.light {
  outline-color: alpha(black, 0.6); }
  colorswatch.light overlay {
    color: black; }
    colorswatch.light overlay:hover {
      border-color: alpha(black, 0.5); }
    colorswatch.light overlay:backdrop {
      color: alpha(black, 0.5); }

colorswatch:drop(active) {
  box-shadow: none; }
  colorswatch:drop(active).light overlay {
    border-color: @success_color;
    box-shadow: inset 0 0 0 2px shade(@success_color, 0.7), inset 0 0 0 1px @success_color; }
  colorswatch:drop(active).dark overlay {
    border-color: @success_color;
    box-shadow: inset 0 0 0 2px alpha(black, 0.3), inset 0 0 0 1px @success_color; }

colorswatch overlay {
  border: 1px solid alpha(black, 0.3); }
  colorswatch overlay:hover {
    box-shadow: inset 0 1px alpha(white, 0.4), inset 0 -1px alpha(black, 0.2); }
  colorswatch overlay:backdrop, colorswatch overlay:backdrop:hover {
    border-color: alpha(black, 0.3);
    box-shadow: none; }

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: @window_fg;
    outline-color: rgba(82, 87, 98, 0.2);
    /*text-shadow: 0 1px alpha(white, 0.769231);*/
    /*-gtk-icon-shadow: 0 1px alpha(@text_shadow_color, 0.769231);*/
    border-color: @borders;
    border-bottom-color: shade(@borders, 1.1);
    background-image: image(rgba(246, 247, 247, 0.999));
    box-shadow: inset 0px 0px 0px 1px alpha(white, 0.999), 0px 1px 2px alpha(black, 0.1); }
    colorswatch#add-color-button overlay:hover {
      color: @window_fg;
      outline-color: rgba(82, 87, 98, 0.2);
      background-image: image(alpha(white, 0.999));
      border-color: rgba(173, 178, 183, 0.999);
      border-bottom-color: rgba(151, 157, 164, 0.999); }
    colorswatch#add-color-button overlay:backdrop {
      border-color: rgba(212, 215, 217, 0.999);
      background-image: image(@window_bg);
      text-shadow: none;
      -gtk-icon-shadow: none;
      box-shadow: inset 0 1px alpha(white, 0); }
      colorswatch#add-color-button overlay:backdrop label, colorswatch#add-color-button overlay:backdrop {
        color: @disabled_fg; }

colorswatch:disabled {
  opacity: 0.5; }
  colorswatch:disabled overlay {
    border-color: alpha(black, 0.6);
    box-shadow: none; }

row:selected colorswatch {
  box-shadow: 0 0 0 2px #ffffff; }

colorswatch#editor-color-sample {
  border-radius: 5px; }
  colorswatch#editor-color-sample overlay {
    border-radius: 5.5px; }

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

/********
 * Misc *
 ********/

.content-view {
  background-color: @window_bg; }
  /*.content-view:backdrop {
    background-color: @window_bg; }*/

.osd .scale-popup button.flat {
  border-style: none;
  border-radius: 5px; }

.scale-popup button:hover {
  background-color: rgba(82, 87, 98, 0.1);
  border-radius: 5px; }



/**********************
 * Window Decorations *
 *********************/


.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, treeview.view:selected:focus, treeview.view:selected, row:selected, calendar:selected {
  background-color: @selected_bg;
  color: @selected_fg; }
  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, treeview.view:selected:focus, treeview.view:selected, row:selected, calendar:selected {
    color: @selected_fg;
    background-color: @selected_bg;
     }
    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,
    .view:selected:disabled, .view:selected:focus:disabled, .view text:selected:disabled, .view text:selected:focus:disabled, .view text selection:disabled, .view text selection:focus:disabled {
      color: shade(@disabled_fg, 1.1);
      background-color: shade(@disabled_bg, 1.1); }
    row:selected label:backdrop, label:backdrop:selected, .selection-mode button.titlebutton:backdrop, iconview:backdrop:selected:focus, .view:backdrop:selected, iconview:backdrop:selected, iconview text:backdrop:selected:focus,
    textview text:backdrop:selected:focus, .view text:backdrop:selected, iconview text:backdrop:selected,
    textview text:backdrop:selected, iconview text selection:backdrop:focus, .view text selection:backdrop, iconview text selection:backdrop,
    textview text selection:backdrop, flowbox flowboxchild:backdrop:selected, label:backdrop selection, spinbutton:not(.vertical) selection:backdrop,
    entry selection:backdrop, modelbutton.flat:backdrop:selected,
    .menuitem.button.flat:backdrop:selected, row:backdrop:selected, calendar:backdrop:selected {
			color: @selected_fg;
			background-color: @selected_bg;
		}
      row:selected label:backdrop:disabled, label:backdrop:disabled:selected, .selection-mode button.titlebutton:backdrop:disabled, .view:backdrop:disabled:selected, iconview:backdrop:disabled:selected, .view text:backdrop:disabled:selected, iconview text:backdrop:disabled:selected,
      textview text:backdrop:disabled:selected, .view text selection:backdrop:disabled, iconview text selection:backdrop:disabled,
      textview text selection:backdrop:disabled, flowbox flowboxchild:backdrop:disabled:selected, label:disabled selection:backdrop, label:backdrop selection:disabled, spinbutton:not(.vertical) selection:backdrop:disabled,
      entry selection:backdrop:disabled, modelbutton.flat:backdrop:disabled:selected,
      .menuitem.button.flat:backdrop:disabled:selected, row:backdrop:disabled:selected, calendar:backdrop:disabled:selected {
              color: shade(@disabled_fg, 1.1);
      background-color: shade(@disabled_bg, 1.1); }
 

.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-hover.png"), url("assets/slider-horz-scale-has-marks-above-hover@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: @window_fg;
  background-color: @text_widget_bg;
  border: 1px solid;
  border-color: @borders;
  border-radius: 5px;
  box-shadow: inset 0 -3px alpha(@text_widget_fg, 0.5);
  font-size: smaller; }
  /*.keycap:backdrop {
    background-color: @text_widget_bg;
    color: @wm_unfocused_title;
    transition: 80ms ease-out; }*/

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

stackswitcher button.text-button {
  min-width: 100px; }

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

/*********
 * Emoji *
 ********/
popover.emoji-picker {
  padding-left: 0;
  padding-right: 0;
  box-shadow: 0 2px 3px -2px alpha(black,0.7);
   }

/*button.emoji-section {
  border-color: transparent;
  border-width: 3px;
  border-style: none none solid;
  border-radius: 0;
  margin: 2px 4px 2px 4px;
  padding: 3px 0 0;
  min-width: 32px;
  min-height: 28px;*/
  /* reset props inherited from the button style */
  /*background: none;
  box-shadow: none;
  text-shadow: none;
  outline-offset: -5px; }
  button.emoji-section:backdrop:not(:checked) {
    border-color: transparent; }
  button.emoji-section:hover {
    border-color: @borders; }
  button.emoji-section:checked {
    border-color: @selected_bg; }
  button.emoji-section label {
    padding: 0;
    opacity: 0.55; }
  button.emoji-section:hover label {
    opacity: 0.775; }
  button.emoji-section:checked label {
    opacity: 1; }*/

emoji, .emoji {
  font-size: x-large;
  padding: 6px;
  border-radius: 5px; }
  .emoji :hover, emoji :hover {
    background: @selected_bg; }

/* Nautilus */
.nautilus-desktop.nautilus-canvas-item {
  color: white;
  /*text-shadow: 1px 1px alpha(black, 0.6);*/ }

.nautilus-window,
.nautilus-window notebook > stack {
/* border-top: 1px groove @borders; */
/* margin-right: 0.5em; */  }


.nautilus-window placessidebar.sidebar {
  padding: 0.4em 0.5em 0em 0.5em;
  border-radius: 5px;}

.nautilus-window placessidebar.sidebar row.sidebar-row {
  background-color: transparent;
  color: @window_fg;
  border-top: none;
  border-bottom: none;
  margin: 0 5px 0 5px;
  border-radius: 8px; }

filechooser placessidebar.sidebar,
.nautilus-window placessidebar.sidebar {
  background-color: @window_bg;}
  filechooser placessidebar.sidebar row.sidebar-row,
  .nautilus-window placessidebar.sidebar row.sidebar-row {
    border: none;
    color: @window_fg; }
  .nautilus-window placessidebar.sidebar row.sidebar-row:selected {
    color: @selected_bg;
    font-weight: 500; }

    filechooser placessidebar.sidebar row.sidebar-row .sidebar-icon,
    .nautilus-window placessidebar.sidebar row.sidebar-row .sidebar-icon {
      color: @window_fg; }

.view:selected, iconview:selected, .view:selected:focus, iconview:selected:focus, flowbox flowboxchild:selected, entry selection:focus, entry selection, menuitem.button.flat:active, menuitem.button.flat:active arrow, menuitem.button.flat:selected, menuitem.button.flat:selected arrow,
modelbutton.flat:active,
modelbutton.flat:active arrow,
modelbutton.flat:selected,
modelbutton.flat:selected arrow, treeview.view:selected, treeview.view:selected:focus, row:selected, calendar:selected, .nemo-window .nemo-window-pane widget.entry:selected:focus, .nemo-window .nemo-window-pane widget.entry:selected {
		background-color: @selected_bg;
		color: @selected_fg;
		/*box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1), 0 2px 4px 0 rgba(0,0,0,0.1);*/}

filechooser placessidebar.sidebar row.sidebar-row.has-open-popup:selected, filechooser placessidebar.sidebar row.sidebar-row:selected, filechooser placessidebar.sidebar row.sidebar-row:selected:hover, filechooser placessidebar.sidebar row.sidebar-row:active:hover,
.nautilus-window placessidebar.sidebar row.sidebar-row.has-open-popup:selected,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:hover,
.nautilus-window placessidebar.sidebar row.sidebar-row:active:hover {
  background-image: linear-gradient(to top, shade(@selected_bg, 0.85), shade(@selected_bg, 1));
  border: 1px solid;
  border-color: shade(@selected_bg, 0.6);
  color: @selected_fg;
  margin: 0 5px 0 5px;
  box-shadow: inset 0px 1px 1px shade(@selected_bg, 1.2), 0 2px 2px 0 rgba(0,0,0,0.1), 0 2px 4px 0 rgba(0,0,0,0.1); }

filechooser placessidebar.sidebar row.sidebar-row:selected image.sidebar-icon,
filechooser placessidebar.sidebar row.sidebar-row:selected:hover image.sidebar-icon,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected image.sidebar-icon,
.nautilus-window placessidebar.sidebar row.sidebar-row:selected:hover image.sidebar-icon {
  color: @secondary_selected_bg_color;
}

  .view text:selected, iconview text:selected,
textview text:selected, iconview text:selected:focus,
textview text:selected:focus, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection,
textview text selection:focus,
textview text selection,
  .view text:selected, iconview text:selected,
  textview text:selected, iconview text:selected:focus,
  textview text:selected:focus, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection,
  textview text selection:focus,
  textview text selection,
  selection,
  text:selected, :selected, .content-view:selected, .view:selected, .content-view :selected, .view :selected, :backdrop :selected,
  :backdrop:selected, :focus:selected, :focus :selected, *:selected, *:selected:active {
  color: @selected_fg;
  background-color: @selected_bg;
  /*box-shadow: 0 0 0 2px @selected_bg;*/
}

evview.find-results{
background-color: alpha(@selected_bg, 0.4);
box-shadow: 0 0 0 2px @selected_bg;

}
evview.find-results:selected{
background-color: alpha(@selected_bg, 0.3);
}
evview.find-results:active, evview.find-results:active:selected{
background-color: alpha(@selected_bg, 0.6);
}

row:selected label, label:selected, .view:selected, iconview:selected, .view:selected:focus, iconview:selected:focus,
flowbox flowboxchild:selected, entry selection:focus, entry selection, menuitem.button.flat:active, menuitem.button.flat:active arrow, menuitem.button.flat:selected, menuitem.button.flat:selected arrow,
  modelbutton.flat:active,
  modelbutton.flat:active arrow,
  modelbutton.flat:selected,
  modelbutton.flat:selected arrow, treeview.view:selected, treeview.view:selected:focus, row:selected, calendar:selected,
.nemo-window .nemo-window-pane widget.entry:selected:focus, .nemo-window .nemo-window-pane widget.entry:selected, filechooser placessidebar.sidebar row.sidebar-row.has-open-popup:selected, filechooser placessidebar.sidebar row.sidebar-row:selected, filechooser placessidebar.sidebar row.sidebar-row:selected:hover, filechooser placessidebar.sidebar row.sidebar-row:active:hover,
  .nautilus-window placessidebar.sidebar row.sidebar-row.has-open-popup:selected,
  .nautilus-window placessidebar.sidebar row.sidebar-row:selected,
  .nautilus-window placessidebar.sidebar row.sidebar-row:selected:hover,
  .nautilus-window placessidebar.sidebar row.sidebar-row:active:hover {
    color: @selected_fg;
    background-color: @selected_bg; }
    row:selected label:disabled, label:disabled:selected, .view:disabled:selected, iconview:disabled:selected, iconview: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, entry selection:disabled, menuitem.button.flat:disabled:active, menuitem.button.flat:active arrow:disabled, menuitem.button.flat:disabled:selected, menuitem.button.flat:selected arrow:disabled,
    modelbutton.flat:disabled:active,
    modelbutton.flat:active arrow:disabled,
    modelbutton.flat:disabled:selected,
    modelbutton.flat:selected arrow:disabled, treeview.view:disabled:selected:focus, row:disabled:selected, calendar:disabled:selected, .nemo-window .nemo-window-pane widget.entry:disabled:selected, filechooser placessidebar.sidebar row.sidebar-row:disabled:selected, filechooser placessidebar.sidebar row.sidebar-row:disabled:active:hover,
    .nautilus-window placessidebar.sidebar row.sidebar-row:disabled:selected,
    .nautilus-window placessidebar.sidebar row.sidebar-row:disabled:active:hover {
      color: shade(@disabled_fg, 1.1);
      background-color: shade(@disabled_bg, 1.1); }

filechooser placessidebar.sidebar row:selected label,
filechooser placessidebar.sidebar row:selected label
.nautilus-window placessidebar.sidebar row:selected label,
.nautilus-window placessidebar.sidebar row:selected label {
background-color: transparent;
}

/*.gedit-bottom-panel-paned notebook > header.top > tabs > tab:checked,
terminal-window notebook > header.top > tabs > tab:checked {
  box-shadow: inset 0 -1px shade(@selected_bg, 1.5); }*/

/*terminal-window notebook > header.top,
.mate-terminal notebook > header.top {
  background-color: @window_bg;

  box-shadow: 0 3px 3px -3px alpha(black, 0.12), 0 5px 5px -5px alpha(black, 0.06), inset 0 1px alpha(white, 0.4); }
  terminal-window notebook > header.top button,
  .mate-terminal notebook > header.top button {
    padding: 0;
    min-width: 24px;
    min-height: 24px; }*/

.nautilus-canvas-item {
  border-radius: 5px; }

.nautilus-desktop.nautilus-canvas-item, .nemo-desktop.nemo-canvas-item, .caja-desktop {
  color: white;
  /*text-shadow: 1px 1px alpha(black, 0.6);*/ }
  .nautilus-desktop.nautilus-canvas-item:active, .nemo-desktop.nemo-canvas-item:active, .caja-desktop:active {
    color: @window_fg; }
  .nautilus-desktop.nautilus-canvas-item:selected, .nemo-desktop.nemo-canvas-item:selected, .caja-desktop:selected {
    color: @selected_fg;
    text-shadow: none; }


.nautilus-canvas-item.dim-label, label.nautilus-canvas-item.separator,
popover.background label.nautilus-canvas-item.separator, headerbar .nautilus-canvas-item.subtitle, .titlebar:not(headerbar) .nautilus-canvas-item.subtitle,
.nautilus-list-dim-label {
  color: shade(@window_fg, 1.15);
  border-width: 1px 0 0px;
  border-style: solid;
  border-color: shade(@selected_bg, 1.4);
  }
  .nautilus-canvas-item.dim-label:selected, label.nautilus-canvas-item.separator:selected, headerbar .nautilus-canvas-item.subtitle:selected, .titlebar:not(headerbar) .nautilus-canvas-item.subtitle:selected, .nautilus-canvas-item.dim-label:selected:focus, label.nautilus-canvas-item.separator:selected:focus, headerbar .nautilus-canvas-item.subtitle:selected:focus, .titlebar:not(headerbar) .nautilus-canvas-item.subtitle:selected:focus,
  .nautilus-list-dim-label:selected,
  .nautilus-list-dim-label:selected:focus {
    color: alpha(@window_fg, 0.7); }

.nautilus-window searchbar {
  border-top: none;
  border-bottom: none; }

.nautilus-window .searchbar-container {
  /* margin-top: 3px; */  }

.nautilus-window notebook,
.nautilus-window notebook > stack:not(:only-child) searchbar {
  background-color: @text_widget_bg; }

/* Floating status bar */
.floating-bar {
  padding: 2px;
  background-color: @text_widget_bg;
  border-width: 1px;
  border-style: solid solid none;
  border-color: @borders;
  border-radius: 0.5em;
}

.floating-bar.bottom.left { /* axes left border and border radius */
  border-left-style: none;
  border-top-left-radius: 0;
}
.floating-bar.bottom.right { /* axes right border and border radius */
  border-right-style: none;
  border-top-right-radius: 0;
}

.floating-bar:backdrop {
  background-color: @text_widget_bg;
  border-color: @unfocused_borders;
}

.tr-workarea undershoot,
.tr-workarea overshoot {
  border-color: transparent; }
