/*
 *	QAT Stylesheet Layout
 *	2023 David Roeskamm
*/

@font-face {
    font-family: osl;
    src: url(../fonts/OpenSans-Light.ttf);
}

@font-face {
    font-family: osm;
    src: url(../fonts/OpenSans-Medium.ttf);
}

@font-face {
    font-family: osb;
    src: url(../fonts/OpenSans-Bold.ttf);
}

* {
    margin: 0;
    padding: 0;
    border: none;
    font-weight: 400;
    caret-color: #4e9bc7;
}

body {
    margin: 0;
    min-width: 1000px;
    background-color: #000;
    font-family: osl, sans-serif;
    font-size: 1rem;
    color: dimgrey;
    overflow-x: auto;
    overflow-y: hidden;
}

a {
    cursor: default;
}

h1 {
    font-family: osm, sans-serif;
    font-weight: 400;
}

h2 {
    font-family: osm, sans-serif;
    font-weight: 400;
}

h3 {
    font-family: osb, sans-serif;
    font-weight: 400;
}

::selection {
    background: #ff0;
}

.HEADER {
    display: flex;
    justify-content: space-between;
    height: 60px;
    width: 100%;
    background-color: #004c93;
    font-family: osl, sans-serif;
    font-size: 1rem;
    color: #fff;
}

.HEADER div {
    display: flex;
}

.HEADER div span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 60px;
}

.HEADER div:last-child span:last-child {
    padding: 0 12px;
}

.HEADER div span svg {
    height: 36px;
    width: 36px;
    fill: #fff;
}

.HEADER div span:hover:not(#HA-NAME) {
    background-color: #4e9bc7;
}

.HL-TOGGLE {
    display: none !important;
}

.MAIN {
    display: flex;
    height: calc(100vh - 60px);
    width: 100%;
    background-color: #f5f6fa;
}

.M-NAVIGATION {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 12px 0 12px -12px silver;
    z-index: 1;
    min-width: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.5s;
}

.MN-TOGGLE {
    min-width: 250px !important;
    max-width: 250px !important;
}

.M-NAVIGATION div {
    display: flex;
    flex-direction: column;
    width: 250px;
}

.M-NAVIGATION div a:first-child {
    margin-top: 12px;
}

.M-NAVIGATION div a {
    display: flex;
    align-items: center;
    height: 60px;
    width: auto;
    font-family: osm, sans-serif;
    font-size: 1rem;
    color: darkslategrey;
    text-decoration: none;
}

.M-NAVIGATION div a svg {
    margin: 0 12px;
    height: 30px;
    width: 30px;
    fill: #b7b9ba;
}

.M-NAVIGATION div a:hover:not(.M-NAVIGATION-LINK-SELECTED) {
    background-color: #4e9bc7;
    color: #fff;
}

.M-NAVIGATION div a:hover > svg {
    fill: #fff;
}

.M-NAVIGATION div a:focus {
    background-color: transparent;
    color: #000;
}

.M-NAVIGATION div a:focus > svg {
    fill: #000;
}

.M-NAVIGATION div a:active:not(.MN-SELECTED) {
    background-color: #4e9bc7;
    color: #fff;
}

.M-NAVIGATION div a:active > svg {
    fill: #fff;
}

.MN-SELECTED,
.MN-SELECTED > svg {
    color: #000 !important;
    fill: #000 !important;
}

.MN-LOGO img {
    padding: 12px 15px 12px 12px;
    height: auto;
    width: auto;
}

.M-WORKBENCH {
    padding: 24px 96px;
    height: auto;
    width: 100%;
    background-color: #f5f6fa;
    overflow-y: auto;
    transition: all 0.5s;
}

@media only screen and (max-width: 1440px) {
    .M-WORKBENCH {
        padding: 24px;
    }
}
