﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.sidebar {
    background-color: #734d40;
    background-image: none !important;
}

.logo-section {
    background: white;
    height: fit-content;
    text-align: center;
    margin-bottom: 50px;
}

.logo-section h1 {
    font-size: 37px;
    margin-top: 30px;
 }

.perigon-logo {
    height: 110px;
    width: 100%;
    margin-bottom: 28px;
}

.login-section {
    margin: auto;
    background: white;
    max-width: 450px;
    position: relative;
}

.landing-image {
    width: 100%;
    position: absolute;
    transform: translateY(-115px);
    z-index: 1;
}

.login-section a {
    display: flex;
    margin-top: 25px;
    z-index: 2;
    position: relative;
    margin: auto;
    width: fit-content;
    height: 37px;
}

.login-section button {
    margin: auto;
    width: 250px;
    margin-bottom: 25px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}



nav.full-width {
    display: flex;
    width: 100%;
    height: 75px;
    transition: height 0.5s ease;
    position: fixed;
    bottom: 0;
    background: #004B93;
    justify-content: space-between;
}

.bi-Storage-seam-fill-nav-menu {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox=' 0 0 16 16' width='16' height='16' %3E%3Cpath d='M12.643 15C13.979 15 15 13.845 15 12.5V5H1v7.5C1 13.845 2.021 15 3.357 15zM5.5 7h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1M.8 1a.8.8 0 0 0-.8.8V3a.8.8 0 0 0 .8.8h14.4A.8.8 0 0 0 16 3V1.8a.8.8 0 0 0-.8-.8z'/%3E%3C/svg%3E" );
}

.bi-InventoryCorrection-seam-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2z'/%3E%3Cpath d='M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 8m0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m0 5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m-1-5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0M4 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m0 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0'/%3E%3C/svg%3E");
}

.bi-arrow-left-square-fill-nav-menu {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox=' 0 0 16 16' width='16' height='16' %3E%3Cpath d='M15 2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1zM0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm11.5 5.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5z '/%3E%3C/svg%3E" );
}

.bi-Home-fill-nav-menu {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox=' 0 0 16 16' width='16' height='16' %3E%3Cpath d='M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L2 8.207V13.5A1.5 1.5 0 0 0 3.5 15h9a1.5 1.5 0 0 0 1.5-1.5V8.207l.646.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293zM13 7.207V13.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V7.207l5-5z'/%3E%3C/svg%3E" );
}

.bi-Close-fill-nav-menu {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox=' 0 0 16 16' fill='%23fff' width='16' height='16' %3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E" );
}

.icon {
    margin-left: 0; 
    margin-bottom: 5px;
}

.bi {
    margin-right: unset !important;
    margin: 0 0 5px 0;
    background-size: cover;
    top: 4px !important;
    position: absolute !important;
}

.logout-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
}

.logout-button > p {
    margin: 8px;
}

.logout-nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.side-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 45px;
    color: white;
    width: 100%;
    border-bottom: 2px solid black;
}

.side-menu-item .bi-box-arrow-left-fill-nav-menu {
    width: 1.96rem;
    height: 1.75rem;
    display: inline-block;
    margin: unset;
    top: unset !important;
    left: 98px;
}

.red {
    background-color: #a10f0f;
}


.bi-box-arrow-left-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000' %3E%3Cpath fill-rule='evenodd' d='M6 12.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v2a.5.5 0 0 1-1 0v-2A1.5 1.5 0 0 1 6.5 2h8A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 5 12.5v-2a.5.5 0 0 1 1 0z'/%3E%3Cpath fill-rule='evenodd' d='M.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L1.707 7.5H10.5a.5.5 0 0 1 0 1H1.707l2.147 2.146a.5.5 0 0 1-.708.708z'/%3E%3C/svg%3E");
}

.extended {
    height: 235px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 75px;
}

.extended-drawer {
    bottom: 234px !important;
}

.bi-List-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath fill-rule='evenodd' d='M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5' /%3E%3C/svg%3E");
    margin: unset;
    width: 25px !important;
    height: 25px;
}

.nav-link span {
    display: block;
    margin-bottom: 5px; 
}

