@import url("theme.css");
@font-face {
    font-family: "DINPro";
    src: url("../fonts/DINPro.woff2") format("woff2"), url("../fonts/DINPro.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'DINPro';
    font-weight: bold;
    font-style: normal;
    font-display: fallback;
    src: url("../fonts/DINProMedium.woff2") format("woff2"), url("../fonts/DINProMedium.woff") format("woff");
}

body {
    --pb-base-font-family: "DINPro", Helvetica, Arial, sans-serif;
    --pb-serif-font-family: var(--pb-base-font-family);
    --pb-heading-font-family: "DINPro", Helvetica, Arial, sans-serif;
    --pb-logo-image: url('../images/ethz.svg');
    --pb-logo-image-width: 300px;
    --pb-logo-image-height: 73px;
    --pb-splash-image: url(../images/ethz.svg);
    --pb-menubar-background-color: inherit;
    --pb-menubar-color: var(--pb-color-primary);
    --pb-toolbar-background-color: #A0B1D0;
    --pb-toolbar-background-image: none;
    --pb-toolbar-color: var(--pb-color-primary);
    --pb-lang-input-color: var(--pb-menubar-color);
    --pb-lang-label-color: var(--pb-menubar-color);
}

.menubar {
    font-size: 20px;
}

.menubar .sub {
    text-indent: 1em;
}

.titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    height: inherit;
    background-color: white;
}

.titlebar .header {
    display: flex;
    font-size: 36px;
    height: 100%;
    align-items: center;
    padding-left: 36px;
}

.titlebar a {
    background-image: var(--pb-logo-image);
    background-repeat: no-repeat;
    height: var(--pb-logo-image-height);
    width: var(--pb-logo-image-width);
    margin-top: .5em;
}

.titlebar .header img {
    height: 100%;
    width: auto;
}

.titlebar .header h2 {
    font-size: 25px;
    margin: 0;
    margin-left: 3em;
    margin-top: 42px;
}

.login {
    display: flex;
    align-items: center;
}

.login pb-lang {
    margin-right: 1em;
}

.menubar {
    justify-content: flex-start;
    padding-left: 42px;
}

.version {
    position: fixed;
    text-align: left;
    left: 0;
    bottom: 0;
    font-size: 0.85em;
    padding: 8px;
    color: var(--pb-color-lighter);
}

.version img {
    width: 72px;
}

.sidemenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidemenu li {
    margin: 1em 0;
}

.sidemenu .title {
    font-weight: bold;
}

@media (max-width: 1023px) {
    .titlebar .header h2, .titlebar .login {
        display: none;
    }

    .version {
        display: none;
    }
}

app-drawer paper-item {
    line-height: 1.4;
}

app-drawer .sub {
    text-indent: 0;
}

app-drawer .title {
    font-weight: bold;
}