.col {
	padding-left: 10px;
	padding-right: 10px;
}
.top-menu .nav .sub-menu {
    width: 340px;
}
.top-menu .sub-menu > li > a {
	color: #fff;
}
.top-menu .sub-menu > li > a:hover {
	color: #fff;
	background: #aaa;
}

.header .navbar-brand {
	width: auto;
	padding: 10px 0;
}

.sticky-top {
    top: 120px;
}

.panel .panel-inverse {
	background: #555;
}

.btn-group .btn-default.active {
	background: #117a8b !important;
	color: #fff !important;
}

.font-weight-bold {
	font-weight: 600!important;
}

.modal-md {
    max-width: 760px !important;
}
.modal-lg {
    max-width: 1100px !important;
}
.modal.draggable .modal-header {
	cursor: move;
}

.modal-header, .modal-footer {
	background: #eee;
}

.bootbox .modal-header h4 {
    order: 0;
}
.bootbox .modal-header button {
    order: 1;
}
.bootbox .bootbox-body {
    /*margin: 20px 0;*/
    margin: 0;
}
.bootbox-form textarea {
    height: 100px;
}

.historia-content .alert.alert-block {
    display: none;
}

div.dataTables_wrapper div.dataTables_filter input {
    min-width: 240px;
}

table.dt-fixed {
	table-layout:fixed;
}
table.dt-fixed td {
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}


.panel-heading-btn .checkbox-css {
    display: inline-block;
}
.panel-heading-btn .checkbox label {
    color: #fff;
}
.panel-heading-btn .checkbox.checkbox-css {
    padding-top: 0;
}
.panel-heading-btn .checkbox.checkbox-css input:checked+label:after,
.panel-heading-btn .checkbox.checkbox-css label:before {
    top: 0;
}

.dataTables_paginate ul.pagination {
    margin-bottom: 0;
}

.dodaj-do-koszyka .basket-cnt {
    width: 50px;
}

.prod_image img {
    max-width: 150px;
    max-height: 180px;
}

table tfoot td {
    font-weight: 600;
    background: #e9edef;
}
table.table-condensed thead th {
    /*background: #ccc; koliduje z datepicker */
}

#upl-files img {
    width: 100px;
}

.bg-yellow {
    background: #fff4b2;
}

.select2-container--open {
    z-index: 2000;
}

table.dataTable > tbody > tr.child ul ul {
    display: none;
}
table.dataTable > tbody > tr.child ul ul.show {
    display: block;
}

.gritter-close:before, .gritter-light .gritter-close:before {
    content: 'Zamknij' !important;
}

#discounts-form label {
    text-align: right;
}

/***************************************************************************************/
/* nowe */
.f-symbol-pisma .s-symbol select {
    display: inline-block;
    width: 150px;
}
.f-symbol-pisma input {
    display: inline-block;
    width: 60px;
    text-align: right;
}

.displayNone {
    display: none;
}

tr.disp-szcz td {
    cursor: pointer;
}
tr.disp-szcz:hover td {
    background: #666 !important;
    color: #fff;
}
tr.disp-szcz:hover td a {
    color: #fff;
}

@media screen {
	table.dataTable {
		font-size: 12px;
	}
}

.form-group {
    margin-bottom: .2rem;
}
legend {
    padding-bottom: 1px;
}
/*.btn {
	padding: 4px 8px;
}
.panel-heading {
	padding: 6px 10px;
}*/

/* wykorzystywane dla fieldset w uprawnieniach */
.listaCB {
    max-height: 200px;
    padding: 10px 30px;
    border: 1px solid #eee;
    background: #fafafa;
    width: 50%;
}
.overflowY {
    overflow-y: scroll;
}

.btn.btn-lg, .input-group-lg > .input-group-append > .btn, .input-group-lg > .input-group-prepend > .btn {
    font-size: 14px;
    line-height: 21px;
    padding: 6px 6px;
}

/* SM */
#div_moje_dokumenty ul {padding: 0}
#div_moje_dokumenty a {font-weight: 600;}
.h4-documents {text-transform: uppercase; font-weight: bold; padding-bottom: 5px; border-bottom: 1px dotted #b4b4b4; letter-spacing: -0.5px;}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #ccc #ccc #fff;
}
.nav-link {border-bottom: 1px solid #333}
.nav-link.active {border-bottom: 1px solid red}

.nav nav-pills {border-bottom: 1px solid #ccc;}
.nav-link {border: 0 !important;}

.nav-items a {font-weight: 600;}

.nav-tabs > li > a {
    margin-right: 0px;
}

.nav>li>a {
    color: #333;
}

#wizard .nav.nav-tabs {
	background: none;
}
#wizard .nav-link {
	background: #d5d7d8;
	padding: 10px 15px;
}
#wizard .nav-link.active {
	background: #007aff !important;
	color: #fff;
}


