QWidget
{
    font-family:Microsoft YaHei;
}
QMainWindow#MainWindowClass {
	background-color:#535353;
}

QPushButton{
	background-color:#55aaff;
	color:white;
	border-radius:2px;
	padding:3px;
	min-width:60px;
	min-height:22px;
}

QPushButton:hover{
	background-color:#407cff;
	color:#eeeeee;
}

QLineEdit, QTextEdit, QComboBox, QDateTimeEdit{
    background-color: #ffffff;
    border: 1px solid #888888;
    border-radius: 2px;
    height:24px;
    color: #333333;
    padding-left:3px;
}
QLineEdit:focus, QTextEdit:focus, QComboBox:focus, QDateTimeEdit:focus{
    background-color: #fdffe4;
    border: 1px solid #555555;
}
QComboBox::drop-down{
    width: 22px;
    border-left: 1px solid #999999;
    margin-top:5px;
    margin-bottom:5px;
}

QComboBox QAbstractItemView {
    color:#333333;
    border: 1px solid #555555;
    background-color: #ffffff;
    /*selection-background-color: red;*/
    border-radius:3px;
}
QComboBox QAbstractItemView::item {
    height: 25px;   
    background-color: #ffffff;
}
QComboBox QAbstractItemView::item:hover {
    color: #FFFFFF;
    background-color: #55aaff;   
}
QComboBox QAbstractItemView::item:selected {
    color: #FFFFFF;
    background-color: #55aaff;
}

QDateTimeEdit::down-arrow, QComboBox::down-arrow{
    image: url(:/Resources/arrow_down.png);
    height:5px;
    width:10px;
}
QDateTimeEdit::up-arrow{
    image: url(:/Resources/arrow_up.png);
    height:5px;
    width:10px;
}
QDateTimeEdit::up-button, QDateTimeEdit::down-button{
    width: 22px;
    border:0;
}

QTabWidget::pane{
	border-top:3px solid #007acc;
	background-color:#f0f0f0;
}

QTabWidget::tab-bar{
	border:0;
}

QTabWidget QTabBar::tab{
	padding:3px 10px;
	background-color:#007acc;
	color:#f0f0f0;
	border-bottom:0;

	border-top-left-radius:2px;
	border-top-right-radius:2px;

	height:18px;
}

QTabWidget QTabBar::tab:!selected{
	color:#a0a0a0;
	background-color:transparent;
}


QTabWidget QTabBar::tab:first:!selected{
	border-left:1px solid #55aaff;
}

QTabWidget QTabBar::tab:last:!selected{
	border-right:1px solid #55aaff;
}


QTabWidget QTabBar::tab:!selected:hover{
	background-color:#1c97ea;
	color:#eeeeee;
}

QTabWidget QTabBar::close-button {      
    image: none;
    /*subcontrol-position: left;
}  
QTabWidget QTabBar::close-button:hover {
    image: url(:/Resources/close_small.png);
    background-color:#f68197;
}

QToolBar {	
    padding: 0;
	margin:0;
    padding-left:3px;
	background-color:#535353;
    spacing: 3px;
    border-top: 1px solid #535353;
}

QToolBar QToolButton {
	color:#e5e5e5;
	border-radius:0;
	margin-top:6px;
	margin-left:5px;
	margin-right:5px;
    border-bottom:2px solid transparent;
}

QToolBar QToolButton:hover {
	color:white;
	border-bottom:2px solid white;
}

QToolBar::handle {
	width:0;
}

QToolBar::separator {
	background-color:#3e3e3e;
	width:3px;
	margin:2px;
    border-radius: 2px;
    border: 1px solid #535353;
}

QStatusBar::item {
    border-right: 1px solid #777777;
}

QStatusBar QLabel {
    color:#cccccc; 
    padding:0 5px;
}

QHeaderView
{
    background:transparent;
}
QHeaderView::section:horizontal{
    background:#EDF0F6;
    color:#31364D;
    border:0;
    border-right:1px solid #cccccc;
    min-width:80px;
}
QHeaderView::section:first{
    border-top-left-radius:2px;
    border:0;
    border-right:1px solid #cccccc;
    height:25px;   
}
QHeaderView::section:last{
    border-top-right-radius:2px;
}

QTreeWidget, QTreeView, QTableView, QTableWidget, QGroupBox {
    border:1px solid #cccccc;
    border-radius: 2px;
}
QTableView::item:selected {
    background: rgb(0,122,204);
}
QAbstractItemView::indicator, QCheckBox::indicator {
    background-color: #f5f5f5;
    border: 1px solid #666666;
    border-radius: 2px;
    width:14px;
    height:14px;
}
QAbstractItemView::indicator:checked, QCheckBox::indicator:checked {
    image: url(:/MainWindow/Resources/ico_checked.png);
}
QAbstractItemView{
    outline:0px;
}
QScrollBar:vertical {
     border: 0;
     background: transparent;
     width: 10px;
     margin: 0;
}
QScrollBar::handle:vertical {
    background: #cccccc;
    min-height: 20px;
    border-radius: 4px;
        margin-left:1px;
        margin-right:1px;
}
QScrollBar::add-line:vertical {
    border: 0;
    background: #4A4A4A;
    height: 0;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical {
    border: 0;
    background: #4A4A4A;
    height: 0;
    subcontrol-position: top;
    subcontrol-origin: margin;
}
QScrollBar::up-arrow:vertical {
    background: url(':/Resources/arrow_up.png') no-repeat center;
}
QScrollBar::up-arrow:hover {
    background: #999999 url(':/Resources/arrow_up.png') no-repeat center;
}
QScrollBar::down-arrow:vertical {
    background: url(':/Resources/arrow_down.png') no-repeat center;
}
QScrollBar::down-arrow:hover {
    background: #999999 url(':/Resources/arrow_down.png') no-repeat center;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
    background: none;
}

QScrollBar:horizontal {
     border: 0;
     background: transparent;
     height: 10px;
     margin: 0;
}
QScrollBar::handle:horizontal {
    background: #cccccc;
    min-width: 20px;
    border-radius: 4px;
        margin-top:1px;
        margin-bottom:1px;
}
QScrollBar::add-line:horizontal {
    border: 0;
    background: #4A4A4A;
    width: 0;
    subcontrol-position: right;
    subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal {
    border: 0;
    background: #4A4A4A;
    width: 0;
    subcontrol-position: left;
    subcontrol-origin: margin;
}
QScrollBar::left-arrow:horizontal {
    background: url(':/Resources/arrow_left.png') no-repeat center;
}
QScrollBar::left-arrow:hover {
    background: #999999 url(':/Resources/arrow_left.png') no-repeat center;;
}
QScrollBar::right-arrow:horizontal {
    background: url(':/Resources/arrow_right.png') no-repeat center;
}
QScrollBar::right-arrow:hover {
    background: #999999 url(':/Resources/arrow_right.png') no-repeat center;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
    background: none;
}
