/* DeLorean-Dark_3.8
 * by killhellokitty (Joshua Brown-Williams)
 * rewrite: May 2013, August 2013
 * */

* {
    engine: adwaita;
    padding: 0;

    background-clip: padding-box;

    -GtkToolButton-icon-spacing: 4;

    -GtkTextView-error-underline-color: @error_color;

    -GtkPaned-handle-size: 5;

    -GtkCheckButton-indicator-size: 16;
    -GtkCheckMenuItem-indicator-size: 12;

    /* The size for scrollbars. The slider is 2px smaller, but we keep it
     * up so that the whole area is sensitive to button presses for the
     * slider. The stepper button is larger in both directions, the slider
     * only in the width
     */

    -GtkScrolledWindow-scrollbar-spacing: 0;
    -GtkScrolledWindow-scrollbars-within-bevel: 1;

    -GtkToolItemGroup-expander-size: 11;
    -GtkExpander-expander-size: 11;
    -GtkTreeView-expander-size: 11;

    -GtkTreeView-horizontal-separator: 4;
	-GtkTreeView-vertical-separator: 0;

    -GtkMenu-horizontal-padding: 0;
    -GtkMenu-vertical-padding: 0;

    -GtkWidget-link-color: @link_color;
    -GtkWidget-visited-link-color: @link_color;
    -GtkIMHtml-hyperlink-color: @link_color;
    -GtkHTML-link-color: @link_color;

	-GtkWidget-cursor-color: @cursor_color;
    -GtkWidget-cursor-aspect-ratio: 0.1;
    -GtkWidget-secondary-cursor-color: @theme_text_color;

    -WnckTasklist-fade-overlay-rect: 0;

    -GtkWidget-focus-padding: 2;
    -GtkWidget-focus-line-width: 1;
    -GtkWindow-resize-grip-width: 0;
    -GtkWindow-resize-grip-height: 0;

    /* We use the outline properties to signal the focus properties
     * to the adwaita engine: using real CSS properties is faster,
     * and we don't use any outlines for now.
     */
    outline-color: alpha(@theme_text_color, 0.22);
    outline-style: dashed;
    outline-offset: 2px;
}

/***************
 * Base States *
 ***************/
.background,
GtkPaned {
    color: @theme_fg_color;
    background-color: transparent;
	background-image: url("assets/delorean-dark-bg.png");
    background-repeat: repeat;
    background-position: top left;
}

.background:backdrop,
GtkPaned:backdrop {
    color: shade(@theme_fg_color, 0.76);
    background-color: transparent;
	background-image: url("assets/delorean-backdrop-bg.png"); /*24x*/
    background-repeat: repeat;
    background-position: top left;
}

GtkOrientable {
    background-color: @theme_bg_color;
}

/* FIXME: why do we still need this? */
GtkClutterOffscreen {
    background-color: @theme_bg_color;
    color: @theme_fg_color;
}

/**********
 * states *
 **********/

*:selected,
*:selected:focus {
    background-color: @theme_selected_bg_color;
    color: @theme_selected_fg_color;
}

*:selected:backdrop {
    background-color: shade(@theme_selected_bg_color, 0.8);
    color: shade(@theme_selected_fg_color, 0.76);
}

*:disabled {
    background-color: @disabled_bg_color;
    color: shade(@theme_text_color, 0.5);
    border-color: @disabled_borders;
}

*:backdrop {
    text-shadow: none;
    icon-shadow: none;
    color: shade(@theme_fg_color, 0.76);
}

*:disabled:backdrop {
    /* I want everything nice and flat in the unfocused window */
    text-shadow: none;
    icon-shadow: none;
    color: shade(@theme_text_color, 0.35);
}

.gtkstyle-fallback {
    background-color: @theme_bg_color;
    color: @theme_fg_color;
}

.gtkstyle-fallback:prelight {
    background-color: shade(@theme_bg_color, 1.10);
    color: @theme_fg_color;
}

.gtkstyle-fallback:active {
    background-color: shade(@theme_bg_color, 0.90);
    color: @theme_fg_color;
}

.gtkstyle-fallback:disabled {
    background-color: @disabled_bg_color;
    color: shade(@theme_text_color, 0.5);
}

.gtkstyle-fallback:selected {
    background-color: @theme_selected_bg_color;
    color: @theme_selected_fg_color;
}

GtkImage,
GtkImage:disabled,
GtkLabel,
GtkLabel:disabled {
    background-color: transparent;
}

/************
 * Tooltips * * * Doesn't work here.  Moved to bottom of gnome-applications.css as the fix *
 ************/


/*****************
 * Miscellaneous *
 *****************/
@keyframes spinner {
    0.00% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)); }

    12.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)); }

    25.0% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)); }

    37.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)); }

    50.0% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)); }

    62.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)); }

    75.0% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)); }

    87.5% { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)); }

    100%  { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                              -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)); }
}

.spinner {
    background-color: transparent;
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent));
    background-position: 14% 14%, 0% 50%, 14% 86%, 50% 100%, 86% 86%, 100% 50%, 86% 14%, 50% 0%;
    background-size: 20% 20%;
    background-repeat: no-repeat;
}

.spinner:active {
    background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.875)), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.750)), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.625)), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.500)), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.375)), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
                      -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent));
    animation: spinner 1s infinite linear;
}

.button .spinner:active {
    color: @theme_selected_fg_color;
}

.floating-bar {
    background-image: linear-gradient(to bottom,
									  alpha(mix(black, @theme_selected_bg_color, 0.12), 0.75),
                                      alpha(mix(black, @theme_selected_bg_color, 0.12), 0.75)
                                      );
    background-color: alpha(black, 0.85);
    border-color: alpha(black, 0.56);

    color: #e2e2e2;
    text-shadow: 1px 1px alpha(black, 0.32);

    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    box-shadow: none;
}

.notebook .floating-bar {
	background-image: linear-gradient(to bottom,
									  alpha(mix(black, @theme_selected_bg_color, 0.06), 0.75),
                                      alpha(mix(black, @theme_selected_bg_color, 0.06), 0.75)
                                      );
    border-color: alpha(black, 0.65);
}

.floating-bar.top {
    border-top-width: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.floating-bar.right {
    border-right-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.floating-bar.bottom {
    border-bottom-width: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.floating-bar.left {
    border-left-width: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.floating-bar.bottom.right {
}

.floating-bar.bottom.left {
}

.floating-bar:backdrop {
    background-image: linear-gradient(to bottom,
									  mix(black, @theme_selected_bg_color, 0.12),
                                      mix(black, @theme_selected_bg_color, 0.12)
                                      );
    box-shadow: none;
    text-shadow: none;
}

.floating-bar .button {
    background-color: alpha (@theme_base_color, 0.0);
    background-image: none;

    border-style: none;
    border-image: none;
	box-shadow: none;
    -GtkButton-image-spacing: 0;
    -GtkButton-inner-border: 0;
}

.content-view.view.rubberband,
.view.rubberband,
.rubberband {
    background-color: alpha (@theme_selected_bg_color, 0.35);
	background-image: none;
    border-color: @theme_selected_bg_color;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
}

GtkStatusbar {
    padding: 5px;
    color: shade(@theme_fg_color, 0.85);
    text-shadow: @button_active_text_shadow 0 -1px;
    -GtkStatusbar-shadow-type: none;
    font: bold 9;
}

GtkStatusbar *:backdrop {
    color: shade(@theme_fg_color, 0.65);
    text-shadow: none;
}

.dnd {
    border-width: 1px;
    border-style: solid;
    border-color: @theme_selected_bg_color;
    border-radius: 0;
}

GtkTreeView.view.separator,
GtkTreeView.separator,
.sidebar.view.separator,
.sidebar.view .separator,
.sidebar.view.separator:hover,
.sidebar.view .separator:hover {
    color: @view_separators;
    background-color: transparent;
}

.toolbar .separator {
    color: @toolbar_separator;
}

GtkTreeView.view.separator:backdrop,
GtkTreeView.separator:backdrop,
.sidebar.view.separator:backdrop,
.sidebar.view .separator:backdrop,
.sidebar.view.separator:hover:backdrop,
.sidebar.view .separator:hover:backdrop,
.toolbar .separator:backdrop {
    color: shade(@view_separators, 0.8);
    background-color: transparent;
}

GtkSeparator,
GtkSeparator:hover,
GtkSeparator:backdrop,
GtkSeparator:hover:backdrop {
	-GtkWidget-wide-separators: true;
	-GtkWidget-separator-width: 2px;
	-GtkWidget-separator-height: 2px;

	border-width: 2px;
	border-color: transparent;
	border-style: solid;
	border-image: url("borders/separator/separator.svg") 10 10 2 2/ 0px 0px 2px 2px repeat;
    color: @menu_separator;
}

GtkSeparator.vertical,
GtkSeparator.vertical:hover,
GtkSeparator.vertical:backdrop,
GtkSeparator.vertical:hover:backdrop {
	border-width: 2px;
	border-color: transparent;
	border-style: solid;
	border-image: url("borders/separator/separator-vertical.svg") 2 2 10 10/ 2px 2px 0px 0px repeat;
    color: @menu_separator;
}

.pane-separator {
    background-color: transparent;
    color: shade (@inactive_frame_color, 0.80);
}

.pane-separator:hover,
.pane-separator:selected {
    color: @theme_text_color;
}

.pane-separator:backdrop,
.pane-separator:hover:backdrop,
.pane-separator.vertical:backdrop,
.pane-separator.vertical:hover:backdrop {
    background-color: transparent;
    background-image: none;
}

.notebook .pane-separator,
.notebook .pane-separator:hover {
    background-color: @notebook_color;
}

.notebook .pane-separator:backdrop,
.notebook .pane-separator:hover:backdrop {
    background-color: transparent;
}

/****************
 * Text Entries *
 ****************/
.entry {
    border-style: solid;
    padding: 4px;

    /* border-image defined in the -assets variants */

    color: @entry_text_color; /* also the color of message text in Evolution*/

    transition: all 200ms ease-out;
}

.entry:focus,
.toolbar .entry:focus
GtkComboBox.combobox-entry .button:hover {
    color: @entry_text_focus_color;
    transition: all 200ms ease-in;
}

.toolbar .entry,
.toolbar .entry:focus,
.primary-toolbar .entry,
.primary-toolbar .entry:focus,
.notebook .primary-toolbar .entry ,
.notebook .primary-toolbar .entry:focus,
.header-bar .entry,
.header-bar .entry:focus {
    color: @entry_text_color;
    border-style: solid;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: shade(@theme_bg_color, 0.82);
	padding-left: 12px;
	padding-right: 4px;
    background-color: shade(@theme_fg_color,0.92);
	border-image: none;
	box-shadow: 0 -1px rgba(255,255,255,0.14) inset,

				1px 1px rgba(0,0,0,0.20) inset,
				2px 2px rgba(0,0,0,0.16) inset,
				3px 3px rgba(0,0,0,0.12) inset,
				4px 4px rgba(0,0,0,0.08) inset,
				5px 5px rgba(0,0,0,0.04) inset,
				6px 6px rgba(0,0,0,0.02) inset,

				-1px 0 rgba(0,0,0,0.08) inset,
				-2px 0 rgba(0,0,0,0.06) inset,
				-3px 0 rgba(0,0,0,0.04) inset,
				-4px 0 rgba(0,0,0,0.02) inset;
}

.toolbar .entry:focus,
.primary-toolbar .entry:focus,
.notebook .primary-toolbar .entry:focus,
.header-bar .entry:focus {
    background-color: shade(@theme_text_color, 1.03);
}

/*
.toolbar .entry,
.toolbar .entry:focus,
.toolbar .entry:backdrop,
.toolbar .entry:focus:backdrop {
	border-color: #2a2a2a;
	border-bottom-color: alpha(white, 0.075);
	border-right-color: #2f2f2f;
	border-left-color: #2f2f2f;
}*/

.toolbar .entry:backdrop,
.toolbar .entry:focus:backdrop,
.primary-toolbar .entry:backdrop,
.primary-toolbar .entry:focus:backdrop
.header-bar .entry:backdrop,
.header-bar .entry:focus:backdrop {
    color: shade(@entry_text_color, 1.2);
    background-color: shade(@theme_text_color,0.72);
    background-image: none;
}

.entry.progressbar,
.entry.progressbar:focus {
    margin-left: 2px;
    margin-right: 2px;
    border-image: none;
    border-style: none;
    background-color: transparent;
    background-image: linear-gradient(to top,
                                      transparent 2px,
                                      white 2px,
                                      white 3px,
                                      shade(@theme_selected_bg_color, 0.9) 3px,
                                      shade(@theme_selected_bg_color, 0.9) 5px,
                                      transparent 5px);
    background-size: auto;
    box-shadow: none;
}

.entry.progressbar.pulse,
.entry.progressbar.pulse:focus {
    background-image: linear-gradient(to top,
                                      transparent 2px,
                                      white 2px,
                                      white 3px,
                                      @borders 3px,
                                      @borders 5px,
                                      transparent 5px);
}

.entry.progressbar:backdrop {
    margin-left: 2px;
    margin-right: 2px;
    border-image: none;
    border-style: none;
    background-color: transparent;
    background-image: linear-gradient(to top,
                                      transparent 2px,
                                      white 2px,
                                      white 3px,
                                      @theme_unfocused_selected_bg_color 3px,
                                      @theme_unfocused_selected_bg_color 5px,
                                      transparent 5px);
    box-shadow: none;
}

.entry:selected:selected,
.entry:focus:selected:selected {
    color:@theme_selected_fg_color;
    background-color: @theme_selected_bg_color;
}

.entry:selected:backdrop,
.entry:focus:selected:backdrop {
    color: shade(@theme_selected_fg_color, 0.8);
    background-color: shade(@theme_selected_bg_color, 0.8);
}

.entry:disabled {
    color: shade(@entry_text_color, 1.85);
}

.entry:backdrop,
GtkComboBox.combobox-entry .button:backdrop,
GtkComboBox.combobox-entry .button:backdrop:hover {
    color: shade(@entry_text_color, 1.2);
    background-color: alpha(white, 0.45);
    background-image: none;
}

.entry:disabled:backdrop {
    color: shade(@entry_text_color, 2.05);
}

/* needed for webkit/GtkStyle/Evolution compatibility(calendar) */

GtkHTML:active,
GtkHTML:active:backdrop,
.entry:active,
.entry:active:backdrop {
    color: #ededed;
    background-color: shade(@theme_selected_bg_color, 0.6);
}

.cursor-handle.top,
.cursor-handle.bottom {
    background-color: transparent;
    box-shadow: none;
    border-style: none;
    border-image: none;
    border-radius: 0px;
    border-width: 0px;

    /* background-image in assets */
}

/*******************
 * Symbolic images *
 *******************/
.image {
    color: @internal_element_color;
}

.image:hover {
    color: @internal_element_prelight;
}

.image:selected,
.image:selected:hover {
    color: @theme_selected_fg_color;
}

.view.image,
.view.image:hover {
    color: @view_symbolic_color;
}

.view.image:selected,
.view.image:selected:hover {
    color: @theme_selected_fg_color;
}

.entry.image {
    color: shade(@placeholder_text_color, 1.6);
}

.entry.image:hover {
    color: shade(@placeholder_text_color, 1.8);
}

.entry.image:focus {
    color: shade(@entry_text_focus_color, 1.1);
}

.entry.image:focus:hover {
    color: shade(@entry_text_focus_color, 1.4);
}

.entry.image:selected:selected,
.entry.image:selected:selected:hover {
    color: @theme_selected_fg_color;
}

/*****************
 * GtkSpinButton *
 *****************/
.spinbutton .button,
.notebook .spinbutton .button {
    color: shade(@entry_text_color, 1.6);
    text-shadow: 0 1px alpha(white, 0.11);
    icon-shadow: 0 1px alpha(white, 0.11);
    padding: 2px 6px;
    border-width: 0 0 0 1px;
    border-radius: 0;
    border-style: solid;
    border-color: alpha(black, 0.16);
    border-image: none;
    box-shadow: inset 1px 0 alpha(white, 0.09);
}

.spinbutton.entry {
	background-color: @entry_bg;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.005),
                                      alpha(white, 0.055) 50%,
                                      alpha(black, 0.015) 51%,
                                      alpha(black, 0.03)
                                      );
}

.spinbutton.entry:focus {
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.01),
                                      alpha(white, 0.11) 50%,
                                      alpha(black, 0.03) 51%,
                                      alpha(black, 0.06)
                                      );
    background-color: @entry_bg_focus;
}

.spinbutton.entry:disabled,
.spinbutton.entry:disabled:backdrop {
	background-color: @entry_bg_disabled;
	background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                       linear-gradient(to bottom,
                                      alpha(white, 0.005),
                                      alpha(white, 0.055) 50%,
                                      alpha(black, 0.015) 51%,
                                      alpha(black, 0.03)
                                      );

    background-size: 10px 10px, auto;
}

.spinbutton.entry:selected,
.spinbutton.entry:focus:selected {
    color:@theme_selected_fg_color;
    background-color: @theme_selected_bg_color;
}

.spinbutton.entry:selected:backdrop,
.spinbutton.entry:focus:selected:backdrop {
    color: shade(@theme_selected_fg_color, 0.8);
    background-color: shade(@theme_selected_bg_color, 0.8);
}

.spinbutton.entry:backdrop,
.spinbutton.vertical.entry:backdrop {
    background-color: @entry_bg_backdrop;
}

.spinbutton.entry:disabled:backdrop {
    background-color: @entry_bg_disabled_backdrop;
}

.spinbutton .button:backdrop,
.spinbutton .button:hover:backdrop,
.spinbutton .button:last-child:hover:backdrop {
	border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    border-image: none;
    color: shade(@entry_text_color, 0.8);
}

.spinbutton .button:disabled {
    color: shade(@disabled_fg_color, 1.6);
    background-color: transparent;
    background-image: none;
    box-shadow: inset 1px 0 alpha(white, 0.05);
}

.spinbutton .button:disabled:backdrop {
    color: mix(@internal_element_color, @theme_unfocused_base_color, 0.7);
    border-image: none;
    border-color: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

.spinbutton .button:focus {
    color: shade(@entry_text_color, 1.3);
    text-shadow: 0 1px alpha(white, 0.11);
    icon-shadow: 0 1px alpha(white, 0.11);
}

.spinbutton .button:focus:hover,
.spinbutton .button:active,
.spinbutton .button:active:hover,
.notebook .spinbutton .button:focus:hover,
.notebook .spinbutton .button:active,
.notebook .spinbutton .button:active:hover {
    border-width: 0;
    border-radius: 0;
    border-style: none;
    border-image: none;
}

.spinbutton .button:hover {
    color: shade(@entry_text_color, 0.6);
    text-shadow: 0 1px alpha(white, 0.11);
    icon-shadow: 0 1px alpha(white, 0.11);
}

.spinbutton .button:active,
.spinbutton .button:active:hover {
    color: @theme_selected_fg_color;
    text-shadow: 0 -1px alpha(black, 0.23);
    icon-shadow: 0 -1px alpha(black, 0.23);
}

.spinbutton .button:first-child {
    border-radius: 0;
}

.spinbutton .button:last-child {
    border-radius: 0 2px 2px 0;
}

.spinbutton .button:dir(rtl),
.notebook .spinbutton .button:dir(rtl) {
    box-shadow: inset -1px 0 alpha(black, 0.35);
}

/* Add back the glowy effect from the entry covered by the pushed button background*/
.spinbutton .button:active,
.spinbutton .button:active:hover,
.spinbutton .button:hover {
    box-shadow: inset 1px 0 alpha(white, 0.12),
				inset -1px 0 alpha(white, 0.02);
}

.spinbutton .button:active:focus,
.spinbutton .button:active:hover:focus,
.spinbutton .button:hover:focus {
    box-shadow: inset 1px 0 alpha(black, 0.35),
				inset -1px 0 alpha(black, 0.35);
}

.spinbutton .button:last-child:active,
.spinbutton .button:last-child:active:hover,
.spinbutton .button:last-child:hover {
    box-shadow: inset 1px 0 alpha(white, 0.12);
}

.spinbutton .button:last-child:active:focus,
.spinbutton .button:last-child:active:hover:focus,
.spinbutton .button:last-child:hover:focus {
    box-shadow: inset 1px 0 alpha(black, 0.35);
}
/* vertical */
.spinbutton.vertical .button {
    padding: 4px;
    icon-shadow: 0 1px @button_text_shadow;
}

.spinbutton.vertical .button,
.spinbutton.vertical .button:hover {
    color: @theme_fg_color;
}

.spinbutton.vertical .button:disabled {
    color: @disabled_fg_color;
}

.spinbutton.vertical .button:backdrop {
    color: @theme_unfocused_fg_color;
    icon-shadow: none;
}

.spinbutton.vertical .button:backdrop:hover {
    /*box-shadow:none;*/
}

.spinbutton.vertical .button:backdrop:disabled {
    color: @unfocused_disabled_fg_color;
}

.spinbutton.vertical .button:active {
    color: @button_active_text;
    icon-shadow: 0 1px @button_active_text_shadow;
}

/* :disabled:disabled to override the dark overriden style for
   normal spinbutton buttons, yeah we lack !important */
.spinbutton.vertical .button:disabled:disabled {
    icon-shadow: none;
}

.spinbutton.vertical .button,
/* :active:active to override the dark overriden style for
   normal spinbutton buttons, yeah we lack !important */
.spinbutton.vertical .button:active:active {
    box-shadow: none;
}

.spinbutton.vertical .button:first-child,
.spinbutton.vertical .button:first-child:hover:focus,
.spinbutton.vertical .button:backdrop:first-child,
.spinbutton.vertical .button:backdrop:hover:first-child {
    border-image-width: 3px 3px 0 3px;
    border-width: 1px 1px 0 1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.spinbutton.vertical .button:last-child,
.spinbutton.vertical .button:last-child:hover:focus,
.spinbutton.vertical .button:backdrop:last-child,
.spinbutton.vertical .button:backdrop:hover:last-child {
    border-image-width: 0 3px 4px 3px;
    border-width: 0 1px 2px 1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.spinbutton.vertical.entry {
    border-image: none;
    border-color: #050505;
    border-width: 0 1px;
    border-style: solid;
    border-radius: 0;
    box-shadow: 0 1px #040404 inset,
				0 -1px #0c0c0c inset,
				0 2px rgba(0,0,0,0.06) inset,
				0 3px rgba(0,0,0,0.06) inset,
				0 4px rgba(0,0,0,0.05) inset,
				0 5px rgba(0,0,0,0.04) inset,
				1px 0 rgba(0,0,0,0.07) inset,
				-1px 0 rgba(0,0,0,0.07) inset,
				2px 0 rgba(0,0,0,0.05) inset,
				-2px 0 rgba(0,0,0,0.05) inset,
				3px 0 rgba(0,0,0,0.03) inset,
				-3px 0 rgba(0,0,0,0.03) inset;

    /* I'm using box-shadow as borders, so I need to compensate
       with padding. Those two values need to be entry padding +1 */
    padding-top: 5px;
    padding-bottom: 5px;
}

.spinbutton.vertical.entry:disabled {
    border-color: #161616;
    padding-top: 4px;
    border-top-width: 1px;
    box-shadow: inset 0 -1px #161616,
                inset 0 2px #232323,
                inset 1px 0 #232323,
                inset -1px 0 #232323;
}

.spinbutton.vertical.entry:focus {
}

.spinbutton.vertical.entry:backdrop {
    /* Adding back box-shadow for borders */
    border-color:#1c1c1c;
    box-shadow: inset 0 1px #1a1a1a,
                inset 0 -1px #1a1a1a;
}

.spinbutton.vertical.entry:disabled:backdrop {
    /* Adding back box-shadow for borders */
    box-shadow: inset 0 1px #1c1c1c,
                inset 0 -1px #1c1c1c;
}


/*****************
 * Color Chooser *
 *****************/
GtkColorSwatch,
GtkColorSwatch:selected {
    border-width: 1px;
    border-style: solid;
    border-radius: 1px;
    border-color: alpha(black, 0.3);
    box-shadow: inset 0 2px alpha(black, 0.07),
                inset 1px 1px alpha(black, 0.07);

    background-color: transparent;
    background-clip: padding-box;
}

GtkColorSwatch:hover,
GtkColorSwatch:selected:hover {
    border-color: alpha(black, 0.45);
}

GtkColorSwatch.color-dark:hover {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0) 40%,
                                      alpha(white, 0.3)
                                      );
}

GtkColorSwatch.color-light:hover {
    background-image: linear-gradient(to top,
                                      alpha(black, 0) 40%,
                                      alpha(black, 0.1)
                                      );
}

GtkColorSwatch.color-light:selected:hover,
GtkColorSwatch.color-dark:selected:hover {
    background-image: none;
}

GtkColorSwatch:backdrop,
GtkColorSwatch:backdrop:selected {
    box-shadow: none;
}

GtkColorSwatch:backdrop:hover {
    border-color: alpha(black, 0.3);
    background-image: none;
}

GtkColorSwatch.left,
GtkColorSwatch:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

GtkColorSwatch.right,
GtkColorSwatch:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

GtkColorSwatch:only-child {
    border-radius: 6px;
}

GtkColorSwatch.top {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

GtkColorSwatch.bottom {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

GtkColorChooserWidget #add-color-button {
    background-clip: padding-box;
    border-color: mix(@borders, @theme_bg_color, 0.3);
    background-color: mix(@borders, @theme_bg_color, 0.3);
    color: @theme_base_color;
    box-shadow: inset 2px 2px alpha(white, 0.03),
                inset 1px 1px alpha(white, 0.03),
                inset -1px -1px alpha(white, 0.03);
}

GtkColorChooserWidget #add-color-button:hover {
    border-color: @borders;
    background-color: @borders;
    color: @theme_base_color;
}

GtkColorChooserWidget #add-color-button:backdrop {
    border-color: mix(@unfocused_borders, @theme_unfocused_bg_color, 0.3);
    background-color: mix(@unfocused_borders, @theme_unfocused_bg_color, 0.45);
    color: @theme_unfocused_bg_color;
    box-shadow: none;
}


.color-active-badge,
.color-active-badge:selected {
    border-style: solid;
    border-width: 2px;
    background-color: transparent;
}

.color-active-badge.color-light,
.color-active-badge.color-light:hover {
    border-color: #444444;
    color: #444444;
}

.color-active-badge.color-dark,
.color-active-badge.color-dark:hover {
    border-color: #cccccc;
    color: #cccccc;
}

GtkColorEditor GtkColorSwatch {
    border-radius: 6px;
}

GtkColorEditor GtkColorSwatch.color-dark:hover,
GtkColorEditor GtkColorSwatch.color-light:hover {
    background-image: none;
    border-color: alpha(black, 0.3);
}

GtkColorButton.button {
    padding: 1px 20px;
}

/****************
 * Progress bar *
 *
 *
 *   I chose to over complicate both ProgressBars and GtkTreeViews.
 * In truth I couldn't resist the challenge.
 * GtkTreeViews normal and within Notebooks have the Odd/Even enabled with Hover.
 * ProgressBars(in GtkTreeViews, Transmission) as well have the Odd/Even attribute enabled (ex.Gnome System Monitor within the File Systems Tab).
 *
 * This madness has left a chaotic appearing mess both in GtkTreeViews and especially here in ProgressBars.
 *
 ****************/

/* FIXME: this should really be a margin... */
GtkProgressBar {
    padding: 0px 0px 1px 0px;
    -GtkProgressBar-min-horizontal-bar-height: 16;
    -GtkProgressBar-min-vertical-bar-width: 16;
}

GtkProgressBar.vertical {
    padding: 0px 1px 0px 0px;
    -GtkProgressBar-min-horizontal-bar-height: 16;
    -GtkProgressBar-min-vertical-bar-width: 16;
}

/* progress component */
.progressbar,
.toolbar .progressbar,
.entry.progressbar,
.progressbar:backdrop,
.progressbar.vertical:backdrop {
	background-color: transparent;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: #111111;
    box-shadow: inset 0 -1px alpha(mix(white, @theme_selected_bg_color, 0.4), 0.28),
				1px 0 alpha(white, 0.28) inset,
				-1px 0 alpha(black, 0.26) inset,
				0 1px alpha(white, 0.34) inset
				;
	border-image: none;
}

.progressbar.vertical,
.toolbar .progressbar.vertical,
.progressbar.vertical:backdrop {
	box-shadow: inset -1px 0 alpha(mix(white, @theme_selected_bg_color, 0.4), 0.28),
				0 1px alpha(white, 0.28) inset,
				0 -1px alpha(black, 0.26) inset,
				1px 0 alpha(white, 0.34) inset
				;
}

.progressbar row,
.progressbar row:hover,
.progressbar row:selected,
.progressbar row:selected:focus {
	color: @theme_text_color;
	border-radius: 100px;
	border-width: 1px;
    border-style: solid;
    border-color: transparent;
	border-image: none;

	background-color: mix(black, @theme_selected_bg_color, 0.3);
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, @theme_selected_bg_color, 0.45), 0.38),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      @theme_selected_bg_color
                                      );
	background-clip: padding-box;
	box-shadow: inset 0 -1px alpha(@theme_selected_bg_color, 0.30),
				inset 0 -2px alpha(@theme_selected_bg_color, 0.06),
				inset 0 1px alpha(white, 0.16),
				inset 0 2px alpha(white, 0.06),
				inset 0 3px alpha(white, 0.02),
                inset -1px 0 alpha(@theme_selected_bg_color, 0.04),
                inset 1px 0 alpha(@theme_selected_bg_color, 0.26);
    background-size: auto;
}

/*These conflict with 'progressbar row' unless prefixed with 'notebook'and matched to 'treeview:nth-child for normal and notebook odd/even in GtkTreeView section.  System Monitor, file sytems tab uses these */
.notebook GtkTreeView .progressbar row:nth-child(odd),
.notebook .progressbar row:nth-child(odd),
GtkTreeView .progressbar row:nth-child(odd),
.progressbar row:nth-child(odd),

.notebook GtkTreeView .progressbar row:nth-child(odd):selected,
.notebook .progressbar row:nth-child(odd):selected,
GtkTreeView .progressbar row:nth-child(odd):selected,
.progressbar row:nth-child(odd):selected,
.notebook GtkTreeView .progressbar row:nth-child(odd):selected:focus,
.notebook .progressbar row:nth-child(odd):selected:focus,
GtkTreeView .progressbar row:nth-child(odd):selected:focus,
.progressbar row:nth-child(odd):selected:focus,


.notebook GtkTreeView.progressbar row:nth-child(odd):hover,
.notebook GtkTreeView .progressbar row:nth-child(odd):hover,
.notebook .cell.progressbar row:hover:nth-child(odd),
.notebook .progressbar row:hover:nth-child(odd),

GtkTreeView.progressbar row:hover:nth-child(odd),
GtkTreeView .progressbar row:hover:nth-child(odd),
.cell.progressbar row:hover:nth-child(odd),
.progressbar row:hover:nth-child(odd) {
	border-width: 1px;
    border-style: solid;
    border-color: transparent;
	border-image: none;

	background-color: mix(black, @theme_selected_bg_color, 0.3);
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, @theme_selected_bg_color, 0.45), 0.38),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      @theme_selected_bg_color
                                      );
	background-clip: padding-box;
	box-shadow: inset 0 -1px alpha(@theme_selected_bg_color, 0.30),
				inset 0 -2px alpha(@theme_selected_bg_color, 0.06),
				inset 0 1px alpha(white, 0.16),
				inset 0 2px alpha(white, 0.06),
				inset 0 3px alpha(white, 0.02),
                inset -1px 0 alpha(@theme_selected_bg_color, 0.04),
                inset 1px 0 alpha(@theme_selected_bg_color, 0.26);
    background-size: auto;
}



.notebook GtkTreeView .progressbar row:nth-child(even),
.notebook .progressbar row:nth-child(even),
GtkTreeView .progressbar row:nth-child(even),
.progressbar row:nth-child(even),

.notebook GtkTreeView .progressbar row:nth-child(even):selected,
.notebook .progressbar row:nth-child(even):selected,
GtkTreeView .progressbar row:nth-child(even):selected,
.progressbar row:nth-child(even):selected,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:focus,
.notebook .progressbar row:nth-child(even):selected:focus,
GtkTreeView .progressbar row:nth-child(even):selected:focus,
.progressbar row:nth-child(even):selected:focus,

.notebook GtkTreeView.progressbar row:nth-child(even):hover,
.notebook GtkTreeView .progressbar row:nth-child(even):hover,
.notebook .cell.progressbar row:hover,
.notebook .progressbar row:hover,

