html {
	overflow-y: scroll;
}

body {
	font-size: 12px;
	margin: 0px;
	padding-bottom: 30px;
}

a img {
	border: none;
}

h1 {
	font-size: 1.6em;
	margin-top: 0;
}

input[type=submit],input[type=button] {
	font-size: 11px;
	margin: 5px 5px 5px 0;
	cursor: pointer;
	padding: 3px 9px;
	border-radius: 3px;
	border: 1px solid #999;
}

input[type=text],input[type=password],textarea {
	font-size: 12px;
	padding-left: 1px;
}

select {
	font-size: 13px;
}

.tableControl,.actionButtons {
	width: 100%;
}

.tableControl a {
	padding-left: 10px;
}

.tableControl {
	text-align: right;
}

.footer {
	text-align: center;
	font-size: 11px;
	margin-bottom: 10px;
}

.rich-table {
	width: 100%;
}

.body {
	padding: 10px;
	padding-bottom: 30px;
}

.status-bar {
	position: fixed;
	height: 20px;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: #696969;
	color: white;
	vertical-align: middle;
	border-top: 1px solid gray;
	text-align: right;
	display: table;
	width: 100%;
}

.status-bar>* {
	margin-left: 20px;
	margin-bottom: auto;
	margin-top: auto;
	top: 2px;
	display: table-cell;
	vertical-align: middle;
	padding-right: 10px;
}

.message {
	padding: 5px;
	list-style: none;
	border: 0;
	background: none;
	padding: 0;
	color: #000000;
	margin: 5px 0 8px 0;
	font-size: 12px;
}

.message li {
	background: no-repeat left center;
	padding-top: 1px;
	padding-left: 20px;
	margin-left: 3px;
}

.message li.infomsg {
	background-image: url(../../img/common/icon/msginfo.png);
}

.message li.errormsg {
	background-image: url(../../img/common/icon/msgerror.png);
	color: red;
	font-size: larger;
	font-weight: bolder;
}

.message li.warnmsg {
	background-image: url(../../img/common/icon/msgwarn.png);
}

label.name,td.name {
	vertical-align: top;
	font-weight: bold;
	width: 130px;
	text-align: right;
	float: left;
	padding: 5px;
	clear: left;
}

#settingsEdit label.name {
	width: 400px;
}

.prop label.name {
	margin-top: 3px;
}

.prop {
	display: flex;
}

.value {
	float: left;
	padding: 5px;
}

.display {
	clear: both;
	min-width: 250px;
}

.display-narrow {
	clear: both;
}

.left {
	float: left;
}

.display .value {
	word-wrap: break-word;
}

td .display .value {
	float: none;
}

.display-flex {
	display: flex;
	clear: both;
	justify-content: flex-start;
	flex-direction: row;
	column-gap: 1em;
}

.name-flex {
	width: auto;
	font-weight: bold;
	padding-top: 1em;
	padding-bottom: 1em;
}

.value-flex {
	width: auto;
	padding-top: 1em !important;
	padding-bottom: 1em !important;
}

.error {
	float: left;
	padding: 5px;
}

.errors {
	color: #FF0000;
	vertical-align: middle;
}

img.errors {
	padding-right: 5px;
}

.errors input,.errors textarea,.errors select {
	border: 1px solid red !important;
}

.required {
	color: #FF0000;
	padding-left: 2px;
}

.rich-stglpanel-body {
	overflow: auto;
}

/* the specificity here is necessary to override the defaults */
.rich-panel .rich-panel-header,.rich-stglpanel .rich-stglpanel-header {
	padding: 4px 6px;
}

.rich-panel input[type=submit],.rich-panel input[type=button],.rich-tabpanel input[type=submit],.rich-tabpanel input[type=button]
	{
	margin-bottom: 0;
}

.tableControl input[type=submit],.tableControl input[type=button],.tableControl select
	{
	margin: 5px 0 5px 5px;
}

/* I don't know why this is necessary, but the select is off by a pixel on the top and is padding too much on the left */
.tableControl select {
	margin-left: 2px;
	position: relative;
	top: 1px;
}

.actionButtons {
	padding-left: 1px;
}

.actionButtons select {
	margin: 5px 5px 5px 0;
	vertical-align: bottom;
}

.rich-toolbar {
	background-image: none;
}

.rich-toolbar-item a {
	text-decoration: none;
}

.rich-toolbar-item a:hover,.rich-ddmenu-label-select {
	text-decoration: underline;
}

.rich-toolbar-item .rich-menu-item a:hover {
	text-decoration: none;
}

.rich-datalist {
	list-style: square;
	margin: 6px 0 1px 0;
	padding-left: 18px;
}

.rich-list-item {
	padding-bottom: 4px;
}

div.info {
	font-size: 1.2em;
}

ul.bullets {
	list-style: square;
}

ul.bullets li {
	padding-bottom: 2px;
}

td.action {
	text-align: center;
	width: 8em;
	white-space: nowrap;
}

td.action a {
	padding-left: 1px;
	padding-right: 1px;
}

table.radio {
	border: 0;
}

table.radio td {
	padding: 0 2px;
}

table.radio input[type=radio] {
	vertical-align: bottom;
}

tr.listRow:HOVER {
	background-color: #f1f1f1;
}

.mw160 {
	max-width: 160px;
}

