﻿html {
    background-color: #071C34;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    color: #000;
    font-size: 1em;
    font-family: Helvetica, Arial, Sans-Serif;
    margin: 0;
    padding: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.header_container {
    line-height: 2.5em;
}

.navbar {
    padding: 2px 0;
    background: #071C34;
    color: #fff;
}

#navbarSupportedContent {
    justify-content: end;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FDA40B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler {
    border-color: #FDA40B !important;
}

.navbar-headline {
}

.navbar-logo {
    display: inline-block;
    color: white;
    vertical-align: middle;
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.3em;
    vertical-align: middle;
    margin-left: 5px;
}

.nav-item {
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 1em;
}

.nav-link {
    text-decoration: none;
    color: #000 !important;
    background-color: #FDA40B !important;
    transition: background-color ease 0.4s;
    border-radius: 4px;
}

a.nav-link:hover,
a.nav-link:focus {
    color: #fff !important;
    background-color: #071C34 !important;
}

.nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
    text-decoration-color: #f60;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: transparent;
}

.dropdown-menu {
    min-width: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    border: none;
    border-top: 1px solid rgba(0,0,0,.15);
    font-size: 0.9rem;
}

a {
    color: #333;
    outline: none;
    /*padding-left: 3px;
    padding-right: 3px;*/
    text-decoration: underline;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #333;
    }

table.dataTable tr td span a {
    display: none !important;
}

table.dataTable th {
    font-size: 1em;
}

table.dataTable td {
    font-size: 1em;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

#NavUserInfo {
    font-size: 0.8em;
    color: #fff !important;
    text-align: right !important;
    font-weight: bold;
    margin-left: 1em;
}

/* Sticky footer styles
-------------------------------------------------- */

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25em .75em rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1em;
    line-height: inherit;
}

footer {
    clear: both;
    background-color: #071C34;
    color: #fff;
    font-size: 0.8em;
    height: 50px;
    padding-top: 10px;
    margin-top: 1.5em;
}

/* custom */

.btn {
    border-radius: 4px !important;
    text-decoration: none !important;
}

.btn.disabled {
    color: #000 !important;
    background-color: #d6d6d6 !important;
    cursor: default !important;
}

.btn-primary {
    border: none;
    color: #000;
    background-color: #FDA40B;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #FDA40B;
    }

.btn-secondary {
    border: none;
    background-color: #ccc !important;
}

.btn:focus {
    box-shadow: none;
}

.btn-green {
    border: none;
    color: #fff;
    background-color: #0a6e31;
}

    .btn-green:hover {
        color: #fff;
        background-color: #50be87;
    }

.btn-orange {
    border: none;
    color: #000;
    background-color: #ffb400;
}

    .btn-orange:hover {
        color: #000;
        background-color: #ffd400;
    }

.form-control:focus {
    border-color: #595959 !important;
    box-shadow: 0px 0px 0px 0.2em rgba(0,123,255,0.5) !important;
}

label.control-label {
    /*min-width: 80px;*/
    color: #fff;
    background-color: #071C34 !important;
    padding: 3px 10px;
    font-size: 1em;
    font-weight: normal;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 0;
}

input.enabled {
    background: #fff;
    pointer-events: auto;
}

input.disabled {
    background: #ddd;
    pointer-events: none;
}

.inputText:not(:disabled):not(:read-only):hover,
.inputText.datepicker:not(:disabled):hover,
.inputTextarea:not(:disabled):not(:read-only):hover,
.inputSelect:not(:disabled):hover {
    border: 1px solid #595959;
    box-shadow: 0px 0px 0px 0.2em rgba(0,123,255,0.5);
    margin: 0;
}

inputText:not(:disabled):not(:read-only):hover {
    margin: 1px;
}

.inputText.datepicker:not(:disabled):hover,
.inputTextarea:not(:disabled):hover,
.inputSelect:not(:disabled):hover {
    margin: 0;
}

.inputText {
    padding: 1px;
    box-sizing: border-box;
    text-align: center;
    height: 1.85em;
    line-height: 1.5em;
    vertical-align: middle;
}

