/* mode select */
#modesetbtn {
	border: 1px solid white;
	background-color: white;
}

#modesetbtn::menu-indicator::down-arrow {
	image:url("");
}

QMenu#ModeSetMenu {
    background-color: white;
    border: 1px solid white;
}

QMenu#ModeSetMenu::item {
    background-color: transparent;
}

modeItemWidget:hover {
	border: 1px solid white;
	background-color: blue;
}

/* ocr widget */
#ocrtabWidget QGroupBox {
	border-right: 1px solid gray;
	border-top: 0px solid gray;
}

#ocrtabWidget QGroupBox::title {
	color: #8F929E;
	subcontrol-position: bottom center; 
}

#ocrWidget > #header {
	background-color: #FFFFFF;
}

#toolwidget {
	background-color: #FFFFFF;
}


#TitleBtn:hover{
	border:1px solid #dfe0e3;
	background-color: #dfe0e3;
}

#filebtn {
	min-width:55px;
	max-width:55px;
	min-height:22px;
	max-height:22px;
}

#filebtn {
	color:white;
	border: 1px solid #416ABD;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
	background-color: #206FFF;
}

#filebtn:hover{
	background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, 
	stop:0 #7BB2EB, stop:0.5 #477ECD,stop:0.51 #114ECF, stop:1 #80E1FF);
}

#filebtn::menu-indicator::down-arrow {
	/*border: 1px solid #8492A6;*/
    min-height:22px;
	max-height:22px;
}

#filebtn:pressed{
	background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, 
		stop:0 #467BBB, stop:0.5 #2F63AE,stop:0.51 #1C438A, stop:1 #358BC9);
}

#tabMain {
    background-color: #F9F9F9;
}

#ocrtabWidget::tab-bar {
    left: 65px;
}

#ocrtabWidget QTabBar::tab{
	min-width:60px;
	max-width:60px;
	min-height:22px;
	max-height:22px;
}

#ocrtabWidget QTabBar::tab {
	background: #F9F9F9;
	margin-left: 4px;
	margin-right: 4px;
}

#ocrtabWidget QTabBar::tab:selected, QTabBar::tab:hover {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

#ocrtabWidget::tab-bar {
 	border: 1px solid #BAC9DB;
}

#ocrtabWidget QTabBar::tab:selected{
	border: 1px solid #BAC9DB;
	background: #F9F9F9;
    border-bottom-color: #F9F9F9;
}

#ocrtabWidget QTabBar::tab:hover:!selected{
	border: 1px solid #ECBC3D;
}

#ocrtabWidget QTabBar::tab:!selected {
    margin-top: 1px; 
}

#OcrFileMenu {
    background-color: #FCFCFC;
    border: 1px solid #8492A6;
}
#OcrFileMenu::item {
    background-color: transparent;
}
MenuItemWidget:hover{
	border: 1px solid #FFB700;
	background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,stop:0 #FEF9F4, stop:0.38 #FDE0BD,stop:0.39 #FFCE69, stop:1 #FFFFE7);
}
#OcrFileMenu::item:selected { 
    background-color: #654321;
}

ocrWidget QComboBox {
     border :  1px  solid  gray ;
     border-radius:  2px ;
     padding :  1px  2px  1px  2px ; 
}

ocrWidget QComboBox::down-arrow {
	image:  url(":/icon/screen/form/down.svg");
}

ocrWidget QComboBox::drop-down {
	border:none;
}

/* tray menu */
QMenu#TrayMenu {
     background : white ;
     border : 1px  solid  lightgray; 
}

#TrayButton {
     border : none;
     background : transparent;
}
 
#TrayButton:hover {
	 background:rgba(223,224,227,0.6);
	 border: 1px solid blue;
     color : rgb(42, 120, 192);
}
TrayMenuItemWidget::hover{
	/*border: 1px solid #FFB700;*/
	border: 1px solid blue;
	background-color:rgba(223,224,227,0.6);
}

/* tool */
#combox_toptn::menu-indicator::down-arrow {
	subcontrol-position: right center;
    subcontrol-origin: padding;
	image:  url(":/icon/screen/form/down.svg");
}
#ComBoxMenu {
    background-color: rgba(255,255,255,1);
}
#ComBoxMenu::item {
    background-color: transparent;
}
ComboBoxItemWidget::hover{
	background-color: rgba(235,235,237,0.8);
}

/* File list */
QTableWidget {
    color:#000000;
    background:#63707c;
    border:1px solid #ffffff;
}
                       
/*表头*/ 
QHeaderView::section{  
    text-align:center;    
    background:#F9F9F9;
    padding:3px;     
    margin:0px;    
    color:#000000;   
    border:1px solid #D9D9DC; 
    border-left-width:0;
	border-top-width:0;
	border-bottom-width:0;
}

QHeaderView::section::first{  
    text-align:center;    
    background:#F9F9F9;  
    padding:3px;     
    margin:0px;    
    color:#000000;   
    border:1px solid #D9D9DC; 
	border-left-width:0;
    border-right-width:0;
	border-top-width:0;
	border-bottom-width:0;
}

QHeaderView::section::last{  
    text-align:center;    
    background:#F9F9F9;  
    padding:3px;     
    margin:0px;    
    color:#000000;   
    border:1px solid #D9D9DC; 
	border-left-width:0;
    border-right-width:0;
	border-top-width:0;
	border-bottom-width:0;
}

/* setdialog */
setDialog QComboBox {
     border :  1px  solid  gray ;
     border-radius:  2px ;
     padding :  1px  2px  1px  2px ; 
}

setDialog QComboBox::down-arrow {
	image:  url(":/icon/screen/form/down.svg");
}

setDialog QComboBox::drop-down {
	border:none;
}