GtkTreeView.progressbar row:hover:nth-child(even),
GtkTreeView .progressbar row:hover:nth-child(even),
.cell.progressbar row:hover,
.progressbar row:hover {
	border-width: 1px;
    border-style: solid;
    border-color: transparent;
	border-image: none;

	background-color: mix(black, @theme_selected_bg_color, 0.55);
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, @theme_selected_bg_color, 0.55), 0.38),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      @theme_selected_bg_color
                                      );
	background-clip: padding-box;
	box-shadow: inset 0 -1px alpha(@theme_selected_bg_color, 0.30),
				inset 0 -2px alpha(@theme_selected_bg_color, 0.06),
				inset 0 1px alpha(white, 0.16),
				inset 0 2px alpha(white, 0.06),
				inset 0 3px alpha(white, 0.02),
                inset -1px 0 alpha(@theme_selected_bg_color, 0.04),
                inset 1px 0 alpha(@theme_selected_bg_color, 0.26);
    background-size: auto;
}

.progressbar row:selected,
.progressbar row:selected:focus,
.notebook GtkTreeView .progressbar row:nth-child(odd):selected,
.notebook .progressbar row:nth-child(odd):selected,
GtkTreeView .progressbar row:nth-child(odd):selected,
.progressbar row:nth-child(odd):selected,
.notebook GtkTreeView .progressbar row:nth-child(odd):selected:focus,
.notebook .progressbar row:nth-child(odd):selected:focus,
GtkTreeView .progressbar row:nth-child(odd):selected:focus,
.progressbar row:nth-child(odd):selected:focus,
.notebook GtkTreeView .progressbar row:nth-child(even):selected,
.notebook .progressbar row:nth-child(even):selected,
GtkTreeView .progressbar row:nth-child(even):selected,
.progressbar row:nth-child(even):selected,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:focus,
.notebook .progressbar row:nth-child(even):selected:focus,
GtkTreeView .progressbar row:nth-child(even):selected:focus,
.progressbar row:nth-child(even):selected:focus {
	border-width: 1px;
    border-style: solid;
    border-color: transparent;
	border-image: none;
	color: white;
	text-shadow: 0 1px alpha(black, 0.65);
	background-color: mix(black, @theme_selected_bg_color, 0.7);
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, @theme_selected_bg_color, 0.7), 0.38),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      @theme_selected_bg_color
                                      );
}

.progressbar row:disabled,
.progressbar row:disabled:focus,
.notebook GtkTreeView .progressbar row:disabled,
.notebook .progressbar row:disabled,
GtkTreeView .progressbar row:disabled,
.progressbar row:disabled,
.notebook GtkTreeView .progressbar row:disabled:focus,
.notebook .progressbar row:disabled:focus,
GtkTreeView .progressbar row:disabled:focus,
.progressbar row:disabled:focus {
    background-color: transparent;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    box-shadow: inset 0 1px alpha(white, 0.08),
				inset 1px 0 alpha(white, 0.04),
				inset 0 2px alpha(white, 0.04),
				inset 0 3px alpha(white, 0.02),
				inset -1px 0 alpha(black, 0.36);
	background-image: linear-gradient(to bottom,
                                     mix(shade(@disabled_bg_color, 2.3), white, 0.08),
                                     mix(shade(@disabled_bg_color, 1.9), white, 0.08));
}

.progressbar row:disabled:selected:selected,
.progressbar row:disabled:selected:selected:focused,
.notebook GtkTreeView .progressbar row:nth-child(even):disabled:selected:selected,
.notebook .progressbar row:nth-child(even):disabled:selected:selected,
GtkTreeView .progressbar row:nth-child(even):disabled:selected:selected,
.progressbar row:nth-child(even):disabled:selected:selected,
.notebook GtkTreeView .progressbar row:nth-child(even):disabled:selected:selected:focus,
.notebook .progressbar row:nth-child(even):disabled:selected:selected:focus,
GtkTreeView .progressbar row:nth-child(even):disabled:selected:selected:focus,
.progressbar row:nth-child(even):disabled:selected:selected:focus,
.notebook GtkTreeView .progressbar row:nth-child(odd):disabled:selected:selected,
.notebook .progressbar row:nth-child(odd):disabled:selected:selected,
GtkTreeView .progressbar row:nth-child(odd):disabled:selected:selected,
.progressbar row:nth-child(odd):disabled:selected:selected,
.notebook GtkTreeView .progressbar row:nth-child(odd):disabled:selected:selected:focus,
.notebook .progressbar row:nth-child(odd):disabled:selected:selected:focus,
GtkTreeView .progressbar row:nth-child(odd):disabled:selected:selected:focus,
.progressbar row:nth-child(odd):disabled:selected:selected:focus {
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.32),
                                      alpha(white, 0.04) 49%,
                                      alpha(black, 0.17) 51%,
                                      alpha(black, 0.08)
                                      ),
                                      linear-gradient(to bottom,
                                     alpha(shade(@disabled_bg_color, 1.1), 0.6),
                                     alpha(shade(@disabled_bg_color, 1.0), 0.6));
    background-color: transparent;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    box-shadow: inset 0 1px alpha(white, 0.26),
    inset 1px 0 alpha(white, 0.13),
    inset -1px 0 alpha(black, 0.28);
}

/*.progressbar:backdrop,*/
.progressbar row:backdrop,
.notebook GtkTreeView .progressbar row:nth-child(odd):backdrop,
.notebook .progressbar row:nth-child(odd):backdrop,
GtkTreeView .progressbar row:nth-child(odd):backdrop,
.progressbar row:nth-child(odd):backdrop,
.notebook GtkTreeView .progressbar row:nth-child(odd):focus:backdrop,
.notebook .progressbar row:nth-child(odd):focus:backdrop,
GtkTreeView .progressbar row:nth-child(odd):focus:backdrop,
.progressbar row:nth-child(odd):focus:backdrop,
.notebook GtkTreeView .progressbar row:nth-child(even):backdrop,
.notebook .progressbar row:nth-child(even):backdrop,
GtkTreeView .progressbar row:nth-child(even):backdrop,
.progressbar row:nth-child(even):backdrop,
.notebook GtkTreeView .progressbar row:nth-child(even):focus:backdrop,
.notebook .progressbar row:nth-child(even):focus:backdrop,
GtkTreeView .progressbar row:nth-child(even):focus:backdrop,
.progressbar row:nth-child(even):focus:backdrop,
/*.progressbar.vertical:backdrop,
.progressbar:backdrop:backdrop:hover,*/
.progressbar row:backdrop:backdrop:hover,
.notebook GtkTreeView .progressbar row:nth-child(odd):backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(odd):backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(odd):backdrop:backdrop:hover,
.progressbar row:nth-child(odd):backdrop:backdrop:hover,
.notebook GtkTreeView .progressbar row:nth-child(odd):focus:backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(odd):focus:backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(odd):focus:backdrop:backdrop:hover,
.progressbar row:nth-child(odd):focus:backdrop:backdrop:hover,
.notebook GtkTreeView .progressbar row:nth-child(even):backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(even):backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(even):backdrop:backdrop:hover,
.progressbar row:nth-child(even):backdrop:backdrop:hover,
.notebook GtkTreeView .progressbar row:nth-child(even):focus:backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(even):focus:backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(even):focus:backdrop:backdrop:hover,
.progressbar row:nth-child(even):focus:backdrop:backdrop:hover/*
, .progressbar.vertical:backdrop:backdrop:hover*/ {
	color: @theme_unfocused_fg_color;

	background-color: mix(black, @theme_selected_bg_color, 0.1);
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, @theme_selected_bg_color, 0.25), 0.22),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      shade(@theme_selected_bg_color, 0.8)
                                      );
	box-shadow: inset 0 -1px alpha(@theme_selected_bg_color, 0.15),
				inset 0 -2px alpha(@theme_selected_bg_color, 0.03),
				inset 0 1px alpha(white, 0.08),
				inset 0 2px alpha(white, 0.03),
				inset 0 3px alpha(white, 0.01),
                inset -1px 0 alpha(@theme_selected_bg_color, 0.02),
                inset 1px 0 alpha(@theme_selected_bg_color, 0.13);
}

.progressbar:backdrop:disabled,
.progressbar row:backdrop:disabled,
.notebook GtkTreeView .progressbar row:nth-child(odd):backdrop:disabled,
.notebook .progressbar row:nth-child(odd):backdrop:disabled,
GtkTreeView .progressbar row:nth-child(odd):backdrop:disabled,
.progressbar row:nth-child(odd):backdrop:disabled,
.notebook GtkTreeView .progressbar row:nth-child(odd):focus:backdrop:disabled,
.notebook .progressbar row:nth-child(odd):focus:backdrop:disabled,
GtkTreeView .progressbar row:nth-child(odd):focus:backdrop:disabled,
.progressbar row:nth-child(odd):focus:backdrop:disabled,
.notebook GtkTreeView .progressbar row:nth-child(even):backdrop:disabled,
.notebook .progressbar row:nth-child(even):backdrop:disabled,
GtkTreeView .progressbar row:nth-child(even):backdrop:disabled,
.progressbar row:nth-child(even):backdrop:disabled,
.notebook GtkTreeView .progressbar row:nth-child(even):focus:backdrop:disabled,
.notebook .progressbar row:nth-child(even):focus:backdrop:disabled,
GtkTreeView .progressbar row:nth-child(even):focus:backdrop:disabled,
.progressbar row:nth-child(even):focus:backdrop:disabled,
.progressbar.vertical:backdrop:disabled,
.progressbar:backdrop:disabled:selected,
.progressbar row:backdrop:disabled:selected,
.notebook GtkTreeView .progressbar row:nth-child(odd):backdrop:disabled:selected,
.notebook .progressbar row:nth-child(odd):backdrop:disabled:selected,
GtkTreeView .progressbar row:nth-child(odd):backdrop:disabled:selected,
.progressbar row:nth-child(odd):backdrop:disabled:selected,
.notebook GtkTreeView .progressbar row:nth-child(odd):focus:backdrop:disabled:selected,
.notebook .progressbar row:nth-child(odd):focus:backdrop:disabled:selected,
GtkTreeView .progressbar row:nth-child(odd):focus:backdrop:disabled:selected,
.progressbar row:nth-child(odd):focus:backdrop:disabled:selected,
.notebook GtkTreeView .progressbar row:nth-child(even):backdrop:disabled:selected,
.notebook .progressbar row:nth-child(even):backdrop:disabled:selected,
GtkTreeView .progressbar row:nth-child(even):backdrop:disabled:selected,
.progressbar row:nth-child(even):backdrop:disabled:selected,
.notebook GtkTreeView .progressbar row:nth-child(even):focus:backdrop:disabled:selected,
.notebook .progressbar row:nth-child(even):focus:backdrop:disabled:selected,
GtkTreeView .progressbar row:nth-child(even):focus:backdrop:disabled:selected,
.progressbar row:nth-child(even):focus:backdrop:disabled:selected,
.progressbar.vertical:backdrop:disabled:selected {
	background-color: transparent;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    box-shadow: inset 0 1px alpha(white, 0.06),
				inset 1px 0 alpha(white, 0.035),
				inset 0 2px alpha(white, 0.03),
				inset 0 3px alpha(white, 0.012),
				inset -1px 0 alpha(black, 0.36);
	background-image: linear-gradient(to bottom,
                                     mix(shade(@disabled_bg_color, 2.3), black, 0.2),
                                     mix(shade(@disabled_bg_color, 1.9), black, 0.2));


}

.progressbar row:selected:selected:backdrop:backdrop:hover:focus,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover,

.progressbar row:selected:selected:backdrop:backdrop,
.progressbar row:hover:selected:selected:backdrop:backdrop,
.progressbar row:selected:selected:backdrop:backdrop:focused,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop {
	background-color: transparent;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    background-color: mix(black, @theme_selected_bg_color, 0.4);
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, @theme_selected_bg_color, 0.4), 0.22),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      shade(@theme_selected_bg_color, 0.8)
                                      );
    box-shadow: inset 0 -1px alpha(@theme_selected_bg_color, 0.15),
				inset 0 -2px alpha(@theme_selected_bg_color, 0.03),
				inset 0 1px alpha(white, 0.08),
				inset 0 2px alpha(white, 0.03),
				inset 0 3px alpha(white, 0.01),
                inset -1px 0 alpha(@theme_selected_bg_color, 0.02),
                inset 1px 0 alpha(@theme_selected_bg_color, 0.13);
}

.progressbar row:selected:selected:backdrop:backdrop:hover:focus:disabled,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop:hover:disabled,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:hover:disabled,

.progressbar row:selected:selected:backdrop:backdrop:disabled,
.progressbar row:hover:selected:selected:backdrop:backdrop:disabled,
.progressbar row:selected:selected:backdrop:backdrop:focused:disabled,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:disabled,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:disabled,

.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
.progressbar row:nth-child(even):selected:selected:backdrop:backdrop:disabled,
.notebook GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:disabled,
.notebook .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:disabled,
GtkTreeView .progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop:disabled,
.progressbar row:nth-child(even):selected:selected:focus:backdrop:backdrop {
	background-color: transparent;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    box-shadow: inset 0 1px alpha(white, 0.08),
				inset 1px 0 alpha(white, 0.04),
				inset 0 2px alpha(white, 0.04),
				inset 0 3px alpha(white, 0.02),
				inset -1px 0 alpha(black, 0.36);

	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.16),
                                      alpha(white, 0.02) 49%,
                                      alpha(black, 0.085) 51%,
                                      alpha(black, 0.04)
                                      ),
                     linear-gradient(to bottom,
                                     alpha(mix(shade(@disabled_bg_color, 1.1), black, 0.2), 0.6),
                                     alpha(mix(shade(@disabled_bg_color, 1.0), black, 0.2), 0.6));
}

/* TROUGH */
.trough,
.trough.vertical {
    border-radius: 100px;
    border-width: 0px 0 1px 0;
    border-style: solid;
	background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.5),
                                     alpha(black, 0.2)
                                      );
	box-shadow: inset 0 -1px alpha(black, 0.36),
				1px 1px rgba(0,0,0,0.32) inset,
				1px 0 rgba(0,0,0,0.28) inset,
				-1px 0 alpha(white, 0.2) inset,
				0 2px rgba(0,0,0,0.08) inset,
				2px 0 rgba(0,0,0,0.04) inset,
				-2px 0 rgba(0,0,0,0.28) inset,
				0 3px rgba(0,0,0,0.04) inset,
				0 4px rgba(0,0,0,0.02) inset;



	border-image: none;
   border-color: #1d1d1d;
   border-bottom-color: @trough_border_bottom;
}

.trough.vertical {
	background-image: linear-gradient(to right,
                                     alpha(black, 0.5),
                                     alpha(black, 0.3)
                                      );
     box-shadow: inset 0 -1px alpha(black, 0.26),
				1px 1px rgba(0,0,0,0.22) inset,
				1px 0 rgba(0,0,0,0.18) inset,
				-1px 0 alpha(white, 0.2) inset,
				0 2px rgba(0,0,0,0.08) inset,
				2px 0 rgba(0,0,0,0.04) inset,
				-2px 0 rgba(0,0,0,0.18) inset,
				0 3px rgba(0,0,0,0.04) inset,
				0 4px rgba(0,0,0,0.02) inset;
}

.trough row {
    padding: 0px;
}

.trough row,
.notebook GtkTreeView .trough row,
.notebook GtkTreeView.trough row,
.notebook GtkTreeView .trough row:hover,
.notebook GtkTreeView.trough row:hover,
GtkTreeView.trough row,
GtkTreeView .trough row,
GtkTreeView.trough row:hover,
GtkTreeView .trough row:hover,
.cell.trough row,
.cell.trough row:hover,
.notebook .cell.trough row,
.notebook .cell.trough row:hover,
.trough row:hover {
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.08);
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: @trough_row_border;
    border-top-color: @trough_row_border_top;
    border-bottom-color: @trough_row_border_bottom;
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.5),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(shade(@theme_fg_color, 0.75), @theme_selected_bg_color, 0.06),
                                      mix(shade(@theme_fg_color, 0.75), @theme_selected_bg_color, 0.2)
                                      );
    border-image: none;
    color: shade(@theme_selected_bg_color, 0.65);
}

GtkTreeView .trough row:focus,
GtkTreeView.trough row:focus,
GtkTreeView .trough row:selected:selected:selected,/*We must use 'selected' 3x's to overide 'treeview odd/even row' double 'selected' */
GtkTreeView.trough row:selected:selected:selected,
GtkTreeView .trough row:selected:hover,
GtkTreeView.trough row:selected:hover,
GtkTreeView .trough row:selected:focus,
GtkTreeView.trough row:selected:focus,
GtkTreeView .trough row:selected:hover:focus,
GtkTreeView.trough row:selected:hover:focus,

.notebook GtkTreeView .trough row:focus,
.notebook GtkTreeView.trough row:focus,
.notebook GtkTreeView .trough row:selected:selected:selected,
.notebook GtkTreeView.trough row:selected:selected:selected,
.notebook GtkTreeView .trough row:selected:hover,
.notebook GtkTreeView.trough row:selected:hover,
.notebook GtkTreeView .trough row:selected:focus,
.notebook GtkTreeView.trough row:selected:focus,
.notebook GtkTreeView .trough row:selected:hover:focus,
.notebook GtkTreeView.trough row:selected:hover:focus,

.trough row:focus,
.trough row:hover:selected:selected,
.trough row:hover:selected:focus,
.trough row:selected:selected,
.trough row:selected:focus {
	border-image: none;
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.08);
	color: #020202;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: shade(@trough_row_border, 1.1);
    border-top-color: shade(@trough_row_border_top, 1.1);
    border-bottom-color: shade(@trough_row_border_bottom, 1.1);
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.5),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(shade(@theme_fg_color, 0.65), @theme_selected_bg_color, 0.06),
                                      mix(shade(@theme_fg_color, 0.65), @theme_selected_bg_color, 0.2)
                                      );
}

.notebook GtkTreeView .trough row:disabled,
GtkTreeView .trough row:disabled,
.trough row:disabled {
	border-image: none;
    border-radius: 100px;
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.06);
    border-radius: 100px;
    border-color: @trough_row_border;
    border-top-color: @trough_row_border_top;
    border-bottom-color: @trough_row_border_bottom;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.4),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(@theme_text_color, @disabled_bg_color, 0.65),
                                      mix(@theme_text_color, @disabled_bg_color, 0.85)
                                      );

    background-color: transparent;
}

.notebook GtkTreeView .trough row:disabled:selected:selected:selected,
GtkTreeView .trough row:disabled:selected:selected:selected,
.trough row:disabled:selected:selected:selected:selected {
	border-image: none;
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.06);
    border-radius: 100px;
    border-color: shade(@trough_row_border, 1.6);
    border-top-color: shade(@trough_row_border_top, 1.6);
    border-bottom-color: shade(@trough_row_border_bottom, 1.6);
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.4),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(@theme_text_color, @theme_selected_bg_color, 0.55),
                                      mix(@theme_text_color, @theme_selected_bg_color, 0.75)
                                      );
}

.trough:backdrop,
.trough.vertical:backdrop {
	color: shade(@theme_unfocused_text_color,0.95);
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.36),
                                     alpha(black, 0.1)
                                      );
    border-radius: 100px;
    border-width: 0px 0 1px 0;
    border-style: solid;
	box-shadow: inset 0 -1px alpha(black, 0.26),
				1px 1px rgba(0,0,0,0.22) inset,
				1px 0 rgba(0,0,0,0.18) inset,
				-1px 0 alpha(white, 0.04) inset,
				0 2px rgba(0,0,0,0.04) inset,
				2px 0 rgba(0,0,0,0.02) inset,
				-2px 0 rgba(0,0,0,0.18) inset,
				0 3px rgba(0,0,0,0.02) inset,
				0 4px rgba(0,0,0,0.01) inset;

   border-image: none;
   border-color: #1d1d1d;
   border-right-color: #2a2a2a;
   border-left-color: #2a2a2a;
   border-top-color: #181818;
   border-bottom-color: @trough_border_backdrop_bottom;
}

.trough.vertical:backdrop {
    background-image: linear-gradient(to right,
                                     alpha(black, 0.36),
                                     alpha(black, 0.1)
                                      );
}

.trough row:backdrop:backdrop,
GtkTreeView.trough row:backdrop:backdrop,
GtkTreeView .trough row:backdrop:backdrop,
.cell.trough row:backdrop:backdrop,
.cell.trough row:selected:backdrop,
.cell.trough row:selected:focus:backdrop,
GtkTreeView .trough row:selected:backdrop,
GtkTreeView.trough row:selected:backdrop,
GtkTreeView .trough row:selected:selected:selected:backdrop,
GtkTreeView.trough row:selected:selected:selected:backdrop,
.notebook GtkTreeView .trough row:selected:selected:selected:backdrop,
.notebook GtkTreeView.trough row:selected:selected:selected:backdrop,

GtkTreeView.trough row:hover:backdrop:backdrop:hover,
GtkTreeView .trough row:hover:backdrop:backdrop:hover,
.cell.trough row:hover:backdrop:backdrop:hover,
.trough row:hover:backdrop:backdrop:hover,
.cell.trough row:hover:selected:backdrop:backdrop:hover,
.cell.trough row:hover:selected:focus:backdrop:backdrop:hover,
GtkTreeView .trough row:hover:backdrop:backdrop:hover,
GtkTreeView.trough row:hover:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:selected:selected:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:selected:selected:backdrop:backdrop:hover,
.notebook GtkTreeView .trough row:selected:selected:selected:backdrop:backdrop:hover,
.notebook GtkTreeView.trough row:selected:selected:selected:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:hover:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:hover:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:focus:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:focus:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:hover:focus:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:hover:focus:backdrop:backdrop:hover,
.trough row:hover:selected:backdrop:backdrop:hover,
.trough row:hover:selected:focus:backdrop:backdrop:hover,

.trough row:selected:backdrop,
.trough row:selected:focus:backdrop {
	border-image: none;
    box-shadow: none;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: #1a1a1a;
    background-image: none;
    background-color: @theme_unfocused_bg_color;
    color: shade(@unfocused_borders, 1.25);
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.08);
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: @trough_row_border_backdrop;
    border-top-color: @trough_row_border_backdrop_top;
    border-bottom-color: @trough_row_border_backdrop_bottom;
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.45),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(shade(@theme_fg_color, 0.55), @theme_selected_bg_color, 0.04),
                                      mix(shade(@theme_fg_color, 0.55), @theme_selected_bg_color, 0.14)
                                      );
    border-image: none;
}

.trough row:backdrop:backdrop:disabled,
GtkTreeView.trough row:backdrop:backdrop:disabled,
GtkTreeView .trough row:backdrop:backdrop:disabled,
.cell.trough row:backdrop:backdrop:disabled,
.cell.trough row:selected:backdrop:disabled,
.cell.trough row:selected:focus:backdrop:disabled,
GtkTreeView .trough row:selected:backdrop:disabled,
GtkTreeView.trough row:selected:backdrop:disabled,
GtkTreeView .trough row:selected:selected:selected:backdrop:disabled,
GtkTreeView.trough row:selected:selected:selected:backdrop:disabled,
.notebook GtkTreeView .trough row:selected:selected:selected:backdrop:disabled,
.notebook GtkTreeView.trough row:selected:selected:selected:backdrop:disabled,

GtkTreeView.trough row:hover:backdrop:backdrop:hover:disabled,
GtkTreeView .trough row:hover:backdrop:backdrop:hover:disabled,
.cell.trough row:hover:backdrop:backdrop:hover:disabled,
.trough row:hover:backdrop:backdrop:hover:disabled,
.cell.trough row:hover:selected:backdrop:backdrop:hover:disabled,
.cell.trough row:hover:selected:focus:backdrop:backdrop:hover:disabled,
GtkTreeView .trough row:hover:backdrop:backdrop:hover:disabled,
GtkTreeView.trough row:hover:backdrop:backdrop:hover:disabled,
GtkTreeView .trough row:selected:selected:selected:backdrop:backdrop:hover:disabled,
GtkTreeView.trough row:selected:selected:selected:backdrop:backdrop:hover:disabled,
.notebook GtkTreeView .trough row:selected:selected:selected:backdrop:backdrop:hover:disabled,
.notebook GtkTreeView.trough row:selected:selected:selected:backdrop:backdrop:hover:disabled,
GtkTreeView .trough row:selected:hover:backdrop:backdrop:hover:disabled,
GtkTreeView.trough row:selected:hover:backdrop:backdrop:hover:disabled,
GtkTreeView .trough row:selected:focus:backdrop:backdrop:hover:disabled,
GtkTreeView.trough row:selected:focus:backdrop:backdrop:hover:disabled,
GtkTreeView .trough row:selected:hover:focus:backdrop:backdrop:hover:disabled,
GtkTreeView.trough row:selected:hover:focus:backdrop:backdrop:hover:disabled,
.trough row:hover:selected:backdrop:backdrop:hover:disabled,
.trough row:hover:selected:focus:backdrop:backdrop:hover:disabled,

.trough row:selected:backdrop:disabled,
.trough row:selected:focus:backdrop:disabled {
	border-image: none;
    box-shadow: none;
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: #1a1a1a;
    background-image: none;
    background-color: @theme_unfocused_bg_color;
    color: shade(@unfocused_borders, 1.25);
    border-image: none;
    border-radius: 100px;
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.06);
    border-radius: 100px;
    border-color: @trough_row_border_backdrop;
    border-top-color: @trough_row_border_backdrop_top;
    border-bottom-color: @trough_row_border_backdrop_bottom;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.45),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(shade(@theme_text_color, 0.65), @unfocused_disabled_bg_color, 0.65),
                                      mix(shade(@theme_text_color, 0.65), @unfocused_disabled_bg_color, 0.85)
                                      );

    background-color: transparent;
}

.cell.trough row:selected:backdrop,
.cell.trough row:selected:focus:backdrop,
GtkTreeView .trough row:selected:backdrop,
GtkTreeView.trough row:selected:backdrop,
GtkTreeView .trough row:selected:selected:selected:backdrop,
GtkTreeView.trough row:selected:selected:selected:backdrop,
.notebook GtkTreeView .trough row:selected:selected:selected:backdrop,
.notebook GtkTreeView.trough row:selected:selected:selected:backdrop,
.cell.trough row:hover:selected:backdrop:backdrop:hover,
.cell.trough row:hover:selected:focus:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:selected:selected:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:selected:selected:backdrop:backdrop:hover,
.notebook GtkTreeView .trough row:selected:selected:selected:backdrop:backdrop:hover,
.notebook GtkTreeView.trough row:selected:selected:selected:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:hover:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:hover:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:focus:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:focus:backdrop:backdrop:hover,
GtkTreeView .trough row:selected:hover:focus:backdrop:backdrop:hover,
GtkTreeView.trough row:selected:hover:focus:backdrop:backdrop:hover,
.trough row:hover:selected:backdrop:backdrop:hover,
.trough row:hover:selected:focus:backdrop:backdrop:hover,
.trough row:selected:backdrop,
.trough row:selected:focus:backdrop {
	color: shade(@unfocused_borders, 1.65);
	border-image: none;
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.08);
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: @trough_row_border;
    border-top-color: @trough_row_border_top;
    border-bottom-color: @trough_row_border_bottom;
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.4),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(shade(@theme_fg_color, 0.74), @theme_selected_bg_color, 0.04),
                                      mix(shade(@theme_fg_color, 0.74), @theme_selected_bg_color, 0.12)
                                      );
   }
/*
GtkTreeView .trough row:disabled:backdrop,
.notebook GtkTreeView .trough row:disabled:backdrop,
.trough row:disabled:backdrop,*/

.notebook GtkTreeView .trough row:disabled:selected:selected:selected:backdrop,
GtkTreeView .trough row:disabled:selected:selected:selected:backdrop,
.trough row:disabled:selected:selected:selected:selected:backdrop {
    color: mix(@disabled_bg_color, @disabled_fg_color, 0.5);

    border-image: none;
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.06);
    border-radius: 100px;
    border-color: @trough_row_border;
    border-top-color: @trough_row_border_top;
    border-bottom-color: @trough_row_border_bottom;
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.42),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(shade(@theme_text_color, 0.5), @theme_selected_bg_color, 0.45),
                                      mix(shade(@theme_text_color, 0.5), @theme_selected_bg_color, 0.65)
                                      );
}

GtkProgressBar:backdrop,
GtkProgressBar.vertical:backdrop{
    background-color: transparent;
    background-image: -gtk-gradient (linear,
                                     left top, left bottom,
                                     from (@theme_text_color),
                                     to (@theme_text_color));
}

/* level bars as used for password quality or remaining power */
GtkLevelBar {
    -GtkLevelBar-min-block-width: 34;
    -GtkLevelBar-min-block-height: 7;
    padding: 1px;
}

GtkLevelBar.vertical {
    -GtkLevelBar-min-block-width: 7;
    -GtkLevelBar-min-block-height: 34;
    padding: 1px;
}
.level-bar.indicator-discrete.trough,
.level-bar.indicator-discrete.trough:backdrop,
.level-bar.indicator-discrete.trough.vertical,
.level-bar.indicator-discrete.trough.vertical:backdrop,
.level-bar.trough,
.level-bar.trough:backdrop,
.level-bar.trough.vertical,
.level-bar.trough.vertical:backdrop {
    border-radius: 100px;
    border-width: 0px 0 1px 0;
    border-style: solid;
	background-color: @notebook_tab_bg;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.5),
                                     alpha(black, 0.2)
                                      );
	box-shadow: inset 0 -1px alpha(black, 0.36),
				1px 1px rgba(0,0,0,0.32) inset,
				1px 0 rgba(0,0,0,0.28) inset,
				0 2px rgba(0,0,0,0.08) inset,
				2px 0 rgba(0,0,0,0.04) inset,
				-2px 0 rgba(0,0,0,0.28) inset,
				0 3px rgba(0,0,0,0.04) inset,
				0 4px rgba(0,0,0,0.02) inset;



	border-image: none;
   border-color: #1d1d1d;
   border-bottom-color: alpha(white, 0.03);
}

/*
.level-bar.trough:backdrop,
.level-bar.trough {
	border-width: 1px;
	border-color: #0a0a0a;
    background-color: black;
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, shade(@progressbar_background_a, 0.4), 0.35), 0.36),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      shade(@progressbar_background_a, 0.6)
                                      );

	box-shadow: inset 0 -1px alpha(@progressbar_background_a, 0.06),
				inset 0 1px alpha(@progressbar_background_a, 0.31),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(@progressbar_background_a, 0.04),
                inset 1px 0 alpha(@progressbar_background_a, 0.26);
}

.level-bar.trough.vertical:backdrop,
.level-bar.trough.vertical {
    background-color: black;
	background-image: linear-gradient(to right,
                                      alpha(mix(white, shade(@progressbar_background_a, 0.4), 0.35), 0.36),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to right,
                                      transparent 33%,
                                      shade(@progressbar_background_a, 0.6)
                                      );

	box-shadow: inset 0 -1px alpha(@progressbar_background_a, 0.06),
				inset 0 1px alpha(@progressbar_background_a, 0.31),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(@progressbar_background_a, 0.04),
                inset 1px 0 alpha(@progressbar_background_a, 0.26);
}*/

/*
.level-bar.trough ,
.level-bar.trough row:hover {
    box-shadow: inset 0 2px alpha(black, 0.04),
				inset 1px 1px alpha(black, 0.1),
				inset -1px 0 alpha(black, 0.1),
				inset 0 -1px alpha(black, 0.08);
    border-radius: 100px;
    border-width: 1px;
    border-style: solid;
    border-color: @trough_row_border;
    border-top-color: @trough_row_border_top;
    border-bottom-color: @trough_row_border_bottom;
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.5),
                                     alpha(white, 0.1)
                                      ),
                       linear-gradient(to bottom,
                                      mix(@theme_fg_color, @theme_selected_bg_color, 0.06),
                                      mix(@theme_fg_color, @theme_selected_bg_color, 0.2)
                                      );
    border-image: none;
    color: shade(@theme_selected_bg_color, 0.65);
}*/
.level-bar.indicator-discrete.trough.vertical,
.level-bar.trough.vertical {
    border-width: 0px 1px 0 0;
    border-right-color: alpha(white, 0.03);

    /*background-image: linear-gradient(to right,
                                     alpha(black, 0.5),
                                     alpha(black, 0.2)
                                      );*/
}

.level-bar.indicator-discrete.trough:backdrop,
.level-bar.trough:backdrop {
    border-radius: 100px;
    border-width: 0px 0 1px 0;
    border-style: solid;
	border-bottom-color: alpha(white, 0.015);
}

.level-bar.indicator-discrete.trough.vertical:backdrop,
.level-bar.trough.vertical:backdrop {
    border-radius: 100px;
    border-width: 0px 1px 0 0;
    border-style: solid;
	border-right-color: alpha(white, 0.015);
}

