/**************************************************************************
**  WAVE THEME
**************************************************************************/


@mainBackground = #05141C;

@tableBorder = #141B23;
@tableBackground = #05141C;
@tableAlternateBackground = #09161E;
@tableRowSelectedBackground = #1C252F;
@tableTextColor = #B4B4B4;
@tableTextSelected = #D2D2D2;
@tableGrid = #1C252F;

@frameEdgingBackground = #09161E;
@frameMiddleBorder = #141F2E;
@frameMiddleBackground = #09161E;
@frameTextColor = #A0A5AA;
@frameEdgeBorder = #141F2E;
@frameTopBackground = #121921;
@frameBottomBackground = #121921;
@frameHeaderBackground = #05141C;

@scrollBackground = #041821;
@scrollHandle = #0C1E28;
@scrollAddLineSubLine = #041821;

@headerTextColor = #B4B4B4;
@headerBackground = #121921;
@headerBorder = #141B23;

@elementsTextColor = #B4B4B4;
@elementsTextDisabled = #62676F;
@elementsTextAbstractItem = #55AAFF;
@elementsBackgroundColor = #1B1D23;
@elementsBackgroundAbstractItem = #1B1D23;
@elementsBackgroundSelectedAbstractItem = #272C36;
@elementsBorderColor = #1B1D23;
@elementsBorderHover = #404758;
@elementsBorderDropDown = #22262E;
@elementsBorderRadius = 5px;


/**************************************************************************
**  QWidget
**************************************************************************/

QMainWindow {
    background: @mainBackground;
}
QMainWindow::separator {
    width: 1px;
    height: 1px;
    background: @mainBackground;
}

QWidget {
    background: @frameEdgingBackground;
}
QWidget#centralwidget {
    background: @frameTopBackground;
}
QWidget#widget_main {
    background: @frameTopBackground;
}
QWidget#Report {
    border: 1px solid @elementsBorderColor;
    border-radius: 5px;
    background: @mainBackground;
}

/**************************************************************************
**  QFrame
**************************************************************************/

QFrame {
    border: none;
    background-color: @mainBackground;
}
QFrame#frameBrowser,
QFrame#frameSplit,
QFrame#frameMetadata,
QFrame#frameLog,
QFrame#framePreset,
QFrame#frameStreams,
QFrame#frameTask {
    border-left: 1px solid @frameEdgeBorder;
    border-bottom: 1px solid @frameEdgeBorder;
    border-right: 1px solid @frameEdgeBorder;
    border-top: none;
    background-color: @frameEdgingBackground;
}

QFrame#framePreview,
QFrame#frameSource,
QFrame#frameOutput {
    border-left: 1px solid @frameEdgeBorder;
    border-bottom: 1px solid @frameEdgeBorder;
    border-right: 1px solid @frameEdgeBorder;
    border-top: none;
    background-color: @frameMiddleBackground;
}

QFrame#frameTaskHeader,
QFrame#frameTaskHeader_2 {
    min-height: 23px;
    border-top: 1px solid @frameEdgeBorder;
    background-color: @frameHeaderBackground;
}

QFrame#frameMiddle,
QFrame#frameAltTab_1,
QFrame#frameAltTab_2
{
    border: none;
    background-color: @mainBackground;
}
QFrame#frame_bottom {
    border: none;
    /*border-top: 1px solid @frameEdgeBorder;*/
    background-color: @frameBottomBackground;
}
QFrame#frame_top {
    border: none;
    background-color: @frameTopBackground;
}
QFrame#frameTab_1, QFrame#frameAudio, QFrame#frameSubtitle, QFrame#frameTab_4,
QFrame#frameLeftTab_1, QFrame#frameLeftTab_2, QFrame#frameTab_5 {
    background-color: @tableBackground;
}

#AudioLabel {
    color: #09161E; font: 32pt; font-style: oblique;
    font-weight: 500;
}

#SubtitleLabel {
    color: #09161E; font: 32pt; font-style: oblique;
    font-weight: 500;
}

/**************************************************************************
**  QToolTip
**************************************************************************/

QToolTip {
    border: 1px solid #282828;
    border-radius: 2px;
    color: #ffffff;
    background-color: #1B1D23;
}


/**************************************************************************
**  QMenu
**************************************************************************/

QMenu {
    background-color: #1B1D23;
}
QMenu::item {
    color: #EFEFEF;
    background-color: transparent;
}
QMenu::item:selected {
    background-color: #05282D;
}


/**************************************************************************
**  QScrollBar
**************************************************************************/

