QFrame{color:#Text;font-size:12;}
QCheckBox{color:#Text;}
QMessageBox{background:#FrameBack;}

#CheckButton
{
	background:url(@skinpath/icon/normal.png);
}
#CheckButton:checked,#CheckButton:pressed
{
	border:1px solid rgba(176, 176, 176, 255);
	background:url(@skinpath/icon/checked.png);
}

QGroupBox
{
	border-width:1px;
	border-style:solid;
	border-color:#Border;
	border-radius:4px;
	margin-top: 2ex;
}
QGroupBox::title 
{
	subcontrol-origin: margin;
	subcontrol-position: top left;
	left:10px;
	margin-left: 0px;
	padding:0 1px;
}

QHeaderView::section 
{
  color:#Text;
  height:17px;width:13;
  background-color:qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 white,stop:1 #BBBBBB);
  padding-left: 4px;
  border: 1px solid #Border;
  border-left:0px;
  border-top:0px;
}
QTableWidget,QTableView,QTreeView,QTreeWidget
{
  color:#Text;
  border:1px solid #Border;
  alternate-background-color: transparent;
  background-color:#FrameBack;
  selection-background-color: gray;
}

QTreeView::item:selected:active,
QTableView::item:selected:active
{
   background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
}

QTreeView::item:selected:!active,
QTableView::item:selected:!active
{
   background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
}

QMenu 
{
	font-size:12px;
  background-color: #FrameBack;
  border: 1px solid #Border;
}
QMenu::item 
{
  color:#Text;
  font-size:12px;
  background-color: transparent;
}
QMenu::item:selected 
{
  color:rgb(239,239,239);
  background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,stop:0 rgba(67, 168, 208, 255), stop:1 rgba(52, 105, 178, 255));
}

QMenu::item:disabled 
{
  color:gray;
}

QSpinBox,QTimeEdit,QDateEdit
{
  color:#Text;
  border:1px solid #Border;
  background:#EditBack;
}
QSpinBox:hover,QTimeEdit:hover,QDateEdit:hover
{
  border-color:rgb(0,183,238);
}
QSpinBox::up-button,QTimeEdit::up-button,QDateEdit::up-button
{
  border:1px outset #Border;
}
QSpinBox::down-button,QTimeEdit::down-button,QDateEdit::down-button
{
  border:1px outset #Border;
}
QSpinBox::up-button:pressed,QTimeEdit::up-button:pressed,QDateEdit::up-button:pressed
{
  border-style:inset;
}
QSpinBox::down-button:pressed,QTimeEdit::down-button:pressed,QDateEdit::down-button:pressed
{
  border-style:inset;
}
QLineEdit,QDateTimeEdit
{
  min-height:18px;
  border:1px solid gray;
}
QLineEdit:hover,QDateTimeEdit:hover
{   
  border-color:rgb(0,183,238);   
}

QLineEdit:disabled
{
  color:gray;
}

QComboBox 
{
  min-height:18px;
  border: 1px solid gray;
  padding: 1px 3px 1px 3px;
}
QComboBox:hover
{
  border-color:rgb(0,183,238);
}
QComboBox:on 
{
  padding-top: 3px;
  padding-left: 4px
}
QComboBox::drop-down 
{
  subcontrol-origin: padding;
  subcontrol-position: top right;
  width: 15px;
  border-left-width: 1px;
  border-left-color: 32435E; 
  border-left-style: solid;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
QComboBox::down-arrow 
{
  image: url(:/resources/images/downarrow.png);
}
QComboBox::down-arrow:on 
{
  top: 1px;left: 1px;
}

QSlider::groove:horizontal{
	border: 0px solid rgb(84,85,90);
	border-radius:3px;
	height: 5px;
	background: rgb(154, 154, 154);
	margin: 2px 0;
}
QSlider::handle:horizontal
{
	background:rgb(26,26,26);
	width: 10px;
	margin: -1px -1;
}

QSlider::sub-page:horizontal{
	border: 0px solid rgb(84,85,90);
	border-radius:3px;
	height: 5px;
	background: rgb(40,102,154);
	margin: 2px 0;
}

QScrollBar:horizontal {
    background: white;
    height: 10px;
    margin: 0px 0 0px 0;
}
QScrollBar::handle:horizontal {
    background: rgb(195, 195, 195);
    min-width: 20px;
    margin: 2px 0px 1px 0px;
    border-radius: 3px;
    border: none;
}
QScrollBar::add-line:horizontal {
    border: 0px solid grey;
    background: #32CC99;
    width: 0px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal {
    border: 0px solid grey;
    background: #32CC99;
    width: 0px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
    background: transparent;
}
QScrollBar:vertical {
    background: white;
    width: 10px;
    margin: 0px 0 0px 0;
}
QScrollBar::handle:vertical {
    background: rgb(195, 195, 195);
    min-height: 20px;
    margin: 0 1px 0 2px;
    border-radius: 3px;
    border: none;
}
QScrollBar::add-line:vertical {
    background: url(images/scrollbar-vertical-bg.png);
    height: 0px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical {
    background: url(images/scrollbar-vertical-bg.png);
    height: 0px;
    subcontrol-position: top;
    subcontrol-origin: margin;
}
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
    border: 1px solid grey;
    width: 3px;
    height: 3px;
    background: white;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
    background: transparent;
}
QSplitter::handle{background-color:gray;}

CVideoWidget
{
	background:rgb(66,66,66);
}

QSubWidget
{
	background:rgb(77,82,86);
}

CVideoWindow
{
	background:rgb(0,0,0);
}

CTitleBar#DlgTitleBar
{
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(161, 161, 161, 255), stop:0.39999 rgba(100, 100, 100, 255),stop:0.4 rgba(80, 80, 80, 255),stop:1 rgba(60, 60, 60, 255));
}

#MainWindow,#PlayBackPanel,CCruiseCfgDlg,CMapDisplayBox,CColorControlWidget,CPtzCtrlPanel,CPTZExtendPanel
{
	border: 1px solid black;
	background:#FrameBack;
}

#LoginDlg
{
	background:url(@skinpath/image/loginDlg_back.png);
}

#LoginTitle
{
	background:rgba(0,0,0,0);
}

#SysMin,#SysMax,#SysClose
{
	border:0px;
	border-radius:0px;
	border-left: 1px solid qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(135, 135, 135, 70), stop:1 rgba(0, 0, 0, 0));
	background:transparent;
}

#MainTabBar
{
	background:#FrameBack;
	border-top: 1px solid rgba(166, 166, 166, 255);
  border-bottom: 1px solid rgb(60,60,60);
}
#MainTab
{
	border:0px;
	border-right: 1px solid qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0), stop:0.5 rgba(133, 133, 133, 255), stop:1 rgba(0, 0, 0, 0));
}
#MainTabButton
{
	border:0px;
	border-radius:0px;
		color:black;
	background:transparent;
}

