#wdgFrame
{
        border-top-width: 41;
        border-right-width: 15;
        border-bottom-width: 72;
        border-left-width: 9;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/FrmDlg.png) 41 15 72 9 stretch stretch;
        font-family: "%FontFamily%";
}

#wdgMain
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/FrmDlgInner.png) 8 8 8 8 stretch stretch;
}

#_txtTitle
{
        font: 15px;
        font-weight: bold;
        color: #8c8c8c;
        font-family: "%FontFamily%";
}

QLabel
{
        font: 14px;
        font-family: "%FontFamily%";
        color: #666;
}

/*text box---------------------------*/
QLineEdit
{
        border: 1px solid #bfbfbf;
        font-family: "%FontFamily%";
        font: 15px;
        color: #333;
        height: 27px;
        padding-left: 5px;
        border-radius: 2px;
}
/*Attach-----------------------------*/
QListWidget
{
        border: 1px solid #bfbfbf;
        font-family: "%FontFamily%";
        font: 15px;
        color: #333;
        background: white;
        padding-left: 5px;
        show-decoration-selected: 0; /* make the selection span the entire width of the view */
}

/*Item event************************/
QListWidget::item
{
        background: none;
        border: none;
        border-radius: none;
}
QListWidget::item:alternate
{
        background: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #e5e5e5, stop: 0.3 #d9d9d9 stop: 1 #ffffff);
        /*border: 1px solid #bfbfbf;*/
        border-radius: 2px;
        border: none;
}
QListWidget::item:hover
{
        background: qlineargradient( x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #cef2dd, stop: 0.3 #b3e5c8 stop: 1 #dcf2e6);
        /*border: 1px solid #595959;*/
        border-radius: 2px;
        border: none;
}
/*Pressed event is not working. We don't write here*/
QListWidget::item:pressed
{
        background: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #c3d9cc, stop: 0.3 #b8d9c6 stop: 1 #dae5df);
        /*border: 1px solid #595959;*/
        border: none;
}
QListWidget::item:selected
{
        background: qlineargradient( x1 : 0, y1 : 1, x2 : 0, y2 : 0, stop: 0 #69bf8d, stop: 0.3 #42a66c, stop: 1 #66cc90);
        /*border: 1px solid #595959;*/
        border: none;
        border-radius: 2px;
}
/*email body------------------------*/
#editMailBody
{
        border: 1px solid #bfbfbf;
        font-family: "%FontFamily%";
        font: 15px;
        color: #333;
        background: white;
        padding-left: 5px;
        border-radius: 2px;
}

/*Buttons- color, aglign, font style--------------------------------------------------------*/
#btnFontBold,
#btnFontItalic,
#btnFontUnderline,
#btnHAlignLeft,
#btnHAlignCenter,
#btnHAlignRight,
#btnFontBackColor,
#btnFontForeColor
{
        width: 39px;
        border: none;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnNormal.png) 8 8 8 8 stretch stretch;
}
#btnFontBold:hover,
#btnFontItalic:hover,
#btnFontUnderline:hover,
#btnHAlignLeft:hover,
#btnHAlignCenter:hover,
#btnHAlignRight:hover,
#btnFontBackColor:hover,
#btnFontForeColor:hover
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnOver.png) 8 8 8 8  stretch stretch;
}
#btnFontBold:pressed,
#btnFontItalic:pressed,
#btnFontUnderline:pressed,
#btnHAlignLeft:pressed,
#btnHAlignCenter:pressed,
#btnHAlignRight:pressed,
#btnFontBackColor:pressed,
#btnFontForeColor:pressed
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnPressed.png) 8 8 8 8  stretch stretch;
}
#btnFontBold:checked,
#btnFontItalic:checked,
#btnFontUnderline:checked,
#btnHAlignLeft:checked,
#btnHAlignCenter:checked,
#btnHAlignRight:checked,
#btnFontBackColor:checked,
#btnFontForeColor:checked
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnSelected.png) 8 8 8 8  stretch stretch;
}
#btnFontBold:checked:hover,
#btnFontItalic:checked:hover,
#btnFontUnderline:checked:hover,
#btnHAlignLeft:checked:hover,
#btnHAlignCenter:checked:hover,
#btnHAlignRight:checked:hover,
#btnFontBackColor:checked:hover,
#btnFontForeColor:checked:hover
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnSeletedOver.png) 8 8 8 8  stretch stretch;
}
#btnFontBold:disabled,
#btnFontItalic:disabled,
#btnFontUnderline:disabled,
#btnHAlignLeft:disabled,
#btnHAlignCenter:disabled,
#btnHAlignRight:disabled,
#btnFontBackColor:disabled,
#btnFontForeColor:disabled
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnDisable.png) 8 8 8 8  stretch stretch;
}