QScrollBar {
    background: transparent;
}
QScrollBar:horizontal {
    height: 10px;
    margin: 0px 15px 0 15px;
    border: none;
    border-radius: 0px;
    background: @scrollBackground;
}
QScrollBar:vertical {
    width: 10px;
    margin: 15px 0 15px 0;
    border: none;
    border-radius: 0px;
    background: @scrollBackground;
}
QScrollBar::handle:horizontal {
    min-width: 25px;
    border-radius: 0px;
    background: @scrollHandle;
}
QScrollBar::handle:vertical {
    min-height: 25px;
    border-radius: 0px;
    background: @scrollHandle;
}
QScrollBar::add-line:horizontal {
    width: 14px;
    border: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    background: @scrollAddLineSubLine;
    subcontrol-position: right;
    subcontrol-origin: margin;
    image: url(:/resources/icons/svg/frame-right.svg);
}
QScrollBar::add-line:vertical {
    height: 14px;
    border: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background: @scrollAddLineSubLine;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
    image: url(:/resources/icons/svg/frame-bottom.svg);
}
QScrollBar::sub-line:horizontal {
    width: 14px;
    border: none;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    background: @scrollAddLineSubLine;
    subcontrol-position: left;
    subcontrol-origin: margin;
    image: url(:/resources/icons/svg/frame-left.svg);
}
QScrollBar::sub-line:vertical {
    height: 14px;
    border: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    background: @scrollAddLineSubLine;
    subcontrol-position: top;
    subcontrol-origin: margin;
    image: url(:/resources/icons/svg/frame-top.svg);
}
QScrollBar::up-arrow:horizontal,
QScrollBar::down-arrow:horizontal {
    background: none;
}
QScrollBar::up-arrow:vertical,
QScrollBar::down-arrow:vertical {
    background: none;
}
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
    background: none;
}
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical {
    background: none;
}
QAbstractScrollArea::corner {
    background: transparent;
}


/**************************************************************************
**  QHeaderView
**************************************************************************/

QHeaderView {
    color: @headerTextColor;
    background-color: transparent;
}
QHeaderView::section {
    border-radius: 0px;
    background-color: @headerBackground;
}
QHeaderView::section:horizontal {
    height: 28px;
    border-left: 0px;
    border-top: 0px solid @headerBorder;
    border-bottom: 0px solid @headerBorder;
    border-right: 1px solid @headerBorder;
    padding-left: 3px;
    padding-right: 3px;
}
QHeaderView::section:vertical {
    width: 0px;
    border-left: 0px;
    border-top: 0px;
    border-right: 1px solid @tableBorder;
    border-bottom: 0px;
    background-color: transparent;
}
QHeaderView::up-arrow {
    width: 13px;
    height: 9px;
    subcontrol-position: center right;
    subcontrol-origin: padding;
}
QHeaderView::down-arrow {
    width: 13px;
    height: 9px;
    subcontrol-position: center right;
    subcontrol-origin: padding;
}


/**************************************************************************
**  QTableWidget
**************************************************************************/

QTableWidget {
    outline: none;
    padding-bottom: 0px;
    border-radius: 0px;
    color: @headerTextColor;
    background-color: @tableBackground;
    alternate-background-color: @tableAlternateBackground;
}
QTableWidget QTableCornerButton {}
QTableWidget QTableCornerButton::section {
    border-left: 0px;
    border-top: 0px;
    border-right: 1px solid @tableBorder;
    border-bottom: 0px;
}
QTableWidget::item {
    padding-left: -3px;
    padding-right: 5px;
    border-right: 1px solid @tableBorder;
    border-bottom: 1px solid @tableBorder;
}
QTableWidget::item:selected {
    padding-left: -3px;
    padding-right: 5px;
    color: @tableTextSelected;
    border-right: 1px solid @tableBorder;
    border-bottom: 1px solid @tableBorder;
    background-color: @tableRowSelectedBackground;
}

#TableWidgetLabel {
    color: #09161E; font: 48pt; font-style: oblique;
    font-weight: 500;
}

/**************************************************************************
**  QTreeWidget
**************************************************************************/

QTreeWidget {
    outline: none;
    color: @headerTextColor;
    background-color: @tableBackground;
    alternate-background-color: @tableAlternateBackground;
}
QTreeWidget::item {
    min-height: 22px;
    margin-top: 2px;
    border-right: 1px solid @tableBorder;
}
QTreeWidget::item:selected {
    min-height: 22px;
    border-right: 1px solid @tableBorder;
    color: @tableTextSelected;
    background-color: #1C252F;
}
QTreeWidget::item:selected:active {
    min-height: 22px;
    border-right: 1px solid @tableBorder;
    color: @tableTextSelected;
    background-color: #1C252F;
}
QTreeWidget::item:selected:!active {
    min-height: 22px;
    border-right: 1px solid @tableBorder;
    color: @tableTextSelected;
    background-color: #1C252F;
}


