/********************************************************************************
 * Copyright 2017 Capital One Services, LLC and Bitwise, Inc.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/

/* @import url("platform:/plugin/hydrograph.ui.theme/css/e4-dark.css"); Bug 430052 */
@import url("platform:/plugin/hydrograph.ui.theme/css/dark/e4-dark_basestyle.css");
/*@import url("platform:/plugin/hydrograph.ui.theme/css/dark/e4-dark_globalstyle.css"); *//* Remove this to have ONLY the main IDE shell dark */
/*@import url("platform:/plugin/hydrograph.ui.theme/css/dark/e4-dark_partstyle.css");*/

Tree {
	/**
	 * See Bug 434201: Dark theme: tree must respect the foreground color for items arrows
	 */
	swt-tree-arrows-color:#000000;
	swt-tree-arrows-mode: triangle;  /* triangle or square */

	/* See Bug 434309: Customize the tree/table selection to work properly
	 * with the dark theme.
	 *
	 * Note that the selection foreground is a bit lighter than the regular
	 * foreground because our background is also a bit lighter in this case.
	 */
	swt-selection-foreground-color: #fcfcf9;
	swt-selection-background-color: #ff5252;
	swt-hot-background-color: #cfd8dc;
	swt-selection-border-color: #7F7D68;
	swt-hot-border-color: #545454;
}




.MTrimmedWindow.topLevel {
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: 3px;
    margin-right: 3px;
}

.MPartStack, .MPart {
    font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
}

.MPartStack {
    swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
    swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
    swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
    swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
    swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
    swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
    padding: 0px 2px 2px;
    swt-shadow-visible: false;
    swt-mru-visible: true;
    swt-corner-radius: 16px;
}

.MPartStack.active {
    swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
    swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
    swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
    swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
    swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
}

.MPartStack.active.noFocus {
    swt-selected-tabs-fill: #000000;
}

.MPartStack.empty {
    swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */
    swt-tab-outline: #000000; /* border color for selected tab */
    swt-outer-keyline-color: #f4eae0; /* border color for whole tabs container */
}

.MPart.busy {
    font-style: italic;
}

.MPart.highlighted {
    font-weight: bold;
}

CTabItem,
CTabItem CLabel {
    background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
    color: #ffffff;
}
CTabItem:selected,
CTabItem:selected CLabel {
    color: #ffffff;
}

.MPartStack.active > CTabItem,
.MPartStack.active > CTabItem CLabel {
    background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
    color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR';
}
.MPartStack.active > CTabItem:selected,
.MPartStack.active > CTabItem:selected CLabel {
    color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR';
}

.MPartStack.active.noFocus > CTabItem:selected {
    color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR';
}

CTabItem.busy {
    color: #888888;
}

#PerspectiveSwitcher {
    eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
}

.MToolControl.TrimStack {
    /*frame-image:  url(./gtkTSFrame.png);*/
    handle-image:  url(./dragHandle.png);
    frame-cuts: 5px 1px 5px 16px;
}

.MToolBar.Draggable {
    handle-image:  url(./dragHandle.png);
}

.MToolControl.Draggable {
    handle-image:  url(./dragHandle.png);
}

.DragFeedback {
    background-color: COLOR-WIDGET-NORMAL-SHADOW;
}

.ModifiedDragFeedback {
    background-color: #4176AF;
}

.MTrimmedWindow {
    background-color: #546e7a;
}

.MTrimBar {
    background-color: #546e7a;
	color:#ffffff;
}
#org-eclipse-ui-ProgressBar{background-color: #546e7a;}

CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active {
    swt-shadow-visible: false;
}


CTabFolder Tree, CTabFolder Canvas {
    background-color: #cfd8dc;
    color: #000000;
}
.MPartStack.active Tree,
.MPartStack.active CTabFolder Canvas {
    background-color: #cfd8dc;
    color: #000000;
}



/* ####################### Top Toolbar ########################## */

#org-eclipse-ui-main-toolbar, #PerspectiveSwitcher {
    eclipse-perspective-keyline-color: #585858;
    background-color: #607d8b #607d8b 100%;
    handle-image: none;
    color: #EBE8E4;
}


