
QWidget
{
    color: #393d3f;
    background: #eff0f1;
    outline:none;
}

:disabled
{
    color: gray;
}

.ipc_loading
{
    background: rgba(88,88,88,0.7);
    border:1px solid rgba(88,88,88,0.8);
    border-radius: 110px;
}

.ipc_loading QLabel
{
    background:transparent;
    color:rgba(255,255,255,0.8);
}

.ipc_loading QToolButton
{
    border-radius: 18px;
    background: transparent;
    padding:8px 15px 8px 15px;
    border: 1px solid rgba(88,88,88,0.7);
    color:rgba(255,255,255,0.8);
}

.ipc_loading QToolButton:hover
{
    border-color: #278ece;
}

.ipc_loading QToolButton:pressed
{
    background: rgba(33,121,176,0.3);

}

.separated_label
{
    padding-right:12px;
    margin-right:6px;
    border-right: 1px solid #bcbebf;
}

.list_title
{
    margin-bottom:2px;
    margin-top:2px;
    padding-bottom:6px;
    padding-left:6px;
    color:gray;
    border-bottom:1px solid #bcbebf;
}


/********************/
.dialog_lite
{
     border: 1px solid #3daee9;
}
.dialog_lite_title
{
   
}
.dialog_lite_title QLabel
{
    font-weight:bold;
    padding-left: 4px;
    color:#318cb9;
}
.dialog_lite .TextView
{
    color:#318cb9;
}

.dialog_lite.error
{
    border-color: #f95f61;
}
.dialog_lite.error .dialog_lite_title QLabel
{
    color:#f93639;
}
.dialog_lite.error .TextView
{
    color: #f93639;
}


/********************/
QToolBar
{
    background: transparent;
    border-color: #bcbebf;
}


/********************/
QTabWidget::pane
{

    border: 1px solid #bcbebf;
  
}

QTabBar
{
    border-bottom: 1px solid #bcbebf;
    
}
QTabWidget::tab-bar:top
{
    top:2px;
    height:29px;
    background: #eff0f1;
    border-top: 1px solid #bcbebf;
}


QTabBar::tab:top
{
    height:26px;
    text-decoration: none;
    border:1px solid #bcbebf;
    background: #d9dbdc;
    padding: 1px 10px 0 10px;
    margin-right: 3px;
    border-top-left-radius:2px;
    border-top-right-radius:2px;
    border-top: 2px solid #a5a7a8;
    border-left: 1px solid #b2b5b5;
    border-bottom: 1px solid #b2b5b5;
}

QTabBar::tab:top:hover{
    
    background: #e4e6e7;
    border-color: #6FD6FF;
    border-bottom-color: #b2b5b5;
}
QTabBar::tab:top:selected
{
    height:27px;
    background: #eff0f1;
    border-color: #bcbebf;
    border-bottom: 1px solid transparent;
    border-top: 2px solid #4AABDB;
}


/********************/
QLineEdit{
    height:21px;
}
QLineEdit,QTextEdit,QPlainTextEdit,QDateTimeEdit,QSpinBox,QDoubleSpinBox{
    padding:2px 2px 2px 2px;
    background: white;
}

/*
QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QComboBox:hover,QSpinBox:hover,QDoubleSpinBox:hover{
    border: 1px solid #979592;
}
QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QComboBox:focus,QSpinBox:focus,QDoubleSpinBox:hover{
    border: 1px solid #2dabf9;
}
*/
QLineEdit:disabled,QTextEdit:disabled,QPlainTextEdit:disabled,QComboBox:disabled,QDateTimeEdit::disabled,QSpinBox:disabled,QDoubleSpinBox::disabled{
    border-color: #c7c5c1;
    background: #f5f5f5;
}

QTextEdit,QPlainTextEdit
{
    padding:0px;
}
QTextEdit:hover,QPlainTextEdit:hover{
    border: 1px solid #979592;
}
QTextEdit:focus,QPlainTextEdit:focus{
    border: 1px solid #2dabf9;
}
QTextEdit:disabled,QPlainTextEdit:disabled{
    border-color: #c7c5c1;
    background: #f5f5f5;
}

QLineEdit.TextView,QTextEdit.TextView,QPlainTextEdit.TextView
{
    background:transparent;
    border: 0;
}


/********************/
QComboBox{

    padding: 3px 16px 3px 4px;
}
QComboBox:editable
{
    background: white;
}

QComboBox QAbstractItemView
{
    min-height:18px;
    background: white;
    border-color: #c7c5c1;
}

QComboBox::item:selected
{
    border-left: 0;
    border-right: 0;
    background: #3daee9;
    color: white;
}

QComboBox QListView
{
    border-color: #c7c5c1;
    background-color: white;
}


/********************/
QSpinBox
{

}

/********************/
QCheckBox::indicator
{
    color:black;
  
}


/********************/
QPushButton{
    padding:0 12px 0 12px;
    height:26px;
    border:1px solid #bbbdbe;
    border-right: 1px solid #a0a2a3;
    border-bottom: 1px solid #a0a2a3;
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #eff0f1,stop:1 #e1e2e3);
    border-radius: 2px;
}
QPushButton:hover{
    border: 1px solid #9a9896;
    border-right: 1px solid #848280;
    border-bottom: 1px solid #848280;
}
QPushButton:focus{
    border-color: #3AA7DD;
  
}
QPushButton:pressed{
    border-color: #8E8C8A;
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #a7a7a8,stop:1 #c3c4c5);
}