QTreeView::branch {
    background: @tableBackground;
}
QTreeView::branch:has-siblings:!adjoins-item {
    background: @tableBackground;
}
QTreeView::branch:has-siblings:adjoins-item {
    background: @tableBackground;
}
QTreeView::branch:!has-children:!has-siblings:adjoins-item {
    background: @tableBackground;
}
QTreeView::branch:closed:has-children:has-siblings {
    background: @tableBackground;
}
QTreeView::branch:has-children:!has-siblings:closed {
    background: @tableBackground;
}
QTreeView::branch:open:has-children:has-siblings {
    background: @tableBackground;
}
QTreeView::branch:open:has-children:!has-siblings {
    background: @tableBackground;
}


QTreeWidget::branch:has-siblings:!adjoins-item {
    padding-bottom: 2px 0;
    padding-top: 2px 0;
    padding-left: 4px 0;
    border-image: url(:/resources/icons/16x16/cil-null.png) 0;
}
QTreeWidget::branch:has-siblings:adjoins-item {
    padding-bottom: 2px 0;
    padding-top: 2px 0;
    padding-left: 4px 0;
    border-image: url(:/resources/icons/16x16/cil-null.png) 0;
}
QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {
    padding-bottom: 2px 0;
    padding-top: 2px 0;
    padding-left: 4px 0;
    border-image: url(:/resources/icons/16x16/cil-null.png) 0;
}
QTreeWidget::branch:has-children:!has-siblings:closed,
QTreeWidget::branch:closed:has-children:has-siblings {
    padding-bottom: 7px;
    padding-top: 7px;
    padding-left: 4px;
    image: url(:/resources/icons/16x16/cil-arrow-right-.png);
}
QTreeWidget::branch:open:has-children:!has-siblings,
QTreeWidget::branch:open:has-children:has-siblings {
    padding-bottom: 7px;
    padding-top: 7px;
    padding-left: 4px;
    image: url(:/resources/icons/16x16/cil-arrow-bottom.png);
}


/**************************************************************************
**  QTabWidget
**************************************************************************/

QTabWidget {
    qproperty-tabPosition: North;
    color: @frameTextColor;
    background-color: @frameMiddleBackground;
}
QTabWidget::tab-bar {
    alignment: left;
    background-color: @frameMiddleBackground;
}
QTabWidget::pane {
    top:-1px;
    border: 1px solid @frameMiddleBorder;
    background-color: @frameMiddleBackground;
}

/*********************************************/

QTabWidget#tabWidgetStreams {
    qproperty-tabPosition: North;
    color: @frameTextColor;
    background-color: @frameMiddleBackground;
}
QTabWidget::tab-bar#tabWidgetStreams {
    alignment: left;
    background-color: @frameMiddleBackground;
}
QTabWidget::pane#tabWidgetStreams {
    top:-1px;
    border: 1px solid @frameMiddleBorder;
    background-color: @frameMiddleBackground;
}

/*********************************************/

QTabWidget#tabWidgetSettings {
    qproperty-tabPosition: South;
    color: @frameTextColor;
    background-color: @mainBackground;
}
QTabWidget::tab-bar#tabWidgetSettings {
    alignment: left;
    height: 0px;
    background-color: @mainBackground;
}
QTabWidget::pane#tabWidgetSettings {

    border: none;
    background-color: @mainBackground;
}


/**************************************************************************
**  QCheckBox
**************************************************************************/

QCheckBox {
    spacing: 12px;
    color: #A0A5AA;
    background-color: transparent;
}
QCheckBox:disabled {
    color: #A0A5AA;
}
QCheckBox::indicator {
    width: 12px;
    height: 12px;
    border: 2px solid #5A5A5A;
    background: none;
}
QCheckBox::indicator:disabled {
    border: 2px solid #3C3C3C;
}
QCheckBox::indicator:checked {
    border: 2px solid #5A5A5A;
    image: url(:/resources/icons/16x16/cil-check-alt.png);
}
QCheckBox::indicator:checked:disabled {
    border: 2px solid #3C3C3C;
    image: url(:/resources/icons/16x16/cil-check-alt.png);
}


/**************************************************************************
**  QComboBox
**************************************************************************/