/* ##################### Bottom Status Bar ####################### */

#org-eclipse-ui-StatusLine,
#org-eclipse-ui-ProgressBar,
#org-eclipse-ui-ProgressBar Canvas {
    color: #CCCCCC;
}
#org-eclipse-ui-StatusLine CLabel {
    color: #BDBAB7;
}

StatusLine, ImageBasedFrame{
    color: #BDBAB7;
}



/* ####################### CSS for .MParts ####################### */

/* Make the content of the Form brighter because the color of
   the font of some widgets is hard-coded to be black on Window */

.MPart Form,
.MPart Form Sash,
.MPart Form Label,
.MPart Form Section,
.MPart Form FormText,
.MPart Form Link,
.MPart Form Hyperlink,
.MPart Form ImageHyperlink,
.MPart Form Group,
.MPart Form SashForm,
.MPart Form LayoutComposite,
.MPart Form ScrolledPageBook,
.MPart Form DependenciesComposite,
.MPart Form ListEditorComposite,
.MPart Form Text[style~='SWT.READ_ONLY'],
.MPart Form > LayoutComposite > LayoutComposite > ToolBar,
.MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */
.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > *, /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/
.MPartStack.active .MPart Form,
.MPartStack.active .MPart Form Sash,
.MPartStack.active .MPart Form Label,
.MPartStack.active .MPart Form Section,
.MPartStack.active .MPart Form FormText,
.MPartStack.active .MPart Form Link,
.MPartStack.active .MPart Form Hyperlink,
.MPartStack.active .MPart Form ImageHyperlink,
.MPartStack.active .MPart Form Group,
.MPartStack.active .MPart Form SashForm,
.MPartStack.active .MPart Form LayoutComposite,
.MPartStack.active .MPart Form ScrolledPageBook,
.MPartStack.active .MPart Form DependenciesComposite,
.MPartStack.active .MPart Form ListEditorComposite,
.MPartStack.active .MPart Form Text[style~='SWT.READ_ONLY'],
.MPartStack.active .MPart Form > LayoutComposite > LayoutComposite > ToolBar,
.MPartStack.active .MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */
.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ {
    background-color: #4f5355;
    color: #f4f7f7;
}
#org-eclipse-help-ui-HelpView Form,
#org-eclipse-help-ui-HelpView Form Sash,
#org-eclipse-help-ui-HelpView Form Label,
#org-eclipse-help-ui-HelpView Form Section,
#org-eclipse-help-ui-HelpView Form FormText,
#org-eclipse-help-ui-HelpView Form Hyperlink,
#org-eclipse-help-ui-HelpView Form Group,
#org-eclipse-help-ui-HelpView Form LayoutComposite,
#org-eclipse-help-ui-HelpView Form ScrolledPageBook,
#org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] {
    background-color: #2F2F2F;
    color: #CCCCCC;
}
.MPartStack.active #org-eclipse-help-ui-HelpView Form,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Sash,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Label,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Section,
.MPartStack.active #org-eclipse-help-ui-HelpView Form FormText,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Hyperlink,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Group,
.MPartStack.active #org-eclipse-help-ui-HelpView Form LayoutComposite,
.MPartStack.active #org-eclipse-help-ui-HelpView Form ScrolledPageBook,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] {
    background-color: #262626;
    color: #BBBBBB;
}
.MPart Form Section Tree,
.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree,
.MPartStack.active .MPart Form Section Tree,
.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree {
    background-color: #ffffff;
    color: #DDDDDD;
}
.MPart Form DatePicker > ImageHyperlink,
.MPart Form ScheduleDatePicker > ImageHyperlink {
    background-color: #3f4447;
    color: #BBBBBB;
}
.MPartStack.active .MPart Form DatePicker > ImageHyperlink,
.MPartStack.active .MPart Form ScheduleDatePicker > ImageHyperlink {
    background-color: #313538;
    color: #AAAAAA;
}
.MPart PageBook > Form > LayoutComposite {
    background-color: #2F2F2F;
    color: #CCC;
}
.MPartStack.active .MPart PageBook > Form > LayoutComposite {
    background-color: #262626;
    color: #BBBBBB;
}
.MPart Form FormHeading LayoutComposite,
.MPart Form FormHeading ImageHyperlink {
    background-color: #505f70;
    color: #9ac9d8;
}
.MPartStack.active .MPart Form FormHeading LayoutComposite,
.MPartStack.active .MPart Form FormHeading ImageHyperlink {
    background-color: #415062;
    color: #9ac9d8;
}

