/*******
 * CSD *
 *******/
.titlebar {
    border-width: 0;
    border-style: none;
    border-color: transparent;
/*    border-image: linear-gradient(to left,
		shade(@theme_selected_bg_color, 1.20) 25%,
		shade(@theme_selected_bg_color, 1.05) 25%,
		shade(@theme_selected_bg_color, 1.05) 50%,
		shade(@theme_selected_bg_color, 0.90) 50%,
		shade(@theme_selected_bg_color, 0.90) 75%,
		shade(@theme_selected_bg_color, 0.75) 75%) 5 0 0 0/ 5px 0 0 0;*/
    background-image: none;
    background-color: @theme_bg_color;
    color: @theme_fg_color;
    text-shadow: none;
}

/* this is the default titlebar that is added by GTK
 * when client-side decorations are in use and the application
 * did not set a custom titlebar.
 */
.titlebar.default-decoration {
    border: none;
    box-shadow: none;
}

.titlebar .title {
    font: bold;
}

.titlebar:backdrop {
    background-image: none;
    background-color: @theme_bg_color;
    color: mix(@theme_fg_color, @theme_bg_color, 0.4);
    text-shadow: none;
}

.titlebar .titlebutton {
    padding: 4px;
    border-style: none;
    background: none;
    color: mix(@theme_fg_color, @theme_bg_color, 0.1);
    icon-shadow: none;
}

.titlebar .titlebutton:hover,
.titlebar .titlebutton:hover:focus {
    background: none;
    color: @theme_selected_bg_color;
    icon-shadow: none;
}

.titlebar .titlebutton:active,
.titlebar .titlebutton:active:hover {
    background: none;
    color: shade(@theme_selected_bg_color, 0.9);
    icon-shadow: none;
    box-shadow: none;
}

/*
.titlebar .right .titlebutton:first-child {
    border-left: 1px solid shade(@toolbar_bg_color, 0.9);
}

.titlebar .right .titlebutton:last-child {
}

.titlebar .left .titlebutton:last-child {
    border-right: 1px solid shade(@toolbar_bg_color, 0.9);
}

.titlebar .left .titlebutton:first-child {
}
*/

.titlebar .titlebutton:backdrop {
    background-image: none;
    color: mix(@theme_fg_color, @theme_bg_color, 0.4);
    icon-shadow: none;
}

.window-frame {
    background-image: none;
    border-width: 2px;
    border-style: solid;
    border-color: @theme_bg_color;
    border-image: none;
    border-radius: 0;
    box-shadow: 0 3px 12px 2px alpha(black, 0.5);

    /* this is used for the resize cursor area */
    margin: 10px;
}

.window-frame:backdrop {
    border-width: 2px;
    border-color: @theme_bg_color;
    border-image: none;
    box-shadow: 0 2px 7px 1px alpha(black, 0.5);
}

GtkWindow {
    color: @fg_color;
    background-color: @bg_color;
}

GtkPaned {
    background-color: @bg_color;
}

GtkEventBox {
    background-color: @bg_color;
}
