/*fix for font family in common.css is getting overridden by the one in default.css :: starts*/
body {
    font-family: Manrope,Avenir,Arial,sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Manrope,Avenir,Arial,sans-serif !important;
}
/*fix for font family in common.css is getting overridden by the one in default.css :: ends*/
/*in the new UI bundle, that is created on 14 Nov 2024, it will be moved to common.css */
/* for the selected member / selected client / selected sponsor / selected broker setcion :: starts */
.selectedMember {
    /*font-size: 13px;*/
    font-size: 0.8125rem;
}

.selectedMember span {
    padding-right: 8px;
    border-right: 1px solid #231f20;
    line-height: 12px;
    margin-right: 5px;
    display: inline-block;
}

.selectedMember span:last-child {
    border: 0;
    padding: 0;
    margin: 0;
}

@media (max-width: 991.98px) {
    .selectedMember span {
        padding-right: 0;
        border-right: 0;
        line-height: 1.4;
        margin-right: 0;
        display: block;
        padding-bottom: 5px;
    }
}
/* for the selected member / selected client / selected sponsor / selected broker setcion :: ends */
/* fix for the scenario of getting the text of [selected member / selected client / selected sponsor / selected broker setcio] on top of the logo when the menu is of single line :: starts */
/*.BuckMainMenuUL {
    min-height: 48px;
}*/
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        /* min-height: 48px; */
        align-items: end;
    }
}
/* fix for the scenario of getting the text of [selected member / selected client / selected sponsor / selected broker setcio] on top of the logo when the menu is of single line :: ends */
/* fix for the 4th level menu :: starts */
.admin-submenu .megamenu.dropdown-menu .dropdown-menu.dropleft .dropdown-menu {
    right: inherit !important;
    left: 100% !important;
}
/* fix for the 4th level menu :: ends */

/* UI fix for select member popup :: starts */
/*start- table styling for select member popup to avoid footer classes*/
#selectModal, #selectSponsorModal, #selectBrokerModal, #selectclientdiv {
    color: var(--bs-body-color);
    text-align: start;
}
#selectModal a.btn.btn-secondary, #selectSponsorModal a.btn.btn-secondary, #selectBrokerModal a.btn.btn-secondary {
	color: #006eb3;
}
#selectModal .paginate_button.disabled, #selectSponsorModal .paginate_button.disabled, #selectBrokerModal .paginate_button.disabled, #selectClientModal .paginate_button.disabled{
    pointer-events: none;
    color: gray !important;
    text-decoration: none;
}
/*end- table styling for select member popup to avoid footer classes*/
/* UI fix for select member popup :: ends */
/*start- Autologout*/
.ui-AutoTimeout .ui-widget-header {
    border: none !important;
    background: none !important;
}
.ui-AutoTimeout {
    border: 0.5px solid #7f7f7f !important;
    border-radius: 0px !important;
    padding: 0px !important;
    font-family: Manrope, Avenir, Arial, sans-serif !important;
}
.ui-AutoTimeout #timeout-dialog {
    background-image: none !important;
    padding:0px;
}
#timeout-message, #timeout-question {
    padding-left: 0px !important;
}
.ui-AutoTimeout .ui-dialog-buttonpane {
    padding: 1rem 1.5rem !important;
    border-top: 3px solid #dcdddd !important;
    margin:0 !important;
}
.ui-AutoTimeout .ui-dialog-buttonset{
    float:none !important;
}
.ui-AutoTimeout .ui-dialog-title {
    font-size: 1.25rem !important;
    font-weight: 800;
    font-family: Manrope, Avenir, Arial, sans-serif;
}
.ui-AutoTimeout .ui-dialog-content {
    padding: 1rem 1.5rem !important;
}
.ui-AutoTimeout p{
    margin:0px !important;
}
/*end- Autologout*/


.drop-zone-without-border {
    border: none !important;
}
.SSOError {
    margin-bottom: 0;
    font-size: 0.875rem !important;
}

.print-only {
    display: none;
}

