body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 12pt Arial,Helvetica,sans-serif;
}

.bg-main {
	background-color: #476787;
}

#page
{
	margin-top: 5px;
	margin-bottom: 5px;
	background: white;
	border: 1px solid #C9E0ED;
	padding-left: 0px;
	padding-right: 0px;
}

#header
{
	margin: 0;
	padding: 0;
	border-top: 3px solid #C9E0ED;
}

#content
{
    padding: 20px;
}

#footer
{
	padding: 5px;
	margin: 5px 10px 0px 10px;
	font-size: 0.8em;
	text-align: right;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 10px 20px;
	font-weight: bold;
	text-align: left;
	/*font-style: italic;*/
	font: italic 30pt Arial,Helvetica,sans-serif;
}

#mainmenu
{
	background:white url(bg.gif) repeat-x left top;
	padding:0px;
	margin:0px;
}

#mainmenu td
{
	padding:0px;
	margin:0px;
	white-space:nowrap;
}

#mainmenu ul
{
	padding:6px 20px 5px 20px;
	margin:0px;
}

#mainmenu ul li
{
	display: inline;
}

#mainmenu ul li a
{
	color:#ffffff;
	background-color:transparent;
	font-weight:bold;
	text-decoration:none;
	padding:5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li a.active
{
	color: #6399cd;
	background-color:#EFF4FA;
	text-decoration:none;
}

div.error, div.notice, .success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.error a
{
	color:#8a1f11;
}

div.notice a
{
	color:#514721;
}

div.success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

.actions
{
	margin: 0 0 10px 0;
	padding: 0;
}

.actions li
{
	display: inline;
	margin: 0;
	padding: 0;
}

.actions li a
{
	padding: 5px;
	margin: 0;
	color: #298dcd;
	text-decoration: none;
	font-size: 0.8em;
	font-weight: bold;
	background: #DFF4FF;
	border-left: 5px solid #589FC8;
}

.actions li a:hover, .actions li a.active
{
	background: #589FC8;
	color: white;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

#pricelist_view td, #pricelist_view th
{
	white-space:nowrap;
}

#pricelist_view .items td:nth-child(1)
{
	text-align:right;
	font-weight:bold;
}

#pricelist_view .items td:nth-child(2),
#pricelist_view .items th:nth-child(2)
{
	width:100%;
}

#pricelist_view .items td:nth-child(3)
{
	text-align:right;
	font-weight:bold;
}

#users_view_edit td, #users_view_edit th
{
	white-space:nowrap;
}

#users_view_edit .items td:nth-child(2)
{
	margin: 0.2em;
	font-weight:bold;
	text-align:right;
}
#users_view_edit .items td:nth-child(3)
{
	width: 5em;
	font-weight:bold;
	text-align:center;
}
#users_view_edit .items td:nth-child(5)
{
	white-space: pre-line;
}

#users_view_edit .items td:nth-child(7),
#users_view_edit .items td:nth-child(8),
#users_view_edit .items td:nth-child(9)
{
	text-align:center;
}

#vendor_view_edit td, #vendor_view_edit th
{
	white-space:nowrap;
}

#vendor_view_edit .items td:nth-child(1)
{
	width: 5em;
	text-align:center;
	font-weight:bold;
}

#vendor_view_edit .items td:nth-child(2),
#vendor_view_edit .items th:nth-child(2)
{
	/*width:100%;*/
}

#vendor_view_edit .items td:nth-child(3)
{
	text-align:right;
	font-weight:bold;
	width: 9em;
}

#vendor_view_edit .items td:nth-child(4)
{
	text-align:center;
	font-weight:bold;
	width: 9em;
}


#order_list_view th, td /*, #order_list_view td*/
{
	white-space:nowrap;
}

#order_list_view td
{
	text-align:right;
}


#order_list_view .items td:nth-child(1)
{
	font-weight:bold;
}

#order_list_view td:nth-child(7),
#order_list_view td:nth-child(15)
{
	text-align:left;
	/*white-space:nowrap;*/
}

#order_list_view td:nth-child(10),
#order_list_view td:nth-child(11),
#order_list_view td:nth-child(12)
{	
	white-space:nowrap;
	/*text-align:right;*/
}

.apply-all-charge-panel {
     display: flex;
     flex-direction: row;
     flex-wrap: nowrap;
     justify-content: flex-end;
     align-items: center;
     align-content: center;
     gap: 0.5em;
}

.apply-all-charge-panel .item {
     flex: 0 1 auto;
}

.apply-all-charge-panel .item:nth-child(1) {
     flex-grow: 0;
     flex-shrink: 1;
     flex-basis: auto;
     font-weight: bold;
}

.apply-all-charge-panel .item:nth-child(2) {
     flex-grow: 0;
     flex-shrink: 1;
     flex-basis: auto;
     width: 5em;
}

.apply-all-charge-panel .item:nth-child(3) {
     flex-grow: 0;
     flex-shrink: 1;
     flex-basis: auto;
}

.article-table th,
.article-table td
{
	white-space:nowrap;
	padding: 0.5rem;
}


.article-table th {
	color: var(--bs-light);
	background-color: #476787;
	text-align:center;
}

.article-table th a {
	text-decoration: none;
	color: var(--bs-light);
}

.article-table th a[class="sort-link asc"]::before {
	content: " \02228";
	padding-right: 0.25rem;
}

.article-table th a[class="sort-link desc"]::before {
	content: " \02227";
	padding-right: 0.25rem;
}

.article-table .article-col {
	text-align:left;
	font-weight:bold;
	padding-right:8px;
}

.article-table .description-col {
	width: 100%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 0;	
}

.article-table .vendor-price-col {
	font-weight:bold;
	text-align:right;
}

.article-table .group-col {
	text-align:center;
}

.article-table .final-price-col {
	color: darkgreen;
	font-weight:bold;
	text-align:right;
}

.article-table .discount-price-percent-col {
	text-align:right;	
}

.article-table .discount-price-col {
	color: darkgreen;
	font-weight:bold;
	text-align:right;
}

.article-table .zalog-price-col {
	text-align:right;
}

.article-table .replacement-col {
}

.article-table .basket-col {
	font-weight:bold;
	text-align:center;
	color:#227722;
}

input[eeditable] {
	border: 1px solid #ffca2c;
	;
}

input[eeditable]:focus {
	outline: none;
}

