/* If you want font adaptive don't delete the following lines (font_area_*) */
/*font_area_begin*/
* {
    font-family:'Segoe UI, Microsoft YaHei UI, Leelawadee UI';
}
/*font_area_end*/

MFMainWindowTitle QLabel#separator_line{
    background-color: #e0e0e0;
}

QLabel#separator_line{
    background-color: #e6e6e6;
}

/************************** mfcore_title_label_logo MainWindowTitle Buttons****************************/
MFMainWindowTitle QLabel#label_logo {
	border:none;
    border-image: url(:/MFCore/logo_icon.png);
}

/**************************FeadBack Button****************************/
MFMainWindowTitle QPushButton#btn_feedback {
	border:none;
    border-image: url(:/MFCore/feedback_icon_normal.png);
}

MFMainWindowTitle QPushButton#btn_feedback:hover {
	border:none;
    border-image: url(:/MFCore/feedback_icon_hover.png);
}

MFMainWindowTitle QPushButton#btn_feedback:pressed {
	border:none;
    border-image: url(:/MFCore/feedback_icon_pressing.png);
}

/**************************Menu Button****************************/
MFMainWindowTitle QPushButton#btn_menu {
	border:none;
    border-image: url(:/MFCore/tools_icon_normal.png);
}

MFMainWindowTitle QPushButton#btn_menu:hover {
	border:none;
    border-image: url(:/MFCore/tools_icon_hover.png);
}

MFMainWindowTitle QPushButton#btn_menu:pressed {
	border:none;
    border-image: url(:/MFCore/tools_icon_pressing.png);
}

/**************************Minimize Button****************************/

MFMainWindowTitle QPushButton#btn_min {
	border:none;
    border-image: url(:/MFCore/mini_icon_normal.png);
}

MFMainWindowTitle QPushButton#btn_min:hover {
	border:none;
    border-image: url(:/MFCore/mini_icon_hover.png);
}

MFMainWindowTitle QPushButton#btn_min:pressed {
	border:none;
    border-image: url(:/MFCore/mini_icon_pressing.png);
}

/**************************Maximize Button****************************/
MFMainWindowTitle QPushButton#btn_max {
    border-image: url(:/MFCore/win_max_normal.png);
}

MFMainWindowTitle QPushButton#btn_max:hover {
    border-image: url(:/MFCore/win_max_hover.png);
}

MFMainWindowTitle QPushButton#btn_max:pressed {
    border-image: url(:/MFCore/win_max_pressed.png);
}


MFMainWindowTitle QPushButton[maxed=true]#btn_max { 
	border-image: url(:/MFCore/win_maximized_normal.png);
}

MFMainWindowTitle QPushButton[maxed=true]#btn_max:hover { 
	border-image: url(:/MFCore/win_maximized_hover.png);
}

MFMainWindowTitle QPushButton[maxed=true]#btn_max:pressed { 
	border-image: url(:/MFCore/win_maximized_pressed.png);
}

/**************************Close Button****************************/
MFMainWindowTitle QPushButton#btn_close{
	border:none;
    border-image: url(:/MFCore/close_icon_normal.png);
}

MFMainWindowTitle QPushButton#btn_close:hover {
	border:none;
    border-image: url(:/MFCore/close_icon_hover.png);
}

MFMainWindowTitle QPushButton#btn_close:pressed {
	border:none;
    border-image: url(:/MFCore/close_icon_pressing.png);	
}

/**************************Register Button****************************/

MFMainWindowTitle QPushButton#btn_buynow{
	font-size:16px;
	color:#ffffff;
    min-width: 20px;
    min-height: 20px;
}

MFMainWindowTitle QPushButton#btn_buynow {
	border: none;
	border-image: url(:/MFCore/buy_button_normal.png);
}

MFMainWindowTitle QPushButton#btn_buynow:hover {
	border: none;
	border-image: url(:/MFCore/buy_button_hover.png);
}
MFMainWindowTitle QPushButton#btn_buynow:pressed {
	border: none;
	border-image: url(:/MFCore/buy_button_pressing.png);
}

MFMainWindowTitle QPushButton[registered=false]#btn_register {
	border: none;
	border-image: url(:/MFCore/account_unregistered.png);
}

MFMainWindowTitle QPushButton[registered=true]#btn_register { 
	border: none;
	border-image: url(:/MFCore/account_register.png);
}

MFMainWindowTitle QPushButton#btn_register:hover { 
	border: none;
	border-image: url(:/MFCore/account_hover.png);
}

