@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

body {
    margin: 0;
    overflow-x: hidden;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    color: #3c4b64;
    background-color: #ebedef;
}
input::placeholder {
    color: #adadad;
    font-style: italic;
    font-size: 12px;
}

a {
    text-decoration: none;
    background-color: transparent;
}

    a:hover {
        text-decoration: none;
    }
    a.disabled {
        pointer-events: none;
        cursor: default;
        opacity: 0.5;
    }

.btn {
    transition: all ease-in 0.3s;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-errors, .validation-summary-errors {
    background-color: #dc3545 !important;
    padding: 1rem !important;
    margin-bottom: .5rem !important;
    list-style-type: none;
    text-align: center;
    margin: 0;
}
    .validation-summary-errors ul {
        list-style-type: none;
        margin: 0;
    }
.validation-message, .validation-summary-errors li {
    color: #fff !important;
    font-weight: 500;
}

#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;
    }

.rz-dropdown {
    width: 100%;
}
.hide-div {
    display: none;
}
/* Toast */
.blazored-toast-container {
    z-index: 1200!important;
}
.blazored-toast-body .blazored-toast-header h5 {
    font-size: 1.3rem;
}
.blazored-toast-body p {
    font-size: .875rem;
}

.blazored-modal-overlay {
    z-index: 1100 !important;
}
.blazored-modal-container {
    z-index: 2000;
}
.blazored-modal {
    z-index: 1102 !important;
    min-width: 25vw;
    width: 30vw;
    max-height: 95vh;
    overflow:scroll;
}
.blazored-modal-header {
    padding: 0 0 0.8rem 0;
}
.blazored-modal-close {
    padding-top: .5rem;
}
.blazored-modal-two-column {
    width: 62vw;
}

.rz-switch {
    display: block;
}
/* Spinner and loader */
.spinner-container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #1b6ec2;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
#backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 1;
    justify-content: center;
    align-items: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.page-message {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Buttons */
.btn-pill {
    border-radius: 50em;
}

.btn-square {
    border-radius: 0;
}

/* Input */
input:focus, input:active {
    outline: none !important;
    box-shadow: none;
}

input, .rz-dropdown {
    border-radius: 0 !important;
}

.ui-clear {
    height: 2.25rem;
    margin-bottom: 0px !important;
    width: 100% !important;
    border-color: #ccc;
    border-radius: 0;
}
.number-input {
    text-align: right;
}

/* Avia ERP */
.app {
    color: #3c4b64;
    background-color: #ebedef;
    --color: #3c4b64;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    min-height: 100vh;
}

[data-letters]:before {
    content: attr(data-letters);
    display: inline-block;
    font-size: 1em;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
    border-radius: 50%;
    background: #ff8d00;
    vertical-align: middle;
    margin-right: 0.5em;
    color: white;
}

#sidebar {
    display: flex;
    flex: 0 0 256px;
    flex-direction: column;
    order: -1;
    width: 256px;
    padding: 0;
    box-shadow: none;
    color: #fff;
    background: #3c4b64;
    transition: box-shadow .3s .15s,transform .3s,margin-left .3s,margin-right .3s,width .3s,z-index 0s ease .3s,-webkit-transform .3s;
    margin-left: -256px;
    left: 0;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1000;
}

    #sidebar.sidebar-show {
        margin-left: 0;
    }

    #sidebar .sidebar-brand {
        display: flex;
        flex: 0 0 56px;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: rgba(0,0,21,.2);
    }

    #sidebar .sidebar-nav {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 0;
        margin-bottom: 0;
        overflow-x: hidden;
        overflow-y: auto;
        list-style: none;
    }

    #sidebar .sidebar-nav {
        width: inherit;
    }

    #sidebar .sidebar-nav-title {
        padding: .75rem 1rem;
        font-size: 80%;
        font-weight: 700;
        text-transform: uppercase;
        transition: .3s;
        color: rgba(255,255,255,.6);
    }

    #sidebar .sidebar-nav-dropdown-toggle {
        color: rgba(255,255,255,.8);
        display: flex;
        -ms-flex: 1;
        flex: 1;
        -ms-flex-align: center;
        align-items: center;
        padding: .8445rem 1rem;
        text-decoration: none;
        white-space: nowrap;
        transition: background .3s,color .3s;
        text-decoration: none;
    }

        #sidebar .sidebar-nav-dropdown-toggle .fa-chevron-down {
            margin-left: auto;
            font-size: 11px;
            transition: transform .3s,-webkit-transform .3s;
        }

    #sidebar .sidebar-nav-dropdown-items {
        overflow-y: hidden;
        list-style: none;
        padding: 0;
        transition: max-height .3s ease-in-out;
    }
        #sidebar .sidebar-nav-dropdown-items a {
            background: rgba(0,0,21,.2);
        }
            #sidebar .sidebar-nav-dropdown-items a:hover, #sidebar .sidebar-nav-dropdown-items a:active {
                background: rgba(0,0,21,.05);
            }