.level-bar.fill-block {
    border-width: 0px 1px 0 0;
    border-style: solid;
    border-color: alpha(#edd400, 0.45);
	border-image: none;
	background-color: black;
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, #edd400, 0.25), 0.46),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      alpha(#edd400, 1.0)
                                      );
	background-clip: padding-box;
	box-shadow: inset 0 -1px alpha(#edd400, 0.06),
				inset 0 1px alpha(#edd400, 0.31),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(#edd400, 0.04),
                inset 1px 0 alpha(#edd400, 0.26);
}

.level-bar.indicator-continuous.fill-block {
    padding: 2px;
    border-radius: 100px;
}

.level-bar.fill-block:backdrop,
.level-bar.fill-block.level-low:backdrop,
.level-bar.fill-block.level-high:backdrop {
	border-color: alpha(@progressbar_background_b, 0.45);
    background-color: black;
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white,  mix(shade(@progressbar_background_b, 0.6), @theme_selected_bg_color, 0.12) , 0.25), 0.46),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      mix(shade(@progressbar_background_b, 0.6), @theme_selected_bg_color, 0.12)
                                      );

	box-shadow: inset 0 -1px alpha(@progressbar_background_b, 0.06),
				inset 0 1px alpha(@progressbar_background_b, 0.31),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(@progressbar_background_b, 0.04),
                inset 1px 0 alpha(@progressbar_background_b, 0.26);
}

.level-bar.indicator-discrete.fill-block.horizontal {
    margin: 0px 1px;
    border-radius: 100px;
    border-width: 1px;
    border-color: alpha(black, 0.65);
}

.level-bar.indicator-discrete.fill-block.vertical {
    margin: 1px 0px;
    border-radius: 100px;
    border-width: 1px;
    border-color: alpha(black, 0.65);
}



/* discrete indicator border rounding,
   uncomment when :nth-child will be working
   on the widget

.level-bar.indicator-discrete.fill-block.horizontal:first-child {
    border-radius: 2px 0 0 2px;
}

.level-bar.indicator-discrete.fill-block.horizontal:last-child {
    border-radius: 0 2px 2px 0;
}

.level-bar.indicator-discrete.fill-block.vertical:first-child {
    border-radius: 2px 2px 0 0;
}

.level-bar.indicator-discrete.fill-block.vertical:last-child {
    border-radius: 0 0 2px 2px;
}

*/

.level-bar.fill-block.level-high {
	border-color: alpha(#73d216, 0.45);
    background-color: black;
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, #73d216, 0.25), 0.46),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      alpha(#73d216, 1.0)
                                      );

	box-shadow: inset 0 -1px alpha(#73d216, 0.06),
				inset 0 1px alpha(#73d216, 0.31),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(#73d216, 0.04),
                inset 1px 0 alpha(#73d216, 0.26);
}



.level-bar.fill-block.level-low {
	border-color: alpha(#cc0000, 0.45);
    background-color: black;
	background-image: linear-gradient(to bottom,
                                      alpha(mix(white, #cc0000, 0.3), 0.46),
                                      alpha(black, 0.08)
                                      ),
                      linear-gradient(to bottom,
                                      transparent 33%,
                                      alpha(#cc0000, 1.0)
                                      );

	box-shadow: inset 0 -1px alpha(#cc0000, 0.06),
				inset 0 1px alpha(#cc0000, 0.31),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(#cc0000, 0.04),
                inset 1px 0 alpha(#cc0000, 0.26);
}



.level-bar.fill-block.empty-fill-block,
.level-bar.fill-block.empty-fill-block:backdrop {
    background-color: transparent;
    background-image: none;
    border-color: alpha(black, 0.34);
    box-shadow:none;
}

/*.level-bar.fill-block.empty-fill-block:backdrop {
    border-color: transparent;
    background-color: transparent;
}*/

/************
 * GtkScale *
 ************/

.scale {
    -GtkScale-slider-length: 18;
    -GtkRange-slider-width: 18;
    -GtkRange-trough-border: 0;
}

.scale.scale-has-marks-above.horizontal,
.scale.scale-has-marks-below.horizontal {
	-GtkScale-slider-length: 21;
    -GtkRange-slider-width: 20;
}

.scale.scale-has-marks-right.horizontal,
.scale.scale-has-marks-left.horizontal {
	-GtkScale-slider-length: 20;
    -GtkRange-slider-width: 20;
}

.scale.slider,
.scale.slider:hover,
.scale.slider:disabled,
.scale.slider:backdrop,
.scale.slider:disabled:backdrop {
    border-radius: 0;
    border-style: none;
    background-color: transparent;

    /* background-image in -assets variant */
}

.scale.trough {
    margin: 4px 8px;
}

.scale.trough.vertical {
    margin: 8px 4px;
}

.scale.scale-has-marks-above.trough.horizontal,
.scale.scale-has-marks-below.trough.horizontal {
	margin: 4px 10px;
}

.scale.scale-has-marks-right.horizontal,
.scale.scale-has-marks-left.horizontal {
	margin: 10px 4px;
}

.scale.trough.highlight:backdrop,
.scale.trough.vertical.highlight:backdrop {
    background-color: mix(@scale_highlight_bg, black, 0.25);
}

.scale.trough.vertical.highlight:backdrop {
    box-shadow: none;
}

.scale.progressbar {
    background-color: @scale_progress_fill;
}

.scale.progressbar:backdrop {
    background-color: mix(@scale_progress_fill, black, 0.25);
}

.scale.mark.separator {
    /* defines the color of the actuall marks on the scale */
    color: alpha(@theme_fg_color, 0.3);
}

.scale.trough,
.scale.trough.highlight,
.scale.trough.vertical.highlight,
.scale.trough row,
.scale.trough row:hover,
.scale.trough row:selected,
.scale.trough row:selected:focused,
.scale.trough:disabled {
   border-radius: 10px;
    border-width: 1px 0 1px 0;
    border-style: solid;
	background-color: transparent;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.5),
                                     alpha(black, 0.3)
                                      );
	box-shadow: inset 0 -1px alpha(black, 0.36),
				1px 1px rgba(0,0,0,0.32) inset,
				1px 0 rgba(0,0,0,0.28) inset,
				-1px 0 alpha(white, 0.2) inset,
				0 2px rgba(0,0,0,0.08) inset,
				2px 0 rgba(0,0,0,0.04) inset,
				-2px 0 rgba(0,0,0,0.28) inset,
				0 3px rgba(0,0,0,0.04) inset,
				0 4px rgba(0,0,0,0.02) inset;
	border-image: none;
   border-color: alpha(@trough_border_bottom, 0.5);
   border-bottom-color: @trough_border_bottom;

}

.scale.trough.vertical,
.scale.trough.highlight.vertical {
	border-width: 0 1px 0 1px;
	border-right-color: @trough_border_bottom;
	background-image: linear-gradient(to right,
                                     alpha(black, 0.5),
                                     alpha(black, 0.3)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.36),
				1px 1px rgba(0,0,0,0.32) inset,
				1px 0 rgba(0,0,0,0.28) inset,
				-1px 0 alpha(black, 0.20) inset,
				0 2px rgba(0,0,0,0.08) inset,
				2px 0 rgba(0,0,0,0.04) inset,
				-2px 0 rgba(0,0,0,0.28) inset,
				0 3px rgba(0,0,0,0.04) inset,
				0 4px rgba(0,0,0,0.02) inset;
}

.primary-toolbar .scale.trough,
.primary-toolbar .scale.trough.vertical,
.menuitem .scale.trough {
	background-color: @theme_bg_color;
	border-color: alpha(white, 0.03);
	border-bottom-color: alpha(white, 0.045);
	border-right-color: alpha(white, 0.045);
}

.scale.trough.highlight {
	border-radius: 10px ;
	border-width: 1px 0 1px 0;
    background-color: @scale_highlight_bg;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 41%,
                                     alpha(black, 0.75)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.22),
				1px 1px rgba(0,0,0,0.65) inset,
				2px 2px rgba(0,0,0,0.32) inset,
				3px 3px rgba(0,0,0,0.18) inset;
	border-bottom-color: @trough_border_bottom;
}

.scale.trough.vertical.highlight {
	border-radius: 10px;
	border-width: 0 1px 0 1px;
	border-right-color: @trough_border_bottom;
    background-image: linear-gradient(to right,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 51%,
                                     alpha(black, 0.75)
                                      );
    background-color: @scale_highlight_bg;
    box-shadow: inset 0 -1px alpha(black, 0.22),
				1px 1px rgba(0,0,0,0.65) inset,
				-1px 0 alpha(black, 0.42) inset,
				2px 2px rgba(0,0,0,0.32) inset,
				3px 3px rgba(0,0,0,0.18) inset;
}

.primary-toolbar .scale.trough.highlight,
.primary-toolbar .scale.trough.vertical.highlight,
.menuitem .scale.trough.highlight {
	border-color: alpha(white, 0.03);
	border-bottom-color: alpha(white, 0.045);
	border-right-color: alpha(white, 0.045);
}

.scale.trough:disabled,
.scale.trough.vertical:disabled,
.level-bar.trough:disabled {
	background-image: linear-gradient(to bottom,
                                     alpha(black, 0.18),
                                     alpha(black, 0.18)
                                      );
     box-shadow: inset 0 -1px alpha(black, 0.20),
				-1px 0 rgba(0,0,0,0.36) inset,
				1px 1px rgba(0,0,0,0.46) inset,
				2px 2px rgba(0,0,0,0.22) inset,
				3px 3px rgba(0,0,0,0.08) inset;
}

.primary-toolbar .scale.trough:disabled,
.primary-toolbar .scale.trough.vertical:disabled,
.menuitem .scale.trough:disabled {
	background-color: @theme_bg_color;
	background-image: linear-gradient(to bottom,
                                     alpha(black, 0.18),
                                     alpha(black, 0.18)
                                      );
	border-color: alpha(white, 0.023);
	border-bottom-color: alpha(white, 0.035);
	border-right-color: alpha(white, 0.035);
}

.scale.trough.highlight:disabled {
    background-color: alpha(@disabled_fg_color, 0.8);
    background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),


    linear-gradient(to bottom,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 41%,
                                     alpha(black, 0.75)
                                      );
    background-size: 10px 10px, auto;
    box-shadow: inset 0 -1px alpha(black, 0.20),
				1px 1px rgba(0,0,0,0.46) inset,
				2px 2px rgba(0,0,0,0.22) inset,
				3px 3px rgba(0,0,0,0.08) inset;
}

.scale.trough.vertical.highlight:disabled {
    background-color: alpha(@disabled_fg_color, 0.8);
    background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                       linear-gradient(to right,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 51%,
                                     alpha(black, 0.75)
                                      );
    background-size: 10px 10px, auto;
    box-shadow: inset 0 -1px alpha(black, 0.20),
				-1px 0 rgba(0,0,0,0.36) inset,
				1px 1px rgba(0,0,0,0.46) inset,
				2px 2px rgba(0,0,0,0.22) inset,
				3px 3px rgba(0,0,0,0.08) inset;
}

.primary-toolbar .scale.trough.highlight:disabled,
.primary-toolbar .scale.trough.vertical.highlight:disabled,
.menuitem .scale.trough.highlight:disabled {
	border-color: alpha(white, 0.023);
	border-bottom-color: alpha(white, 0.035);
	border-right-color: alpha(white, 0.035);
}

.scale.trough:backdrop,
.scale.trough row:backdrop,
.scale.trough.vertical:backdrop {
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.24),
                                     alpha(black, 0.24)
                                      );
    border-color: alpha(@trough_border_backdrop_bottom, 0.5);
	border-bottom-color: @trough_border_backdrop_bottom;
}

.primary-toolbar .scale.trough:backdrop,
.primary-toolbar .scale.trough row:backdrop,
.primary-toolbar .scale.trough.vertical:backdrop {
	background-color: @theme_bg_color;
	border-color: alpha(white, 0.02);
	border-bottom-color: alpha(white, 0.025);
	border-right-color: alpha(white, 0.025);
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.24),
                                     alpha(black, 0.24)
                                      );
}

.scale.trough.highlight:backdrop {
	background-color: @scale_highlight_bg_backdrop;
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 41%,
                                     alpha(black, 0.68)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.26),
				1px 1px rgba(0,0,0,0.65) inset,
				2px 2px rgba(0,0,0,0.30) inset,
				3px 3px rgba(0,0,0,0.14) inset;
	border-color: alpha(@trough_border_backdrop_bottom, 0.5);
	border-bottom-color: @trough_border_backdrop_bottom;
}

.scale.trough.vertical.highlight:backdrop {
	background-color: @scale_highlight_bg_backdrop;
    background-image: linear-gradient(to right,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 51%,
                                     alpha(black, 0.68)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.26),
				1px 1px rgba(0,0,0,0.65) inset,
				-1px 0 alpha(black, 0.38) inset,
				2px 2px rgba(0,0,0,0.30) inset,
				3px 3px rgba(0,0,0,0.14) inset;
	border-color: alpha(@trough_border_backdrop_bottom, 0.5);
	border-bottom-color: @trough_border_backdrop_bottom;
}

.primary-toolbar .scale.trough.highlight:backdrop,
.primary-toolbar .scale.trough.vertical.highlight:backdrop {
	border-color: alpha(white, 0.02);
	border-bottom-color: alpha(white, 0.025);
	border-right-color: alpha(white, 0.025);
}

.scale.trough:disabled:backdrop,
.scale.trough row:disabled:backdrop,
.scale.trough.vertical:disabled:backdrop,
.level-bar.trough:disabled:backdrop {
	background-image: linear-gradient(to bottom,
                                     alpha(black, 0.14),
                                     alpha(black, 0.14)
                                      );
    border-color: alpha(@trough_border_backdrop_bottom, 0.5);
	border-bottom-color: @trough_border_backdrop_bottom;
	box-shadow: inset 0 -1px alpha(black, 0.20),
				-1px 0 rgba(0,0,0,0.36) inset,
				1px 1px rgba(0,0,0,0.40) inset,
				2px 2px rgba(0,0,0,0.20) inset,
				3px 3px rgba(0,0,0,0.08) inset;
}

.primary-toolbar .scale.trough:disabled:backdrop,
.primary-toolbar .scale.trough row:disabled:backdrop,
.primary-toolbar .scale.trough.vertical:disabled:backdrop {
	background-color: @theme_bg_color;
	border-color: alpha(white, 0.015);
	border-bottom-color: alpha(white, 0.02);
	border-right-color: alpha(white, 0.02);
    background-image: linear-gradient(to bottom,
                                     alpha(black, 0.14),
                                     alpha(black, 0.14)
                                      );
}

.scale.trough.highlight:disabled:backdrop {
    background-color: alpha(@disabled_fg_color, 0.35);
    background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),

    linear-gradient(to bottom,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 41%,
                                     alpha(black, 0.68)
                                      );
    background-size: 10px 10px, auto;
    box-shadow: inset 0 -1px alpha(black, 0.20),
				-1px 0 rgba(0,0,0,0.36) inset,
				1px 1px rgba(0,0,0,0.40) inset,
				2px 2px rgba(0,0,0,0.20) inset,
				3px 3px rgba(0,0,0,0.08) inset;
	border-color: alpha(@trough_border_backdrop_bottom, 0.5);
	border-bottom-color: @trough_border_backdrop_bottom;
}

.scale.trough.vertical.highlight:disabled:backdrop {
    background-color: alpha(@disabled_fg_color, 0.35);
    background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),

    linear-gradient(to right,
                                     alpha(black, 0.0),
                                     alpha(black, 0.0) 51%,
                                     alpha(black, 0.68)
                                      );
    background-size: 10px 10px, auto;
    box-shadow: inset 0 -1px alpha(black, 0.20),
				-1px 0 rgba(0,0,0,0.36) inset,
				1px 1px rgba(0,0,0,0.40) inset,
				2px 2px rgba(0,0,0,0.20) inset,
				3px 3px rgba(0,0,0,0.08) inset;
	border-color: alpha(@trough_border_backdrop_bottom, 0.5);
	border-bottom-color: @trough_border_backdrop_bottom;
}

.primary-toolbar .scale.trough.highlight:disabled:backdrop,
.primary-toolbar .scale.trough.vertical.highlight:disabled:backdrop {
	border-color: alpha(white, 0.015);
	border-bottom-color: alpha(white, 0.02);
	border-right-color: alpha(white, 0.02);
}

/**********
 * Frames *
 **********/
.frame {

    border-radius: 0;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    padding: 0;
    background-color: transparent;

    border-image: url("assets/frame.png") 2 / 2px stretch;
}

.notebook.frame {
    border-image: url("assets/frame.png") 2 / 2px stretch;
    border-radius: 0;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    padding: 0;
    background-color: transparent;
}

.frame:backdrop {
    border-image: url("assets/frame.png") 2 / 2px stretch;
    border-radius: 0;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    padding: 0;
    background-color: transparent;
}

GtkScrolledWindow.frame {
    border-style: solid;
    /*border-bottom-color: @frame_highlight_brightest;
    border-right-color: @frame_highlight;
    border-top-color: @frame;
    border-left-color: @frame_highlight;*/
    border-width: 2px;
    border-radius: 2px;
    padding: 0;
	border-image: url("assets/frame-3.png") 2 / 2px stretch;
}

GtkScrolledWindow.frame:backdrop {
    border-style: solid;
   /* border-bottom-color: shade(@unfocused_frame_highlight, 1.05);
    border-right-color: @unfocused_frame_highlight;
    border-top-color: @unfocused_frame;
    border-left-color: @unfocused_frame_highlight;*/
    border-width: 2px;
    border-radius: 2px;
    padding: 0;
	border-image: url("assets/frame-3.png") 2 / 2px stretch;
}

/* avoid double borders when a viewport is
 * packed into a GtkScrolledWindow */
GtkScrolledWindow GtkViewport.frame,
GtkScrolledWindow GtkViewport.frame:backdrop {
    border-style: none;
}

/* this makes the background for scrollbars in notebooks the same color as notebook background
 * when having scrollbars outside of scrolledwindos, otherwise the background will be the background color.
 * Also the scrolledwindow border under color, in notebooks when alpha is used for the borders*/
.notebook GtkScrolledWindow,
GtkViewport GtkScrolledWindow  {
	background-image: none;
	background-color: @notebook_color;
	}

.notebook GtkScrolledWindow:backdrop,
GtkViewport GtkScrolledWindow:backdrop {
	background-color: shade(@notebook_color, 0.8);
	}

/***********
 * Buttons *
 ***********/
.button,
.button.menuitem.menubar,
GtkColorButton.button,
GtkComboBox.combobox-entry .button {
    padding: 1px 4px;
}

.button.image-button {
    padding: 3px 4px 4px;
}

.button {
    -GtkButton-image-spacing: 4;
    -GtkButton-interior-focus: true;
    -GtkButton-default-border: 0;
    -GtkButton-inner-border: 3;

    color: @theme_text_color;

    border-style: solid;
    border-color: transparent;

    text-shadow: 0 -1px @button_text_shadow;
}

.inline-toolbar.toolbar .button {
	padding: 0 2px 0 2px;
}

.inline-toolbar.toolbar.vertical .button {
	padding: 1px 4px;
}

/* We may want a background for focused buttons, but in the meantime let's remove it too */
.primary-toolbar .button,
.primary-toolbar .button:disabled,
.primary-toolbar .button:backdrop,
.primary-toolbar .button:hover:backdrop,
.primary-toolbar .button:disabled:backdrop {
    background-image: none;
    background-color: transparent;
    border-image: none;
    box-shadow: none;
}

/* Remove borders from primary toolbar buttons*/
.primary-toolbar .button {
    border-image: none;

    /* setting border-style: none; here would override the border-width values
     * we set in gtk-widget-borders.css to zero.
     */
    border-style: solid;
    border-width: 1px 1px 2px 1px;
    border-color: transparent;

    text-shadow: 0 1px @primary_toolbar_button_text_shadow;
}

.primary-toolbar.toolbar .button.image-button {
    padding: 3px 4px 4px;
}

.button *:hover {
    color: shade (@theme_text_color, 1.1);
    text-shadow: 0px 1px @button_text_shadow_hover;
}

.button *:backdrop,
.button *:hover:backdrop,
.button.default *:backdrop,
.button.default *:hover:backdrop {
    color: shade (@theme_fg_color, 0.76);
    text-shadow: none;
}

.button.default {
	color: @theme_selected_fg_color;
	text-shadow: 0 -1px alpha(black, 0.34);
}

.button.default *:hover {
	color: @theme_selected_fg_color;
	text-shadow: 0 1px alpha(black, 0.4);
}

.primary-toolbar .button *:hover {
    color: shade (@theme_fg_color, 1.05);
    text-shadow: 0 -1px alpha(black, 0.38);
    icon-shadow: 0 -1px shade(@button_active_text_shadow, 0.9);
}

.primary-toolbar .button *:backdrop,
.primary-toolbar .button *:hover:backdrop,
.primary-toolbar.button *:hover:backdrop {
    color: shade(@theme_text_color, 0.8);
    text-shadow: none;
    icon-shadow: none;
}

.button *:active,
.button.default *:active,
.primary-toolbar .button *:active,
.inline-toolbar .button *:active {
    color: @button_active_text;
    text-shadow: 0 1px @button_active_text_shadow;
}

.button *:hover:active,
.button.default *:active:hover,
.primary-toolbar .button *:active:hover,
.inline-toolbar .button *:active:hover {
    color: shade(@button_active_text, 1.1);
    text-shadow: 0 -1px shade(@button_active_text_shadow, 1.08);
}

.button *:active:backdrop,
.button *:active:hover:backdrop,

.button.default *:active:backdrop,
.button.default *:active:hover:backdrop,

.primary-toolbar .button *:active:backdrop,
.primary-toolbar .button *:active:hover:backdrop,

.inline-toolbar .button *:active:backdrop,
.inline-toolbar .button *:active:hover:backdrop {
    color: shade(@button_active_text, 0.8);
    text-shadow: none;
    icon-shadow: none;
}

.button *:disabled,
.button.default *:disabled,
.primary-toolbar .button *:disabled,
.inline-toolbar .button *:disabled {
	color: shade(@theme_text_color, 0.5);
	text-shadow: none;
	icon-shadow: none;
}

.button *:disabled:backdrop,
.button.default *:disabled:backdrop,
.primary-toolbar .button *:disabled:backdrop,
.inline-toolbar .button *:disabled:backdrop {
	color: shade(@theme_text_color, 0.35);
	text-shadow: none;
	icon-shadow: none;
}

.button *:active:disabled,
.button.default *:active:disabled,
.primary-toolbar .button *:active:disabled,
.inline-toolbar .button *:active:disabled {
    color: shade(@button_active_text, 0.75);
    text-shadow: none;
    icon-shadow: none;
}

.button *:active:disabled:backdrop,
.button.default *:active:disabled:backdrop,
.primary-toolbar .button *:active:disabled:backdrop,
.inline-toolbar .button *:active:disabled:backdrop {
    color: shade(@button_active_text, 0.45);
    text-shadow: none;
    icon-shadow: none;
}
/* *** */

.toolbar .button.raised *,
.toolbar .raised .button *,
.inline-toolbar .button * {
    icon-shadow: 0 1px @button_text_shadow;
    text-shadow: 0 1px @button_text_shadow;
}

.toolbar .button.raised *:active,
.toolbar .raised .button *:active,
.inline-toolbar .button *:active,
.inline-toolbar .button *:hover {
    icon-shadow: 0 1px @button_active_text_shadow;
    text-shadow: 0 1px @button_active_text_shadow;
}

.toolbar .button.raised *:disabled,
.toolbar .raised .button *:disabled,
.inline-toolbar .button *:disabled {
    icon-shadow: none;
    text-shadow: none;
}

.toolbar .button.raised *:backdrop,
.toolbar .raised .button *:backdrop,
.inline-toolbar .button *:backdrop {
    text-shadow: none;
    icon-shadow: none;
}

/* linked entries/buttons */

.linked .entry {
    box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.22),
				inset -2px 0 alpha(black, 0.02);
}

.linked .entry:focus {
    box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.22),
				inset -2px 0 alpha(black, 0.02);

}

.linked .entry:focus:first-child {
    box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.22),
				inset -2px 0 alpha(black, 0.02);

}

.linked .entry:focus:last-child {
    box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 @inset_light_color,

				inset -1px 0 alpha(black, 0.12),
				inset -2px 0 alpha(black, 0.03);

}

/* Middle */  /* *FIX*ME* *This assumes that it is using toolbar-button-border, or raised-button-border **/
.linked .entry {
    border-right-width: 0;
    border-left-width: 0;
    border-image-width: 3px 0 4px 0;
}

/* Leftmost */
.linked .entry:first-child {
    border-right-width: 0;
    border-left-width: 1px;
    border-image-width: 3px 0 4px 3px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

/* Rightmost */
.linked .entry:last-child {
    border-left-width: 0;
    border-image-width: 3px 3px 4px 0;
    border-width: 1px 1px 2px 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/* Linked single */
.linked .entry:only-child {
    border-right-width: 1px;
    border-left-width: 1px;
    border-image-width: 3px 3px 4px 3px;
}

/* **vertical** */
/* Middle (vertical) */
.linked.vertical .entry {
    border-top-width: 0;
    border-bottom-width: 0;
    border-image-width: 0 3px;
    border-radius: 0;
}

/* Top (vertical) */
.linked.vertical .entry:first-child {
    border-bottom-width: 0;
    border-image-width: 3px 3px 0 3px;
    border-radius: 3px 3px 0 0;
}

/* Bottom (vertical) */
.linked.vertical .entry:last-child {
    border-top-width: 0;
    border-image-width: 0 3px 4px 3px;
    border-radius: 0 0 3px 3px;
}

/* Linked single (vertical) */
.linked.vertical .entry:only-child {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-image-width: 3px 3px 4px 3px;
    border-radius: 3px;
}

/* Set up shadows and hilights for button visual separation */



/* ******* Linked Buttons -- toolbar & primary-toolbar Raised ******* */

/* Middle button */
.linked .button,
.linked .button:hover,
.linked .button:backdrop,
.linked .button:hover:backdrop,
.linked .button:disabled,
.linked .button:disabled:backdrop,

.toolbar .button.raised.linked,
.toolbar .raised.linked .button,
.toolbar .button.raised.linked:hover,
.toolbar .raised.linked .button:hover,
.toolbar .button.raised.linked:disabled,
.toolbar .raised.linked .button:disabled,
.toolbar .button.raised.linked:backdrop,
.toolbar .raised.linked .button:backdrop,
.toolbar .button.raised.linked:hover:backdrop,
.toolbar .raised.linked .button:hover:backdrop,
.toolbar .button.raised.linked:disabled:backdrop,
.toolbar .raised.linked .button:disabled:backdrop,

.primary-toolbar .linked .button,
.primary-toolbar .linked .button:hover,
.primary-toolbar .linked .button:disabled,
.primary-toolbar .linked .button:backdrop,
.primary-toolbar .linked .button:hover:backdrop,
.primary-toolbar .linked .button:disabled:backdrop,

.primary-toolbar .button.raised.linked,
.primary-toolbar .raised.linked .button,
.primary-toolbar .button.raised.linked:hover,
.primary-toolbar .raised.linked .button:hover,
.primary-toolbar .button.raised.linked:disabled,
.primary-toolbar .raised.linked .button:disabled,
.primary-toolbar .button.raised.linked:backdrop,
.primary-toolbar .raised.linked .button:backdrop,
.primary-toolbar .button.raised.linked:hover:backdrop,
.primary-toolbar .raised.linked .button:hover:backdrop,
.primary-toolbar .button.raised.linked:disabled:backdrop,
.primary-toolbar .raised.linked .button:disabled:backdrop {
	border-right-width: 0;
    border-left-width: 0;
    border-image-width: 3px 0 4px 0;
    border-radius: 0;

	box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 @inset_light_color,

				inset -1px 0 alpha(black, 0.22),
				inset -2px 0 alpha(black, 0.02);
}

/* Leftmost button */
.linked .button:first-child,
.linked .button:first-child:hover,
.linked .button:first-child:disabled,
.linked .button:first-child:backdrop,
.linked .button:first-child:hover:backdrop,
.linked .button:first-child:disabled:backdrop,

.toolbar .button.raised.linked:first-child,
.toolbar .raised.linked .button:first-child,
.toolbar .button.raised.linked:first-child:hover,
.toolbar .raised.linked .button:first-child:hover,
.toolbar .button.raised.linked:first-child:disabled,
.toolbar .raised.linked .button:first-child:disabled,
.toolbar .button.raised.linked:first-child:backdrop,
.toolbar .raised.linked .button:first-child:backdrop,
.toolbar .button.raised.linked:first-child:hover:backdrop,
.toolbar .raised.linked .button:first-child:hover:backdrop,
.toolbar .button.raised.linked:first-child:disabled:backdrop,
.toolbar .raised.linked .button:first-child:disabled:backdrop,

.primary-toolbar .linked .button:first-child,
.primary-toolbar .linked .button:first-child:hover,
.primary-toolbar .linked .button:first-child:disabled,
.primary-toolbar .linked .button:first-child:backdrop,
.primary-toolbar .linked .button:first-child:hover:backdrop,
.primary-toolbar .linked .button:first-child:disabled:backdrop,

.primary-toolbar .button.raised.linked:first-child,
.primary-toolbar .raised.linked .button:first-child,
.primary-toolbar .button.raised.linked:first-child:hover,
.primary-toolbar .raised.linked .button:first-child:hover,
.primary-toolbar .button.raised.linked:first-child:disabled,
.primary-toolbar .raised.linked .button:first-child:disabled,
.primary-toolbar .button.raised.linked:first-child:backdrop,
.primary-toolbar .raised.linked .button:first-child:backdrop,
.primary-toolbar .button.raised.linked:first-child:hover:backdrop,
.primary-toolbar .raised.linked .button:first-child:hover:backdrop,
.primary-toolbar .button.raised.linked:first-child:disabled:backdrop,
.primary-toolbar .raised.linked .button:first-child:disabled:backdrop {
	border-right-width: 0;
    border-left-width: 1px;
    border-image-width: 3px 0 4px 3px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;

	box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.22),
				inset -2px 0 alpha(black, 0.02);
}

/* Rightmost button */
.linked .button:last-child,
.linked .button:last-child:hover,
.linked .button:last-child:disabled,
.linked .button:last-child:backdrop,
.linked .button:last-child:hover:backdrop,
.linked .button:last-child:disabled:backdrop,

.toolbar .button.raised.linked:last-child,
.toolbar .raised.linked .button:last-child,
.toolbar .button.raised.linked:last-child:hover,
.toolbar .raised.linked .button:last-child:hover,
.toolbar .button.raised.linked:last-child:disabled,
.toolbar .raised.linked .button:last-child:disabled,
.toolbar .button.raised.linked:last-child:backdrop,
.toolbar .raised.linked .button:last-child:backdrop,
.toolbar .button.raised.linked:last-child:hover:backdrop,
.toolbar .raised.linked .button:last-child:hover:backdrop,
.toolbar .button.raised.linked:last-child:disabled:backdrop,
.toolbar .raised.linked .button:last-child:disabled:backdrop,

.primary-toolbar .linked .button:last-child,
.primary-toolbar .linked .button:last-child:hover,
.primary-toolbar .linked .button:last-child:disabled,
.primary-toolbar .linked .button:last-child:backdrop,
.primary-toolbar .linked .button:last-child:hover:backdrop,
.primary-toolbar .linked .button:last-child:disabled:backdrop,

.primary-toolbar .button.raised.linked:last-child,
.primary-toolbar .raised.linked .button:last-child,
.primary-toolbar .button.raised.linked:last-child:hover,
.primary-toolbar .raised.linked .button:last-child:hover,
.primary-toolbar .button.raised.linked:last-child:disabled,
.primary-toolbar .raised.linked .button:last-child:disabled,
.primary-toolbar .button.raised.linked:last-child:backdrop,
.primary-toolbar .raised.linked .button:last-child:backdrop,
.primary-toolbar .button.raised.linked:last-child:hover:backdrop,
.primary-toolbar .raised.linked .button:last-child:hover:backdrop,
.primary-toolbar .button.raised.linked:last-child:disabled:backdrop,
.primary-toolbar .raised.linked .button:last-child:disabled:backdrop {
	border-left-width: 0;
    border-image-width: 3px 3px 4px 0;
    border-width: 1px 1px 2px 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;

	box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 @inset_light_color,

				inset -1px 0 alpha(black, 0.12),
				inset -2px 0 alpha(black, 0.03);
}

/* Linked single button */
.linked .button:only-child,
.linked .button:only-child:hover,
.linked .button:only-child:disabled,
.linked .button:only-child:backdrop,
.linked .button:only-child:hover:backdrop,
.linked .button:only-child:disabled:backdrop,

.toolbar .button.raised.linked:only-child,
.toolbar .raised.linked .button:only-child,
.toolbar .button.raised.linked:only-child:hover,
.toolbar .raised.linked .button:only-child:hover,
.toolbar .button.raised.linked:only-child:disabled,
.toolbar .raised.linked .button:only-child:disabled,
.toolbar .button.raised.linked:only-child:backdrop,
.toolbar .raised.linked .button:only-child:backdrop,
.toolbar .button.raised.linked:only-child:hover:backdrop,
.toolbar .raised.linked .button:only-child:hover:backdrop,
.toolbar .button.raised.linked:only-child:disabled:backdrop,
.toolbar .raised.linked .button:only-child:disabled:backdrop,

.primary-toolbar .linked .button:only-child,
.primary-toolbar .linked .button:only-child:hover,
.primary-toolbar .linked .button:only-child:disabled,
.primary-toolbar .linked .button:only-child:backdrop,
.primary-toolbar .linked .button:only-child:hover:backdrop,
.primary-toolbar .linked .button:only-child:disabled:backdrop,

.primary-toolbar .button.raised.linked:only-child,
.primary-toolbar .raised.linked .button:only-child,
.primary-toolbar .button.raised.linked:only-child:hover,
.primary-toolbar .raised.linked .button:only-child:hover,
.primary-toolbar .button.raised.linked:only-child:disabled,
.primary-toolbar .raised.linked .button:only-child:disabled,
.primary-toolbar .button.raised.linked:only-child:backdrop,
.primary-toolbar .raised.linked .button:only-child:backdrop,
.primary-toolbar .button.raised.linked:only-child:hover:backdrop,
.primary-toolbar .raised.linked .button:only-child:hover:backdrop,
.primary-toolbar .button.raised.linked:only-child:disabled:backdrop,
.primary-toolbar .raised.linked .button:only-child:disabled:backdrop {
	border-right-width: 1px;
    border-left-width: 1px;
    border-image-width: 3px 3px 4px 3px;
    border-radius: 3px;

	box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.03),

				inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.12),
				inset -2px 0 alpha(black, 0.03);
}