#Teczki-Lista-Tab .nav-pills, #Sprawy-Lista-Tab .nav-pills {background: #efefef;}

.nav-pills {
    background: #ccc;
    border-radius: 0;
    border-bottom: 1px solid #dee2e6;
}

/*all Font Awesome padding*/
.nav-items i, button>i {
    padding-right: 8px;
}
button>i {
    padding-right: 2px;
}


/*data picker*/
.datepicker {
    min-width: 100px!important;
}


/*table bootstrap */
.tab-content .table td, .table th {
    vertical-align: middle;
}

#Korespondencja-Tresc:after {font-family: 'Font Awesome 5 Pro'; content: "\f044"; font-weight: 400; padding-left: 10px;}

legend {margin-bottom: 1rem !important}


/*poprawa bootstrapa*/
.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child) {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.dt td.sorting_1 {
    background: rgba(144,202,75,.2);
}
.dt tr:hover td.sorting_1 {
    color: #fff;
    background: rgba(144,202,75,.2);
}

.datepicker tr td:last-child {
    color: red;
}

.page-content-full-height .inbox {
    position: absolute;
    left: 0;
    top: 140px;
    right: 0;
    bottom: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* poczta */
.list-email .email-time {
    width: 150px;
}
.email-info .label {
    font-size: 12px;
}
.email-info span.sign_of_matter {
    display: block;
    margin: 3px 0;
}
.list-email .email-sign {
    width: 180px;
    float: left;
    padding-right: 15px;
}

.attached-document>li .document-file {
    cursor: pointer;
}
.attached-document>li .document-file.selected {
    background: yellow;
}
.attached-document>li {
    width: 250px;
}

.dekr-anulowana td, .dekr-anulowana td a {
    text-decoration: line-through;
	color: #aaa !important;
}
/* kalendarz - wydarzenie */
.fc-content {
    padding: 4px;
}
.fc-event {
    color: #000 !important;
}
.fc-sun {
    color: red;
}

.highlight-color-undefined {
    background-color: rgba(255, 204, 0, 0.7) !important;
}

.datepicker table tr td.today, .datepicker table tr td.today:hover, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover {
    background: #ffb733 !important;
}
/* select2 */
.sel2 {
    position: relative;
}
.sel2-close {
    position: absolute;
    top: 5px;
    right: -15px;
    z-index: 10000;
    color: #000;
}

.rodz-kopert label {
    justify-content: left;
    font-weight: normal;
}
.rodz-kopert input {
    margin-right: 5px;
}

.swal-modal {
    width: 560px;
}
.swal-title {
    font-size: 25px;
}

.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
    padding: 3px 3px;
}

.panel-body {
    background: #f6f6f6;
}

table.dataTable tbody>tr.selected, table.dataTable tbody>tr.selected td, table.dataTable tbody>tr>.selected {
    background: #2a72b5!important;
    color: #fff;
}
table.dataTable thead th {
    background: #ccc;
}
table.dataTable tbody>tr.selected td a {
    color: #fff !important;
}
table.dataTable tbody>tr.selected td a.dropdown-item {
    color: #000 !important;
}
table.dataTable tbody>tr.selected td a.dropdown-item.text-red {
    color: #FF3B30 !important
}

button:focus {
    outline: #FFECB3 solid 2px !important;
    outline-offset: 2px;
}

.tab-content, .nav-tabs .nav-link.active {
    background: #f6f6f6;
}

.white.nav-tabs .nav-link.active {
    background: #fff;
}

.panel-title {
    font-size: 14px;
    text-transform: uppercase;
}

.w100 {
    width: 100% !important;
}

#Role .editableform .form-control {
    min-width: 400px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-selection__choice {
    padding: 0 8px !important;
	font-size: 13px !important;
	margin-right: 3px !important;
	margin-top: 2px !important;
	color: #000;
}
.select2-container--default .select2-selection--multiple {
	height: 34px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	padding: 0 5px !important;
}

tr.selected .text-red {
    color: #fff !important;
}

.po-terminie {
    border-left: 5px solid #f00;
}
.termin-ostrzezenie {
    border-left: 5px solid #ff0;
}
.nowy-dokument {
    border-left: 5px solid #ff0;
}
.komentarz {
    border-left: 5px solid #39a34b;
}
.wazny-dokument {
    border-left: 5px solid #f00;
}
.bg-komentarz {
    background-color: #39a34b;
}
.bg-nowy-dokument {
    background-color: #ff0;
}
.bg-wazny {
    background-color: #f00;
}
tr.bg-dok-anulowany td {
	/*background-color: #D7CCC8;*/
	text-decoration: line-through;
}

.colorpicker-input-addon {
    background-color: #888;
}

div.dataTables_wrapper div.dataTables_processing {
    position: fixed;
    top: 50% !important;
    left: 50%;
    width: 300px;
    margin-left: -150px;
    margin-top: -26px;
    text-align: center;
    padding: 1em 0;
    z-index: 9000;
    background: #bbe244;
    border: 1px solid #888;
}

.swal2-popup, .swal2-modal, .swal2-container {
	z-index: 9100 !important;
}

div.btn span {
	font-weight: 400;
}

/* SM */
ul.desktop-list>li {list-style: none; transition: all 0.3s}
ul.desktop-list>li>a {transition: all 0.5s; padding-left: 0px;}
ul.desktop-list>li>a:hover {transition: all 0.5s; padding-left: 2px;}
ul.desktop-list>li:before {font-family: "Font Awesome 5 Pro";padding-right: 10px; content: "\f105"; transition: all 0.3s}


.powiadomienia.media-list {
    padding: 0;
}
.powiadomienia.media-list p {
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 5px;
    line-height: 16px;
    max-width: 270px;
    color: #585c61;
}
.powiadomienia.media-list .dropdown-header {
    padding: 10px 15px !important;
    background: #f4f4f4;
    font-size: 10px;
    color: #585c61;
}
.powiadomienia.media-list .dropdown-header + .media {
    margin-top: -10px;
}
.powiadomienia.media-list > .media {
    margin-top: 0;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: -1px;
}
.powiadomienia.media-list > .media > a {
    display: block;
    padding: 0px 15px !important;
    clear: both;
    white-space: nowrap;
}
.powiadomienia.media-list > .media > a:hover,
.powiadomienia.media-list > .media > a:focus {
    background: #f9f9f9;
}
.powiadomienia.media-list > .media .media-left {
    padding-right: 10px;
}
.powiadomienia.media-list > .media .media-right {
    padding-left: 10px;
}
.powiadomienia.media-list > .media .media-object {
    height: 48px;
    width: 48px;
    line-height: 48px;
    font-size: 28px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
}
.powiadomienia.media-list > .media .media-object-icon {
    position: absolute;
    margin-left: 30px;
    border: 2px solid #fff;
    border-radius: 40px;
    background: #fff;
    margin-top: -11px;
    display: block;
    width: 22px;
    height: 22px;
    text-align: center;
    font-size: 18px;
    line-height: 18px;
}

.powiadomienia.media-messaging .media:first-child, .powiadomienia.media-messaging .media {padding: 0}

/* AK */
#Desktop .panel {
    margin-bottom: 0;
    background: #f6f6f6;
}

