@charset "utf-8";

/* =========================================================
   PODSTAWY APLIKACJI
   ========================================================= */

body {
	font-family: 'Bitstream Vera Sans','DejaVu Sans','Liberation Sans',Kalimati,Verdana,Geneva,sans-serif;
	font-size: 10pt;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	height: 100%;
	max-height: 100%;
}

h1 {
	margin: 5px 0;
	font-size: 14pt;
	font-weight: normal;
}

h2 {
	margin: 10px 0 5px 0;
	font-size: 13pt;
	font-weight: normal;
}

h3 {
	margin: 0;
}

img {
	border: none;
}

label {
	cursor: pointer;
}

table tr td {
	border: none;
}

a {
	color: #4d3800;
}

a:hover {
	color: #555;
}

.clear {
	clear: both;
}

.baton {
}

/* =========================================================
   GŁÓWNY UKŁAD: MENU LEWE + TREŚĆ
   ========================================================= */

#framecontent {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 250px;
	height: 100%;
	overflow: hidden;
	background: url('../obrazki/carbon.png') #777;
	color: white;
}

#framecontent a {
	color: orange;
}

#framecontent a:hover {
	color: #ccc;
}

#maincontent {
	position: fixed;
	top: 0;
	left: 250px;
	right: 0;
	bottom: 0;
	overflow: auto;
	background: #ccc;
}

.innertube {
	margin: 15px;
}

.innerpadd {
	padding: 15px;
}

* html body {
	padding: 0 0 0 200px;
}

* html #maincontent {
	height: 100%;
	width: 100%;
}

#nawigator {
	width: 100%;
	background: url('../obrazki/carbon.png') #777;
	color: #fefefe;
}

#search {
	float: left;
}

#userinfo {
	float: right;
}

#userinfo p {
	line-height: 26px;
	margin: 0;
	padding: 0;
}

#selectprofile {
	float: right;
	margin: 1px;
}

#show_hide_menu {
	float: left;
	margin: 0 10px 0 0;
}

#reset {
	visibility: hidden;
}

/* =========================================================
   STARE ELEMENTY WSPÓLNE
   ========================================================= */

#portamento_container {
	position: absolute;
	right: 0;
	top: 0;
}

#portamento_container #attributes.fixed {
	position: fixed;
	right: auto;
	top: auto;
}

#attributes {
	width: 350px;
	min-height: 300px;
	padding: 10px;
	float: right;
	background: #eee;
	border: dashed 1px #bbb;
}

#wrapper {
	overflow: hidden;
	position: relative;
}

#middle {
	float: left;
	width: 630px;
	min-height: 1000px;
}

#zadania p {
	margin: 0;
	font-size: 9pt;
}

#marza {
	font-size: 12pt;
	font-weight: bold;
	margin: 10px auto;
}

#listydoeksportu tr {
	background: #eee;
}

#listydoeksportu td {
	padding: 5px;
}

#przeslona {
	display: none;
	position: absolute;
	background: #333;
	opacity: 0.2;
	filter: alpha(opacity=20);
	width: 100%;
	height: 100%;
	z-index: 500;
}

#loader {
	position: fixed;
	top: 45%;
	left: 50%;
	width: 80px;
	height: 80px;
	z-index: 1000;
	background: url('../images/loader.gif');
}

.sekcja {
	max-width: 600px;
	padding: 3px 15px;
	margin: 3px auto;
	background: #eee;
	border: dashed 1px #bbb;
}

.sekcja .sekcja {
	background: #fafafa;
}

.sekcja:hover {
	background: #fcfcfc;
}

.sekcja .sekcja:hover {
	background: #fefefe;
}

.panel {
	padding: 15px;
	margin: 15px 0;
	background: #eee;
	border: dashed 1px #bbb;
}

.add {
	background: url('../obrazki/add.png') no-repeat 0 50%;
	padding: 2px 2px 2px 24px;
	line-height: 19px;
}

a.add {
	display: inline-block;
	margin: 4px 0 12px 0;
	padding: 6px 10px 6px 28px;
	background-color: #f6f6f6;
	border: 1px solid #bbb;
	text-decoration: none;
	font-weight: bold;
}

a.add:hover {
	background-color: #fff;
	text-decoration: none;
}

.row:hover {
	background: #eee;
}

.row td {
	font-size: 9px;
}

/* =========================================================
   KOMUNIKATY
   ========================================================= */

.msg {
	margin: 10px 0;
	border: dashed 1px green;
	background: #CCFF33;
}