#sidebar .sidebar-nav-link {
    color: rgba(255,255,255,.8);
    background: 0 0;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-align: center;
    align-items: center;
    padding: .8445rem 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .3s,color .3s;
}

        #sidebar .sidebar-nav-link:hover, #sidebar .sidebar-nav-link.active, #sidebar .sidebar-nav-dropdown-toggle:hover {
            color: #fff;
            background: rgba(255,255,255,.05);
        }

    #sidebar .sidebar-nav-icon {
        flex: 0 0 56px;
        height: 1.09375rem;
        font-size: 1.09375rem;
        text-align: center;
        transition: .3s;
        margin-left: -1rem;
    }

#wrapper {
    transition: margin .3s;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    max-height: 100vh;
}

#wrapper.sidebar-shown {
    margin-left: 256px;
}

.header-fixed {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    min-height: 56px;
    background: #fff;
    border-bottom: 1px solid #d8dbe0;
}

    .header-fixed .header-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: 56px;
        padding: 0;
        margin-bottom: 0;
        list-style: none;
    }

        .header-fixed .header-nav .header-nav-item {
            position: relative;
        }

    .header-fixed .header-toggler {
        min-width: 50px;
        font-size: 1.09375rem;
        background-color: transparent;
        border: 0;
        border-radius: .25rem;
        color: rgba(0,0,21,.5);
        border-color: rgba(0,0,21,.7);
        cursor: pointer;
        outline: none;
    }

    .header-fixed .header-title {
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: 56px;
        margin-bottom: 0;
        padding: 0;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 1rem;
    }

    .header-fixed .header-nav-item-link {
        display: flex;
        align-items: center;
        padding-left: .5rem;
        color: rgba(0,0,21,.7);
        font-size: 1rem;
    }

    .header-fixed .dropdown-menu {
        position: absolute;
        top: 100%;
        z-index: 1000;
        display: none;
        float: left;
        min-width: 10rem;
        padding: .5rem 0;
        font-size: .875rem;
        text-align: left;
        list-style: none;
        background-clip: padding-box;
        border: 1px solid;
        border-radius: .25rem;
        color: #3c4b64;
        background-color: #fff;
        border-color: #d8dbe0;
        right: 0;
        left: auto;
        margin: .125rem 0 0;
    }

        .header-fixed .dropdown-menu.show {
            display: block;
        }

    .header-fixed .dropdown-menu-header {
        margin-bottom: 0;
        font-size: .765625rem;
        white-space: nowrap;
        color: #8a93a2;
        background-color: #ebedef !important;
        padding: .5rem 1.25rem;
    }

    .header-fixed .dropdown-item {
        display: flex;
        align-items: center;
        width: 100%;
        padding: .5rem 1.25rem;
        clear: both;
        font-weight: 400;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        color: #4f5d73;
        min-width: 180px;
    }

        .header-fixed .dropdown-item:hover, .header-fixed .dropdown-item:focus {
            text-decoration: none;
            color: #455164;
            background-color: #ebedef;
        }

    .header-fixed .header-toggler:hover,
    .header-fixed .header-nav-item-link:hover {
        color: rgba(0,0,21);
    }

.body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.body-main {
    flex-basis: auto;
    flex-shrink: 0;
    flex-grow: 1;
    min-width: 0;
    padding-top: 0rem;
}

    .body-main .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

/* Forms */
.col-form-save {
    border-top: 1px solid #ebedef;
    width: 100%;
}
/* Table */
.table th {
    background-color: #d8dbe0;
    border-color: #d8dbe0;
}

.table th span {
    cursor: pointer;
}

.table tfoot {
    background: #c1c1c154;
    font-weight: 600;
}

.table .actions {
}

    .table .actions .action-icon {
        color: rgba(0,0,21,.7);
        margin-right: 8px;
        transition: all ease-in 0.3s;
    }
    .table .actions .action-icon:hover {
        color: rgba(0,0,21);
    }

    .table .actions button {
        font-size: 13px;
        text-transform: uppercase;
    }
    .table .actions .dropdown-item {
        font-size: 13px;
        text-transform: uppercase;
        padding: 0.25rem 1rem;
    }
.table .offer-info {
    font-weight: 500;
} 

