﻿/* EG Edlevo topbar, mirrors the professional topbar (educc-top-bar) used in edu-main */

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/OpenSans-Regular.woff") format("woff");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/OpenSans-Semibold.woff") format("woff");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/OpenSans-Bold.woff") format("woff");
}

.edu-topbar {
    background-color: #fff;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.87);
}

.edu-topbar-strip {
    height: 8px;
    background: #cf2371;
}

.edu-topbar-actions {
    display: flex;
    align-items: center;
    box-sizing: content-box;
    height: 55px;
    padding: 5px 25px 5px 17px;
    border-bottom: 1px solid #b6b6b9;
    background-color: #fff;
}

.edu-topbar-logo {
    display: flex;
    align-items: center;
}

.edu-topbar-logo img {
    height: 53px;
    border: 0;
}

.edu-topbar-environment {
    margin-left: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.edu-topbar-spacer {
    flex: 1;
}

.edu-topbar a:link,
.edu-topbar a:visited,
.edu-topbar a:hover,
.edu-topbar a:active {
    color: rgba(0, 0, 0, 0.87);
    text-decoration: none;
}

/* The global a:focus rule adds padding and a negative margin, which moves the links when clicked */
.edu-topbar a:focus {
    padding: 0;
    margin: 0;
}

.edu-topbar svg {
    display: block;
    fill: currentColor;
}

.edu-topbar a.edu-topbar-icon {
    margin-right: 22px;
}

.edu-topbar-icon svg {
    width: 26px;
    height: 26px;
}

.edu-topbar a.edu-topbar-user {
    display: flex;
    align-items: center;
    margin-right: 22px;
}

.edu-topbar-portrait {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    margin-right: 10px;
    border-radius: 50%;
    background: #e5f6fe;
    color: #62b3e5;
}

.edu-topbar-portrait svg {
    width: 23px;
    height: 23px;
}

.edu-topbar-name {
    font-weight: 700;
}

.edu-topbar-button {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.edu-topbar-button svg {
    width: 24px;
    height: 24px;
}

.edu-topbar-button span {
    font-size: 13px;
    font-weight: 700;
}

.edu-topbar a.edu-topbar-icon:hover,
.edu-topbar a.edu-topbar-user:hover,
.edu-topbar a.edu-topbar-button:hover {
    color: #62b3e5;
}

.edu-topbar a:focus-visible {
    outline: 2px solid #0a41a3;
    outline-offset: 2px;
}

@media (max-width: 880px) {
    .edu-topbar-name {
        display: none;
    }
}