.msg p {
	color: #333;
	font-size: 10pt;
	margin: 10px 5px 10px 10px;
	padding: 10px 5px 10px 10px;
}

.msge {
	margin: 10px 0;
	border: dashed 1px red;
	background: #FF9966;
}

.msge p {
	color: #333;
	font-size: 10pt;
	margin: 10px 5px 10px 10px;
	padding: 10px 5px 10px 10px;
}

.msgi {
	margin: 10px 0 16px 0;
	border: 1px solid #8bb8e8;
	background: #eaf5ff;
}

.msgi p {
	color: #333;
	font-size: 10pt;
	margin: 0;
	padding: 10px 12px;
}

.msgy {
	margin: 5px 0;
	border: dashed 1px red;
	background: yellow;
}

.msgy li {
	color: #333;
	font-size: 10pt;
	margin: 5px 3px 5px 5px;
	padding: 5px 3px 5px 10px;
}

/* =========================================================
   NAGŁÓWKI I FORMULARZE W TREŚCI
   ========================================================= */

.innertube > p:first-child {
	margin: 0 0 10px 0;
	font-size: 10pt;
}

.innertube h2 {
	margin: 18px 0 10px 0;
	padding: 8px 12px;
	background: #f5f5f5;
	border: 1px solid #bbb;
	border-left: 5px solid orange;
	color: #222;
	font-size: 14pt;
	font-weight: bold;
}

.innertube form {
	margin: 8px 0 14px 0;
	padding: 10px 12px;
	background: #eeeeee;
	border: 1px solid #c7c7c7;
}

.innertube form label {
	margin: 0 4px 0 8px;
	font-size: 10pt;
	color: #222;
}

.innertube form label:first-child {
	margin-left: 0;
}

.innertube select,
.innertube input[type="date"],
.innertube input[type="text"],
.innertube input[type="submit"],
.innertube button {
	font-size: 10pt;
	padding: 4px 6px;
	border: 1px solid #999;
	background: #fff;
	color: #222;
}

.innertube input[type="submit"],
.innertube button {
	cursor: pointer;
	background: #f7f7f7;
}

.innertube input[type="submit"]:hover,
.innertube button:hover {
	background: #ffffff;
	border-color: #555;
}

/* =========================================================
   MENU: Przegląd transakcji
   Widok: ./?strona=transakcje
   Opis: zwarta lista transakcji w realizacji i archiwalnych
   ========================================================= */

.lista-transakcji {
	margin: 8px 0 16px 0;
}

.lista-transakcji > div {
	margin: 0 0 3px 0 !important;
	padding: 0;
}

.lista-transakcji h3.transakcja,
.ui-lista-transakcji .ui-lista-transakcji-header {
	display: block;
	position: relative;
	margin: 0 !important;
	padding: 5px 10px 5px 12px !important;
	min-height: 22px;
	line-height: 16px !important;
	font-size: 10pt !important;
	font-weight: normal;
	border: 1px solid #8f8f8f !important;
	border-radius: 3px 3px 0 0 !important;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 1px 1px rgba(0,0,0,0.12);
}

.lista-transakcji h3.transakcja:hover {
	filter: brightness(1.04);
}

.lista-transakcji h3.transakcja a,
.ui-lista-transakcji .ui-lista-transakcji-header a {
	display: block;
	color: #111 !important;
	text-decoration: none !important;
	outline: none;
}

.lista-transakcji h3.transakcja strong {
	font-size: 10pt;
	font-weight: bold;
}

.lista-transakcji h3.transakcja img,
.lista-transakcji h3 img {
	margin-right: 4px;
	vertical-align: middle;
}

.lista-transakcji .panel-transakcji,
.lista-transakcji .szczegoly-transakcji,
.ui-lista-transakcji .ui-lista-transakcji-content {
	background: #fff !important;
	border: 1px solid #8f8f8f !important;
	border-top: none !important;
	padding: 8px 10px !important;
	margin: 0 0 5px 0 !important;
	color: #000 !important;
	font-size: 10pt !important;
	line-height: 1.35;
	box-shadow: 0 1px 2px rgba(0,0,0,0.10);
	overflow: auto;
}

.transakcja-meta {
	display: inline-block;
	margin-top: 1px;
	font-size: 8.5pt;
	color: #333;
	font-weight: normal;
}

.transakcja-meta strong {
	font-size: 8.5pt !important;
	color: #000;
}

.transakcja-status {
	display: flex;
	align-items: center;
	gap: 3px;
	flex-wrap: wrap;
	min-height: 16px;
}