QComboBox {
    padding: 0px;
    padding-left: 5px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: @elementsTextColor;
    background-color: @elementsBackgroundColor;
}
QComboBox#comboBoxView {
    padding: 0px;
    padding-left: 22px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: @elementsTextColor;
    background-color: @elementsBackgroundColor;

    background-image: url(:/resources/icons/16x16/cil-screen-desktop.png);
    background-repeat: no-repeat;
    background-position: left;
}
QComboBox#comboBoxMode {
    padding: 0px;
    padding-left: 22px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: @elementsTextColor;
    background-color: @elementsBackgroundColor;

    background-image: url(:/resources/icons/16x16/cil-layers.png);
    background-repeat: no-repeat;
    background-position: left;
}
QComboBox#comboBoxPreset {
    padding: 0px;
    padding-left: 22px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: @elementsTextColor;
    background-color: @elementsBackgroundColor;

    background-image: url(:/resources/icons/16x16/cil-low-vision.png);
    background-repeat: no-repeat;
    background-position: left;
}
QComboBox:disabled {
    padding: 0px;
    padding-left: 5px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: @elementsTextDisabled;
    background-color: @elementsBackgroundColor;
}
QComboBox:hover {
    border: 2px solid @elementsBorderHover;
}
QComboBox:hover#comboBoxView,
QComboBox:hover#comboBoxMode,
QComboBox:hover#comboBoxPreset {
    border: 2px solid @elementsBorderHover;
}
QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 20px;
    border-left-width: 3px;
    border-left-color: @elementsBorderDropDown;
    border-left-style: solid;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-image: url(:/resources/icons/16x16/cil-arrow-bottom.png);
    background-position: center;
    background-repeat: no-reperat;
}
QComboBox QAbstractItemView {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    color: @elementsTextAbstractItem;
    background-color: @elementsBackgroundAbstractItem;
    /*selection-background-color: @elementsBackgroundSelectedAbstractItem;*/
}
QComboBox QAbstractItemView::item {
    color: @elementsTextAbstractItem;
    background-color: @elementsBackgroundAbstractItem;
    /*selection-background-color: @elementsBackgroundSelectedAbstractItem;*/
}
QComboBox QListView::item {
    min-height: 16px;
}


/**************************************************************************
**  QSpinBox
**************************************************************************/

QSpinBox, QDoubleSpinBox {
    padding: 0px;
    padding-left: 5px;
    border-radius: 0px;
    border: 2px solid #1B1D23;
    color: #B4B4B4;
    background-color: #1B1D23;
}
QSpinBox:disabled, QDoubleSpinBox:disabled {
    padding: 0px;
    padding-left: 5px;
    border-radius: 0px;
    border: 2px solid #1B1D23;
    color: #62676F;
    background-color: #1B1D23;
}
QSpinBox:hover, QDoubleSpinBox:hover {
    border: 2px solid #404758;
}
QSpinBox::up-button, QDoubleSpinBox::up-button {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 20px;
    border-left-width: 3px;
    border-left-color: #22262E;
    border-left-style: solid;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-image: url(:/resources/icons/16x16/cil-arrow-top.png);
    background-position: center;
    background-repeat: no-reperat;
}
QSpinBox::down-button, QDoubleSpinBox::down-button {
    subcontrol-origin: padding;
    subcontrol-position: bottom right;
    width: 20px;
    border-left-width: 3px;
    border-left-color: #22262E;
    border-left-style: solid;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-image: url(:/resources/icons/16x16/cil-arrow-bottom.png);
    background-position: center;
    background-repeat: no-reperat;
}
QSpinBox QAbstractItemView, QDoubleSpinBox QAbstractItemView {
    padding: 5px;
    color: #55AAFF;
    background-color: #1B1D23;
    selection-background-color: #272C36;
}


/**************************************************************************
**  QLabel
**************************************************************************/

QLabel {
    color: #D2D2D2;
    background-color: transparent;
}
QLabel:disabled {
    color: @frameTextColor;
    background-color: transparent;
}

QLabel#labelPreview {
    color: @frameHeaderBackground;
    font: 24pt; font-style: oblique; font-weight: 500;
    background-color: @frameMiddleBackground;
}

QLabel#labelSplitPreview {
    color: @frameHeaderBackground;
    font: 24pt;
    font-style: oblique;
    background-color: #050505;
}

QLabel#label_source,
QLabel#label_output {
    color: #DCDCDC;
    background-color: transparent;
}

QLabel#label_53,
QLabel#label_54,
QLabel#label_55{
    color: #62676F;
    background-color: transparent;
}


/**************************************************************************
**  QLineEdit
**************************************************************************/

QLineEdit {
    padding-left: 3px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: #DCDCDC;
    background-color: @elementsBackgroundColor;
}
QLineEdit:hover {
    border: 2px solid @elementsBorderHover;
}
QLineEdit:focus {
    border: 2px solid #5B657C;
}
QLineEdit:disabled {
    padding-left: 3px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: #696E78;
    background-color: @elementsBackgroundColor;
}

QLineEdit#lineEditGlobalTitle {
    padding-left: 20px;
    border-radius: 0px;
    border-left: 5px solid @elementsBorderColor;
    border-top: 2px solid @elementsBorderColor;
    border-bottom: 2px solid @elementsBorderColor;
    border-right: 2px solid @elementsBorderColor;
    color: #B4B4B4;
    background-color: @elementsBackgroundColor;
    background-image: url(:/resources/icons/16x16/cil-tags.png);
    background-repeat: no-repeat;
    background-position: left;
}
QLineEdit:hover#lineEditGlobalTitle {
    border: 2px solid @elementsBorderHover;
}
QLineEdit:focus#lineEditGlobalTitle {
    border: 2px solid #5B657C;
}
QLineEdit:disabled#lineEditGlobalTitle {
    padding-left: 20px;
    border-radius: 0px;
    border-left: 5px solid @elementsBorderColor;
    border-top: 2px solid @elementsBorderColor;
    border-bottom: 2px solid @elementsBorderColor;
    border-right: 2px solid @elementsBorderColor;
    color: #696E78;
    background-color: @elementsBackgroundColor;
}