/* ******* homeMessages ********* */
.home-message {
	max-width: 729px;
	width: 100%;
	margin: 0 auto;
}

@media ( min-width : 749px) {
	.home-message {
		width: 729px;
	}
}

.home-error-box,.home-warning-box,.home-info-box {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	background-color: white;
	padding: 10px;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 1.1em;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.home-error-box p,.home-warning-box p,.home-info-box p {
	width: 100%;
	margin: 0 0 10px 0;
	text-align: left;
}

.home-error-box input[type="submit"],.home-warning-box input[type="submit"],.home-info-box input[type="submit"]
	{
	cursor: pointer;
	padding: 5px 10px;
	align-self: flex-end;
}

/* BŁĄD - Ciemnoczerwony */
.home-error-box {
	border: 2px solid #dc4b3e;
	color: #dc4b3e;
}

.home-error-box a {
	color: #fe0000;
	text-decoration: underline;
	margin-left: 5px;
}

/* OSTRZEŻENIE - Ciemnożółty/Bursztynowy */
.home-warning-box {
	border: 2px solid #FF9900;
	color: #CC6600;
}

.home-warning-box a {
	color: #CC6600;
	text-decoration: underline;
	margin-left: 5px;
}

/* INFORMACJA - Ciemnoniebieski */
.home-info-box {
	border: 2px solid #00008B;
	color: #00008B;
}

.home-info-box a {
	color: #00008B;
	text-decoration: underline;
	margin-left: 5px;
}

/* ========== KSeF ========= */

/* pasek KSeF */
.ksefContainer {
	display: flex;
	align-items: center;
	border-top: 1px dashed #888888;
	padding: 10px 5px 5px 0;
	position: relative;
}

.ksefNumberD {
	margin-right: 20px;
}

.nrKsefLabel {
	margin-left: 5px;
	margin-right: 5px;
}

.ksefContainer .pobierz-fa3 {
	position: absolute;
	right: 0;
	margin-right: 5px;
}

/* ksefImportView */
#ksef-details-scope .name {
	display: table-cell;
	width: 35ch;
	min-width: 30ch;
	vertical-align: top;
	padding-top: 5px;
}

#ksef-details-scope .value {
	display: table-cell;
	width: auto;
	padding-left: 2ch;
	word-break: break-all;
}

/* przyciski */
.pobierz-fa3 {
	background: #3B6FD8 !important;
}

.pobierz-fa3:hover {
	background: #2a56b1 !important;
}

.zobacz-fa3-pdf {
	background: #d32f2f !important;
	color: white !important;
}

.zobacz-fa3-pdf:hover {
	background: #b71c1c !important;
}

.importuj-fa3 {
	background: #2e7d32 !important;
	color: white !important;
}

.importuj-fa3:hover {
	background: #1b5e20 !important;
}

/* ======= ksefStatus =========== */
.ksefStatus {
	padding: 2px 8px;
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
	border-radius: 4px;
	border: 1px solid;
	text-transform: uppercase;
	white-space: nowrap;
	background: #ffffff;
	color: #222;
	border-color: #ccc;
}

.ksefStatusList{
	min-width: 3ch;
}

/* kolory */

/* start / neutral */
.NOWA {
	background: #f0f0f0;
	color: #555;
	border-color: #ccc;
}

/* proces */
.WYSLANA_POZA_KSEF {
	color: #2e7d32;
}

.WYSLIJ_DO_KSEF {
	color: #1565c0;
}

.CZEKA_W_KOLEJCE {
	color: #ef6c00;
}


/* dalszy proces */
.WYSLANA_DO_KSEF {
	color: #0277bd;
}

.RECZNIE {
	color: #6a1b9a;
}

/* końcowe OK */
.UPO {
	background: #2e7d32;
	color: #fff;
	border-color: #1b5e20;
}

.UPO_RECZNIE {
	background: #6a1b9a;
	color: #fff;
	border-color: #4a148c;
}

.POBRANA_Z_KSEF {
	background: #424242;
	color: #fff;
	border-color: #212121;
}

/* poza systemem */
.NIEOBJETA_KSEF {
	background: #000000;
	color: #ffffff;
	border-color: #000000;
}

/* błąd twardy */
.BLAD {
	background: #c62828;
	color: #fff;
	border-color: #8e0000;
}

/* dropdown fix */
.ksefStatusMenu .rich-menu-list-border {
	white-space: normal !important;
}

.ksefStatusMenu .rich-menu-list-border table,.ksefStatusMenu .rich-menu-list-border tbody,.ksefStatusMenu .rich-menu-list-border tr
	{
	display: block !important;
	width: 100% !important;
}

.ksefStatusMenu .rich-menu-list-border td {
	display: block !important;
	float: none !important;
	width: 100% !important;
	padding: 0 !important;
}

.ksefStatusMenu .rich-menu-item {
	display: block !important;
	float: none !important;
	width: 100% !important;
}

/* element dropdown */
.ksefStatusMenu .rich-menu-item .ksefStatus {
	display: block !important;
	margin: 2px 4px !important;
	padding: 4px 8px !important;
	text-align: center;
	cursor: pointer;
}

/* hover */
.ksefStatusMenu .rich-menu-item .ksefStatus:hover {
	background: #eeeeee;
}

/* strut off */
.ksefStatusMenu .rich-menu-list-strut {
	display: none !important;
}