MFMainWindowTitle QPushButton#btn_register:pressed { 
	border: none;
	border-image: url(:/MFCore/account_pressing.png);
}

MFMainWindowTitle QLabel#label_title {
    color: #484848;
	font: 14px;
}

/* support custom background. if it is a solid color, you can use background-color instead */
MFMainWindowTitle {
    background-image: url(:/MFCore/windowTitle.png);
}

/**************************MFStyleWidgetTitle****************************/

MFStyleWidgetTitle {
    background-image: url(:/MFCore/tool_bar.png);
}

MFStyleWidgetTitle QLabel#label_title {
    color: #333333;
	font: 14px;
}

MFStyleWidgetTitle QPushButton#btn_close{
	border:none;
    image: url(:/MFCore/win_close_normal.png);
}

MFStyleWidgetTitle QPushButton#btn_close:hover {
	border:none;
    image: url(:/MFCore/win_close_hover.png);
}

MFStyleWidgetTitle QPushButton#btn_close:pressed {
	border:none;
    image: url(:/MFCore/win_close_pressed.png);	
}

/**************************Mac Update Dialog(AutoUpdateDialog)****************************/
AutoUpdateDialog QLabel#label_logo {
    border:none;
    image: url(:/MFCore/logo.svg);
}

AutoUpdateDialog QLabel#label_product_name {
   color: #0b489b;
}

AutoUpdateDialog QLabel#label_intro {
   color: #616c72;
}

AutoUpdateDialog QPushButton#pushButton_update,#pushButton_skip {
    border: none;
    border-image: url(:/MFCore/button_normal.png);
}

AutoUpdateDialog QPushButton#pushButton_update:hover,#pushButton_skip:hover{
    border: none;
    border-image: url(:/MFCore/button_hover.png);
}

AutoUpdateDialog QPushButton#pushButton_update:pressed,#pushButton_skip:pressed{
    border: none;
    border-image: url(:/MFCore/button_pressed.png);
}

AutoUpdateDialog QPushButton#pushButton_update:disabled,#pushButton_skip:disabled {
    border:none;
    border-image: url(:/MFCore/button_disable.png);
}

/**************************Register Dialog****************************/

CRegisterDialog QWidget{
  font-size: 14px; 
  color: #333333;
}

CRegisterDefault QLabel#Reg_Email,#Reg_Code{
    color: #333333;
}

CRegisterDefault QLineEdit#LineEdit_Email,#LineEdit_Code{
	border: 1px solid #e0e0e0;
	background-color:#f6f6f6;
	font-size: 12px;
	color: #484848;
	padding: 0px 0px 0px 7px;
	border-radius: 5px;
}

CRegisterDefault QPushButton#Btn_Buy {
    border: none;
    border-image: url(:/Button/buy_button_normal.png);
	color: #ffffff;
}

CRegisterDefault QPushButton#Btn_Buy:hover {
    border: none;
    border-image: url(:/Button/buy_button_hover.png);
}

CRegisterDefault QPushButton#Btn_Buy:pressed{
    border: none;
    border-image: url(:/Button/buy_button_pressing.png);
}

CRegisterDefault QPushButton#Btn_Buy:disabled{
    border:none;
    border-image: url(:/Button/button100_disable.png);
}

CRegisterDefault QPushButton#Btn_Register,#Btn_Confirm,#Btn_Cancel {
    border: none;
    border-image: url(:/MFCore/button_normal.png);
	color: #ffffff;
}

CRegisterDefault QPushButton#Btn_Register:hover,#Btn_Confirm:hover,#Btn_Cancel:hover {
    border: none;
    border-image: url(:/MFCore/button_hover.png);
}

CRegisterDefault QPushButton#Btn_Register:pressed,#Btn_Confirm:pressed,#Btn_Cancel:pressed {
    border: none;
    border-image: url(:/MFCore/button_pressed.png);
}

CRegisterDefault QPushButton#Btn_Register:disabled,#Btn_Confirm:disabled,#Btn_Cancel:disabled{
    border:none;
    border-image: url(:/MFCore/button_disable.png);
}

CRegisterResult QPushButton#Btn_ChangeAccount,#Btn_ChangePlan,#Btn_Renew,#Btn_Upgrade {
    border: none;
    border-image: url(:/MFCore/button_line_normal.png);
	color: #2663BF;
	min-width: 140px;
    min-height: 28px;
}

CRegisterResult QPushButton#Btn_ChangeAccount:hover,#Btn_ChangePlan:hover,#Btn_Renew:hover,#Btn_Upgrade:hover {
    border: none;
    border-image: url(:/MFCore/button_hover.png);
    color: #ffffff;
}