/* *** linked active ** */
/* Middle button */
.linked .button:active,
.linked .button:active:hover,
.linked .button:active:backdrop,
.linked .button:active:hover:backdrop,
.linked .button:active:disabled,
.linked .button:active:disabled:backdrop,

.toolbar .button.raised.linked:active,
.toolbar .raised.linked .button:active,
.toolbar .button.raised.linked:active:hover,
.toolbar .raised.linked .button:active:hover,
.toolbar .button.raised.linked:active:disabled,
.toolbar .raised.linked .button:active:disabled,
.toolbar .button.raised.linked:active:backdrop,
.toolbar .raised.linked .button:active:backdrop,
.toolbar .button.raised.linked:active:hover:backdrop,
.toolbar .raised.linked .button:active:hover:backdrop,
.toolbar .button.raised.linked:active:disabled:backdrop,
.toolbar .raised.linked .button:active:disabled:backdrop,

.primary-toolbar .linked .button:active,
.primary-toolbar .linked .button:active:hover,
.primary-toolbar .linked .button:active:disabled,
.primary-toolbar .linked .button:active:backdrop,
.primary-toolbar .linked .button:active:hover:backdrop,
.primary-toolbar .linked .button:active:disabled:backdrop,

.primary-toolbar .button.raised.linked:active,
.primary-toolbar .raised.linked .button:active,
.primary-toolbar .button.raised.linked:active:hover,
.primary-toolbar .raised.linked .button:active:hover,
.primary-toolbar .button.raised.linked:active:disabled,
.primary-toolbar .raised.linked .button:active:disabled,
.primary-toolbar .button.raised.linked:active:backdrop,
.primary-toolbar .raised.linked .button:active:backdrop,
.primary-toolbar .button.raised.linked:active:hover:backdrop,
.primary-toolbar .raised.linked .button:active:hover:backdrop,
.primary-toolbar .button.raised.linked:active:disabled:backdrop,
.primary-toolbar .raised.linked .button:active:disabled:backdrop {
	border-right-width: 0;
    border-left-width: 0;
    border-image-width: 3px 0 4px 0;
    border-radius: 0;

    box-shadow: inset 0 1px alpha(black, 0.12),
				inset 0 2px alpha(black, 0.08),
				inset 0 3px alpha(black, 0.04),
				inset 0 4px alpha(black, 0.02),

				inset 0 -1px alpha(black, 0.10),
				inset 0 -2px alpha(black, 0.05),
				inset 0 -3px alpha(black, 0.02),

				inset 1px 0 alpha(black, 0.32),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.22),
				inset -2px 0 alpha(black, 0.04);
}

/* Leftmost button */
.linked .button:first-child:active,
.linked .button:first-child:active:hover,
.linked .button:first-child:active:disabled,
.linked .button:first-child:active:backdrop,
.linked .button:first-child:active:hover:backdrop,
.linked .button:first-child:active:disabled:backdrop,

.toolbar .button.raised.linked:first-child:active,
.toolbar .raised.linked .button:first-child:active,
.toolbar .button.raised.linked:first-child:active:hover,
.toolbar .raised.linked .button:first-child:active:hover,
.toolbar .button.raised.linked:first-child:active:disabled,
.toolbar .raised.linked .button:first-child:active:disabled,
.toolbar .button.raised.linked:first-child:active:backdrop,
.toolbar .raised.linked .button:first-child:active:backdrop,
.toolbar .button.raised.linked:first-child:active:hover:backdrop,
.toolbar .raised.linked .button:first-child:active:hover:backdrop,
.toolbar .button.raised.linked:first-child:active:disabled:backdrop,
.toolbar .raised.linked .button:first-child:active:disabled:backdrop,

.primary-toolbar .linked .button:first-child:active,
.primary-toolbar .linked .button:first-child:active:hover,
.primary-toolbar .linked .button:first-child:active:disabled,
.primary-toolbar .linked .button:first-child:active:backdrop,
.primary-toolbar .linked .button:first-child:active:hover:backdrop,
.primary-toolbar .linked .button:first-child:active:disabled:backdrop,

.primary-toolbar .button.raised.linked:first-child:active,
.primary-toolbar .raised.linked .button:first-child:active,
.primary-toolbar .button.raised.linked:first-child:active:hover,
.primary-toolbar .raised.linked .button:first-child:active:hover,
.primary-toolbar .button.raised.linked:first-child:active:disabled,
.primary-toolbar .raised.linked .button:first-child:active:disabled,
.primary-toolbar .button.raised.linked:first-child:active:backdrop,
.primary-toolbar .raised.linked .button:first-child:active:backdrop,
.primary-toolbar .button.raised.linked:first-child:active:hover:backdrop,
.primary-toolbar .raised.linked .button:first-child:active:hover:backdrop,
.primary-toolbar .button.raised.linked:first-child:active:disabled:backdrop,
.primary-toolbar .raised.linked .button:first-child:active:disabled:backdrop {
	border-right-width: 0;
    border-left-width: 1px;
    border-image-width: 3px 0 4px 3px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;

	box-shadow: inset 0 1px alpha(black, 0.12),
				inset 0 2px alpha(black, 0.08),
				inset 0 3px alpha(black, 0.04),
				inset 0 4px alpha(black, 0.02),

				inset 0 -1px alpha(black, 0.10),
				inset 0 -2px alpha(black, 0.05),
				inset 0 -3px alpha(black, 0.02),

				inset 1px 0 alpha(black, 0.18),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.22),
				inset -2px 0 alpha(black, 0.04);
}

/* Rightmost button */
.linked .button:last-child:active,
.linked .button:last-child:active:hover,
.linked .button:last-child:active:disabled,
.linked .button:last-child:active:backdrop,
.linked .button:last-child:active:hover:backdrop,
.linked .button:last-child:active:disabled:backdrop,

.toolbar .button.raised.linked:last-child:active,
.toolbar .raised.linked .button:last-child:active,
.toolbar .button.raised.linked:last-child:active:hover,
.toolbar .raised.linked .button:last-child:active:hover,
.toolbar .button.raised.linked:last-child:active:disabled,
.toolbar .raised.linked .button:last-child:active:disabled,
.toolbar .button.raised.linked:last-child:active:backdrop,
.toolbar .raised.linked .button:last-child:active:backdrop,
.toolbar .button.raised.linked:last-child:active:hover:backdrop,
.toolbar .raised.linked .button:last-child:active:hover:backdrop,
.toolbar .button.raised.linked:last-child:active:disabled:backdrop,
.toolbar .raised.linked .button:last-child:active:disabled:backdrop,

.primary-toolbar .linked .button:last-child:active,
.primary-toolbar .linked .button:last-child:active:hover,
.primary-toolbar .linked .button:last-child:active:disabled,
.primary-toolbar .linked .button:last-child:active:backdrop,
.primary-toolbar .linked .button:last-child:active:hover:backdrop,
.primary-toolbar .linked .button:last-child:active:disabled:backdrop,

.primary-toolbar .button.raised.linked:last-child:active,
.primary-toolbar .raised.linked .button:last-child:active,
.primary-toolbar .button.raised.linked:last-child:active:hover,
.primary-toolbar .raised.linked .button:last-child:active:hover,
.primary-toolbar .button.raised.linked:last-child:active:disabled,
.primary-toolbar .raised.linked .button:last-child:active:disabled,
.primary-toolbar .button.raised.linked:last-child:active:backdrop,
.primary-toolbar .raised.linked .button:last-child:active:backdrop,
.primary-toolbar .button.raised.linked:last-child:active:hover:backdrop,
.primary-toolbar .raised.linked .button:last-child:active:hover:backdrop,
.primary-toolbar .button.raised.linked:last-child:active:disabled:backdrop,
.primary-toolbar .raised.linked .button:last-child:active:disabled:backdrop {
	border-left-width: 0;
    border-image-width: 3px 3px 4px 0;
    border-width: 1px 1px 2px 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;

	box-shadow: inset 0 1px alpha(black, 0.12),
				inset 0 2px alpha(black, 0.08),
				inset 0 3px alpha(black, 0.04),
				inset 0 4px alpha(black, 0.02),

				inset 0 -1px alpha(black, 0.10),
				inset 0 -2px alpha(black, 0.05),
				inset 0 -3px alpha(black, 0.02),

				inset 1px 0 alpha(black, 0.32),
				inset 2px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.18),
				inset -2px 0 alpha(black, 0.03);
}

/* Linked single button */
.linked .button:only-child:active,
.linked .button:only-child:active:hover,
.linked .button:only-child:active:disabled,
.linked .button:only-child:active:backdrop,
.linked .button:only-child:active:hover:backdrop,
.linked .button:only-child:active:disabled:backdrop,

.toolbar .button.raised.linked:only-child:active,
.toolbar .raised.linked .button:only-child:active,
.toolbar .button.raised.linked:only-child:active:hover,
.toolbar .raised.linked .button:only-child:active:hover,
.toolbar .button.raised.linked:only-child:active:disabled,
.toolbar .raised.linked .button:only-child:active:disabled,
.toolbar .button.raised.linked:only-child:active:backdrop,
.toolbar .raised.linked .button:only-child:active:backdrop,
.toolbar .button.raised.linked:only-child:active:hover:backdrop,
.toolbar .raised.linked .button:only-child:active:hover:backdrop,
.toolbar .button.raised.linked:only-child:active:disabled:backdrop,
.toolbar .raised.linked .button:only-child:active:disabled:backdrop,

.primary-toolbar .linked .button:only-child:active,
.primary-toolbar .linked .button:only-child:active:hover,
.primary-toolbar .linked .button:only-child:active:disabled,
.primary-toolbar .linked .button:only-child:active:backdrop,
.primary-toolbar .linked .button:only-child:active:hover:backdrop,
.primary-toolbar .linked .button:only-child:active:disabled:backdrop,

.primary-toolbar .button.raised.linked:only-child:active,
.primary-toolbar .raised.linked .button:only-child:active,
.primary-toolbar .button.raised.linked:only-child:active:hover,
.primary-toolbar .raised.linked .button:only-child:active:hover,
.primary-toolbar .button.raised.linked:only-child:active:disabled,
.primary-toolbar .raised.linked .button:only-child:active:disabled,
.primary-toolbar .button.raised.linked:only-child:active:backdrop,
.primary-toolbar .raised.linked .button:only-child:active:backdrop,
.primary-toolbar .button.raised.linked:only-child:active:hover:backdrop,
.primary-toolbar .raised.linked .button:only-child:active:hover:backdrop,
.primary-toolbar .button.raised.linked:only-child:active:disabled:backdrop,
.primary-toolbar .raised.linked .button:only-child:active:disabled:backdrop {
	border-right-width: 1px;
    border-left-width: 1px;
    border-image-width: 3px 3px 4px 3px;
    border-radius: 3px;

	box-shadow: inset 0 1px alpha(black, 0.12),
				inset 0 2px alpha(black, 0.08),
				inset 0 3px alpha(black, 0.04),
				inset 0 4px alpha(black, 0.02),

				inset 0 -1px alpha(black, 0.10),
				inset 0 -2px alpha(black, 0.05),
				inset 0 -3px alpha(black, 0.02),

				inset 1px 0 alpha(black, 0.18),
				inset 2px 0 alpha(black, 0.08),
				inset 3px 0 alpha(black, 0.03),

				inset -1px 0 alpha(black, 0.18),
				inset -2px 0 alpha(black, 0.08),
				inset -3px 0 alpha(black, 0.03);
}



/* Middle button (vertical) */
.linked.vertical .button,
.linked.vertical .button:hover,
.linked.vertical .button:backdrop,
.linked.vertical .button:hover:backdrop,
.linked.vertical .button:disabled,
.linked.vertical .button:disabled:backdrop {
    border-top-width: 0;
    border-bottom-width: 0;
    border-image-width: 0 3px;
    border-radius: 0;

    box-shadow: inset 1px 0 alpha(black, 0.14),
				inset 2px 0 alpha(black, 0.03),

				inset 0 1px @inset_light_color,

				inset 0 -1px alpha(black, 0.22),
				inset 0 -2px alpha(black, 0.02);
}

.linked.vertical .button:active,
.linked.vertical .button:active:hover,
.linked.vertical .button:active:backdrop,
.linked.vertical .button:active:hover:backdrop,
.linked.vertical .button:active:disabled,
.linked.vertical .button:active:disabled:backdrop {
	border-top-width: 0;
    border-bottom-width: 0;
    border-image-width: 0 3px;
    border-radius: 0;

    box-shadow: inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.08),
				inset 3px 0 alpha(black, 0.04),
				inset 4px 0 alpha(black, 0.02),

				inset -1px 0 alpha(black, 0.10),
				inset -2px 0 alpha(black, 0.05),
				inset -3px 0 alpha(black, 0.02),

				inset 0 1px alpha(black, 0.32),
				inset 0 2px alpha(black, 0.03),

				inset 0 -1px alpha(black, 0.22),
				inset 0 -2px alpha(black, 0.04);
}

/* Top button (vertical) */
.linked.vertical .button:first-child,
.linked.vertical .button:first-child:hover,
.linked.vertical .button:first-child:disabled,
.linked.vertical .button:first-child:backdrop,
.linked.vertical .button:first-child:hover:backdrop,
.linked.vertical .button:first-child:disabled:backdrop {
    border-bottom-width: 0;
    border-image-width: 3px 3px 0 3px;
    border-radius: 3px 3px 0 0;

    box-shadow: inset 1px 0 alpha(black, 0.14),
				inset 2px 0 alpha(black, 0.03),

				inset 0 1px alpha(black, 0.12),
				inset 0 2px alpha(black, 0.03),

				inset 0 -1px alpha(black, 0.22),
				inset 0 -2px alpha(black, 0.02);
}

.linked.vertical .button:first-child:active,
.linked.vertical .button:first-child:active:hover,
.linked.vertical .button:first-child:active:disabled,
.linked.vertical .button:first-child:active:backdrop,
.linked.vertical .button:first-child:active:hover:backdrop,
.linked.vertical .button:first-child:active:disabled:backdrop {
	border-bottom-width: 0;
    border-image-width: 3px 3px 0 3px;
    border-radius: 3px 3px 0 0;

    box-shadow: inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.08),
				inset 3px 0 alpha(black, 0.04),
				inset 4px 0 alpha(black, 0.02),

				inset -1px 0 alpha(black, 0.10),
				inset -2px 0 alpha(black, 0.05),
				inset -3px 0 alpha(black, 0.02),

				inset 0 1px alpha(black, 0.18),
				inset 0 2px alpha(black, 0.03),

				inset 0 -1px alpha(black, 0.22),
				inset 0 -2px alpha(black, 0.04);
}

/* Bottom button (vertical) */
.linked.vertical .button:last-child,
.linked.vertical .button:last-child:hover,
.linked.vertical .button:last-child:disabled,
.linked.vertical .button:last-child:backdrop,
.linked.vertical .button:last-child:hover:backdrop,
.linked.vertical .button:last-child:disabled:backdrop {
    border-top-width: 0;
    border-image-width: 0 3px 4px 3px;
    border-radius: 0 0 3px 3px;

    box-shadow: inset 1px 0 alpha(black, 0.14),
				inset 2px 0 alpha(black, 0.03),

				inset 0 1px @inset_light_color,

				inset 0 -1px alpha(black, 0.12),
				inset 0 -2px alpha(black, 0.03);
}

.linked.vertical .button:last-child:active,
.linked.vertical .button:last-child:active:hover,
.linked.vertical .button:last-child:active:disabled,
.linked.vertical .button:last-child:active:backdrop,
.linked.vertical .button:last-child:active:hover:backdrop,
.linked.vertical .button:last-child:active:disabled:backdrop {
	border-top-width: 0;
    border-image-width: 0 3px 4px 3px;
    border-radius: 0 0 3px 3px;

	box-shadow: inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.08),
				inset 3px 0 alpha(black, 0.04),
				inset 4px 0 alpha(black, 0.02),

				inset -1px 0 alpha(black, 0.10),
				inset -2px 0 alpha(black, 0.05),
				inset -3px 0 alpha(black, 0.02),

				inset 0 1px alpha(black, 0.32),
				inset 0 2px alpha(black, 0.03),

				inset 0 -1px alpha(black, 0.18),
				inset 0 -2px alpha(black, 0.03);
}

/* Linked single button (vertical) */
.linked.vertical .button:only-child,
.linked.vertical .button:only-child:hover,
.linked.vertical .button:only-child:disabled,
.linked.vertical .button:only-child:backdrop,
.linked.vertical .button:only-child:hover:backdrop,
.linked.vertical .button:only-child:disabled:backdrop {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-image-width: 3px 3px 4px 3px;
    border-radius: 3px;

    box-shadow: inset 1px 0 alpha(black, 0.14),
				inset 2px 0 alpha(black, 0.03),

				inset 0 1px alpha(black, 0.12),
				inset 0 2px alpha(black, 0.03),

				inset 0 -1px alpha(black, 0.12),
				inset 0 -2px alpha(black, 0.03);
}

.linked.vertical .button:only-child:active,
.linked.vertical .button:only-child:active:hover,
.linked.vertical .button:only-child:active:disabled,
.linked.vertical .button:only-child:active:backdrop,
.linked.vertical .button:only-child:active:hover:backdrop,
.linked.vertical .button:only-child:active:disabled:backdrop {
	border-top-width: 1px;
    border-bottom-width: 1px;
    border-image-width: 3px 3px 4px 3px;
    border-radius: 3px;

    box-shadow: inset 1px 0 alpha(black, 0.12),
				inset 2px 0 alpha(black, 0.08),
				inset 3px 0 alpha(black, 0.04),
				inset 4px 0 alpha(black, 0.02),

				inset -1px 0 alpha(black, 0.10),
				inset -2px 0 alpha(black, 0.05),
				inset -3px 0 alpha(black, 0.02),

				inset 0 1px alpha(black, 0.18),
				inset 0 2px alpha(black, 0.08),
				inset 0 3px alpha(black, 0.03),

				inset 0 -1px alpha(black, 0.18),
				inset 0 -2px alpha(black, 0.08),
				inset 0 -3px alpha(black, 0.03);
}

/* ************** inline toolbar button - box-shadow's *************** */
.inline-toolbar.toolbar .button,
.inline-toolbar.toolbar GtkToolButton > .button,

.inline-toolbar.toolbar .button:only-child,
.inline-toolbar.toolbar GtkToolButton:only-child > .button,

.inline-toolbar.toolbar .button:disabled,
.inline-toolbar.toolbar GtkToolButton > .button:disabled,

.inline-toolbar.toolbar .button:only-child:disabled,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:disabled {
    box-shadow: inset 1px 0 @inset_light_color,
				inset -1px 0 @inset_dark_color,

				inset 0 1px alpha(white, 0.03),
				inset 0 2px alpha(white, 0.01);
}

.inline-toolbar.toolbar .button:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:backdrop,

.inline-toolbar.toolbar .button:only-child:backdrop,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:backdrop,

.inline-toolbar.toolbar .button:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:disabled:backdrop,

.inline-toolbar.toolbar .button:only-child:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:disabled:backdrop {
    box-shadow: inset 1px 0 alpha(white, 0.04),
				inset -1px 0 @inset_dark_color,

				inset 0 1px alpha(white, 0.03),
				inset 0 2px alpha(white, 0.01);
}

.inline-toolbar.toolbar .button:hover,
.inline-toolbar.toolbar GtkToolButton > .button:hover,

.inline-toolbar.toolbar .button:only-child:hover,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:hover {
    box-shadow: inset 1px 0 alpha(white, 0.03),
				inset -1px 0 alpha(black, 0.86);
}

.inline-toolbar.toolbar .button:first-child,
.inline-toolbar.toolbar GtkToolButton:first-child > .button,
.inline-toolbar.toolbar .button:first-child:disabled,
.inline-toolbar.toolbar GtkToolButton > .button:first-child:disabled,

.inline-toolbar.toolbar .button:first-child:backdrop,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:backdrop,

.inline-toolbar.toolbar .button:first-child:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:hover:backdrop,

.inline-toolbar.toolbar .button:first-child:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:first-child:disabled:backdrop {
    box-shadow: inset -1px 0 @inset_dark_color,
				inset 0 1px alpha(white, 0.03),
				inset 0 2px alpha(white, 0.01);
}

.inline-toolbar.toolbar .button:hover:first-child,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:hover {
    box-shadow: inset -1px 0 alpha(black, 0.86);
}

.inline-toolbar.toolbar .button:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button,
.inline-toolbar.toolbar .button:last-child:disabled,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:disabled {
    box-shadow: inset 1px 0 @inset_light_color,
				inset 0 1px alpha(white, 0.03),
				inset 0 2px alpha(white, 0.01);
}

.inline-toolbar.toolbar .button:last-child:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:backdrop,

.inline-toolbar.toolbar .button:last-child:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:hover:backdrop,

.inline-toolbar.toolbar .button:last-child:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:disabled:backdrop {
    box-shadow: inset 1px 0 alpha(white, 0.04),
				inset 0 1px alpha(white, 0.03),
				inset 0 2px alpha(white, 0.01);
}

.inline-toolbar.toolbar .button:hover:last-child,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:hover {
    box-shadow: inset 1px 0 alpha(white, 0.03);
}

.inline-toolbar.toolbar .button:active,
.inline-toolbar.toolbar GtkToolButton > .button:active,
.inline-toolbar.toolbar .button:active:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:active:backdrop,

.inline-toolbar.toolbar .button:hover:active,
.inline-toolbar.toolbar GtkToolButton > .button:hover:active,
.inline-toolbar.toolbar .button:hover:active:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:hover:active:backdrop {
    box-shadow: inset 1px 0 alpha(@inset_dark_color, 0.3),
				inset -1px 0 alpha(black, 0.8),
				inset 0 1px alpha(black, 0.08),
				inset 0 2px alpha(black, 0.03),
				inset 0 3px alpha(black, 0.015),
				inset 0 -3px alpha(black, 0.03),
				inset 0 -2px alpha(black, 0.15),
				inset 0 -1px alpha(black, 0.3);
}

/* *vertical* */
.inline-toolbar.toolbar.vertical .button,
.inline-toolbar.toolbar.vertical GtkToolButton > .button,

.inline-toolbar.toolbar.vertical .button:only-child,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button,

.inline-toolbar.toolbar.vertical .button:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:disabled,

.inline-toolbar.toolbar.vertical .button:only-child:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:disabled {
    box-shadow: inset 0 1px @inset_light_color,
				inset 0 -1px @inset_dark_color,

				inset 1px 0 alpha(white, 0.03),
				inset 2px 0 alpha(white, 0.01);
}

.inline-toolbar.toolbar.vertical .button:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:backdrop,

.inline-toolbar.toolbar.vertical .button:only-child:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:backdrop,

.inline-toolbar.toolbar.vertical .button:disabled:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:disabled:backdrop,

.inline-toolbar.toolbar.vertical .button:only-child:disabled:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:disabled:backdrop {
    box-shadow: inset 0 1px alpha(white, 0.04),
				inset 0 -1px @inset_dark_color,

				inset 1px 0 alpha(white, 0.03),
				inset 2px 0 alpha(white, 0.01);
}

.inline-toolbar.toolbar.vertical .button:hover,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:hover,

.inline-toolbar.toolbar.vertical .button:only-child:hover,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:hover {
    box-shadow: inset 0 1px alpha(white, 0.03),
				inset 0 -1px alpha(black, 0.86);
}

.inline-toolbar.toolbar.vertical .button:first-child,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button,
.inline-toolbar.toolbar.vertical .button:first-child:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:first-child:disabled,

.inline-toolbar.toolbar.vertical .button:first-child:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:backdrop,

.inline-toolbar.toolbar.vertical .button:first-child:hover:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:hover:backdrop,

.inline-toolbar.toolbar.vertical .button:first-child:disabled:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:first-child:disabled:backdrop {
    box-shadow: inset 0 -1px @inset_dark_color,
				inset 1px 0 alpha(white, 0.03),
				inset 2px 0 alpha(white, 0.01);
}

.inline-toolbar.toolbar.vertical .button:hover:first-child,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:hover {
    box-shadow: inset 0 -1px alpha(black, 0.86);
}

.inline-toolbar.toolbar.vertical .button:last-child,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button,
.inline-toolbar.toolbar.vertical .button:last-child:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:disabled {
    box-shadow: inset 0 1px @inset_light_color,
				inset 1px 0 alpha(white, 0.03),
				inset 2px 0 alpha(white, 0.01);
}

.inline-toolbar.toolbar.vertical .button:last-child:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:backdrop,

.inline-toolbar.toolbar.vertical .button:last-child:hover:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:hover:backdrop,

.inline-toolbar.toolbar.vertical .button:last-child:disabled:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:disabled:backdrop {
    box-shadow: inset 0 1px alpha(white, 0.04),
				inset 1px 0 alpha(white, 0.03),
				inset 2px 0 alpha(white, 0.01);
}

.inline-toolbar.toolbar.vertical .button:hover:last-child,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:hover {
    box-shadow: inset 0 1px alpha(white, 0.03);
}

.inline-toolbar.toolbar.vertical .button:active,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:active,
.inline-toolbar.toolbar.vertical .button:active:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:active:backdrop,

.inline-toolbar.toolbar.vertical .button:hover:active,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:hover:active,
.inline-toolbar.toolbar.vertical .button:hover:active:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:hover:active:backdrop {
    box-shadow: inset 0 1px alpha(@inset_dark_color, 0.3),
				inset 0 -1px alpha(black, 0.8),
				inset 1px 0 alpha(black, 0.08),
				inset 2px 0 alpha(black, 0.03),
				inset 3px 0 alpha(black, 0.015),
				inset -3px 0 alpha(black, 0.03),
				inset -2px 0 alpha(black, 0.15),
				inset -1px 0 alpha(black, 0.3);
}

/* Linked inline-toolbar button */

/* Middle button */
.inline-toolbar.toolbar .button,
.inline-toolbar.toolbar .button:backdrop,
.inline-toolbar.toolbar .button:hover,
.inline-toolbar.toolbar .button:hover:backdrop,
.inline-toolbar.toolbar .button:active,

.inline-toolbar.toolbar .button:active:hover:hover,

.inline-toolbar.toolbar .button:active:backdrop,
.inline-toolbar.toolbar .button:active:hover:backdrop,
.inline-toolbar.toolbar .button:active:disabled,
.inline-toolbar.toolbar .button:active:disabled:backdrop,
.inline-toolbar.toolbar .button:disabled:backdrop,

.inline-toolbar.toolbar .button:disabled:disabled,

.inline-toolbar.toolbar GtkToolButton > .button,
.inline-toolbar.toolbar GtkToolButton > .button:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:hover,
.inline-toolbar.toolbar GtkToolButton > .button:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:active,

.inline-toolbar.toolbar GtkToolButton > .button:active:hover:hover,

.inline-toolbar.toolbar GtkToolButton > .button:active:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:active:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:active:disabled,
.inline-toolbar.toolbar GtkToolButton > .button:active:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton > .button:backdrop:disabled,

.inline-toolbar.toolbar GtkToolButton > .button:disabled:disabled {
    border-right-width: 0;
    border-left-width: 0;
    border-image-width: 4px 0 4px 0;
    border-radius: 0;
}

/* Leftmost button */
.inline-toolbar.toolbar .button:first-child,
.inline-toolbar.toolbar .button:first-child:backdrop,
.inline-toolbar.toolbar .button:first-child:hover,
.inline-toolbar.toolbar .button:first-child:hover:backdrop,
.inline-toolbar.toolbar .button:first-child:active,

.inline-toolbar.toolbar .button:first-child:active:hover:hover,

.inline-toolbar.toolbar .button:first-child:active:backdrop,
.inline-toolbar.toolbar .button:first-child:active:hover:backdrop,
.inline-toolbar.toolbar .button:first-child:active:disabled,
.inline-toolbar.toolbar .button:first-child:active:disabled:backdrop,
.inline-toolbar.toolbar .button:first-child:disabled:backdrop,

.inline-toolbar.toolbar .button:first-child:disabled:disabled,

.inline-toolbar.toolbar GtkToolButton:first-child > .button,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:backdrop,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:hover,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:active,

.inline-toolbar.toolbar GtkToolButton:first-child > .button:active:hover:hover,

.inline-toolbar.toolbar GtkToolButton:first-child > .button:active:backdrop,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:active:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:active:disabled,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:active:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:backdrop:disabled,