.inputTextarea {
    line-height: 1.5em;
    min-height: 3em;
    box-sizing: border-box !important;
    padding: 0.1em 0.4em;
}

.inputSelect {
    border: 1px solid #595959 !important;
    height: 1.75em !important;
    display: inline-block;
    outline: none !important;
    vertical-align: middle;
}

.inputText:read-only,
.inputTextarea:read-only {
    background-color: #f0f0f0;
    border: 1px solid #777;
}

.inputText:read-only:focus,
.inputTextarea:read-only:focus {
    outline: none;
}

.inputText.datepicker:read-only {
    background-color: #fff;
    border: 1px solid #999;
    width: 150px !important;
}

.onTop {
    z-index: 1000 !important;
}

#pageLoader {
    width: 100%;
    margin: 1.5em 0;
    text-align: center;
    display: none;
}

.dataTable {
    table-layout: fixed;
    word-wrap: break-word;
}

.fa-chevron-up:before {
    content: "\f077";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    color: #fff;
}

.scroller {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

#submitButton {
    margin: 0 1.2em;
}

.clearFilterArea {
    text-align: right;
    display: none;
}

#SearchFilterArea {
    display: block !important;
    border-radius: 7px !important;
    background: #f6f6f6 !important;
}

    #SearchFilterArea btn {
        margin-left: 5px;
    }

    #SearchFilterArea p:last-child,
    #SearchFilterArea p:last-child > label {
        margin-bottom: 0 !important;
    }



[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 100%;
}

.dataTables_empty {
    /*border-bottom: 1px solid #000;*/
    border-bottom: none;
}

.dataTables_processing {
    z-index: 100;
}

:not([class*=col-]):not(.input-group-btn):not([class*=form-control]).bootstrap-select {
    width: calc(100% - 10px) !important;
}

.dropdown-item {
    font-family: Helvetica, Arial, Sans-Serif !important;
    color: #000 !important;
    width: auto !important;
}

.bs-searchbox input {
    padding-left: 0;
    padding-right: 0;
}

.page-item.active .page-link {
    color: #000;
    background-color: #071C34;
    border-color: #071C34;
}

.page-link:focus {
    box-shadow: 0px 0px 0px 0.2rem rgba(0,123,255,0.5) !important;
}

.dataTables_filter {
    height: 1.5em;
    margin-bottom: 1em;
}

    .dataTables_filter:hover {
        box-shadow: none !important;
    }

    .dataTables_filter input {
        line-height: 1.5em;
        height: 1.5em;
        border: 1px solid #000;
        text-align: center;
        margin-left: 0.5em !important;
    }

.dataTables_processing {
    color: #007bff !important;
}

.dataTables_wrapper .dataTables_paginate {
    font-size: 0.85rem;
    padding-top: 0.5rem;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        border: 1px solid transparent !important;
        background: #071C34;
        border-radius: 0.25rem;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        border: 1px solid transparent !important;
        background: #c6c6c6;
        border-radius: 0.25rem;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
            border: 1px solid transparent !important;
            background: #8f8f8f;
            color: #fff !important;
            border-radius: 0.25rem;
        }

.dataTables_wrapper .dataTables_info {
    font-size: 0.85rem;
    padding-top: 1.55rem;
}

.dataTable > tbody > tr:nth-child(even) {
    background-color: #f0f0f0;
}

.btn-primary.btn_toggled {
    color: #000 !important;
    background-color: #c6c6c6 !important;
}

    .btn-primary.btn_toggled:hover {
        color: #fff !important;
        background-color: #595959 !important;
    }

.btn-primary:disabled {
    color: #000 !important;
    background-color: #c6c6c6 !important;
}

    .btn-primary:disabled:hover {
        color: #000 !important;
        background-color: #c6c6c6 !important;
    }

.table tr th,
.table tr td {
    text-align: center;
    vertical-align: middle;
}

    .table tr td textarea {
        vertical-align: middle;
    }

.resultPositive {
    background: #b8ebd6;
}

.resultNegative,
.resultError {
    background: #ffe8f7;
}

