/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


input[type="checkbox"] {
    float: left;
    margin-right: 10px;
    margin-top: 4px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
          right: 0;
          */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 72px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 380px) {
    .sidebar {
        padding: 112px 0 0;
    }
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.search-bar {
    list-style-type: none !important;
    display: inline-flex;
    flex-wrap: wrap;
}

.search-bar li{
    padding: 5px;
}

.search-bar li input, .search-bar li select{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


/* ikony w formularzu */

/* enable absolute positioning */
.inner-addon {
    position: relative;
}

    /* style icon */
    .inner-addon .formicon {
        position: absolute;
        padding: 10px;
        pointer-events: none;
    }

/* align icon */
.left-addon .formicon {
    left: 0px;
}

.right-addon .formicon {
    right: 0px;
}

/* add padding  */
.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}


/* PRINTING SETTINGS */
@media print{
    .no-print, .no-print *{
        display: none !important;
    }

}

@media print{
    .only-print, .only-print *{
        display: normal !important;
    }

    .table > :not(caption) > * > *{
        padding: .2rem .2rem;
    }

    .table-striped > tbody > tr:nth-of-type(2n+1) > * {
        --bs-table-accent-bg: white;
        color: black;
    }
}

@media screen{
    .only-print, .only-print *{
        display: none !important;
    }
}

thead.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 70px;
    background-color: white;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    opacity: 0.3;
}

#loading .spinner-border{
    position: center;

}
.orderable a{
    color: black;
}

input[readonly]{
    background-color: lightgray;
}