/*************************
 * Check and Radio items *
 *************************/
.cell.check,
.menuitem.check,
* .check {
	-gtk-icon-source: -gtk-scaled(url("assets/checkbox-dark.png"), url("assets/heckbox-dark2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_color_a-b),
                                     to (@gradient_color_b-b));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a-b, 1.15),
                inset -2px -2px shade (@inner_gradient_color_b-b, 1.00),
                inset 1px 1px @border_gradient_color_a-b,
                inset -1px -1px shade (@border_gradient_color_b-b, 0.80);
    border-radius: 3px;
}

.cell.radio,
.menuitem.radio,
* .radio {
	-gtk-icon-source: -gtk-scaled(url("assets/radio-dark.png"), url("assets/radio-dark2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_color_a-b),
                                     to (@gradient_color_b-b));
    box-shadow: inset 1px 0.2px shade (@border_gradient_color_b-b, 0.85),
                inset -1px -0.2px shade (@border_gradient_color_b-b, 0.85);
    border-radius: 8px;
}

.radio:checked,
.radio:inconsistent:checked,
.view.cell.radio:focused,
.view.cell.radio:prelight,
.view.cell.radio:active {
	-gtk-icon-source: -gtk-scaled(url("assets/radio-checked-dark.png"), url("assets/radio-checked-dark2.png"));
    border-radius: 8px;
}

.check:checked,
.check:inconsistent:checked,
.cell.check:active,
.cell.check:active:selected,
.menuitem.check:active,
* .check:active {
    -gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-dark.png"), url("assets/checkbox-checked-dark2.png"));
    border-radius: 3px 4px 2px 5px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@inner_gradient_color_a-b, 0.80)),
                                     color-stop (0.50, shade (@text_color-b, 0.95)),
                                     color-stop (0.90, @text_color-b),
                                     to (@text_color-b));
    box-shadow: inset 1px 2px shade (@inner_gradient_color_a-b, 1.00),
                inset -0px -0px shade (@inner_gradient_color_a-b, 1.00),
                inset 1px 1px shade (@border_gradient_color_b-b, 0.85),
                inset -1px -1px shade (@border_gradient_color_b-b, 0.85);
}

.cell.radio:active,
.cell.radio:active:selected,
.menuitem.radio:active,
* .radio:active {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@inner_gradient_color_a-b, 0.80)),
                                     color-stop (0.50, shade (@text_color-b, 0.95)),
                                     color-stop (0.82, shade (@text_color-b, 0.82)),
                                     to (shade (@text_color_a-b, 1.00)));
    box-shadow: inset 1.3px 0.2px shade (@inner_gradient_color_a-b, 0.00),
                inset -1.3px -0.4px shade (@inner_gradient_color_a-b, 0.00);
}

.cell.check:inconsistent,
.cell.check:inconsistent:selected,
.menuitem.check:inconsistent,
* .check:inconsistent {
    -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-dark.png"), url("assets/checkbox-mixed-dark2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.60)),
                                     color-stop (0.50, shade (@gradient_color_a-b, 1.95)),
                                     to (shade (@gradient_color_a-b, 0.30)));
    box-shadow: inset 1px 2px shade (@inner_gradient_color_a-b, 1.00),
                inset -0px -0px shade (@inner_gradient_color_a-b, 1.00),
                inset 1px 1px shade (@border_gradient_color_b-b, 0.85),
                inset -1px -1px shade (@border_gradient_color_b-b, 0.85);
}

.cell.radio:inconsistent,
.cell.radio:inconsistent:selected,
.menuitem.radio:inconsistent,
* .radio:inconsistent {
	-gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-dark.png"), url("assets/radio-mixed-dark2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@inner_gradient_color_a-b, 0.20)),
                                     color-stop (0.50, shade (@inner_gradient_color_a-b, 1.95)),
                                     to (shade (@inner_gradient_color_a-b, 0.20)));
    box-shadow: inset 1.2px 0.2px shade (@inner_gradient_color_a-b, 0.00),
                inset -1.2px -0.2px shade (@inner_gradient_color_a-b, 0.00);
}