.resultMissing {
    background: #f0f0f0
}

.resultNone {
    display: none;
}

select.form-control {
    height: 2em !important;
    padding: 0 0 0 2px !important;
    display: inline-block;
    outline: none !important;
    width: auto !important;
    border: 1px solid #595959;
}


input[type="text"].disabled {
    background: #f0f0f0 !important;
    border: 1px solid #8f8f8f !important;
    color: #000 !important;
}

.contractLineTable {
    width: 100%;
}

    .contractLineTable > tbody > tr {
        background-color: transparent !important;
    }

        .contractLineTable > tbody > tr > td {
            border: none;
            padding: 0;
        }

        .contractLineTable > tbody > tr:not(:first-child) {
            border-top: 1px solid #d6d6d6;
        }

.container {
    max-width: 1190px !important;
}

.colorLinks a {
    color: #007bff;
    text-decoration: underline;
}

.loader {
    height: 1em;
}

.inputError {
    border: 2px solid #f00 !important;
    box-shadow: none !important;
}

.btn-medium {
    min-width: 60px;
    padding: .33em 1.2em;
}

.btn-gray {
    color: #000;
    background: #d6d6d6;
    border-color: #d6d6d6;
}

#AuditInfoModal .modal-dialog {
    max-width: 1200px;
}

.formModalTable {
    width: 100%;
}

.formModal .modal-content {
    width: auto;
}

.formModalTable tbody tr td:first-child {
    font-weight: bold;
    width: 1% !important;
}

    .formModalTable tbody tr td:first-child label {
        width: 96%;
        min-width: 142px;
        margin-right: 10px;
    }

.formModalTable .inputText,
.formModalTable .inputSelect {
    width: 450px;
}

.formModalTable .inputTextarea {
    width: 100%;
}

.formModalTable .int_field2,
.formModalTable .decimal_field {
    width: 200px;
}

.formModalTable tbody tr td {
    padding: .25em .1em;
    vertical-align: top;
}

.formModal .modal-header {
    padding: 0.5em 1em;
}

.formModal .modal-footer {
    padding: 0.75em 1em;
}

.formModalTable .form-control-file {
    padding-top: 0.2em;
}

.simpleModalTable {
    margin-bottom: 0;
    margin-top: -1rem;
}

    .simpleModalTable tbody tr td {
        vertical-align: top;
    }

.form-control-file {
    height: 2em;
}

.summaryCard,
.configCard {
    margin: 1.5em 0;
    display: block !important;
    border-radius: 7px !important;
    background: #f6f6f6 !important;
}

    .offerCard .card-title,
    .summaryCard .card-title,
    .configCard .card-title {
        text-decoration: underline;
        font-weight: bold;
        font-size: 1.25em;
    }

        .offerCard .card-title:not(:first-child) {
            margin-top: 0.5em;
        }

        .summaryCard .card-title:not(:first-child) {
            margin-top: 0.75em;
        }


    .offerCard .card-body,
    .summaryCard .card-body,
    .configCard .card-body {
        padding: 0.75em 1.25em 1.25em 1.25em;
    }

.configSubcard {
    margin-top: 1em;
}

    .configSubcard .card-body {
        padding: 0.5em 1.25em 1em 1.25em;
    }

    .configSubcard .card-title {
        text-decoration: none;
        margin-bottom: 0.25em;
    }

.summarySubcard .card-title {
    text-decoration: none;
    margin: 0.75em 0;
}

.summarySubcard .card-body {
    padding: 0 1.25em;
}

.card-header {
    background-color: #071C34;
    color: #000;
}

    .card-header h4,
    .card-header h5 {
        margin-bottom: 0;
    }

.emptySummary.card-body {
    padding: 1.25em;
}

.emptySummary h4 {
    margin: 0;
}

.summaryTable label {
    margin: 0;
}