.inline-toolbar.toolbar GtkToolButton:first-child > .button:disabled:disabled {
    border-right-width: 0;
    border-image-width: 4px 0 4px 4px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

/* Rightmost button */
.inline-toolbar.toolbar .button:last-child,
.inline-toolbar.toolbar .button:last-child:backdrop,
.inline-toolbar.toolbar .button:last-child:hover,
.inline-toolbar.toolbar .button:last-child:hover:backdrop,
.inline-toolbar.toolbar .button:last-child:active,

.inline-toolbar.toolbar .button:last-child:active:hover:hover,

.inline-toolbar.toolbar .button:last-child:active:backdrop,
.inline-toolbar.toolbar .button:last-child:active:hover:backdrop,
.inline-toolbar.toolbar .button:last-child:active:disabled,
.inline-toolbar.toolbar .button:last-child:active:disabled:backdrop,
.inline-toolbar.toolbar .button:last-child:disabled:backdrop,

.inline-toolbar.toolbar .button:last-child:disabled:disabled,

.inline-toolbar.toolbar GtkToolButton:last-child > .button,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:hover,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:active,

.inline-toolbar.toolbar GtkToolButton:last-child > .button:active:hover:hover,

.inline-toolbar.toolbar GtkToolButton:last-child > .button:active:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:active:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:active:disabled,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:active:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton:last-child > .button:backdrop:disabled,

.inline-toolbar.toolbar GtkToolButton:last-child > .button:disabled:disabled {
    border-left-width: 0;
    border-image-width: 4px 4px 4px 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/* Single button */
.inline-toolbar.toolbar .button:only-child,
.inline-toolbar.toolbar .button:only-child:backdrop,
.inline-toolbar.toolbar .button:only-child:hover,
.inline-toolbar.toolbar .button:only-child:hover:backdrop,
.inline-toolbar.toolbar .button:only-child:active,

.inline-toolbar.toolbar .button:only-child:active:hover:hover,

.inline-toolbar.toolbar .button:only-child:active:backdrop,
.inline-toolbar.toolbar .button:only-child:active:hover:backdrop,
.inline-toolbar.toolbar .button:only-child:active:disabled,
.inline-toolbar.toolbar .button:only-child:active:disabled:backdrop,
.inline-toolbar.toolbar .button:only-child:disabled:backdrop,

.inline-toolbar.toolbar .button:only-child:disabled:disabled,

.inline-toolbar.toolbar GtkToolButton:only-child > .button,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:backdrop,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:hover,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:active,

.inline-toolbar.toolbar GtkToolButton:only-child > .button:active:hover:hover,

.inline-toolbar.toolbar GtkToolButton:only-child > .button:active:backdrop,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:active:hover:backdrop,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:active:disabled,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:active:disabled:backdrop,
.inline-toolbar.toolbar GtkToolButton:only-child > .button:backdrop:disabled,

.inline-toolbar.toolbar GtkToolButton:only-child > .button:disabled:disabled {
    border-image-width: 4px;
}

/* Special-case GtkMenuToolButton, since it's a GtkToolButton, but it
 * has a box inside to pack the button and the actual menu */
.inline-toolbar.toolbar GtkMenuToolButton .button:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:hover:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:active:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:focus:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:focus:active:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:disabled:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:backdrop:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:backdrop:disabled:first-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:last-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:hover:last-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:active:last-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:focus:last-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:focus:active:last-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:disabled:last-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:backdrop:last-child,
.inline-toolbar.toolbar GtkMenuToolButton .button:backdrop:disabled:last-child {
    border-right-width: 0;
    border-left-width: 0;
    border-image-width: 4px 0 4px 0;
    border-radius: 0;
}

.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:first-child,
.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:hover:first-child,
.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:active:first-child,
.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:focus:first-child,
.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:focus:active:first-child,
.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:disabled:first-child,
.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:backdrop:first-child,
.inline-toolbar.toolbar GtkMenuToolButton:first-child .button:backdrop:disabled:first-child {
    border-left-width: 2px;
    border-right-width: 0;
    border-image-width: 4px 0 4px 4px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:last-child,
.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:hover:last-child,
.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:active:last-child,
.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:focus:last-child,
.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:focus:active:last-child,
.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:disabled:last-child,
.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:backdrop:last-child,
.inline-toolbar.toolbar GtkMenuToolButton:last-child .button:backdrop:disabled:last-child {
    border-left-width: 0;
    border-right-width: 2px;
    border-image-width: 4px 4px 4px 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/* Vertical inline toolbars */

/* Middle button */
.inline-toolbar.toolbar.vertical .button,
.inline-toolbar.toolbar.vertical .button:active,
.inline-toolbar.toolbar.vertical .button:disabled,
.inline-toolbar.toolbar.vertical .button:backdrop,
.inline-toolbar.toolbar.vertical .button:backdrop:active,
.inline-toolbar.toolbar.vertical .button:backdrop:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton > .button,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:active,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:backdrop:active,
.inline-toolbar.toolbar.vertical GtkToolButton > .button:backdrop:disabled {
    border-bottom-width: 0;
    border-top-width: 0;
    border-image-width: 0 3px 0 3px;
    border-radius: 0;
}

/* Topmost button */
.inline-toolbar.toolbar.vertical .button:first-child,
.inline-toolbar.toolbar.vertical .button:active:first-child,
.inline-toolbar.toolbar.vertical .button:disabled:first-child,
.inline-toolbar.toolbar.vertical .button:backdrop:first-child,
.inline-toolbar.toolbar.vertical .button:backdrop:active:first-child,
.inline-toolbar.toolbar.vertical .button:backdrop:disabled:first-child,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:active,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:backdrop:active,
.inline-toolbar.toolbar.vertical GtkToolButton:first-child > .button:backdrop:disabled {
    border-width: 1px 1px 0 1px;
    border-image-width: 3px 3px 0 3px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Bottommost button */
.inline-toolbar.toolbar.vertical .button:last-child,
.inline-toolbar.toolbar.vertical .button:active:last-child,
.inline-toolbar.toolbar.vertical .button:disabled:last-child,
.inline-toolbar.toolbar.vertical .button:backdrop:last-child,
.inline-toolbar.toolbar.vertical .button:backdrop:active:last-child,
.inline-toolbar.toolbar.vertical .button:backdrop:disabled:last-child,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:active,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:backdrop:active,
.inline-toolbar.toolbar.vertical GtkToolButton:last-child > .button:backdrop:disabled {
    border-width: 0 1px 2px 1px;
    border-image-width: 0 3px 4px 3px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Single button */
.inline-toolbar.toolbar.vertical .button:only-child,
.inline-toolbar.toolbar.vertical .button:active:only-child,
.inline-toolbar.toolbar.vertical .button:disabled:only-child,
.inline-toolbar.toolbar.vertical .button:backdrop:only-child,
.inline-toolbar.toolbar.vertical .button:backdrop:active:only-child,
.inline-toolbar.toolbar.vertical .button:backdrop:disabled:only-child,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:active,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:disabled,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:backdrop,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:backdrop:active,
.inline-toolbar.toolbar.vertical GtkToolButton:only-child > .button:backdrop:disabled {
    border-top-width: 1px;
    border-bottom-width: 2px;
    border-image-width: 3px 3px 3px 4px;
    border-radius: 3px;
}

GtkLinkButton.button,
GtkLinkButton.button *:active {
    text-shadow: @link_button_text_shadow 0 1px;
}

.button .separator {
    color: shade(@internal_element_color, 1.30);
}

/*****************
 * Notebooks and *
 * tabs          *
 *****************/
.notebook {
    padding: 0;

    border-radius: 0px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
	border-top-color: shade( @notebook_tab_bg, 1.65);
    border-right-color: shade( @notebook_tab_bg, 1.45);
    border-bottom-color: shade( @notebook_tab_bg, 1.25);
    border-left-color: shade( @notebook_tab_bg, 1.45);

	background-color: shade(@notebook_color, 0.92);

    background-clip: border-box;

    -GtkNotebook-tab-overlap: 8;
    -GtkNotebook-tab-curvature: 6;
    /* FIXME - the gap should be applied only to top or bottom tabs */
    -GtkNotebook-initial-gap: 8;
}

.notebook GtkViewport {
    background-color: @notebook_color;
}

.notebook GtkDrawingArea {
        background-color: shade(@notebook_color, 0.92);
}

.notebook:backdrop {
	background-color: shade(@notebook_color, 0.72);

    border-top-color: shade( @notebook_tab_bg, 1.45);
    border-right-color: shade( @notebook_tab_bg, 1.25);
    border-bottom-color: shade( @notebook_tab_bg, 1.05);
    border-left-color: shade( @notebook_tab_bg, 1.25);
}

.notebook GtkViewport:backdrop {
	background-color: shade(@notebook_color, 0.8);
}

.notebook tab {
    padding: 2px;
    border-style: solid;
    /* we draw our own custom border here for now */
    border-width: 0;
    border-color: shade( @notebook_tab_bg, 1.65);
    box-shadow: inset 0 1px alpha(white, 0.12);
	background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.14),
                                      alpha(white, 0.06) 39%,
                                      alpha(black, 0.14) 41%,
                                      alpha(black, 0.04)
                                      ),
					linear-gradient(to bottom,
                                      @notebook_tab_bg,
                                      @notebook_tab_bg
                                      );
}

.notebook tab:backdrop {
	border-color: shade( @notebook_tab_bg, 1.35);
    box-shadow: inset 0 1px alpha(white, 0.06);
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.07),
                                      alpha(white, 0.03) 39%,
                                      alpha(black, 0.07) 41%,
                                      alpha(black, 0.02)
                                      ),
					linear-gradient(to bottom,
                                      shade(@notebook_tab_bg, 0.8),
                                      shade(@notebook_tab_bg, 0.8)
                                      );
}

.notebook tab.bottom {
    /* FIXME: Adwaita engine arrogantly flips my gradients upside down! */
    border-color: shade( @notebook_tab_bg, 1.25);
    box-shadow: inset 0 -1px alpha(white, 0.04);
    background-image: linear-gradient(to top,
                                      alpha(white, 0.1),
                                      alpha(white, 0.06) 39%,
                                      alpha(black, 0.24) 41%,
                                      alpha(black, 0.12)
                                      ),
					linear-gradient(to top,
                                      @notebook_tab_bg,
                                      @notebook_tab_bg
                                      );
}

.notebook tab.bottom:backdrop {
    border-color: shade( @notebook_tab_bg, 0.95);
    box-shadow: inset 0 -1px alpha(white, 0.02);
    background-image: linear-gradient(to top,
                                      alpha(white, 0.05),
                                      alpha(white, 0.03) 39%,
                                      alpha(black, 0.12) 41%,
                                      alpha(black, 0.06)
                                      ),
					linear-gradient(to top,
                                      shade(@notebook_tab_bg, 0.8),
                                      shade(@notebook_tab_bg, 0.8)
                                      );
}

.notebook tab:active {
	background-color: @notebook_color;
    box-shadow: inset 0 1px alpha (white, 0.18);
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.2),
                                      alpha(white, 0.08) 39%,
                                      alpha(black, 0.2) 41%,
                                      alpha(black, 0.08)
                                      ),
					linear-gradient(to bottom,
                                      @notebook_color,
                                      @notebook_color
                                      );
}

.notebook tab.bottom:active {
	border-width: 0 1px 1px 1px;
	background-color: @notebook_color;
    box-shadow: inset 0 1px alpha (black, 0.08);
    background-image: linear-gradient(to top,
                                      alpha(white, 0.0),
                                      alpha(white, 0.02) 20%,
                                      alpha(white, 0.1) 59%,
                                      alpha(black, 0.22) 61%,
                                      alpha(black, 0.16)
                                      ),
					linear-gradient(to bottom,
                                      @notebook_color,
                                      @notebook_color
                                      );
}

.notebook tab.top:active {
    border-image-source: -gtk-gradient (linear,
                                             left top, left bottom,
                                             from (shade(@notebook_color, 1.2)),
                                             to (shade(@notebook_color, 0.35)));
}

.notebook tab.bottom:active {
    border-image-source: -gtk-gradient (linear,
                                             left bottom, left top,
                                             from (shade(@notebook_color, 0.65)),
                                             to (shade(@notebook_color, 0.75)));
}

.notebook tab:active:backdrop {
	box-shadow: inset 0 1px alpha (white, 0.09);
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.1),
                                      alpha(white, 0.04) 39%,
                                      alpha(black, 0.1) 41%,
                                      alpha(black, 0.04)
                                      ),
					linear-gradient(to bottom,
                                      shade(@notebook_color, 0.8),
                                      shade(@notebook_color, 0.8)
                                      );
}

.notebook tab.bottom:active:backdrop {
    box-shadow: inset 0 1px alpha (black, 0.04);
    background-image: linear-gradient(to top,
                                      alpha(white, 0.0),
                                      alpha(white, 0.01) 20%,
                                      alpha(white, 0.05) 59%,
                                      alpha(black, 0.11) 61%,
                                      alpha(black, 0.08)
                                      ),
					linear-gradient(to top,
                                      shade(@notebook_color, 0.8),
                                      shade(@notebook_color, 0.8)
                                      );
}



.notebook tab.top:active:backdrop {
    border-image-source: -gtk-gradient (linear,
                                             left top, left bottom,
                                             from (shade(@notebook_color, 1.0)),
                                             to (shade(@notebook_color, 0.15)));
}

.notebook tab.bottom:active:backdrop {
    border-image-source: -gtk-gradient (linear,
                                             left bottom, left top,
                                             from (shade(@notebook_color, 0.45)),
                                             to (shade(@notebook_color, 0.55)));
}

.notebook tab.top {
    padding: 4px 2px 0;
}

.notebook tab.top:active {
    padding: 7px 2px 0;
}

.notebook tab.bottom {
    padding: 0 2px 4px;
}

.notebook tab.bottom:active {
    padding: 0 7px 2px;
}

.notebook tab.left,
.notebook tab.right {
    background-image: linear-gradient(to bottom,
                                      @notebook_tab_bg,
                                      @notebook_tab_bg
                                      );
    background-color: @notebook_color;
    border-color: shade(@notebook_tab_bg, 1.65);
    box-shadow: none;
    border-width: 1px;
    padding: 3px;
}

.notebook tab.left:backdrop,
.notebook tab.right:backdrop {
	background-image: none;
    background-color: shade(@notebook_tab_bg, 0.8);
    border-color:  shade(@notebook_tab_bg, 1.45);
}

.notebook tab.left:active {
    border-width: 1px 0 1px 1px;
}

.notebook tab.right:active {
    border-width: 1px 1px 1px 0;
}

.notebook tab.right:active {
	box-shadow: inset 0 1px alpha(white, 0.04);
    background-image: linear-gradient(to left,
                                      alpha(white, 0.24),
                                      alpha(white, 0.08) 14%,
                                      alpha(black, 0.20) 16%,
                                      alpha(black, 0.08)
                                      ),
					linear-gradient(to left,
                                      @notebook_color,
                                      @notebook_color
                                      );
   border-image: linear-gradient(to left,
								shade(@notebook_color, 1.2),
								shade(@notebook_color, 0.65)
								) 1 1 1 1;
}

.notebook tab.left:active {
	box-shadow: inset 0 1px alpha(white, 0.04);
    background-image: linear-gradient(to right,
                                      alpha(white, 0.24),
                                      alpha(white, 0.04) 14%,
                                      alpha(black, 0.26) 16%,
                                      alpha(black, 0.08)
                                      ),
					linear-gradient(to right,
                                      @notebook_color,
                                      @notebook_color
                                      );
   border-image: linear-gradient(to right,
								shade(@notebook_color, 1.2),
								shade(@notebook_color, 0.65)
								) 1 1 1 1;
}

.notebook tab.right:active:backdrop {
    background-image: linear-gradient(to left,
                                      alpha(white, 0.1),
                                      alpha(white, 0.02) 29%,
                                      alpha(black, 0.1) 31%,
                                      alpha(black, 0.04)
                                      ),
					linear-gradient(to left,
                                      shade(@notebook_color, 0.8),
                                      shade(@notebook_color, 0.8)
                                      );
   border-image: linear-gradient(to left,
								shade(@notebook_color, 1.0),
								shade(@notebook_color, 0.45)
								) 1 1 1 1;
}

.notebook tab.left:active:backdrop {
    background-image: linear-gradient(to right,
                                      alpha(white, 0.1),
                                      alpha(white, 0.02) 29%,
                                      alpha(black, 0.1) 31%,
                                      alpha(black, 0.04)
                                      ),
					linear-gradient(to right,
                                      shade(@notebook_color, 0.8),
                                      shade(@notebook_color, 0.8)
                                      );
   border-image: linear-gradient(to right,
								shade(@notebook_color, 1.0),
								shade(@notebook_color, 0.45)
								) 1 1 1 1;
}

.notebook tab.left:active {
    padding: 3px 3px 3px 5px;
    border-radius: 3px 0 0 3px;
}

.notebook tab.right:active {
    padding: 3px 5px 3px 3px;
    border-radius: 0 3px 3px 0;
}

/* close button styling */
.notebook tab .button,
.notebook tab .button:backdrop,
.notebook tab .button:hover,
.notebook tab .button:hover:backdrop,
.notebook tab .button:active,
.notebook tab .button:active:hover {
    border-image: none;
    border-style: none;
    background-image: none;
    background-color: transparent;
    box-shadow: none;
}

.notebook tab .button GtkImage,
.notebook tab .button GtkImage:backdrop,
.notebook tab .button GtkImage:hover:backdrop {
    border-radius: 3px;
    color: mix(@theme_fg_color, @theme_base_color, 0.6);
    border-style: solid;
    border-color: transparent;
    border-width: 1px;
    padding: 0;

    icon-shadow: 0 1px @button_text_shadow;
}

.notebook tab .button GtkImage:hover {
    background-color: alpha(#7D0126, 0.52);
    color: @theme_fg_color;
    border-color: alpha(black, 0.1);
    icon-shadow: 0 1px alpha(black, 0.5);
}

.notebook tab .button GtkImage:active,
.notebook tab .button GtkImage:active:hover {
    background-color: #7D0126;
    box-shadow: inset 0 1px alpha(black, 0.05);
    color:  @theme_base_color;
    icon-shadow: 0 1px @button_active_text_shadow;

    border-color: alpha(black, 0.27)
                  alpha(black, 0.13)
                  alpha(black, 0.13)
                  alpha(black, 0.13);
}

.notebook tab .button GtkImage:backdrop,
.notebook tab .button GtkImage:hover:backdrop {
    color: shade(mix(@theme_fg_color, @theme_base_color, 0.6),0.8);
    icon-shadow: none;
}

/**************
 * ComboBoxes *
 **************/
GtkComboBox {
    padding: 0;

    -GtkComboBox-arrow-scaling: 0.5;
    -GtkComboBox-shadow-type: none;

    text-shadow: 0 1px @button_text_shadow;
}

GtkComboBox *:backdrop {
    color: shade (@theme_fg_color, 0.8);
    text-shadow: none;
}

GtkComboBox *:disabled {
	color: shade(@theme_fg_color, 0.5);
}

GtkComboBox *:disabled:backdrop {
    color: shade(@theme_fg_color, 0.3);
    text-shadow: none;
}

.primary-toolbar GtkComboBox *,
.primary-toolbar.toolbar GtkComboBox * {
	color: shade(@theme_fg_color, 1.10);
	text-shadow: -1px -1px shade(@button_text_shadow, 0.75);
}

.primary-toolbar GtkComboBox *:hover,
.primary-toolbar.toolbar GtkComboBox *:hover {
	color: shade(@theme_fg_color, 1.20);
	text-shadow: 1px 1px shade(@button_text_shadow, 0.75);
}

.primary-toolbar GtkComboBox *:backdrop,
.primary-toolbar GtkComboBox *:hover:backdrop,
.primary-toolbar.toolbar GtkComboBox *:backdrop,
.primary-toolbar.toolbar GtkComboBox *:hover:backdrop {
	color: shade(@theme_fg_color, 0.7);
	text-shadow: none;
}

.primary-toolbar GtkComboBox *:disabled,
.primary-toolbar.toolbar GtkComboBox *:disabled {
	color: shade(@theme_fg_color, 0.75);
	text-shadow: -1px -1px @button_text_shadow;
}

.primary-toolbar GtkComboBox *:disabled:backdrop,
.primary-toolbar.toolbar GtkComboBox *:disabled:backdrop {
	color: shade(@theme_fg_color, 0.65);
	text-shadow: -1px -1px shade(@button_text_shadow,0.8);
}

GtkComboBox .separator,
GtkComboBox .separator.vertical,
GtkComboBox .separator.vertical:hover,
GtkComboBox .separator.vertical:disabled,
GtkComboBox .separator.vertical:backdrop,
GtkComboBox .separator.vertical:hover:backdrop,
GtkComboBox .separator.vertical:disabled:backdrop  {
    /* always disable separators */
    -GtkWidget-wide-separators: false;
    -GtkWidget-horizontal-separator: 0;
    -GtkWidget-vertical-separator: 0;
    color: transparent;
}

GtkComboBox.combobox-entry .entry:first-child,
GtkComboBox.combobox-entry .entry:first-child:focus,
GtkComboBox.combobox-entry .button:first-child,
GtkComboBox.combobox-entry .button:hover:first-child,
GtkComboBox.combobox-entry .button:active:first-child,
GtkComboBox.combobox-entry .button:hover:active:first-child,
GtkComboBox.combobox-entry .button:focus:first-child,
GtkComboBox.combobox-entry .button:focus:hover:first-child,

.notebook GtkComboBox.combobox-entry .entry:first-child,
.notebook GtkComboBox.combobox-entry .entry:first-child:focus,
.notebook GtkComboBox.combobox-entry .button:first-child,
.notebook GtkComboBox.combobox-entry .button:hover:first-child,
.notebook GtkComboBox.combobox-entry .button:active:first-child,
.notebook GtkComboBox.combobox-entry .button:hover:active:first-child,
.notebook GtkComboBox.combobox-entry .button:focus:first-child,
.notebook GtkComboBox.combobox-entry .button:focus:hover:first-child {
    border-image-width: 3px 0 4px 3px;
    border-radius: 3px 0 0 3px;
    border-right-width: 0;
    box-shadow: 0 1px #242424 inset,
				0 2px rgba(0,0,0,0.24) inset,
				0 3px rgba(0,0,0,0.12) inset,
				0 4px rgba(0,0,0,0.06) inset,
				0 6px rgba(0,0,0,0.04) inset,
				1px 0 #222222 inset,
				2px 0 rgba(0,0,0,0.09) inset,
				3px 0 rgba(0,0,0,0.04) inset;
}

GtkComboBox.combobox-entry .entry:last-child,
GtkComboBox.combobox-entry .entry:last-child:focus,
GtkComboBox.combobox-entry .button:last-child,
GtkComboBox.combobox-entry .button:hover:last-child,
GtkComboBox.combobox-entry .button:active:last-child,
GtkComboBox.combobox-entry .button:hover:active:last-child,
GtkComboBox.combobox-entry .button:focus:last-child,
GtkComboBox.combobox-entry .button:focus:hover:last-child,

.notebook GtkComboBox.combobox-entry .entry:last-child,
.notebook GtkComboBox.combobox-entry .entry:last-child:focus,
.notebook GtkComboBox.combobox-entry .button:last-child,
.notebook GtkComboBox.combobox-entry .button:hover:last-child,
.notebook GtkComboBox.combobox-entry .button:active:last-child,
.notebook GtkComboBox.combobox-entry .button:hover:active:last-child,
.notebook GtkComboBox.combobox-entry .button:focus:last-child,
.notebook GtkComboBox.combobox-entry .button:focus:hover:last-child  {
    border-image-width: 3px 3px 4px 0;
    border-radius: 0 3px 3px 0;
    border-left-width: 0;
    box-shadow: 0 1px #242424 inset,
				0 2px rgba(0,0,0,0.24) inset,
				0 3px rgba(0,0,0,0.12) inset,
				0 4px rgba(0,0,0,0.06) inset,
				0 6px rgba(0,0,0,0.04) inset,
				-1px 0 #242424 inset,
				-2px 0 rgba(0,0,0,0.09) inset,
				-3px 0 rgba(0,0,0,0.04) inset;
}

.primary-toolbar GtkComboBox.combobox-entry .entry:first-child,
.primary-toolbar GtkComboBox.combobox-entry .button:first-child {
    border-image-width: 4px 0 4px 4px;
    border-radius: 3px 0 0 3px;
    border-right-width: 0;

}

.primary-toolbar GtkComboBox.combobox-entry .entry:last-child,
.primary-toolbar GtkComboBox.combobox-entry .button:last-child {
    border-image-width: 4px 4px 4px 0;
    border-radius: 0 3px 3px 0;
    border-left-width: 0;
}

GtkComboBox.combobox-entry .entry:focus:first-child {
    box-shadow: 0 1px #242424 inset,
				0 2px rgba(0,0,0,0.24) inset,
				0 3px rgba(0,0,0,0.12) inset,
				0 4px rgba(0,0,0,0.06) inset,
				0 6px rgba(0,0,0,0.04) inset,
				1px 0 #222222 inset,
				2px 0 rgba(0,0,0,0.09) inset,
				3px 0 rgba(0,0,0,0.04) inset;
				}

GtkComboBox.combobox-entry .entry:focus:last-child {
    box-shadow: 0 1px #242424 inset,
				0 2px rgba(0,0,0,0.24) inset,
				0 3px rgba(0,0,0,0.12) inset,
				0 4px rgba(0,0,0,0.06) inset,
				0 6px rgba(0,0,0,0.04) inset,
				-1px 0 #242424 inset,
				-2px 0 rgba(0,0,0,0.09) inset,
				-3px 0 rgba(0,0,0,0.04) inset;
				}

GtkComboBox.combobox-entry .entry:selected,
GtkComboBox.combobox-entry .entry:focus:selected {
    color:@theme_selected_fg_color;
    background-color: @theme_selected_bg_color;
}

GtkComboBox.combobox-entry .entry:selected:backdrop,
GtkComboBox.combobox-entry .entry:focus:selected:backdrop {
    color: shade(@theme_selected_fg_color, 0.8);
    background-color: shade(@theme_selected_bg_color, 0.8);
}

GtkComboBox.combobox-entry .button:last-child,
GtkComboBox.combobox-entry .button:hover:last-child,
GtkComboBox.combobox-entry .button:active:last-child,
GtkComboBox.combobox-entry .button:hover:active:last-child,
GtkComboBox.combobox-entry .button:focus:last-child,
GtkComboBox.combobox-entry .button:focus:hover:last-child {
    box-shadow: inset 1px 0 alpha(black, 0.45),
                0 1px #242424 inset,
				0 2px rgba(0,0,0,0.24) inset,
				0 3px rgba(0,0,0,0.12) inset,
				0 4px rgba(0,0,0,0.06) inset,
				0 6px rgba(0,0,0,0.04) inset,
				-1px 0 #242424 inset,
				-2px 0 rgba(0,0,0,0.09) inset,
				-3px 0 rgba(0,0,0,0.04) inset;
}

GtkComboBox.combobox-entry .button:first-child,
GtkComboBox.combobox-entry .button:hover:first-child,
GtkComboBox.combobox-entry .button:active:first-child,
GtkComboBox.combobox-entry .button:hover:active:first-child,
GtkComboBox.combobox-entry .button:focus:first-child,
GtkComboBox.combobox-entry .button:focus:hover:first-child {
    box-shadow: inset -1px 0 alpha(black, 0.45)
                0 1px #242424 inset,
				0 2px rgba(0,0,0,0.24) inset,
				0 3px rgba(0,0,0,0.12) inset,
				0 4px rgba(0,0,0,0.06) inset,
				0 6px rgba(0,0,0,0.04) inset,
				1px 0 #222222 inset,
				2px 0 rgba(0,0,0,0.09) inset,
				3px 0 rgba(0,0,0,0.04) inset;
}
/*
GtkComboBox.combobox-entry .button:disabled:first-child {
    box-shadow: inset -1px 0 shade(@disabled_borders, 1.46);
}

GtkComboBox.combobox-entry .button:disabled:last-child {
    box-shadow: inset 1px 0 shade(@disabled_borders, 1.46);
}*/
/*
GtkComboBox.combobox-entry .button:backdrop:first-child,
GtkComboBox.combobox-entry .button:backdrop:last-child,
GtkComboBox.combobox-entry .button:disabled:backdrop:first-child,
GtkComboBox.combobox-entry .button:disabled:backdrop:last-child {
    box-shadow: none;
}*/
GtkComboBox.combobox-entry .button * {
	color: shade(@entry_text_color, 1.3);
}

GtkComboBox.combobox-entry .button *:hover {
	color: shade(@entry_text_color, 0.8);
}

GtkComboBox.combobox-entry .button *:active,
GtkComboBox.combobox-entry .button *:active:hover {
    color: @button_active_text;
}

GtkComboBox.combobox-entry .button *:disabled {
	color: shade(@disabled_fg_color, 1.6);
}

GtkComboBox.combobox-entry .button *:disabled:backdrop {
	color: mix(@internal_element_color, @theme_unfocused_base_color, 0.7);
}

GtkComboBox.combobox-entry .button *:backdrop {
	color:  shade(@entry_text_color, 1.1);
}

GtkComboBox .button {
    color: @theme_fg_color;
    text-shadow: 0 1px @button_text_shadow;
    icon-shadow: 0 1px @button_text_shadow;
}

GtkComboBox .button *:hover {
    color: shade (@theme_text_color, 0.96);
    text-shadow: 0px -1px @button_text_shadow_hover;
    icon-shadow: 0px -1px @button_text_shadow_hover;
}

GtkComboBox .button *:backdrop,
GtkComboBox .button *:hover:backdrop {
    color: shade (@theme_fg_color, 0.7);
    text-shadow: none;
    icon-shadow: none;
}


/**************
 * Scrollbars *
 **************/

.scrollbar {
    background-image: none;
    border-style: solid;
    -GtkRange-trough-border: 0;
    -GtkScrollbar-has-backward-stepper: false;
    -GtkScrollbar-has-forward-stepper: false;
    -GtkRange-slider-width: 13;
    -GtkScrollbar-min-slider-length: 42; /* minimum size for the slider. sadly can't be in '.slider' where it belongs */

    -GtkRange-stepper-spacing: 0;
    -GtkRange-trough-under-steppers: 1;
}

.scrollbars-junction, /* the small square between scrollbars!!! */
.scrollbar.trough,
.scrollbar.trough:backdrop,
.scrollbar.trough:disabled,
.scrollbar.trough:disabled:backdrop {
    background-image: none;
    background-color: @scrollbar_trough;
    border-width: 0;
    border-radius: 0;
    border-image: none;

    box-shadow: 1px 0 rgba(0,0,0,0.20) inset,
				2px 0 rgba(0,0,0,0.04) inset;
}

.notebook .scrollbars-junction,
.notebook .scrollbar.trough,
.notebook .scrollbar.trough:backdrop,
.notebook .scrollbar.trough:disabled,
.notebook .scrollbar.trough:disabled:backdrop {
    background-color: @scrollbar_trough_notebook;
    box-shadow: 1px 0 rgba(0,0,0,0.20) inset,
				2px 0 rgba(0,0,0,0.04) inset;
}

.scrollbar.trough.horizontal,
.notebook .scrollbar.trough.horizontal {
    box-shadow: 0 1px rgba(0,0,0,0.20) inset,
				0 2px rgba(0,0,0,0.04) inset;
}

.scrollbars-junction,
.scrollbars-junction:backdrop,
.scrollbars-junction:disabled,
.scrollbars-junction:disabled:backdrop,
.notebook .scrollbars-junction,
.notebook .scrollbars-junction:backdrop,
.notebook .scrollbars-junction:disabled,
.notebook .scrollbars-junction:disabled:backdrop {
	box-shadow:none;
}

.scrollbars-junction:backdrop,
.scrollbar.trough:backdrop {
    background-color: shade(@scrollbar_trough, 0.8);
}

.notebook .scrollbars-junction:backdrop,
.notebook .scrollbar.trough:backdrop {
    background-color: shade(@scrollbar_trough_notebook, 0.8);
}

.scrollbars-junction:disabled,
.scrollbar.trough:disabled {
    background-color: shade(@scrollbar_trough, 1.5);
}

.notebook .scrollbars-junction:disabled,
.notebook .scrollbar.trough:disabled {
    background-color: shade(@scrollbar_trough_notebook, 1.5);
}

.scrollbars-junction:disabled:backdrop,
.scrollbar.trough:disabled:backdrop {
    background-color: shade(@scrollbar_trough, 1.3);
}

.notebook .scrollbars-junction:disabled:backdrop,
.noteboook .scrollbar.trough:disabled:backdrop {
    background-color: shade(@scrollbar_trough_notebook, 1.3);
}

.scrollbar.button,
.scrollbar.button:active,
.scrollbar.button:active:hover,
.scrollbar.button:disabled,
.scrollbar.button:hover:backdrop,
.scrollbar.button:active:hover:backdrop {
    border-style: none;
    border-image: none;
    border-radius: 0;
    background-image: none;
    background-color: transparent;
}

.scrollbar.button:active,
.scrollbar.button:active:hover {
    background-color: mix(@scrollbar_slider, @scrollbar_trough, 0.8);
}

.scrollbar.button.top:hover {
    box-shadow: inset 0 -1px mix(@scrollbar_slider, @scrollbar_trough, 0.8);
}

.scrollbar.button.bottom:hover {
    box-shadow: inset 0 1px mix(@scrollbar_slider, @scrollbar_trough, 0.8);
}

.scrollbar.button.right:hover {
    box-shadow: inset 1px 0 mix(@scrollbar_slider, @scrollbar_trough, 0.8);
}

.scrollbar.button.left:hover {
    box-shadow: inset -1px 0 mix(@scrollbar_slider, @scrollbar_trough, 0.8);
}

.scrollbar.button.top:hover:backdrop,
.scrollbar.button.bottom:hover:backdrop,
.scrollbar.button.right:hover:backdrop,
.scrollbar.button.left:hover:backdrop {
    box-shadow: none;
}

.scrollbar.button {
    color: @scrollbar_slider;
}

.scrollbar.button:hover {
    color: @scrollbar_slider_prelight;
}

.scrollbar.button:disabled {
    color: mix(@scrollbar_slider, @scrollbar_trough, 0.6);
}

.scrollbar.button:active {
    color: @scrollbar_slider_active;
}

.scrollbar.button:backdrop {
    color: @scrollbar_slider_unfocused;
}

.scrollbar.button:disabled:backdrop {
    color: mix(@scrollbar_slider_unfocused, @scrollbar_trough_unfocused, 0.7);
}


.scrollbar.slider,
.scrollbar.slider:backdrop,
.scrollbar.slider:hover,
.scrollbar.slider:hover:active,
.scrollbar.slider:hover:backdrop,
.scrollbar.slider:disabled,
.scrollbar.slider:disabled:backdrop {
	border-radius: 20px;
    border-style: solid;
    border-image: none;
    border-color: transparent;
    border-width: 3px;

    background-image: linear-gradient(to right,
                                      alpha(white, 0.04),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.01) 41%,
                                      alpha(black, 0.22)
                                      );
    background-color: @scrollbar_slider;

    box-shadow: 1px 1px alpha(white, 0.04) inset,
				-1px -1px alpha(white, 0.04) inset;
}