CRegisterResult QPushButton#Btn_ChangeAccount:pressed,#Btn_ChangePlan:pressed,#Btn_Renew:pressed,#Btn_Upgrade:pressed {
    border: none;
    border-image: url(:/MFCore/button_pressed.png);
}

CRegisterResult QLabel#Label_UserID,#Label_License,#Label_ExpirationDate,#Label_UsedDevice{
    color: #666666;
}

/**************************QListWidget****************************/
QListWidget::item:selected {
	background-color:#cccccc;
}

QListWidget::item:selected {
	border-width:0px;
}

QListWidget::item:selected {
	color:rgb(100, 100, 100);
}

/**************************QLineEdit****************************/
QLineEdit {
	border-radius:2px; 
	height:25px; 
	border:1px solid rgb(150,150,150);
	background:rgb(255, 255, 255);
}

QLineEdit:enabled {
	color:black;
}

QLineEdit:enabled:hover,QLineEdit:enabled:focus {
	color:rgb(50,50,50);
}

QLineEdit:!enabled {
	color:rgba(150,150,150,180);
}

/**************************QScrollBar****************************/
QScrollBar{
  margin: 0px;
  background:#FFFFFF;
  width: 4px;
  height:30px;
  min-width:6;
  min-height:30
}

QScrollBar::handle{
  background:#dcdcdc;
  border:0;
  height:40;
  min-height:40;
  border-radius:3px;
}

QScrollBar::handle:hover{
  background:#d0d0d0;
  border:0;
}

QScrollBar::sub-line{
  background:transparent;
  width:0px;
  height:0px;
  border:0;
}

QScrollBar::add-line{
  background:transparent;
  width:0px;
  height:0px;
  border:0;
}

QScrollBar::add-page,QScrollBar::sub-page{
  background:none;
}

/* about dialog title */
CCustomWidgetTitle#Core_about_title
{
    background: #ffffff;
}

CCustomWidgetTitle QLabel#Core_label_title
{
    font-size: 14px;
    font-weight: 600;
    color: #999999;
}

CCustomWidgetTitle QPushButton#Core_btn_close
{
    border: none;
    border-image: url(:/MFCore/icon_close_normal.svg);
}
CCustomWidgetTitle QPushButton#Core_btn_close:hover
{
    border: none;
    border-image: url(:/MFCore/icon_close_pressed.svg);
}
CCustomWidgetTitle QPushButton#Core_btn_close:pressed
{
    border: none;
    border-image: url(:/MFCore/icon_close_pressed.svg);
}

/* about dialog */
MFAboutDialog *
{
    font-size: 14px;
    font-weight: 400;
}

QWidget#MFAboutDialog
{
    qproperty-linkColor: #207cfb;
}

MFAboutDialog QWidget#background_widget
{
    background: #ffffff;
}

MFAboutDialog QLabel#Core_label_logo
{
    border: none;
    border-image: url(:/MFCore/logo_icon.png);
}

MFAboutDialog QLabel#Core_productName
{
    font-size: 20px;
    font-weight: 600;
    color: #333333;
}

MFAboutDialog QLabel#Core_productInfo
{
    font-size: 12px;
    font-weight: 400;
    color: #666666;
}

MFAboutDialog QLabel#Core_separator_line
{
    background-color: rgba(0, 0, 0, 25);
}

MFAboutDialog QLabel#Core_labelCompanyInfo
{
    font-size: 12px;
    font-weight: 400;
    color: #333333;
    padding-top: 6px;
}

MFAboutDialog MFLabel#Core_official_website, MFLabel#Core_contact_support, MFLabel#core_thirdparty_copyright
{
    font-size: 13px;
    font-weight: 400;
}

MFAboutDialog QLabel#Core_label_version
{
    font-size: 14px;
    font-weight: 400;
    color: #cccccc;
}

MFAboutDialog QLabel#Core_label_copyright
{
    font-size: 12px;
    font-weight: 400;
    color: #cccccc;
}

/* language select dialog combobox */
LanguageSelectDialog QComboBox
{
    min-width: 154px;
    max-width: 210px;
    min-height: 36px;
    max-height: 36px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding-left: 12px;
    padding-right: 12px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}