.braki,
.lista-transakcji .braki {
	display: inline-block;
	margin: 2px 3px 0 4px;
	padding: 2px 6px;
	background: #fff0f0;
	border: 1px solid #dd9999;
	border-radius: 3px;
	color: #b00000;
	font-size: 9pt;
	font-weight: bold;
	cursor: pointer;
	vertical-align: middle;
}

.status-towaru {
	display: inline-block;
	margin: 2px 3px 0 4px;
	font-size: 9pt;
	color: #111;
}

/* Zrealizowane i anulowane - jeszcze bardziej zwarta lista */

.lista-transakcji-archiwum h3.transakcja {
	min-height: 20px !important;
	padding: 4px 8px 4px 10px !important;
	line-height: 15px !important;
	font-size: 9pt !important;
}

.lista-transakcji-archiwum > div {
	margin-bottom: 3px !important;
}

.lista-transakcji-archiwum .transakcja-meta {
	margin-top: 1px;
	font-size: 8pt;
}

/* Stare klasy jQuery UI pozostawione dla kompatybilności */

.ui-lista-transakcji .ui-lista-transakcji-icons {
	padding-left: 28px !important;
}

.ui-lista-transakcji .ui-lista-transakcji-header .ui-lista-transakcji-header-icon {
	position: absolute;
	left: 8px;
	top: 50%;
	margin-top: -8px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
	border: none;
}

/* =========================================================
   Edycja transakcji - lista sekcji bez jQuery UI
   Widok: ./?strona=transakcje&akcja=edytuj&id=...
   ========================================================= */

.lista-edycji-transakcji {
	margin-top: 15px;
}

.lista-edycji-transakcji > div {
	margin: 0 0 4px 0;
	background: #f5f5f5;
	border-radius: 3px;
}

.lista-edycji-transakcji h3 {
	display: block;
	margin: 0;
	padding: 6px 10px 6px 28px;
	font-size: 10pt;
	font-weight: normal;
	background: #eee;
	color: #333;
	border-radius: 3px;
	cursor: pointer;
}

.lista-edycji-transakcji h3 + div {
	display: none;
	padding: 8px 10px 10px 28px;
	background: #f8f8f8;
	border-top: 1px solid #ddd;
}

/* =========================================================
   MENU: Reklamacje
   Widok: ./?strona=reklamacje
   ========================================================= */

.reklamacje-lista,
.lista-edycji-reklamacji {
	margin-top: 8px;
}

.reklamacje-lista > div,
.lista-edycji-reklamacji > div {
	margin: 0 0 3px 0;
	padding: 0;
}

.reklamacje-lista h3.reklamacje-naglowek,
.lista-edycji-reklamacji h3 {
	display: block;
	margin: 0 0 3px 0 !important;
	padding: 4px 8px !important;
	font-size: 10pt !important;
	font-weight: normal !important;
	line-height: 16px !important;
	background: #eee;
	border: 1px solid #ddd !important;
	border-radius: 0 !important;
	cursor: pointer;
	color: #333;
}

.reklamacje-lista h3.reklamacje-naglowek:hover,
.lista-edycji-reklamacji h3:hover {
	background: #f6f6f6;
}

.reklamacje-lista h3.reklamacje-naglowek a,
.reklamacje-lista h3.reklamacje-naglowek a:link,
.reklamacje-lista h3.reklamacje-naglowek a:visited,
.reklamacje-lista h3.reklamacje-naglowek a:hover,
.reklamacje-lista h3.reklamacje-naglowek a:active {
	color: #333;
	text-decoration: none !important;
	outline: none;
}

.reklamacje-strzalka {
	display: inline-block;
	width: 8px;
	color: #999;
	font-size: 5pt;
	margin-right: 4px;
	vertical-align: middle;
}

.reklamacje-panel,
.lista-edycji-reklamacji > div > div {
	display: none;
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-top: none !important;
	margin: -3px 0 3px 0 !important;
	padding: 10px !important;
	font-size: 9pt !important;
	color: #000 !important;
}

.reklamacje-panel p,
.lista-edycji-reklamacji p {
	font-size: 9pt !important;
	margin: 5px 0;
}

.reklamacje-panel h4,
.lista-edycji-reklamacji h4 {
	font-size: 10pt !important;
	margin: 8px 0 5px 0;
}

.lista-edycji-reklamacji table td,
.lista-edycji-reklamacji table th {
	font-size: 9pt !important;
	padding: 2px 4px;
}

.lista-edycji-reklamacji textarea {
	font-size: 9pt !important;
}

