@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
:root {
    --rz-body-font-size: inherit;
}
html, body {
    font-family: 'Segoe UI';
    height: 100%;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-color: transparent;
    border-right: 1px solid lightgray;
    margin-top: 50px;
    overflow: auto;
    height: calc(100vh - 50px);
    max-width:200px;
}

    .sidebar .navbar-brand {
        font-size: 1rem;
        color: white;
        padding: 0px;
    }

    .sidebar .oi, .sidebar .fa {
        width: 1.5rem;
        font-size: 1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.75rem;
    }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: darkslategray;
            border-radius: 4px;
            display: flex;
            align-items: center;
            line-height: 1rem;
        }

            .sidebar .nav-item a.active {
                background-color: lightgray;
                color: darkslategray;
            }

            .sidebar .nav-item a:hover {
                background-color: lightgray;
                color: darkslategray;
            }

    .sidebar::-webkit-scrollbar {
        width: 10px; /* width of the entire scrollbar */
    }

    .sidebar::-webkit-scrollbar-track {
        background: #f7f2f2; /* color of the tracking area */
        width: 12px;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background-color: lightgray; /* color of the scroll thumb */
        border-radius: 20px; /* roundness of the scroll thumb */
        border: 3px solid #f7f2f2; /* creates padding around scroll thumb */
    }
/*.sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
               text-decoration:underline;
               text-decoration-color:dodgerblue;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                text-decoration: underline;
                text-decoration-color: dodgerblue;
            }*/

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }




/*endof proj code tobe  moved*/

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 200px;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

/*    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }*/

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.navbar {
    background-color: #d25c65;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: .5rem 1rem;
    display: flex;
    justify-content: flex-end
}

/*for  blinking animation*/
.blink {
    animation: blinker 0.6s linear infinite;
    color: red;
}
@keyframes blinker {
    50% {
        opacity: 0;
    }
}
/* end - for  blinking animation*/