.table .offer-info i {
    width: 20px;
} 


.table .note {
    text-transform: uppercase;
    font-size: 11px;
    font-style: italic;
}
.table .small-font {
    font-size: 12px;
    text-wrap: nowrap;
 }

/* Pagination */
.pagination .page-item {
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #686868;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

    .pagination .page-item.active {
        color: #fff;
        background-color: #007bff;
        border-color: #2a3f541f;
    }

/* Login */
.empty-main {
    display: flex;
    flex-direction: column;
    width: 100%;
}
#account .form-control {
    height: calc(1.5em + .75rem + 34px);
    border-radius: .25rem;
}

#login-form {
    margin-top: 28vh;
}

#login-btn {
    z-index: 3;
    left: 245px;
    top: -98px;
    font-size: 16px;
    margin-top: 0;
    position: relative;
    height: 55px;
    border-radius: 3px;
    width: 117px;
    box-shadow: 0px 12px 35px rgba(26, 42, 110, 0.21);
    opacity: 1;
}

/* Offer */
span.offer-status, .offer-status span {
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0px;
    padding: 3px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
}
.table td, .table th {
    vertical-align: middle;
}
.table .btn {
    min-width: 70px;
    border-radius: 0;
}
.table td .sub-text {
    font-size: 12px;
    font-style: italic;
}
.table td .sub-text-regular {
    font-size: 12px;
}
.table td .title-bold {
    font-weight: 500;
}

/* Drawing */

.drawing-card .card {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 20px 0 rgba(69,90,100,0.08);
    box-shadow: 0 1px 20px 0 rgba(69,90,100,0.08);
    border: 1px solid #c3c3c3;
    margin-bottom: 25px;
}

.drawing-card .card-block {
    padding: 1.25rem;
}

.drawing-card .card .card-block p {
    line-height: 25px;
    margin: 0;
}

.drawing-card .card h6 {
    display: inline;
}

.drawing-card .card .offer-status {
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    bottom: 0;
    right: 0;
    font-size: 12px;
    background-color: orange;
    padding: 3px 5px;
    color: #fff;
    text-align: center;
    float: right;
    margin-top: 0;
}

.drawing-card .card .card-img-top .offer-status {
    position: absolute;
    top: 46px;
    bottom: auto;
    left: 10px;
    right: auto;
}

