H1 {
	BORDER-RIGHT: #000000 0px solid;
	PADDING-RIGHT: 0px;
	BORDER-TOP: #000000 0px solid;
	PADDING-LEFT: 0px;
	FONT-WEIGHT: bold;
	FONT-SIZE: 35px;
	PADDING-BOTTOM: 12px;
	MARGIN-top: 12px;
	BORDER-LEFT: #000000 0px solid;
	PADDING-TOP: 0px;
	BORDER-BOTTOM: #000000 0px solid;
	TEXT-ALIGN: center
}

H2 {
	FONT-WEIGHT: bold;
	FONT-SIZE: 21px;
	COLOR: #cb6a1f;
	LINE-HEIGHT: 28px;
}
H3 {
	FONT-WEIGHT: bold;
	FONT-SIZE: 16px;
	COLOR: #00796b;		/* teal dk2 */
}
H4 {
	FONT-WEIGHT: bold;
	FONT-SIZE: 16px;
	color: #cb6a1f;
}
H5 {
	FONT-WEIGHT: bold;
	FONT-SIZE: 16px;
	color: #009688
	margin: 0px;
	padding: 0px;
}
H6 {
	FONT-WEIGHT: bold;
	FONT-SIZE: 16px;
	COLOR: #656565;
	margin: 0px;
	padding: 0px;
}
A {
	cursor: pointer;
	font-weight: normal;
	color: #00bcd4;     /* cyan */
	TEXT-DECORATION: none;
	scroll-margin-top: 72px; /* href to name=a1 will compensate for fixed page header */
}

a:hover {	color: #009688 ;
	TEXT-DECORATION: none
}

BODY {
	FONT-SIZE: 16px;
	line-height:1.5;
	COLOR: #424242;
	/*FONT-FAMILY: Arial, Book Antiqua, Garamond, Bodonni;*/
	/*font-family: 'Inter', sans-serif;*/
	font-family: 'Segoe UI', sans-serif;
	width: inherit;
	margin-left:auto;
    margin-right:auto;
	background-color: white;
	font-weight:400;
}


table {
  border-collapse: collapse;
  width: 100%;
}
	
.tableFixHead thead{
	position: sticky;
	top: 0;
	color: #00695c; /* teal dk3 */
	background-color: #e0f2f1;  /* teal lt5 */
	text-align: left;
	z-index:1;
}
.tableFixHead td {
	text-align: left;
}
td, th {
	position: relative;
}
.tableFixHeadWrapper{
	overflow-y: auto;
	height: 100%;
}

.dpDn-BG{
	display:none;
	position: fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.4);
	z-index:1000;
}
.dpDn-content .tableFixHeadWrapper{
	display: none;
	position: absolute;
	top: 20px;
	left: -30px;
	max-height: 400px;
	width: 380px;
	background-color: white;
	padding: 2px;
	box-shadow: 10px 10px 5px grey;
	z-index:2;
	resize: both;
}
.tableFixHead {
/*  position: -webkit-sticky;
  position: sticky;*/
  position: relative;
  top: 0;
}
.dpDn-content th{
	font-size: 16px;
	padding: 3px 8px 3px 0;
	background-color: #009688; /* teal */
	color: white;
}
.tdDesc, .clkSrch, .tdDate, .clkView {
	max-width: 300px;
	overflow: hidden;
	cursor: pointer;
}

th {
	font-weight: normal;
	font-size: 12px;
	text-align: left;
}
td {
	color: #212121;
}
tr {
	border-bottom: 1px solid rgba(0,0,0,0.12);
}
tr:nth-child(even of tr.focusDiv) {
	background-color: #fafafa;
}
TABLE.catSummary tbody td{
	font-size:12px;	
}
.catSummary tbody .catTotal  td {
	color: #009688;
	font-weight: bold;
	font-size: 14px;
}
.catSummary tbody .subCatTotal  td {
	color: #424242;
/*	font-weight: bold;*/
	font-size: 14px;
}
.catSummary tbody .catAllTotal td {
	color: #424242;
	font-weight: bold;
}
.saveStatus{
	color: green;
	font-weight: bold;
}
i.check{
	color:green;
}
i.warn{
	color:red;
}
.boxConfirm{
	display: inline-block;
	border:1px solid darkgreen;
	padding: 5px 3px;
	margin: 15px 0px;
	background-color: #f9fbe7;  /* lime lt5 */
}
.boxConfirm>.accountName{
	color:green;
	font-weight: bold;
}
iframe.xtns{
	border: 2px solid #004d40;  /* teal dk4 */
}
iframe.xtns.floating{
	border: 3px solid grey;  
}
tr.noSave td {
	color: #757575 ;  /* grey dk1 */
}
.echoDesc{
	font-wieght: bold;
	word-wrap: break-word;
}