.scrollbar.slider.horizontal,
.scrollbar.slider.horizontal:hover,
.scrollbar.slider.horizontal:hover:active,
.scrollbar.slider.horizontal:disabled {
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.04),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.01) 41%,
                                      alpha(black, 0.26)
                                      );
}

.scrollbar.slider:backdrop,
.scrollbar.slider:hover:backdrop {
	background-color: shade(@scrollbar_slider, 0.8);
	background-image: linear-gradient(to right,
                                      alpha(white, 0.025),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.01) 41%,
                                      alpha(black, 0.18)
                                      );
}

.scrollbar.slider.horizontal:backdrop,
.scrollbar.slider.horizontal:hover:backdrop,
.scrollbar.slider.horizontal:disabled:backdrop {
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.025),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.01) 41%,
                                      alpha(black, 0.18)
                                      );
}

.scrollbar.slider:hover {
	background-color: @scrollbar_slider_prelight;
    box-shadow: 1px 1px alpha(white, 0.06) inset,
				-1px -1px alpha(white, 0.06) inset;
    transition: 1000ms linear; /* doesn't work */
}

.scrollbar.slider:hover:active {
	background-color: @scrollbar_slider_active;
	box-shadow: 1px 1px alpha(white, 0.08) inset,
				-1px -1px alpha(white, 0.08) inset;
}

.scrollbar.slider:disabled {
	background-color: shade(@scrollbar_slider, 0.5);
	background-image: linear-gradient(to left top,
                                      alpha (black, 0.15),
                                      alpha (black, 0.15) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.15) 50%,
                                      alpha (black, 0.15) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                    linear-gradient(to bottom,
                                      shade(@scrollbar_slider, 0.5),
                                      shade(@scrollbar_slider, 0.5)
                                      );
	background-size: 10px 10px, auto;
}

.scrollbar.slider:disabled:backdrop {
	background-color: shade(@scrollbar_slider, 0.3);
	background-image: linear-gradient(to left top,
                                      alpha (black, 0.15),
                                      alpha (black, 0.15) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.15) 50%,
                                      alpha (black, 0.15) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                    linear-gradient(to bottom,
                                      shade(@scrollbar_slider, 0.3),
                                      shade(@scrollbar_slider, 0.3)
                                      );
}

/*********
 * Menus *
 *********/
/* combobox menus */
GtkTreeMenu.menu {
    background-color: transparent;
}

GtkTreeMenu .menuitem {
    padding: 2px;

    border-style: none;
}

GtkTreeMenu .menuitem * {
    color: @menu_fg_color;
}

GtkTreeMenu .menuitem:active,
GtkTreeMenu .menuitem *:active,
GtkTreeMenu .menuitem:hover,
GtkTreeMenu .menuitem *:hover {
    color: @menu_selected_fg_color;
    text-shadow: 0 1px alpha(black, 0.38);
}

GtkTreeMenu .menuitem,
.button .menuitem,
.toolbar .button .menuitem * {
    text-shadow: none;
}

.menu {
	padding: 1px;
	color: @menu_fg_color;

    border-style: solid;
    border-width: 1px;
    border-color: @menu_border_color;
    border-top-color: @menu_border_top_color;

    background-color: @menu_background_color;

    text-shadow: 0 -1px alpha(black, 0.3);

    box-shadow: inset 0 -1px alpha(black, 0.06),
				inset 0 -2px alpha(black, 0.03),
				inset 0 -3px alpha(black, 0.01),

				inset 0 1px alpha(white, 0.015),
				inset 0 2px alpha(white, 0.01),
				inset 0 3px alpha(white, 0.005),

                inset -1px 0 alpha(black, 0.04),
                inset -2px 0 alpha(black, 0.02),

                inset 1px 0 alpha(white, 0.015),
                inset 2px 0 alpha(white, 0.01);
    background-image: url("assets/contacts-stripes.png"),
					  linear-gradient(to bottom,
                                      @menu_background_color,
                                      @menu_background_color
                                      );
    background-repeat: repeat;
    background-position: center;
    background-size: 6px;
}

/*******Used with Ubuntu Unity music player buttons*********/
.menu {
	background-color: mix(shade(@view-row, 1.15), @theme_selected_bg_color, 0.02);
}

.menu:selected {
    background-color: mix(@menu_background_color, @theme_selected_bg_color, 0.8);
}

.menu:hover {
	background-color: mix(shade(@view-row, 0.90), @theme_selected_bg_color, 0.55);
}

.menu:disabled {
	background-image: none;
	background-size: auto;
}

/**********************************************************/
.menu.button {
    background-color: transparent;
    color: shade(@menu_fg_color, 1.05);

    border-image: none;
    border-style: none;
}

.menu.button:hover {
    background-color: transparent;
    color: shade(@menu_fg_color, 0.95);

    border-image: none;
    border-style: none;
}

.menu.button:disabled {
    background-color: transparent;
    color: shade(@menu_fg_color, 0.5);

    border-image: none;
    border-style: none;
}

/* this controls the general appearance of the menubar */
.menubar {
    border-style: none;

    -GtkWidget-window-dragging: true;
}

.menubar .menuitem {
    color: @menu_fg_color;
    padding: 3px 5px;

    border-style: none;

    text-shadow: 0 -1px @button_active_text_shadow;
}

/* remove the image from the prelight areas */
.menubar .menuitem:hover {
	border-image: none;
    border-radius: 5px 5px 0 0;

    border-width: 1px;
	border-color: @menu_border_color;
	background-color: @menu_background_color;
	background-image: -gtk-gradient (radial,
										center -0.5, 0,
										center -0.1, 1.0,
										from(rgba(255,255,255,0.8)),
										to(alpha(black, 0.06))),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.65)
                                      );

	box-shadow: inset 0 -1px alpha(white, 0.06),
				inset 0 1px alpha(white, 0.11),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(white, 0.04),
                inset 1px 0 alpha(white, 0.08);
}

.menubar .menuitem *:hover {
    color: @menu_selected_fg_color;
    text-shadow: 0 1px alpha(black, 0.38);
}

.menu .menuitem {
    -GtkMenuItem-arrow-scaling: 0.5;

    padding: 4px;
    color: @menu_fg_color;

    text-shadow: 0 -1px alpha(black, 0.32);
}
/*
.menu .menuitem:hover {
    border-radius: 0;
}*/

.menu .menuitem:active,
.menu .menuitem:hover {
	border-color: transparent;
	border-radius: 2px;
	background-color: transparent;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.18),
                                      alpha(black, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.65)
                                      );

	box-shadow: inset 0 -1px alpha(white, 0.06),
				inset 0 1px alpha(white, 0.11),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(white, 0.04),
                inset 1px 0 alpha(white, 0.06);
}

.menu .menuitem:disabled {
    background-color: transparent;
}

.menu .menuitem:active,
.menu .menuitem *:active,
.menu .menuitem:hover,
.menu .menuitem *:hover {
    color: @menu_selected_fg_color;
    text-shadow: 0 1px alpha(black, 0.38);
}

.menu .menuitem:disabled,
.menu .menuitem *:disabled {
    color: shade(@menu_fg_color, 0.5);
    text-shadow: none;
}

.menu .menuitem .accelerator:disabled {
    color: shade(@menu_fg_color, 0.3);
    text-shadow: none;
}

.menuitem .accelerator {
    color: alpha(@menu_fg_color, 0.65);
    text-shadow: 0 -1px @button_text_shadow;
}

.menuitem .accelerator:hover,
.menuitem .accelerator:active {
    color: alpha(@menu_selected_fg_color, 0.75);
    text-shadow: 0 1px alpha(black, 0.3);
}

.menuitem.arrow {
    color: shade(@menu_fg_color, 1.05);
}

.menuitem.arrow:active,
.menuitem.arrow:hover {
    color: @menu_selected_fg_color;
}

GtkMenuitem.GtkSeparator,
.menuitem.separator {
	color: @menu_separator;
	border-width: 1px;
	border-color: transparent;
	border-bottom-color: alpha(white, 0.032);
	border-style: solid;
	border-image: none;
    -GtkMenuItem-horizontal-padding: 14;

    padding: 0;
    padding-top: 1px;
    padding-bottom: 1px;
    background-image: none;
    background-color:  transparent;
}

.menuitem.check,
.menuitem.radio,
.menuitem.check:hover,
.menuitem.radio:hover,
.menuitem.check:disabled,
.menuitem.radio:disabled {
	box-shadow: none;
    background-image: none;
    background-color: transparent;
}

.menuitem.check:active,
.menuitem.radio:active {
    background-color: transparent;
    box-shadow: none;
}

.menuitem.check:active {
    background-image: url("assets/menu-check/menu-check.svg");
}

.menuitem.check:active:hover {
    background-image: url("assets/menu-check/menu-check-hover.svg");
}

.menuitem.check:active:disabled {
    background-image: url("assets/menu-check/menu-check-disabled.svg");
}

.menuitem.check:inconsistent,
.menuitem.radio:inconsistent {
    background-image: url("assets/menu-check/menu-inconsistant.svg");
}

.menuitem.check:inconsistent:disabled,
.menuitem.radio:inconsistent:disabled {
    background-image: url("assets/menu-check/menu-inconsistant-disabled.svg");
}

.menuitem.check:inconsistent:hover,
.menuitem.radio:inconsistent:hover {
    background-image: url("assets/menu-check/menu-inconsistant-hover.svg");
}

.menuitem.radio:active {
    background-image: url("assets/menu-check/menu-radio.svg");
}

.menuitem.radio:active:hover {
    background-image: url("assets/menu-check/menu-radio-selected.svg");
}

.menuitem.radio:active:disabled {
    background-image: url("assets/menu-check/menu-radio-disabled.svg");
}


/***************
 * Menu Button *
 ***************/
.toolbar GtkMenuButton.button:active,
.toolbar GtkMenuButton.button.raised:active,
GtkMenuButton.button:active,
.linked GtkMenuButton.button:active,
.toolbar .linked.raised GtkMenuButton.button:active,
.toolbar GtkMenuButton.button.linked.raised:active {
    background-color: alpha(black, 0.65);
	background-image: -gtk-gradient (radial,
										center -0.5, 0,
										center -0.1, 1.0,
										from(rgba(255,255,255,0.8)),
										to(alpha(black, 0.06))),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.65)
                                      );


	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

GtkMenuButton.button *:active,
.linked GtkMenuButton.button *:active,
.toolbar .linked.raised GtkMenuButton.button *:active,
.toolbar GtkMenuButton.button.linked.raised *:active {
    text-shadow: none;
    icon-shadow: none;
}

.linked GtkMenuButton.button:active:last-child,
.toolbar .linked.raised GtkMenuButton.button:active:last-child,
.toolbar GtkMenuButton.button.linked.raised:active:last-child {
    border-top-left-radius: 0;
}

.linked GtkMenuButton.button:active:first-child,
.toolbar .linked.raised GtkMenuButton.button:active:first-child,
.toolbar GtkMenuButton.button.linked.raised:active:first-child {
    border-top-right-radius: 0;
}

.button.menuitem.menubar:active {
    background-color: alpha(black, 0.65);
	background-image: -gtk-gradient (radial,
										center -0.5, 0,
										center -0.1, 1.0,
										from(rgba(255,255,255,0.8)),
										to(alpha(black, 0.06))),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.65)
                                      );

	box-shadow: inset 0 -1px alpha(white, 0.06),
				inset 0 1px alpha(white, 0.16),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(white, 0.06),
                inset 1px 0 alpha(white, 0.1);
}

.button.menuitem.menubar *:active,
GtkMenuButton.button *:active,
.toolbar GtkMenuButton.button *:active {
    color: @theme_text_color;
}

GtkMenuButton .menu {
    text-shadow: none;
}

/****************
 * Radiobuttons *
 ****************/

.check,
.radio,
.check:disabled,
.radio:disabled {
    background-color: transparent;
    border-style: none;
}

.view.cell.check,
.view.cell.radio,
.view.cell.check:disabled,
.view.cell.radio:disabled {
    background-color: transparent;
    border-style: none;
}

GtkCheckButton:hover,
GtkCheckButton:active:hover,
GtkCheckButton:selected,
GtkCheckButton:selected:focus {
    background-color: transparent;
}

.view.cell GtkCheckButton:hover,
.view.cell GtkCheckButton:active:hover,
.view.cell GtkCheckButton:selected,
.view.cell GtkCheckButton:selected:focus {
    background-color: transparent;
}

/************
 * Toolbars *
 ************/
.toolbar { /*Not sure about this*/
	padding: 6px;
	color: mix(@theme_selected_bg_color, black, 0.65);
	text-shadow: 1px 1px rgba(255,255,255,0.11);
    border-style: solid;
	border-width: 1px 0 1px 0;
    border-color: darker (@theme_bg_color);
    border-top-color: alpha(black, 0.22);
	border-bottom-color:  alpha(black, 0.24);

    background-color: alpha(white, 0.3);
    background-image: linear-gradient(to bottom,
                                     alpha(white, 0.3),
                                     alpha(black, 0.3)
                                      );
    box-shadow: inset 0 1px alpha(white, 0.14),
				inset 0 2px alpha(white, 0.02),
				inset 0 -1px alpha(black, 0.18),
				inset 0 -2px alpha(black, 0.02);
}

.toolbar .button {
    padding: 0px;
}

.toolbar .button.text-button {
    padding: 2px 16px;
}

.toolbar .button.image-button {
    padding: 5px 4px 4px 5px;
}

.toolbar:disabled {
    color: alpha(@theme_fg_color, 0.5);
}

/********************
 * Menubar Toolbars *
 ********************/
.toolbar.menubar {
    -GtkToolbar-button-relief: normal;

    padding: 4px 4px 2px 4px; /* weird padding to compensate border-images
                                 and eventual top border presence,
                                 see selection mode toolbars */
}

/***************
 * Header bars *
 ***************/
.header-bar {
    padding: 6px 6px 5px 6px;
    color: mix(@theme_selected_bg_color, white, 0.92);
	text-shadow: -1px -1px rgba(0,0,0,0.21);
	border-style: solid;
	border-width: 1px 0 0 0;
	border-top-color: alpha(black, 0.2);
	border-bottom-color: transparent;

    background-color: shade(@notebook_color, 0.4);
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.25),
                                      alpha(white, 0.1)
                                      );
    box-shadow: inset 0 1px alpha(white, 0.05),
				inset 0 2px alpha(white, 0.02),
				inset 0 3px alpha(white, 0.01),
				inset 0 -1px alpha(black, 0.46),
				inset 0 -2px alpha(black, 0.12),
				inset 0 -3px alpha(black, 0.02);
}

.header-bar:backdrop {
    background-color: shade(@notebook_color, 0.25);
}

.header-bar .button.text-button {
    padding: 2px 16px;
}

.header-bar .button.image-button {
    padding: 5px 4px 4px 5px;
}

/********************
 * Primary Toolbars *
 ********************/

/* applications using EggEditableToolbar usually set the primary-toolbar
 * hint on the containing vbox, so we need to handle both these cases here.
 */
.primary-toolbar .toolbar,
.primary-toolbar.toolbar {
	padding-top: 3px;
    padding-bottom: 3px;
    color: mix(@theme_selected_bg_color, white, 0.92);
	text-shadow: -1px -1px rgba(0,0,0,0.32);
    border-radius: 2px;
    border-width: 0px;
    border-style: none;
    border-top-color: @primary_toolbar_border_dark;
    border-bottom-color: transparent;

    -GtkWidget-window-dragging: true;
    -GtkToolbar-button-relief: normal;

    box-shadow: inset 0 1px alpha(white, 0.11),
				inset 0 -1px @primary_toolbar_border_dark;
    text-shadow: 0 1px @primary_toolbar_button_text_shadow;
}

.primary-toolbar .toolbar:disabled,
.primary-toolbar.toolbar:disabled {
    border-color: #1a1a1a;
    text-shadow: none;
}

.primary-toolbar .toolbar:backdrop,
.primary-toolbar.toolbar:backdrop {
	border-bottom-color: alpha(white, 0.055);
	box-shadow: inset 0 1px alpha(white, 0.045),
				inset 0 -1px @primary_toolbar_border_dark;
    text-shadow: none;
}

/* progressbars on primary toolbar entries are special */
.primary-toolbar .toolbar .entry.progressbar,
.primary-toolbar.toolbar .entry.progressbar {
    background-image: linear-gradient(to bottom,
                                      @trough_bg_color_a,
                                      @trough_bg_color_b
                                      );
    border-width: 1px;
    border-radius: 2px;
    border-style: solid;
    border-color: shade(@internal_element_color, 1.10);
    border-image: none;

    color: @theme_text_color;
}

/*******************
 * Inline toolbars *
 *******************/

.inline-toolbar.toolbar {
	-GtkToolbar-button-relief: normal;
	color: mix(@theme_selected_bg_color, white, 0.92);
	text-shadow: -1px -1px rgba(0,0,0,0.21);
    padding: 2px;
    border-radius: 0;
    border-width: 0 1px 2px 1px;
    border-style: solid;
    border-color: transparent;
    border-image: url("borders/inline/inline-toolbar.svg") 3 / 0 2px 3px 2px stretch;

    box-shadow: inset 0 1px alpha(black, 0.06),
				inset 1px 0 alpha(white, 0.03),
				inset 2px 0 alpha(white, 0.01),
				inset -1px 0 alpha(white, 0.02),
				inset 0 -1px alpha(black, 0.1);
}

.inline-toolbar.toolbar:backdrop {
    box-shadow: inset 0 1px alpha(black, 0.06),
				inset 1px 0 alpha(white, 0.015),
				inset 2px 0 alpha(white, 0.005),
				inset -1px 0 alpha(white, 0.01),
				inset 0 -1px alpha(black, 0.1);
}

.inline-toolbar.toolbar:last-child {
	border-radius: 0 0 2px 2px;
	border-width: 0 1px 2px 1px;
    border-style: solid;
    border-color: transparent;
	border-image: url("borders/inline/inline-toolbar-last-child.svg") 3 / 0 2px 3px 2px stretch;

    box-shadow: inset 0 1px alpha(black, 0.06),
				inset 1px 0 alpha(white, 0.03),
				inset 2px 0 alpha(white, 0.01),
				inset -1px 0 alpha(white, 0.02),
				inset 0 -1px alpha(black, 0.1);
}

.inline-toolbar.toolbar.vertical:last-child {
    border-left-width: 0;
    border-radius: 0;
}

/***********
 * Sidebar *
 ***********/
.sidebar,
.sidebar .view,
.sidebar .cell,
.sidebar GtkScrolledWindow,
.sidebar .cell:hover {
    color: shade(@theme_text_color, 1.1);
    border-width: 1px;

    background: @sidebar_background;
    background-image: url("assets/contacts-stripes-9.png"),
					  linear-gradient(to bottom,
                                      @sidebar_background,
                                      @sidebar_background
                                      );
    background-repeat: repeat;
    background-position: center;
    background-size: 6px, auto;
}

.sidebar .cell *:hover{
	color: shade(@theme_text_color, 1.2)
}

.sidebar:backdrop,
.sidebar .view:backdrop,
.sidebar .view:hover:backdrop,
.sidebar .cell:backdrop,
.sidebar GtkScrolledWindow:backdrop,
.sidebar .cell:hover:backdrop {
    color: shade(@theme_text_color, 0.9);
    border-width: 1px;

    background: shade(@sidebar_background, 0.8);
    background-image: url("assets/contacts-stripes-9.png"),
					  linear-gradient(to bottom,
                                      shade(@sidebar_background, 0.8),
                                      shade(@sidebar_background, 0.8)
                                      );
    background-repeat: repeat;
    background-position: center;
    background-size: 6px, auto;
}

.sidebar .cell:selected:selected {
	border-style: solid;
	border-width:  0;
	border-color: transparent;
	border-radius: 2px;
	background-color: transparent;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.18),
                                      alpha(black, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.65)
                                      );

	box-shadow: inset 0 -1px alpha(white, 0.06),
				inset 0 1px alpha(white, 0.11),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(white, 0.04),
                inset 1px 0 alpha(white, 0.06);
}

.sidebar .cell *:selected:selected {
	color: @menu_selected_fg_color;
    text-shadow: 0 1px alpha(black, 0.38);
}

.sidebar .cell:selected:selected:backdrop,
.sidebar .cell:selected:hover:backdrop {
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.14),
                                      alpha(black, 0.04)
                                      ),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.45)
                                      );

	box-shadow: inset 0 -1px alpha(white, 0.03),
				inset 0 1px alpha(white, 0.06),
				inset 0 2px alpha(white, 0.01),
                inset -1px 0 alpha(white, 0.02),
                inset 1px 0 alpha(white, 0.03);
}

.sidebar .cell *:selected:selected:backdrop,
.sidebar .cell *:selected:hover:backdrop {
	color: shade(@menu_selected_fg_color, 0.8);
    text-shadow: 0 1px alpha(black, 0.24);
}

.sidebar .cell:selected:hover:focus,
.sidebar .cell:selected:hover {
	background-color: transparent;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.20),
                                      alpha(black, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.75)
                                      );

	box-shadow: inset 0 -1px alpha(white, 0.06),
				inset 0 1px alpha(white, 0.11),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(white, 0.04),
                inset 1px 0 alpha(white, 0.06);
}

.sidebar .cell *:selected:hover,
.sidebar .cell *:selected:hover:focus {
	color: shade(@menu_selected_fg_color, 1.2);
    text-shadow: 0 1px alpha(black, 0.46);
}

.sidebar .scrollbar.trough,
.sidebar .scrollbar.trough:backdrop {
    border-radius: 100px;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;

    box-shadow: none;
}

.sidebar .scrollbar.trough {
    background-color: shade(@sidebar_background, 0.6);
}

.sidebar .scrollbar.trough:backdrop {
    background-color: shade(@sidebar_background, 0.5);
}

.sidebar .scrollbar.slider {
    background-color: @sidebar_scrollbar_slider;
}

.sidebar .scrollbar.slider:hover {
    background-color: @sidebar_scrollbar_slider_prelight;
}

.sidebar .scrollbar.slider:backdrop,
.sidebar .scrollbar.slider:hover:backdrop {
    background-color: shade(@sidebar_scrollbar_slider, 0.8);
}

.sidebar .scrollbar.slider:hover:active {
    background-color: @sidebar_scrollbar_slider_active;
}

.sidebar .radio,
.sidebar .radio:focus,
.sidebar .radio:selected {
    background-image: none;
    background-color: transparent;
}

GtkHCollapsablePaned,
SourceList.pane-separator {
    border-width:            0px;
    -GtkPaned-handle-size: 2px;
}

GtkHCollapsablePaned .pane-separator,
GtkHCollapsablePaned .pane-separator:prelight,
GtkHCollapsablePaned .pane-separator:selected {
    background-image: none;
    background-color: @sidebar_background;
    border-width: 0px 1px 0px 0px;
    border-style: solid;
    border-color: shade (@sidebar_background, 0.90);
}
/*******
 * OSD *
 *******/
.background.osd {
    color: @osd_fg;
    background-color: @osd_bg;
}

.background.osd:backdrop {
    background-color: @osd_bg_backdrop;
}

GtkOverlay.osd {
    background-color: transparent;
}

.osd.frame {
    background-clip: border-box;
    background-origin: border-box;
}

.osd.button,
.osd.button:active,
.osd .button,
.osd .button:active {
    border-width: 1px;
    border-style: solid;
    border-image: none;
    border-radius: 5px;
}

.osd .button {
    border-color: @osd_button_border;
}

.osd .button:active {
    border-color: @osd_button_border_active;
}

.osd.button,
.osd .button {
    padding: 4px;

    background-image: linear-gradient(to bottom,
                                      @osd_button_bg_a,
                                      @osd_button_bg_b 68%,
                                      @osd_button_bg_c
                                      );

    color: @osd_button_fg;

    text-shadow: 0 -1px @osd_button_shadow;
    icon-shadow: 0 -1px @osd_button_shadow;
}

.osd.button {
    padding: 8px;
}

.osd.button,
.osd.button:active {
    border-color: transparent;
}

.osd.button,
.osd.button:prelight,
.osd.button:active {
    background-color: shade(@osd_bg, 1.10);
}

.osd .button,
.osd .button:prelight,
.osd .button:active {
    background-color: transparent;
}

.osd.button:disabled,
.osd .button:disabled {
    background-image: none;
    background-color: @osd_button_bg_disabled;
}

.osd.button:active:disabled,
.osd .button:active:disabled {
    background-image: none;
    background-color: @osd_button_bg_disabled_active;
}

.osd.button:backdrop,
.osd .button:backdrop {
    background-image: none;
    background-color: @osd_button_bg_backdrop;
}

.osd.button:backdrop:hover,
.osd.button:backdrop:active:hover,
.osd .button:backdrop:hover,
.osd .button:backdrop:active:hover {
    background-image: none;
    background-color: @osd_button_bg_backdrop_hover;
}

.osd.button:backdrop:active,
.osd .button:backdrop:active {
    background-image: none;
    background-color: @osd_button_bg_backdrop_active;
}

.osd.button:backdrop:disabled,
.osd.button:backdrop:disabled:active,
.osd .button:backdrop:disabled,
.osd .button:backdrop:disabled:active {
    background-image: none;
    background-color: @osd_button_bg_backdrop_disabled;
}

.osd.button *:hover,
.osd .button *:hover {
    color: @osd_button_fg_hover;
}

.osd.button *:active,
.osd.button *:hover:active,
.osd .button *:active,
.osd .button *:hover:active {
    color: @osd_button_fg_active;
}

.osd.button *:disabled,
.osd.button *:disabled:active,
.osd .button *:disabled,
.osd .button *:disabled:active {
    color: @osd_button_fg_disabled;
    text-shadow: none;
    icon-shadow: none;
}

.osd.button *:backdrop,
.osd.button *:backdrop:disabled,
.osd.button *:backdrop:disabled:active,
.osd .button *:backdrop,
.osd .button *:backdrop:disabled,
.osd .button *:backdrop:disabled:active {
    color: @osd_button_fg_backdrop;
    text-shadow: none;
    icon-shadow: none;
}

.osd.button *:backdrop:active,
.osd .button *:backdrop:active {
    color: @osd_button_fg_backdrop_active;
}

.osd.button:hover,
.osd .button:hover {
    background-image: linear-gradient(to bottom,
                                      @osd_button_bg_hover_a,
                                      @osd_button_bg_hover_b 68%,
                                      @osd_button_bg_hover_c
				      );
}

.osd.button:active,
.osd.button:active:hover,
.osd .button:active,
.osd .button:active:hover,
.osd GtkMenuButton.button:active {
    background-image: linear-gradient(to bottom,
                                      @osd_button_bg_active_a,
                                      @osd_button_bg_active_b 20%,
                                      @osd_button_bg_active_c
                                      );
}

.osd GtkMenuButton.button:active {
    background-color: transparent;
    border-color: @osd_button_border;
}

.osd GtkMenuButton.button *:active {
    color: @osd_button_fg_active;
    text-shadow: 0 -1px @osd_button_shadow;
}

.osd.toolbar {
    color: @osd_fg;
    text-shadow: 0 1px @osd_text_shadow;

    padding: 10px;
    border-style: none;
    border-radius: 7px;
    background-image: -gtk-gradient (radial,
										center 0, 0.0,
										center 0.0, 0.5,
										from(rgba(255,255,255,0.6)),
										to(transparent)),
						linear-gradient(to bottom,
                                      @osd_toolbar_bg_a,
                                      @osd_toolbar_bg_b 63%,
                                      @osd_toolbar_bg_c
                                      );
    background-color: transparent;
	box-shadow: inset 0 1px alpha(white, 0.11),
				inset 0 -1px alpha(white, 0.045),
				inset 1px 0 alpha(black, 0.38),
				inset -1px 0 alpha(black, 0.46);

    -GtkToolbar-button-relief: normal;
}

.osd.toolbar:backdrop {
    background-image: none;
    background-color: @osd_bg_backdrop;
}

.osd.toolbar .button {
    padding: 4px;
    border-width: 1px 0;
    border-radius: 0;
    box-shadow: inset -1px 0 @osd_button_inset;
}

.osd.toolbar .button:first-child {
    border-radius: 5px 0 0 5px;
    border-width: 1px 0 1px 1px;
    box-shadow: inset -1px 0 @osd_button_inset;
}

.osd.toolbar .button:last-child {
    box-shadow: none;
    border-radius: 0 5px 5px 0;
    border-width: 1px 1px 1px 0;
}

.osd.toolbar .button:only-child,
.osd.toolbar GtkToolButton .button,
.osd.toolbar GtkToolButton:only-child .button,
.osd.toolbar GtkToolButton:last-child .button,
.osd.toolbar GtkToolButton:first-child .button {
    border-width: 1px;
    border-radius: 5px;
    border-style: solid;

    box-shadow: none;
}

.osd.toolbar .separator {
    color: shade(@osd_lowlight, 0.80);
}

/* used by gnome-settings-daemon's media-keys OSD */
.osd.trough {
    background-color: @osd_trough_bg;
}

.osd.progressbar {
    background-color: @osd_fg;
}

.osd .scale.trough {
    border-color: @osd_button_border;
    background-image: linear-gradient(to bottom,
                                      shade(@osd_button_border, 0.70),
                                      shade(@osd_button_border, 0.90)
                                      );
    background-color: transparent;
}

.osd .scale.trough.highlight {
    border-color: mix(@osd_button_border, @theme_selected_bg_color, 0.70);
    background-image: linear-gradient(to bottom,
                                      mix(shade(@osd_button_border, 0.55), @theme_selected_bg_color, 0.70),
                                      mix(shade(@osd_button_border, 0.90), @theme_selected_bg_color, 0.70)
                                      );
}

.osd .scale.trough:disabled,
.osd .scale.trough.highlight:disabled {
    border-color: shade(@osd_button_border, 0.60);
    background-image: none;
    background-color: transparent;
}

.osd GtkProgressBar,
GtkProgressBar.osd {
    padding: 0;
    -GtkProgressBar-xspacing: 0;
    -GtkProgressBar-yspacing: 3px;
    -GtkProgressBar-min-horizontal-bar-height: 3px;
}

.osd GtkProgressBar.trough,
GtkProgressBar.osd.trough {
    padding: 0;
    border-image: none;
    border-style: none;
    border-width: 0;
    background-image: none;
    background-color: transparent;
    border-radius: 0;
}

.osd GtkProgressBar.progressbar,
GtkProgressBar.osd.progressbar {
    border-style: none;
    background-color: @theme_selected_bg_color;
    background-image: none;
    border-radius: 0;
}

.osd .view,
.osd.view {
    background-color: @osd_view_bg;
}

.osd .view:backdrop,
.osd.view:backdrop {
    background-color: @osd_view_bg_backdrop;
}

.osd .scrollbar.trough {
    background-color: @osd_scrollbar_trough;
}

.osd .scrollbar.trough:backdrop {
    background-color: @osd_scrollbar_trough_backdrop;
}

.osd .scrollbar.slider {
    background-color: @osd_scrollbar_slider;
}

.osd .scrollbar.slider:hover {
    background-color: @osd_scrollbar_slider_prelight;
}

.osd .scrollbar.slider:active {
    background-color: @osd_scrollbar_slider_active;
}

.osd GtkIconView.cell:selected,
.osd GtkIconView.cell:selected:focus {
    background-color: transparent;

    border-style: solid;
    border-radius: 15px;
    border-width: 3px;
    border-color: @osd_button_fg;

    outline-color: transparent;
}

/* used by Documents */
.osd .page-thumbnail {
    border-style: solid;
    border-width: 1px;
    border-color: @osd_lowlight;

    /* when there's no pixbuf yet */
    background-color: @osd_bg;
}

/****************************
 * Suggested action buttons *
 ****************************/
.toolbar .suggested-action.button,
.suggested-action.button {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.12),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.24)
                                      ),
                                      linear-gradient(to bottom,
                                      alpha(@theme_selected_bg_color, 0.4),
                                      alpha(@theme_selected_bg_color, 0.4));
	background-color: alpha(black, 0.4);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.toolbar .suggested-action.button:hover,
.suggested-action.button:hover {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.18),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.38)
                                      ),
                      linear-gradient(to bottom,
                                      alpha(@theme_selected_bg_color, 0.6),
                                      alpha(@theme_selected_bg_color, 0.6));
	background-color: alpha(black, 0.54);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.toolbar .suggested-action.button:backdrop,
.toolbar .suggested-action.button:hover:backdrop,
.suggested-action.button:backdrop,
.suggested-action.button:hover:backdrop {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.08),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.18)
                                      ),
                                      linear-gradient(to bottom,
                                      alpha(@theme_selected_bg_color, 0.3),
                                      alpha(@theme_selected_bg_color, 0.3));
	background-color: alpha(black, 0.46);
	box-shadow: 0 1px alpha(black, 0.1) inset,
				1px 0 alpha(black, 0.05) inset,
				-1px 0 alpha(black, 0.05) inset,
				0 2px alpha(black, 0.04) inset,
				2px 0 alpha(black, 0.02) inset,
				-2px 0 alpha(black, 0.01) inset;
}