.reklamacje-lista a:before,
.reklamacje-lista a:after,
.reklamacje-panel a:before,
.reklamacje-panel a:after {
	content: none !important;
	display: none !important;
}

.reklamacje-panel a img {
	border: 0;
	text-decoration: none;
	vertical-align: middle;
}

.reklamacje-panel a,
.reklamacje-panel a:link,
.reklamacje-panel a:visited,
.reklamacje-panel a:hover,
.reklamacje-panel a:active {
	text-decoration: none !important;
}

/* =========================================================
   Statystyki / szczegółowe
   ========================================================= */

.szczegolowe {
	text-align: right;
}

.szczegolowe th {
	text-align: center;
}

.szczegolowe td {
	padding: 5px;
}

/* =========================================================
   Sekcja: ostatnio sprzedane produkty
   ========================================================= */

#sold {
	margin-top: 20px;
	padding: 12px;
	background: #eeeeee;
	border: 1px solid #c7c7c7;
	font-size: 11pt;
}

#sold h2 {
	margin-top: 0;
}

#sold a {
	color: #000;
	text-decoration: none;
}

#sold a:hover {
	text-decoration: underline;
}

/* =========================================================
   MENU: Dostawy towaru
   Widok: ./?strona=dostawy
   Opis: zwarta lista kart z oczekującymi dostawami
   ========================================================= */

.filtry-dostaw {
	background: #eeeeee;
	border: 1px solid #c7c7c7;
	padding: 7px 10px;
	margin: 8px 0 10px 0;
	color: #222;
}

.filtry-dostaw form {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
}

.filtry-dostaw label {
	margin: 0 4px 0 10px;
	font-size: 9pt;
	color: #222;
}

.filtry-dostaw label:first-child {
	margin-left: 0;
}

.filtry-dostaw select {
	font-size: 9pt;
	padding: 3px 5px;
	border: 1px solid #999;
	background: #fff;
	color: #222;
}

.lista-dostaw {
	margin: 8px 0 15px 0;
}

.karta-dostawy {
	background: #ffffff;
	border: 1px solid #cfcfcf;
	border-left: 4px solid orange;
	margin: 0 0 7px 0;
	box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}

.karta-dostawy:hover {
	background: #fcfcfc;
}

.karta-dostawy-link,
.karta-dostawy-link:link,
.karta-dostawy-link:visited,
.karta-dostawy-link:hover,
.karta-dostawy-link:active {
	display: block;
	padding: 7px 10px;
	color: #111;
	text-decoration: none;
}

.karta-dostawy-naglowek {
	margin: 0 0 3px 0;
	font-size: 9pt;
	line-height: 1.25;
	color: #111;
}

.karta-dostawy-naglowek strong {
	font-size: 11pt;
	color: #000;
}

.karta-dostawy-naglowek span {
	margin-left: 12px;
	color: #111;
}

.karta-dostawy-meta {
	margin: 0 0 4px 0;
	font-size: 9pt;
	line-height: 1.25;
	color: #111;
}

.karta-dostawy-meta span {
	margin-right: 16px;
}

.tabela-dostawy {
	width: 100%;
	border-collapse: collapse;
	margin: 4px 0 0 0;
	background: #fff;
	color: #111;
}

.tabela-dostawy th {
	padding: 4px 5px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	background: #f5f5f5;
	text-align: left;
	font-size: 9pt;
	font-weight: bold;
	color: #111;
	line-height: 1.15;
}

.tabela-dostawy td {
	padding: 3px 5px;
	border-bottom: 1px solid #eeeeee;
	font-size: 9pt;
	line-height: 1.15;
	vertical-align: top;
	color: #111;
}

.tabela-dostawy tr:last-child td {
	border-bottom: none;
}

.tabela-dostawy tr:hover td {
	background: #fafafa;
}

.tabela-dostawy .col-lp {
	width: 45px;
}

.tabela-dostawy .col-ilosc {
	width: 80px;
}

.status-dostawy {
	margin: 5px 0 0 0;
	padding: 5px 8px;
	border-radius: 2px;
	font-size: 9pt;
	font-weight: bold;
}

.status-dostawy-ok {
	background: #eef8ea;
	border: 1px solid #cfe7c6;
	color: #2f6f1f;
}

.status-dostawy-brak {
	background: #fff5df;
	border: 1px solid #f1d28f;
	color: #b35f00;
}

.dostawy-opcje-towaru {
	margin-left: 4px;
	color: #333;
	font-size: 9pt;
	white-space: normal;
}