#ActionStatus{
	position: fixed; 
	top: 20px;
	right: 300px;
	width: 80px; 
	height: 30px;
	background-color: #f2f2f2;
	border: 1px solid gray;
	z-index: 2;
}
.hidden{
	visibility: hidden;
}
.popUp{
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0s;	
}
.fadeOut{
  visibility: hidden;
  opacity: 0;
  transition: visibility 4s, opacity 4s;	
}.fadeOutSlow{
  visibility: hidden;
  opacity: 0;
  transition: visibility 8s, opacity 8s;	
}
.icnDisabled{
	color: transparent; /*#9e9e9e;*/
}
.elemDisabled{
	background-color: #f2f2f2;
}
.elemBGGreen{
	background-color: #e6ffe6
}
.elemBGYellow{
	background-color: #ffffe6
}
.rowSelected{
	background-color: #ebf6f9;
}
.rowSelectedLast{
	border: 3px dotted red;
}
.ErrCurr {
	border: 3px solid red;	
}
.curr {
	font-size: 12px;
}
.ErrCurr .curr {
	color: red;	
	background-color: yellow;	
}
.RData, .XData, TR.RBAXData > TD > DIV {
	display:block;
	color: #673ab7   ; /* deep purple*/
	background-color: #ede7f6 ; /* deep purple lt5*/
	font-weight: bold;
	font-size: 13px;
	/*box-shadow: 1px 1px #f2f2f2;*/
	margin: 2px 0px 0px 0px;
	padding: 3px;
	border: 1px solid #43a047;  /* gren dk1 */
	border-radius: 4px;
}
.RData.pairConfirmed, .XData.pairConfirmed, TR.RBAXData.pairConfirmed > TD > DIV{
	color: #2e7d32  ; /* green dk3*/
	background-color: #e8f5e9  ; /* green lt5*/
	font-weight: normal;
	font-size: 12px;
}
TR.RBAXData {
	display:none;
}
TR.RBAXData.pairConfirmed > TD > DIV{
	display: block;
}
i.pairConfirmed{
	position: relative;
	top: 8px;
	cursor: pointer;
	margin-left: 3px;
}
.duplicate{
	background-color: #ffff8d!important; /* yellow Acc1*/
}
.view {
	display: inline-block;
	padding: 5px 12px;
	margin:1px;
	background-color: #e0f2f1;  /* teal lt5 */
	color: #009688;
	cursor: pointer;
}
.active{
	background-color: #009688;
	color: white;
}
.menuIcon {
	cursor: pointer;
	color: #424242;		/* grey dk3 */
	font-size: 19px;
	//background-color: black;
}

H2 a,H2 a:visited, H2 a:active, H2 a:hover{
	font-weight: bold;
	font-size:21px;
}
.bankXtnSrch {
	display: inline-block;
	border: 1px solid green;
	background-color: #e0f2f1; /* teal lt5 */
	border-radius: 15px 15px;
	padding: 0px 10px;
}
.bankXtnSrch span{
	padding: 0px 10px;
	margin:0px 5px;
}
.taxYearHdr, .ownerHdr {
	padding: 3px 10px;
}
.taxYearHdr span, .ownerHdr span{
	padding: 0px 10px;
}
.clear{
	position:absolute;
	top:0px;
	right:0px;
}
.descContainer{
	display:inline-block;
	position: relative;
	
}
.spBtwn{
	display: flex;
	justify-content: space-between;
}
	
