*{
    font-size: 10pt;
    font-family: "Poppins";
}

QWidget {
    color: #bfccd6;
    background-color: #282C34;
    border-radius: 0px;
}

QMenu {
    border: 1px solid #555555;
    background-color: #21252B;
}

QMenu::item {
    padding: 5px 10px 5px 10px;
    border-left: 5px solid #313741;;
}

QMenu::item:selected {
    border-left-color: rgb(84, 209, 178);
    background-color: #222d37;
}

QLineEdit, QPlainTextEdit {
    border: 1px solid #464b54;
    border-radius: 3px;
    background-color: #21252B;
    padding: 0.5em;
}

QLineEdit[state="valid"] {
    background-color: rgb(19, 19, 19);
    color: rgb(64, 230, 132);
    border-color: rgb(32, 64, 32);
}

QLineEdit[state="invalid"] {
    background-color: rgb(32, 19, 19);
    color: rgb(255, 69, 0);
    border-color: rgb(64, 32, 32);
}

QLabel {
    background: transparent;
    color: #969b9e;
}

QLabel:hover {color: #b8c1c5;}

QPushButton {
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    padding: 5px;
}

QPushButton:hover {
    background-color: #333840;
    border: 1px solid #fff;
    color: #fff;
}

QTableView {
    border: 1px solid #444;
    gridline-color: #6c6c6c;
    background-color: #201F1F;
    alternate-background-color:#21252B;
}

QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed  {
    background: #78879b;
    color: #FFFFFF;
}

QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active  {
    background: #3d8ec9;
}

QProgressBar {
    border: 1px solid grey;
    border-radius: 10px;
    color: #222222;
    font-weight: bold;
}
QProgressBar:horizontal {
    height: 20px;
}

QProgressBar::chunk {
    border-radius: 10px;
    background-color: qlineargradient(
        x1: 0,
        y1: 0.5,
        x2: 1,
        y2: 0.5,
        stop: 0 rgb(72, 200, 150),
        stop: 1 rgb(82, 172, 215)
    );
}


QScrollBar:horizontal {
    height: 15px;
    margin: 3px 15px 3px 15px;
    border: 1px transparent #21252B;
    border-radius: 4px;
    background-color: #21252B;
}

QScrollBar::handle:horizontal {
    background-color: #4B5362;
    min-width: 5px;
    border-radius: 4px;
}

QScrollBar::add-line:horizontal {
    margin: 0px 3px 0px 3px;
    border-image: url(:/qss_icons/rc/right_arrow_disabled.png);
    width: 10px;
    height: 10px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:horizontal {
    margin: 0px 3px 0px 3px;
    border-image: url(:/qss_icons/rc/left_arrow_disabled.png);
    height: 10px;
    width: 10px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}

QScrollBar::add-line:horizontal:hover,QScrollBar::add-line:horizontal:on {
    border-image: url(:/qss_icons/rc/right_arrow.png);
    height: 10px;
    width: 10px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on {
    border-image: url(:/qss_icons/rc/left_arrow.png);
    height: 10px;
    width: 10px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}

QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal {
    background: none;
}

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

QScrollBar:vertical {
    background-color: #21252B;
    width: 15px;
    margin: 15px 3px 15px 3px;
    border: 1px transparent #21252B;
    border-radius: 4px;
}

QScrollBar::handle:vertical {
    background-color: #4B5362;
    min-height: 5px;
    border-radius: 4px;
}

QScrollBar::sub-line:vertical {
    margin: 3px 0px 3px 0px;
    border-image: url(:/qss_icons/rc/up_arrow_disabled.png);
    height: 10px;
    width: 10px;
    subcontrol-position: top;
    subcontrol-origin: margin;
}

QScrollBar::add-line:vertical {
    margin: 3px 0px 3px 0px;
    border-image: url(:/qss_icons/rc/down_arrow_disabled.png);
    height: 10px;
    width: 10px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:vertical:hover,QScrollBar::sub-line:vertical:on {

    border-image: url(:/qss_icons/rc/up_arrow.png);
    height: 10px;
    width: 10px;
    subcontrol-position: top;
    subcontrol-origin: margin;
}


QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on {
    border-image: url(:/qss_icons/rc/down_arrow.png);
    height: 10px;
    width: 10px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}

QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
    background: none;
}


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

#MainLabel {
    color: rgb(200, 200, 200);
    font-size: 12pt;
}

#Console {
    background-color: #21252B;
    color: rgb(72, 200, 150);
    font-family: "Roboto Mono";
    font-size: 8pt;
}

#ExitBtn {
    /* `border` must be set to background of flat button is painted .*/
    border: none;
    color: rgb(39, 39, 39);
    background-color: #828a97;
    padding: 0.5em;
    font-weight: 400;
}

#ExitBtn:hover{
    background-color: #b2bece
}
#ExitBtn:disabled {
    background-color: rgba(185, 185, 185, 31);
    color: rgba(64, 64, 64, 63);
}

#ButtonWithOptions QPushButton{
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border: none;
    background-color: rgb(84, 209, 178);
    color: rgb(39, 39, 39);
    font-weight: 400;
    padding: 0.5em;
}
#ButtonWithOptions QPushButton:hover{
    background-color: rgb(85, 224, 189)
}
#ButtonWithOptions QPushButton:disabled {
    background-color: rgba(72, 200, 150, 31);
    color: rgba(64, 64, 64, 63);
}

#ButtonWithOptions QToolButton{
    border: none;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-color: rgb(84, 209, 178);
    color: rgb(39, 39, 39);
}
#ButtonWithOptions QToolButton:hover{
    background-color: rgb(85, 224, 189)
}
#ButtonWithOptions QToolButton:disabled {
    background-color: rgba(72, 200, 150, 31);
    color: rgba(64, 64, 64, 63);
}
