/* AVITEC branding: preserve the transparent artwork and original lettering. */
.page .glpi-logo,
.page-anonymous .glpi-logo {
    --glpi-logo: url("../pics/avitec.png?v=4");
    --glpi-logo-reduced: url("../pics/avitec.png?v=4");
    --logo: url("../pics/avitec.png?v=4") !important;
    background-color: transparent;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 0;
    filter: none;
}

.page-anonymous .glpi-logo {
    content: url("../pics/avitec.png?v=4") !important;
    width: 280px;
    max-width: 100%;
    height: 133px;
    object-fit: contain;
}

.page .navbar-brand .glpi-logo {
    display: block;
    box-sizing: border-box;
    width: 200px;
    max-width: 100%;
    height: 95px;
    padding: 0;
    background: transparent url("../pics/avitec.png?v=4") center / contain no-repeat;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
}

/* The image includes the brand name; do not overlay generated lettering. */
.page .navbar-brand .glpi-logo::before,
.page .navbar-brand .glpi-logo::after {
    content: none;
    display: none;
}

/* Show only the crest when the navigation is collapsed. */
body.navbar-collapsed .page .navbar-brand .glpi-logo {
    width: 36px;
    height: 48px;
    background-position: left center;
    background-size: auto 48px;
}