.cell.check:insensitive,
.menuitem.check:insensitive,
* .check:insensitive {
	-gtk-icon-source: -gtk-scaled(url("assets/checkbox-dark-i.png"), url("assets/checkbox-dark-i2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.60)),
                                     to (shade (@gradient_color_b-b, 0.60)));
    border-color: alpha (@text_color-b, 0.00);
    box-shadow: inset 2px 2px shade (@inner_gradient_color_a-b, 0.75),
                inset -2px -2px shade (@inner_gradient_color_b-b, 1.00),
                inset 1px 1px shade (@border_gradient_color_a-b, 1.00),
                inset -1px -1px shade (@border_gradient_color_b-b, 0.80);
}

.cell.radio:insensitive,
.menuitem.radio:insensitive,
* .radio:insensitive {
	-gtk-icon-source: -gtk-scaled(url("assets/radio-dark-i.png"), url("assets/radio-dark-i2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.60)),
                                     to (shade (@gradient_color_b-b, 0.60)));
    box-shadow: inset 1px 0.2px shade (@border_gradient_color_a-b, 1.00),
                inset -1px -0.2px shade (@border_gradient_color_b-b, 0.80);
}

.check:checked:insensitive,
.check:inconsistent:checked:insensitive,
.cell.check:active:insensitive,
.menuitem.check:active:insensitive,
* .check:active:insensitive {
	-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-dark-i.png"), url("assets/checkbox-checked-dark-i2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@inner_gradient_color_a-b, 0.70)),
                                     color-stop (0.50, shade (@text_color-b, 0.40)),
                                     color-stop (0.90, shade (@text_color-b, 0.40)),
                                     to (shade (@text_color-b, 0.10)));
    box-shadow: inset 1px 2px shade (@inner_gradient_color_a-b, 0.80),
                inset -0px -0px shade (@inner_gradient_color_a-b, 1.00),
                inset 1px 1px shade (@border_gradient_color_b-b, 0.85),
                inset -1px -1px shade (@border_gradient_color_b-b, 0.85);
}

.radio:checked:insensitive,
.radio:inconsistent:checked:insensitive,
.cell.radio:active:insensitive,
.menuitem.radio:active:insensitive,
* .radio:active:insensitive {
    -gtk-icon-source: -gtk-scaled(url("assets/radio-checked-dark-i.png"), url("assets/radio-checked-dark-i2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@inner_gradient_color_a-b, 0.70)),
                                     color-stop (0.50, shade (@text_color-b, 0.40)),
                                     color-stop (0.90, shade (@text_color-b, 0.40)),
                                     to (shade (@text_color-b, 0.10)));
    box-shadow: inset 1.2px 0.2px shade (@inner_gradient_color_a-b, 0.00),
                inset -1.2px -0.2px shade (@inner_gradient_color_a-b, 0.00);
}

.cell.check:inconsistent:insensitive,
.cell.check:inconsistent:selected:insensitive,
.menuitem.check:inconsistent:insensitive,
* .check:inconsistent:insensitive {
    -gtk-icon-source: -gtk-scaled(url("assets/checkbox-mixed-dark-i.png"), url("assets/checkbox-mixed-dark-i2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.40)),
                                     color-stop (0.50, shade (@gradient_color_a-b, 1.15)),
                                     to (shade (@gradient_color_a-b, 0.20)));
    box-shadow: inset 1px 1px shade (@inner_gradient_color_a-b, 0.80),
                inset -0px -0px shade (@inner_gradient_color_a-b, 1.00),
                inset 1px 1px shade (@border_gradient_color_b-b, 0.85),
                inset -1px -1px shade (@border_gradient_color_b-b, 0.85);
}

.cell.radio:inconsistent:insensitive,
.menuitem.radio:inconsistent:insensitive,
* .radio:inconsistent:insensitive {
	-gtk-icon-source: -gtk-scaled(url("assets/radio-mixed-dark-i.png"), url("assets/radio-mixed-dark-i2.png"));
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 0.40)),
                                     color-stop (0.50, shade (@gradient_color_a-b, 1.15)),
                                     to (shade (@gradient_color_a-b, 0.20)));
    box-shadow: inset 1px 0.2px shade (@border_gradient_color_b-b, 0.85),
                inset -1px -0.2px shade (@border_gradient_color_b-b, 0.85);
}

GtkExpander:hover,
GtkCheckButton:hover {
    border-radius: 3px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 1.00)),
                                     color-stop (0.03, @gradient_color_a-b),
                                     to (shade (@gradient_color_b-b, 1.00)));
}

GtkRadioButton:hover {
    border-radius: 8px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 1.00)),
                                     color-stop (0.03, @gradient_color_a-b),
                                     to (shade (@gradient_color_b-b, 1.00)));
}

.linked GtkRadioButton:hover,
.toolbar GtkRadioButton:hover {
    border-radius: 4px 6px 4px 6px;
}