#MainTabButton:checked
{
	border-radius:3px;
	background:qradialgradient(spread:pad, cx:0.5, cy:-0.85, radius:2, fx:0.5, fy:-0.1, stop:0 rgba(226, 226, 226, 255), stop:0.4999 rgba(246, 247, 246, 255), stop:0.5 rgba(229, 229, 224, 255),stop:1 rgba(252, 253, 252, 255));
}
#MonitorDeviceTreeFrame
{
	background:transparent;
}
#DisplayBox
{
	background:#FrameBack;
}

#MonitorToolBar
{
	border:1px solid #DarkBorder;
	border-right:0px;
  background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:0.3 rgba(222, 222, 222, 255), stop:0.30001 rgba(198, 206, 214, 255), stop:1 rgba(214, 214, 222, 255));
}
CNoticeBar
{
	border:1px solid #DarkBorder;
	border-left:0px;
  background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:0.3 rgba(222, 222, 222, 255), stop:0.30001 rgba(198, 206, 214, 255), stop:1 rgba(214, 214, 222, 255));
}

#ToolBox
{
	border:0px;
	border-right: 1px solid #DarkBorder;
}

#TipTip
{
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(80, 81, 82, 255), stop:0.74 rgba(60, 61, 62, 255), stop:1 rgba(40, 41, 42, 255));
}
#MonitorTip
{
	border:1px solid qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0), stop:0.5 white, stop:1 rgba(0, 0, 0, 0));
	border-top:0px; border-bottom:0px;
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(72, 82, 109, 255), stop:0.74 rgba(50, 60, 86, 255), stop:1 rgba(46, 55, 81, 255));
}


#ToolBoxTab
{
	color:rgb(243,246,245);
	border-radius:0px;
	border:1px solid rgb(117,117,117);
	border-left:0px;
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(72, 82, 109, 255), stop:0.74 rgba(50, 60, 86, 255), stop:1 rgba(46, 55, 81, 255));
}
#ToolBoxTab:checked
{
	color:#E8E8E8;
	background:qradialgradient(spread:pad, cx:0.5, cy:0, radius:1.3, fx:0.5, fy:0, stop:0 rgba(15, 114, 159, 255), stop:0.45 rgba(12, 100, 140, 255), stop:1 rgba(9, 86, 122, 255));
}

#PtzButtons
{border:0px;background-image:url(@skinpath/image/ptz_btn_normal.png);}
QToolButton:hover#PtzButtons
{background-image:url(@skinpath/image/ptz_btn_over.png);}
QToolButton:pressed#PtzButtons,QToolButton:checked#PtzButtons
{background-image:url(@skinpath/image/ptz_btn_over.png);}

#PlaybackOption{background:transparent;}
#PlayBckGroup
{
	border-radius:4px;
	border-top: 2px solid #Border;
	border-left: 2px solid #Border;
	border-right: 2px solid #Border;
	border-bottom: 2px solid #Border;
}
#PlayBackTip
{
	border-top-left-radius:2px;
	border-top-right-radius:2px;
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(244, 245, 246, 255), stop:0.4999 rgba(202, 203, 204, 255), stop:0.5 rgba(185, 185, 185, 255), stop:1 rgba(246, 246, 246, 255));
	border-bottom: 1px solid #DarkBorder;
}

