/***********
 * Buttons *
 ***********/
.button *{
    background-color: @transparent;
    -GtkButton-inner-border: 0;
    border-radius: 4px 6px 4px 6px;
    border-width: 1px;
    border-style: solid;
    border-color: @transparent;
}

GtkComboBox *{
    padding: 0px 1px 0px 2px;
}

GtkComboBox,
.button {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_color_a),
                                     to (@gradient_color_b));
    border-color: alpha (@text_color, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a, 1.15),
                inset -2px -2px shade (@inner_gradient_color_b, 1.00),
                inset 1px 1px @border_gradient_color_a,
                inset -1px -1px shade (@border_gradient_color_b, 0.80);
    border-radius: 4px 6px 4px 6px;
    border-style: solid;
    text-shadow: 1px 1px alpha (shade (@text_shadow_color, 1.25), 0.40);
    color: @text_color;
    padding: 2.5px 4px 2.5px 4px;
    border-width: 1px;
}

.list-row.button {
    background-image: none;
    box-shadow: none;
    background-color: alpha (shade (@sidebar_bg_color, 0.98), 0.9);
    color: @sidebar_text_color;
    text-shadow: 1px 1px alpha (shade (@sidebar_text_shadow_color, 1.25), 0.4);
    border-style: solid;
    border-color: shade (@border_gradient_color_b, 1.40);
    border-width: 1px 1px 1px 1px;
    border-radius: 3px;
}

.primary-toolbar .button:hover,
.button:hover {
    background-image: -gtk-gradient (linear, left top, left bottom,
		                             from (shade (@gradient_color_a, 1.20)),
		                             to (shade (@gradient_color_b, 1.10)));
    border-color: alpha (@text_color, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a, 1.30),
                inset -2px -2px shade (@inner_gradient_color_b, 1.10),
                inset 1px 1px shade (@border_gradient_color_a, 1.10),
                inset -1px -1px shade (@border_gradient_color_b, 0.90);
}

.button:checked
.button:active {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_activ_color_a),
                                     to (@gradient_activ_color_b));
    border-color: alpha (@text_color, 0.00);
    box-shadow: inset 2px 2px shade (@border_gradient_color_a, 0.70),
                inset -2px -2px shade (@border_gradient_color_a, 1.00),
                inset 1px 1px shade (@border_gradient_color_a, 0.90),
                inset -1px -1px shade (@border_gradient_color_a, 0.75);
    border-width: 1px;
/*    padding: 2.5px 5px 2.5px 3px;*/
}

.primary-toolbar .button:active:hover,
.button:active:hover {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_activ_color_a, 1.30)),
                                     to (shade (@gradient_activ_color_b, 1.20)));
    border-color: alpha (@text_color, 0.00);
    box-shadow: inset 2px 2px shade (@border_gradient_color_a, 0.70),
                inset -2px -2px shade (@border_gradient_color_a, 1.05),
                inset 1px 1px shade (@border_gradient_color_a, 0.90),
                inset -1px -1px shade (@border_gradient_color_a, 0.75);
}

.button:insensitive {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a, 0.95)),
                                     to (shade (@gradient_color_b, 1.10)));
    border-color: alpha (@text_color, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a, 1.05),
                inset -2px -2px shade (@inner_gradient_color_b, 1.15),
                inset 1px 1px shade (@border_gradient_color_a, 1.05),
                inset -1px -1px shade (@border_gradient_color_b, 1.20);
}

.button:insensitive:active {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_b, 1.35)),
                                     to (shade (@gradient_color_b, 1.35)));
    border-color: alpha (@text_color, 0.00);
    box-shadow: inset 2px 2px shade (@border_gradient_color_a, 0.80),
                inset -2px -2px shade (@border_gradient_color_a, 1.10),
                inset 1px 1px shade (@border_gradient_color_a, 1.00),
                inset -1px -1px shade (@border_gradient_color_a, 0.85);
}

.button.default {
}

.button:selected {
}

/****************
 * Spin Buttons *
 ****************/
.spinbutton.button:active,
.spinbutton.button:insensitive,
.notebook .spinbutton.button:active,
.notebook .spinbutton.button:insensitive,
.spinbutton.button,
.notebook .spinbutton.button {
    border-radius: 0px;
    border-width: 1px 0px 0px 0px;
}

.spinbutton.button:active:nth-child(last),
.spinbutton.button:insensitive:nth-child(last),
.notebook .spinbutton.button:active:nth-child(last),
.notebook .spinbutton.button:insensitive:nth-child(last),
.spinbutton.button:nth-child(last),
.notebook .spinbutton.button:nth-child(last) {
    border-radius: 0px 6px 6px 0px;
    border-width: 1px 0px 0px 0px;
}


.spinbutton.button:insensitive,
.notebook .spinbutton.button:insensitive,
.spinbutton.button:insensitive:nth-child(last),
.notebook .spinbutton.button:insensitive:nth-child(last) {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                                 from (alpha (@base_color, 0.20)),
                                                 to (alpha (@base_color, 0.00)));
    border-color: shade (@border_gradient_color_b, 1.25);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a, 1.00),
                inset -2px -2px shade (@inner_gradient_color_a, 1.00),
                inset 1px 1px shade (@border_gradient_color_b, 0.85),
                inset -1px -1px shade (@border_gradient_color_b, 0.85);
    border-width: 0px 0px 0px 0px;
    color: shade (@bg_color, 0.4);
}

.spinbutton.vertical .button,
.spinbutton.vertical .button:active,
.spinbutton.vertical .button:insensitive {
    border-radius: 4px 6px 4px 6px;
    border-width: 1px;
}

/***************************
 * Primary Toolbar Buttons *
 ***************************/
.primary-toolbar .button * {
    background-color: @transparent;
    -GtkButton-inner-border: 0;
    border-radius: 4px 6px 4px 6px;
    border-width: 1px;
}

.marlin-pathbar {
    padding: 0;
}
