/*****************
 * Notebooks and *
 * tabs          *
 *****************/
.notebook {
    -GtkNotebook-initial-gap: 1;
    -GtkNotebook-arrow-spacing: 5;
    -GtkNotebook-tab-curvature: 0;
    -GtkNotebook-tab-overlap: 1;
    -GtkWidget-focus-padding: 0;
    -GtkWidget-focus-line-width: 1;
    background-color: shade (@bg_color-b, 1.20);
    background-image: none;
    border-radius: 3px 5px 3px 5px;
    padding: 23px;
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 1.50),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.50),
                inset 1px 1px shade (@inner_gradient_color_b-b, 1.00),
                inset -1px -1px shade (@inner_gradient_color_b-b, 1.00);
}

.notebook.header {
    background-color: @transparent;
    border-width: 0px;
    box-shadow: none   
}

.notebook tab:active {
    border-radius: 4px 6px 0px 0px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@gradient_color_a-b, 1.30)),
                                     to (shade (@gradient_color_b-b, 1.05)));
    border-color: @transparent-b;
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 1.50),
                inset -2px -0px shade (@border_gradient_color_a-b, 1.50),
                inset 1px 1px shade (@inner_gradient_color_b-b, 1.00),
                inset -1px -0px shade (@inner_gradient_color_b-b, 1.00);
}

.notebook tab {
    border-radius: 4px 6px 0px 0px;
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (@gradient_color_a-b),
                                     to (shade (@gradient_color_b-b, 0.80)));
    border-color: @transparent-b;
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 1.50),
                inset -2px -1px shade (@border_gradient_color_a-b, 1.50),
                inset 1px 1px shade (@inner_gradient_color_b-b, 1.00),
                inset -1px -1px shade (@inner_gradient_color_b-b, 0.90);
}

/*.notebook tab GtkLabel:active {
    color:@tex_color-b;
}

.notebook tab GtkLabel{
}*/

.notebook tab.top:active {
    padding: 4px 7px 5px 7px;
}

.notebook tab.top {
    padding: 3px 5px 3px 5px;
}


.notebook tab.right:active {
    border-radius: 5px 7px 5px 7px;
    padding: 2px 6px 4px 4px;
    background-image: -gtk-gradient (linear, left bottom, left top,
                                                 from (shade (@bg_color-b, 1.20)),
                                                 to (shade (@bg_color-b, 1.20)));
    border-color: @transparent-b;
    box-shadow: inset 0px 2px shade (@border_gradient_color_a-b, 1.50),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.50),
                inset 0px 1px shade (@inner_gradient_color_b-b, 1.00),
                inset -1px -1px shade (@inner_gradient_color_b-b, 1.00);
}

.notebook tab.right {
    padding: 3px 4px 5px 4px;
    border-radius: 5px 7px 5px 7px;
    background-image: -gtk-gradient (linear, left bottom, left top,
                                                 from (shade (@bg_color-b, 0.90)),
                                                 to (shade (@bg_color-b, 0.90)));
    border-color: @transparent-b;
    box-shadow: inset 0px 2px shade (@border_gradient_color_a-b, 1.50),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.50),
                inset 0px 1px shade (@inner_gradient_color_b-b, 1.00),
                inset -1px -1px shade (@inner_gradient_color_b-b, 1.00);
}

.notebook tab.bottom:active {
    border-radius: 0px 0px 4px 6px;
    padding: 3px 7px 8px 7px;
    box-shadow: inset 2px 0px shade (@border_gradient_color_a-b, 1.50),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.50),
                inset 1px 0px shade (@inner_gradient_color_b-b, 1.00),
                inset -1px -1px shade (@inner_gradient_color_b-b, 1.00);
}

.notebook tab.bottom {
    border-radius: 0px 0px 4px 6px;
    padding: 2px 5px 6px 5px;
    box-shadow: inset 2px 0px shade (@border_gradient_color_a-b, 1.50),
                inset -2px -2px shade (@border_gradient_color_a-b, 1.50),
                inset 1px 0px shade (@inner_gradient_color_b-b, 1.00),
                inset -1px -1px shade (@inner_gradient_color_b-b, 1.00);
}


.notebook tab.left:active {
    padding: 2px 6px 4px 8px;
    border-radius: 5px;
    background-image: -gtk-gradient (linear, left bottom, left top,
                                                 from (shade (@bg_color-b, 1.20)),
                                                 to (shade (@bg_color-b, 1.20)));
    border-color: @transparent-b;
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 1.50),
                inset -0px -2px shade (@border_gradient_color_a-b, 1.50),
                inset 1px 1px shade (@inner_gradient_color_b-b, 1.00),
                inset -0px -1px shade (@inner_gradient_color_b-b, 1.00);
}

.notebook tab.left {
    border-radius: 5px;
    padding: 3px 4px 5px 7px;
    background-image: -gtk-gradient (linear, left bottom, left top,
                                                 from (shade (@bg_color-b, 0.90)),
                                                 to (shade (@bg_color-b, 0.90)));
    border-color: @transparent-b;
    box-shadow: inset 2px 2px shade (@border_gradient_color_a-b, 1.50),
                inset -0px -2px shade (@border_gradient_color_a-b, 1.50),
                inset 1px 1px shade (@inner_gradient_color_b-b, 1.00),
                inset -0px -1px shade (@inner_gradient_color_b-b, 1.00);
}

.notebook tab .button {
    padding: 0;
}

.notebook GtkDrawingArea {
    background-color: shade (@bg_color-b, 1.02);
}