QLineEdit:disabled#lineEditPreset {
    padding-left: 3px;
    border-radius: 0px;
    border: 2px solid @elementsBorderColor;
    color: #B4B4B4;
    background-color: @elementsBackgroundColor;
}


/**************************************************************************
**  QTextBrowser
**************************************************************************/

QTextBrowser {
    border: 1px solid transparent;
    color: @headerTextColor;
    background-color: transparent;
}
QTextBrowser#textBrowser_task {
    border: 1px solid transparent;
    color: #D2D2D2;
    background-color: @mainBackground;
}
QTextBrowser#textBrowser_presetname {
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 2px;
    border: none;
    color: #B2B2B2;
    background-color: #1B1D23;
}
QTextBrowser#textBrowser_log {
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 2px;
    border: none;
    color: #B2B2B2;
    background-color: @tableBackground;
}

/**************************************************************************
**  QPushButton
**************************************************************************/

QPushButton {
        border: none;
        border-radius: 3px;
        color: #DCDCDC;
        background-color: transparent;
}
QPushButton:hover {
        border: none;
        color: #55AAFF;
        background-color: transparent;
}
QPushButton:pressed {
        border: none;
        color: #343B48;
        background-color: transparent;
}
QPushButton::menu-indicator {
        height: 0px;
        background-color: transparent;
}

/*********************************************/

QPushButton#buttonReset {
        border: none;
        image: url(:/resources/icons/16x16/cil-history.png);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#addFilesHot {
        border: none;
        image: url(:/resources/icons/12x12/cil-input.png);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#setOutFolder {
        border: none;
        image: url(:/resources/icons/12x12/cil-output.png);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#settings {
        border: none;
        image: url(:/resources/icons/16x16/cil-settings.png);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#expandBtn {
    border: none;
    border-radius: 0px;
    image: url(:/resources/icons/svg/frame-bottom_black.svg);
    color: @elementsTextColor;
    background-color: transparent;
}
QPushButton#expandBtn[expanded=true] {
    image: url(:/resources/icons/svg/frame-top_black.svg);
}
QPushButton#hideWindow {
        border: none;
        border-radius: 0px;
        padding: 7px;
        image: url(:/resources/icons/svg/minimize.svg);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#expandWindow {
        border: none;
        border-radius: 0px;
        padding: 7px;
        image: url(:/resources/icons/svg/restore.svg);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#expandWindow[expanded=true] {
        image: url(:/resources/icons/svg/expand.svg);
}
QPushButton#closeWindow {
        border: none;
        border-radius: 0px;
        padding: 7px;
        image: url(:/resources/icons/svg/close.svg);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#closeReport {
        border: none;
        image: url(:/resources/icons/svg/close.svg);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#closeTWindow {
        border: none;
        padding: 5px;
        image: url(:/resources/icons/16x16/cil-x.png);
        color: @elementsTextColor;
        background-color: transparent;
}
QPushButton#start {
    padding: 3px;
    image: url(:/resources/icons/svg/play.svg);
}
QPushButton#start[status="1"] {
    image: url(:/resources/icons/svg/pause.svg);
}
QPushButton#start[status="2"] {
    image: url(:/resources/icons/svg/forward.svg);
}
QPushButton#report {
    image: url(:/resources/icons/svg/order-history.svg);
    background-color: transparent;
}
QPushButton:hover#resetLabels,
QPushButton:hover#addExtStream,
QPushButton:hover#clearTitles,
QPushButton:hover#undoTitles,
QPushButton:hover#clearMetadata,
QPushButton:hover#undoMetadata,
QPushButton:hover#addPreset,
QPushButton:hover#removePreset,
QPushButton:hover#editPreset,
QPushButton:hover#addFiles,
QPushButton:hover#removeFile,
QPushButton:hover#removeAllFiles,
QPushButton:hover#sortUp,
QPushButton:hover#sortDown,
QPushButton:hover#stop,
QPushButton:hover#start,
QPushButton:hover#buttonReset,
QPushButton:hover#addFilesHot,
QPushButton:hover#setOutFolder,
QPushButton:hover#settings,
QPushButton:hover#expandBtn,
QPushButton:hover#hideWindow,
QPushButton:hover#expandWindow,
QPushButton:hover#closeReport,
QPushButton:hover#closeTWindow {
    background-color: #343B48;
}
QPushButton:hover#closeWindow {
    background-color: #EE0000;
}
QPushButton:hover#report {
    image: url(:/resources/icons/svg/order-history_white.svg);
}
QPushButton:pressed#resetLabels,
QPushButton:pressed#addExtStream,
QPushButton:pressed#clearTitles,
QPushButton:pressed#undoTitles,
QPushButton:pressed#clearMetadata,
QPushButton:pressed#undoMetadata,
QPushButton:pressed#addPreset,
QPushButton:pressed#removePreset,
QPushButton:pressed#editPreset,
QPushButton:pressed#addFiles,
QPushButton:pressed#removeFile,
QPushButton:pressed#removeAllFiles,
QPushButton:pressed#sortUp,
QPushButton:pressed#sortDown,
QPushButton:pressed#stop,
QPushButton:pressed#start,
QPushButton:pressed#buttonReset,
QPushButton:pressed#addFilesHot,
QPushButton:pressed#setOutFolder,
QPushButton:pressed#settings,
QPushButton:pressed#hideWindow,
QPushButton:pressed#expandWindow,
QPushButton:pressed#closeWindow,
QPushButton:pressed#closeReport,
QPushButton:pressed#closeTWindow {
    background-color: #55AAFF;
}
QPushButton:pressed#report {
    border-radius: 0px;
    background-color: #55AAFF;
}

