*{background-color:#3c3c3c;color:white;margin:0;font-size:16px;}

QTabWidget::tab-bar{
left: 10px; /* move to the right by 5px */
}
QTabBar::tab {
height:60px;
min-width:300px;
font-size: 25px;
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #333333, stop: 1.0 #555555);
border: 2px solid #505050;
border-bottom-left-radius: 50%;
border-bottom-right-radius: 50%;
padding: 2px;
margin-bottom:10px;
}

QTabBar::tab:selected{
margin-left:-10px;
margin-right:-10px;
margin-bottom:0px;
border:2px solid #606060;
border-top:5px solid #4a88c7;
background:  #505050;}
QTabBar::tab:first:selected {
    margin-left: 0; /* the first selected tab has nothing to overlap with on the left */
}

QTabBar::tab:last:selected {
    margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
}

QTabBar::tab:only-one {
    margin: 0; /* if there is only one tab, we don't want overlapping margins */
}
QTabWidget::pane{margin:0;}
QLineEdit {min-height:36px;max-height:36px; border:1px solid silver;}
QLineEdit:enabled{background-color: #515151;}
QDateEdit{min-height:36px;max-height:36px; border:1px solid Silver;}
QDateEdit:enabled{background-color: #515151;}
QTextEdit:enabled{background-color: #515151;}
QComboBox {text-align:center;min-height:36px;max-height:36px; border:1px solid silver;}
QComboBox:enabled{background-color: #515151;}
QComboBox::drop-down{width:20px;}
QComboBox QAbstractItemView{min-width:120px;}
QComboBox QAbstractItemView::item {min-height:60px;max-height:60px;  border:1px solid white;}
QLabel{color:white; font-weight:bold; font-size:16px;}
QLabel#sliderPickerLabel{color:silver;padding:0;background:#505050;font-weight:normal;font-size:50px;}
QWidget#topbarWidget{min-height:36px;max-height:36px;}
QWidget#contentWidget{border-top:1px solid #515151;}
QWidget#commandWidget{min-height:123px;max-height:123px;border-top:1px solid #515151; border-bottom:1px solid #323232;}
QLabel#logo{min-width:30px;max-width:30px;}
QLabel#company{min-width:150px;max-width:150px; }
QLabel#systemMsgBar{min-width:500px;}
QLabel#warn{color:#CCCC00;background:transparent;font-size:20px;}
QWidget QWidget#statusBarWidget{min-width:300px;}
QWidget QToolButton{border:none;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;}
QToolButton#btn_main{border:2px solid #0078d8;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;}
QWidget QToolButton:disabled{color:#606060;}
QWidget QToolButton:hover{background:#505050;}
QWidget QToolButton:checked{border:5px solid darkorange;padding:0px;}
QWidget#editcmdWidget{min-height:83px;max-height:83px;}
QWidget#verSpaceLine{ border-right:1px solid #0078d8;}
QWidget#topBottomLine{ border-top:2px solid #0078d8;border-bottom:2px solid #0078d8;background:transparent;}

/*-----FormDialog-----*/
QPushButton{border:1px solid silver ;padding-left:50px;padding-right:50px; border-radius:5px; min-height:28px; max-height:28px; background:#4c5052;}
QPushButton#btnOK{background:#365880; font-weight:bold;}
QDialog#formDialog{border:3px solid silver; border-radius:8px;}
QWidget#slider_one{border:1px solid silver; border-radius:8px;}
QWidget#formWidget QLabel#endline{border-bottom:1px solid silver;}
QWidget#formWidget QLabel#title{font-size:30px; border-bottom:1px solid #3078d8;}
QListView{border:none;margin:5px; font-weight:bold;}
QListView::item{background:#4c5052;min-height:30px; border:1px solid silver; border-radius:5px;}
QListView::item:selected{background:#365880; font-weight:bold;color:white;}
QHeaderView::section{background-color:#595959;
min-height:50px;max-height:50px;
font-weight:bold; font-size:16px; border:1px solid #323232;}
QHeaderView::section:horizontal{border-bottom: 1px solid rgb(0,170,255);}
QHeaderView::section:vertical{min-height:36px;max-height:36px;}
QWidget#edit_patient{min-width:300px;max-width:300px;}
QTableView{border:none;}
QTableView{alternate-background-color: #595959;selection-color:white;selection-background-color:#0078d8;}
QToolButton#sexBtn{min-width:120px;max-width:120px;font-size:20px;padding:2px;}
QToolButton#sexBtn:disabled{color:silver;}
QWidget#sexpanelwidget{border:1px solid silver;}
QWidget#sexpanelwidget:enabled{background-color: #515151;}
QToolButton#sexBtn:checked{border:2px solid darkorange;padding:0px;}

/*-----蒙版Dialog-----*/
QDialog QWidget#innerWidget{ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0.0 darkgray, stop: 0.5 lightgray, stop: 1.0 darkgray);
border-radius:20px; border:5px solid #0078d8; }
QDialog#MessageDialog QWidget QWidget{ background:transparent;color:#3078d8}
QDialog#MessageDialog QWidget QWidget QLabel{ font-size:30px}
#spacer_1, #spacer_2{min-width:2px;max-width:2px;margin-top:6px;margin-bottom:6px;border-right:1px solid #0078d8;}

QDialog#loginform{background-color:#3c3c3c; color:white;margin:0;font-size:16px;}
QDialog#loginform QLabel#title{font-Size:98px;color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0.0 darkgray, stop: 0.5 lightgray, stop: 1.0 darkgray);}
QLabel#warn{color:#930000;background:transparent;font-size:20px;}
QFrame#login_frame_username{min-width:700px;max-width:700px;max-height:500px;min-height:500px;
border:1px solid #0078d8;border-radius:20px;
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0.0 darkgray, stop: 0.5 gray, stop: 1.0 darkgray);}
QDialog#loginform QLineEdit{min-height:100px;max-height:100px; border:1px solid silver;border-radius:10px;font-size:26px;}
QDialog#loginform QLineEdit:enabled{background-color: #515151}
QDialog#loginform QToolButton#btnlogin{min-height:100px;max-height:100px; min-width:border:1px solid #505050;
border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;}
QDialog#loginform QToolButton#btnlogin:hover{background:#505050;}