.drawing-card .order-card {
    background: linear-gradient(to right, #01a9ac, #01dbdf);
    color: #fff;
    overflow: hidden;
}

    .drawing-card .order-card .card-icon {
        position: absolute;
        right: -17px;
        font-size: 100px;
        top: 20px;
        opacity: 0.5;
    }

    .drawing-card .order-card h2 {
        font-size: 2rem;
        font-weight: 400;
    }

    .drawing-card .order-card h6 {
        font-size: 14px;
        font-weight: 400;
    }

.drawing-card .card-body, .drawing-card .card-footer {
    padding: 0.5rem 1.25rem;
}

.drawing-card .card-icon {
    display: block;
    margin-bottom: 5px;
}

.drawing-card .card-header {
    text-transform: uppercase;
    height: 40px;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.drawing-card .card-header  i {
    color: white;
}

.drawing-card .card-img-top {
    background-color: #fff;
    cursor: pointer;
}
.drawing-card .drawing-dimensions {
    position: absolute;
    top: 46px;
    right: 10px;
    font-weight: 500;
    text-shadow: 2px 2px #eee;
}
.img-hover-zoom {
    overflow: hidden;
}

    .img-hover-zoom img {
        width: 100%;
        transition: transform .5s ease;
        height: 15vw;
        object-fit: contain;
    }

    .img-hover-zoom:hover img {
        transform: scale(1.5);
    }

.drawing-card .drawing-status {
    position: absolute;
    padding: 8px 15px;
    top: 0;
    left: 0;
    margin: 15px 20px;
    border-radius: 12px;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}
.drawing-card .price-label {
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    align-self: flex-end;
    margin-bottom: 11px;
}
.drawing-card .quantity-label {
    font-weight: 700;
}

.drawing-card .eur-price {
    font-style: italic;
    font-weight: 400;
    color: #696969;
    font-size: 14px;
}

/* Drawing edit */

.drawing-pdf {
    height: 81vh;
    width: 100%;
    position: sticky;
    top: 56px;
}
.drawing-edit .card {
    border-radius:0;
}
.drawing-edit .card:not(:last-child) {
    border-bottom: 0px;
}
.drawing-edit .card-header {
    padding: .25rem 1.25rem;
}

.drawing-edit .table-responsive {
    white-space: nowrap;
}

.drawing-edit .btn-link {
    color: #3c4b64;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
}
    .drawing-edit .btn-link:hover {
        color: #0056b3;
    }
    .drawing-edit .btn-link:hover, .drawing-edit .btn-link:focus {
        color: #0056b3;
        text-decoration: none;
        box-shadow: none;
    }
.drawing-edit .card-header .card-price {
    display: flex;
    justify-content: space-between;
    text-align-last: right;
}
.drawing-edit .card-header input[type=number] {
    padding: 0;
    padding-right: 6px;
    font-size: 0.875rem;
}

.form-label {
    font-weight: 500;
    text-transform: uppercase;
}

/* Card widget*/
.card-widget {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 20px 0 rgb(69 90 100 / 8%);
    box-shadow: 0 1px 20px 0 rgb(69 90 100 / 8%);
    border: none;
}

    .card-widget .card-body {
        flex: 1 1 auto;
        min-height: 1px;
        padding: 1.25rem;
    }

.text-xl {
    font-size: .8rem;
}

.text-xs {
    font-size: .7rem;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-primary {
    color: #1b6ec2 !important;
}
.text-new {
    color: #54a9ff !important;
}
.text-processed {
    color: #942f8a !important;
}

.border-left-primary {
    border-left: .25rem solid #1b6ec2 !important;
}

.border-left-success {
    border-left: .25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: .25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: .25rem solid #f6c23e !important;
}
.border-left-new {
    border-left: .25rem solid #54a9ff !important;
}
.border-left-processed {
    border-left: .25rem solid #942f8a !important;
}

/* Drawing preview */
.rz-dialog .drawing img {
    width: 100%;
}

.card .drawing-preview {
    z-index: 1002;
}

.rz-dialog-wrapper-remove {
    width: 0;
    z-index: 1999;
}

.rz-dialog-wrapper-zindex {
    z-index: 1999;
}
.rz-dialog-wrapper .ui-draggable-handle {
    cursor: move;
}

.blazored-modal .blazored-modal-content .confirmation {
    text-align: center;
}

    .blazored-modal .blazored-modal-content .confirmation i {
        font-size: 60px;
        color: #292929;
        opacity: 0.57;
        margin-bottom: 20px;
    }

    .blazored-modal .blazored-modal-content .confirmation img {
        max-width: 394px;
        max-height: 93px;
    }

    .blazored-modal .blazored-modal-content .confirmation h3 {
        font-size: 25px;
    }

    .blazored-modal .blazored-modal-content .confirmation p {
        color: #292929;
        opacity: 0.57;
        font-size: 17px;
        margin-left: auto;
        margin-right: auto;
    }

    .blazored-modal .blazored-modal-content .confirmation .btn {
        height: 40px;
        width: 126px;
        font-size: 14px;
    }

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    display: none;
    z-index: 1000;
}

.card-header .rz-spinner input[type='number'], .rz-spinner input[type='text'] {
    padding: 1px 22px 1px 0.5rem;
}
.text-overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.sticky-actions {
    position:sticky;
    right:0px;
    background:#fff;
}
.padding-1 {
    padding: 1rem;
}
.card-price input {
    font-weight: 600;
    color:black!important;
}
#heading-Ukupnacijena input {
    color:red!important;
}
.label-top-heading {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    width: 100%;
}
.close-icon {
    padding: 10px;
    color: #ff5959;
}
.label-subtitle {
    font-weight: 500;
    text-transform: uppercase;
}
@media (max-width: 1366px) {
    .mr-20 {
        margin-right: 20px;
    }
    .mr-100 {
        margin-right: 100px;
    }
    .hide{
        display: none;
    }
}
#advanced-drawing-search {
    position: fixed;
    width: 40%;
    height: 100vh;
    top: 0;
    bottom: 0;
    background: white;
    right: 0;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 16%);
    padding: 40px;
    overflow-y: auto;
    z-index: 1000;
    padding-bottom: 0;
}
.note-table {
    font-size: 0.7rem;
    text-transform: uppercase;
    border-top: 0 !important;
    color: #3d3d3d;
    background: #f5f5f5;
}
.drawing-details {
    min-width: 200px;
}
.drawing-details i {
    width: 20px;
}
ul.no-bullets {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}
.badge {
    display: inline-block;
    padding: 7px 10px;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: white;
}

.progress {
    position: relative;
}
    .progress .progress-bar span {
        position: absolute;
        display: block;
        width: 100%;
        color: black;
        white-space: nowrap;
        font-weight: 700;
    }
    .progress .progress-bar.bg-success span {
        color: white!important;
    }