.toolbar .suggested-action.button:active,
.toolbar .suggested-action.button:hover:active,
.suggested-action.button:active,
.suggested-action.button:hover:active {
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.08),
                                      alpha(white, 0.0) 59%,
                                      alpha(black, 0.0) 60%,
                                      alpha(white, 0.025)),
                      linear-gradient(to bottom,
                                      alpha(@theme_selected_bg_color,0.4),
                                      alpha(@theme_selected_bg_color,0.4));
	background-color: alpha(black, 0.7);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.toolbar .suggested-action.button *,
.suggested-action.button * {
	color: @theme_text_color;
    text-shadow: -1px -1px alpha(shade(@theme_selected_bg_color, 0.4), 0.4);
    icon-shadow: -1px -1px alpha(shade(@theme_selected_bg_color, 0.4), 0.4);
}

.toolbar .suggested-action.button *:hover,
.suggested-action.button *:hover {
    color: shade(@theme_text_color, 1.1);
}

.toolbar .suggested-action.button *:active,
.toolbar .suggested-action.button *:hover:active,
.suggested-action.button *:active,
.suggested-action.button *:hover:active {
	color: mix(@theme_selected_bg_color, white, 0.25);
    text-shadow: 1px  1px alpha(shade(@theme_selected_bg_color, 0.2), 0.6);
    icon-shadow: 1px  1px alpha(shade(@theme_selected_bg_color, 0.2), 0.6);
}

.toolbar .suggested-action.button *:backdrop,
.suggested-action.button *:backdrop {
	color: shade(@theme_text_color, 0.8);
    text-shadow: none;
    icon-shadow: none;
}

/**************************
 * Selection Mode classes *
 **************************/
.selection-mode.header-bar,
.selection-mode.toolbar {
    color: @theme_text_color;

    border-color: transparent;
    border-style: solid;
    border-image: none;
    text-shadow: -1px -1px alpha(shade(@theme_selected_bg_color, 0.4), 0.4);
	border-width: 0;

    background-color: mix(shade(@notebook_color, 0.4), @theme_selected_bg_color, 0.85);
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.30),
                                      alpha(black, 0.20)
                                      );
    box-shadow: inset 0 1px alpha(white, 0.05),
				inset 0 2px alpha(white, 0.02),
				inset 0 3px alpha(white, 0.01),
				inset 0 -1px alpha(black, 0.46),
				inset 0 -2px alpha(black, 0.12),
				inset 0 -3px alpha(black, 0.02);
}

.selection-mode.toolbar {
    padding: 6px;
}

.selection-mode.header-bar:backdrop,
.selection-mode.toolbar:backdrop {
    background-color: mix(shade(@notebook_color, 0.2), @theme_selected_bg_color, 0.65);
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.24),
                                      alpha(black, 0.12)
                                      );
    text-shadow: none;
}

/* regular button */
.selection-mode.header-bar .button,
.selection-mode.toolbar .button,
.selection-mode.toolbar GtkToolButton .button {
	background-color: transparent;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.06),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.06)
                                      );
	background-color: alpha(black, 0.2);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}


.selection-mode.header-bar .button:hover,
.selection-mode.toolbar .button:hover,
.selection-mode.toolbar GtkToolButton .button:hover {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.14),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.14)
                                      );
	background-color: alpha(black, 0.24);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.selection-mode.header-bar .button:active,
.selection-mode.header-bar .button:hover:active,
.selection-mode.toolbar .button:active,
.selection-mode.toolbar .button:hover:active,
.selection-mode.toolbar GtkToolButton .button:active,
.selection-mode.toolbar GtkToolButton .button:hover:active {
	background-image: linear-gradient(to bottom,
                                      alpha(black, 0.04),
                                      alpha(white, 0.0) 59%,
                                      alpha(black, 0.0) 60%,
                                      alpha(white, 0.025)),
                      linear-gradient(to bottom,
                                      alpha(@theme_selected_bg_color, 0.45),
                                      alpha(@theme_selected_bg_color, 0.45)
                                      );
	background-color: alpha(black, 0.4);
	box-shadow: 0 1px alpha(black, 0.2),
				1px 0 alpha(black, 0.1),
				-1px 0 alpha(black, 0.1),
				0 2px alpha(black, 0.08),
				2px 0 alpha(black, 0.04),
				-2px 0 alpha(black, 0.02);
}

.selection-mode.header-bar .button:backdrop,
.selection-mode.header-bar .button:hover:backdrop,
.selection-mode.toolbar .button:backdrop,
.selection-mode.toolbar .button:hover:backdrop,
.selection-mode.toolbar GtkToolButton .button:backdrop,
.selection-mode.toolbar GtkToolButton .button:hover:backdrop {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.04),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.04)
                                      );
	background-color: alpha(black, 0.24);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.selection-mode.header-bar .button *,
.selection-mode.toolbar .button *,
.selection-mode.toolbar GtkToolButton .button * {
    color: @theme_text_color;
    text-shadow: -1px -1px alpha(shade(@theme_selected_bg_color, 0.8), 0.3);
    icon-shadow: -1px -1px alpha(shade(@theme_selected_bg_color, 0.8), 0.3);
}

.selection-mode.header-bar .button *:hover,
.selection-mode.toolbar .button *:hover,
.selection-mode.toolbar GtkToolButton .button *:hover {
    color: shade(@theme_text_color, 1.12);
    text-shadow: 1px 1px alpha(shade(@theme_selected_bg_color, 0.4), 0.6);
    icon-shadow: 1px 1px alpha(shade(@theme_selected_bg_color, 0.4), 0.6);
}

.selection-mode.header-bar .button *:active,
.selection-mode.toolbar .button *:active,
.selection-mode.toolbar GtkToolButton .button *:active {
    color: @button_active_text;
}

.selection-mode.header-bar .button *:backdrop,
.selection-mode.toolbar .button *:backdrop {
	color: shade(@theme_text_color, 0.8);
    text-shadow: none;
    icon-shadow: none;
}

/* suggested button */
.selection-mode.header-bar .suggested-action.button,
.selection-mode.toolbar .suggested-action.button,
.selection-mode.toolbar GtkToolButton.suggested-action .button {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.14),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.22)
                                      ),
                                      linear-gradient(to bottom,
                                      alpha(@success_color,0.5),
                                      alpha(@success_color,0.4));
	background-color: alpha(black, 0.6);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.selection-mode.header-bar .suggested-action.button:hover,
.selection-mode.toolbar .suggested-action.button:hover,
.selection-mode.toolbar GtkToolButton.suggested-action .button:hover {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.18),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.34)
                                      ),
                      linear-gradient(to bottom,
                                      alpha(@success_color,0.55),
                                      alpha(@success_color,0.45));
	background-color: alpha(black, 0.6);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.selection-mode.header-bar .suggested-action.button:active,
.selection-mode.header-bar .suggested-action.button:hover:active,
.selection-mode.toolbar .suggested-action.button:active,
.selection-mode.toolbar .suggested-action.button:hover:active,
.selection-mode.toolbar GtkToolButton.suggested-action .button:active,
.selection-mode.toolbar GtkToolButton.suggested-action .button:hover:active {
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.04),
                                      alpha(white, 0.0) 59%,
                                      alpha(black, 0.0) 60%,
                                      alpha(white, 0.025)),
                      linear-gradient(to bottom,
                                      alpha(@success_color,0.4),
                                      alpha(@success_color,0.4));
	background-color: alpha(black, 0.7);
	box-shadow: 0 1px alpha(black, 0.2) inset,
				1px 0 alpha(black, 0.1) inset,
				-1px 0 alpha(black, 0.1) inset,
				0 2px alpha(black, 0.08) inset,
				2px 0 alpha(black, 0.04) inset,
				-2px 0 alpha(black, 0.02) inset;
}

.selection-mode.header-bar .suggested-action.button:backdrop,
.selection-mode.toolbar .suggested-action.button:backdrop,
.selection-mode.toolbar GtkToolButton.suggested-action .button:backdrop {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.1),
                                      alpha(white, 0.0) 39%,
                                      alpha(black, 0.0) 40%,
                                      alpha(black, 0.18)
                                      ),
                                      linear-gradient(to bottom,
                                      alpha(@success_color,0.4),
                                      alpha(@success_color,0.3));
	background-color: alpha(black, 0.67);
	box-shadow: 0 1px alpha(black, 0.1) inset,
				1px 0 alpha(black, 0.05) inset,
				-1px 0 alpha(black, 0.05) inset,
				0 2px alpha(black, 0.04) inset,
				2px 0 alpha(black, 0.02) inset,
				-2px 0 alpha(black, 0.01) inset;
}

.selection-mode.header-bar .suggested-action.button *,
.selection-mode.toolbar .suggested-action.button *,
.selection-mode.toolbar GtkToolButton.suggested-action .button * {
    color: @theme_text_color;
    text-shadow: -1px -1px alpha(shade(@success_color, 0.8), 0.4);
    icon-shadow: -1px -1px alpha(shade(@success_color, 0.8), 0.4);
}

.selection-mode.header-bar .suggested-action.button *:hover,
.selection-mode.toolbar .suggested-action.button *:hover,
.selection-mode.toolbar GtkToolButton.suggested-action .button *:hover {
	color: shade(@success_color, 1.65);
    text-shadow: -1px -1px alpha(shade(@success_color, 0.4), 0.4);
    icon-shadow: -1px -1px alpha(shade(@success_color, 0.4), 0.4);
}

.selection-mode.header-bar .suggested-action.button *:active,
.selection-mode.header-bar .suggested-action.button *:hover:active,
.selection-mode.toolbar .suggested-action.button *:active,
.selection-mode.toolbar .suggested-action.button *:hover:active,
.selection-mode.toolbar GtkToolButton.suggested-action *:active,
.selection-mode.toolbar GtkToolButton.suggested-action *:hover:active {
    color: shade(@theme_text_color, 0.9);
    text-shadow: 1px 1px alpha(shade(@success_color, 0.4), 0.4);
    icon-shadow: 1px 1px alpha(shade(@success_color, 0.4), 0.4);
}

.selection-mode.header-bar .suggested-action.button *:backdrop,
.selection-mode.toolbar .suggested-action.button *:backdrop {
	color: shade(@theme_text_color, 0.8);
    text-shadow: none;
    icon-shadow: none;
}

/* menu button */
.selection-mode.header-bar .selection-menu.button,
.selection-mode.toolbar .selection-menu.button,
.selection-mode.header-bar .selection-menu.button:hover,
.selection-mode.toolbar .dim-label:hover,
.selection-mode.toolbar .selection-menu.button:hover,
.selection-mode.toolbar .selection-menu.button .dim-label:hover,

.selection-mode.header-bar .selection-menu.button:hover:backdrop,
.selection-mode.toolbar .dim-label:hover:backdrop,
.selection-mode.toolbar .selection-menu.button:hover:backdrop,
.selection-mode.toolbar .selection-menu.button .dim-label:hover:backdrop,
.selection-mode.header-bar .selection-menu.button:backdrop,
.selection-mode.toolbar .selection-menu.button:backdrop {
    color: @theme_text_color;
    border-color: transparent;
    border: 0px;
    border-image: none;

    background-image: none;
    background-color: transparent;
    box-shadow: none;
}

.selection-mode.header-bar .selection-menu.button:active,
.selection-mode.toolbar .selection-menu.button:active {
    border-color: transparent;
    border-radius: 3px;
    border-width: 1px;

    background-color: transparent;
}

.selection-mode.toolbar .dim-label,
.selection-mode.toolbar .selection-menu.button .dim-label {
    color: shade(@theme_text_color, 0.7);
}

.selection-mode.header-bar .selection-menu.button *,
.selection-mode.toolbar .selection-menu.button * {
	color: shade(@theme_text_color, 1.05);
    text-shadow: 0 -1px alpha(black, 0.28);
}

.selection-mode.header-bar .selection-menu.button .menuitem *,
.selection-mode.toolbar .selection-menu.button .menuitem * {
    text-shadow: none;
}

.selection-mode.header-bar .selection-menu.button *:backdrop,
.selection-mode.toolbar .selection-menu.button *:backdrop {
    color: shade(@theme_fg_color, 0.8);
    text-shadow: none;
}

.selection-mode.header-bar .selection-menu.button *:hover,
.selection-mode.toolbar .dim-label *:hover,
.selection-mode.toolbar .selection-menu.button *:hover,
.selection-mode.toolbar .selection-menu.button .dim-label *:hover {
    color: shade(@theme_text_color, 1.15);
    text-shadow: 0 1px alpha(black, 0.30);
}

.selection-mode.header-bar .selection-menu.button *:active,
.selection-mode.toolbar .selection-menu.button *:active {
    color: @theme_selected_fg_color;
    text-shadow: 0 1px alpha(black, 0.34);
}

/****************
 * GtkAssistant *
 ****************/
GtkAssistant .sidebar .highlight {
    background-color: transparent;
    color: shade(@theme_text_color, 1.08);
    font: bold;
}

GtkAssistant .sidebar {
    padding: 12px;

    border-width: 1px;
    border-radius: 2px;
    border-style: solid;
    border-color: shade(@sidebar_background, 0.65);

    color: mix (@theme_text_color, @theme_bg_color, 0.2);

    background: @sidebar_background;
}

/*************
 * GtkSwitch *
 *************/

GtkSwitch {
    font: bold condensed 10;
}

GtkSwitch.trough {
	color: shade(@theme_fg_color, 0.7);
	box-shadow: inset 0 -1px alpha(black, 0.36),
				1px 1px rgba(0,0,0,0.32) inset,
				1px 0 rgba(0,0,0,0.28) inset,
				-1px 0 alpha(white, 0.2) inset,
				0 2px rgba(0,0,0,0.08) inset,
				2px 0 rgba(0,0,0,0.04) inset,
				-2px 0 rgba(0,0,0,0.28) inset,
				0 3px rgba(0,0,0,0.04) inset,
				0 4px rgba(0,0,0,0.02) inset;
	}

.scale.progressbar,
GtkSwitch.trough:active {
    color: @theme_fg_color;
}

GtkSwitch.trough:disabled {
    color: shade(@theme_fg_color, 0.45);
}

GtkSwitch.trough:backdrop {
    color: shade(@theme_fg_color, 0.5);
}

GtkSwitch.trough:active:backdrop {
    color: shade(@theme_fg_color, 0.8);
}

GtkSwitch.trough:disabled:backdrop {
    color: shade(@theme_fg_color, 0.3);
}

GtkSwitch.slider {
    box-shadow: 1px 1px alpha(white, 0.03) inset,
				-1px -1px alpha(black, 0.14) inset;
    padding: 3px 3px 3px 2px;
    background-image: linear-gradient(to bottom,
                                      shade(@button_gradient_hover_a, 1.2),
                                      shade(@button_gradient_hover_c, 0.9)
                                      );
}

.primary-toolbar GtkSwitch.slider {
    padding: 3px;
}


GtkSwitch.slider:active {
	background-image: linear-gradient(to bottom,
                                      mix(shade(@button_gradient_hover_a, 1.4), @theme_selected_bg_color,0.5),
                                      mix(shade(@button_gradient_hover_c, 0.6), @theme_selected_bg_color, 0.5)
                                      );
    box-shadow: 1px 1px alpha(white, 0.06) inset,
				-1px -1px alpha(black, 0.18) inset;
}

GtkSwitch.slider:disabled {
    background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                      linear-gradient(to bottom,
                                      shade(@button_gradient_hover_a, 1.2),
                                      shade(@button_gradient_hover_c, 0.8)
                                      );

    background-size: 10px 10px, auto;
}

GtkSwitch.slider:backdrop {
    background-image: linear-gradient(to bottom,
                                      shade(@button_gradient_hover_a, 1.0),
                                      shade(@button_gradient_hover_c, 0.8)
                                      );

    color: @theme_unfocused_base_color;
}

GtkSwitch.slider:active:backdrop {
	 background-image: linear-gradient(to bottom,
                                      mix(shade(@button_gradient_hover_a, 1.2), @theme_selected_bg_color,0.35),
                                      mix(shade(@button_gradient_hover_c, 0.4), @theme_selected_bg_color, 0.35)
                                      );
     box-shadow: 1px 1px alpha(white, 0.06) inset,
				-1px -1px alpha(black, 0.18) inset;
}

GtkSwitch.slider:disabled:backdrop {
    background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                      linear-gradient(to bottom,
                                      shade(@button_gradient_hover_a, 1.0),
                                      shade(@button_gradient_hover_c, 0.6)
                                      );

    background-size: 10px 10px, auto;
}
/************
 * textview *
 ************/
GtkTextView,
GtkTextView.view,
GtkScrolledWindow GtkTextView.view {
	color: @entry_text_color;
    background-color: @entry_bg;
}

.notebook GtkTextView.view,
.notebook GtkScrolledWindow GtkTextView.view {
	color: @entry_text_color;
    background-color: @entry_bg_notebook;
}

GtkTextView:focus,
GtkTextView.view:focus,
GtkScrolledWindow GtkTextView.view:focus{
	color: @entry_text_focus_color;
    background-color: @entry_bg_focus;
}

.notebook GtkTextView.view:focus,
.notebook GtkScrolledWindow GtkTextView.view:focus {
	color: @entry_text_focus_color;
    background-color: @entry_bg_focus_notebook;
}

GtkTextView:selected,
GtkTextView.view:selected,
GtkScrolledWindow GtkTextView.view:selected,
.notebook GtkTextView.view:selected,
.notebook GtkScrolledWindow GtkTextView.view:selected {
	color:@theme_selected_fg_color;
    background-color: @theme_selected_bg_color;
}

GtkTextView:selected:backdrop,
GtkTextView.view:selected:backdrop,
GtkScrolledWindow GtkTextView.view:selected:backdrop,
.notebook GtkTextView.view:selected:backdrop,
.notebook GtkScrolledWindow GtkTextView.view:selected:backdrop {
    color: shade(@theme_selected_fg_color, 0.8);
    background-color: shade(@theme_selected_bg_color, 0.8);
}

GtkTextView:disabled,
GtkTextView.view:disabled,
GtkScrolledWindow GtkTextView.view:disabled {
    color: shade(@entry_text_color, 1.85);
    background-color:@entry_bg_disabled;
}

.notebook GtkTextView.view:disabled,
.notebook GtkScrolledWindow GtkTextView.view:disabled {
    color: shade(@entry_text_color, 1.85);
    background-color:@entry_bg_disabled_notebook;
}

GtkTextView:backdrop,
GtkTextView.view:backdrop,
GtkScrolledWindow GtkTextView.view:backdrop {
    color: shade(@entry_text_color, 1.2);
    background-color:@entry_bg_backdrop;
    background-image: none;
}

.notebook GtkTextView.view:backdrop,
.notebook GtkScrolledWindow GtkTextView.view:backdrop {
	color: shade(@entry_text_color, 1.2);
    background-color:@entry_bg_backdrop_notebook;
    background-image: none;
}

GtkTextView:disabled:backdrop,
GtkTextView.view:disabled:backdrop,
GtkScrolledWindow GtkTextView.view:disabled:backdrop {
    color: shade(@entry_text_color, 2.05);
    background-color: @entry_bg_disabled_backdrop;
}

.notebook GtkTextView.view:disabled:backdrop,
.notebook GtkScrolledWindow GtkTextView.view:disabled:backdrop {
    color: shade(@entry_text_color, 2.05);
    background-color: @entry_bg_disabled_backdrop_notebook;
}

/***********************
 * Tree and Icon views *
 ***********************/
GtkTreeView {
    -GtkTreeView-vertical-separator: 0;

    -GtkWidget-focus-line-width: 1;
    -GtkWidget-focus-padding: 1;

    outline-color: alpha(@treeview_selected_text, 0.6);
}

GtkTreeView.dnd {
    border-color: @internal_element_color;
    border-radius: 2px;
    border-width: 1px;
    border-style: solid;
}

GtkTreeView:selected:focus {
    outline-color: mix(@treeview_selected_text, @theme_selected_bg_color, 0.30);
}

GtkIconView.cell:selected,
GtkIconView.cell:selected:focus {
    color: @theme_selected_fg_color;
    text-shadow: 1px 1px alpha(black, 0.28);
    border-radius: 5px;
    border-width: 3px;
	border-color: @theme_selected_bg_color;

	background-color: alpha(mix(black, @theme_selected_bg_color, 0.1), 0.25);
	background-image: none;

    box-shadow: inset -1px -1px alpha(black, 0.26),
				inset 1px 1px alpha(black, 0.42);

    outline-color: @treeview_focus_border;
    outline-style: solid;
    outline-offset: 3px;
}

.view {
    background-color: @view-row;
    color: @theme_text_color;
}

.view:backdrop {
    background-color: shade(@view-row, 0.8);
    color: shade(@theme_text_color, 0.8);
}

.notebook .view {
    background-color: shade(@notebook_color, 0.92);
    color: @theme_text_color;
}

.notebook .view:backdrop {
    background-color: shade(@notebook_color, 0.72);
    color: shade(@theme_text_color, 0.8);
}

.view:selected {
    background-color: @theme_selected_bg_color;
    color: @theme_selected_fg_color;
}

.view:backdrop:selected {
    background-color: shade(@theme_selected_bg_color, 0.8);
    color: shade(@theme_selected_fg_color, 0.8);
}

.view:disabled { /*Not sure about this? Should it be like buttons?*/
    background-color: @disabled_bg_color;
    color: @disabled_fg_color;
}

/* *** */
.notebook GtkTreeView { /*Background for TreeLists(TreeViews) within Notebooks*/
    background-color: @notebook-view-row;
    color: @theme_fg_color;
    background-image: linear-gradient(to bottom,
                                      @notebook-view-row,
                                      @notebook-view-row
                                      );
}

.notebook GtkTreeView:backdrop {
    background-color: shade(@notebook-view-row, 0.8);
    color: shade(@theme_fg_color, 0.8);
    background-image: linear-gradient(to bottom,
                                      shade(@notebook-view-row, 0.8),
                                      shade(@notebook-view-row, 0.8)
                                      );
}

/* ************************** cell ************************ */
.cell {
    color: @theme_fg_color;
    padding: 2px;
}

.cell:hover {
	background-image: none;
	border-color: transparent;
}

.cell:selected,
.cell:selected:focus {
    border-width: 0px;
	border-style: solid;
	border-color: transparent;

	background-color: @cell-selected;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.04),
                                      alpha(black, 0.04)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.14),
				inset 0 -2px alpha(black, 0.04),
				inset 0 -3px alpha(black, 0.01),
				inset 0 1px alpha(white, 0.08),
				inset 0 2px alpha(white, 0.01),
				inset 0 3px alpha(white, 0.005),
                inset -1px 0 alpha(black, 0.04),
                inset 1px 0 alpha(white, 0.02);
}

.cell *:selected:selected,
.cell *:selected:selected:focus {
	color: #ededed;
	text-shadow: -1px -1px alpha(black, 0.2);
}

.cell:selected:backdrop,
.cell:selected:hover:backdrop {
    background-color: shade(@cell-selected, 0.8);
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.03),
                                      alpha(black, 0.03)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.12),
				inset 0 -2px alpha(black, 0.02),
				inset 0 -3px alpha(black, 0.01),
				inset 0 1px alpha(white, 0.04),
				inset 0 2px alpha(white, 0.005),
				inset 0 3px alpha(white, 0.002),
                inset -1px 0 alpha(black, 0.04),
                inset 1px 0 alpha(white, 0.01);
}

.cell *:selected:selected:backdrop,
.cell *:selected:selected:hover:backdrop {
	color: shade(#e2e2e2, 0.8);
	text-shadow: none;
}

/* *********************** column-header *********************** */
column-header.button,
column-header .button {
    color:#e2e2e2;
}

column-header.button *:backdrop,
column-header .button *:backdrop
column-header.button *:hover:backdrop,
column-header .button *:hover:backdrop
.notebook column-header.button *:backdrop,
.notebook column-header .button *:backdrop
.notebook column-header.button *:hover:backdrop,
.notebook column-header .button *:hover:backdrop {
    color: shade(#e2e2e2, 0.8);
}

column-header .button GtkArrow {
    color: #ededed;
}

column-header .button GtkArrow *:backdrop {
    color: shade(#ededed, 0.8);
}

column-header.button,
column-header .button,

column-header.button:hover,
column-header .button:hover,

column-header.button:disabled,
column-header .button:disabled {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to top,
                                     @column-header,
                                      @column-header
                                      );
    padding: 0 4px;
    text-shadow: 0 1px alpha(black, 0.2);
    icon-shadow: 0 1px alpha(black, 0.2);
    font-weight: bold;
}

column-header.button:backdrop,
column-header .button:backdrop,
column-header.button:hover:backdrop,
column-header .button:hover:backdrop {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to top,
                                      shade(@column-header, 0.8),
                                      shade(@column-header, 0.8)
                                      );
}

.notebook column-header.button,
.notebook column-header .button,

.notebook column-header.button:hover,
.notebook column-header .button:hover,

.notebook column-header.button:disabled,
.notebook column-header .button:disabled {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.0),
                                      alpha(white, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@notebook_color, 0.92),
                                      shade(@notebook_color, 0.92)
                                      );
    padding: 0 4px;
    text-shadow: 0 1px alpha(black, 0.2);
    icon-shadow: 0 1px alpha(black, 0.2);
    font-weight: bold;
}

.notebook column-header.button:backdrop,
.notebook column-header .button:backdrop,
.notebook column-header.button:hover:backdrop,
.notebook column-header .button:hover:backdrop {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.0),
                                      alpha(white, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@notebook_color, 0.72),
                                      shade(@notebook_color, 0.72)
                                      );
}

.sidebar column-header.button,
.sidebar column-header .button {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to top,
                                      @column-header-sidebar,
                                      @column-header-sidebar
                                      );
}

.sidebar column-header.button:backdrop,
.sidebar column-header .button:backdrop {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to top,
                                      shade(@column-header-sidebar, 0.8),
                                      shade(@column-header-sidebar, 0.8)
                                      );
}

column-header.button *:hover,
column-header .button *:hover,
.notebook column-header.button *:hover,
.notebook column-header .button *:hover {
	color: #f2f2f2;
}

column-header.button:hover,
column-header .button:hover {
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.05),
                                      alpha(black, 0.1)
                                      ),
                      linear-gradient(to bottom,
                                      @column-header-hover,
                                      @column-header-hover
                                      );
}

.notebook column-header.button:hover,
.notebook column-header .button:hover {
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.05),
                                      alpha(black, 0.1)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@notebook_color, 1.1),
                                      shade(@notebook_color, 1.1)
                                      );
}

column-header.button *:active,
column-header .button *:active,
column-header.button *:active:hover,
column-header .button *:active:hover,
.notebook column-header.button *:active,
.notebook column-header .button *:active,
.notebook column-header.button *:active:hover,
.notebook column-header .button *:active:hover {
	color: @button_active_text;
}

column-header.button *:active:backdrop,
column-header .button *:active:backdrop,
column-header.button *:active:hover:backdrop,
column-header .button *:active:hover:backdrop,
.notebook column-header.button *:active:backdrop,
.notebook column-header .button *:active:backdrop,
.notebook column-header.button *:active:hover:backdrop,
.notebook column-header .button *:active:hover:backdrop {
	color: shade(@button_active_text, 0.8);
}

column-header.button:focus,
column-header .button:focus,
column-header.button:focus:active,
column-header .button:focus:active,
column-header.button:focus:active:hover,
column-header .button:focus:active:hover,

column-header.button:active,
column-header .button:active,
column-header.button:active:hover,
column-header .button:active:hover {
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to bottom,
                                      @column-header-active,
                                      @column-header-active
                                      );
}

column-header.button:focus:backdrop,
column-header .button:focus:backdrop,
column-header.button:focus:active:backdrop,
column-header .button:focus:active:backdrop,
column-header.button:focus:active:hover:backdrop,
column-header .button:focus:active:hover:backdrop,

column-header.button:active:backdrop,
column-header .button:active:backdrop,
column-header.button:active:hover:backdrop,
column-header .button:active:hover:backdrop {
    background-image: linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@column-header-active, 0.8),
                                      shade(@column-header-active, 0.8)
                                      );
}

.notebook column-header.button:focus,
.notebook column-header .button:focus,
.notebook column-header.button:focus:active,
.notebook column-header .button:focus:active,
.notebook column-header.button:focus:active:hover,
.notebook column-header .button:focus:active:hover,

.notebook column-header.button:active,
.notebook column-header .button:active,
.notebook column-header.button:active:hover,
.notebook column-header .button:active:hover {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.0),
                                      alpha(white, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@notebook_color, 1.35),
                                      shade(@notebook_color, 1.35)
                                      );
}

.notebook column-header.button:focus:backdrop,
.notebook column-header .button:focus:backdrop,
.notebook column-header.button:focus:active:backdrop,
.notebook column-header .button:focus:active:backdrop,
.notebook column-header.button:focus:active:hover:backdrop,
.notebook column-header .button:focus:active:hover:backdrop,

.notebook column-header.button:active:backdrop,
.notebook column-header .button:active:backdrop,
.notebook column-header.button:active:hover:backdrop,
.notebook column-header .button:active:hover:backdrop {
    background-image: linear-gradient(to bottom,
                                      alpha(white, 0.0),
                                      alpha(white, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@notebook_color, 1.15),
                                      shade(@notebook_color, 1.15)
                                      );
}

column-header.button *:disabled,
column-header .button *:disabled,
.notebook column-header.button *:disabled,
.notebook column-header .button *:disabled {
	color: shade(#e2e2e2, 0.5);
	text-shadow: none;
}

column-header.button *:disabled:backdrop,
column-header .button *:disabled:backdrop,
.notebook column-header.button *:disabled:backdrop,
.notebook column-header .button *:disabled:backdrop {
	color: shade(#e2e2e2, 0.35);
	text-shadow: none;
}

column-header.button:disabled,
column-header .button:disabled {
    background-color: transparent;
	background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                      linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to top,
                                      @column-header,
                                      @column-header
                                      );
	background-size: 10px 10px, auto, auto;
}

column-header.button:disabled:backdrop,
column-header .button:disabled:backdrop {
    background-color: transparent;
	background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                      linear-gradient(to bottom,
                                      alpha(black, 0.1),
                                      alpha(white, 0.05)
                                      ),
                      linear-gradient(to top,
                                      shade(@column-header, 0.8),
                                      shade(@column-header, 0.8)
                                      );
	background-size: 10px 10px, auto, auto;
}

.notebook column-header.button:disabled,
.notebook column-header .button:disabled {
    background-color: transparent;
	background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                      linear-gradient(to bottom,
                                      alpha(white, 0.0),
                                      alpha(white, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@notebook_color, 0.72),
                                      shade(@notebook_color, 0.72)
                                      );
	background-size: 10px 10px, auto, auto;
}

.notebook column-header.button:disabled:backdrop,
.notebook column-header .button:disabled:backdrop {
    background-color: transparent;
	background-image: linear-gradient(to left top,
                                      alpha (black, 0.1),
                                      alpha (black, 0.1) 25%,
                                      transparent 25%,
                                      transparent 50%,
                                      alpha (black, 0.1) 50%,
                                      alpha (black, 0.1) 75%,
                                      transparent 75%,
                                      transparent
                                      ),
                      linear-gradient(to bottom,
                                      alpha(white, 0.0),
                                      alpha(white, 0.06)
                                      ),
                      linear-gradient(to bottom,
                                      shade(@notebook_color, 0.72),
                                      shade(@notebook_color, 0.72)
                                      );
	background-size: 10px 10px, auto, auto;
}

column-header .button.dnd {
    background-color: transparent;
    background-image: linear-gradient(to bottom,
                                      shade(@theme_base_color, 0.97),
                                      @theme_base_color);
}

/************************* treeview rows ****************************/
.notebook GtkTreeView row {
    border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@notebook-view-row, 1.25);
    border-bottom-color:shade(@notebook-view-row, 0.65);
    background-color: @notebook-view-row;
}


/*Notebook Trees*/
.notebook GtkTreeView row,
.notebook GtkTreeView row:nth-child(odd),
.notebook row:nth-child(odd) {
    border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@notebook-view-row, 1.25);
    border-bottom-color:shade(@notebook-view-row, 0.65);
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (@notebook-view-row),
							to (@notebook-view-row));
	background-color: transparent;
}

.notebook GtkTreeView row:nth-child(even),
.notebook row:nth-child(odd) {
    border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@notebook-view-row, 1.25);
    border-bottom-color:shade(@notebook-view-row, 0.65);
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (mix(@notebook-view-row, white, 0.03)),
							to (mix(@notebook-view-row, white, 0.03)));
	background-color: transparent;
}

