/* one class to rule them all, one class to find them,
   one class to bring them all, and in the darkness bind them. */
* {
	font-size: small;
	font-family: Verdana, Arial;
}

/* fonts                                                                        */
/********************************************************************************/
.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.font-large {
	font-size: large;
}

.font-medium {
	font-size: medium;
}
/********************************************************************************/


/* colors                                                                       */
/********************************************************************************/
.body-color {
	color: var(--bs-body-color);
}

.primary-color {
	color: var(--bs-primary);
}

.darker-gray {
	color: var(--bs-gray-600);
}

.light-gray {
	color: var(--bs-gray-300);
}

.lighter-gray-bg {
	background-color: var(--bs-gray-200);
}

.light-gray-bg {
	background-color: var(--bs-gray-300);
}

.white {
	color: var(--bs-white);
}

.light1 {
	background-color: #eef0f7;
}
tr.light1 td {
	background-color: #eef0f7;
}

.light2 {
	background-color: #d1dceb;
}

tr.light2 td {
	background-color: #d1dceb;
}

.light4 {
	background-color: #adc1dc;
}

/********************************************************************************/

/* misc                                                                         */
/********************************************************************************/
div.spacer {
	clear: both;
	height: 20px;
	display: block;
}

div.spacer10 {
	clear: both;
	height: 10px;
	display:block;
}

.select-group {
	background-color: var(--bs-gray-400);
	color: var(--bs-body-color);
}

.disabled_label {
	color: var(--bs-gray-600);
	font-style: italic;
}

