#main-window #window-container {
    background-color: #373835;
}

#header {
    position: relative;
    background-color: transparent;
    max-height: 25px;
    min-height: 25px;
    width: auto;
    border-top: 1px solid #41423f;
    border-bottom: 1px solid #2F2F2D;
}

QMenuBar::item {
    position: relative;
    margin: 0;
    top: 0;
    padding-top: 0;
    padding-bottom: 1px;
    padding-right: 4px;
    padding-left: 4px;
    background-color: transparent;
    float: left;
    font-size: 14px;
    border: none;
}

QMenuBar::item:pressed {
    background-color: #355A80;
}

QMenuBar {
    border: none;
    margin: 0;
    padding: 0;
    min-height: 24px;
    background-color: transparent;
    spacing: 0;
    color: #afb1b3;
    font-size: 14px;
}

QMenu {
    margin: 0;
    padding: 0;
    background-color: #373835;
    color: #afb1b3;
    border: 1px solid #41423f;
    min-width: 200px;
    font-size: 14px;
}

QMenu::item {
    padding: 4px 5px 4px 25px;
    min-width: 200px;
}

QMenu::item:selected {
    background-color: #355A80;
}

QMenu::item:disabled {
    color: #808484;
}

QMenu::separator {
    border-top: 1px solid #41423f;
    height: 1px;
}

QMenu#help-menu::separator {
    margin: 1px 0;
}

#header-tool-bar {
    min-height: 27px;
    margin-left: 10px;
}

#header-tool-bar QHBoxLayout {
    margin-left: 10px;
}

#header-tool-bar QToolButton {
    background-color: transparent;
    /*max-width: 26px;*/
    /*max-height: 22px;*/
    border: none;
    padding: 0;
    qproperty-buttonWidth: 24;
    qproperty-buttonHeight: 20;
}

#header-tool-bar QToolButton:hover {
    background-color: #454541;
    border: none;
    padding: 0;
}

QToolTip {
    background-color: #474949;
    border: 1px solid #616365;
    color: #afb1b3;
    padding: 1px 2px;
    font-size: 13px;
}

#footer {
    background-color: transparent;
    padding: 0 3px 0 30px;
    max-height: 25px;
    border-top: 1px solid #41423f;
}

#footer QLabel,
#target-variant-menu-bar,
#footer QMenu::item {
    font-size: 14px;
}

#target-variant-menu-bar::item {
    padding: 0 10px 0 4px;
    border-left: 1px solid #41423f;
    margin-bottom: 0;
}

#target-variant-menu-bar::item:selected {
    background-color: #454541;
}

#footer QLabel {
    margin-left: 3px;
}

#target-program-counter-value {
    border-color: #41423f;
    border-style: solid;
    border-width: 0 1px 0 0;
    padding-right: 5px;
    margin-right: 3px;
}

#target-name {
    max-width: 200px;
    padding-right: 0;
    margin-right: 0;
}

#target-id {
    margin-right: 6px;
}

#target-variant-menu-bar {
    min-height: 25px;
}

#target-variant-menu::item {
    padding: 4px 10px 4px 10px;
}

#io-inspection-unavailable {
    color: #838386;
    font-size: 14px;
}

QScrollBar:vertical {
    background-color: transparent;
    width: 12px;
    margin: 1px;
}

QScrollBar:handle:vertical {
    border: none;
    background-color: rgba(69, 69, 66, 0.6);
    min-height: 30px;
}

QScrollBar:handle:vertical:hover {
    background-color: rgba(69, 69, 66, 0.91);
}

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

/* Left-side panel */
#left-side-menu-bar {
    max-width: 22px;
    min-width: 22px;
    background-color: transparent;
    height: auto;
    border-right: 1px solid #2F2F2D;
    text-align: right;
}

#left-side-menu-bar #target-registers-btn {
    position: relative;
    max-width: 22px;
    min-height: 95px;
    border: none;
}

#left-side-menu-bar QToolButton:hover,
#left-side-menu-bar QToolButton:checked {
    background-color: #2F2F2D;
    border: none;
}

#left-panel {
    border-right: 1px solid #2F2F2D;
    background-color: transparent;
}

#left-panel-slider {
    background-color: transparent;
}

/* Target Registers Pane */
#target-registers-side-pane #tool-bar {
    background-color: #383F43;
    border-bottom: 1px solid #2F2F2D;
}

#target-registers-side-pane #title {
    color: #afb1b3;
}

#target-registers-side-pane #tool-bar QToolButton {
    background-color: transparent;
    /*max-width: 26px;*/
    /*max-height: 22px;*/
    border: none;
    padding: 0;
    qproperty-buttonWidth: 23;
    qproperty-buttonHeight: 21;
}

#target-registers-side-pane #tool-bar QToolButton:hover {
    background-color: #40464e;
    border: none;
    padding: 0;
}

#target-registers-side-pane #search-bar {
    background-color: #373835;
    border-bottom: 1px solid #2F2F2D;
}

#target-registers-side-pane #search-input {
    background-color: transparent;
    color: #9b9b9e;
    border: none;
}

#target-registers-side-pane #item-container {
    background-color: transparent;
}

#target-registers-side-pane #header {
    border: none;
}

#target-registers-side-pane #register-group-header[selected=true],
#target-registers-side-pane #register-item[selected=true] {
    background-color: #355A80;
}