.summaryTable {
    border-collapse: collapse !important;
    margin-bottom: 0;
    font-size: 0.9em;
}

    .summaryTable.table-bordered tr td,
    .summaryTable.table-bordered tr th {
        border: 1px solid #071C34;
    }

    .summaryTable tbody tr td,
    .summaryTable tfoot tr td {
        width: 25%;
        padding-top: 3px;
        padding-bottom: 3px;
        border-left: none;
        border-right: none;
        border-top: 1px solid #071C34;
        border-bottom: none;
        word-break: break-word;
    }

    .summaryTable tbody tr:last-child td {
        border-bottom: 1px solid #071C34;
    }

    .summaryTable tbody tr td:first-child,
    .summaryTable tbody tr td:nth-child(3) {
        padding-left: 1em;
        text-align: left;
        color: #fff;
        background: #071C34;
    }

    .summaryTable tbody tr td:nth-child(2),
    .summaryTable tbody tr td:nth-child(4) {
        text-align: center;
        background: #fff;
    }

.tableBorderBottom tfoot tr {
    border-bottom: 1px solid #dee2e6;
}

.summaryTable tfoot tr td:not(:first-child) {
    font-weight: bold;
}

.tableBorderTopNone thead tr th {
    border-top: none;
}

.badge {
    font-size: 0.8rem !important;
    font-weight: normal !important;
    white-space: wrap;
}

.badge-dark {
    color: #fff !important;
    background-color: #595959 !important;
}

.badge-navy {
    color: #fff !important;
    background-color: #071C34 !important;
}

.text-orange {
    color: #ffb400 !important;
}

.paramsTable tbody tr td:first-child {
    padding-left: 2em;
    font-weight: bold !important;
    text-align: left;
    width: 25%;
}

.paramsTable tbody tr td:nth-child(2) {
    text-align: center;
}

.paramsTable label {
    margin: 0;
}

.info-error {
    background-color: #ffe8f7;
    color: #000;
}

.info-ok {
    background-color: #b8ebd6;
    color: #000;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-right: 30px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 30px;
        width: 30px;
        z-index: 1;
    }

.checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 30px;
    width: 30px;
    background-color: #eee;
    z-index: 0;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #071C34;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 10px;
    top: 5px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.card-header-narrow {
    padding: .5rem 1.25rem !important;
}

.form-control {
    height: 2.5rem !important;
}

    .form-control:disabled, .form-control[readonly] {
        background-color: #e0e0e0;
    }

.nav-tabs {
    border-bottom: none;
}

    .nav-tabs .nav-link {
        border-radius: 7px;
        margin: 3px 0;
    }

.nav-link i,
.navbar-brand i {
    margin-right: 7px;
}

.dataTables_paginate {
    margin-top: 10px;
}

.bootbox-small .modal-dialog {
    max-width: 420px;
}

.custom-control-label::before {
    top: 0.23rem;
}

.custom-switch .custom-control-label {
    cursor: pointer;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #FDA40B;
    background-color: #FDA40B;
}

.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0,123,255,0.5);
}

td.details-control {
    font-size: 1.5em !important;
    color: #007bff;
}

tr.shown td.details-control {
    color: #595959;
}

.dtr-title:empty {
    display: none !important;
    min-width: 0 !important;
    width: 0;
    padding: 0;
    margin: 0;
}

    .dtr-title:empty + .dtr-data {
        padding-left: 0;
    }

.dtr-details li {
    width: 100%;
    text-align: left;
}

    .dtr-details li:not(:last-child) {
        border-bottom: 1px solid #8f8f8f !important;
    }

div.slider {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.fa-medium {
    font-size: 1.2em;
}

.filterRow:focus {
    outline: none;
}

.detailsRow > td {
    padding: 0 0 0.5rem 0 !important;
}

.clearButton {
    color: #515151;
}

#FormGroupAccordion > .card > .card-header {
    color: #fff;
    background-color: #071C34;
    transition: background-color ease 0.4s;
}

    #FormGroupAccordion > .card > .card-header:hover {
        background-color: #007bff;
    }

#FormGroupAccordion > .card > div > .card-body {
    padding: 0;
}

#nav-all-results .borderedTable {
    border-left: 1px solid rgba(0,0,0,.125);
}