.table tfoot.condensed td {
    padding: 4px;
}

#iloscDokWPaczce {
    min-width: 40px;
    margin-bottom: 4px;
    font-size: 100%;
}

.popover {
    max-width: 450px;
}

.row > label[class^="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

p.popraw {
    display: none !important;
}
input.popraw, textarea.popraw, select.popraw, select2.popraw>span {
    border-color: red;
}

#select2-address_entity_name-results li.select2-results__option:first-child:before {
    min-height: 40px;
    content: "-- dodaj nowy podmiot --";
}
#select2-address_entity_name-results li.select2-results__option.select2-results__message:before {
    content: "" !important;
}

label.input-group-append {
    margin: 0;
    cursor: pointer;
}



.typeahead,
.tt-query,
.tt-hint1 {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    outline: none;
}

.typeahead {
    background-color: #fff;
}

.twitter-typeahead {
    width: 100%;
}

.typeahead:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {
    width: 100%;
    margin: 3px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);

    max-height: 220px;
    overflow-y: auto;
}

.tt-suggestion {
    margin-right: 30px;
    padding: 3px 20px;
    z-index: 1;
    position: relative;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

#Dok-Epuap-Dialog .tab-content {
    margin: 0;
}
#XML>div, #XML_Wiz>div {
    overflow-x: hidden;
    overflow-y: auto;
    /*height: 340px;*/
}

.btn:focus {
    /*	outline: 2px solid #888 !important;
            outline-offset: 2px;*/
    border-color: #5db0ff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 142, 227, 0.4) !important;
}

.required {
    background-color: rgb(232, 240, 254) !important;
}

.underlined {
    color: #444;
    border-bottom: dashed 1px #0088cc;
}
/*
.dropdown-menu.show {
	transform: none!important;
}*/


.dt-button-collection.dropdown-menu {
	padding: 6px;
}
.dt-button.dropdown-item.buttons-columnVisibility {
	border-bottom: 1px solid #fff;
	padding: 5px 25px;
}
.buttons-colvis, .btn-refresh {
	border-radius: .25rem !important;
}

