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

.button,
.primary-toolbar.toolbar.button {
    border-width: 1;    
	border-radius:4;
    background-image: -gtk-gradient (radial,
				     center top, 0, center center, 1,
                                     from (@button_gradient_color_a),
				     color-stop(0.20, @button_gradient_color_a),
                                     to (@button_gradient_color_b));

    -unico-border-gradient: -gtk-gradient (linear,
                    left top, left bottom,
                    from (shade (@bg_color, 0.78)),
                    to (shade (@bg_color, 0.60)));

    -unico-outer-stroke-gradient: -gtk-gradient (linear,
                    left top, left bottom,
                    from (alpha (#000, 0.00)),
                    to (alpha (#000, 0.10)));
    -unico-inner-stroke-gradient: -gtk-gradient (linear,
                    left top, left bottom,
                    from (alpha (#fff, 0.90)),
                    to (alpha (#fff, 0.90)));
}

.button:hover,
.primary-toolbar.toolbar.button:hover {
	background-image: -gtk-gradient (radial,
				     center top, 0, center center, 1,
				     from (@button_hover_gradient_color_a),
				     to (@button_hover_gradient_color_b));
	color:#000;

}

.button:active,
.button:hover:active,
.primary-toolbar.toolbar.button:active,
.primary-toolbar.toolbar.button:hover:active {

    color:          #000;

    background-image: -gtk-gradient (linear,
				     left top,
				     left bottom,
				     from (shade (@bg_color, 0.54)),
				     to (shade (@bg_color, 0.76)));

    -unico-outer-stroke-gradient: -gtk-gradient (linear,
                     left top, left bottom,
                     from (alpha (#fff, 0.00)),
                     color-stop (0.75, alpha (#fff, 0.00)),
                     to (alpha (#fff, 0.40)));

    -unico-border-gradient: -gtk-gradient (linear,
                     left top, left bottom,
                     from (shade (@bg_color, 0.46)),
                     to (shade (@bg_color, 0.58)));

    -unico-inner-stroke-gradient: -gtk-gradient (linear,
                    left top, left bottom,
                    from (alpha (#000, 0.12)),
                    to (alpha (#000, 0.06)));
}

.button:insensitive {
    background-image: -gtk-gradient (linear,
				     left top,
				     left bottom,
                     from (shade (@bg_color, 1.06)),
                     to (shade (@bg_color, 0.88)));

    -unico-border-gradient: -gtk-gradient (linear,
                     left top, left bottom,
                     from (shade (@bg_color, 0.76)),
                     to (shade (@bg_color, 0.70)));

    -unico-outer-stroke-gradient: -gtk-gradient (linear,
                     left top, left bottom,
                     from (alpha (#fff, 0.00)),
                     color-stop (0.75, alpha (#fff, 0.00)),
                     to (alpha (#fff, 0.40)));
}

.button:active:insensitive,
.primary-toolbar.toolbar.button:active:insensitive {

    background-image: -gtk-gradient (linear,
			         left top,
			         left bottom,
			         from (shade (@bg_color, 0.85)),
                     color-stop (0.20, shade (@bg_color, 0.94)),
			         to (@bg_color));

    -unico-border-gradient: -gtk-gradient (linear,
                     left top, left bottom,
                     from (shade (@bg_color, 0.67)),
                     to (shade (@bg_color, 0.74)));

    -unico-outer-stroke-gradient: -gtk-gradient (linear,
                     left top, left bottom,
                     from (alpha (#fff, 0.00)),
                     color-stop (0.75, alpha (#fff, 0.00)),
                     to (alpha (#fff, 0.40)));

    -unico-inner-stroke-gradient: -gtk-gradient (linear,
                    left top, left bottom,
                    from (alpha (#000, 0.10)),
                    to (alpha (#000, 0.06)));

}

.button.default {
}

/***************************
 * Primary Toolbar Buttons *
 ***************************/
.primary-toolbar.toolbar.button {
    -GtkButton-inner-border:    2;
}