LanguageSelectDialog QComboBox::down-arrow
{
    width: 10px;
    height: 6px;
    image: url(:/MFCore/drop_arrow_on.png);
}
LanguageSelectDialog QComboBox::down-arrow:on
{
    width: 10px;
    height: 6px;
    image: url(:/MFCore/drop_arrow_off.png);
}
LanguageSelectDialog[layoutDirection="0"] QComboBox::drop-down
{
    border: 0px;
    padding-right: 10px;
}
LanguageSelectDialog[layoutDirection="1"] QComboBox::drop-down
{
    border: 0px;
    padding-left: 10px;
}
LanguageSelectDialog QComboBox QAbstractItemView
{
    outline: 0px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
    margin-top: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 14px;
}
LanguageSelectDialog QComboBox QAbstractItemView::item
{
    border: 0px;
    border-radius: 4px;
    height: 28px;
    margin-left: 6px;
    margin-right: 6px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}
LanguageSelectDialog QComboBox QAbstractItemView::item:hover
{
    background-color: #f1f1f1;
}
LanguageSelectDialog QComboBox QAbstractItemView::item:selected
{
    background-color: #e2e2e2;
}

/* language select dialog */
LanguageSelectDialog CCustomWidgetTitle#widget_2
{
    background: #ffffff;
}

QWidget#LanguageSelectDialog
{
    qproperty-needRestart: false;
}

LanguageSelectDialog QWidget#background_widget
{
    background: #ffffff;
}

LanguageSelectDialog QLabel#Core_language_notice_label
{
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    min-height: 40px;
}

LanguageSelectDialog QLabel#Core_language_select_label
{
    font-size: 14px;
    font-weight: 400;
    color: #999999;
}

LanguageSelectDialog QPushButton#pushButton_canel
{
    min-width: 110px;
    max-height: 34px;
    min-height: 34px;
    font-size: 14px;
    font-weight: 400;
    color: #2663BF;
	border: 1px solid #2663BF;
	border-radius: 4px;
	background: #transparent;
}
LanguageSelectDialog QPushButton#pushButton_canel:hover
{
    color: #ffffff;
	border: none;
    background-color: #2158A6;
}
LanguageSelectDialog QPushButton#pushButton_canel:pressed
{
    color: #ffffff;
	border: none;
    background-color: #1B8048;
}

LanguageSelectDialog QPushButton#pushButton_ok
{
    min-width: 110px;
    max-height: 36px;
    min-height: 36px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    background-color: #2663BF;
}
LanguageSelectDialog QPushButton#pushButton_ok:hover
{
    color: #ffffff;
    background-color: #2158A6;
}
LanguageSelectDialog QPushButton#pushButton_ok:pressed
{
    color: #ffffff;
    background-color: #1B8048;
}

/* popup menu */
CCustomMenu#titleMenu
{
    background-color: transparent;

    font-size: 14px;
    font-weight: 400;
    color: #333333;

    margin: 11px;

    qproperty-menuRadius: 6;
    qproperty-menuBackgroundColor: #ffffff;
}
CCustomMenu#titleMenu::item
{
    background-color: transparent;
    height: 28px;
    min-width: 134px;
    padding-left: 10px;
    padding-right: 10px;
}
CCustomMenu#titleMenu::item:selected
{
    border-radius: 4px;
    background-color: #f1f1f1;
}
CCustomMenu::separator
{
    height: 1px; 
    background: #e3e3e3;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 2px;
    margin-bottom: 2px;
}

/************************************message center*************************************************/
CStyleWidgetTitle {
    background: #FFFFFF;
	border-bottom: 1px solid #E8E9EB;
}

CStyleWidgetTitle QLabel#label_title {
    color: #484848;
    font: 14px;
}

CStyleWidgetTitle QPushButton#btn_close{
	border:none;
    image: url(:/MFCore/close_icon_normal.png);
}

CStyleWidgetTitle QPushButton#btn_close:hover {
    image: url(:/MFCore/close_icon_hover.png);
}

CStyleWidgetTitle QPushButton#btn_close:pressed {
    image: url(:/MFCore/close_icon_pressing.png);
}

QWidget#CAdvPushDialog{
    qproperty-showBottomWidget: false;
    qproperty-dialogHeight: 398;
    qproperty-dialogWidth: 755;
    qproperty-scrollAreaWidth: 283;
  }
  
CAdvPushDialog QLabel#m_pLabelLoading,#m_pLabelFailure {
    font-size:18px;
    color:#999999;
}

CAdvPushDialog QLabel#bottom_line {
    background-color: #E5E5E5;
}

CAdvPushDialog QWidget#scrollAreaWidgetContents{
    background-color: #FFFFFF;
}

CAdvPushDialog QWidget#bottom_widget,#page_failed,#page_gif,#page_adv{
    background-color: #FFFFFF;
}

CAdvPushDialog QWidget#widgetADImage {
    background-color: #F4F5F7;
}