.btn.btn-green {
	background: #32a932;
	border-color: #32a932;
	color: #fff;
}

@media screen {
	td.td-no-wrap {
		white-space: nowrap;
	}
	td.td-text-right {
		text-align: right;
	}
	p {
		margin-bottom: .2rem;
	}
}
@media print {
	h1 {
		font-size: 20px !important;
		text-transform: uppercase;
		/*text-align: center;*/
	}
	body, table.dataTable, p, td, a
	{
		background: #fff;
		color: #000;
		font-size: 10px !important;
	}
}

/* SM Preloader */
#preloader-prodok {
    background: rgba(0,0,0,.4);
    margin: 0 auto;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index:9999;
}
.preloader-prodok-animacja {
  color: #fff;
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
}
.preloader-prodok-animacja div {
  transform-origin: 32px 32px;
  animation: preloader-prodok-animacja 1.2s linear infinite;
}
.preloader-prodok-animacja div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 29px;
  width: 5px;
  height: 14px;
  border-radius: 20%;
  background: #fff;
}
.preloader-prodok-animacja div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.preloader-prodok-animacja div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.preloader-prodok-animacja div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.preloader-prodok-animacja div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.preloader-prodok-animacja div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.preloader-prodok-animacja div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.preloader-prodok-animacja div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.preloader-prodok-animacja div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.preloader-prodok-animacja div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.preloader-prodok-animacja div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.preloader-prodok-animacja div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.preloader-prodok-animacja div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes preloader-prodok-animacja {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* moduł skanowania */
#plik-ze-skanu .operateGrp li {
    margin: 0;
    /*width: 60px;*/
    height: 60px;
    line-height: 54px;
    border-top: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-left: solid 1px #ccc;
    text-align: center;
	background: #fff;
}
#plik-ze-skanu .operateGrp li:last-child {
    border-bottom: solid 1px #ccc;
}
#plik-ze-skanu .operateGrp li > img {
    cursor: pointer;
}

#DWTemessage {
    width: 100%;
    height: 200px;
    border-top: solid 1px #ccc;
    overflow-y: scroll;
    background: #fff;
	padding: 5px;
}
/* koniec: moduł skanowania */

#Doreczyciele .editable-input .input-sm[type="text"],
#RodzajeDok .editable-input .input-sm[type="text"],
#TypySpraw .editable-input .input-sm[type="text"],
#SposDostarczenia .editable-input .input-sm[type="text"] {
    width: 500px;
}
#Doreczyciele .editable-input select.input-sm,
#RodzajeDok .editable-input select.input-sm,
#dlgWeryfikacje .editable-input select.input-sm,
#SposDostarczenia .editable-input select.input-sm {
    width: 200px;
}

.select2-container--open {
    z-index: 9999999
}

.row-disabled td {
	color: #ccc;
}
.row-disabled td a {
	color: #ccc;
	border: 0;
}

.select2-results__option,
table.font-small td,
table.font-small th {
	font-size: 12px;
}

hr {
	margin: 4px 0;
}

.datepicker-inline table tr td, .datepicker-inline table tr th {
    height: 42px;
}

td.spr-szcz:before {
	font-family: "Font Awesome 5 Pro";
	font-size: 12px;
	content: "\f0fe";	/* plus */
}
td.spr-szcz.shown:before {
	font-family: "Font Awesome 5 Pro";
	font-size: 12px;
	content: "\f146";	/* minus */
}

.dataTables_wrapper table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before, .dataTables_wrapper table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    top: 4px !important;
}

.w-20px { width: 20px !important; }
.w-30px { width: 30px !important; }
.w-40px { width: 40px !important; }
.w-50px { width: 50px !important; }
.w-60px { width: 60px !important; }

.nav-item .nav-link.active.show {
	/*background: #bf7000 !important;*/
}

.label.label-danger {
	background: #FF3B30 !important;
}
.label.label-success {
	background: #4CD964 !important;
}

.btn-scroll-to-top.btn.btn-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}
.btn-scroll-to-top {
	bottom: 80px;
	right: 35px;
}

#faq .card {
	margin-bottom: 1px;
}

fieldset.old {
	border: 1px solid #888;
	padding: 10px 15px;
}
fieldset.old legend {
	border: 0;
	width: auto;
	font-size: 1rem;
	font-weight: 600;
	margin: 0 !important;
	padding: 0 10px;
}

div.item div.row.form-group {
	margin-left: -6px;
	margin-right: -6px;
}
div.item div.row > [class^="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

#gritter-notice-wrapper {
	z-index: 90000 !important;
}

.legend-default .row > label[class^="col-"] {
	padding-left: 10px;
}

table.dt td {
	color: #000 !important;
}