.borderedTable > thead > tr > th {
    border: 1px solid #777 !important;
}

.borderedTable > tbody > tr:not(.rowHidden) > td {
    border: 1px solid #777;
}

.noStripesTable > tbody > tr {
    background-color: #f0f0f0 !important;
}

.bootstrap-select.multiSelect {
    max-width: 350px;
}

.bootstrap-select.bootSelect200 {
    max-width: 200px;
}

.bootstrap-select.bootSelect300 {
    max-width: 300px;
}

.bootstrap-select.bootSelect350 {
    max-width: 350px;
}

.bootstrap-select {
    border: 1px solid #595959;
    border-radius: 4px;
    height: auto !important;
}

.bootstrap-select .filter-option {
    white-space: normal;
}

.preloader {
    align-items: center;
    background-color: transparent;
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    transition: opacity 0.3s linear;
    width: 100%;
}

.resultListRow {
    background-color: rgba(0,123,255,0.2) !important;
    font-size: 0.9em;
}

    .resultListRow > td {
        padding-bottom: 0;
    }

    .resultListRow .dataTables_wrapper .dataTables_info {
        padding-top: 0.5em;
    }

    .resultListRow .dataTables_wrapper .dataTables_paginate {
        padding-top: 0;
        padding-bottom: 0.3rem;
        margin-top: 5px;
    }

.resultTable {
    border-bottom: 1px solid #777;
}

    .resultTable > thead > tr > th {
        border-bottom: 1px solid #777;
    }

.rowHidden {
    display: none;
}

.color-orange {
    color: #FDA40B !important;
}

.back-green {
    background-color: #bcf5bc !important;
}

.custom-file {
    width: 40%;
    height: auto;
}

.custom-file-input {
    height: 1.875em;
}

.custom-file-label {
    line-height: 1.75em;
    height: 1.875em;
    border-radius: 0;
    padding: 0 .625em;
    margin-bottom: 0;
    overflow: hidden;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: #595959 !important;
    box-shadow: 0px 0px 0px 0.2em rgba(0,123,255,0.5) !important;
}

.custom-file-input:lang(pl) ~ .custom-file-label::after {
    content: "Przeglądaj";
    line-height: 1.75em;
    height: 1.875em;
    border-radius: 0;
    padding: 0 .625em;
}

nav[data-toggle="toc"] {
    top: 20px;
}

    nav[data-toggle="toc"] .nav > li > a:focus, nav[data-toggle="toc"] .nav > li > a:hover {
        border-left: none;
        padding-left: 20px;
    }

    @media (max-width: 768px) {
        nav [data-toggle="toc"] {
        margin-bottom: 20px;
        position: static;
    }


        nav[data-toggle="toc"] .nav .active .nav {
            display: none;
        }
}

nav[data-toggle="toc"] .nav-link.active,
nav[data-toggle="toc"] .nav-link.active:focus,
nav[data-toggle="toc"] .nav-link.active:hover {
    border-left: none;
    background-color: #007bff;
}

.form-extra-padding {
    padding: 5px 20px;
}

.longInput {
    width: 750px !important;
}

.noMinWidth {
    min-width: 0 !important;
}

#FunctionTable .functionField {
    max-width: 330px;
}

.employeeTable tr th {
    font-size: 0.9em;
}

.table-border-strong tr th,
.table-border-strong tr td {
    border: .1px solid #071C34;
}

.modal-open {
    overflow: scroll;
}

.bootbox-input-textarea.form-control {
    height: 6em;
    min-height: 6em;
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    max-width: 450px;
    text-align: left;
    padding: 1em 1.5em;
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000;
}

.tooltip-black .tooltip-inner {
    background: #071C34 !important;
    color: #fff !important;
    border: none !important;
    max-width: 500px;
    padding: 0;
}

