﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

table.table thead .sorting {
    background: url('../images/sort_both.png') no-repeat right 4px top 6px !important;
}

table.table thead .sorting_asc {
    background: url('../images/sort_asc.png') no-repeat right 4px top 6px !important;
}

table.table thead .sorting_desc {
    background: url('../images/sort_desc.png') no-repeat right 4px top 6px !important;
}

.table-striped tbody tr:nth-child(2n+1) td, .table-striped tbody tr:nth-child(2n+1) th {
    background-color: transparent;
}

.table tbody tr:hover td, .table tbody tr:hover th {
    background-color: #fff;
}

.full {
    width: 100%;
}

.pn {
    padding: 0;
}

.pln {
    padding-left: 0;
}

.prn {
    padding-right: 0;
}

.ptn {
    padding-top: 0;
}

.pbn {
    padding-bottom: 0;
}

.apl {
    padding-left: 15px;
}

.apr {
    padding-right: 15px;
}

.apt {
    padding-top: 15px;
}

.apb {
    padding-bottom: 15px;
}

.amb,
.marginBottom {
    margin-bottom: 10px;
}

.amt {
    margin-top: 10px;
}

.amr {
    margin-right: 10px;
}

.aml {
    margin-left: 10px;
}

.mn {
    margin: 0;
}

.mtn {
    margin-top: 0;
}

.mbn {
    margin-bottom: 0;
}

.mrn {
    margin-right: 0;
}

.mln {
    margin-left: 0;
}

select {
    height: 26px;
}


#accordion .ui-widget-content a {
    /* color: #fff !important; */
}

.amr {
    margin-right: 10px;
}

.btn-danger, .btn-success {
    color: #fff;
}