/* Show the div only during printing */
@media print {
    .print-only {
        display: block;
    }
}

.UnderlineATag:hover {
    text-decoration: underline !important;
}

/* InterFundTransfer*/
#divInterFundTransfer .page p {
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    color: #4d4d4d;
}
#divInterFundTransfer table td, table th {
    border-color: #ddd;
    /*padding: 10px 5px;*/
}
#divInterFundTransfer table.customTable.type3 tbody td {
    font-size: 1rem;
}
/* InterFundTransfer*/

/* IncomeInvestAllocation*/
#divIncomeInvestmentAllocation .marginDiv {
    margin-bottom: 16px !important;
}
/* IncomeInvestAllocation*/

/* Payment Detail */
.PDAcustom-no-data-error {
    display: block;
    position: relative;
    font-weight: 500;
    padding-left: 30px;
}

.PDAcustom-no-data-error::before {
    content: '\f06a' !important;
    font-family: 'Font Awesome 6 Pro' !important;
    color: var(--bs-link-color);
    position: absolute;
    left: 0;
    font-weight: 400;
    transform: scale(1.5);
    rotate: 180deg;
}
/* Payment Detail */

/* DetailContribution */
.download-remitance table.customTable th:first-child {

padding-left: 0;

}

/* DownloadRemittance */
.DownloadRemitancePrint .RedFont {
    color: #dc3545 !important;
}
.DownloadRemitancePrint table.customTable th:last-child {
    text-align: end !important;
}
.DownloadRemitancePrint #dvLoading {
        
        height: 100px;
        width: 100px;
        z-index: 1000;
        left: 50%;
        top: 50%;
        position: fixed;
        margin: -25px 0 0 -25px;
    }
    
    .DownloadRemitancePrint .footertd {
        padding-left: 0px !important;
        padding-right: 0px !important;
        border: none !important;
        border-bottom: 0px !important;
        background-color: #f6f5f0 !important;
         border-bottom: 1px solid #cdd4e5 !important; 
        line-height: 14.3167px !important;
        font-size: 75%;
    }
    .DownloadRemitancePrint tr.footertd td{
        font-weight:600!important;

    }
        .DownloadRemitancePrint tr.footertd td:not(:first-child) {
            text-align:right!important;
        }
            .DownloadRemitancePrint tr.footertd td:first-child{
            padding-left:0.5rem!important;
        }
    .DownloadRemitancePrint .modal_footer {
    padding: 1rem 1.5rem;
    border-top: 3px solid #dcdddd !important;
    }

/* FundLinks */
.fund-facts .modalBackground {
            background-color:silver !important;
            opacity:0.7 !important;
        } 
.fund-facts #dvLoading {        
        height: 130px;
        width: 130px;
        z-index: 1000;
        left: 50%;
        top: 50%;
        position: fixed;
        margin: -25px 0 0 -25px;
    }
.selectmodal-backdrop{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background-color:rgba(0,0,0,0.5);
}

/* --- ViewMyActivity Filters styles ---*/
.ViewActivityHeader {
    background-color: #f7f5f5 !important;
    color: #000;
    font-weight: 500;
    padding: 8px 12px;
}
.vmabottomfix{
    margin-bottom: 41px;
}
.vmaPlnName{
    border-bottom-width:0px;
}

.vmaNotInScreen {
    display: none;
}
/* bug fix for 0116767*/
#tblData.vmAFilterOuter > thead > tr:first-of-type > th#planName.vmaPlnName {
	border-bottom-width: 0px;
}

/* mat calendar fix for Activity Filter*/
#vmAfilterFromDtDv .mat-mdc-form-field-infix, #vmAfilterToDtDv .mat-mdc-form-field-infix {
    padding: 0px !important;
}

/* --- ViewMyActivity Filters styles ---*/

.DC_BeneficiaryInformaltion.customTable.type4 tbody td:first-child {
    font-weight: 600;
    padding: 12px !important;
}