#PlayBackBottom,#TimeLine
{
	border: 1px solid #DarkBorder;
	background:rgb(45,45,45);
}
#PlayBackBottomTabBar
{
	border-top: 1px solid #DarkBorder;
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:0.3 rgba(222, 222, 222, 255), stop:0.30001 rgba(198, 206, 214, 255), stop:1 rgba(214, 214, 222, 255));
}

#TimeLinePanel {
     show-decoration-selected: 1;
     color:#a0a0a0;
     border:0px;
     font-size:12px;
     background:transparent;
 }

 #TimeLinePanel::item {
      border: 1px solid #a0a0a0;
     border-top-color: transparent;
     border-left-color: transparent;
 }

 #TimeLinePanel::item:selected {
     border: 1px solid #567dbc;
     border-left-color: transparent;
 }

 #TimeLinePanel::item:selected{
     background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(110,161,241,160), stop: 1 rgba(86,125,188,160));
 }

#PlayBackTab
{
	color:black;
	border-radius:1px;
	border:1px solid #999999;
	background:transparent;
}

#PlayBackTab:hover
{
	color:#E8E8E8;
	background:qradialgradient(spread:pad, cx:0.5, cy:0, radius:1.3, fx:0.5, fy:0, stop:0 rgba(15, 114, 159, 255), stop:0.45 rgba(12, 100, 140, 255), stop:1 rgba(9, 86, 122, 255));
}
#PlayBackTab:checked
{
	color:#E8E8E8;
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(72, 82, 109, 255), stop:0.74 rgba(50, 60, 86, 255), stop:1 rgba(46, 55, 81, 255));
}

#TimeLineLabel{color:white;}
#PlayBackTipLabel{color:black;}
QToolButton#MultyCheck{color:white;border:0px;border-radius:3px;background-image:url(@skinpath/icon/check_normal.png);}
QToolButton:hover#MultyCheck{background-image:url(@skinpath/icon/check_hover.png);}
QToolButton:checked#MultyCheck{background-image:url(@skinpath/icon/check_checked.png);}


#ContralOptionPanel{border:0px;border-right:1px solid #DarkBorder;}


#DrawerBoxItem,#TourTop,#TVWallTop
{
	color:black;
	border-radius:0px;
	border:0px;
	border-top:1px solid #DarkBorder;
	border-bottom:1px solid gray;
	background:qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(181, 182, 183, 255), stop:1 rgba(255, 255, 255, 255));
}
#DrawerBoxItem:hover
{
	background:qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(181, 182, 183, 255), stop:1 rgba(255, 255, 255, 255));
}
#DrawerBoxItem:pressed
{
	background:qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(181, 182, 183, 255), stop:1 rgba(255, 255, 255, 255));
}

QTabBar
{
	border: 1px solid rgb(138,133,126,255);
	background:transparent;
}

QTabBar::tab 
{
	color:black;
	height:18px; width: 80px;
	background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(180, 180, 180, 200), stop:0.3 rgba(200, 200, 200, 200),  stop:0.5 rgba(190, 190, 190, 200), stop:1 rgba(180, 180, 180, 200));
	border-top-left-radius:2px;
	border-top-right-radius:2px;
	border: 1px solid rgba(138,133,126,200);
	padding: 2px;
}
QTabBar::tab:selected, QTabBar::tab:hover
{ 
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(254, 254, 254, 255), stop:0.49999 rgba(218, 217, 217, 255),stop:0.5 rgba(208, 207, 207, 255),stop:1 rgba(200, 198, 198, 255));;
} 
QTabBar::tab:selected 
{
	font:bold;
	height:20px;
	border-top: 1px solid rgb(224,224,224,200);
	border-left: 1px solid rgb(138,133,126,200);
	border-right: 1px solid rgb(138,133,126,200);
	border-bottom-color: transparent;
}
QTabBar::tab:!selected 
{
	margin-top: 2px;
}
QTabBar:tab:only-one {margin: 0;}

#Bottom
{
	border-top:1px solid rgb(176, 176, 176);
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:0.3 rgba(222, 222, 222, 255), stop:0.30001 rgba(198, 206, 214, 255), stop:1 rgba(214, 214, 222, 255));
}

CPlayBackBar
{
	border-radius:4px;
	border:2px solid #Border;
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(200, 200, 200, 255), stop:0.34 rgba(220, 220, 220, 255), stop:1 rgba(200, 200, 200, 255));
}

#ToolTipPanel
{
	font-size:15px;
	padding:6px;
	border: 1px solid #Border;
	border-radius:6px;
	background:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(247, 246, 245, 255), stop:0.15 rgba(232, 229, 226, 255), stop:0.3 rgba(214, 210, 215, 255), stop:1 rgba(214, 210, 215, 255));
}