.tooltip-black {
    padding: 0;
    font-family: Arial, sans-serif;
    pointer-events: none;
}

    .tooltip-black .tooltip-inner .card-body {
        background-position: 94% 15px;
        background-repeat: no-repeat;
        background-size: 200px;
        padding: 15px 20px;
    }

    .tooltip-black .tooltip-inner .card {
        border: 0;
        margin-bottom: 0;
        text-align: left;
        background-color: #071C34 !important;
    }

    .tooltip-black .card-header {
        font-weight: bold;
        font-size: 16px;
        background: #FDA40B;
        padding: 8px 24px;
    }

.calendar .display-4 {
    font-size: 1.5rem;
}

.calendar h5 {
    font-size: 1.1rem;
}

.calendar .calendar-grid {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}

.calendar .calendar-grid td {
    border-left: 2px solid #adb5bd;
    border-right: 2px solid #adb5bd;
    border-top: none;
    border-bottom: none;
    padding: 0;
    vertical-align: top;
}

.calendar .week-body {
    height: 140px;
}

.calendar .day-names {
    color: #fff;
    background-color: #071C34;
}

.calendar .day-number-row td {
    padding: 6px 8px 4px 8px;
    font-size: 1.1rem;
    font-weight: 500;
    border-top: 2px solid #adb5bd;
}

.calendar .week-body:first-of-type .day-number-row td {
    border-top: none;
}

.calendar .week-body:last-child .event-lane-row:last-child td {
    border-bottom: 2px solid #adb5bd;
}

