
.spacer {padding-bottom: .5rem;}

/* MENU */
.bg-inpost{background-color: #3c3c3b;}
.navbar-inpost{color:#fff;}
.navbar-inpost .nav-item a{color: #fff;}
.navbar-inpost .nav-item a.dropdown-item{color: #3c3c3b;}
.navbar-inpost .nav-item.active a{color: #fecc00;}

.navbar-inpost .navbar-brand{padding: 0;}
.navbar-inpost .navbar-brand img{height: 40px;margin-right: 40px;}

/*.lead{padding-bottom: .7rem;}*/

/* TABLICE */
.zadania-container{min-height: 400px;}
table.table{font-size: 90%;}
table.table thead th{min-height: 2rem;background-color: #fecc00;resize: none;}
table.table thead tr.filter td{background-color: #fff9e0;height: 2.5rem;}
table.table thead tr.filter td > *.filter{width: 100%;}
table.table thead tr.filter td.filtered > *{background-color: #efe;color: green;}
table.table thead tr.filter td.filtered option{background-color: white !important;color: initial !important;}
table.table thead tr.filter td input{width: 100%;border: 1px solid silver;border-radius: 3px;height: 30px;}
table.table thead tr.filter td select{width: 100%;}
table.table tbody tr{transition: background-color .15s;}
table.table tbody tr:hover{background-color: rgba(66,0,0,.1) !important;outline: 1px solid rgba(228,159,57,.5);}
table.table tbody tr[class*="filtered-"] {display: none;}
table.table th[scope="col"]{text-align: center;}
/*table.table th[scope="row"]{line-height: 1em;color: #aaa;}*/
/*table.table th[scope="row"] small{display: none;}*/
table.table th[scope="row"] small{color: transparent;font-size: 0;}
table.table td{vertical-align: middle;}
table.table tr > *{border-right: 1px solid whitesmoke;vertical-align: middle;}
table.table.dane tr > *{vertical-align: top;}
table.table tr > *:last-child{border-right: none;}

table.dane tr th:nth-child(1){width: 30%;font-weight: bold;}
table.dane .lp tr th:nth-child(1){width: 40px;text-align: center;}
table.dane .lp tr td:nth-child(1){text-align: right;}
table.dane .lp tr th:nth-child(2){width: 35%;}

[class$="-xl"] table.dane tr th:nth-child(1){width: 25%;}
[class$="-xl"] table.dane .lp tr th:nth-child(1){width: 40px;}
[class$="-xl"] table.dane .lp tr th:nth-child(2){width: 27%;}
[class$="-xl"] table.dane .lp tr th:nth-child(3){width: 40%;}

.table-striped tbody tr:nth-of-type(2n+1){background-color: rgba(0,0,0,.03)}

/*ZADANIA*/ 
table.table.zadania{font-size: 70%;}
table.table.zadania button{font-size: 100%;}
table.table.zadania tr td, table.table.zadania tr th{height: 3rem;}
table.table.zadania tr td[data-name="zespol"] select{width: 80px;}
table.table.zadania tr td[data-name="zakres_czynnosci"] select{width: 140px;}


.reset-button{background: gray;color: white;border: none;height: 13px;width: 13px;line-height: 10px;text-align: center;
    vertical-align: top;margin-left: 100px;padding: 0;font-size: 10px;box-sizing: border-box;border-radius: 50%;font-family: Arial;cursor: pointer;
}

ol.breadcrumb{font-size: 90%;background-color: #fecc00;margin-bottom: 0;}
ol.breadcrumb .breadcrumb-item{filter:drop-shadow(0 0 2px rgba(0,0,0,.5));}
ol.breadcrumb .breadcrumb-item.active{color: #fff;}
ol.breadcrumb a{color: #000;}
ol.breadcrumb a:hover{}


/* MODAL */
.modal-header{background-color: #fecc00;}
.modal-content{filter: drop-shadow(0 0 5px rgba(0,0,0,.4));}

/* INNE */
/*.custom-radio .custom-control-input:checked ~ .custom-control-label::before {background-color: #fecc00;}
.custom-control-input:checked ~ .custom-control-label::before {background-color: #fecc00;}*/

/*BUTTONY*/
.btn-light.disabled, .btn-light:disabled{opacity: .2;}
button.custom-select{background-image: none;padding-right: 12px;width: 100% !important;}
button.custom-select.active{
    border-color: #80bdff;
    outline: 0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075),0 0 5px rgba(128,189,255,.5);
}

tr td .custom-select{font-size: inherit;padding: 0 5px;background-position-x: right .2rem;}
tr td .btn-outline-dark{background-color: white;border-color: silver;}
tr td .btn-outline-dark:hover{background-color: transparent;color: #000;}

/* tabsy */
/*.nav-tabs{margin-bottom: 1rem;}*/

/* FORMULARZE */
.input-group-text.password{cursor: pointer;}

.material-icons {color: rgb(73, 80, 87);}
.material-icons.md-18 {font-size: 18px;}

/* pracownicy */
@media (min-width: 576px) {
    #select_pracownik .modal-body .ludzie{column-count: 0;column-gap: 2rem;}
}
@media (min-width: 768px) {}
@media (min-width: 992px) {
    #select_pracownik .modal-body .ludzie{column-count: 2;column-gap: 2rem;}    
}
@media (min-width: 1200px) {
    #select_pracownik .modal-body .ludzie{column-count: 3;column-gap: 2rem;}    
}

table.zespoly td.button button[data-target="#select_pracownik"] {
    height: auto;
    min-height: 2.1rem;
    padding: .2rem !important;
    font-size: .8rem !important;
}

table.zespoly td.button span.multi{color: red;}

/*> 1*/
.badge-danger, .badge[data-wzespole]{color: #fff;background-color: #dc3545;}

/*0*/
.badge-success, .badge[data-wzespole="0"]{color: #fff;background-color: #28a745;}

/*1*/
.badge-secondary, .badge[data-wzespole="1"]{color: #fff;background-color: #6c757d;}


/* STATUSY - dotyczy tabeli zadań*/

/*tr.status-0 th{background-color: rgba(14,202,50,.1);}
tr.status-10 th{background-color: rgba(250,160,0,.1);}
tr.status-100 th{background-color: rgba(210,250,40,.1);}
tr.status-200 th{background-color: rgba(10,180,0,.1);}
tr.status-300 th{background-color: rgba(255,0,0,.1);}*/

/*.color-status-0{color: rgba(14,202,50,.8);}
.color-status-10{color: rgba(250,160,0,.8);}
.color-status-100{color: rgba(210,250,40,.8);}
.color-status-200{color: rgba(10,180,0,.8);}
.color-status-300{color: rgba(255,0,0,.8);}

.color-status-0:hover{color: rgba(14,202,50,1) !important;}
.color-status-10:hover{color: rgba(250,160,0,1) !important;}
.color-status-100:hover{color: rgba(210,250,40,1) !important;}
.color-status-200:hover{color: rgba(10,180,0,1) !important;}
.color-status-300:hover{color: rgba(255,0,0,1) !important;}*/

.color-status-0{color: #f6bb09;} /* 9A */
.color-status-10{color: #5db944;} /* 9A */
.color-status-100{color: #ff0000;} /* 66 */
.color-status-200{color: #bfbfbf;} /* 9A */
.color-status-300{color: #ff0000FF;}

.color-status-0:hover{color: #f6bb09 !important;}
.color-status-10:hover{color: #5db944 !important;}
.color-status-100:hover{color: #ff0000 !important;}
.color-status-200:hover{color: #bfbfbf !important;}
.color-status-300:hover{color: #ff0000FF !important;}


/*[class^="status"]:hover{font-weight: bold;}
.status-0:hover{background-color: rgba(14,202,50,.1) !important;}
.status-10:hover{background-color: rgba(250,160,0,.1) !important;}
.status-100:hover{background-color: rgba(210,250,40,.1) !important;}
.status-200:hover{background-color: rgba(10,180,0,.1) !important;}
.status-300:hover{background-color: rgba(255,0,0,.1) !important;}*/

tr[class|="status"] th{background:no-repeat center center;background-size: 30px auto;transition: all .3s;}
tr[class|="status"] th input{color: transparent;transition: color .4s;width: 45px;}
/*table.lp-edit tr[class|="status"] th {background-image: none;}*/
/*table.lp-edit tr[class|="status"] th input{color: #000;transition: color 0s;}*/

/*table tr[class|="status"] th:hover {background-image: none;}
table tr[class|="status"] th:hover input{color: #000;}*/

small[class|="status"]{width: 100%;height: 100%;display: block;background:no-repeat left center;transition: all .3s;text-indent: 2rem;line-height: 1.5rem;}
small[class*="status--"]{background-image: url(img/statusy/punktor_lista_ukryte.svg);}
small.status-0 {background-image: url(img/statusy/punktor_lista_oczekuje.svg);}
small.status-10 {background-image: url(img/statusy/punktor_lista_rozpoczete.svg);}
small.status-100 {background-image: url(img/statusy/punktor_lista_koniec_niezaraportowane.svg);}
small.status-200 {background-image: url(img/statusy/punktor_lista_koniec_ok.svg);}
small.status-300 {background-image: url(img/statusy/punktor_lista_koniec_niewykonane.svg);}

select#gender option[value="male"]   { background-image:url(male.png);   }
select#gender option[value="female"] { background-image:url(female.png); }
select#gender option[value="others"] { background-image:url(others.png); }

option[value="status"]{background: no-repeat;}
option[value*="status--"]{background-image: url(img/statusy/punktor_lista_ukryte.svg);}
option[value="status-0"]{background-image: url(img/statusy/punktor_lista_oczekuje.svg);}
option[value="status-10"]{background-image: url(img/statusy/punktor_lista_rozpoczete.svg);}
option[value="status-100"]{background-image: url(img/statusy/punktor_lista_koniec_niezaraportowane.svg);}
option[value="status-200"]{background-image: url(img/statusy/punktor_lista_koniec_ok.svg);}
option[value="status-300"]{background-image: url(img/statusy/punktor_lista_koniec_niewykonane.svg);}

tr.status--1 * {color: #aaa !important;}
tr.status-200 * {color: #aaa !important;}
tr.status-300 * {color: #f33 !important}
tr.status-300 > * {border-top: 1px solid #f33 !important;border-bottom: 1px solid #f33 !important;}

tr.status-300 select option {color: initial !important}
td.akcje * {color: initial !important;}
td.akcje .badge-dark {color: white !important;}

.form-control::placeholder{color: #ccc;}

/*tr.status--1 th{background-image: url(img/statusy/punktor_lista_ukryte.svg);}
tr.status--1 * {color: #aaa !important;}
tr.status-0 th{background-image: url(img/statusy/punktor_lista_oczekuje.svg);}
tr.status-10 th{background-image: url(img/statusy/punktor_lista_rozpoczete.svg);}
tr.status-100 th{background-image: url(img/statusy/punktor_lista_koniec_niezaraportowane.svg);}
tr.status-200 th{background-image: url(img/statusy/punktor_lista_koniec_ok.svg);}
tr.status-200 * {color: #aaa !important;}
tr.status-300 th{background-image: url(img/statusy/punktor_lista_koniec_niewykonane.svg);}
tr.status-300 * {color: #f33 !important}
tr.status-300 select option {color: initial !important}
tr.status-300 > * {border-top: 1px solid #f33 !important;border-bottom: 1px solid #f33 !important;}
td.akcje * {color: initial !important;}
td.akcje .badge-dark {color: white !important;}
*/

#szukaj_paczkomatu input[name="nazwa_paczkomatu"]{flex: 0 0 9rem; min-width: 0;}
/*
switch (raport . typ_raportu) {
    case START_PRAC: status = 10;
        break;
    case START_PRAC_ANULUJ: status = 0;
        break;
    case MONTAZ: status = 10;
        break;
    case SERWIS: status = 10;
        break;
    case ELEKTRYKA: status = 10;
        break;
    case DOSTAWKA: status = 10;
        break;
    case PROTOKOL_ODBIORU: status = 10;
        break;
    case KONIEC_PRAC: status = 100;
        break;
    case RAPORT_KONCOWY: status = 200;
        break;
    case ROZPOCZECIE_NIEMOZLIWE: status = 300;
        break;
}

300 - CZERWONY - NIE DA SIĘ / BRAK MOŻLIWOŚCI, 
200 - ZIELONE - ZAKOŃCZONE, 
100 - ZIELONE - ZAKOŃCZONE, 
 10 - SZARY - braki w dokumentacji, 
 10 - START - trwa robota.
  0 - ŻÓŁTY - nowe zlecenie / przyjęte zlecenie

*/

/*
 FLAGI
 10 - PILNE
  0 - NORMANE
*/

th[data-name=nazwa_paczkomatu]{min-width: 100px;}
tr.flag-1 td.paczkomat {color: red !important;position: relative;}
tr.flag-1 td.paczkomat::after {
	/*content: " ❗ ";*/
	/*content: " ⚡ ";*/
	content: " ⏰ ";
	/*position: absolute;*/
	font-size: 1.3em;
	line-height: .7em;
	display: inline-block;
	top: .8em;
	right: 1px;
}