#target-registers-side-pane #register-item #value {
    font-size: 13px;
    color: #8a8a8d;
    font-style: italic;
}

#target-registers-side-pane #register-item[selected=false] #value[changed=true] {
    color: #547fba;
}

#target-registers-side-pane #register-item[selected=true] #value[changed=true] {
    color: #8a8a8d;
}

/* Bottom menu bar & panels */
#bottom-menu-bar {
    background-color: transparent;
    max-height: 22px;
    min-height: 22px;
    border-top: 1px solid #2F2F2D;
}

#bottom-menu-bar #ram-inspection-btn,
#bottom-menu-bar #eeprom-inspection-btn {
    position: relative;
    border: none;
    min-height: 22px;
}

#bottom-menu-bar #ram-inspection-btn {
    min-width: 73px;
}

#bottom-menu-bar #eeprom-inspection-btn {
    min-width: 99px;
}

#bottom-menu-bar #ram-inspection-btn #ram-inspection-btn-icon,
#bottom-menu-bar #eeprom-inspection-btn #eeprom-inspection-btn-icon {
    margin-left: 6px;
    margin-top: 1px;
}

#bottom-menu-bar #ram-inspection-btn #ram-inspection-btn-label,
#bottom-menu-bar #eeprom-inspection-btn #eeprom-inspection-btn-label {
    margin-left: 5px;
}

#bottom-menu-bar QToolButton:hover,
#bottom-menu-bar QToolButton:checked {
    background-color: #2F2F2D;
    border: none;
}

#bottom-menu-bar QToolButton QLabel:disabled {
    color: #808484;
}

#bottom-panel {
    border-top: 1px solid #2F2F2D;
    background-color: transparent;
}

/* Target Memory Inspection Pane */
#target-memory-inspection-pane #title-bar {
    background-color: #383F43;
    border-bottom: 1px solid #2F2F2D;
}

#target-memory-inspection-pane #title {
    color: #afb1b3;
}

#target-memory-inspection-pane #lh-side-bar {
    border-right: 1px solid #41423f;
}

#target-memory-inspection-pane #lh-side-bar QToolButton {
    background-color: transparent;
    border: none;
    padding: 0;
    qproperty-buttonWidth: 23;
    qproperty-buttonHeight: 21;
}

#target-memory-inspection-pane #lh-side-bar QToolButton:hover {
    background-color: #454541;
    border: none;
}

#hex-viewer-container #tool-bar,
#hex-viewer-container #search-bar {
    border-bottom: 1px solid #41423f;
}

#hex-viewer-container #bottom-bar {
    border-top: 1px solid #41423f;
}

#hex-viewer-container #bottom-bar QLabel {
    font-size: 13px;
    color: rgba(175, 177, 179, 0.72);
}

#hex-viewer-container #bottom-bar QLabel:disabled {
    color: rgba(175, 177, 179, 0.3);
}

#hex-viewer-container #tool-bar QToolButton {
    background-color: transparent;
    border: none;
    padding: 0;
    qproperty-buttonWidth: 24;
    qproperty-buttonHeight: 20;
}

#hex-viewer-container #tool-bar QToolButton:hover {
    background-color: #41413b;
    border: none;
    padding: 0;
}

#hex-viewer-container #tool-bar QToolButton:checked {
    background-color: #43433d;
    border: none;
}

#hex-viewer-container #tool-bar QToolButton:checked:disabled {
    background-color: #3d3d39;
    border: none;
}

#hex-viewer-container #tool-bar #separator {
    background-color: transparent;
    border-right: 1px solid #41423f;
    padding: 0;
    min-width: 1px;
    max-width: 1px;
}

#hex-viewer-container #tool-bar #highlight-stack-memory-btn,
#hex-viewer-container #tool-bar #highlight-focused-memory-btn,
#hex-viewer-container #tool-bar #highlight-hovered-rows-columns-btn,
#hex-viewer-container #tool-bar #display-annotations-btn,
#hex-viewer-container #tool-bar #display-ascii-btn {
    qproperty-buttonWidth: 25;
    qproperty-buttonHeight: 21;
}

#hex-viewer-container #tool-bar #go-to-address-input {
    min-width: 100px;
    max-width: 100px;
    min-height: 15px;
    max-height: 15px;
    border: none;
    background-color: transparent;
    font-size: 13px;
    color: #848486;
}

#hex-viewer-container #tool-bar #go-to-address-input:focus {
    /*background-color: #2f312e;*/
    color: #afb1b3;
}

#hex-viewer-container #tool-bar #go-to-address-input:disabled {
    color: #686767;
}

#hex-viewer-container QScrollArea,
#hex-viewer-container #graphics-view-container,
#hex-viewer-container #graphics-view-container #graphics-view {
    background-color: #323330;
    border: none;
    font-size: 11px;
}

#hex-viewer-container #graphics-view-container {
    background-color: #50504b;
    border: none;
}

#hex-viewer-container #graphics-view-container #address-container {
    background-color: #353633;
    border-right: 1px solid #41423f;
}

#hex-viewer-container #graphics-view-container #address-container QLabel {
    background-color: transparent;
    font-size: 5px;
    color: rgba(175, 177, 179, 0.72);
}

#hex-viewer-container #graphics-view-container #address-container QLabel:disabled {
    color: rgba(175, 177, 179, 0.3);
}