/* --- FRSDoc styles ---*/
#frsDocUlDocType,#frsDocUlNumDoc,#frsDocUlSortBy{
z-index:100;
}
/* mat calendar fix for FRSDoc Management module*/
#dvFRSToDateDiv .mat-mdc-form-field-infix, #dvFRSFromDateDiv .mat-mdc-form-field-infix {
    padding: 0px !important;
}
#dvFRSFromDateDiv .mat-mdc-form-field-icon-suffix, #dvFRSToDateDiv .mat-mdc-form-field-icon-suffix {
    background: white;
}
.FRSDocDtBackGround {
    background: white !important;
}

/* Fix for 117633: CCDC IST Browser - Reports and statement(En/FR)_Page alignment issue*/
#divFrsFormBox input::placeholder {
    color: #a9a9a9; 
}
/* Fix For - 000084823: QA : spinning wheel is not in center of the page*/
.frsSearchBtnLoaderFix {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 500px;
    left: 50%;
    z-index: 1000;
}

/* bug fix117627: CCDC IST Accessibility - Reports and statement_border stylen*/
/* it is fixed in calendar by ui team
#divFrsFormBox div.mat-mdc-form-field-icon-suffix:hover {
    border: 1px solid #0d6efd;
}*/
/* --- FRSDoc styles ---*/  

/* 000078733: BAT: 70623 - CUMIIS Select member to switch right away same as CLIC */
/* add the bottom border for the last LI too in the [memberBox] dropdown */
/* starts */
.admin .memberBox ul li:last-child {
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}
/* ends */

/* start Reminders module */
@media (min-width: 992px) {
   [lang="fr-CA"] .remainderWrapper .remainderCol {
        padding-right: 210px;
    }
}
/* End Remimnders module */
/* breadcrumb flickering issue fix :: starts */
.outerWrapper {
  visibility: hidden;
}
.outerWrapper.ready {
  visibility: visible;
}
/* breadcrumb flickering issue fix :: ends */
#dnn_ContentPane {min-height: 400px;}
/* Scaling late issue*/
#dnn-loading-overlay .dnn-loading-image {
    visibility: hidden;
}
/*Empty height fix*/
.readyBox ~ #dnn_ContentPane {
min-height: auto;
}
/*French fix*/
.outerWrapper.ready ~ #dnn_ContentPane {
  min-height: auto !important;
}
/*Css added for CR 85861*/
#LoadPdf #DownloadLink{margin-left:auto;margin-right:10px}
#LoadPdf #btnClosePopup{margin-left:0}
/*Notification Icon fix*/
.topIconLinks ul li a.navRightIcon i#reminderRedicon{
width: auto;
height: auto;
}
/*Download-Template-or-Submit-Online Modal Form*/
/* OK button - default */
.selectModal #btnConfirm {
    color: #ffffff !important;
}
.selectModal #btnConfirm.visited {
    color: #ffffff !important;
}

/* OK button - hover */
.selectModal #btnConfirm:hover,.selectModal #btnConfirm.visited:hover {
    color: #006eb3 !important; 
}
/* Cancel button - default */
.selectModal #btnCancel {
    color: #006eb3 !important;
}

/* Cancel button - hover */
.selectModal #btnCancel:hover {
    color: #ffffff !important;
}
/*French width - Payment, transfer or withdrawal details*/
#PDAmaindivwrap table thead th:first-child {
	min-width: 85px;
    max-width: 85px;
}
a#btnSuccessOk{
	color:#ffffff !important;
}
a#btnSuccessOk:visited {
    color: #ffffff !important;
}
a#btnSuccessOk:hover{
	color:#006eb3 !important;
}

/* 000058668: CLIC modernize portal - Reminders */

#divReminderBox {
    border-radius: 0px;
}

#divReminderBox .remainText {
     font-size: 14px;
     line-height: 20px;
 }

#divReminderBox .remainText span{
        color: #2e6b8a !important;
    }
#divReminderBox h2 {
        font-size: 14px;
        line-height: 20px;
}

.menuwrapper a.navbar-brand:visited, .menuwrapper a.navbar-brand:focus, .menuwrapper a.navbar-brand:focus-visible {
    outline-width: 1px !important;
}