.calendar .day-number {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.calendar .event-lane-row td {
    padding: 1px 0 4px 0;
    vertical-align: bottom;
    overflow: visible;
}

.calendar .event_add_button {
    display: block;
    margin: 4px auto 3px auto;
    width: 90px;
}

    .calendar .event_add_button:active,
    .calendar .event_add_button:hover {
        color: #fff !important;
        background-color: #FDA40B !important;
    }

.calendar .event {
    font-size: 0.8rem;
}

.calendar .event-span {
    margin-bottom: 3px;
    border-radius: 0;
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
    color: #000 !important;
}

.calendar .event-start {
    border-radius: 4px 0 0 4px;
    margin-left: 4px;
    margin-right: -1px;
    overflow: visible;
    z-index: 2;
    text-overflow: clip;
}

.calendar .event-end {
    border-radius: 0 4px 4px 0;
    margin-left: -1px;
    margin-right: 4px;
}

.calendar .event-middle {
    border-radius: 0;
    margin-left: -1px;
    margin-right: -1px;
}

.calendar .event-single {
    border-radius: 4px;
    margin-left: 4px;
    margin-right: 4px;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: clip;
}

.weekend {
    background: #bbb;
    border-color: #999 !important;
}

.calendar td.today {
    background: #e6f9e6;
}

.today-label {
    font-size: 0.75rem;
    font-weight: bold;
    color: #28a745;
    padding-right: 2px;
}

.calendar-header {
    text-align: center;
    padding: 0 0 0.5em 0;
}

.calendar-header-month {
    font-size: 2em;
    width: 150px;
}

.eventPopupTable {
    width: 100%;
    border: none;
    table-layout: fixed;
}

    .eventPopupTable tbody tr td {
        padding: 5px;
        border: none;
        vertical-align: top;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

        .eventPopupTable tbody tr td:first-child {
            font-weight: bold;
            white-space: nowrap;
            width: auto;
        }

.event-date {
    color: #FDA40B;
    font-weight: bold;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

#EventModal .modal-dialog {
    max-width: 700px;
}

#EventModal .modal-content {
    width: 700px;
    height: auto;
}

.btn-paging-prev,
.btn-paging-prev:focus {
    color: white !important;
    background-color: #071C34;
    border-radius: 25px !important;
    border: none;
    width: 30px;
    height: 30px;
    margin-right: 4px !important;
    line-height: 0;
    transition: all .2s ease-in-out;
    padding: 5px;
}

    .btn-paging-prev[disabled="disabled"] {
        cursor: no-drop;
        background-color: #d6d6d6;
    }

        .btn-paging-prev[disabled="disabled"]:hover {
            background-color: #d6d6d6;
        }

    .btn-paging-prev:active,
    .btn-paging-prev:hover {
        background-color: #FDA40B !important;
        border: none;
    }

.btn-paging-next,
.btn-paging-next:focus {
    color: white !important;
    background-color: #071C34;
    border-radius: 25px !important;
    border: none;
    width: 30px;
    height: 30px;
    line-height: 0;
    margin-left: 5px !important;
    transition: all .2s ease-in-out;
    padding: 5px;
}

    .btn-paging-next[disabled="disabled"] {
        cursor: no-drop;
        background-color: #d6d6d6;
    }

        .btn-paging-next[disabled="disabled"]:hover {
            background-color: #d6d6d6;
        }

    .btn-paging-next:active,
    .btn-paging-next:hover {
        background-color: #FDA40B !important;
        border: none;
    }

.btn-paging {
    color: black;
    background-color: #d6d6d6;
    border: none;
    min-width: 34px;
    padding: 4px;
    font-weight: bold;
    transition: all .2s ease-in-out;
    font-size: 0.9rem;
}

    .btn-paging:hover {
        background-color: #FDA40B;
    }

#page-navigation-content .toggled {
    background-color: black;
    color: white;
    border: none;
    min-width: 34px;
    padding: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.bg-orange {
    background-color: #FDA40B !important;
}

/* --- jQuery UI Datepicker: orange theme --- */
.ui-datepicker .ui-datepicker-header {
    background: #FDA40B;
    border-color: #FDA40B;
    color: #fff;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: #e8950a;
    border-color: #e8950a;
}

.ui-datepicker td .ui-state-active {
    background: #FDA40B;
    border-color: #FDA40B;
    color: #fff;
}

.ui-datepicker td .ui-state-highlight {
    background: #fef0d2;
    border-color: #FDA40B;
    color: #333;
}

.ui-datepicker td .ui-state-hover {
    background: #fef0d2;
    border-color: #FDA40B;
    color: #333;
}

/* --- Bootstrap-select: orange theme --- */
.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:active {
    background-color: #FDA40B;
    color: #fff;
}

.bootstrap-select .dropdown-item:hover,
.bootstrap-select .dropdown-item:focus {
    background-color: #fef0d2;
    color: #333;
}

.bootstrap-select .dropdown-item.selected {
    background-color: #FDA40B;
    color: #fff;
}

.bootstrap-select.proxy-role-select .dropdown-menu {
    max-width: min(90vw, 700px);
}

.bootstrap-select.proxy-role-select .dropdown-menu .dropdown-item .text {
    white-space: normal;
    word-break: break-word;
}

.bootstrap-select.proxy-role-select .dropdown-menu .inner {
    max-width: min(90vw, 700px);
}
/* ===== Kafelek aplikacji (Home/Index) ===== */
.app-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
    padding: 0 1rem;
}
.app-tile {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(7, 28, 52, 0.18);
    background: #fff;
    width: 100%;
    margin: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.app-tiles-grid .app-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 1rem);
    justify-self: center;
}
.app-tile:hover {
    box-shadow: 0 8px 32px rgba(7, 28, 52, 0.28);
    transform: translateY(-2px);
}
.app-tile-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 1;
    overflow: hidden;
    background: #071C34;
    padding: 2% 3%;
    box-sizing: border-box;
}
.app-tile-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 6px;
}
.app-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,28,52,0.10) 0%, rgba(7,28,52,0.55) 100%);
}
.app-tile-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 2rem;
    background: #fff;
    border-top: 4px solid #FDA40B;
    position: relative;
}
.app-tile-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
}
.app-tile-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #071C34;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}
.app-tile-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.app-tile-info {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}
.app-tile-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #071C34;
    margin: 0 0 0.2rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-tile-desc {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}
