
div#loading-panel {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    /*pointer-events: none;*/
    z-index: 2000;
    user-select: none;
    display: none;
    transition-duration: 200ms;
    transition-property: background-color;
}

div#loading-panel.active {
    display: block;
}

div#loading-panel div.loading-text {
    display: none;
}

div#loading-panel.long {
    background-color: rgba(0,0,0, 0.5);
    cursor: wait;
}

div#loading-panel.long div.loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
}

div.page:not(.active), main.page:not(.active) {
    display: none;
}

div.dialog {
    display: none;
}


div#field-orders-map {
	height: 30em !important;
}

.map-view {
    margin-bottom: 1em;
    margin-top: 1em;
}

.site-content {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    width: 100%;
}

.site-content:not(.aligner) {
    padding-top: 50px;
}

@media screen and (min-width: 1301px) and (max-width: 1900px) {
    .site-content:not(.aligner) {
        padding-top: 100px;
    }
}

@media screen and (min-width: 990px) and (max-width: 1300px) {
    .site-content:not(.aligner) {
        padding-top: 180px;
    }
}

.aligner-item {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.footer-logo {
	
	padding: 7px;
	text-align: center;
	font-size: 10px;
	color: grey;
	/*background-color: white;*/
}

.aligner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.checkbox label {
    user-select: none;
}

.wide-dialog {
    width: 98%;
}
.pager li {
    padding-left: 0.2em;
    padding-right: 0.2em;
}

.position-relative {
    position: relative;
}

.clickable {
    cursor: pointer;
}

.panel-heading-tabs {
    padding-bottom: 0;
}

.panel-heading-tabs div.container {
    margin-bottom: -1px;
}

.ignore-readonly input[readonly], textarea[readonly] {
    background-color: #fff !important;
}

table.hide-col-opt th.col-opt, td.col-opt {
    display: none;
}

textarea { resize: vertical; }

@media (min-width: 1300px) {
  .container {
    width: 1240px;
  }
}

@media (min-width: 1900px) {
  .container {
    width: 1750px;
  }
}

button.cta.btn {
    margin-left: 1em;
}

div.report {
    display: none;
}

div.report.active {
    display: block;
}

div.table-buttons {
    padding-top: 1em;
}

table td.checkbox-column {
    pointer-events: none;
}

table td.checkbox-column input {
    pointer-events: auto;
}

span.sort-icon {
    float: right;
    cursor: pointer;
}

#edit-field-order-dialog {
    overflow-y: scroll;
}

div#subheader_title {
	height: 30px; 
	vertical-align: middle; 
	line-height: 30px;
}

#yes-no-dialog div.date span.glyphicon-calendar {
	top: 0 !important;
}

tr.no-location {
   background-color: #ff9b9b
}

tr.trn {
   background-color: #e6e6ff
}

span.agreement-required {
    color: red;
}

textarea.terms {
    width: 100%;
    font-weight: bold;
}

div.terms {
   width: 100%;
   height: 20em;
   overflow-y: scroll;
}

.cursor-default {
    cursor: default;
}

.cursor-pointer {
    cursor: pointer;
}

.claim-item-table td {
    width: auto;
    padding-right: 5px;
}
img:hover {
    cursor: pointer;
}

/* .navbar-primary {
    background-color: #24618D
}

.btn-primary {
     background-color: #24618D
    }
} */

.input-group.multiselect-w100 {
    width: 100%;
}

.input-group.multiselect-w100 .btn-group {
    display: block;
}

.input-group.multiselect-w100 .multiselect {
    width: 100%;
}

/* Koszyk ze ścieżką */
.path-basket-icon {
    position: fixed;
    right: 1em;
    bottom: 1em;
    z-index: 1039;
}

.w-100 {
    width: 100%;
}

.modal-body-scroll {
    .modal-body {
        max-height: calc(100vh - 12em);
        overflow-y: auto;
    }
}

table tbody td.col-actions {
    text-align: right;
}

h1.section-header-title {
    position: relative;
}

span.header-actions {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;

    font-size: 16px;
    display: flex;
    align-items: center;
    height: 100%;
}

table tbody button.btn-link {
    padding: 0;
}

div.pdf-preview {
    min-height: 50vh;
}

div.pdf-preview > canvas.pdf-page {
    border: 1px solid black;
    margin: 0.5em auto;
    max-width: 100%;
}

div.modal-body.modal-body-full {
    min-height: calc(100vh - 12.5em);
    /*min-height: calc(100dvh - 12.5em);*/
    max-height: calc(100dvh - 11em);
}

body.browser-ios div.modal-body.modal-body-full {
    min-height: calc(100vh - 15.5em);
    max-height: calc(100dvh - 14em);
}

canvas.signature-pad {
    max-width: 100%;
    max-height: 100%;
    border: 1px solid black;
}

div.absolute-full {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
}

div.modal-footer.flex {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

div.modal-footer.flex > div {
    flex-grow: 1;
}

div.modal.modal-body-scroll {
    overflow-y: hidden;
}

#path-basket-saves-dialog {
    div.modal-content {
        min-width: 44em;

        div.modal-body {
            min-height: 25em;
        }
    }
}

span.small {
    font-size: 0.8em;
}

.modal {
    .panel-body {
        .container {
            .row {
                margin-bottom: 1em;
            }
            max-width: 100%;
        }
        .upload-section {
            margin-top: 2em;
            margin-bottom: 2em;
        }
    }
}

.file-list {
    margin: 1em;
    .btn {
        margin-right: 1em;
    }
    li {
        margin-top: 0.5em;
        .file-name {
            max-width: 80%;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            white-space: nowrap;
            vertical-align: middle;
        }
    }
}

.multiselect-selected-text {
    display: inline-block;
    vertical-align: middle;
    max-width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.act-filters {
    margin-top: 1em;
    margin-bottom: 1em;
}

table.settlement-installments {
    max-width: 50em;
}

table.settlement-installments td.col-lp {
    text-align: right;
}

table.settlement-installments td.col-amount-edit input {
    text-align: right;
}

table.settlement-installments td.col-date {
    text-align: right;

}

table.settlement-installments td.col-amount {
    text-align: right;
}

.nav-tabs-header li a {
    cursor: pointer;
}

.mb-1 {
	margin-bottom: 1em;
}