/*********************************************/

QPushButton#buttonTab_1,
QPushButton#buttonTab_2,
QPushButton#buttonTab_3,
QPushButton#buttonTab_4 {
    text-align: center right;
    padding-right: 12px;
    border: none;
    border-radius: 0px;
    color: #A0A5AA;
    background-color: transparent;
}
QPushButton:disabled#buttonTab_1,
QPushButton:disabled#buttonTab_2,
QPushButton:disabled#buttonTab_3,
QPushButton:disabled#buttonTab_4 {
    border: none;
    color: #D2D2D2;
    background-color: #1B1D23;
}
QPushButton:hover#buttonTab_1,
QPushButton:hover#buttonTab_2,
QPushButton:hover#buttonTab_3,
QPushButton:hover#buttonTab_4 {
    background-color: #343B48;
}
QPushButton:pressed#buttonTab_1,
QPushButton:pressed#buttonTab_2,
QPushButton:pressed#buttonTab_3,
QPushButton:pressed#buttonTab_4 {
    background-color: #55AAFF;
}

/*********************************************/

QPushButton#framePrev {
    padding-left: 2px;
    padding-right: 2px;
    text-align: right center;
    border: 0px solid #373C46;
    color: #D2D2D2;
    background-color: transparent;
    image: url(:/resources/icons/16x16/cil-frame-left.png);
    image-position: center;
}
QPushButton#frameNext {
    padding-left: 2px;
    padding-right: 2px;
    text-align: left center;
    border: 0px solid #373C46;
    color: #D2D2D2;
    background-color: transparent;
    image: url(:/resources/icons/16x16/cil-frame-right.png);
    image-position: center;
}
QPushButton#buttonTempPath,
QPushButton#buttonOutputPath {
    border: 1px solid #373C46;
    color: #D2D2D2;
    background-color: transparent;
    image: url(:/resources/icons/16x16/cil-options-horizontal.png);
    image-position: center;
}
QPushButton#setStartTime,
QPushButton#setEndTime,
QPushButton#buttonConfigure {
    border: 1px solid #373C46;
    color: #D2D2D2;
    background-color: transparent;
}
QPushButton:disabled#framePrev,
QPushButton:disabled#frameNext,
QPushButton:disabled#setStartTime,
QPushButton:disabled#setEndTime,
QPushButton:disabled#buttonConfigure,
QPushButton:disabled#buttonTempPath,
QPushButton:disabled#buttonOutputPath {
    border: 1px solid #373C46;
    color: #62676F;
    background-color: transparent;
}
QPushButton:hover#framePrev,
QPushButton:hover#frameNext,
QPushButton:hover#setStartTime,
QPushButton:hover#setEndTime,
QPushButton:hover#buttonConfigure,
QPushButton:hover#buttonTempPath,
QPushButton:hover#buttonOutputPath {
    background-color: #343B48;
}
QPushButton:pressed#framePrev,
QPushButton:pressed#frameNext,
QPushButton:pressed#setStartTime,
QPushButton:pressed#setEndTime,
QPushButton:pressed#buttonConfigure,
QPushButton:pressed#buttonTempPath,
QPushButton:pressed#buttonOutputPath {
    background-color: #55AAFF;
}

/*********************************************/

QPushButton#applyPreset {
    border-radius: 3px;
    border: 1px solid @frameMiddleBorder;
    color: @frameTextColor;
    background-color: transparent;
}
QPushButton:disabled#applyPreset {
    border-radius: 3px;
    border: 1px solid @frameMiddleBorder;
    color: #62676F;
    background-color: transparent;
}
QPushButton:hover#applyPreset {
    background-color: #343B48;
}
QPushButton:pressed#applyPreset {
    background-color: #55AAFF;
}