/* On the windows dark theme, the default is having the scrollbar themed
 * Note that the user may also set -Dswt.enable.themedScrollBar=false to force
 * it to false regardless of the CSS value.
 */
StyledText {
	swt-scrollbar-themed: true;

	swt-scrollbar-background-color: #383838;
	swt-scrollbar-foreground-color: #494949;
	swt-scrollbar-width: 4px;
	swt-scrollbar-border-radius: 4px;
	swt-scrollbar-mouse-near-scroll-width: 15px;
}

Composite StyledText{
	background-color: #cfd8dc;
    color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START';
	
}


/*Added class*/
.MPart FigureCanvas,
.MPartStack.active .MPart FigureCanvas{
    background-color: #f0f0f0;
    color: #999999;
}


#org-eclipse-ui-console-ConsoleView .MPart StyledText
{
    background-color: #f0efef;
    color: #CCCCCC;
}

/*Toolbar class*/
Composite#org-eclipse-ui-main-toolbar {
  /* actual values */
  background-color: #607d8b;
  }
  
  
Composite#SearchField {
  /* actual values */
  background-color: #607d8b;	/* declared in CSS: rgb(81, 86, 88) */
 }
Composite#PerspectiveSwitcher {
  /* actual values */
  background-color: #607d8b;	/* declared in CSS: rgb(81, 86, 88) rgb(81, 86, 88) 100.0% */
  color: #ebe8e4;	/* declared in CSS: rgb(235, 232, 228) */
  /* declared in CSS rules */
  eclipse-perspective-keyline-color: rgb(88, 88, 88);
} 

/*Toolbar class end*/

ToolBar#hydrograph-ui-project-structure-console-HydrographConsole {
  /* actual values */
  background-color: #546e7a;	/* declared in CSS: rgb(223, 234, 235) */
  
}

/*For background color of tab strip*/
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {	/*CHECKED*/
	color: #90a4ae;
}
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {	/*CHECKED*/
	color: #90a4ae;  /*	Rust*/
}
/*background color of tab strip end*/

CTabFolder#org-eclipse-gef-ui-palette_viewMStack{color:#ffffff;}
CTabFolder#PartStack {color:#ffffff;}

/*Tabs on Canvas*/
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {  /*CHECKED*/
    color: #263238;
    category: '#org-eclipse-ui-presentation-default';
    label: 'Active, selected part background begin';
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {	/*CHECKED*/
    color: #455a64;
    category: '#org-eclipse-ui-presentation-default';
    label: 'Active, selected part background end';
}
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START {  /*CHECKED*/
    color: #455a64;
    category: '#org-eclipse-ui-presentation-default';
    label: 'Active, selected part background begin';
}
	
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {	/*CHECKED*/
    color: #263238;
    category: '#org-eclipse-ui-presentation-default';
    label: 'Active, selected part background end';
}
/* CTabFolder */
ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {	/*CHECKED*/
	color: #607d8b;	/*RED*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {		/*CHECKED*/
	color: #607d8b; /*Taupe*/
}
#org-eclipse-ui-ProgressBar > Canvas {color:#000000;}


.MToolControl.TrimStack {
	frame-image:  url(./win7TSFrame.png);
	handle-image:  url(./win7Handle.png);
}


#org-eclipse-ui-editorss {
	swt-tab-height: 8px;
	padding: 0px 5px 7px;
}

Composite#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START{
background-color: #cfd8dc;
}
/*CANVAS*/
Composite FigureCanvas{						/*CHECKED*/
	background-color: #cfd8dc;
    color: white;
}
/*CONSOLE*/									/*CHECKED*/
Composite StyledText{
	background-color:#	;
    color: #333333;
	
}
/*Composite{
	background-color: #cfd8dc;
    color: white;
}*/