.dpDn-wrapper, .popUp-wrapper {
	position: relative;
}
.dpDn-content{
    position: relative ;
    left: 50% ;
    top: 50% ;
    transform: translate(-50%, -50%) ;
    width: 90% ;
    max-width: 500px ;
    background-color: white;
    border-radius: 8px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.4), 1px 1px 1px rgba(0, 0, 0, 0.9);
}
.popUp-content{
	/*top: -56px;*/
	display:none;
	position: absolute;	
	left: -30px;
	width: 100%;
	/*width:300px;*/
	min-width: 130px;
	max-width: 200px;
	z-index: 10;
	background-color: white;
	border: 1px black solid;
	box-shadow: 5px 5px 2px grey;
	bottom: 22px;
}
.popUp-trigger{
	cursor: pointer;
}
.dpDn-content>div, .popUp-content>div {
	font-size: 16px;
	color: #00796b;  /* teal dk2 */
	padding: 7px 10px;
}
.dpDn-content>div:nth-child(1) {
	background-color: #009688; /* teal */
	color: white;
	font-weight: bold;
	border-bottom: 1px grey solid; 
}
.dpDn-content>div:nth-child(2), .dpDn-content>div:nth-child(3), .menuFreq {
	cursor: pointer;
}
.freq TD{
	color: #616161; /* grey dk 2 */
}
.dpDn-content .clk,.dpDn-content .noTag {
	cursor: pointer; 
}
.dpDn-content .clk:hover,.dpDn-content .noTag:hover {
	cursor: pointer; 
	background-color: #ff9800; /* orange */
	color: white;
}
.dpDn-content input[type="text"] {
    width: calc(100% - 16px);
    margin: 8px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.dpDn-content input[type="submit"],
.dpDn-content input[type="button"] {
    margin: 8px 8px 8px 0;
}
.dpDn-content > div:last-child {
    padding-bottom: 16px;
}


.lblColSrch{
	display: inline-block;
	color: #004d40;  /* teal dk4 */
	font-weight: bold;
	text-align: right;
	padding: 3px 6px;
	border: 1px solid #009688;
	background-color: white;
	border-radius: 5px;
}
.dayLabel{
	position:relative;
}
.lblMonth{
	display: inline-block;
	position: relative;
	width: 100%;
	font-size: 24px;
	font-weight: bold;
	color: white ;
	background-color: #009688; /* teal */
}
.tagIncome {
	display: inline-block;
	color: #004d40;  /* grey dk4 */
	font-weight: normal;
	text-align: center;
	padding: 3px 8px;
	border: 1px solid #009688;
	background-color: #e8f5e9;		/* green lt5 */
	border-radius: 12px;
	white-space: nowrap;
}
.tagExpense {
	display: inline-block;
	
	color: #212121;  /* grey dk4 */
	font-weight: normal;
	text-align: center;
	padding: 0px 3px;
	border: 1px solid #f57f17; 		/* yellow dk4 */
	background-color: #ffff8d;		/* yellow acc1 */
	border-radius: 0px 12px 12px 0px;
	white-space: nowrap;
}
.tagExpense div:nth-child(2) {
	color: red;  
	font-weight: bold;
}

.tagExpense.XData, .tagExpense.RData {	
	border-left: 3px #ea80fc solid;  
}
.tagExpense.taxYearExternal {	
	border-color: #ffe0b2;   /* orange lt4 */
	background-color: #fff59d;
	color: #757575;
}
.expense-wrapper{
	float:right;
}
.tagDividend {
	display: inline-block;
	color: #212121;  /* grey dk4 */
	font-weight: normal;
	text-align: center;
	padding: 0px 3px;
	border: 1px solid #e65100 ; 	/* orange dk4 */
	background-color: #ffd180 ;		/* orabge acc1 */
	border-radius: 0px 12px 12px 0px;
	white-space: nowrap;
}
.tagCurrConv {
	display: inline-block;
	color: #90a4ae;  /* blue grey lt2 */
	font-weight: normal;
	text-align: center;
	padding: 0px 3px;
	border: 1px solid #ffd180; 	/* orange acc1 */
	background-color: white ;		/* orabge lt-5 */
	border-radius: 0px 12px 12px 0px;
	font-size: 12px;
	white-space: nowrap;
}
.tagTag {
	display: inline-block;
	color: #424242;  /* grey dk3 */
	font-weight: normal;
	text-align: center;
	padding: 0px 3px;
	border: 1px solid #e0e0e0;		/* grey lt2 */
	background-color: white;		/* grey lt2 */
	border-radius: 0px;
	box-shadow: 1px 1px 1px grey;
	white-space: nowrap;
}
.dateOutRange{
	background-color: #ffff00;		/* yellow Acc2 */
}
.exTaxYear {
	font-size:12px;
	color: #757575; /* grey dk */
	float:left;
}

.topR {
	font-size: 18px;
	position: relative;
	top:-6px;
	right:9px;
}
.topR:hover, .tdNote:hover, .clearTxtInput:hover {
	cursor: pointer;
}
.tdNote {
	min-width: 100px;
	min-height: 22px;
	height:100%;
	background-color: #eceff1; /* blue grey lt5 */
	border-bottom: 1px solid grey;
}
.receiptConfirmed{
	color: #4caf50 ; /* green */
	background-color: #e8f5e9 ; /* green lt5 */
	padding: 0px 0px;
}
.receiptConfirmedNot{
	color: #9e9e9e   ; /* grey */
	background-color: transparent ; 
	padding: 0px 0px;
}
.xrefLink{
	display: inline-block;
	color: #212121;  /* grey dk4 */
	font-weight: normal;
	padding: 2px 10px;
	border: 1px solid #f57f17; 		/* yellow dk4 */
	background-color: #ffff8d;		/* yellow acc1 */
	border-radius: 12px;
}

/* Calendar start */
table.calendar td th {
  border: 1px solid black;
}

table.calendar  {
  border-collapse: collapse;
}

table.calendar td {
	position: relative;
	font-size: 14px;
	width: 14.3%;
	height: 100px;
	vertical-align: top;
}
.calendarItem {
	/*display: flex;
	justify-content: space-between;*/
	border: 1px solid #009688;
	background-color: #e8f5e9;		/* green lt5 */
}
.calendarItem .desc{
	display: inline-block;
	max-width: 63px;
	white-space: nowrap;
	overflow: hidden;
	border: 0px grey solid;
}
.calendarItem .amount{
	display: inline-block;
	white-space: nowrap;
	border: 0px grey solid;
	border-radius: 5px;
}
.calendarEvent {
	border: 1px solid #fff3e0;		/* orange dk4 */
	background-color: #fff3e0;		/* orange dk1 */
	color: #212121;
}
.dayLabel{
	text-align: center;
	margin: auto;
	width: 100%;
	padding: 0px;
}

.tableFixHead.viewer {
	overflow-y: auto;
	height: calc( 100vh - 70px);
}

.calendar thead, .calendar th{
	position: sticky;
	top: 0;
	color: gray; /* teal dk3 */
	background-color: white;  /* teal lt5 */
	text-align: center;
	z-index:1;
	font-size: 14px;
}

.floating-month {
	position: sticky;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 150, 136, 0.75);
	color: rgba(255, 255, 255, 0.9);
	padding: 8px 16px;
	text-align: center;
	font-weight: bold;
	border-radius: 4px;
	z-index: 100;
	display: none;
	pointer-events: none;
	width: fit-content;
	margin: 8px auto;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(4px);
}