/*********************************************/

QPushButton#buttonCancel,
QPushButton#buttonApply,
QPushButton#buttonPayPal,
QPushButton#buttonBitcoin {
    border-radius: 1px;
    border: 1px solid #1E2F50;
    color: #FFFFFF;
    background-color: #1E2F50;
}

QPushButton:hover#buttonCancel,
QPushButton:hover#buttonApply,
QPushButton:hover#buttonPayPal,
QPushButton:hover#buttonBitcoin {
    border: 1px solid #3D4656;
    background-color: #394150;
}

QPushButton:pressed#buttonCancel,
QPushButton:pressed#buttonApply,
QPushButton:pressed#buttonPayPal,
QPushButton:pressed#buttonBitcoin {
    border: 1px solid #2B323D;
    background-color: #232831;
}


/**************************************************************************
**  QRadioButton
**************************************************************************/

QRadioButton {
    background: none;
}
QRadioButton::indicator {
    width: 12px; height: 12px;
}
QRadioButton::indicator::unchecked {
    image: url(:/resources/icons/svg/uncheck.svg);
}
QRadioButton::indicator::checked {
    image: url(:/resources/icons/svg/check.svg);
}


/**************************************************************************
**  QProgressBar
**************************************************************************/

QProgressBar {
    width: 15px;
    border-top-left-radius: @elementsBorderRadius;
    border-top-right-radius: @elementsBorderRadius;
    border-bottom-left-radius: @elementsBorderRadius;
    border-bottom-right-radius: @elementsBorderRadius;
    text-align: center;
    color: #D2D2D2;
    background: #0B101A;
}
QProgressBar::chunk {
    border-top-left-radius: @elementsBorderRadius;
    border-top-right-radius: @elementsBorderRadius;
    border-bottom-left-radius: @elementsBorderRadius;
    border-bottom-right-radius: @elementsBorderRadius;
    background: #133685;
}

/*********************************************/

QProgressBar#progressBar_opening {
    width: 15px;
    border-top-left-radius: @elementsBorderRadius;
    border-top-right-radius: @elementsBorderRadius;
    border-bottom-left-radius: @elementsBorderRadius;
    border-bottom-right-radius: @elementsBorderRadius;
    text-align: center;
    color: #D2D2D2;
    background: #0B101A;
}
QProgressBar::chunk#progressBar_opening {
    border-top-left-radius: @elementsBorderRadius;
    border-top-right-radius: @elementsBorderRadius;
    border-bottom-left-radius: @elementsBorderRadius;
    border-bottom-right-radius: @elementsBorderRadius;
    background: #133685;
}


/**************************************************************************
**  QSlider
**************************************************************************/

QSlider {
    padding-left: 4px;
    padding-right: 4px;
    background-color: transparent;
}
QSlider::groove:horizontal {
    height: 6px;
    padding-left: -4px;
    padding-right: -4px;
    border: 1px solid #082028;
    border-radius: 0px;
    background-color: #082028;
}
QSlider::sub-page:horizontal {
    border: 1px solid #08283C;
    border-radius: 0px;
    background-color: #08283C;
}
QSlider::handle:horizontal {
    image: url(:/resources/icons/16x16/cil-cursor-center.png);
    width: 16px;
    padding-left: -4px;
    padding-right: -4px;
    margin-top: -5px;
    margin-bottom: -5px;
    border: none;
    border-radius: 0px;
    background-color: transparent;
}
QSlider::sub-page:horizontal:disabled {
    border: 1px solid #082028;
    border-radius: 0px;
    background-color: #082028;
}
QSlider::handle:horizontal:disabled {
    width: 16px;
    padding-left: -4px;
    padding-right: -4px;
    margin-top: -5px;
    margin-bottom: -5px;
    border: none;
    border-radius: 0px;
    background-color: transparent;
}

/*********************************************/

QSlider#sliderResize {
    padding-left: 22px;
    padding-right: 5px;
    border: 1px dotted #082028;
    background-color: transparent;

    background-image: url(:/resources/icons/16x16/cil-screen-desktop.png);
    background-repeat: no-repeat;
    background-position: left;
}
QSlider::groove:horizontal#sliderResize {
    height: 2px;
    padding-left: 3px;
    padding-right: 3px;
    border: 0px solid #082028;
    border-radius: 2px;
    background-color: #082028;
}
QSlider::sub-page:horizontal#sliderResize {
    border: 0px solid #08283C;
    border-radius: 2px;
    background-color: #08283C;
}
QSlider::handle:horizontal#sliderResize {
    image: none;
    width: 8px;
    padding: 0px;
    margin: -4px;
    border: 1px solid #175C7F;
    border-radius: 4px;
    background-color: #175C7F;
}
QSlider::sub-page:horizontal:disabled#sliderResize {
    border: 0px solid #082028;
    border-radius: 2px;
    background-color: #082028;
}
QSlider::handle:horizontal:disabled#sliderResize {
    width: 8px;
    padding: 0px;
    margin: -4px;
    border: 1px solid #22252D;
    border-radius: 4px;
    background-color: #22252D;
}