/* ###################### Top Toolbar ########################## */


ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {background-color: #cfd8dc;}
Tree {
  /* actual values */
  background-color: #cfd8dc;	/* declared in CSS: rgb(47, 47, 47) */
  background-image: none;
  color: #000000;	/* declared in CSS: rgb(204, 204, 204) */
}
ColorDefinition#hydrograph-ui-project-structure-console-HydrographConsole {
    background-color: #546e7a;	/* declared in CSS: rgb(223, 234, 235) */
  }


/*Console window toolbar*/ 
.MPartStack.active ToolBar#hydrograph-ui-project-structure-console-HydrographConsole{background-color: #607d8b;}
.MPartStack ToolBar#hydrograph-ui-project-structure-console-HydrographConsole{background-color: #90a4ae; }
.MPartStack Composite > ToolBar [style~='SWT.DROP_DOWN'] {background-color: #ffffff;}

/*Project Navigator tab*/
ToolBar#hydrograph-ui-project-structure-navigator {
  background-color: #90a4ae;	/* declared in CSS: rgb(223, 234, 235) */
}
.MPartStack.active ToolBar#hydrograph-ui-project-structure-navigator {background-color: #607d8b;}



/*Console text background*/
.View {
    background-color: #f0efef;
    color: #F5F5F5;
}

/*Tab Hover color*/
CTabFolder {
    swt-unselected-hot-tab-color-background: #546e7a; /* Bug 465711 */
}
StatusLine > CLable{color:#000000;}


/*Tabs under popup*/
ScrolledComposite  {background-color:#90a4ae;}
Composite > CTabFolder CTabItem{background-color:#90a4ae;}
Composite > CTabFolder CTabItem:selected{background-color:#455a64;}
Composite > CTabFolder CTabItem.active{background-color:#90a4ae;}
Composite > CTabFolder{ 
  swt-tab-height: 23;
  font-size: 9;
  font-style: normal;
  font-weight: normal;
  swt-background-mode: none;
/*  swt-maximize-visible: true;
  swt-maximized: false;
  swt-minimize-visible: true;
  swt-minimized: false; */
  swt-mru-visible: true;	/* declared in CSS: true */
  swt-simple: true;
  swt-single: false;
  swt-tab-height: 23;	/* declared in CSS: 23 */
  swt-tab-position: top;
  swt-unselected-close-visible: true;
  swt-unselected-image-visible: true;
  text-transform: none;
  visibility: visible;
padding: 0.0px 2.0px 3.0px;
  swt-corner-radius: 16.0px;
  swt-unselected-hot-tab-color-background: rgb(84, 110, 122);
  swt-unselected-tabs-color: #org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START #org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END 100.0% 100.0%;
}
Composite#HydroGroupBorder {
  /* actual values */
  background-color: #cccccc;
  background-image: none;
  color: #000000;
  font-family: "Segoe UI";
  font-size: 9;
  font-style: normal;
  font-weight: normal;
  swt-background-mode: none;
  text-transform: none;
  visibility: visible;
width:1px;
}

CustomFigureCanvas > Composite {
  /* actual values */
  background-color: #90a4ae;
  background-image: none;
  color: #000000;
  font-family: "Segoe UI";
  font-size: 9;
  font-style: normal;
  font-weight: normal;
  swt-background-mode: none;
  text-transform: none;
  visibility: visible;
}

/*Table*/

Table, #HydroGroupClientArea > Composite Table {
    background-color: #B0BEC5;
	swt-selection-background-color: #ff5252;
	swt-selection-foreground-color: #ffffff;
    color: #333333;
	swt-hot-border-color: #545454;
}

/*Composite{
swt-background-mode: default;
      background-color: #546e7a;
	  color:#ffffff;
}*/

/*Work on this for shell color tomorrow*/
/*Console window background*/
.MPlaceholder > #hydrograph-ui-project-structure-console-HydrographConsole  StyledText{background-color:#cfd8dc;}