.dayLabel {
    position: relative;
    cursor: pointer;
}

.dayLabel .add-icon {
    display: none;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
}

.dayLabel:hover .add-icon {
    display: block;
}

.dayLabel .add-icon:hover {
    color: #000;
}

.calendarEvent {
    background-color: #eceff1;
    color: #455a64;
    padding: 2px 4px;
    margin: 2px 0;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    border-left: 3px solid #78909c;
}

.calendarEvent:hover {
    background-color: #cfd8dc;
}

.calendar-items-container {
    /*max-height: 250px;
    overflow-y: auto;*/
}

.calendar-items-container::-webkit-scrollbar {
    width: 4px;
}

.calendar-items-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 2px;
}

.calendar-items-container::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.3);
    border-radius: 2px;
}

.calendar-items-container::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 85, 85, 0.5);
}

.calendarItem {
    margin: 0 0 2px 0;
    font-size: 0.9em;
    padding: 4px;
    border-radius: 3px;
    max-width: 100%;
    overflow: visible;
}

.calendarItem > div {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.calendarItem > div > div {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.calendarItem span {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.calendarItem .tagExpense {
    flex-shrink: 0;
    white-space: nowrap;
}

.calendarItem .material-icons {
    flex-shrink: 0;
}

.calendar td {
    max-width: 50px;
    min-width: 120px;
    width: 14.3%;
    vertical-align: top;
    padding: 2px;
    position: relative;
}

/* Add Monday divider */
.calendar td:nth-child(2)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0));
    pointer-events: none;
}