/*popup closing button***************************************/
#btnClose
{
        border: none;
        width: 44px;
        height: 23 px;
        background-repeat: none;
        background: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnDlgCloseNormal.png);
}
#btnClose:hover
{
        background: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnDlgCloseOver.png);
}
#btnClose:pressed
{
        background: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnDlgClosePressed.png);
}
#btnClose:pressed:hover
{
        background: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnDlgCloseSelected.png);
}

/*Combobox------------------------------------*/
QFontComboBox,
QComboBox
{	font-family: "%FontFamily%";
        font: 15px;
        color: #4c4c4c;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnNormal.png) 8 8 8 8 stretch stretch ;
        padding-left: 10px;
        padding-right: 0px;
        height: 19px;
}
QFontComboBox:hover,
QComboBox:hover
{
        font: 15px;
        color: #4c4c4c;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnOver.png) 8 8 8 8 stretch stretch ;
        padding-left: 10px;
        padding-right: 0px;
        height: 19px;
}
QFontComboBox:pressed,
QComboBox:pressed
{
        font: 15px;
        color: #666;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnNormal.png) 8 8 8 8 stretch stretch ;
        padding-left: 10px;
        padding-right: 0px;
}
QFontComboBox:disabled,
QComboBox:disabled
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnDisable.png) 8 8 8 8 stretch stretch ;
        font: 15px;
        color: #8c8c8c;
        padding-left: 10px;
        padding-right: 0px;
}

/* QComboBox gets the "on" state when the popup is open */
QFontComboBox:!editable:on,
QFontComboBox::drop-down:editable:on,
QComboBox:!editable:on,
QComboBox::drop-down:editable:on
{
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnSelected.png) 8 8 8 8 stretch stretch ;
        font: 15px;
        color: white;
}
QFontComboBox:on,
QComboBox:on
{ /* shift the text when the popup opens */
        color: white;
        border: 1px solid #b2b2b2;
}
QFontComboBox::drop-down,
QComboBox::drop-down
{
        width: 10px;
        subcontrol-origin: padding;
        subcontrol-position: top right;
        border: none; /*Vertical line next to Arrow area---> we don't need it*/
}
/*Arrow-------------------------------------------------------------------*/
QFontComboBox::down-arrow,
QComboBox::down-arrow
{
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/CmbArrowNormal.png);
        padding-right: 20px;
        padding-left: 10px;
        border: none;
}
QFontComboBox::down-arrow:on,
QComboBox::down-arrow:on
{/* shift the arrow when popup is open */
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/CmbArrowSelected.png);
        padding-right: 20px;
        padding-left: 10px;
}
QFontComboBox::down-arrow:on,
QComboBox::down-arrow:on
{/* shift the arrow when popup is open */
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/CmbArrowSelected.png);
        padding-right: 20px;
        padding-left: 10px;
}
QFontComboBox::down-arrow:disabled,
QComboBox::down-arrow:disabled
{
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/CmbArrowDisable.png);
        padding-right: 20px;
        padding-left: 10px;
        border: none;
}
QFontComboBox QAbstractItemView,
QComboBox QAbstractItemView
{
        background: white;
        font-family: "%FontFamily%";
        font: 15px;
        selection-background-color: #47cc7f;
        selection-color: #ffffff;
        outline: none;
        padding: 0px;
}
/*Combo end-------------------------------------------------*/

/*Scrollbar***************************************************************************/
#wdgCenter QScrollBar:vertical
{
        border: none;
        background: white;
        width: 19px;
        margin-bottom: 2px;
        /*do not write the 'margin' here!!----*/
}
/*----------------Thumb start-------------------*/
#wdgCenter QScrollBar::handle:vertical
{
        background: #d8d8d8;
        border: 1px solid #999999;
        border-radius: 5px;
        margin-left: 4px;
        margin-right: 5px;
        margin-top: 7px;
        margin-bottom: 7px;
}
#wdgCenter QScrollBar::handle:vertical:hover
{
        background: #ace5c4;
        border: 1px solid #808080;
}
#wdgCenter QScrollBar::handle:vertical:pressed
{
        background: #a3d9b6;
        border: 1px solid #666666;
}
#wdgCenter QScrollBar::handle:vertical:disabled
{
        background: #eee;
}
/*---------------Thumb end-------------------*/

#wdgCenter QScrollBar::add-line:vertical
{
        border: none;
        background: white;
}
#wdgCenter QScrollBar::sub-line:vertical
{
        border: none;
        background: white;
}
/*-------------------Arrow------------------*/
#wdgCenter QScrollBar:left-arrow:vertical,
#wdgCenter QScrollBar::right-arrow:vertical
{
        border: none;
        background: white;
}
/*down arrow area-----*/
#wdgCenter QScrollBar::add-page:vertical
{
        height: 10px;
        border-bottom: 0px solid #e2e2e2;
        background: transparent;
}
#wdgCenter QScrollBar::sub-page:vertical
{
        height: 10px;
        border: none;
        background: white;
}
/*scrollbar-vertical end---------------------------------------------*/

