/* STYLESHEET=LIGHT */

/* CSS - Cascading Style Sheet */
/* Palette color codes */
/* Palette URL: http://paletton.com/#uid=23C0X0kodvKgJMVkMDFt2t0sJkX */

/* Feel free to copy&paste color codes to your application */


/* As hex codes */


.color-primary-0 { color: #3367A6 }	/* Main Primary color */
.color-primary-2 { color: #70a0d8 }
.color-primary-4 { color: #4d81bf }
.color-primary-1 { color: #195397 }
.color-primary-3 { color: #133c6d }

.color-complement-0 { color: #FDB33E }	/* Main Complement color */
.color-complement-1 { color: #efefef }
.color-complement-2 { color: #FFBF59 }
.color-complement-3 { color: #E79615 }
.color-complement-4 { color: #A76D11 }



/* As RGBa codes */

.rgba-primary-0 { color: rgb(51, 103, 166) }	/* Main Primary color */
.rgba-primary-2 { color: rgba(112,160,216,1) }
.rgba-primary-4 { color: rgba(77,129,191,1) }
.rgba-primary-1 { color: rgb(24, 84, 153) }
.rgba-primary-3 { color: rgba(19, 60,109,1) }

.rgba-complement-0 { color: rgba(253,179, 62,1) }	/* Main Complement color */
.rgba-complement-1 { color: rgba(255,203,122,1) }
.rgba-complement-2 { color: rgba(255,191, 89,1) }
.rgba-complement-3 { color: rgba(231,150, 21,1) }
.rgba-complement-4 { color: rgba(167,109, 17,1) }

/* Generated by Paletton.com Â© 2002-2014 */
/* http://paletton.com */

/* Widgets are listed in alphabetical order with the exception of a few
   styles applied to multiple widgets at the top */

/* .QWidget QFrame
{
   background-color:  white;
   border-style: none;
} */


/* ----------------------------------------------------------------------------
* SVDialog Section
* ----------------------------------------------------------------------------*/
SVDialog
{
    font-family: "Lato";
    background-color: QLineEdit_background_color; 
}

SVDialog > QGroupBox::title
{
    /* height: 185px; */
    subcontrol-origin: margin;
    subcontrol-position: top left;
    padding: 0 0px;
    background-color: QGroupBoxTitle_background_color;
}

SVDialog > QGroupBox
{
    font-family: "Lato-Bold";
    font-weight: bold;
    font-size: Font_Size_Small;
    background-color: QGroupBox_background_color;
}

/* ----------------------------------------------------------------------------
* QWidget Section
* ----------------------------------------------------------------------------*/
QWidget#centralwidget
{
    background-color: CentralWidget_background_color;
}

SVFrame
{
    background-color: FilterInputWidget_background_color;
}

QFrame#fiwFrame
{
    background-color: FilterInputWidget_background_color;
    padding: 0 0 0 0;
    margin: 4 0 0 0;
    border:none
}

/*
QFrame#ComparisonContainerWidget
{
    background-color: FilterInputWidget_background_color;
    padding: 0 0 0 0;
    margin: 2 5 2 5;
    border: 1px solid rgb(128,128,128);
    border-radius: 5px;
}

QFrame#ComparisonContainerWidget
{
    padding: 0 5 0 0;
}
*/

QFrame[class="ComparisonSelectionAdvancedWidget"]
{
    background-color: FilterInputWidget_background_color; 
}

QWidget[class="ComparisonSetWidget"]
{
    background-color: FilterInputWidget_background_color;  
}

QWidget#comparisonSetMainWidget
{
    background-color: rgb(230, 230, 230);
}

QFrame[class="ComparisonContainerWidget"]
{
    background-color: FilterInputWidget_background_color;
    padding: 5 5 5 5;
    margin: 0 0 0 0;
    border: 1px solid rgb(128,128,128);
    border-radius: 0px; 
}

QScrollArea
{
    background-color: QScrollArea_background_color;
}

QWidget#variablesTabContents
{
    background-color: VariablesTabContents_background_color;
}

/* QWidget#fiwVariablesWidget
{
    background-color: rgb(255, 0, 255);
} */

/* ----------------------------------------------------------------------------
* Filter Parameter Widgets
* ----------------------------------------------------------------------------*/
FilterParameterWidget
{
    background-color: FilterParameterWidget_background_color;
    margin: 2px;
    background-position: top left;
    background-origin: content;
    background-clip: margin;
}

QtSSplitter {
    border: 1px solid FilterParameterWidget_border_color;
    padding: 0px;
}

/* ----------------------------------------------------------------------------
* QGroupBox Section
* ----------------------------------------------------------------------------*/
QGroupBox::title
{
    /* height: 185px; */
    subcontrol-origin: margin;
    subcontrol-position: top left;
    padding: 0 0px;
    background-color: QGroupBoxTitle_background_color;
}

QGroupBox
{
    font-family: "Lato-Bold";
    font-weight: bold;
    font-size: Font_Size_Large;
    background-color: QGroupBox_background_color;
}

/* ----------------------------------------------------------------------------
* QDockWidget Section
* ----------------------------------------------------------------------------*/
/* For the QDockWidget border style, see QMainWindow::separator */
QDockWidget 
{
    border: 1px solid  QDockWidget_border_color;
    font-family: "Lato";
    font-size: Font_Size_Medium;
    font-weight: bold;
    color: QDockWidget_color;
    titlebar-close-icon: url(:/widgets/close-normal.png);
    titlebar-normal-icon: url(:/widgets/minimize-normal.png);
}
QDockWidget::title 
{
    background: QDockWidgetTitle_background_color;
    color: QDockWidgetTitle_color;
    padding: 5px;
}
QDockWidget::close-button 
{
    subcontrol-position: top right;
    subcontrol-origin: margin;
    position: absolute;
    top: 2px; right: 8px; bottom: 0px;
    width: 20px;
    height: 20px;
}
QDockWidget::float-button {
    
    subcontrol-position: top right;
    subcontrol-origin: margin;
    position: absolute;
    top: 2px; right: 30px; bottom: 0px;
    width: 20px;
    height: 20px;
}
QDockWidget::close-button:pressed, 
QDockWidget::float-button:pressed
{
    padding: 1px -1px -1px 1px;
}
/* These icon settings are ignored....
QDockWidget::close-button:hover {
    titlebar-close-icon: url(:/widgets/close-mouseover.png);
}
QDockWidget::close-button:pressed {
     titlebar-close-icon: url(:/widgets/close-pushed.png);
}
QDockWidget::float-button:hover {
    titlebar-normal-icon: url(:/widgets/minimize-mouseover.png);
}
QDockWidget::float-button:pressed  {
     titlebar-normal-icon: url(:/widgets/minimize-pushed.png);
} */

SIMPLViewPipelineDockWidget[Active="false"] {
    color: SIMPLViewPipelineDockWidgetTitle_inactive_text_color;
}

SIMPLViewPipelineDockWidget::title[Active="false"] {
    background: SIMPLViewPipelineDockWidgetTitle_inactive_background_color;
}


/* ----------------------------------------------------------------------------
* QListView Section
* ----------------------------------------------------------------------------*/
QListView {
    color: QListView_color;
    font-size: Font_Size_Small;
    background: QListView_background_color;
    outline: none;  /* removes the "focus rect" */
    border: 0px solid transparent;
}
QListView::item {
   padding-bottom: 2px;
   padding-top: 2px;
   border-top-color: transparent;
   border-bottom-color: transparent;
   border: 0px solid transparent;
}
QListView::item:hover {
    background:  QListViewItemHover_background_color;
    border: 0px;
    color: QListViewItemHover_color;
}
QListView::item:selected {
    background: 1 QListViewItemSelected_background_color;
    color: QListViewItemSelected_color;
}

/* This is a bizzare one. The separator is the border that
   is drawn around the QDockWidgets */
QMainWindow::separator {
    background: QMainWindowSeparator_background_color;
    width: 1px;
    height: 1px;
}

SVListView
{
    color: QListView_color;
    font-size: Font_Size_Small;
    background: QListView_background_color;
    outline: none;  /* removes the "focus rect" */
    border: 1px solid QLineEdit_border_color;
}

SVListWidget
{
    border: 1px solid QLineEdit_border_color;
}
QListWidget
{
    color: QListView_color;
    font-size: Font_Size_Small;
    background: QListView_background_color;
    outline: none;  /* removes the "focus rect" */
    border: 1px solid QLineEdit_border_color;
}


/* ----------------------------------------------------------------------------
* QMenuBar Section
* ----------------------------------------------------------------------------*/

/* QMenuBar is the top level menu while QMenu is used for 'sub menus' */
QMenuBar {
    background-color: QMenuBar_background_color;
}
QMenuBar::item {
    color: QMenuBarItem_color;
}
QMenuBar::item:pressed {
    background: QMenuBarItemPressed_color;
}
QMenuBar::item:selected {
   background: QMenuBarItemSelected_background_color;
   color: QMenuBarItemSelected_color;
}
QMenu {
    background-color: QMenu_background_color;
    color: QMenu_color;
    margin: 2px; /* some spacing around the menu */
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
    background-color: QMenuItemSelected_background_color;
    color: QMenuItemSelected_color;
}
QMenu::item:disabled
{
    background-color: QMenuItemDisabled_background_color;
    color: rgb(190,190,190);
} 


/* This is needed for the QMessageBox which takes QAbstractButton instances */
QMessageBox > QPushButton
{
    background-color: QPushButton_background_color;
    border-width: 1px;
    border-color: QPushButton_border_color;
    border-style: solid;
    border-radius: 5px;
    /* font-family: "Lato";
    font-size: Font_Size_Very_Small; */
    min-height: 24px;
    /* min-width: 240px; */
    padding: 0 7 0 7;
}


/* ----------------------------------------------------------------------------
* QPushButton Section
* ----------------------------------------------------------------------------*/
/* We provide a min-width and min-height for push buttons
   so that they look elegant regardless of the width of the text. */
.QPushButton 
{
    background-color: QPushButton_background_color;
    border-width: 1px;
    border-color: QPushButton_border_color;
    border-style: solid;
    border-radius: 5px;
    font-family: "Lato";
    font-size: Font_Size_Medium;
    min-height: 24px;
    /* min-width: 24px; */
    padding: 0 7 0 7;
}
.QPushButton:hover 
{
   background-color: QPushButtonHover_background_color;
   border-color: QPushButtonDefault_border_color;
   border-width: 1px;
}
/* Increase the padding, so the text is shifted when the button is  pressed. */
.QPushButton:pressed 
{
    padding: 2 7 0 9;
    background-color: QPushButtonPressed_background_color;
    border-color: grey;
    border-style: solid;
    border-style: inset;
}

QPushButton:default
{
    background-color: QPushButtonDefault_background_color;
    color: QPushButtonDefault_text_color;
}

QPushButton:default:hover
{
    background-color: QPushButtonDefaultHover_background_color;
    color: QPushButtonDefault_text_color;
    border-color: QPushButtonDefault_border_color;
    border-width: 1px;
}

QPushButton:default:pressed
{
    background-color: QPushButtonDefaultPressed_background_color;
/*    border-color: QPushButtonDefault_border_color;
*/}

SVIconPushButton 
{
    background-color: QPushButton_background_color;
    border-width: 1px;
    border-color: QPushButton_border_color;
    border-style: solid;
    border-radius: 5px;
    font-family: "Lato";
    font-size: Font_Size_Large;
    min-height: 24px;
    min-width: 24px;
    padding: 0 0 0 0;
}
SVIconPushButton:hover 
{
   background-color: QPushButtonHover_background_color;
}
/* Increase the padding, so the text is shifted when the button is  pressed. */
SVIconPushButton:pressed 
{
    padding: 2 0 0 2;
    background-color: QPushButtonPressed_background_color;
    border-color: grey;
    border-style: solid;
    border-style: inset;
}

/* Button styles specific to the startPipelineBtn */
QPushButton#startPipelineBtn:enabled 
{
     background-color: #6cbf3a;
     color: rgb(255, 255, 255);
     border-width: 1px;
     border-color: transparent;
     border-style: solid;
     border-radius: 3px;
     font-family: "Lato";
     font-weight:  bold;
     font-size: Font_Size_Large;
     min-height: 26px;
     margin: 0px;
}
QPushButton#startPipelineBtn:disabled 
{
    background-color: #e1e1e1;
    color: rgb(160, 160, 160);
    border-radius: 3px;
    border-color: rgb(160, 160, 160);
    font-family: "Lato";
    font-weight:  bold;
    font-size: Font_Size_Large;
    min-height: 26px;
    margin: 0px;
}

SVOverlayWidgetButton
{
    border: 1px solid QToolButton_border_color; /* using #000000 with opacity > 1.0 does look 3d */
    border-radius: 5px;
    background-color: QToolButton_background_color;
    margin: 2px;
    font-family: "Lato";
    font-weight: bold;
    font-size: Font_Size_Medium;
    color: QToolButton_color;
    min-height: 16;
    max-height: 28;
    min-width: 110;
}

SVOverlayWidgetButton:hover
{
    border: 1px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
}

SVOverlayWidgetButton:pressed
{
    background-color: QPushButtonDefaultPressed_background_color;
}

SVOverlayWidgetButton:checked
{
    border: 1px solid QToolButton_border_color; /* using #000000 with opacity > 1.0 does look 3d */
    border-radius: 5px;
    background-color: QPushButtonDefaultPressed_background_color;
    margin: 2px;
    color: QToolButton_color;
    min-width: 110;
    border-style: inset;
}

SVOverlayWidgetButton[error=true]
{
    background-color: rgb(221, 83, 83);
    color: QToolButton_color;
}

SVOverlayWidgetButton[error=true]:checked
{
    background-color: rgb(156, 4, 4);
    color: rgb(196, 196, 196);
}

SVOverlayWidgetButton:disabled
{
    background-color: rgb(160, 160, 160);
    color: #e1e1e1;
}

/* ----------------------------------------------------------------------------
* QToolButton Section
* ----------------------------------------------------------------------------*/
.QToolButton { /* all types of tool button */
    border: 1px solid QToolButton_border_color; /* using #000000 with opacity > 1.0 does look 3d */
    border-radius: 5px;
    background-color: QToolButton_background_color;
    margin: 2px;
    font-family: "Lato";
    font-weight: bold;
    font-size: Font_Size_Medium;
    color: QToolButton_color;
    min-height: 16;
    max-height: 28;
    min-width: 110;
}
.QToolButton:checked {
    border: 1px solid QToolButton_border_color; /* using #000000 with opacity > 1.0 does look 3d */
    border-radius: 5px;
    background-color: QToolButtonChecked_background_color;
    margin: 2px;
    color: QToolButtonChecked_color;
    min-width: 110;
    border-style: inset;
}


DataArrayPathSelectionWidget 
{
    font-family: "Lato";
    font-weight: normal;
    font-size: Font_Size_Small;
    border: 1px solid QLineEdit_border_color;
    border-radius: 5px;
    background-color: QToolButton_background_color;
    color: QToolButton_color;
    padding-left: 0px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}
DataArrayPathSelectionWidget:disabled
{
  background-color: QToolButtonDisabled_background_color;
  color: QToolButtonDisabled_color;
}
/*
 * State: { Normal, Active, NotFound, DragEnabled, DragDisabled }
 * PathType: { DataContainer, AttributeMatrix, DataArray, None }
 */
DataArrayPathSelectionWidget[State="0"]
{ 
  border-color: DataArrayPath_border_normal;
}
DataArrayPathSelectionWidget[State="1"][PathType="0"]
{ 
  border-color: DataArrayPath_DataContainer_color;
}
DataArrayPathSelectionWidget[State="1"][PathType="1"]
{ 
  border-color: DataArrayPath_AttributeMatrix_color;
}
DataArrayPathSelectionWidget[State="1"][PathType="2"]
{ 
  border-color: DataArrayPath_DataArray_color;
}
DataArrayPathSelectionWidget[State="2"]
{ 
  border-color : DataArrayPath_border_not_found;
}
DataArrayPathSelectionWidget[State="3"]
{ 
  border-color: DataArrayPath_border_drag_enabled;
}
DataArrayPathSelectionWidget[State="4"]
{ 
  border-color: DataArrayPath_border_drag_disabled;
}

DataArrayPathSelectionWidget:checked[PathType="0"]
{ 
  background-color: DataArrayPath_DataContainer_background_color;
}
DataArrayPathSelectionWidget:checked[PathType="1"]
{ 
  background-color: DataArrayPath_AttributeMatrix_background_color;
}
DataArrayPathSelectionWidget:checked[PathType="2"]
{ 
  background-color: DataArrayPath_DataArray_background_color;
}

DataArrayPathSelectionWidget::menu-indicator {
 subcontrol-origin: content;
 subcontrol-position:  right; /* */
}
DataArrayPathSelectionWidget::menu-indicator:pressed, DataArrayPathSelectionWidget::menu-indicator:open {
 position: relative;
}
DataArrayPathSelectionWidget:flat {
 border: none;
}

DataArrayPathSelectionWidget > QToolTip {
 border: 2px solid #434343;
 padding: 2px;
 border-radius: 3px;
 opacity: 255;
 background-color: #FFFCEA;
 color: #000000;
}

/* The central widget scroll area */
/* If we set the QScrollArea globally, then we must also style all of the scroll bars
QScrollArea#scrollArea  {
    background-color: transparent;
}
#scrollAreaWidgetContents  {
    background-color: transparent;
}
*/

/* ----------------------------------------------------------------------------
* QComboBox Section
* ----------------------------------------------------------------------------*/
QComboBox {
    border: 1px solid QComboBox_border_color; /* using #000000 with opacity > 1.0 does look 3d */
    padding-top: 3px;
    padding-left: 4px;
    font-family: "Lato";
    font-weight: normal;
    font-size: Font_Size_Medium;
    color: QToolButton_color; /* Text Font Color */
    min-height: 20;
    max-height: 28;
    min-width: 40;
}

QComboBox:disabled {
    background: QComboBoxDisabled_background_color;
    color: QComboBoxDisabled_color;
}

QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 15px;

    background-color: QComboBox_background_color;
    border-left-width: 1px;
    border-left-style: solid; 
    border-left-color: QComboBox_background_color;
}

QComboBox::drop-down:hover {
    background-color: QComboBoxArrow_hover_background_color;
    border-left-color: QComboBox_border_color;
}

QComboBox::drop-down:disabled {
    background: QComboBoxDisabled_background_color;
    border-left-color: QComboBoxDisabled_background_color;
}

QComboBox QAbstractItemView {
    border: 1px solid QComboBox_border_color;
    background-color: QComboBox_background_color;
    selection-background-color: QComboBoxItem_selection_color;
}

QComboBox::down-arrow {
    image: url(:DREAM3D/Images/widgets/decrease-normal.png);
}

QComboBox::down-arrow:hover {
    image: url(:DREAM3D/Images/widgets/decrease-mouse-over.png);
}


/* ----------------------------------------------------------------------------
* QStatusBar Section
* ----------------------------------------------------------------------------*/
QStatusBar {
    /* background: rgb(19, 60, 109); */
    border: 1px solid QStatusBar_border_color;
    min-height: 26px;
}

/* ----------------------------------------------------------------------------
* QTableView Section
* ----------------------------------------------------------------------------*/
QTableView, QTableWidget
{   
    font-family: "Lato";
    color: white;
    font-size: Font_Size_Small;
    background: white;
    outline: none;  /* removes the "focus rect" */
    border: 1px solid rgb( 68,  89, 100);
}

QTableView::item, QTableWidget::item
{
   padding: 2 0 2 0px;
   border-top-color: transparent;
   border-bottom-color: transparent;
   border: 0px solid transparent;
   color: QTableWidget_color;
}
QTableView::item:hover, QTableWidget::item:hover 
{
    background:  rgb(220,220,220);
    border: 0px;
    color: QListViewItemHover_color;
}
QTableView::item:selected, QTableWidget::item:selected
{
    background:  rgb(235,235,235);
    color: QTableWidget_color;
}
QTableView::item:selected:hover, QTableWidget::item:selected:hover
{
    background:  rgb(220,220,220);
    color: QListViewItemHover_color;
}

/* ----------------------------------------------------------------------------
* QTableWidget Section
* ----------------------------------------------------------------------------*/



/* QHeaderView ------------------------------------------------------------ */

QHeaderView {
    /* background-color: QHeaderView_background_color; */
    border: 1px transparent QHeaderView_background_color;
    padding: 0px;
    margin: 0px;
    border-radius: 0px;
    color: #FFFFFF;
}

QHeaderView:disabled {
    background-color: QHeaderView_background_color;
    border: 0px transparent QHeaderView_background_color;
    padding: 3 2 3 2px;
}

QHeaderView::section {
    background-color: QHeaderView_background_color;
    color: #FFFFFF;
    padding: 3 2 3 2px;
    border-radius: 0px;
    text-align: left;
}

QHeaderView::section:checked {
    color: #FFFFFF;
    background-color: rgb(51,103,166);
}

QHeaderView::section:checked:disabled {
    color: #787878;
    background-color: rgb(51,103,166);
}

QHeaderView::section::horizontal:disabled,
QHeaderView::section::vertical:disabled {
    color: #787878;
}

QHeaderView::section::vertical::first,
QHeaderView::section::vertical::only-one {
    border-top: 1px solid rgb-primary-3;
}

QHeaderView::section::vertical {
    border-top: 1px solid rgb-primary-3;
}

QHeaderView::section::vertical::last
{
    border-bottom: 1px solid rgb-primary-3;
}

QHeaderView::section::horizontal::first,
QHeaderView::section::horizontal::only-one {
    border-left: 1px solid rgb-primary-3;
}

QHeaderView::section::horizontal {
    border-left: 1px solid rgb-primary-3;
}
QHeaderView::section::horizontal::last
{
    border-right: 1px solid rgb-primary-3;
}

/* Those settings (border/width/height/background-color) solve bug */
/* transparent arrow background and size */

QHeaderView::down-arrow {
    background-color: QHeaderView_background_color;
    width: 16px;
    height: 16px;
    border-right: 1px solid rgb-primary-3;
}

QHeaderView::up-arrow {
    background-color: QHeaderView_background_color;
    width: 16px;
    height: 16px;
    border-right: 1px solid rgb-primary-3;
}


/* ----------------------------------------------------------------------------
* QTabView Section
* ----------------------------------------------------------------------------*/
QTabWidget::pane {
    border: 1px solid QTabWidgetPane_border_color;
    background: QTabWidgetPane_background_color;
    position: absolute;
}

QTabWidget::tab-bar:top {
    border-top: 1px;
    /* alignment: center; */
    min-width: 325px;
}

QTabWidget::tab-bar:bottom {
    border-bottom: 1px;
    alignment: center;
}

QTabWidget::tab-bar:left {
    right: 1px;
    alignment: center;
}

QTabWidget::tab-bar:right {
    left: 1px;
    alignment: center;
}

QTabBar::tab {
    border: 1px solid QTabBarTab_border_color;
    font-family: "Lato";
    /* font-size: Font_Size_Small; */
    font-weight: bold;
}

QTabBar::tab:selected {
    background: QTabBarTabSelected_background_color;
    color: QTabBarTabSelected_color;
}

QTabBar::tab:!selected {
    background: QTabBarTabNotSelected_background_color;
}

QTabBar::tab:!selected:hover {
    background: QTabBarTabNotSelectedHover_background_color;
}

QTabBar::tab:top:!selected {
    margin-top: 3px;
}

QTabBar::tab:bottom:!selected {
    margin-bottom: 3px;
}

QTabBar::tab:top, QTabBar::tab:bottom {
    min-width: 100px;
    margin-right: -1px;
    padding: 5px 10px 5px 10px;
}

QTabBar::tab:top:selected {
    /* border-bottom-color: none; */
}

QTabBar::tab:bottom:selected {
    /* border-top-color: none; */
}

QTabBar::tab:top:last, QTabBar::tab:bottom:last,
QTabBar::tab:top:only-one, QTabBar::tab:bottom:only-one {
    margin-right: 0;
}

QTabBar::tab:left:!selected {
    margin-right: 3px;
}

QTabBar::tab:right:!selected {
    margin-left: 3px;
}

QTabBar::tab:left, QTabBar::tab:right {
    min-height: 15ex;
    margin-bottom: 0px;
    padding: 10px 5px 10px 5px;
}

QTabBar::tab:left:selected {
    /* border-left-color: none; */
}

QTabBar::tab:right:selected {
    /* border-right-color: none; */
}

QTabBar::tab:left:last, QTabBar::tab:right:last,
QTabBar::tab:left:only-one, QTabBar::tab:right:only-one {
    margin-bottom: 0;
}

SVTabWidget::pane {
    border: 0px solid QTabWidgetPane_border_color;
}

SVTabWidget QTabBar::tab:top:!selected {
    margin-top: 2px;
}

SVTabWidget QTabBar::tab:bottom:!selected {
    margin-bottom: 2px;
}

SVTabWidget QTabBar::tab:top, SVTabWidget QTabBar::tab:bottom {
    min-width: 60px;
    margin-right: -1px;
    padding: 4px 8px 4px 8px;
}

SVTabWidget QTabBar::tab:left, SVTabWidget QTabBar::tab:right {
    min-height: 30ex;
    margin-bottom: 0px;
    padding: 8px 4px 8px 4px;
}

/* ----------------------------------------------------------------------------
* QTextEdit Section
* ----------------------------------------------------------------------------*/
QTextEdit {
   color: QTextEdit_color;
   background: QTextEdit_background_color;
   font-size: Font_Size_Small;
}

/* ----------------------------------------------------------------------------
* QLabel Section
* ----------------------------------------------------------------------------*/
QLabel
{
    color: QLabel_color;
    font-family: "Lato-Bold";
    font-size: Font_Size_Small;
}

QLabel#filterHumanLabel
{
    font-family: "Lato-Bold";
    font-size: Font_Size_Very_Large; 
}

QLabel#filterIndex
{
    font-family: "Lato-Bold";
    font-size: Font_Size_Very_Large;   
}

SVSmallLabel
{
    font-size: Font_Size_Very_Small;
    /* font-weight: bold; */
    font-style: italic;
    /* color: QLineEdit_border_color; */
    /* border: 1px solid QLineEdit_border_color;
    border-radius: 5px;
    background-color: QLineEdit_background_color;
    
    padding-left: 0px;
    padding-right: 4px;
    padding-top: 2px;*/
    padding-bottom: 6px; 
 
}

DataPathLabel {
    font-family: "Lato-Bold";
    font-weight: bold;
    font-size: Font_Size_Small;
    /*background-color: DataPathLabel_color;*/
    border-radius: 4px;
}
DataPathLabel:disabled {
    color: DataPathLabel_Disabled_color;
}
DataPathLabel:enabled[DataTypei="0"] {
    color: DataArrayPath_DataContainer_color;
}
DataPathLabel:enabled[DataTypei="1"] {
    color: DataArrayPath_AttributeMatrix_color;
}
DataPathLabel:enabled[DataTypei="2"] {
    color: DataArrayPath_DataArray_color;
}

/* ----------------------------------------------------------------------------
* QLineEdit Section
* ----------------------------------------------------------------------------*/
QLineEdit,
SVLineEdit,
QtSLineEdit
{
    color: QLineEdit_color;
    font-size: Font_Size_Small;
    min-height: 24px;
    border: 1px solid QLineEdit_border_color;
    border-radius: 0px;
    background-color: QLineEdit_background_color;
    outline: none;
    font-family: "Lato";
}

QLineEdit:disabled,
SVLineEdit:disabled,
QtSLineEdit:disabled
{
    color: QToolButtonDisabled_color;
    background-color: QLineEditDisabled_background_color;
}

QLineEdit:focus,
SVLineEdit:focus,
QtSLineEdit:focus
{
    border: 1px solid QLineEdit_border_color;
    background-color: QLineEdit_background_color;
}

LinkedPathCreationWidget[DataTypei="0"] QLineEdit {
    color: DataArrayPath_DataContainer_color;
}
LinkedPathCreationWidget[DataTypei="1"] QLineEdit {
    color: DataArrayPath_AttributeMatrix_color;
}
LinkedPathCreationWidget[DataTypei="2"] QLineEdit {
    color: DataArrayPath_DataArray_color;
}
LinkedPathCreationWidget.disabled QLineEdit {
    color: DataPathLabel_Disabled_color;
}

/* ----------------------------------------------------------------------------
* QSpinBox Section
* ----------------------------------------------------------------------------*/
QAbstractSpinBox 
{
    font-family: "Lato";
    color: QLineEdit_color;
    border: 1px solid QLineEdit_border_color;
    background-color: QLineEdit_background_color;
    /* selection-color: white;
    selection-background-color: #f8bf36; */
}

QAbstractSpinBox:disabled {
    color: QToolButtonDisabled_color;
    background-color: QLineEditDisabled_background_color;
    border-color: #7f7d79;
}

QAbstractSpinBox:up-button {
    /* background-color: qlineargradient(spread:pad, x1:1, y1:0.8, x2:1, y2:0, stop:0 #f9ca58, stop:1 #fad57a); */
    background-color:QSpinBoxArrow_background_color;
    subcontrol-origin: border;
    subcontrol-position: top right;
    border-top-right-radius: 3px;
    height: 13px;
    width: 20px;
}

QAbstractSpinBox:down-button {
    /* background-color: qlineargradient(spread:pad, x1:1, y1:0.8, x2:1, y2:0, stop:0 #f8bf36, stop:1 #f9ca58); */
    background-color:QSpinBoxArrow_background_color;
    subcontrol-origin: border;
    subcontrol-position: bottom right;
    border-bottom-right-radius: 3px;
    height: 13px;
    width: 20px;
}

QAbstractSpinBox:up-button:disabled,
QAbstractSpinBox:down-button:disabled {
    background-color: transparent;
}

QAbstractSpinBox::up-button {
    image: url(:/widgets/up_arrow_light.png);
    top: 0px; /* fix simetry between up and down images */
}

QAbstractSpinBox::up-button:hover {
    image: url(:/widgets/up_arrow_lighter.png);
}

QAbstractSpinBox::up-button:off {
    image: url(:/widgets/up_arrow_disabled_dark.png);
}

/* QAbstractSpinBox::up-button:disabled {
    image: none;
} */

QAbstractSpinBox::down-button {
    image: url(:/widgets/down_arrow_light.png);
    bottom: -2px; /* fix simetry between up and down images */
}
QAbstractSpinBox::down-button:hover {
    image: url(:/widgets/down_arrow_lighter.png);
}

QAbstractSpinBox::down-button:off {
    image: url(:/widgets/down_arrow_disabled_dark.png);
}

/* QAbstractSpinBox::down-button:disabled {
    image: none;
} */

/* ----------------------------------------------------------------------------
* QToolBar Section
* ----------------------------------------------------------------------------*/
QToolBar {
    spacing: 10px;
    min-height: 40px;
    background-color: QToolBar_background_color;
    border-bottom: 1px solid QToolBar_border_color;
    border-right: 1px solid QToolBar_border_color;
}

/* does not look good
QToolButton:hover {
  color: rgb(255, 255, 255);
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #68b6e1, stop:1 #3b7ea4);
} */


/* ----------------------------------------------------------------------------
* QTreeView Section
* ----------------------------------------------------------------------------*/
QTreeView {
    show-decoration-selected: 1;
    font-size: Font_Size_Medium;
    background-color: QTreeView_background_color;
    border-style: none;
    outline: none; /* removes the "focus rect" */
    alternate-background-color: QTreeViewItem_background_color;
}
QTreeView::item {
    padding-bottom: 0px;
    padding-top: 0px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    background: QTreeViewItem_background_color;
    border-style: none;
}
QTreeView::item:hover {
    background: QTreeViewItemHover_background_color;
    border: 0px;
}
QTreeView::item:selected:active{
    color: QTreeViewItemSelectedActive_color;
   background:  QTreeViewItemSelectedActive_background_color;
}
QTreeView::item:selected:!active {
    color: QTreeViewItemSelectedNotActive_color;
   background:  QTreeViewItemSelectedNotActive_background_color;
}
QTreeView::branch{
    background: QTreeViewBranch_background_color;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
    border-image: none;
    image: url(:/widgets/collapsed-normal.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings  {
    border-image: none;
    image: url(:/widgets/expanded-normal.png);
}
QTreeView::branch:hover {
   background: QTreeViewBranchHover_background_color;
    border: 0px;
}
QTreeView::branch:selected:active{
    background:  QTreeViewBranchSelectedActive_background_color;
    border: 0px;
    border-style: none;
}
QTreeView::branch:selected:!active {
    background:  QTreeViewBranchSelectedNotActive_background_color;
    border: 0px;
    border-style: none;
}

/* ****************************************************************************
*
******************************************************************************/
QwtPlot
{
    background-color: white;
    border: 1px solid #6b6b6b;
    border-radius: 5px;
}

QwtPlotCanvas
{
    background-color: white;
}

QwtPlotGLCanvas
{
    border: 1px solid white;
    background-color: #616d7e;
}

QwtScaleWidget
{
    color: black;
}

QwtTextLabel#QwtPlotTitle
{
    color: black;
    padding: 0px;
    margin: 0px;
}

QwtTextLabel#QwtPlotFooter
{
    color: black;
}

QwtLegend
{
    border: 1px solid black;
    border-radius: 0px;
    padding: 2px;
    background: #616d7e;
}

QwtLegendLabel
{
    color: black;
}

/* ----------------------------------------------------------------------------
* QTabView Section for the StatsGenerator Tabs
* ----------------------------------------------------------------------------*/

QTabWidget#statsGenPhaseTabWidget::pane 
{
    border: 1px 0px 0px 0px;
    border-top: 1px solid QTabWidgetPane_border_color;
    background: QTabWidgetPane_background_color;
    /* position: absolute; */
    top: 0.5em;
}

QTabWidget#statsGenPhaseTabWidget > QTabBar::tab
{
    font-family: "Lato";
    font-size: Font_Size_Small;
    font-weight: bold;
    padding: 2px 2px 2px 2px;
    min-width: 65px;
    min-height: 1.5em;
    margin-right: -1px;
}

QTabWidget#statsGenPhaseTabWidget::tab-bar
{
    /* border: 1px;
    color: QTabBarTabSelected_color;
    min-width: 10px; */
    alignment: center;
}

QTabWidget#statsGenPhaseTabWidget > QTabBar::tab:selected 
{
    border: 1px solid QTabWidgetPane_border_color;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    /* background-color: QTabBarTabSelected_color; */
    margin: 0px;
    color: QTabBarTabSelected_color;
    /* background: QTabBarTabSelected_background_color; */
}

QTabWidget#statsGenPhaseTabWidget > QTabBar::tab:!selected 
{
    color: QLabel_color;
    background: QTabBarTabNotSelected_background_color;
    border: 1px solid QTabWidgetPane_border_color;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin: 0px;
}

QTabWidget#statsGenPhaseTabWidget > QTabBar::tab:!selected:hover 
{
    /* border: 1px solid QTabBarTabSelected_color;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px; */
    background-color: QTabBarTabNotSelectedHover_background_color;
    /* color: white; */
}

QTabWidget#statsGenPhaseTabWidget > QTabBar::tab:first,
QTabWidget#statsGenPhaseTabWidget > QTabBar::tab:first:!selected:hover
{
    /* margin-right: -5; */
    border: 1px solid QTabWidgetPane_border_color;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

QTabWidget#statsGenPhaseTabWidget > QTabBar::tab:last,
QTabWidget#statsGenPhaseTabWidget > QTabBar::tab:last:!selected:hover 
{
    /* margin-right: -5; */
    border-right: 1px solid QTabWidgetPane_border_color;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-right: 1px;

}

DataStructureWidget
{
    qproperty-ImageGeomIcon: url(":SIMPL/icons/images/ImageGeometry@2x.png");
    qproperty-VertexGeomIcon: url(":SIMPL/icons/images/VertexGeometry.png");
    qproperty-EdgeGeomIcon: url(":SIMPL/icons/images/EdgeGeometry@2x.png");
    qproperty-TriangleGeomIcon: url(":SIMPL/icons/images/TriangleGeometry@2x.png");
    qproperty-QuadGeomIcon: url(":SIMPL/icons/images/QuadGeometry@2x.png");
    qproperty-TetrahedralGeomIcon: url(":SIMPL/icons/images/TetrahedralGeometry@2x.png");
    qproperty-HexahedralGeomIcon: url(":SIMPL/icons/images/HexahedralGeometry@2x.png");
    qproperty-RectilinearGeomIcon: url(":SIMPL/icons/images/RectilinearGeometry@2x.png");
}

AbstractIOFileWidget
{
    qproperty-Icon: url(":SIMPL/icons/images/caret-bottom.png");
}

