@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

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

a, .btn-link {
    color: #0366d6;
}

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

.custom-dialog {
    width: 90%;
    height: 70%;
}

.mainButton {
    color: #000000;
    background-color: #FFD541;
    border-color: #FFD541;
    margin-bottom: 10px
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    transition: margin-left 0.3s ease;
    position: relative;
    z-index: 2;
}

    .main .top-row {
        background-color: #FFD541;
        z-index: 1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

.btn-primary {
    color: #000000;
    background-color: #FFD541;
    border-color: #FFD541;
}

    .btn-primary:hover {
        color: #000000;
        background-color: white;
        border-color: white;
    }

    .btn-primary:focus {
        color: #000000;
        background-color: #FFD541;
        border-color: #FFD541;
    }

.container-nav {
    position: relative;
    transition: margin-left 0.3s ease;
    color: white;
}

.sidebar-container {
    position: relative;
    overflow: hidden;
}

.sidebar-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: #FFD541;
    z-index: -1;
    transition: width 0.3s ease;
}


.sidebar {
    width: 250px;
    transition: width 0.3s ease;
    position: relative;
    z-index: 1;
}

    .sidebar.collapsed {
        width: 35%;
        border-right: solid;
        border-color: gray;
        border-width: 1px;
    }

        .sidebar.collapsed + .sidebar-background {
            width: 35%;
        }

    .sidebar .nav-link {
        width: 100%;
        text-align: center;
        color: black;
        font-weight:bold;
    }

        .sidebar .nav-link:hover {
            width: 100%;
            text-align: center;
            color: white;
        }

    .sidebar .navbar-brand {
        display: block;
        text-align: center;
        padding: 10px 0;
        color: black;
        font-weight: bold;
    }

.nav-item .oi {
    color: black;
    text-align: left;
    margin: 2px 0;
}

.nav-item:hover .oi {
    color: white;
}

.nav-item {
    position: relative;
    height: 40px;
}

.nav-item:hover {
    background-color: #333;
    color: white;
    height: 40px;
}

.image-nav {
    margin: 0 auto;
    text-align: center;
    display: table;
    transition: width 0.5s ease-in-out;
    width: 70px;
    margin-top: 30px;
}

.image-nav-napis {
    margin: 0 auto;
    text-align: center;
    display: table;
    transition: width 0.5s ease-in-out;
    width: 220px;
    margin-top: 20px;
    margin-bottom: -20px;
}
.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: #F0BC5E;
}

.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;
    }

@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: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
        box-shadow: grey 2px;
        margin-left: -12px;
        z-index: 3;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        display: block;
    }
}

ul.breadcrumb {
    background-color: #eee;
}

ul.breadcrumb li {
    font-size: 18px;
}

        ul.breadcrumb li + li:before {
            color: black;
            content: "/\00a0";
        }

        ul.breadcrumb li a {
            color: #0275d8;
            padding-right: 5px;
        }

            ul.breadcrumb li a:hover {
                color: #01447e;
                text-decoration: underline;
            }

.rz-button.btn-primary, .btn-primary.rz-paginator-element {
    color: #000000;
    background-color: #FFD541;
    border-color: #FFD541;
    width: 100%;
}

.rz-button.btn-light, .btn-light.rz-paginator-element {
    background-color: #e6ecef;
    color: #3a474d;
    display: inline-block;
    margin-left: 10px;
    width: 100%;
}


.nav-label {
    display: flex;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 22px;
    transform: translateY(-50%);
}

    .nav-label span {
        background: black;
        border-radius: 10px;
        height: 2px;
        margin: 2px 0;
        transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        margin-right: 2px;
    }

span:nth-of-type(1) {
    width: 30%;
}

span:nth-of-type(2) {
    width: 60%;
}

span:nth-of-type(3) {
    width: 45%;
}

input[type="checkbox"] {
    display: none;
}

    input[type="checkbox"]:checked ~ span:nth-of-type(1) {
        transform-origin: bottom;
        transform: rotate(30deg) translate(6px,9px);
    }

    input[type="checkbox"]:checked ~ span:nth-of-type(2) {
        transform-origin: top;
        width: 45%;
        transform: rotate(-30deg);
    }

    input[type="checkbox"]:checked ~ span:nth-of-type(3) {
        transform-origin: bottom;
        width: 20%;
        transform: translate(8px,2px) rotate(30deg);
    }

.rz-paginator .rz-paginator-pages {
    width:100%;
    text-align:center;
    z-index: 1;
}

.rz-tabview-nav li .rz-tabview-title {
    width: 100%;
}

.rz-datatable-data .rz-cell-data {
    width: 100%;
} 

.user-manual-style{
    width: 100%;
    height: 750px;
}


.rz-tabview-nav{
    position: relative;
}

.bi-box-arrow-right{
    width: 25px;
    height: 25px;
    color: black
}

.bi-box-arrow-right:hover{
    color: black;
    text-decoration: none;
}