.fc-button, .btn {
    border-radius: 0px;
    border: 0px;
    background-color: #A6A6A6;
    text-shadow: none;
    color: #fff;
    font-family: "Segoe UI","Geneva","Lucida Grande",non-serif;
    font-size: 13px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-success {
    background-color: red !important;
}

.btn-danger {
    background-color: silver !important;
}

.panel-heading-iks {
    color: #fff;
    background-color: red;
    border-color: red;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-color: red;
}

.panel-primary-iks {
    border-color: red;
}

a {
    color: red;
}

a:hover {
    color: darkred;
}


.iksPanelFaktura {
    min-height: 387px;
    background-color: lightgray;
}

.iksGridMain {
    display: grid;
    grid-template-columns: 200px 1fr 10px;
}

.iksSideBar {
    grid-column: 1;
}

.iksBodyContainer {
    grid-column: 2;
    margin-top: 50px;
}

.iksPanelFakturaRow {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.iksPanelFakturaLabel {
    grid-column: 1;
}

.iksPanelFakturaInput {
    grid-column: 2;
}


.ui-accordion .ui-accordion-header {
    margin-bottom: 2px;
    margin-top: 0;
}

.accordion-group {
    border: 1px solid transparent;
    border-radius: 0px;
    margin-bottom: 2px;
}

.accordion-group .accordion-inner {
    background-color: #fff;
    border-top: 1px solid transparent;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/*#menucontainer .ui-state-active,
#menucontainer .ui-widget-content .ui-state-active,
#menucontainer .ui-widget-header .ui-state-active {
    border: 0px;
    background-color: #222;
    height: 47px;
}

.icon-admin {
    margin-top: 12px !important;
}

#menucontainer {
    background-color: #222;
    min-height: 875px;
}

    #menucontainer .ui-widget-content,
    #menucontainer .ui-widget-content ul li a {
        background: #222 !important;
        color: #FFFFFF;
    }

    #menucontainer .ui-state-default,
    #menucontainer .ui-widget-content .ui-state-default,
    #menucontainer .ui-widget-header .ui-state-default { 
        border-style: none;
        border-color: transparent;
        background-color: #222;
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222), to(#222));
        background-image: -webkit-linear-gradient(#222, #222);
        background-image: -moz-linear-gradient(top, #222, #222);
        background-image: -o-linear-gradient(#222, #222);
        background-image: linear-gradient(#222, #222);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
        box-shadow: none;
        height: 47px;
        line-height: 2;
        position: relative;
    }

#menucontainer.ui-accordion .ui-accordion-header a {
    left: 30px;
    position: absolute;
    right: 20px;
    color: #FFFFFF;
}*/

input[readonly='readonly'] {
    background-color: #eee;
}

.ui-widget-overlay {
    background-color: #afacac;
    opacity: 0.6;
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ui-dialog {
    padding: 0px;
    z-index: 10;
    position: absolute;
    z-index: 10;
}

    .ui-dialog .ui-dialog-content {
        background: #fff;
        border: 0 none;
        overflow: auto;
        position: relative;
    }

    .ui-dialog .ui-dialog-titlebar {
        background-color: #767474;
        border: 0px;
        padding: 15px 15px;
        color: #fff;
        font-family: "Segoe UI","Geneva","Lucida Grande",non-serif;
        font-size: 18px;
        font-weight: normal;
    }

.ui-dialog .ui-dialog-titlebar-close {
    filter: alpha(opacity=100);
    -html-opacity: 1.0;
    -moz-opacity: 1.0;
    opacity: 1.0;
    right: 0.6em;
    padding: 0px;
    position: absolute;
}

.ui-dialog .ui-dialog-titlebar-close:hover,
.ui-dialog .ui-dialog-titlebar-close:focus {
    filter: alpha(opacity=100);
    -khtml-opacity: 1.0;
    -moz-opacity: 1.0;
    opacity: 1.0;
}

.ui-multiselect-none .ui-icon-closethick {
    height: 13px !important;
    width: 15px !important;
}

.ui-dialog-titlebar-close {
    background-position: -430px -154px !important;
    height: 13px !important;
    width: 15px !important;
    border: 0px;
}

input[data-val-required], select[data-val-required] {
    border-color: orange;
}

.input-validation-error {
    border-color: red !important;
}



.ui-dialog-content {
    width: 100% !important;
    background: #fff;
    border: 0 none;
    overflow: auto;
    position: relative;
}

.ui-dialog .ui-dialog-buttonpane {
    text-align: left;
    border-width: 1px 0 0 0;
    background-image: none;
    margin-top: .5em;
    padding: .3em 1em .5em .4em;
}

.modal-header {
    background-color: gray;
    padding: 15px;
    display: flex;
}

.modal-title {
    flex: 1 1 auto;
    font-weight: bold;
    color: #ffffff;
}


.iksPanelFakturaWholeScreen {
    min-height: 387px;
    background-color: lightgray;
}

.labelZaplacona, .labelWyslana {
    color: green;
}

.labelNiezaplacona, .labelNiewyslana {
    color: red;
}

.labelCzesciowoZaplacona {
    color: orange;
}

.labelCzesciowoZaplacona {
    color: orange;
}

.loadingImg {
    background: url('../images/loading.gif') no-repeat center !important;
    height: 200px;
}

.loading {
    background-color: #fff;
    border-radius: 0;
    height: 320px;
    margin: 0 auto;
    padding: 38px 0;
    text-shadow: 1px 1px #fff;
    width: 335px;
}

.loading span {
    font-weight: normal;
    font-family: "Segoe UI","Geneva","Lucida Grande",non-serif;
    font-size: 24px;
}

.loading img {
    margin-top: -7px;
}

.liBtnWyloguj {
    margin-right: 25px;
}

.btnWyloguj {
    color: white !important;
}

.iconPozycjaRemove {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 23px;
    top: 3px;
}

.iksArtykulDtoPanel {
    background-color: #3F3F3F;
    border: 5px solid #3F3F3F;
    text-align: center;
    min-height: 115px;
    margin-bottom: 5px;
    min-width: 100px;
    max-width: 100px;
    display: inline-block;
}

.iksArtykulDtoPanelAlarm {
    background-color: #ff9933 !important;
}

.iksArtykulDtoPanelAlarmZero {
    background-color: #c8c8c8 !important;
}

.iksWydawanieResztyPanel {
    background-color: #3F3F3F;
    text-align: center;
    margin-bottom: 5px;
    width: 80px;
    display: inline-block;
    margin: 3px;
    padding-top: 10px;
    cursor: pointer;
}

    .iksWydawanieResztyPanel .iksArtykulDtoIlosc {
        cursor: pointer;
    }

.iksWydawanieResztyButton {
    background-color: #3F3F3F;
    text-align: center;
    min-height: 40px;
    margin-bottom: 5px;
    width: 100%;
    display: inline-block;
    margin: 3px;
    color: #CB0311;
    line-height: 40px;
    font-size: 20px;
    font-weight: 700;
}

.iksArtykulDtoNazwa {
    min-height: 51px;
    line-height: 51px;
}

.iksArtykulDtoNazwaSpan {
    display: inline-block;
    vertical-align: middle;
    line-height: 13px; /* <-- adjust this */
    font-size: 13px;
    font-weight: bold;
    color: white;
}

.iksArtykulDtoCena {
    line-height: 14px; /* <-- adjust this */
    font-weight: bold;
    color: #CB0311;
    font-size: 16px;
}

.iksWydawanieResztyCena {
    font-weight: bold;
    color: #CB0311;
    font-size: 18px;
}

.iksArtykulDtoIlosc {
    max-width: 80px;
    background-color: #3f3f3f;
    border: 1px solid red;
    color: white;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}

.iksSprzedazPanelKategorii {
    overflow: hidden;
    white-space: nowrap;
    overflow-x: auto;
    width: calc(100% - (320px));
    display: inline-block;
}

.iksSprzedazKategoria, .iksFiltrKategoria {
    white-space: normal;
}

.iksPanelArtykuly, .iksPanelPodsumowanie, .iksPanelArtykulyFiltr {
    overflow: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

.iksKategoriaPanelHeader {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.iksPanelPodsumowanieSprzedazy {
    display: inline-block;
    height: 100%;
    width: 300px;
    float: right;
}

.iksPodsumowanieDoZaplatyLabel {
    font-size: 18px;
    text-align: center;
    font-weight: 700;
}

.iksPodsumowanieWartoscLabel {
    font-weight: bold;
    color: #CB0311;
    font-size: 35px;
    text-align: center
}

.iksPodsumowanieResztaLabel {
    font-weight: bold;
    color: #FFA60E;
    font-size: 20px;
    text-align: center
}

.iksPodsumowanieZaplaconoLabel {
    font-weight: bold;
    color: #3CFF9A;
    font-size: 20px;
    text-align: center
}

.iksPodsumowanieZaplaconoResztaLabel {
    font-size: 12px;
    text-align: center;
    font-weight: 700;
}

.iksArtykulDtoPanelWybrany {
    border: 5px solid #CB0311;
}

.iksArtykulDtoPanelDodanyDoSprzedazy {
    background-color: #9F9F9F !important;
}

.btnRozwinAccordionPanelArtykulow {
    margin-top: -5px;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.panel-heading-tiny {
    padding: 2px 10px !important;
}

.panel-nmb {
    margin-bottom: 1px;
}

#panelPrzewijanie {
    overflow-y: auto;
    max-height: calc(100vh - 140px);
}

#filtrArtykulow {
    width: calc(100% - 550px);
    display: inline;
}

.state, .state-full {
    cursor: pointer;
    width: 100%;
}

.state-full {
    display: none;
    float: left;
}

.state span {
    float: left;
}

div.state {
    overflow: hidden;
}

#tableWybraneArtykuly {
    font-size: 12px;
}

#wybraneArtykulyTable thead tr {
    font-size: 12px;
}

.form-control-tiny {
    display: block;
    width: 100%;
    height: 24px;
    padding: 6px 12px;
    font-size: 12px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.td-podsumowanie {
    padding: 2px !important;
    vertical-align: middle !important;
}

.textCenter {
    text-align: center;
}

.iksRabatButton {
    background-color: #3F3F3F;
    text-align: center;
    min-height: 25px;
    margin-bottom: 3px;
    width: 100%;
    display: inline-block;
    margin: 2px;
    color: #CB0311;
    line-height: 25px;
    font-size: 12px;
    font-weight: 700;
}

#btnRabatZatwierdz, #btnRabatAnuluj {
    padding-left: 4px;
    padding-right: 4px;
}

.cenaZaNiska {
    color: #CB0311;
    font-weight: bolder;
}

.iksFakturaPozycjaDataUtworzenia {
    font-size: 10px;
}

.dataTablesPaginateButtonMinHeigh {
    height: 32px;
}

.dataTablesPaginateButtonNrStrony {
    color: green;
}

#dropzone {
    height: 100px;
    background-color: lightgray;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.ui-dialog-titlebar-close {
    font-size: 0 !important;
    margin-right: 10px !important;
}

.ui-widget-shadow {
    opacity: 1 !important;
}

#klientNieoplaconeFaktury {
    color: white;
    text-align: center;
    background-color: red;
}

.ldBar path.mainline {
    stroke-width: 30;
    stroke: #ff0000;
    stroke-linecap: round;
    width: 100%;
}

.ldBar path.baseline {
    stroke-width: 20;
    stroke: #f1f2f3;
    stroke-linecap: round;
    filter: url(#custom-shadow);
}

.colorOption {
    width: 18px;
    height: 18px;
    margin: 3px;
    cursor: pointer;
}

.colorGreen {
    background-color: yellowgreen !important;
    color: yellowgreen !important;
}

.colorYellow {
    background-color: darkorange;
    color: darkorange;
}

.progressbar-text {
    text-shadow: 0 0 3px #fff;
}