.app-tile-action {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .app-tiles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .app-tiles-grid .app-tile:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .app-tile-body {
        padding: 1rem 1.25rem;
    }

    .app-tile-content {
        width: 100%;
        min-width: 0;
    }

    .app-tile-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .app-tile-action {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 550px) {
    .app-tile-content {
        gap: 0.75rem;
    }

    .app-tile-icon-wrap {
        width: 40px;
        height: 40px;
        padding: 4px;
        flex-shrink: 0;
    }

    .app-tile-icon {
        width: 28px;
        height: 28px;
    }

    .app-tile-title {
        font-size: 1.15rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .app-tile-desc {
        font-size: 0.875rem;
    }
}
.app-tile-btn {
    text-decoration: none;
    background-color: #FDA40B;
    color: #071C34;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.6rem;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.app-tile-btn:hover,
.app-tile-btn:focus {
    background-color: #071C34;
    color: #FDA40B;
}

#UserTable tbody tr td,
#UserTable thead tr th {
    font-size: 0.9em !important;
}
/* === Responsywno === */

/* Navbar na maych ekranach */
@media (max-width: 767.98px) {
    nav.navbar {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .dataTables_filter {
        float: right !important;
        margin-right: 0 !important;
    }

    .navbar-collapse {
        margin-top: 10px;
    }

    .navbar-collapse .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }

    .navbar-collapse .dropdown-menu .d-flex {
        flex-direction: row;
        align-items: center !important;
        width: auto;
    }

    .navbar-collapse ul.navbar-nav {
        width: 100%;
    }

    .nav-item {
        margin-left: 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        margin-bottom: 4px;
    }

    .navbar-collapse .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        border: none;
        border-top: none;
        background-color: transparent;
        padding: 0;
        margin: 0;
    }

    .navbar-collapse .dropdown-menu form {
        width: 100%;
    }

    .navbar-collapse .dropdown-menu .nav-link {
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    #NavUserInfo {
        margin-left: 0;
        text-align: left !important;
    }

    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }

    table.dataTable {
        font-size: 0.85em;
    }
}

/* Tabele – przewijanie poziome na maych ekranach */
.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Medium ekrany */
@media (min-width: 768px) and (max-width: 991.98px) {
    nav.navbar {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-collapse {
        margin-top: 10px;
    }

    .navbar-collapse .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }

    .navbar-collapse .dropdown-menu .d-flex {
        flex-direction: row;
        align-items: center !important;
        width: auto;
    }

    .navbar-collapse ul.navbar-nav {
        width: 100%;
    }

    .nav-item {
        margin-left: 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        margin-bottom: 4px;
        padding-left: 0.75em;
        padding-right: 0.75em;
    }

    .navbar-collapse .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        border: none;
        border-top: none;
        background-color: transparent;
        padding: 0;
        margin: 0;
    }

    .navbar-collapse .dropdown-menu form {
        width: 100%;
    }

    .navbar-collapse .dropdown-menu .nav-link {
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    #NavUserInfo {
        margin-left: 0;
        text-align: left !important;
    }
}
/* Formularz logowania */
#account .form-control {
    min-width: 350px;
}

@media (max-width: 767.98px) {
    #account .form-control {
        min-width: 0;
        width: 100%;
    }
}

/* Modalne słowników na mobile */
.dictionaryModal .modal-dialog {
    max-width: min(500px, calc(100% - 1rem));
}

.dictionaryModal .modal-content {
    overflow: hidden;
}

.dictionaryModal .formModalTable {
    width: 100%;
}

@media (max-width: 575.98px) {
    .dictionaryModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .dictionaryModal .formModalTable .inputText,
    .dictionaryModal .formModalTable .inputSelect,
    .dictionaryModal .formModalTable .inputTextarea {
        width: 100%;
        min-width: 0 !important;
        box-sizing: border-box;
    }
}

/* Boczne menu słowników na mobile */
@media (max-width: 767.98px) {
    #dictTab.flex-column {
        flex-direction: row !important;
        flex-wrap: wrap;
        border-right: none !important;
        border-bottom: 1px solid #d6d6d6;
        margin-bottom: 1rem;
    }

    #dictTab.flex-column .nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .row.flex-nowrap {
        flex-wrap: wrap !important;
    }

    .row.flex-nowrap > .col-auto {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.companyLevel {
    font-size: 0.8rem;
    color: #071C34;
}

.proxy-row-active {
    background-color: #bcf5bc !important;
}

.proxy-row-inactive {
    background-color: #f0f0f0 !important;
}