/* Add Friday divider */
.calendar td:nth-child(6)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to left, rgba(0,0,0,0.1), rgba(0,0,0,0));
    pointer-events: none;
}

/* Add hover effect to make dividers more visible */
.calendar:hover td:nth-child(2)::before {
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0));
}

.calendar:hover td:nth-child(6)::after {
    background: linear-gradient(to left, rgba(0,0,0,0.2), rgba(0,0,0,0));
}

.calendarItem.bank-transaction {
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
}

.calendarItem.receipt {
    background-color: #e8f5e9;
    border-left: 3px solid #4caf50;
}

.calendarItem.manual-transaction {
    background-color: #fff3e0;
    border-left: 3px solid #ff9800;
}

.calendarItem.plot-tag {
    border-right: 3px solid #9c27b0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.calendarItem.plot-tag.bank-transaction {
    background: linear-gradient(to right, #e3f2fd, #f3e5f5);
}

.calendarItem.plot-tag.receipt {
    background: linear-gradient(to right, #e8f5e9, #f3e5f5);
}

.calendarItem.plot-tag.manual-transaction {
    background: linear-gradient(to right, #fff3e0, #f3e5f5);
}

.calendarItem:hover {
    opacity: 0.9;
}

.calendarItem .tagExpense {
    font-size: 0.8em;
}

.tagExpense div {
    display: inline-block;
    margin-right: 4px;
}

.bank-account-popup {
    background: white;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 0.9em;
    max-width: 200px;
}

.bank-account-popup a {
    color: #2196f3;
    text-decoration: none;
    cursor: pointer;
}

.bank-account-popup a:hover {
    text-decoration: underline;
}

.calendarItem.bank-transaction {
    position: relative;
    cursor: pointer;
}

/* Add isolation to popup container */
.popup-container {
    isolation: isolate;
    position: relative;
    z-index: 1000;
}
.popup-info{
	color:gray;
}
/* End of Calendar styles */

.tagAmntWrn{
	background-color: #fff8e1!important;		/*  amber lt5 */
}
.dupRow, .dupRow TD{
	background-color: #ffebee!important;		/*  red lt5 */
	color: #757575!important;		/* grey dk1 */
}


/* add Dan to avoid collision with bootstrap tooltip */
.tooltipDan {
	position: absolute;
	display: inline-block;
	background-color: black;
	color: white;
	bottom: -18px;
	right: -80px;
	left: -80px;
	bottom:48px;
	font-size: 14px;
	padding: 5px;
	margin:0 auto;
	z-index:11;
}
.tooltipped{
	position: static;
}

.tooltip {
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  top:-40px;
  right:20px;
  z-index: 1;
}
.left .tooltip .tooltiptext {
  right:200px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}


.clearTxtInput{
	position: relative;
	left: -12px;
}

.subtle-btn{
	display:inline-block;
	cursor: pointer;
	height: 36px;
	line-height:36px;
	vertical-align: bottom;
	margin:0 4px;
}
.subtle-btn:hover{
	background-color:#e0e0e0;
}
.subtle-btn i {
	height: 28px;
	line-height:28px;
	vertical-align:middle;
}

form[name="BankAccountAdd"] table {
    width: 100%;
    border-collapse: collapse;
}

form[name="BankAccountAdd"] td {
    padding: 10px;
    vertical-align: middle;
}

form[name="BankAccountAdd"] input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"], button[type="submit"], .btnGo {
    background-color: #009688; /* teal */
    color: white;
	margin:2px;
    border: 1px solid #757575;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.lnkDelete{
	cursor: pointer;
	font-size:14px;
	color:red;
}

.error-message {
    color: #d32f2f; /* red */
    font-weight: bold;
    margin-top: 10px;
}
.lblErr{
	font-weight:bold;
	color:red!important;
}
.recViewer-container {
	position: fixed; /* Use fixed positioning to keep it within the viewport */
	top: 50px; /* Adjust as needed */
	left: 0; /* Align to the left */
	width: 300px; /* Initial width */
	height: 400px; /* Initial height */
	max-width: 90vw; /* Maximum width as a percentage of the viewport width */
	max-height: 100vh; /* Maximum height as a percentage of the viewport height */
	background-color: white;
	border: 1px solid #ccc;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	z-index: 100; /* Ensure it appears above other elements */
	resize: both; /* Allow resizing */
	overflow: auto; /* Add scrollbars if content overflows */
}

.split-view .recViewer-container {
	top: 0px
}

.recViewer-container .close {
	position: absolute;
	top: 5px;
	right: 5px;
	cursor: pointer;
}

.recViewer-container iframe {
	width: 100%;
	height: calc(100% - 30px); /* Adjust height to account for close button */
	border: none;
}

.pdfContainer {
	display:block;
	top: 20px;
	left: 30px;
	width: 630px; 
	height: 600px; 
	overflow: auto;
}


a.delLink {
	padding:4px 12px;
	color:red;
	FONT-WEIGHT: normal;
	margin: 4px 8px;
	vertical-align: middle;
	border-radius:4px;
}
a.delLink:hover {
	color: white;
	background-color:red;
}

.featherlight-content iframe {
	width: calc(100vw - 80px);
	max-width: 500px;
	height: calc(100vh - 80px);
	max-height:600px;
}

/* Modal container */
.modal {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(128, 128, 128, 0.8); /* gray with opacity */
}

/* Modal content */
.modal-content {
	position: relative;
	margin: 40px auto;
	padding: 0;
	width: 80%;
	max-width:800px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.parse.modal-content {
	width: 90%;
	max-width:inherit;
}

/* Close button */
.modal-close {
	position: absolute;
	top: 10px;
	right: 20px;
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

/* Iframe */
.modal-content iframe {
	width: 100%;
	height: 500px;
	border: none;
	padding:8px;
}

.parse.modal-content iframe {
	height: 90vh;
}
/* End Modal */		


/* ShowSelectListH */
.selH-wrapper {
	position: relative;
	font-family: Arial, sans-serif;
}

/* Header styles */
.selH-header {
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 8px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	background: white;
}

/* Dropdown styles */
.selH-dropdown {
	position: absolute;
	width: 100%;
	background: white;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 4px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	z-index: 1000;
}

/* Search container */
.search-container {
	position: relative;
	display: flex;
	align-items: center;
	padding: 8px;
	border-bottom: 1px solid #eee;
}

.cat-search {
	width: 100%;
	padding: 8px 30px 8px 8px; /* Combined padding */
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

/* Clear icon */
.clear-icon {
	position: absolute;
	right: 12px;
	cursor: pointer;
	color: #999;
	font-size: 18px;
	font-weight: bold;
	padding: 0 8px;
	user-select: none;
}

.clear-icon:hover {
	color: #666;
}

/* Select container and items */
.selH-container {
	position: relative;
	overflow-y: auto;
	border-bottom: 1px solid #eee;
}

.custom-select {
	border: 1px solid #ccc;
	border-radius: 4px;
	height: 300px;
	max-height: 300px;
	overflow-y: scroll;
}

.selH-items {
	padding: 8px 0;
}

.selH-items option {
	display: none;
}

/* Item styles */
.selH-item {
	padding: 8px 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	font-weight: normal;
	color: #424242;
}

.selH-item:hover {
	background-color: #f0f0f0;
}

.selH-item.selected {
	background-color: #e0e0e0;
}

/* Level-specific styles */
.selH-item[data-level="0"] {
	font-weight: bold;
	color: #495057;
}

.selH-item[data-level="1"] {
	color: #495057;
}

.selH-item[data-level="2"],
.selH-item[data-level="5"] {
	color: brown;
}

.selH-item[data-level="3"] {
	color: green;
}

.selH-item[data-level="4"] {
	color: #495057;
}

/* Icons */
.expand-icon {
	cursor: pointer;
	margin-right: 8px;
	transition: transform 0.2s;
	font-size: 16px;
}

.collapsed .expand-icon {
	transform: rotate(-90deg);
}

.dropdown-icon {
	font-size: 20px;
	color: #666;
}

/* Edit link */
.selH-item > a.edit {
	margin-left: auto;
}

.selH-item > a.edit > .material-icons {
	font-size: 18px;
}

/* Footer */
.selH-footer {
	padding: 8px;
	background: #f9f9f9;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.footer-link {
	text-decoration: none;
	padding: 4px 8px;
}

.footer-link:hover {
	text-decoration: underline;
}
/* ShowSelectListH */