/* ends 000058668: CLIC modernize portal - Reminders */
/*mantis - 88030*/
@media print {
     .deleteCol .deleteBtn{display:none!important;}
	 .deactivateBtn.deleteBtn{display:none!important;}
	 .firmSponser #tblRelations {
        width: 100% !important;
        table-layout: fixed !important;
        border: none !important;
    }

    .firmSponser #tblRelations tbody tr {
        page-break-inside: avoid !important;
        border-bottom: 1px solid #eee !important;
    }
	
	.firmSponser #tblRelations th,
    .firmSponser #tblRelations td {
        padding: 6px 4px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: 12px !important;
        vertical-align: top !important;
        border: none !important;
    }

    .firmSponser #tblRelations td {
        padding: 6px 4px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: 16px !important;
        vertical-align: top !important;
        border: none !important;
    }

   
    .firmSponser #tblRelations th:nth-child(1),
    .firmSponser #tblRelations td:nth-child(1) {
        width: 25% !important; 
    }

    .firmSponser #tblRelations th:nth-child(2),
    .firmSponser #tblRelations td:nth-child(2) {
        width: 30% !important; 
    }

    .firmSponser #tblRelations th:nth-child(3),
    .firmSponser #tblRelations td:nth-child(3) {
        width: 12% !important; 
    }

    .firmSponser #tblRelations th:nth-child(4),
    .firmSponser #tblRelations td:nth-child(4) {
        width: 18% !important; 
    }

    .firmSponser #tblRelations th:nth-child(5),
    .firmSponser #tblRelations td:nth-child(5) {
        width: 15% !important; 
    }

   
    .firmSponser #tblRelations .form-group {
        width: 100% !important;
        margin: 0 !important;
    }

    .firmSponser #tblRelations .form-control,
    .firmSponser #tblRelations .form-select {
        font-size: 16px !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

   
    .firmSponser #tblRelations p,
    .firmSponser #tblRelations label,
    .firmSponser #tblRelations span {
        font-size: 16px !important;
    }

    .firmSponser #tblRelations td:nth-child(3) .statuslabel {
        margin: 0 !important;
    }

    .firmSponser #tblRelations td:nth-child(5) .col-form-label {
        padding: 0 !important;
    }

    .firmSponser .table-responsive-lg {
        overflow: visible !important;
    }

    
    .firmSponser #tblSponsors {
        width: 100% !important;
        border: none !important;
        table-layout: fixed !important;
    }

    .firmSponser #tblSponsors tbody tr {
        border-bottom: 1px solid #eee !important;
        page-break-inside: avoid !important;
    }

    .firmSponser #tblSponsors td {
        font-size: 16px !important;
        padding: 6px 4px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        border: none !important;
        vertical-align: top !important;
    }

    .firmSponser #tblSponsors td[headers="thclient"] {
        width: 15% !important;
    }

    .firmSponser #tblSponsors td[headers="thsponsorname"] {
        width: 25% !important;
    }

    .firmSponser #tblSponsors td[headers="thplan"] {
        width: 30% !important;
    }

    .firmSponser #tblSponsors td[headers="thstatus"] {
        width: 12% !important;
    }

    .firmSponser #tblSponsors td[headers="thdate"] {
        width: 18% !important;
    }

    .firmSponser #tblSponsors td[headers="thactionn"] {
        width: 10% !important;
    }

    .firmSponser #tblSponsors .form-group {
        width: 100% !important;
        margin: 0 !important;
    }

    .firmSponser #tblSponsors select,
    .firmSponser #tblSponsors input {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        font-size: 16px !important;
        width: 100% !important;
    }

    .firmSponser #tblSponsors p,
    .firmSponser #tblSponsors label,
    .firmSponser #tblSponsors span {
        font-size: 16px !important;
    }

    .firmSponser #tblSponsors .sponsorDeactivatebuttondiv {
        display: none !important;
    }

    .firmSponser .table-responsive-md {
        overflow: visible !important;
    }
	
	.firmSponser #tblSponsors .dateCol input{
		 margin-top: 1px !important;
		  padding-top: 0 !important;
	}
	.firmSponser #tblSponsors .SponsorStatuslabel{
		 margin-top: 2px !important;
		  padding-top: 0 !important;
	}		

   
    #firmdetails .accordion-item,
    #firmdetails .accordion-button,
    #borkerdeatails .accordion-item,
    #borkerdeatails .accordion-button {
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
    } 
	#borkerdeatails .form-group.row.ng-hide,
	#borkerdeatails #dvOverSight {
    display: none !important;
   }

  #borkerdeatails #dvAgentNumber {
    display: none !important;
  }

  #borkerdeatails .accordion-body .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  #borkerdeatails .accordion-body .col-md-6 {
    display: block !important;
    width: 100% !important;
  }

  #borkerdeatails .accordion-body .col-md-6.pl-lg-5 {
    padding-left: 0 !important;
  }
  
  /* First row (Status & Role with nested divs) - display on same line */
  #borkerdeatails .accordion-body .col-md-6:first-child > .form-group.row:first-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    /*margin-bottom: 12px !important;*/
    align-items: baseline !important;
  }
  
  #borkerdeatails .accordion-body .col-md-6:first-child > .form-group.row:first-child > div {
    display: flex !important;
    gap: 10px !important;
    align-items: baseline !important;
  }
  #borkerdeatails .accordion-body .col-md-6:first-child > .form-group.row:first-child label {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }
  #borkerdeatails .accordion-body .col-md-6:first-child > .form-group.row:first-child span {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }
  
  #borkerdeatails .form-group.row {
    display: grid !important;
   /* grid-template-columns: 130px 1fr !important;*/
    gap: 10px !important;
    /*margin-bottom: 8px !important;*/
    page-break-inside: avoid !important;
    align-items: baseline !important;
  }

  #borkerdeatails .form-group.row label {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  #borkerdeatails .form-group.row input,
  #borkerdeatails .form-group.row select,
  #borkerdeatails .form-group.row span {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    height: auto !important;
  }

  #borkerdeatails .col-form-label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  #borkerdeatails .d-flex {
    display: flex !important;
    gap: 5px !important;
    align-items: baseline !important;
  }
  #borkerdeatails .form-group.row:first-of-type {
  display: flex !important;
  gap: 20px !important;
  grid-template-columns: unset !important;
  align-items: baseline !important;
}
	#borkerdeatails .form-group.row:first-of-type > div {
	 display: flex !important;
	 gap: 5px !important;
	 align-items: baseline !important;
	 padding: 0;
	}
	#borkerdeatails .form-group.row:first-of-type label {
	  margin-right: 5px !important;
	}
	/* ===== FINANCIAL INSTITUTION - 2 column layout with proper spacing ===== */