/*Trees Odd and Even*/
GtkTreeView row:nth-child(odd),
row:nth-child(odd) /*For odd/even progressbars to work as well as treeview
* borders we must also specify both 'treeview row' and 'row' individually*/ {
    border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@view-row, 1.25); /*row separators*/
    border-bottom-color:shade(@view-row, 0.65); /*row separators*/
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (@view-row),
							to (@view-row));
	background-color: @view-row;
	box-shadow: none;
}

GtkTreeView row:nth-child(even),
row:nth-child(even) {
    border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@view-row, 1.25); /*row separators*/
    border-bottom-color:shade(@view-row, 0.65); /*row separators*/
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (mix(@view-row, white, 0.03)),
							to (mix(@view-row, white, 0.03)));
	background-color: mix(@view-row, white, 0.03);
	box-shadow: none;
}

GtkTreeView row *,
GtkTreeView row:nth-child(even) *,
GtkTreeView row:nth-child(odd) *{
	color: @theme_text_color;
}

GtkTreeView row:hover,
.notebook GtkTreeView row:hover,
GtkTreeView row:nth-child(even):hover,
GtkTreeView row:nth-child(odd):hover,
.notebook GtkTreeView row:nth-child(even):hover,
.notebook GtkTreeView row:nth-child(odd):hover {
  border-bottom-color: shade(@theme_base_color, 0.65);
  border-top-color: shade(@theme_base_color, 0.4);
  background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (shade(@theme_base_color, 1.1)),
							to (shade(@theme_base_color, 1.1)));
	background-color: transparent;
}

GtkTreeView row *:hover,
GtkTreeView row:nth-child(even) *:hover,
GtkTreeView row:nth-child(odd) *:hover {
  color: shade(@theme_text_color, 1.1);
}

GtkTreeView row *:backdrop,
GtkTreeView row:nth-child(even) *:backdrop,
GtkTreeView row:nth-child(odd) *:backdrop,
GtkTreeView row *:hover:backdrop,
GtkTreeView row:nth-child(even) *:hover:backdrop,
GtkTreeView row:nth-child(odd) *:hover:backdrop {
	color: shade(@theme_text_color, 0.8);
}

GtkTreeView row:nth-child(even):selected:selected,
GtkTreeView row:nth-child(odd):selected:selected,
.notebook GtkTreeView row:selected:selected {


	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.045),
                                      alpha(black, 0.045)
                                      ),
                      linear-gradient(to bottom,
                                      mix(@view-row, @theme_selected_bg_color, 0.2),
                                      mix(@view-row, @theme_selected_bg_color, 0.25)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.46),
				inset 0 1px alpha(white, 0.03),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(black, 0.1),
                inset 0 -2px alpha(black, 0.11),
                inset 1px 0 alpha(white, 0.05);
}

.notebook GtkTreeView row:selected:selected {

	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.045),
                                      alpha(black, 0.045)
                                      ),
                      linear-gradient(to bottom,
                                      mix(@notebook-view-row, @theme_selected_bg_color, 0.2),
                                      mix(@notebook-view-row, @theme_selected_bg_color, 0.25)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.46),
				inset 0 1px alpha(white, 0.03),
				inset 0 2px alpha(white, 0.02),
                inset -1px 0 alpha(black, 0.1),
                inset 0 -2px alpha(black, 0.11),
                inset 1px 0 alpha(white, 0.05);
}

/*
.notebook GtkTreeView row:selected:selected {
background-color: transparent;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.3),
                                      alpha(white, 0.03) 49%,
                                      alpha(black, 0.0) 51%,
                                      alpha(black, 0.00)
                                      ),
                      linear-gradient(to bottom,
                                      transparent,
                                      alpha(@theme_selected_bg_color, 0.65)
                                      );
    box-shadow: inset 0 1px alpha(black, 0.26),
				inset 0 -1px alpha(white, 0.04),
				inset 0 2px alpha(black, 0.08),
                inset -1px 0 alpha(black, 0.12),
                inset 1px 0 alpha(white, 0.09);
}     */

.notebook GtkTreeView row *:selected:selected,
GtkTreeView row:nth-child(even) *:selected:selected,
GtkTreeView row:nth-child(odd) *:selected:selected {
	color: @menu_selected_fg_color;
    text-shadow: 0 1px alpha(black, 0.38);
}

.notebook GtkTreeView row *:selected:selected:backdrop,
.notebook GtkTreeView row *:hover:selected:backdrop,
GtkTreeView row:nth-child(even) *:selected:selected:backdrop,
GtkTreeView row:nth-child(even) *:hover:selected:backdrop,
GtkTreeView row:nth-child(odd) *:selected:selected:backdrop,
GtkTreeView row:nth-child(odd) *:hover:selected:backdrop {
	color: @row_nth_selected_backdrop;
	text-shadow: none;
}

GtkTreeView row *:selected:selected {
	color: @row_selected;
	text-shadow: 0 1px alpha(white, 0.11);
}

GtkTreeView row *:selected:selected:backdrop,
GtkTreeView row *:hover:selected:backdrop {
	color: @row_selected_backdrop;
	text-shadow: none;
}

GtkTreeView row:nth-child(even) *:selected:hover,
GtkTreeView row:nth-child(odd) *:selected:hover {
	background-image: linear-gradient(to bottom,
                                      alpha(black, 0.04),
                                      alpha(white, 0.04)
                                      ),
                      linear-gradient(to bottom,
                                      mix(@view-row, @theme_selected_bg_color, 0.35),
                                      mix(@view-row, @theme_selected_bg_color, 0.40)
                                      );

	box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.04),
				inset 0 -1px alpha(white, 0.03),
				inset 0 -2px alpha(white, 0.02),
                inset -1px 0 alpha(black, 0.1),
                inset 1px 0 alpha(white, 0.05);
}

.notebook GtkTreeView row:selected:hover {
	background-image: linear-gradient(to bottom,
                                      alpha(black, 0.04),
                                      alpha(white, 0.04)
                                      ),
                      linear-gradient(to bottom,
                                      mix(@view-row, @theme_selected_bg_color, 0.35),
                                      mix(@view-row, @theme_selected_bg_color, 0.40)
                                      );

	box-shadow: inset 0 1px alpha(black, 0.14),
				inset 0 2px alpha(black, 0.04),
				inset 0 -1px alpha(white, 0.03),
				inset 0 -2px alpha(white, 0.02),
                inset -1px 0 alpha(black, 0.1),
                inset 1px 0 alpha(white, 0.05);
}

GtkTreeView row:nth-child(even) *:selected:hover,
GtkTreeView row:nth-child(odd) *:selected:hover,
.notebook GtkTreeView row:selected:hover {
	color: @menu_selected_fg_color;
    text-shadow: 0 1px alpha(black, 0.38);
}

GtkTreeView row:hover:backdrop:backdrop,
.notebook GtkTreeView row:hover:backdrop:backdrop,
GtkTreeView row:backdrop,
.notebook GtkTreeView row:backdrop,
.notebook GtkTreeView row:backdrop ,
.notebook GtkTreeView row:hover:backdrop {
	border-top-color: @theme_unfocused_base_color; /*row separators*/
    border-bottom-color: @theme_unfocused_base_color; /*row separators*/
    background-color:  @theme_unfocused_base_color;
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
		from (@view-row-backdrop),
		to (@view-row-backdrop));
}

GtkTreeView row:nth-child(odd):backdrop,
GtkTreeView row:nth-child(odd):hover:backdrop,
row:nth-child(odd):backdrop,
GtkTreeView row:nth-child(odd):hover:backdrop:backdrop,
row:nth-child(odd):hover:backdrop:backdrop {
border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@view-row-backdrop, 1.25); /*row separators*/
    border-bottom-color:shade(@view-row-backdrop, 0.65); /*row separators*/
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (@view-row-backdrop),
							to (@view-row-backdrop));
	background-color: transparent;
}

GtkTreeView row:nth-child(even):backdrop,
GtkTreeView row:nth-child(even):hover:backdrop,
row:nth-child(even):backdrop,
GtkTreeView row:nth-child(even):hover:backdrop:backdrop,
row:nth-child(even):hover:backdrop:backdrop {
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@view-row-backdrop, 1.25); /*row separators*/
    border-bottom-color:shade(@view-row-backdrop, 0.65); /*row separators*/
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (mix(@view-row-backdrop, white, 0.03)),
							to (mix(@view-row-backdrop, white, 0.03)));
	background-color: transparent;
}



.notebook GtkTreeView row:nth-child(odd):backdrop,
.notebook GtkTreeView row:nth-child(odd):backdrop:hover,
.notebook row:nth-child(odd):backdrop,
.notebook GtkTreeView row:nth-child(odd):hover:backdrop:backdrop,
.notebook row:nth-child(odd):hover:backdrop:backdrop {
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@notebook-view-row-backdrop, 1.25);
    border-bottom-color:shade(@notebook-view-row-backdrop, 0.65);
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (@notebook-view-row-backdrop),
							to (@notebook-view-row-backdrop));
	background-color: transparent;
}


.notebook GtkTreeView row:nth-child(even):backdrop,
.notebook GtkTreeView row:nth-child(even):backdrop:hover,
.notebook row:nth-child(even):backdrop,
.notebook GtkTreeView row:nth-child(even):hover:backdrop:backdrop,
.notebook row:nth-child(even):hover:backdrop:backdrop {
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	border-top-color: shade(@notebook-view-row-backdrop, 1.25);
    border-bottom-color:shade(@notebook-view-row-backdrop, 0.65);
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (mix(@notebook-view-row-backdrop, white, 0.03)),
							to (mix(@notebook-view-row-backdrop, white, 0.03)));
	background-color: transparent;
}

GtkTreeView row:nth-child(even):selected:backdrop,
GtkTreeView row:nth-child(odd):selected:backdrop,
GtkTreeView row:nth-child(even):selected:hover:backdrop,
GtkTreeView row:nth-child(odd):selected:hover:backdrop,
.notebook GtkTreeView row:selected:backdrop ,
.notebook GtkTreeView row:selected:hover:backdrop:backdrop {
	border-color: transparent;
	border-top-color: shade(@view-row-backdrop, 1.25); /*row separators*/
    border-bottom-color:shade(@view-row-backdrop, 0.65); /*row separators*/
	border-width: 0;
	background-color: transparent;
	background-image: linear-gradient(to bottom,
                                      alpha(white, 0.02),
                                      alpha(black, 0.02)
                                      ),
                      linear-gradient(to bottom,
                                      mix(@notebook-view-row, @theme_selected_bg_color, 0.12),
                                      mix(@notebook-view-row, @theme_selected_bg_color, 0.15)
                                      );
    box-shadow: inset 0 -1px alpha(black, 0.36),
				inset 0 1px alpha(white, 0.015),
				inset 0 2px alpha(white, 0.01),
                inset -1px 0 alpha(black, 0.05),
                inset 0 -2px alpha(black, 0.055),
                inset 1px 0 alpha(white, 0.025);
}

GtkTreeView row:disabled,
GtkTreeView row:hover:disabled,
GtkTreeView row:disabled:backdrop,
GtkTreeView row:hover:disabled:backdrop,
GtkTreeView row:nth-child(even):disabled,
GtkTreeView row:nth-child(odd):disabled,
GtkTreeView row:nth-child(even):disabled:backdrop,
GtkTreeView row:nth-child(odd):disabled:backdrop,
GtkTreeView row:nth-child(even):disabled:hover,
GtkTreeView row:nth-child(odd):disabled:hover,
GtkTreeView row:nth-child(even):disabled:hover:backdrop,
GtkTreeView row:nth-child(odd):disabled:hover:backdrop,
.notebook GtkTreeView row:disabled,
.notebook GtkTreeView row:disabled:backdrop,
.notebook GtkTreeView row:disabled:hover,
.notebook GtkTreeView row:disabled:hover:backdrop {
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	color: @disabled_fg_color;
	border-top-color: shade(@theme_unfocused_base_color, 0.86); /*row separators*/
    border-bottom-color:shade(@theme_unfocused_base_color, 0.86); /*row separators*/
    background-color:  shade(@theme_unfocused_base_color, 0.86);
    background-image: -gtk-gradient (linear,
				     left top, left bottom,
							from (shade(@theme_unfocused_base_color, 0.86)),
							to (shade(@theme_unfocused_base_color, 0.86)));
}

GtkTreeView row:nth-child(even) *:disabled,
GtkTreeView row:nth-child(odd) *:disabled{
color: shade(@disabled_fg_color, 1.96);
}

GtkTreeView row:nth-child(even) *:disabled:backdrop,
GtkTreeView row:nth-child(odd) *:disabled:backdrop {
color: shade(@disabled_fg_color, 0.8);
}

/* * Entrys in IconViews and TreeViews * */
.view .entry,
.notebook .view .entry {
    border-image: none;
    border-color: @theme_selected_bg_color;
    border-width: 1px;
    border-radius: 0;
}

.view .entry,
.notebook .view .entry,
GtkTreeView .entry,
GtkTreeView .entry row,
.notebook GtkTreeView .entry,
.notebook GtkTreeView .entry row {
    text-shadow: none;
    background-image: none;
    transition: none;

    color: @entry_text_focus_color;
    background-color: @entry_bg_focus;
}


GtkTreeView .entry:selected:selected:selected,
GtkTreeView .entry row:selected:selected:selected,
GtkTreeView .entry row *:selected:selected:selected,
.notebook GtkTreeView .entry:selected:selected:selected,
.notebook GtkTreeView .entry row:selected:selected:selected,
.notebook GtkTreeView .entry row *:selected:selected:selected {
	color:@theme_selected_fg_color;
    background-color: @theme_selected_bg_color;
}

.view .entry:selected:selected:focus,
.notebook .view .entry:selected:selected:focus {/*cant get white text for selected*/
	background-color: @theme_selected_bg_color;
}

.view .entry:backdrop:backdrop,
.view .entry *:backdrop:backdrop,
.notebook .view .entry:backdrop:backdrop,
.notebook .view .entry *:backdrop:backdrop,
GtkTreeView .entry:backdrop:backdrop,
GtkTreeView .entry row:backdrop:backdrop,
GtkTreeView .entry row *:backdrop:backdrop,
.notebook GtkTreeView .entry:backdrop:backdrop,
.notebook GtkTreeView .entry row:backdrop:backdrop,
.notebook GtkTreeView .entry row *:backdrop:backdrop {
	color: shade(@entry_text_color, 1.2);
	background-color: shade(@entry_bg_focus, 0.6);
	}

.view .entry:selected:selected:backdrop:backdrop,
.view .entry *:selected:selected:backdrop:backdrop,
.notebook .view .entry:selected:selected:backdrop:backdrop,
.notebook .view .entry *:selected:selected:backdrop:backdrop,
GtkTreeView .entry:selected:selected:backdrop:backdrop,
GtkTreeView .entry row:selected:selected:backdrop:backdrop,
GtkTreeView .entry row *:selected:selected:backdrop:backdrop,
.notebook GtkTreeView .entry:selected:selected:backdrop:backdrop,
.notebook GtkTreeView .entry row:selected:selected:backdrop:backdrop,
.notebook GtkTreeView .entry row *:selected:selected:backdrop:backdrop {
	color: shade(@theme_selected_fg_color, 0.8);
    background-color: shade(@theme_selected_bg_color, 0.8);
	}

.view.entry.menu .menuitem:disabled,
.view .entry .menu .menuitem:disabled {
    background-color: transparent;
    background-image: none;
}

/*Expanders*/
/* *fixes expanders in ubuntu because usbuntu uses an older adwaita engine that still uses plus and minus **
.expander {
	engine: unico;
}*/

.expander {
    color: @internal_element_color;
    border-color: shade(@internal_element_color, 1.045);
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    border-color: shade (@internal_element_color, 1.20);

    color: @internal_element_color;
    background-color: alpha(black, 0.2);
}

.expander:active {
    color: shade(@internal_element_color, 1.08);
    border-color: shade(@internal_element_color, 1.1);
}

.expander:hover {
    color: shade(@internal_element_color, 1.225);
    border-color: shade(@internal_element_color, 1.265);
}

.expander:backdrop {
    color: shade(@internal_element_color, 0.8);
    border-color: shade(@internal_element_color, 0.845);
}

GtkTreeView .expander,
GtkTreeView row.expander,
GtkTreeView .expander row:nth-child(even),
GtkTreeView .expander row:nth-child(odd) {
    color: @theme_text_color;
    border-color: shade(@theme_text_color, 1.1);
    color: @internal_element_color;
    border-color: shade(@internal_element_color, 1.045);
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    background-color: alpha(black, 0.2);
}

.expander row:focus:hover,
GtkTreeView row.expander:hover,
GtkTreeView .cell row.expander:hover,
GtkTreeView .expander .cell row:hover {
    color: shade(@theme_text_color, 1.125);
    border-color: shade(@theme_text_color, 1.265);
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
}

.expander row:backdrop,
GtkTreeView row.expander:backdrop,

.expander row:focus:hover:backdrop,
.expander row:hover:hover:backdrop,
GtkTreeView row.expander:hover:hover:backdrop,
GtkTreeView .cell row.expander:hover:backdrop,
GtkTreeView .expander .cell row:hover:backdrop {
    color: shade(@theme_text_color, 0.8);
    border-color: shade(@theme_text_color, 0.9);
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
}

.expander row:selected:selected,
.expander row:selected:selected:focus,
GtkTreeView .expander .cell row:selected,
GtkTreeView .expander .cell row:selected:focus,
GtkTreeView .cell row.expander:selected,
GtkTreeView .cell row.expander:selected:focus,
GtkTreeView row.expander:selected,
GtkTreeView row.expander:selected:focus {
    color: @row_selected;
	border-color: white;
	border-image:none;
	border-style: solid;
    border-width: 1px;
    border-radius: 2px;
}

.expander row:selected:selected:hover,
.expander row:selected:selected:focus:hover,
GtkTreeView .expander .cell row:selected:hover,
GtkTreeView .expander .cell row:selected:focus:hover,
GtkTreeView .cell row.expander:selected:hover,
GtkTreeView .cell row.expander:selected:focus:hover,
GtkTreeView row.expander:selected:hover,
GtkTreeView row.expander:focus:hover,
GtkTreeView row.expander:selected:focus:hover,
.sidebar .expander row:selected:hover,
.sidebar .expander row:selected:focus:hover {
    color: @menu_selected_fg_color;
	border-color: white;
	border-style: solid;
    border-width: 1px;
    border-radius: 2px;
}

.expander row:selected:selected:backdrop,
.expander row:selected:selected:hover:backdrop {
    color: @row_selected_backdrop;
    border-color: shade(@row_selected_backdrop, 0.8);
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
}

/**************
 * List boxes *
 **************/
EggListBox {
    background-color: @list_box_bg;
    border-color: @theme_text_color;
    color: #dddddd;
	text-shadow: 1px 1px alpha(black, 0.32);
}

EggListBox:hover {
    background-color: mix(shade(@list_box_bg, 0.6), @theme_selected_bg_color, 0.03);
}

EggListBox:hover:backdrop {
    background-color: @list_box_bg;
}

EggListBox:selected {
    background-color: mix(shade(@list_box_bg, 1.2), @theme_selected_bg_color, 0.03);
}

EggListBox .button,
EggListBox .button:hover,
EggListBox .button:active,
EggListBox .button:active:hover,
EggListBox .button:disabled,
EggListBox .button:backdrop,
EggListBox .button:backdrop:active,
EggListBox .button:backdrop:disabled {
	border-style: solid;
	border-width: 1px;
	border-color: #000;
	border-image: none;
}

EggListBox .scale.trough.horizontal,
EggListBox .scale.trough.horizontal row,
EggListBox .scale.trough.horizontal:disabled,
EggListBox .scale.trough.horizontal:backdrop,
EggListBox .scale.trough.horizontal:disabled:backdrop,
EggListBox GtkSwitch.trough,
EggListBox GtkSwitch.trough:active,
EggListBox GtkSwitch.trough:backdrop,
EggListBox GtkSwitch.trough:active:backdrop,
EggListBox GtkSwitch.trough:disabled,
EggListBox GtkSwitch.trough:disabled:backdrop {
	border-width: 1px;
    box-shadow: inset 0 -1px alpha(black, 0.86),
				1px 1px rgba(0,0,0,0.95) inset,
				-1px 0 alpha(white, 0.03) inset,
				0 2px rgba(0,0,0,0.08) inset,
				2px 0 rgba(0,0,0,0.04) inset,
				-2px 0 rgba(0,0,0,0.28) inset,
				0 3px rgba(0,0,0,0.04) inset,
				0 4px rgba(0,0,0,0.02) inset;
	border-color: alpha(@trough_border_bottom, 0.75);
	border-bottom-color: alpha(@trough_border_bottom, 0.9);
}

EggListBox .scale.trough.horizontal.highlight,
EggListBox .scale.trough.horizontal.highlight:backdrop,
EggListBox .scale.trough.horizontal.highlight:disabled,
EggListBox .scale.trough.horizontal.highlight:backdrop:disabled {
	border-width: 1px;
    box-shadow: inset 0 -1px alpha(black, 1.0),
				1px 1px rgba(0,0,0,1.0) inset,
				-1px 0 alpha(black, 1.0) inset,
				2px 2px rgba(0,0,0,0.34) inset,
				3px 3px rgba(0,0,0,0.16) inset;
	border-color: alpha(@trough_border_bottom, 0.25);
}

EggListBox GtkSwitch.slider {
	border-style: solid;
	border-width: 1px;
	border-color: #000;
	border-image: none;
    box-shadow: 1px 1px alpha(white, 0.03) inset,
				-1px -1px alpha(white, 0.015) inset;
    background-image: linear-gradient(to bottom,
                                      shade(@button_notebook_gradient_color_a, 1.8),
                                      shade(@button_notebook_gradient_color_c, 1.5)
                                      );
}

/****************
 * Content view *
 ****************/
.content-view.view {
    background-color: @content_view_view;
}

.content-view.view:disabled {
    background-color: shade(@theme_unfocused_base_color, 0.86);
    background-image: none;
}

.content-view.view:backdrop {
    background-color: shade(@content_view_view_backdrop, 0.8);
    background-image: none;
}

.content-view.view:selected {
    background-color: @theme_selected_bg_color;
    background-image: none;
}

.content-view.view:selected:backdrop {
    background-color: shade(@theme_selected_bg_color, 0.8);
    background-image: none;
}

/* FIXME: EggListBox should set the .cell style class on
 * the background it renders for the children, like
 * GtkIconView and GtkTreeView do */
.content-view.cell {
    background-color: transparent;
    background-image: none;
}

EggListBox.content-view:hover,
.content-view.cell:hover {
    background-color: alpha(black, 0.22);
}

EggListBox.content-view:hover:backdrop,
.content-view.cell:hover:backdrop {
    background-color: transparent;
    background-image: none;
}

EggListBox.content-view:selected,
EggListBox.content-view:active,
.content-view.cell:selected,
.content-view.cell:active {
    background-color: @theme_selected_bg_color;
    background-image: none;
}

EggListBox.content-view:selected:backdrop,
.content-view.cell:selected:backdrop {
    background-color: shade(@theme_selected_bg_color, 0.8);
    background-image: none;
}

GdMainIconView.content-view {
    -GdMainIconView-icon-size: 40;
}

GtkIconView.content-view.cell.check,
GtkIconView.content-view.cell.check:backdrop {
    background-image: url("assets/grid-selection-unchecked.svg");
    background-color: transparent;
}

GtkIconView.content-view.cell.check:active {
    background-image: url("assets/grid-selection-checked.svg");
    background-color: transparent;
}

.content-view.view.check,
.content-view.view.check:active {
    background-color: transparent;
}

.content-view.view .separator:backdrop {
    color: @theme_unfocused_bg_color;
}

GtkIconView.content-view.check:hover,
GtkIconView.content-view.check:disabled,
GtkIconView.content-view.check:backdrop,
GtkIconView.content-view.check:selected {
    background-color: transparent;
}

/* used by Documents and Evince */
.content-view.document-page,
.content-view.document-page:backdrop {
    border-style: solid;
    border-width: 3px 3px 6px 4px;
    border-image: url("assets/thumbnail-frame.png") 3 3 6 4;
}

/*********************
 * App Notifications *
 *********************/
.app-notification {
    border-style: solid;
    border-color: #C8CC80;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 5px 5px;
    padding: 8px;

    background-image: linear-gradient(to bottom,
                                      @app_notification_a,
                                      @app_notification_c);

    color: #C8CC80;
    text-shadow: 0 1px rgba(0,0,0,0.24);
    box-shadow: inset 1px 1px alpha(black, 0.46),
				inset -1px -1px alpha(black, 0.24);
}

.app-notification .button {
    border-image: none;
    background-color: alpha(black, 0.3);
    background-image: linear-gradient(to bottom,
                                      shade(@app_notification_a, 1.06),
                                      shade(@app_notification_c, 0.92));
    border-width: 1px;
    border-style: solid;
    border-color: #c8cc80;
    box-shadow: inset 1px 1px alpha(black, 0.46),
				inset -1px -1px alpha(black, 0.24);
}


/* Calendars */
GtkCalendar {
    padding: 2px;
}

GtkCalendar.view {
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    padding: 2px;
}

GtkCalendar.header {
    border-radius: 0;
    background-image: linear-gradient(to bottom,
                                      shade(@theme_bg_color, 1.04),
                                      shade(@theme_bg_color, 0.89)
                                      );
    border-width: 0;
}

GtkCalendar.button,
GtkCalendar.button:disabled,
GtkCalendar.button:backdrop,
GtkCalendar.button:disabled:backdrop {
    background-image: none;
    background-color: rgba(0,0,0,0.18);
    color: @theme_text_color;
}

.highlight,
GtkCalendar.highlight {
    background-color: @theme_selected_bg_color;
    color: @theme_selected_fg_color;
    border-radius: 0;
    padding: 0;
    border-width: 0;
}

GtkCalendar:inconsistent {
    color: shade (@theme_fg_color, 0.6);
}


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

.info {
    text-shadow: 0 1px @info_text_shadow;
}

.warning {
    text-shadow: 0 1px @warning_text_shadow;
}

.question {
    text-shadow: 0 1px @question_text_shadow;
}

.error {
    text-shadow: 0 1px @error_text_shadow;
}

.info:backdrop,
.warning:backdrop,
.question:backdrop,
.error:backdrop {
    text-shadow: none;
    background-color: @theme_base_color;
    color: @theme_unfocused_fg_color;
    border-color: @theme_unfocused_fg_color;
}

/* NOT SURE ABOUT THIS --
.info .entry,
.info .entry:focus,
.info .button,
.info .button:disabled,
.info .button:active,
.warning .entry,
.warning .entry:focus,
.warning .button,
.warning .button:disabled,
.warning .button:active,
.error .entry,
.error .entry:focus,
.error .button,
.error .button:disabled,
.error .button:active {
    border-image: none;

    border-color: shade(@borders, 0.9);
    border-style: solid;
    border-width: 1px;
}*/

.question .entry,
.question .entry:focus/*,
.question .button,
.question .button:disabled,
.question .button:active*/ {
	background-color: alpha(mix(white, @question_bg_color,0.4), 0.8);
}

.question .entry:backdrop,
.question .entry:focus:backdrop/*,
.question .button,
.question .button:disabled,
.question .button:active*/ {
	background-color: alpha(mix(white, @question_bg_color,0.4), 0.6);
}

/*
.info .entry:backdrop,
.info .button:backdrop,
.info .button:disabled:backdrop,
.info .button:active:backdrop,
.warning .entry:backdrop,
.warning .button:backdrop,
.warning .button:disabled:backdrop,
.warning .button:active:backdrop,
.question .entry:backdrop,
.question .button:backdrop,
.question .button:disabled:backdrop,
.question .button:active:backdrop,
.error .entry:backdrop,
.error .button:backdrop,
.error .button:disabled:backdrop,
.error .button:active:backdrop {
    border-image: none;

    border-color: @unfocused_borders;
    border-style: solid;
    border-width: 1px;
}
* */

GtkInfoBar:last-child,
.info:last-child,
.warning:last-child,
.question:last-child,
.error:last-child {
    /* only apply a border on the last infobar if
     * there's more than one packed in */
    border-bottom-width: 1px;
    border-style: solid;
}

.info {
    background-color: @info_bg_color;
    color: @info_fg_color;

    border-color: darker(@info_bg_color);
}

.warning {
    background-color: @warning_bg_color;
    color: @warning_fg_color;

    border-color: darker(@warning_bg_color);
}

.question {
    background-color: @question_bg_color;
    color: @question_fg_color;

    border-color: darker(@question_bg_color);
}

.error {
    background-color: @error_bg_color;
    color: @error_fg_color;

    border-color: darker(@error_bg_color);
}

/**************
 * Dim labels *
 **************/
.view.dim-label,
.dim-label,
.dim-label:focus {
    color: shade(@theme_text_color, 0.65);
    text-shadow: 0 -1px @button_text_shadow;
}

.dim-label:hover {
    color: shade(@theme_text_color, 0.7);
    text-shadow: 0 -1px @button_text_shadow;
}

.dim-label:selected,
.dim-label:selected:focus {
    color: alpha (#ededed, 0.65);
    text-shadow: alpha(black, 0.26) 0 1px;
}

.view.dim-label:backdrop,
.dim-label:backdrop,
.dim-label:hover:backdrop,
.dim-label:focus:backdrop {
    color: shade(@theme_text_color, 0.45);
    text-shadow: none;
}

/*************************
 * Touch text selections *
 *************************/
GtkBubbleWindow {
    border-radius: 5px;
    background-clip: border-box;
}

GtkBubbleWindow.osd.background {
    background-color: @osd_popover_bg;
}

GtkBubbleWindow .toolbar {
    background-color: transparent;
}

/**********************
 * Fallback Mode Panel
 **********************/

.gnome-panel-menu-bar,
PanelApplet > GtkMenuBar.menubar,
PanelToplevel,
PanelWidget,
PanelAppletFrame,
PanelApplet {
    background-color: @os_chrome_bg_color;
    background-image: none;
    color: @os_chrome_fg_color;
}

ClockBox,
.gnome-panel-menu-bar.menubar,
PanelApplet > GtkMenuBar.menubar {
    font: bold;
}

.gnome-panel-menu-bar.menubar .menuitem *:hover,
PanelApplet > GtkMenuBar.menubar .menuitem *:hover {
    text-shadow: 0 1px @os_chrome_bg_color;
}

.gnome-panel-menu-bar.menubar .menu,
PanelApplet > GtkMenuBar.menubar .menu {
    font: regular;
}

.gnome-panel-menu-bar.menubar .menu *:hover,
PanelApplet > GtkMenuBar.menubar .menu *:hover {
    text-shadow: none;
}

.gnome-panel-menu-bar .menuitem:hover,
PanelApplet > GtkMenuBar.menubar .menuitem:hover,
.gnome-panel-menu-bar .menuitem *:hover,
PanelApplet > GtkMenuBar.menubar .menuitem *:hover {
    background-color: @os_chrome_selected_bg_color;
    color: @os_chrome_selected_fg_color;
}

.gnome-panel-menu-bar .menuitem *:hover,
PanelApplet > GtkMenuBar.menubar .menuitem *:hover {
    color: @os_chrome_selected_fg_color;
}

PanelApplet .button,
PanelApplet .button:hover {
    padding: 4px;

    border-image: none;
    border-width: 0;
    border-radius: 0;

    background-image: none;
    background-color: @os_chrome_bg_color;

    color: @os_chrome_fg_color;
    text-shadow: none;
}

PanelApplet .button:active:hover,
PanelApplet .button:active {
    border-image: none;
    background-image: none;
    background-color: @os_chrome_selected_bg_color;
    border-width: 0;
    border-radius: 0;
}

PanelApplet *:hover {
    color: @os_chrome_selected_fg_color;
}

PanelApplet *:active,
PanelApplet *:hover:active {
    color: @os_chrome_selected_fg_color;
    text-shadow: 0 1px @os_chrome_bg_color;
}

WnckPager {
    background-color: lighter(@os_chrome_selected_bg_color);
}

NaTrayApplet {
    -NaTrayApplet-icon-padding: 12;
    -NaTrayApplet-icon-size: 16;
}

GsmFailWhaleDialog {
    background-color: @os_chrome_bg_color;
    background-image: none;
    color: @os_chrome_fg_color;
}

GsmFailWhaleDialog .button,
GsmFailWhaleDialog .button:active {
    border-image: none;
    border-color: @borders;
    border-width: 1px;
}

.content-view.view.rubberband,
.view.rubberband,
.rubberband {
    background-color: alpha (@theme_selected_bg_color, 0.35);
	background-image: none;
    border-color: @theme_selected_bg_color;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
}