/**************************************************************************
**  QGroupBox
**************************************************************************/

QGroupBox {
    border: 1px solid @frameMiddleBorder;
    margin-top: 12px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    background: @frameMiddleBackground;
}
QGroupBox::title {
    subcontrol-origin: margin;
    subcontrol-position: top left;
    top: 0 ex;
    left: 12px;
    padding: 5px 5px;
    color: @frameTextColor;
}

/*********************************************/

QGroupBox#groupBoxSettings_1,
QGroupBox#groupBoxSettings_2,
QGroupBox#groupBoxSettings_3,
QGroupBox#groupBoxSettings_4,
QGroupBox#groupBoxSettings_5,
QGroupBox#groupBoxSettings_6,
QGroupBox#groupBoxSettings_7,
QGroupBox#groupBoxSettings_8,
QGroupBox#groupBoxSettings_9,
QGroupBox#groupBoxSettings_10
{
    border: 1px solid @frameMiddleBorder;
    margin-top: 21px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    background: @frameMiddleBackground;
}
QGroupBox::title#groupBoxSettings_1,
QGroupBox::title#groupBoxSettings_2,
QGroupBox::title#groupBoxSettings_3,
QGroupBox::title#groupBoxSettings_4,
QGroupBox::title#groupBoxSettings_5,
QGroupBox::title#groupBoxSettings_6,
QGroupBox::title#groupBoxSettings_7,
QGroupBox::title#groupBoxSettings_8,
QGroupBox::title#groupBoxSettings_9,
QGroupBox::title#groupBoxSettings_10
{
    subcontrol-origin: margin;
    subcontrol-position: top left;
    top: -1 ex;
    left: 6px;
    padding: 0px 0px 0px 0px;
    color: #D2D2D2;
}


/**************************************************************************
**  VLine
**************************************************************************/

QFrame[frameShape="4"],
QFrame[frameShape="5"] {
    border: none;
    background-color: #353548;
}


/**************************************************************************
**  QDockWidget
**************************************************************************/

QDockWidget {
    titlebar-close-icon: url(:/resources/icons/16x16/cil-x.png);
    titlebar-normal-icon: url(:/resources/icons/16x16/cil-pin.png);
    color: @frameTextColor;
}
QDockWidget::title {
    padding-left: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center left;
    border-left: 1px solid @frameEdgeBorder;
    border-top: 1px solid @frameEdgeBorder;
    border-right: 1px solid @frameEdgeBorder;
    background: @frameHeaderBackground;
}
QDockWidget::close-button,
QDockWidget::float-button {
    icon-size: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    border: none;
    border-radius: 3px;
    background: @frameHeaderBackground;
}
QDockWidget::close-button:hover,
QDockWidget::float-button:hover {
    background: #343B48;
}
QDockWidget::close-button:pressed,
QDockWidget::float-button:pressed {
    background-color: #55AAFF;
}
QDockWidget::close-button {
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    top: 1px; bottom: 0px; right: 1px;
    subcontrol-position: center right;
    subcontrol-origin: margin;
    position: absolute;

}
QDockWidget::float-button {
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    top: 1px; bottom: 0px; right: 24px;
    subcontrol-position: center right;
    subcontrol-origin: margin;
    position: absolute;

}

QTabBar, QDockWidget QTabBar {
    /*qproperty-drawBase: 0;*/
    color: @frameTextColor;
}
QTabBar::tab, QDockWidget QTabBar::tab {
}

QTabBar::tab:top, QDockWidget QTabBar::tab:top {
    min-width: 50px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px solid @frameMiddleBorder;
    background-color: @frameMiddleBackground;
}
QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: -1px;
    border: 1px solid @frameMiddleBorder;
    background-color: @tableBackground;
}
QTabBar::tab:top:!selected, QDockWidget QTabBar::tab:top:!selected {
    background-color: @frameMiddleBackground;
}

QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
    min-width: 50px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
    background-color: @frameMiddleBackground;
}
QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: -1px;
    border-left: 1px solid @frameMiddleBorder;
    border-right: 1px solid @frameMiddleBorder;
    border-bottom: 1px solid @frameMiddleBorder;
    border-top: none;
    background-color: @frameHeaderBackground;
}
QTabBar::tab:bottom:!selected, QDockWidget QTabBar::tab:bottom:!selected {
    background-color: @frameMiddleBackground;
}