#brokerbanking .accordion-body .row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
}

#brokerbanking .accordion-body .col-md-6 {
  display: block !important;
  width: 100% !important;
}

#brokerbanking .accordion-body .col-md-6.pl-lg-5 {
  padding-left: 0 !important;
}

/* Left column - Finance Institution Name & Number */
#brokerbanking .accordion-body .col-md-6:first-child > .form-group.row {
  display: grid !important;
  grid-template-columns: 180px 1fr !important;  /* Fixed label width */
  gap: 15px !important;
  margin-bottom: 8px !important;
  align-items: baseline !important;
}

#brokerbanking .accordion-body .col-md-6:first-child > .form-group.row label {
  font-weight: bold !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  font-size: 16px !important;
}

#brokerbanking .accordion-body .col-md-6:first-child > .form-group.row > div {
  display: block !important;
}

#brokerbanking .accordion-body .col-md-6:first-child > .form-group.row select,
#brokerbanking .accordion-body .col-md-6:first-child > .form-group.row input {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  height: auto !important;
  width: 100% !important;
  font-size: 16px !important;
}

/* Right column - Transit # & Account # */
#brokerbanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row {
  display: grid !important;
  grid-template-columns: 120px 1fr !important;  /* Fixed label width */
  gap: 15px !important;
  margin-bottom: 8px !important;
  align-items: baseline !important;
}

#brokerbanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row label {
  font-weight: bold !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  font-size: 16px !important;
}

#brokerbanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row > div {
  display: block !important;
}

#brokerbanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row input {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  height: auto !important;
  width: 100% !important;
  font-size: 16px !important;
}
/*firm*/


  /* ===== ACCORDION BORDERS ===== */
  #firmdetails .accordion-item,
  #firmdetails .accordion-button,
  #borkerdeatails .accordion-item,
  #borkerdeatails .accordion-button {
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
  }

  /* Hide buttons in print */
  .btnActions {
    display: none !important;
  }

  /* ===== GENERAL SECTION ===== */
  #firmGeneral .accordion-body .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  #firmGeneral .accordion-body .col-md-6,
  #firmGeneral .accordion-body .col-lg-6 {
    display: block !important;
    width: 100% !important;
  }

  #firmGeneral .accordion-body .col-lg-6.pl-lg-5 {
    padding-left: 0 !important;
  }

  /* Left column - form fields */
  #firmGeneral .accordion-body .col-md-6:first-child > .form-group.row {
    display: grid !important;
    grid-template-columns: 130px 1fr !important;
    gap: 10px !important;
   /* margin-bottom: 8px !important;*/
    page-break-inside: avoid !important;
    align-items: baseline !important;
  }

  #firmGeneral .accordion-body .col-md-6:first-child > .form-group.row label {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  #firmGeneral .accordion-body .col-md-6:first-child > .form-group.row > div {
    display: block !important;
  }

  #firmGeneral .accordion-body .col-md-6:first-child > .form-group.row input,
  #firmGeneral .accordion-body .col-md-6:first-child > .form-group.row select {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    height: auto !important;
    width: 100% !important;
  }

  /* Right column - Org Type + Status/Dates side by side */
  #firmGeneral .accordion-body .col-lg-6 > .form-group.row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
   /* margin-bottom: 8px !important;*/
    align-items: start !important;
  }

  /* Org Type radio buttons */
  #firmGeneral .accordion-body .col-lg-6 > .form-group.row > .col-md-6:first-child {
    display: block !important;
  }

  #firmGeneral .accordion-body .col-lg-6 > .form-group.row > .col-md-6:first-child > label {
    font-weight: bold !important;
    margin-bottom: 6px !important;
    display: block !important;
    line-height: 1.2 !important;
  }

  #firmGeneral .custom-control.custom-radio {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
  }

  #firmGeneral .custom-control-input {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  #firmGeneral .custom-control-label {
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
  }

  /* Status, Start Date, End Date */
  #firmGeneral .accordion-body .col-lg-6 > .form-group.row > .col-md-6:last-child {
    display: block !important;
  }

  #firmGeneral .accordion-body .col-lg-6 > .form-group.row > .col-md-6:last-child .form-group.row {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    gap: 10px !important;
    /*margin-bottom: 8px !important;*/
    align-items: baseline !important;
  }

  #firmGeneral .accordion-body .col-lg-6 > .form-group.row > .col-md-6:last-child label {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  #firmGeneral .accordion-body .col-lg-6 > .form-group.row > .col-md-6:last-child .col-form-label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-weight: normal !important;
  }

  #firmGeneral .col-form-label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  /* ===== CONTACT SECTION ===== */
  #firmContact .accordion-body .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  #firmContact .accordion-body .col-md-6 {
    display: block !important;
    width: 100% !important;
  }

  #firmContact .accordion-body .col-md-6.pl-lg-5 {
    padding-left: 0 !important;
  }

  #firmContact .form-group.row {
    display: grid !important;
    grid-template-columns: 130px 1fr !important;
    gap: 10px !important;
    /*margin-bottom: 8px !important;*/
    page-break-inside: avoid !important;
    align-items: baseline !important;
  }

  #firmContact .form-group.row label {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  #firmContact .form-group.row > div {
    display: block !important;
  }

  #firmContact .form-group.row input,
  #firmContact .form-group.row select {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    height: auto !important;
    width: 100% !important;
  }

  #firmContact .col-form-label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  /* ===== FINANCIAL INSTITUTION SECTION ===== */
  #firmBanking .accordion-body .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  #firmBanking .accordion-body .col-md-6 {
    display: block !important;
    width: 100% !important;
  }

  #firmBanking .accordion-body .col-md-6.pl-lg-5 {
    padding-left: 0 !important;
  }

  /* Left column - Financial Institution Name & Number */
  #firmBanking .accordion-body .col-md-6:first-child > .form-group.row {
    display: grid !important;
    grid-template-columns: 160px 1fr !important;
    gap: 10px !important;
    /*margin-bottom: 8px !important;*/
    align-items: baseline !important;
  }

  #firmBanking .accordion-body .col-md-6:first-child > .form-group.row label {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  #firmBanking .accordion-body .col-md-6:first-child > .form-group.row > div {
    display: block !important;
    overflow: visible !important;
  }

  #firmBanking .accordion-body .col-md-6:first-child > .form-group.row select,
  #firmBanking .accordion-body .col-md-6:first-child > .form-group.row input {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    height: auto !important;
    width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  /* Right column - Transit # & Account # */
  #firmBanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    gap: 10px !important;
    /*margin-bottom: 8px !important;*/
    align-items: baseline !important;
  }

  #firmBanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row label {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  #firmBanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row > div {
    display: block !important;
  }

  #firmBanking .accordion-body .col-md-6.pl-lg-5 > .form-group.row input {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    height: auto !important;
    width: 100% !important;
  }

  /* ===== SPONSORS TABLE ===== */
  .firmSponser #tblSponsors {
    width: 100% !important;
    border: none !important;
    table-layout: fixed !important;
  }

  .firmSponser #tblSponsors thead {
    display: table-header-group !important;
  }

  .firmSponser #tblSponsors thead th {
    background: #f5f5f5 !important;
    border-bottom: 1px solid #ccc !important;
    font-weight: bold !important;
    padding: 6px 4px !important;
    font-size: 12px !important;
  }

  .firmSponser #tblSponsors tbody tr {
    border-bottom: 1px solid #eee !important;
    page-break-inside: avoid !important;
  }

  .firmSponser #tblSponsors td {
    font-size: 16px !important;
    padding: 6px 4px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    border: none !important;
    vertical-align: top !important;
  }

  .firmSponser #tblSponsors td[headers="thclient"] { width: 15% !important; }
  .firmSponser #tblSponsors td[headers="thsponsorname"] { width: 25% !important; }
  .firmSponser #tblSponsors td[headers="thplan"] { width: 30% !important; }
  .firmSponser #tblSponsors td[headers="thstatus"] { width: 12% !important; }
  .firmSponser #tblSponsors td[headers="thdate"] { width: 18% !important; }
  .firmSponser #tblSponsors td[headers="thactionn"] { width: 10% !important; }

  .firmSponser #tblSponsors .form-group {
    width: 100% !important;
    margin: 0 !important;
  }

  .firmSponser #tblSponsors select,
  .firmSponser #tblSponsors input {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 16px !important;
    width: 100% !important;
  }

  .firmSponser #tblSponsors p,
  .firmSponser #tblSponsors label,
  .firmSponser #tblSponsors span {
    font-size: 16px !important;
  }

  .firmSponser #tblSponsors .sponsorDeactivatebuttondiv {
    display: none !important;
  }

  .firmSponser #tblSponsors .dateCol input {
    margin-top: 1px !important;
    padding-top: 0 !important;
  }

  .firmSponser #tblSponsors .SponsorStatuslabel {
    margin-top: 2px !important;
    padding-top: 0 !important;
  }

  .firmSponser .table-responsive-md {overflow: visible !important;}
  .table-responsive-lg #firmTable_wrapper{padding:1px;}
}