/*Login*/

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

.screen {
    background: linear-gradient(90deg, #ffe58b, #dcb015);
    position: relative;
    height: 600px;
    width: 360px;
    box-shadow: 0px 0px 13px gray;
}

.screen__content {
    z-index: 1;
    position: relative;
    margin-left: 10px;
}

.imageStyle {
    width: 70px;
    margin-left: 20px;
    margin-top: 20px;
}

.screen__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    clip-path: inset(0 0 0 0);
}

.screen__background__shape {
    transform: rotate(45deg);
    position: absolute;
}

.screen__background__shape1 {
    height: 520px;
    width: 520px;
    background: #FFF;
    top: -50px;
    right: 120px;
    border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: #FFD541;
    top: -172px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg, #E5BA21, #ffe58b);
    top: -24px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: #FFD541;
    top: 420px;
    right: 50px;
    border-radius: 60px;
}

.login {
    width: 320px;
    padding: 30px;
    padding-top: 30px;
}

.login__field {
    padding: 20px 0px;
    position: relative;
}

.login__icon {
    position: absolute;
    top: 30px;
    color: black;
    font-weight: bold;
}

.login__input {
    border: none;
    border-bottom: 2px solid #D1D1D4;
    background: none;
    padding: 10px;
    padding-left: 24px;
    font-weight: 700;
    width: 75%;
    transition: .2s;
}

    .login__input:active,
    .login__input:focus,
    .login__input:hover {
        outline: none;
        border-bottom-color: #333333;
    }

.login__submit {
    background: #fff;
    font-size: 14px;
    margin-top: 10px;
    padding: 7px 15px;
    border-radius: 26px;
    border: 1px solid #fff1c1;
    text-transform: uppercase;
    width: 50%;
    color: #4C489D;
    box-shadow: 0px 2px 2px #cfad37;
    cursor: pointer;
    transition: .2s;
}

    .login__submit:active,
    .login__submit:focus,
    .login__submit:hover {
        border-color: #878787;
        outline: none;
    }

.forgotPassword {
    padding: 10px;
    border: none;
    background: none;
}

    .forgotPassword:hover {
        text-decoration: underline;
    }

.button__text {
    color: black;
    border: none;
    background: none;
    padding: 0;
    font-weight: 600;
    margin-left: 25px;
}

.logout-button {
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
}

.invoice-style {
    background: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding-top: 15px;
    margin-top: 10px;
    position: relative;
}

.square {
    width: 100%;
    height: 15.5px;
    background-color: white;
    position: absolute;
    bottom: 1px;
}

.site-title{
    font-weight: bold;
    font-size: 20px;
    text-align: left;
}

.logged-in-user {
    font-weight: bold;
    margin-right: 10px;
    margin-top: 18px;

}

.right-section {
    display: flex;
    flex-direction: row;
    align-items: center;
}



/*loading screen*/

.center {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave {
    width: 10px;
    height: 50px;
    background: rgb(255,213,65);
    background: linear-gradient(180deg, rgba(255,213,65,0.75) 0%, rgba(121,97,9,0.75) 71%, rgba(51,51,51,0.75) 100%);
    margin: 10px;
    animation: wave 1s linear infinite;
    border-radius: 10px;
}

    .wave:nth-child(2) {
        animation-delay: 0.1s;
    }

    .wave:nth-child(3) {
        animation-delay: 0.2s;
    }

    .wave:nth-child(4) {
        animation-delay: 0.3s;
    }

    .wave:nth-child(5) {
        animation-delay: 0.4s;
    }

    .wave:nth-child(6) {
        animation-delay: 0.5s;
    }

    .wave:nth-child(7) {
        animation-delay: 0.6s;
    }

    .wave:nth-child(8) {
        animation-delay: 0.7s;
    }

    .wave:nth-child(9) {
        animation-delay: 0.8s;
    }

    .wave:nth-child(10) {
        animation-delay: 0.9s;
    }

@keyframes wave {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

.alert-style{
    color: red;
    margin-top: 5px;
}

/*drag and drop*/
/*.upload-area{
    padding: 2px;
    background-color:#f7f7f7;
    border: dotted 3px gray;
    margin-top: 5px;
    padding: 2px;
    width: 100%;
}*/

/*Loading screen*/
/* HTML: <div class="loader"></div> */
.loader {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
    text-align: center;
    position: absolute;
    left: 50%;
}

.drop-zone-disabled {
    pointer-events: none;
    opacity: 0.3;
    background-color: #FFC1B5;
    border: 1px solid red;
    cursor: not-allowed;
}

.loading-text{
    font-size: 10px;

}

@keyframes l5 {
    0% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #FFD541
    }

    33% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #0002
    }

    66% {
        box-shadow: 20px 0 #0002,-20px 0 #000;
        background: #0002
    }

    100% {
        box-shadow: 20px 0 #0002,-20px 0 #000;
        background: #000
    }
}