#open-drawer {
    position: fixed;
    bottom: 73px;
    display: inline-block;
    background: #004B93;
    transition: bottom 0.5s ease;
}

.nav-text {
    margin-top: 50px;
}

.hidden {
    display: none;
}


#open-drawer:hover {
    cursor: pointer;
}

.storage-inventory-body {
    font-size: 16px;
}

.storage-inventory-search {
    margin-bottom: 8px;
}

#blazor-error-ui {
    text-align: center;
}

.storage-inventory-table {
    font-size: 16px;
}

tbody:hover {
    cursor: pointer;
}

.modal-header {
    display: block !important;
}

input[name="article_number"], input[name="storageunit_no"] {
    margin-right: 10px;
}

label {
    font-weight: bold;
}

input[name="storageUnit-EAN"] {
    display: none;
}

.side-menu-hamburger {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.visible {
    transform: translateX(0) !important;
}

.side-menu-hamburger:hover {
    cursor: pointer;
}

.side-menu-hamburger > .bi-List-fill-nav-menu {
    display: block;
    position: relative !important;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 75px);
    width: 33%;
    background-color: white;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.side-menu-start, .side-menu-item {
    height: 45px;
}

.side-menu-start {
    background-color: #004B93;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 2px solid;
}

#blazor-error-ui {
    bottom: unset !important;
    top: 0 !important;
}

.side-menu-start > .bi-Close-fill-nav-menu {
    display: block;
}

.side-menu-start > .bi-Close-fill-nav-menu:hover {
    cursor: pointer;
}

.side-menu-start > .bi-Close-fill-nav-menu {
    width: 25px;
    height: 25px;
    float: right;
    margin-right: 6px !important;
}

.toast-container {
    bottom: 70px !important;
}

.inventory-unitId {
    width: 100%;
    margin-bottom: 10px;
}

.modal-table-body {
    cursor: unset !important;
}

#inventoryCorrectionModal table {
    font-size: 14px;
}

body:has(.main-content) {
   overflow: hidden;
}

.lower-inventory-body {
    margin-bottom: 80px;
}

.inventoryCorrectionLotNo {
    display: none;
}

.toast-container {
    z-index: 99999999;
}

.clickable-table {
   cursor: pointer;
}

.modal-new-backdrop {
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-title-info {
    font-weight: bold;
}

.highlighted-row {
    background: forestgreen;
}

@media only screen and (max-width: 991px) {
    .storage-inventory-table {
        font-size: 13px;
    }

    table.storageUnit {
        font-size: 11px !important;
    }

    .side-menu {
        width: 75%;
    }

    .btn.btn-dark {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    label {
        display: block;
    }

    input[name="article_number"], input[name="storageunit_no"] {
        height: 30px;
    }

    .nav-text {
        margin-top: 30px;
    }

    a > span.bi.icon {
        top: 13px !important;
    }

    .login-section {
        max-width: unset !important;
        margin-top: calc(100vh - 76vh);
    }
}

@media only screen and (min-width: 992px) {
    .nav-link {
        font-size: 18px;
    }

    #open-drawer {
        width: 33px;
    }

    .bi-List-fill-nav-menu {
        height: 2.25rem !important;
    }

    a > span.bi.icon {
        width: 2.2rem !important;
        height: 2.25rem !important;
        top: 5px !important;
    }

    .landing-image {
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%), linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask-composite: destination-in;
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%), linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        mask-composite: intersect;
    }
}


#inventory-table-row > td:first-of-type {
    display: none;
}

.inventory-table > thead > tr > th:first-of-type {
    display: none;
}

@media only screen and (max-width: 618px) {
    .bi-InventoryCorrection-seam-fill-nav-menu + .nav-text {
        line-height: 15px;
        margin-top: 43px;
    }
}

@media only screen and (max-width: 526px) {
    .bi-InventoryCorrection-seam-fill-nav-menu + .nav-text {
        font-size: 13px;
        line-height: 15px;
        margin-top: 43px;
    }
}

@media only screen and (max-width: 360px) {
    .side-menu {
        height: calc(100vh - -150px);
    }
}