.rotate {
	width: 15px;
	height: 15px;
	text-align: left;
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

.preserve-whitespace {
	white-space: pre;
}
/********************************************************************************/

/* message panel, validation                                                    */
/********************************************************************************/
.invalid {
	border-color: var(--bs-danger-border-subtle) !important;
}

.infoMsg {
	padding: 20px;
	text-align: center;
	color: var(--bs-danger);
	font-weight: bold;
}
/********************************************************************************/

/* tooltips                                                                     */
/********************************************************************************/
.tip:hover {
	cursor: help;
	position: relative;
}

.tip span {
	display: none
}

.tip:hover span {
	color: black;
	border: 1px var(--bs-gray-700) solid;
	border-radius: 4px;
	padding: 10px;
	display: block;
	z-index: 100;
	/*background: url(../images/important.png) var(--bs-secondary-bg-subtle) no-repeat 99% 5%;*/
	background-color: var(--bs-secondary-bg-subtle);
	left: 0px;
	margin: 25px;
	width: 300px;
	position: absolute;
	top: 15px;
	text-align: justify;
	text-decoration: none
}
/********************************************************************************/

/* highlight line                                                               */
/********************************************************************************/
.hilight {
	background-color: var(--bs-primary);
	color: var(--bs-gray-200);
}

tr.hilight td {
	background-color: var(--bs-primary);
}

.hilight A {
	background-color: var(--bs-primary);
	color: var(--bs-gray-200);
}

.selected {
	background-color: var(--bs-black);
	color: var(--bs-gray-100);
}
/********************************************************************************/

/* active/inactive toggle                                                       */
/********************************************************************************/
.active {
	color: var(--bs-white);
	background-color: var(--bs-primary);
	text-decoration: none;
	padding: 1px;
	font-size: 12px;
}

.inactive {
	color: var(--bs-primary);
	background-color: #eef0f7;
	text-decoration: none;
	font-size: 12px;
}

.tab-active {
	color: var(--bs-white);
	background-color: var(--bs-primary);
	border: 1px solid var(--bs-primary);
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	margin-left: 3px;
}

.tab-inactive {
	color: var(--bs-white);
	/*
	background-color: #7c94c9;
	border: 1px solid #7c94c9;
	*/
	background-color: var(--bs-secondary);
	border: 1px solid var(--bs-secondary);
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	margin-left: 3px;
}
/********************************************************************************/

/* tabs (customer, account management)                                          */
/********************************************************************************/
.tabFrame {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: hidden;
	border-color: var(--bs-gray-500);
	border-style: solid;
	border-width: 1px 1px 0px 1px;
	/* width: 120px; */
	text-align: center;
}

.tabBody {
	display: block;
	color: var(--bs-white);
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	/* width: 120px; */
	padding: 3px;
}

div.tabBody a {
	color: var(--bs-white);
}

.tabCustomer {
	width: 120px;
}

.tabAccount {
	width: 150px;
}

.tabAgreement {
	width: 200px;
}

.tabActive {
	background-color: var(--bs-primary);
}

.tabInactive {
	background-color: var(--bs-primary-light);
}

.tabDisabled {
	background-color: var(--bs-secondary);
}

a.tabDisabled:hover {
	text-decoration: none;
	cursor: default;
}

.tabLine {
	border-top: 1px solid var(--bs-primary);
	padding: 0px;
	margin-left: 6px;
	margin-bottom: 10px;
}
/********************************************************************************/

/* header                                                                       */
/********************************************************************************/
.header {
	background-color: var(--bs-primary);
	color: var(--bs-white);
	font-weight: bold;
	text-align: center;
	padding: 5px 0px;
}

.pageHeader {
	font-size: 14px;
	margin: 6px 0px;
	padding: 3px;
	background-color: var(--bs-primary);
	color: var(--bs-white);
	width: 100%;
	margin-bottom: 20px;
}

tr.groupHeader {
	background-color: var(--bs-gray-400) !important;
}

div.hrule {
	border-top: 1px solid var(--bs-primary);
	padding: 0px;
	margin-left: 6px;
	margin-bottom: 10px;
}

hr.hrule {
	color: var(--bs-primary);
}


/********************************************************************************/

/* address overview menu                                                        */
/********************************************************************************/
.addressMenuFrame {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: hidden;
	border-color: var(--bs-gray-500);
	border-style: solid;
	border-width: 1px 1px 0px 1px;
}

.addressMenuMain {
	background-color: var(--bs-gray-200);
}

.addressMenuMain a {
	font-weight: bold;
	font-size: x-small;
	color: var(--bs-black);
	text-decoration: none;
}

.addressMenuMain a:hover,
.addressMenuSub a:hover {
	color: var(--bs-primary);
	cursor: pointer;
}

.addressMenuSub {
	height: 20px;
	background-color: var(--bs-gray-200);
	border-top: 1px solid var(--bs-gray-500);
}

.addressMenuSubItem {
	padding-top: 2px;
}

.addressMenuSubItem a {
	font-weight: bold;
	font-size: x-small;
	color: var(--bs-info-text-emphasis);
	text-decoration: none;
}

.addressMenuSelected {
	background-color: var(--bs-primary);
}

.addressMenuSubSelected {
	padding-top: 2px;
	background-color: var(--bs-primary);
}

.addressMenuSelected a,
.addressMenuSubSelected a {
	font-weight: bold;
	font-size: x-small;
	color: var(--bs-white);
	text-decoration: none;
}

.addressMenuSelected a:hover,
.addressMenuSubSelected a:hover {
	color: var(--bs-white);
}

/********************************************************************************/

/* grayGrid table (formerly CreditWorthiness)                                   */
/********************************************************************************/
table.grayGrid {
	border-collapse: separate;
	border-spacing: 2px;
}

.grayGrid th {
	font-size: small;
	/*font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;*/
	color: var(--bs-white);
	background-color: var(--bs-primary); /*#5C74A9;*/
	font-weight: bold;
	text-align : left;
	padding: 3px 7px 3px 7px;
}

.grayGrid td {
	font-size: small;
	/*font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;*/
	background-color: var(--bs-gray-200); /*#efefef;*/
	padding: 3px 7px 3px 7px;
}

.grayGrid caption {
	color: inherit;
	font-weight: bold;
	text-align: left;
	font-size: medium;
	padding-bottom: 5px;
}
/********************************************************************************/

/* standardPanel                                                                */
/********************************************************************************/
table.standardPanel {
	border: 1px solid var(--bs-primary);
	border-collapse: collapse;
	background-color: var(--bs-gray-200);
}

table.standardPanel th.panelHeader {
	background-color: var(--bs-primary);
	color: var(--bs-white);
	font-weight: bold;
	text-align: left;
	padding: 5px 5px 5px 5px;
}

table.standardPanel td.panelContent {
	padding: 10px 20px 10px 20px;
}
/********************************************************************************/

/* framedPanel                                                                  */
/********************************************************************************/
.framedPanel {
	border: 2px solid var(--bs-gray-300);
}

.framedPanel-headline {
	background-color: var(--bs-gray-300);
	font-weight: bold;
	text-align: center;
	margin: 0px;
	padding: 3px;
}

table.framedPanel {
	border: 2px solid var(--bs-gray-300);
	padding: 2px;
}

table.framedPanel-dashed {
	border: 2px dashed var(--bs-gray-300);
	background-color: var(--bs-gray-100);
	padding: 2px;
}

table.framedPanel-dashed-danger {
	border: 2px dashed var(--bs-danger);
	background-color: var(--bs-gray-100);
	padding: 2px;
}

table.framedPanel th {
	background: var(--bs-gray-300);
	padding: 3px;
}

table.framedPanel td {
	padding: 3px 10px;
}

table.framedPanel-compact td {
	padding: 1px 10px;
}
/********************************************************************************/

/* datagrid                                                                     */
/********************************************************************************/

.datagrid {
	border-collapse: separate;
	border-spacing: 3px 0px;
	padding: 2px 5px;
	cursor: default;
}

table.datagrid td {
	padding: 2px 5px;
	font-size: 12px;
}

table.datagrid td.wordBreak {
	word-break: break-word;
}

/*
table.datagrid div {
	padding: 2px 5px;
	font-size: 12px;
}
*/

table.datagrid a {
	font-size: 12px;
	text-decoration: none;
	color: var(--bs-body-color);
}

table.datagrid th {
	text-align: center;
	font-weight: bold;
	padding: 2px 5px;
	font-size: 12px;
	white-space: nowrap;
	background-color: var(--bs-body-bg);
}

table.datagrid th.framed {
	text-align: center;
	font-weight: bold;
	padding: 3px;
	font-size: 12px;
	white-space: nowrap;
	background-color: var(--bs-gray-300);
}

table.datagrid tr {
	vertical-align: middle;
}

table.datagrid tr.white th {
	text-align: left;
	font-weight: bold;
	padding: 2px 5px;
	font-size: 12px;
	white-space: nowrap;
	background-color: var(--bs-primary);
	color: var(--bs-white);
}

table.datagrid {
	border-spacing: 3px 0px;
	padding: 2px 5px;
	font-size: 10px;
}

.datagrid>tbody>tr:nth-of-type(odd) {
	background-color: #eef0f7;
}

.datagrid>tbody>tr:nth-of-type(even) {
	background-color: #d1dceb;
}

table.datagrid tr.filterrow {
	background-color: var(--bs-body-bg);
}

table.datagrid tr.no-bg {
	background-color: var(--bs-body-bg);
}

table.datagrid tr.hilight {
	color: var(--bs-white);
	background-color: var(--bs-primary);
}

table.datagrid tr.hilight a {
	color: var(--bs-white);
	background-color: var(--bs-primary);
}

.datagrid>tbody>tr:nth-of-type(odd)[data-success="true"] {
	background-color: #c8ffb7;
}

.datagrid>tbody>tr:nth-of-type(even)[data-success="true"] {
	background-color: #dcffd2;
}

.datagrid>tbody>tr:nth-of-type(odd)[data-success="false"] {
	background-color: #ffd1ca;
}

.datagrid>tbody>tr:nth-of-type(even)[data-success="false"] {
	background-color: #ffd7d1;
}

table.datagrid td.transparent {
	background-color: var(--bs-body-bg);
}
/********************************************************************************/

/* searchResult                                                                 */
/********************************************************************************/

table.searchResult {
	border: 1px solid var(--bs-primary);
}

table.searchResult td, table.searchResult th {
	padding: 3px 15px 0px 15px;
	text-align: left;
}

table.searchResult th {
	color: white;
	background-color: var(--bs-primary);
	font-weight: bold;
}

table.searchResult th.customWidth1{
	min-width: 150px;
}

table.searchResult th.customWidth2{
	min-width: 140px;
}

table.searchResult th.customWidth3{
	min-width: 225px;
}
/********************************************************************************/

/* table related                                                                */
/********************************************************************************/

.formTable {
	border-collapse: separate;
	border: 0px;
	margin: 0px;
	border-spacing: 10px 2px;
}

.scrlTable {
	display: block;
	max-height: 200px;
	overflow-y: auto;
	overflow-x: hidden;
}

.overlayPanel {
	padding: 10px;
	margin: 10px;
	border: 2px solid var(--bs-primary);
	background-color: var(--bs-body-bg);
}

.overlayPanel td {
	white-space: nowrap;
}

table.overlayPanelWarning {
	border: 2px solid var(--bs-danger);
}

td.overlayPanelWarning {
	color: var(--bs-danger);
}
/********************************************************************************/

/* img
/********************************************************************************/
img {
	border: 0;
}

img.warning {
	border: 2px solid var(--bs-danger);
}
/********************************************************************************/

/* bars
/********************************************************************************/
.forecastBar {
	background-color: var(--bs-gray-600);
	width: 15px;
}
/********************************************************************************/

/* flex boxes                                                                   */
/********************************************************************************/
.centerFlex {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: flex-start;
	flex-grow: 1;
	gap: 10px;
}

.rowFlexStart {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	flex-grow: 1;
	gap: 10px;
}

.rowFlexEnd {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
	align-items: flex-start;
	flex-grow: 1;
	gap: 10px;
}

.rowSpaceBetween {
	display: flex;
	flex-flow: row nowrap;
	flex: 1 1 auto;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}

.rowCenterFill {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-evenly;
	align-items: center;
	flex: 1 1 auto;
	gap: 10px;
}

.colFlexStart {
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	flex-grow: 1;
	gap: 10px;
}

/********************************************************************************/

/* address overview, welcome page                                               */
/********************************************************************************/
a.addressOverview {
	font-weight: bold;
	color: #0000FF;
}

table.userInfo {
	margin-top: 10px;
	margin-left: 25px;
	width: 630px;
}

/* address iterator */
td.tableRowHeader {
	font-size: 11px;
	font-weight: bold;
	color: var(--bs-white);
	background-color: var(--bs-primary);
	padding: 5px 10px;
}

/********************************************************************************/

/* ItemDetails                                                                  */
/********************************************************************************/
tr.odd{
	background-color:#EFEFEF;
}
tr.even{
	background-color:#FFFFFF;
}

tr.clickable{
	cursor: pointer;
}

tr.clickable:hover{
	background-color:#D6D6D6;
}

tr.lineThrough {
	text-decoration: line-through !important;
}

/********************************************************************************/

/* BalanceSheetImport                                                           */
/********************************************************************************/
.dataGrid {
	width: 100%;
}

.dataGrid table {
	width: 100%;
}
		
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-window {
    background: #ffffff;
    padding: 24px 28px;
    min-width: 420px;
    border-radius: 8px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.popup-window h3 {
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.form-row label {
    margin-right: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.drop-zone {
    border: 2px dashed #999;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
}

.drop-zone.dragover {
    border-color: #007bff;
    background-color: #eef6ff;
}

.file-actions {
    display: flex;
    gap: 10px;
}

/********************************************************************************/
@media print {
	td {
		font-size: 11px;
	}
	th {
		font-size: 10px;
		font-weight: bold;
	}

	table.hideDuringPrint {
		display: none;
	}

	table.grayGrid {
		border: 1px solid black;
		with: 98%;
	}

	table.grayGrid td, table.collectionCaseStatistics td {
		font-size: 8pt;
	}

	table.grayGrid th {
		font-size: 8pt;
		font-weight: bold;
	}

	table.grayGrid a {
		font-size: 8pt;
	}
}
