html,
body {
}

ol {
    padding-left: 20px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.cursor-pointer{
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th.wrap {
    white-space: normal;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* Admin LTE customization { */

.main-header {
    z-index: 820;
}

.main-header .logo {
    font-family:helvetica, arial, sans-serif;
}

.skin-blue .main-header .logo {
    background-color:#148cca;
}

.skin-blue .main-header .navbar {
    background-color:#11AEFF;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover {
    background-color:rgba(0,0,0,0.1);
}

.main-sidebar, .left-side {
    padding-top:10px;
}

@media (max-width: 767px) {
    .main-sidebar, .left-side {
        padding-top:10px!important;
    }
}

.sidebar-menu li > a > .fa-angle-right {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
}

.sidebar-menu li.active > a > .fa-angle-right {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sidebar-menu .treeview-menu > li > a > .fa-angle-right {
    width: auto;
}

@media (max-width: 767px) {
    .skin-blue .main-header .navbar .dropdown-menu li a {
        color:inherit;
    }
    .skin-blue .main-header .navbar .dropdown-menu li a:hover
    {
        background-color:#e1e3e9;
    }
    .skin-blue .main-header .navbar .dropdown-menu li.divider {
        background-color:#eee;
    }

    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > thead > tr > th {
        white-space:normal;
    }
}

@media (max-width: 991px) {
    .navbar-custom-menu>.navbar-nav>li>.dropdown-menu {
        right:0;
    }
}

.content-header > .breadcrumb {
    background-color:#d2d6de;
}
.content-header>.breadcrumb li:before {
    color:#97a0b3;
}

/* } Admin LTE customization */

#yii-debug-toolbar-logo {
    display:none;
}

#yii-debug-toolbar-min {
    width:35px!important;
}

.login-page {
    background:#d2d6de url('../img/truck.png') no-repeat left bottom;
}


.login-box-body{
    border-radius: 4px;
}

tr.filters .form-control {
    height:auto !important;
    padding:2px 6px;
}

tr.filters select.form-control {
    padding-left: 0;
}

.navbar-nav>.user-menu>.dropdown-menu {
    width:auto !important;
}

.panel-highlight{
    background-color: #3c8dbc;
    transform: scale(0.95);
}
.freight-info-panel{
    transition: 1.5s;
}

.main-header .test-version-info {
    color:white;
    float:left;
    background-color: transparent;
    background-image: none;
    padding: 15px 15px;
}

.main-header .test-version-info:before {
    content: "\f05a";
    font-family: fontAwesome;
}

.main-header .test-version-info:hover {
    background-color: rgba(0,0,0,0.1);
}

.skin-blue .main-header .navbar.test-version {
    background-color:#f39c12;
}

table.kv-grid-table {
    font-size:12px;
}

table.kv-grid-table > tbody > tr > td {
    padding:4px;
}

table.kv-grid-table > tfoot > tr > td {
    padding-left: 4px;
    padding-right: 4px;
}

table.kv-grid-table > tbody > tr > td.p-0 {
    padding:0;
}

.text-md table.kv-grid-table {
    font-size: 1.4rem;
}


.label-black {
    background-color: #000 !important;
}

.label-brown, .bg-brown {
    background-color: #795548 !important;
}

.label-lightblue {
    background-color: #cdeefd !important;
    color:#444 !important;
}

.label-lightnavy {
    background-color: #5A6E82 !important;
}

.label-lightprimary {
    background-color: #80B5D3 !important;
}

.label-strongprimary {
    background-color: #357CA5 !important;
}

.label-lightwarning {
    background-color: #F7BF65 !important;
}

.label-strongwarning {
    background-color: #DB8B0B !important;
}

.label-purple {
    background-color: #605CA8 !important;
}

.text-red {
    color:red;
}

.text-gray {
    color:gray;
}

.text-white {
    color:white !important;
}

.bg-warning-important {
    background-color: #fcf8e3 !important;
}

td.full-width-label .label {
    display:block;
}

.nav-stacked > li > a {
    color:#3c8dbc;
    overflow:hidden;
}

.nav-stacked > li > div {
    position:relative;
    padding: 10px 15px;
    border-left: 3px solid transparent;
}

.nav-stacked > li > div.inactive {
    color:#c0c0c0;
}

.nav-stacked > li > div.footerPanel {
    padding: 0 0 5px 25px;
    color:black;
}

.box-header .box-title {
    font-size: 16px;
}

.btn-toolbar > .dropdown > .btn {
    margin-left:5px;
    margin-top:5px;
}

.btn-toolbar-lg .btn {
    margin-bottom:5px;
}

div.wrapper {
    position:relative;
}

/*
.table-responsive {
        min-height:400px;
}
*/

.kv-panel-before {
    padding-top:5px;
}

.kv-panel-before .btn {
    margin-top:5px;
}

.size-normal {
    font-size:100%;
    font-weight:normal;
}

.label-container .label {
    line-height:2;
}

div.search-box .box-title {
    font-size:13px;
    display:block;
}

div.search-box .box-title > a {
    padding:10px;
    display:block;
}

div.search-box .box-title .fa-plus:before {
    content: "\f105"; /* fa-angle-right */
}

div.search-box .box-title .fa-minus:before {
    content: "\f107"; /* fa-angle-down */
}

div.search-box.box-solid > .box-header a:hover {
    background:none;
    color:white;
}

div.search-box div.box-header {
    padding:0;
}

div.cbx-empty-col {
    width:60px;
    height:20px;
    font-size:13px;
}

table.empty-col-table th {
    padding-right:8px;
    font-weight:normal;
}

table.kv-grid-table .label {
    font-size:10.5px;
}

table.kv-grid-table .label.label-lg {
    font-size:1em;
}

th.freight-load {
    color:white;
    background-color:#F39C12;
}

th.freight-unload {
    color:white;
    background-color:#00A7D0;
}

.flags-container{
    background-color: #337ab7;
    margin: 2px 1px;
    padding: 3px;
    border-radius: 2px;
    display: inline-block;
}

.small-flag {
    width:18px;
    vertical-align: text-bottom;
    border:1px solid #f8f8f8;
    margin-bottom:1px;
}

.flag-md {
    width: 26px;
    border:1px solid #f8f8f8;
    margin-left: 2px;
    margin-right: 2px;
}

img.loading-img {
    display:block;
    margin:0 auto;
}

.callout-car-set-route {
    background-color:#d6f5f5;
    border-color:#30bbbb;
}

.table > thead > tr.groupLightRow > th {
    padding:4px 8px;
}

.label-md, table.kv-grid-table .label-md {
    font-size:100%;
}

table.kv-grid-table hr {
    margin-top:2px;
    margin-bottom:2px;
}

.runningFreight {
    background-color:#86DBB4 !important;
}

.pinFreight {
    opacity:0.25 !important;
}

table tr.row-muted {
    background-color:#b5bbc8 !important;
}

.extgridview-empty {
    font-size:12px;
    padding:4px;
    opacity:0.5;
}

.bg-default {
    background-color: #F5F5F5;
}

.bg-white {
    background-color: #FFF !important;
}

.bg-lightgray {
    background-color: #F9F9F9 !important;
}

.bg-lightgreen {
    background-color: #69C795 !important;
}

.bg-lightorange {
    background-color: #FBB376 !important;
}

.text-lightgreen {
    color: #69C795 !important;
}

.text-lightorange {
    color: #FBB376 !important;
}

.bg-strongyellow {
    background-color: #f8f800 !important;
    color: #000;
}

.text-strongyellow {
    color: #f8f800 !important;
}

.width100 {
    width:100px;
}

.box.box-solid > .box-header .popover .btn-primary:hover {
    background-color: #367fa9;
}

.box.box-solid > .box-header .popover .btn.btn-default {
    background-color: #f4f4f4;
    color: #444;
}

.box.box-solid > .box-header .popover .btn.btn-default:hover {
    background-color: #e7e7e7;
    color: #333;
}

.popover {
    font-family: 'Source Sans Pro';
}

.popover label, .box.box-solid > .box-header .popover label {
    color: #444;
    font-size:80%;
}

.box.box-solid > .box-header .popover {
    color: #000;
}

body.modal-open {
    overflow:auto;
    padding-right:0 !important;
}

.tooltip-container-text-left .tooltip-inner {
    text-align: left;
}

.nav-tabs.primary {
    border-bottom:1px solid transparent;
}

.nav-tabs.primary > li > a {
    border: 1px solid #eee;
    border-bottom-color: transparent;
    background-color:#fdfdfd;
}

.nav-tabs > li.default > a {
    /*background-color:#eee;*/
}

.nav-tabs.primary > li.active > a {
    background-color:#337ab7;
    color:white;
    font-weight:bold;
}

.bg-yellow a, .bg-yellow a:hover, .bg-yellow a:active, .bg-yellow a:focus {
    color:white;
}

.bg-red a, .bg-red a:hover, .bg-red a:active, .bg-red a:focus {
    color:white;
}

.table > tbody > tr.success > td {
    color:#333;
}

.table > tbody > tr.success > td a {
    color:#72afd2;
}

.datepicker .cw {
    font-size:15px;
    color:#337ab7;
}

div.oldCarSetItem, div.newCarSetItem {
    background-color:#f4f4f4;
    font-size:12px;
    padding:4px;
    border-radius: 4px;
    margin-bottom:4px;
}

div.oldCarSetItem.changed {
    background-color:#f2dede;
}

div.newCarSetItem.changed {
    background-color:#dff0d8;
}

.label.label-pin {
    padding: 0.1em 0.4em;
    cursor: default;
}

@media (min-width: 768px) {
    .modal-width-md .modal-dialog {
        width: 800px;
    }
}

.dropdown-menu {
    background-color: #fafafa;
}

.dropdown-menu li > a[data-disabled] {
    opacity: 0.5;
}

.label.label-lg {
    font-size:100%;
}

.box-card label {
    margin-bottom:0;
    margin-right:5px;
}

.tt-menu {
    min-width:auto;
    width:auto;
}

.modal-box-compact .modal-body {
    padding-top:0;
    padding-bottom:0;
}

@media (max-width: 480px) {
    div.table-responsive table.detail-view {
        /*table-layout: fixed;*/
    }
}

.modal-body .twitter-typeahead .tt-input[readonly] {
    background-color:white !important;
}

@media screen and (max-width: 480px) {
    .kv-table-wrap th {
        display:none;
    }

    .navbar-custom-menu .navbar-nav>li>a {
        padding:15px 5px;
    }

    .kv-table-wrap tr > td:first-child {
        font-size:1.2em;
    }
}

@media (max-width: 991px) {
    .navbar-custom-menu>.navbar-nav {
        float: left;
    }

    .navbar-custom-menu>.navbar-nav>li>.dropdown-menu {
        right:inherit;
    }
}

.wrapper {
    overflow:visible;
}

.detail-view-heading-link {
    font-size:1em;
}

.detail-view-heading-link:hover {
    color:inherit;
}


/* Usunąć po zaktualizowaniu bibliotek Yii2 na serwerze { */
.panel-primary .kv-action-btn {
    color: #d9edf7;
}

.panel-primary .kv-action-btn:hover {
    color: #c4e3f3;
}

.panel-info .kv-action-btn {
    color: #31708f;
}

.panel-info .kv-action-btn:hover {
    color: #245269;
}

.kv-action-btn {
    margin: 0 2px;
    padding: 0 5px;
    background: none;
    border: none;
    font-size: 16px;
}

.kv-action-btn:focus {
    outline: 0;
}

.panel-primary .kv-action-btn {
    color: #d9edf7;
}

.panel-primary .kv-action-btn:hover {
    color: #c4e3f3;
}
/* } Usunąć po zaktualizowaniu bibliotek Yii2 na serwerze  */

div.pdf-container {
    font-size:1em;
}

div.pdf-container table {
    width:100%;
    font-size:1em;
    border-spacing:0;
    border-collapse:collapse;
}

div.pdf-container table th {
    vertical-align:top;
    font-weight:bold;
}

div.pdf-container table td {
    vertical-align:top;
}

div.pdf-container div.pdf-order table th {
    text-align:center;
    background-color:black;
    color:white;
    padding-top:0.25em;
    padding-bottom:0.25em;
    border:1px solid black;
}

div.pdf-container div.pdf-order table td {
    border:1px solid black;
    padding:0.5em;
    line-height:1.25em;
}

div.pdf-container table.no-padding th, div.pdf-container table.no-padding td {
    padding:0;
}

table.pdf-header, table.pdf-footer {
    width:100%;
    font-size:0.85em;
    border-spacing:0;
    border-collapse:collapse;
}

table.pdf-header th, table.pdf-footer th {
    text-align:center;
    color:white;
    background-color:black;
    border:1px solid black;
}

table.pdf-header td, table.pdf-footer td {
    border:1px solid black;
    vertical-align:top;
}

table.pdf-header .blank, table.pdf-footer .blank {
    color:white;
    background-color:white;
    border:0 none white;
}

div.pdf-container .font-size-sm {
    font-size:0.85em;
}

div.pdf-container .font-size-xs {
    font-size:0.75em;
}

div.pdf-container h2.section {
    font-size:1.7em;
    text-decoration:underline;
    font-weight:bold;
    margin-bottom: 1em;
}

div.pdf-container ul li {
    margin-bottom:8px;
}

div.pdf-container div.pdf-invoice {
    font-size:10pt;
}

div.pdf-container div.pdf-invoice h1 {
    font-size:0.2em;
    font-weight:bold;
    margin:0;
    margin-bottom:2px;
}

div.pdf-container div.pdf-invoice h2 {
    font-size:1.2em;
    font-weight:bold;
    margin:0;
    margin-bottom:2px;
}

div.pdf-container div.pdf-invoice p {
    margin:0;
    margin-bottom:2px;

}

div.pdf-container table.invoice-orders th {
    border-bottom:1px solid black;
    text-align:center;
    font-size: 0.9em;
}

div.pdf-container table.invoice-orders tr.header-normal td {
    border-bottom:1px solid black;
    text-align:center;
}

div.pdf-container table.invoice-orders th.text-left {
    text-align: left;
}

div.pdf-container table.invoice-orders th.text-right {
    text-align: right;
}

div.pdf-container table.invoice-orders td {
    padding: 4px 0;
    text-align:center;
}

div.pdf-container table.invoice-orders td.text-left {
    text-align: left;
}

div.pdf-container table.invoice-orders td.text-right {
    text-align: right;
}

div.pdf-container tr.invoice-items-summary td {
    padding-top:10px;
    border-top:1px solid black;
    font-size: 1em;
    text-align: right;
}

div.pdf-container tr.invoice-items-summary-group td {
    padding-top:0px;
}

div.pdf-container tr.invoice-items-pln-summary th {
    font-size: 0.9em;
    font-weight: normal;
    border-bottom-style: none;
}

div.pdf-container tr.invoice-items-pln-summary td {
    font-size: 0.9em;
}

.pdf-content2 ul {
    font-size:30pt;
    color:green;
}

.invoice-orders tr.border-top td {
    border-top:1px solid #000;
}

.invoice-orders tr.border-bottom td {
    border-bottom:1px solid #000;
}

table.invoice-vat-summary th, table.invoice-vat-summary td {
    border: 1px solid #000;
    padding: 5px;
    line-height: 1.5;
}

table.invoice-vat-summary td .pln {
    font-size: 0.7em;
}

.detail-view-relational-item {
    display:inline-block;
    background-color:#e8e8e8;
    margin-right:10px;
    margin-bottom:10px;
    padding-left:4px;
    border:2px solid #e0e0e0;
    border-radius:4px;
}

.relational-item-form-control {
    padding:1px 10px;
    border:1px solid #d2d6de;
}

.toggle-title:after {
    font-family:FontAwesome;
    content: "\f078";
    margin-left: 8px;
}

.toggle-title.collapsed:after {
    content: "\f054";
}

.toggle-title.full-width {
    display: block;
}

.toggle-title.full-width:after {
    float: right;
}

.list-group-item {
    overflow:hidden;
}

.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    padding:3px 6px;
    height:auto;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height:inherit;
    margin-top:0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height:20px
}

.select2-results__option {
    padding:3px 6px;
    font-size:12px;
}

.select2-search--dropdown .select2-search__field {
    padding:3px;
    font-size:12px;
}

.btn-margin-left {
    margin-left:15px;
}

.text-tooltip {
    color: #00c0ef;
    cursor: pointer;
    border-bottom: 1px dashed #00c0ef;
}

div.help {
    padding:10px;
    padding-bottom:20px;
    margin-bottom:20px;

}

div.help h1 {
    font-size:30px;
    margin-top:5px;
}

div.help h2 {
    font-size:22px;
    margin-top:0;
    margin-bottom:20px;
}

div.help ul li, div.help ol li {
    margin-top:3px;
    margin-bottom:3px;
}

.progress-bar {
    color: #333;
}

button.kv-editable-value {
    padding:0;
    border-width:0;
}

.btn-container > a.btn, .btn-container > div.btn-group {
    margin-left:5px;
    margin-right:5px;
}

.overflow-visible {
    overflow:visible !important;
}

.overflow-hidden {
    overflow:hidden !important;
}

.tile{
    height: 30vh;
    background-color: #d2d6de;
    padding-top: 7vh;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
    transition: 0.3s;
}
.tile:hover,
.tile:active,
.tile:focus{
    transform: scale(0.97);
}
.tile .badge{
    background-color: #f39c12;
    font-size: 26px;
    position: absolute;
    left: 53%;
    margin-top: -10px;
}
.tile .tile-icon{
    font-size: 10vh;
    text-align: center;
    display: block;
}
.tile-text{
    margin-top: 15px;
    font-size: 3vh;
    text-align: center;
}

.change-driver-state .list-group a.list-group-item{
    text-align: center;
}
.change-driver-state .list-group a.list-group-item.current-state{
    color: #148cca;
}
.change-driver-state .state-text{
    font-size: 1.6em;
}
.change-driver-state .panel-body{
    text-align: center;
}

.table-large tr td {
    padding: 10px !important;
    font-size: 1.2em;
}

.box.grid-primary {
    border: 1px solid #337ab7;
}

.box.grid-primary .box-header {
    background-color: #337ab7;
}

.box.grid-primary .box-title {
    color: white;
    font-size:14px;
}

.table-print{
    width: 100%;
    margin-bottom: 10px;
    font-size: 11px;
    border-collapse: collapse;
}

.table-print td, .table-print th{
    padding: 10px;
    border: 1px solid #000;
}
.table-print th{
    font-weight: bold;
}
.table-print-sm{
    font-size: 9px;
}
.table-print-sm td, .table-print-sm th{
    padding: 5px;
}

.table-last-border tr:last-child > th, .table-last-border tr:last-child > td {
    border-bottom: 1px solid #f4f4f4;
}

.tooltip-errors {
    text-align: left;
    width: 300px;
    min-width: 300px;
}
.panel-title .kv-alert {
    font-size: 14px;
}

.text-xs {
    font-size:10px;
}

.no-padding-modal-body .modal-body {
    padding:0;
}

.no-padding-modal-body .modal-body .panel {
    margin-bottom:0;
}

table.profit-calc tr td {
    border-bottom: 1px solid #f4f4f4;
    padding-top:5px;
}

table.profit-calc td.label-col {
    padding-right:30px;
}

table.profit-calc-table {
    width: 100%;
}

table.profit-calc-table td, table.profit-calc-table th {
    text-align: center;
}

table.profit-calc-table th {
    background-color: #F9F9F9;
    padding: 3px 0;
}

table.profit-calc-table tr td {
    border-top: 1px solid #f4f4f4;
}

table.profit-calc-table tr.selected {
    outline: 2px solid #00A7D0;
}

table.profit-calc-table tr.selected td {
    background-color: #00c0ef;
    color: white;
    border-top: 0 solid white;
}

.table-bordered-black {
    border-collapse:collapse;
}

.table-bordered-black th, .table-bordered-black td {
    border: 1px solid black;
    padding: 5px;
}

.form-group label {
    font-weight: normal;
}

.form-sm {
    font-size: 12px;
}

.form-sm .form-control, .form-sm .input-group-addon {
    font-size: 12px;
    height: auto;
    padding: 2px 5px;
}

.form-sm .form-group {
    margin-bottom: 4px;
}

.form-sm .form-group .help-block {
    margin-top: 0;
    margin-bottom: 0;
}

.form-sm .form-group label {
    margin-bottom: 3px;
}

.form-sm td.form-data {
    padding: 4px;
}

.form-inline .control-label {
    margin-right: 10px;
}

ol.multi-level-list, ol.multi-level-list ol {
    counter-reset: item;
}

ol.multi-level-list li {
    display: block;
    counter-increment: item;
}

ol.multi-level-list li::before {
    content: counters(item, ".") ". ";
    font-weight: bold;
    padding-right: 5px;
}

.input-group .input-group-addon, .input-group .input-group-addon > button {
    background-color: #eee;
}

.input-group .input-group-addon:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.input-group.input-daterange .input-group-addon {
    border-left: 0 none white;
}

.pjax-loading-cover {
    background-color: rgba(255,255,255, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pjax-loading-cover i {
    font-size: 80px;
    color: #148cca;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.body-loading-cover {
    background-color: rgba(255,255,255, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.body-loading-cover i {
    font-size: 80px;
    color: #000;
    opacity: 0.2;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kv-grid-table .dropdown-menu {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.small .panel-heading > h3.panel-title {
    font-size: 14px;
}

.box.box-solid.box-default > .box-header .btn-primary {
    color: #fff;
}

.box.box-solid > .box-header .btn-primary:hover {
    background-color: #3c8dbc;
    border-color: #367fa9;
}

.btn-link:hover, .btn-link:focus {
    text-decoration: none;
    color: #72afd2;
}

.panel-primary .btn-link.text-white:hover, .panel-primary .btn-link.text-white:focus {
    color: #fff;
}

a.btn-link.disabled {
    opacity: 0.3;
    cursor: default;
}

.btn-toolbar-vertical .btn {
    margin-top: 5px;
    margin-bottom: 5px;
}

div.base-modal div.modal-footer {
    padding: 0;
    border-top: 0 none transparent;
}

.select2-container--krajee .select2-selection--multiple .select2-selection__choice__remove {
    margin-top: 0;
    margin-left: 5px;
}

.select2-container--krajee .select2-selection__clear {
    top: 0
}

.alert-detail-view .alert, .alert-detail-view .well {
    padding: 5px 10px;
}

.bootstrap-dialog .modal-header {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.input-group.date .input-group-addon.kv-date-set {
    cursor: pointer;
}

.box-header-dark .btn-box-tool {
    color: #fff;
}

.box-sm {
    font-size: 12px;
}

.box-sm .box-header .box-title {
    font-size: 14px;
}

.box-sm .box-header {
    padding: 5px 10px;
}

.box-sm .box-header > .box-tools {
    top: 0;
}

.box.box-solid.box-default > .box-header a.box-header-link {
    color: #3c8dbc;
    margin-left: 10px;
    font-size: 0.9em;
}

.no-transparent .btn.disabled {
    opacity: 100 !important;
}

.nav-tabs-custom-sm .nav > li > a {
    padding: 3px 15px;
}

.box-unstyled {
    margin-bottom: 5px;
    border-top: 0 none white;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.box-unstyled > .box-body {
    padding: 0;
}

.radio-list-btn {
    width: 100%;
    text-align: left;
    margin: 6px 0;
}

.radio-list-btn.non-selected {
    background-color: #c0c0c0 !important;
}

.box.box-solid.box-default > .box-header a {
    color: white;
}

td.checkbox-container div.checkbox {
    margin-top: 0;
}

.white-links a, .white-links a:hover, .white-links a:focus {
    color: white;
}

.kv-grid-table .btn-icon a {
    margin-left: 3px;
    margin-right: 3px;
}

/* Usunięcie problemu z wyświetlaniem okien popover wewnętrz GridView - były obcinane */
.kv-grid-container {
    position: static;
}

/* Ukrycie dolnego panelu w GridView, gdy jest pusty */
.kv-panel-after:empty {
    padding: 0;
    border: 0 solid transparent;
}

form.canceled table td, form.deleted table td {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.nav-tabs-custom>.nav-tabs>li.active>a, .nav-tabs-custom>.nav-tabs>li.active:hover>a {
    background-color: #fafafa;
}

.nav-tabs-custom>.tab-content {
    background-color: #fafafa;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #888;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #888;
}

.text-bold {
    font-weight: bold;
}

.text-italic {
    font-style: italic;
}

.popover-text-black .popover {
    color: #333333;
}

.callout-primary {
    background-color: #337ab7;
    color: #fff;
    border-left: 0 none white;
}

.border {
    border: 1px solid #e0e0e0;
}

.rounded {
    border-radius: 0.5rem;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

.px-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.text-normal {
    font-weight: normal!important;
}

.day-status {
    color: #fff;
}

table.kv-grid-table tbody td div.day-status {
    height: 30px;
    border-top: 3px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2px;
}

table.kv-grid-table tbody td div.day-status.empty {
    background-color: #f8f8f8!important;

}
table.kv-grid-table tbody td div.day-status.not-working-day {
    border-top-color: #FFC107;
}

table.kv-grid-table > tbody > tr > td.day-status-container {
    padding: 2px;
}

table.day-status-table th.today {
    position: relative;
}

table.day-status-table th.today::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to top, rgba(0, 192, 239, 0.5), rgba(0, 172, 214, 0.2));
}

table.day-status-table th.is-not-working {
    background-color: rgba(243, 156, 18, 0.2);
}

.fa-sm {
    font-size:0.7em;
}

.day-box .popover, .day-status .popover {
    color: #000;
}

.pdf-container blockquote {
    border-left: 0 none transparent;
    border: 1px solid #000;
}

ul.checkbox-list li {
    padding-bottom: 0.75rem;
}

ul.checkbox-list li:not(.checked) {
    opacity: 0.5;
}

ul.checkbox-list li .fa {
    font-size: 15px;
}

input[type="checkbox"]:disabled {
    opacity: 0.25;
}

.border-orange {
    border-color: #FF851B;
}

.border-aqua {
    border-color: #00c0ef;
}


.border-round {
    border-radius: 5px;
}

.border-round-top {
    border-radius: 5px 5px 0 0;
}

.radio-cards {
    position: relative;
    vertical-align: middle;
    display: flex;
}

.radio-cards .radio {
    margin: 0 10px 0 10px;
    flex: 1 1 0px;
    align-content: stretch;
}

.radio-cards label {
    cursor: pointer;
    padding-left: 0;
    display: block;
    height: 100%;
}

.radio-cards label input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
}

.radio-cards label div {
    padding: 10px;
    border: 1px solid #bbb;
    color: #777;
    border-radius: 5px;
    user-select: none;
    text-align: center;
    height: 100%;
}

.radio-cards label input:checked+div {
    border-color: rgba(0 0 0 / 15%);
    background-color: rgba(13 202 240 / 20%);
    color: #000;
    box-shadow: 0 0 0 0.25em rgb(13 202 240);
}

.radio-cards label input:not(:checked)+div:hover {
    background-color: rgba(13 202 240 / 10%);
}

.btn-toolbar-center {
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
}

.btn-toolbar-center > .btn {
    min-width: 120px;
}

.calendar {
    border-collapse: collapse;
    font-size: 1em;
}

.calendar td {
    border: 1px solid #f0f0f0;
}

.calendar th {
    text-align: center;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0!important;
}

.calendar td.day {
    padding: 0.25em;
}

.calendar td.day-inactive {
    color: transparent;
}

.calendar .day-box {
    padding: 0.35em;
    border-radius: 0.25em;
    border: 1px solid #e0e0e0;
}

.calendar .day-box {
    padding: 0.35em;
    border-radius: 0.25em;
    border: 1px solid #e0e0e0;
}

.calendar-legend {
    margin-top:10em;
    width: auto !important;
}

.calendar-legend td {
    padding: 0.5em;
    padding-right: 10em;
}

.calendar.driver-settlement .day-complete {
    background-color: #00a65a !important;
    color: #fff !important;
}

.calendar.driver-settlement .day-incomplete {
    background-color: #7FD2AC !important;
    color: #fff !important;
}

.calendar .day-box-float {
    padding: 0;
    border-radius: 0.25em;
    border: 1px solid #e0e0e0;
    float: right;
    display: grid;
}

.calendar .day-box-float .day-status {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
}

.day-status-legend {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.25em;
}

@media print {
    .calendar td.day-inactive {
        color: #fff;
    }

    .calendar td.day-complete {
        background-color: #00a65a !important;
        color: #fff;
    }

    .calendar td.day-incomplete {
        background-color: #7FD2AC !important;
        color: #fff;
    }

}

tr.border-bottom-light-gray > td {
    border-bottom: 1px solid #ddd !important;
}

.icon-bar > span, .icon-bar > i {
    margin-left: 2px;
    margin-right: 2px;
}

.alert a.btn {
    text-decoration: none;
}

tr.text-normal > th {
    font-weight: normal;
}

.text-sm .panel-title {
    font-size: 12px;
}

.kv-edit-mode .kv-edit-d-inline {
    display: inline;
}

.dropdown-header {
    font-size: inherit;
}

.show-inside-modal {
    visibility: hidden;
}

.modal .show-inside-modal {
    visibility: visible;
}

.hide-caret .caret{
    display: none;
}

.box.box-solid>.box-header .dropdown-menu a {
    color: #777;
}

ul.nav-tabs li span.badge {
    vertical-align: initial;
}

.header-link {
    color:white;
    float:left;
    background-color: transparent;
    background-image: none;
    padding: 15px 15px;
}

.header-link:hover, .header-link:active, .header-link:focus {
    color:white;
    background-color: rgba(0,0,0,0.1);
}

.btn .caret {
    margin-left: 3px !important;
}

.button-cards {
    display: flex;
    gap: 16px;
}

.button-cards > .button-card {
    display: block;
    text-align: center;
    flex: 1 1 0;
    border: 1px solid #bbb;
    border-radius: 5px;
    user-select: none;
    cursor: pointer;
    color: #333;
    background-color: rgba(13, 202, 240, 0.05);
}

.button-card:hover {
    color: #333;
    box-shadow: 0 0 0 0.25em rgb(13, 202, 240);
    background-color: rgba(13, 202, 240, 0.2);
}

.company-logo {
    max-width: 256px;
    max-height: 256px;
    width: auto;
    height: auto;
}