/*Bottom button****************************************/
#btnSend,
#btnCancel
{
        font-family: "%FontFamily%";
        width: 148px;
        height: 19px;
        border: none;
        font: 15px;
        color: #404040;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnNormal.png) 8 8 8 8 stretch stretch;
}
#btnSend:hover,
#btnCancel:hover
{
        font: 15px;
        color: #262626;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnOver.png) 8 8 8 8  stretch stretch;
}
#btnSend:checked,
#btnCancel:checked
{
        font: 15px;
        color: #ffffff;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnSelected.png) 8 8 8 8  stretch stretch;
}
#btnSend:pressed,
#btnCancel:pressed
{
        font: 15px;
        color: #ffffff;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnPress.png) 8 8 8 8  stretch stretch;
}
#btnSend:disabled,
#btnCancel:disabled
{
        font: 15px;
        color: #8c8c8c;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnDisable.png) 8 8 8 8  stretch stretch;
}

#btnFontBackColor
{
        width: 39px;
        border: none;
        color: #404040;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnNormal.png) 8 8 8 8 stretch stretch;
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnHighlightNormal.png);
}
#btnFontBackColor:hover
{
        border-image:  url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnOver.png) 8 8 8 8  stretch stretch;
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnHighlightNormal.png);
}
#btnFontBackColor:pressed
{
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnPressed.png) 8 8 8 8  stretch stretch;
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnHighlightNormal.png);
}
#btnFontForeColor
{
        width: 39px;
        border: none;
        color: #404040;
        border-width: 8px;
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnNormal.png) 8 8 8 8 stretch stretch;
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnTextcolorNormal.png);
}
#btnFontForeColor:hover
{
        border-image:  url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnOver.png) 8 8 8 8  stretch stretch;
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnTextcolorNormal.png);
}
#btnFontForeColor:pressed
{
        border-image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnPressed.png) 8 8 8 8  stretch stretch;
        image: url(%AppPath%/Resources/Images/Skin/%SkinName%/BtnTextcolorNormal.png);
}
QScrollBar:horizontal
{
 border: none;
background: #ffffff;
height: 19px;
margin: 0px 0px 0px 0px;
}
QScrollBar::handle:horizontal {
 background: #d8d8d8;
border: 1px solid #999999;
border-radius: 5px;
margin-top: 4px;
margin-bottom: 5px;
margin-left: 7px;
margin-right: 7px;
min-width: 30px;
}
QScrollBar::handle:horizontal:hover {
background: #ace5c4;
border: 1px solid #808080;
}
QScrollBar::handle:horizontal:pressed {
background: #7acc9c;
border: 1px solid #666666;
}
QScrollBar::add-line:horizontal
{
background: #d9d9d9;
height: 2px;
}
QScrollBar::sub-line:horizontal
{
background: #d9d9d9;
height: 2px;
}
QScrollBar::left-arrow:horizontal,
QScrollBar::right-arrow:horizontal
{
background: white;
border: 0px;
}
QScrollBar::add-page:horizontal
{
background: white;
width: 0px;
}
QScrollBar::sub-page:horizontal
{
background: white;
width: 0px;
}
QScrollBar:vertical {
border: none;
background: #ffffff;
width: 19px;
margin: 0px 0px 0px 0px;
}
QScrollBar::handle:vertical {
background: #d8d8d8;
border: none;
border-radius: 5px;
margin-left: 4px;
margin-right: 5px;
margin-top: 7px;
margin-bottom: 7px;
min-height: 30px;
}
QScrollBar::handle:vertical:hover {
background: #ace5c4;
}
QScrollBar::handle:vertical:pressed {
background: #7acc9c;
}
QScrollBar::add-line:vertical
{
 border: none;
background: white;
}
QScrollBar::sub-line:vertical
{
border: none;
background: white;
}
QScrollBar::up-arrow:vertical,
QScrollBar::down-arrow:vertical
{
border: none;
}
QScrollBar::add-page:vertical
{
height: 0px;
border-bottom: 0px solid #bfbfbf;
background: white;
}
QScrollBar::sub-page:vertical
{
height: 0px;
border: none;
background: white;
}
QAbstractScrollArea::corner
{
        border: none;
        width: 0px;
        height: 0px;
        margin: none;
        padding: none;
        background: none;
}
/*--selection color-----------------------------------------------------------------------------------*/
QLineEdit, QTextEdit,QListWidget
{
        selection-color: white;
        selection-background-color: #47cc7f; /*green*/
}
