#main-topPanel.header, #main-topPanel #rightTabs {
    background: #005A7D !important;
}

#main-topPanel #rightTabs li.current, #main-topPanel #rightTabs li:hover {
    background: #1486B3 !important;
}

#main-topPanel #header_title .logo img#logoImg,
.wy-mod-top .logo img#logoImg {
    content: url(../images/glonasssoft-vm170-1.svg);
    width: clamp(120px, 11vw, 200px) !important;
    height: auto !important;
    max-height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

#main-topPanel #header_title .logo #spanTitle,
.wy-mod-top .logo #spanTitle {
    display: none;
}

#main-topPanel #header_title .logo {
    padding-left: 8px;
}

#main-topPanel #rightTabs:not(.left-side-menu) > ul > li > a,
#main-topPanel #rightTabs:not(.left-side-menu) > ul > li > a .text {
    white-space: nowrap;
}

#main-topPanel #rightTabs:not(.left-side-menu) > ul > li > a {
    padding-inline: 10px;
}

#main-topPanel #rightTabs:not(.left-side-menu) > ul > li > a .text {
    font-size: 13px;
}

.wy-header .wy-mod-top {
    background: #005A7D !important;
    width: 100%;
}

.wy-header .wy-mod-top .logo {
    margin: 24px 0 0 clamp(20px, 5vw, 96px);
}

.wy-header .wy-mod-nav {
    width: auto;
}

#loginSubmit {
    background: #005A7D !important;
    border-color: #005A7D !important;
}

#loginSubmit:hover {
    background: #1486B3 !important;
    border-color: #1486B3 !important;
}

#gps-storage #storage-status {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

#gps-storage #storage-status > .dl {
    flex: 0 0 auto;
    white-space: nowrap;
}

html.vm170-selftest #info-mid > form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html.vm170-selftest #info-mid #toolbar-btn {
    position: static !important;
    clear: both;
    justify-content: center;
    margin-top: 6px;
}

html.vm170-selftest #info-mid-table .panel-head {
    height: auto;
    min-height: 32px;
}

html.vm170-selftest #info-mid-table .panel-head h3,
html.vm170-selftest #info-mid-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

html.vm170-selftest #info-mid-table .panel-head h3 {
    padding-block: 8px;
    margin: 0;
}

html.vm170-selftest #info-mid-table td.td-DB_BACKUP_EMAIL input {
    float: none;
    margin: 2px 4px 2px 0;
    max-width: 100%;
}