CAdvPushDialog CMessageItem {
    border: none;
    border-radius: 8px;
    background-color: #FFFFFF;
    min-height: 70px;
}

CAdvPushDialog CMessageItem:hover {
    background-color: #F0F2F5;
}

CAdvPushDialog CMessageItem:checked {
    background-color: rgba(255, 126, 0, 0.1);
    margin-bottom: 1px;
}

CAdvPushDialog CMessageItem:pressed QLabel#m_pLabelTitle QToolTip{
    border:0px; 
    background-color: #FFFFFF; 
    color:#666666;
    font: 11px Segoe UI; 
}

CAdvPushDialog CMessageItem QLabel#m_pLabelDate {
    font-size:12px;
    color:#999999;
}

CAdvPushDialog CMessageItem QLabel#m_pLabelDes {
    font-size:12px;
    color:#999999;
}

CAdvPushDialog CMessageItem QToolTip{
    border: 0px; 
    background-color: #FFFFFF; 
    color:#999999;
    font: 11px Segoe UI; 
}

CAdvPushDialog CMessageItem QLabel#labelMark{
    min-height: 10px;
    min-width: 10px;
    background:#FF2222;
    border-radius: 5px;
}

CAdvPushDialog CMessageItem QLabel#m_pLabelTitle {
    font: 14px Segoe UI;
    font-weight: 900;
    color: #666666;
}

CAdvPushDialog CMessageItem QLabel[select=true]#m_pLabelTitle {
    font: 14px Segoe UI;
    font-weight: 900;
    color:#2663BF;
}

CAdvPushDialog CMessageItem QLabel[select=false]#m_pLabelTitle {
    font: 14px Segoe UI;
    font-weight: 900;	
    color:#666666;
}

CAdvPushDialog CMessageItem QLabel#m_pLabelIcon{
    min-height: 40px;
    min-width: 40px;
}

MFMainWindowTitle QPushButton#btnShare { 
    border:none;
    image: url(:/MFCore/share_normal.svg);
}

MFMainWindowTitle QPushButton#btnShare:hover { 
	border:none;
	image: url(:/MFCore/share_hover.svg);
}

MFMainWindowTitle QPushButton#btnShare:pressed { 
	border:none;
	image: url(:/MFCore/share_press.svg);
}

MFMainWindowTitle QPushButton[read=true]#btnMessage { 
	border:none;
	image: url(:/MFCore/adv_read_normal.svg);
}

MFMainWindowTitle QPushButton[read=true]#btnMessage:hover { 
	border:none;
	image: url(:/MFCore/adv_read_hover.svg);
}

MFMainWindowTitle QPushButton[read=true]#btnMessage:pressed { 
	border:none;
	image: url(:/MFCore/adv_read_press.svg);
}

MFMainWindowTitle QPushButton[read=false]#btnMessage { 
	border:none;
	image: url(:/MFCore/adv_unread_normal.svg);
}

MFMainWindowTitle QPushButton[read=false]#btnMessage:hover { 
	border:none;
	image: url(:/MFCore/adv_unread_hover.svg);
}

MFMainWindowTitle QPushButton[read=false]#btnMessage:pressed { 
	border:none;
	image: url(:/MFCore/adv_unread_press.svg);
}

MainView QPushButton#btn_ProductBox {
    border: none;
    border-image: url(:/Images/Main/icon_productBox_normal.png);
}

MainView QPushButton#btn_ProductBox:hover {
    border: none;
    border-image: url(:/Images/Main/icon_productBox_hover.png);
}
MainView QPushButton#btn_ProductBox:pressed {
    border: none;
    border-image: url(:/Images/Main/icon_productBox_pressed.png);
}

/*** Message按钮***/
MainView QPushButton[read=true]#btn_message {
    border: none;
    border-image: url(:/MFCore/adv_read_normal.png);
}

MainView QPushButton[read=true]#btn_message:hover {
    border: none;
    border-image: url(:/MFCore/adv_read_hover.png);
}

MainView QPushButton[read=true]#btn_message:pressed {
    border: none;
    border-image: url(:/MFCore/adv_read_press.png);
}

MainView QPushButton[read=false]#btn_message {
    border: none;
    border-image: url(:/MFCore/adv_unread_normal.png);
}

MainView QPushButton[read=false]#btn_message:hover {
    border: none;
    border-image: url(:/MFCore/adv_unread_hover.png);
}

MainView QPushButton[read=false]#btn_message:pressed {
    border: none;
    border-image: url(:/MFCore/adv_unread_press.png);
}