QPushButton:checked{
    border-color: #8E8C8A;
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #b9b9ba,stop:1 #cccdce);
}


/********************/
QToolButton{
    border: 1px solid transparent;
    border-radius: 2px;
    padding:2px 5px 2px 5px;
}
QToolButton:hover{
    border-color: #3daee9;
}
QToolButton:pressed{
    border-color: #979592;
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #cacbcc,stop:1 #d4d5d6);
}
QToolButton::menu-button{
    border-color: transparent;
    background-color: transparent;
}
QToolButton::menu-button:hover{
    border-left: 1px solid #3daee9;
    background-color: transparent;
}
QToolButton::menu-button:pressed{
    border-left: 1px solid #979592;
}

QToolButton:checked{
    border-color: #a6a4a1;
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #d1d2d3,stop:1 #dbdcdd);
}

QToolButton.detail_button{
    position: absolute;

}
QToolButton:checked.detail_button{
    background: #dbdcdd;
}


/********************/
QListWidget
{
    border: 1px solid #bcbebf;
    background: white;
}
QListWidget::Item{
    padding:0px;
    
}
QListWidget::Item:selected{
    border:none;
    background: #3daee9;
}

QListWidget.flat
{
    border:0;
    background: transparent;
}
QListWidget::text.flat
{
    left: 4px;
}
QListWidget::Item.flat{
    border-radius: 2px;
    padding:2px 4px 2px 4px;
    border: 1px solid transparent;
}
QListWidget::Item.flat:selected{
   
    border:1px solid #318cb9;
    background: #3daee9;
}



/********************/
QToolBar{
    font-size:12px
}
QToolBar::separator{
    padding:0;
    margin:0;
}


/********************/
QMenuBar{
    min-height: 24px;
    background: transparent;
}
QMenu{
    border: 1px solid #c8cacc;
    border-right: 1px solid #bbbdbf;
    border-bottom: 1px solid #bbbdbf;
    background: #f3f4f5;
}
QMenu::item{
    padding: 8px 48px 8px 8px;
}
QMenu::icon{
    margin: 0 6px 0 10px;
}
QMenu::item:selected{
    color: white;
    background-color: #2dabf9;
}
QMenu::separator
{
    border:0;
    height:1px;
    background:#c8cacc;
}

QMenu::indicator:checked
{
    left: 8px;
}

/********************/
QStatusBar
{
    background: transparent;
}


/********************/
QGroupBox {
    font: bold;
    border: 1px solid #b6b4b0;
    border-radius: 2px;
    margin-top: 6px;
    padding-top: 10px;
}
QGroupBox::title {
    subcontrol-origin: margin;
    left: 7px;
    padding: 0px 5px 0px 5px;
} 


/********************/
QProgressBar
{
    background: white;
}
QProgressBar.lite
{
    color: #1c516c;
    border:3px solid transparent;
    background: transparent;
    text-align: center;
}

QProgressBar.lite::chunk
{
    border-radius: 2px;
    color: white;
    border:1px solid #64b5e8;
    background: #9bd8f5;
}


/********************/
QTreeView,QTableView
{
    show-decoration-selected: 1;
    selection-background-color: #3daee9;
    background: white;
    alternate-background-color: #eeeff0;
}

QHeaderView::section{
    border-left:0;
    border-top:0;
    border-right: 1px solid #B2AFAC;
    border-bottom: 1px solid #B2AFAC;
    background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #edeeef,stop:1 #e5e6e7);
    padding-left: 6px;
    padding-right:6px;
}
QHeaderView::down-arrow, QHeaderView::up-arrow
{
    subcontrol-origin:padding; 
    subcontrol-position: center right;
    width:12px;
    height: 12px;
  
}
QHeaderView::section:hover{
    background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #e3e4e5,stop:1 #d6d7d8);
}

QTreeView::item
{
    padding:0 4px 0 4px;
    height:28px;
}


/*
QTreeView::item:hover{
    background-color: #d6edf9;
}
*/


QTreeView::item:selected{
    border:none;
    padding:0;
    background-color: #3daee9;
    color: white;
}
QTreeView::item:selected:active
{
    background-color: #3daee9;
}
QTreeView::item:focus
{
    border:none;
    padding:0;
}
QTreeView::branch
{
 
}

/*
QTreeView::branch:selected
{
    background-color: #3daee9;
}
QTreeView::indicator:enabled:unchecked
{
    color: black;
}
QTreeView::indicator:enabled:checked
{
    color: black;
}
QTreeView::indicator:enabled:indeterminate
{
    color: black;
}
*/

/********************/
QScrollBar:vertical {
    width: 12px;
    background: transparent;
    padding-bottom: 8px;
}

QScrollBar:horizontal {
    height: 12px;
    background: transparent;
}

QScrollBar::handle:vertical,
QScrollBar::handle:horizontal {
    background: #AAA;
}

QScrollBar::handle:vertica{
    min-height:16px;
}

QScrollBar::handle:horizontal{
    min-width:16px;
}

QScrollBar::handle:vertical:hover,
QScrollBar::handle:horizontal:hover {
    background: #888;
}

QScrollBar::sub-line:vertical, QScrollBar::add-line:vertical,
QScrollBar::sub-line:horizontal, QScrollBar::add-line:horizontal {
    width: 0;
    height: 0;
}
