@font-face {
  font-family: Aptos; 
  src: url('/Aptos.ttf') format('truetype'); 
}

html *:not(.fa):not(.fa-check):not(.material-symbols-outlined){
  font-family: Aptos !important;
}

/* Bootstrap fix */ 
.fade:not(.show) {
  opacity: 0.7;
}

/* ootb lookup field */
.text-muted {
  display: none;
}

h2{
  color: #0F0F0F !important;
  /* Heading/Large screen 1024px +/H4 */
  font-family: Aptos;
  font-size: 32px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: normal;
}

h3{
  color: #0F0F0F !important;
  /* Heading/Large screen 1024px +/H5 */
  font-family: Aptos;
  font-size: 24px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: normal;
}

h4 {
  color: #0F0F0F !important;
  /* Body/B1 Bold */
  font-size: 18px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 120%; /* 21.6px */
}

p{
  font-size:16px;
}

label{
  font-size: 16px;
}

.description p {
  font-size: 12px;
}
.btn-primary, .btn.btn-primary,.submit-btn.btn-primary,.btn.btn-default.previous-btn, .btn-group input[type='button'], .entity-action-button input[type='button'], .entity-action-button button{
  display: flex;
  height: var(--width-height-2xl, 48px) ;
  padding: var(--spacing-sm, 8px) var(--spacing-xl, 32px) ;
  align-items: center ;
  gap: var(--spacing-sm, 8px) ;
  flex-direction: column ;
  justify-content: center ;
  overflow: hidden ;
  text-overflow: ellipsis ;
  /* Body/B1 Bold */
  font-family: Aptos ;
  font-size: 18px ;
  font-style: normal ;
  font-weight: 700 ;
  line-height: 120% ; /* 21.6px */
  border-radius: var(--border-radius-sm, 8px) ;
  color: var(--colour-button-primary-label, #FFF) ;
  background: var(--colour-button-primary-default, #10069F) ;
  cursor: pointer;
}

.custom {
  flex-direction: row;
}

.btn.btn-default.previous-btn{
  border: 2px solid #10069F;
  background: rgba(255, 255, 255, 0.00);
  overflow: hidden;
  color: #10069F;
  text-overflow: ellipsis;
  text-decoration: none;
}

.btn.btn-default.previous-btn:hover,
.btn.btn-default.previous-btn:focus{
    background-color: #10069F;
    color: #FFFFFF;
    text-decoration: none;
}


.btn.btn-primary:hover,
.btn.btn-primary:focus{
  background: var(--colour-button-primary-default, #10069F) ;
  border: 2px solid #10069F;
  padding: 8px 32px;
  gap: 8px;
  color: #FFF; 
}

.submit-btn.btn-primary:hover{
  background: var(--colour-button-primary-default, #10069F) ;
  border: 2px solid #10069F;
  padding: 8px 32px;
  gap: 8px;
  color: #FFFFFF; 
}

a.go-to, a.go-to:focus{
    color: #000000;
    background: linear-gradient(0deg, #fadd99 0, #fadd99 53%, rgba(255, 255, 255, 0) 53%, rgba(255, 255, 255, 0) 100%);
    background-position: 100% -9px;
    background-size: 200% 200%;
    background-clip: content-box;
    line-height: 18px;
    padding-bottom: .375rem;
    -webkit-transition: background-position .15s ease-in-out;
    transition: background-position .15s ease-in-out;
    font-weight: bold;
    display: inline !important;
}

a.go-to:hover{
    text-decoration: none !important;
    background-position: 100% 100%;
    color: #000000;
}

dialog{
  width: 700px;
  padding: 60px 60px 120px 60px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  border:none;
  border-radius: 12px;
  background: url('/house-illustration.png') 100% 101% #FFF no-repeat; 
  background-size:261.72px 136px; 
}

#dialogException{
  align-items: normal;
}

dialog::backdrop{
  background-color: rgba(0, 0, 0, 0.7);
}

dialog[open]{
  display: flex;
}

dialog:focus-visible, 
#btnClose:focus-visible{
  border:none;
}

#btnClose {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  color: #666;
}

.dialog-header{
  color: var(--Mono-Black, #000);
  text-align: center;
  /* Heading/Large screen 1024px +/H4 */
  font-family: Aptos;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.dialog-body{
  color: var(--Mono-Grey-1, #202020);
  text-align: center;
  /* Body/B1 */
  font-family: Aptos;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 21.6px */
}

.dialog-body .validation-error{
  max-height: 20rem;
  overflow: auto;
  overflow-x: hidden;
  padding: 8px 16px 8px 0px;
  text-align: left;
  list-style-type: none;
}

.dialog-body .validation-error li{
  margin-bottom: 1.2rem;
}

.dialog-footer{
  display: flex;
  gap: 32px;
  justify-content: center;
}

.page-copya{
  display: flex;
  width: 1440px;
  padding: 40px 150px 150px 150px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

#liquid_form{
  width: 100%;
}

html[dir=ltr] .crmEntityFormView .cell.boolean-radio-cell input[type=radio] {
  margin-top: 6px;
}

.form-control-cell .flex-control{
  display: flex;
  gap: 8px;
  align-items: center;
}

#EntityFormPanel input[type=text]:not(#AddressSearchBox), 
#EntityFormPanel input[type=email], 
input.form-control,
.entitylist-search input.form-control,
span.form-control{
    min-height: 48px;
    padding: 8px 16px;
    align-items: center;
    align-self: stretch;
    border-radius: 99999px;
    border-top-right-radius: 99999px !important;
    border-bottom-right-radius: 99999px !important;
    border: 1px solid #F9F9F9;
    background: #F0F0F0 !important;
    width: 100%;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    box-shadow: none;
}

span.form-control{
  display: flex;
}

#EntityFormPanel select.form-control, .crmEntityFormView .cell select.form-control, select.form-control, .entitylist-search select.form-control, #EntityFormPanel select, .crmEntityFormView .cell select, .entitylist-search select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: #F0F0F0 !important;
    line-height: 1.4;
    padding: 12px 44px 12px 16px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    background-image: url(/chevron-down.png) !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 10px 10px !important;
}

#EntityFormPanel input[type=text]::placeholder, #EntityFormPanel input[type=email]::placeholder{
    color: #ACACAC;
}

/* all forms should be affected */
.crmEntityFormView ::placeholder{
  color: #ACACAC !important;
}

.row.sectionBlockLayout.text-left {
  padding: 0;
}

.col-md-12.columnBlockLayout{
  padding: 0;
  margin: 0;
}

#mySearch, 
.entitylist-search input.form-control{
    display: flex;
    width: 512px !important;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-radius: 99999 !important;
    background: url(/search.png) #F0F0F0 no-repeat 15px !important;
    padding-left: 40px !important;
}

.crmEntityFormView .form-control[readonly][disabled], .form-readonly .form-control{
  display: flex;
  padding: 8px 16px;
  align-items: flex-start;
  gap: 0;
  flex: 1 0 0;
  align-self: stretch;
  border: 1px solid #F9F9F9;
  background: #F0F0F0 !important;
  box-shadow: none;
}

textarea.form-control[readonly][disabled], textarea.form-control {
  min-height: 104px;
  padding: 8px 16px;
  align-items: center;
  align-self: stretch;
  border-radius: 20px;
  border: 1px solid #F9F9F9;
  background: #F0F0F0 !important;
  width: 100%;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  box-shadow: none;
}

textarea.form-control:focus {
  border-color: transparent;
  outline: 0;
  box-shadow: none;
}

.faqs-header,
.enquiry-header {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 280px;
  background: #10069F;
}

.header-left {
  flex: 1;
  padding: 32px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.header-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: -94px;
    width: 95px;
    height: 103%;
    background: #10069F;
    clip-path: polygon(0 0, -1991% 0, 60% 100%, 336% 100%);
    z-index: 1;

}

/* RIGHT IMAGE SECTION */
.faqs-header .header-right {
  flex: 1;
  background: url("/faq-background-header.png") center/cover no-repeat;
  height: 100%;
}

.enquiry-header .header-left div{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 16px;
}

.enquiry-header .header-left .aButton{
  color: #ffffff;
  border-radius: 8px;
  border: solid #fff 2px;
  background: rgba(255, 255, 255, 0.00);    
  height: 48px;
  padding: 8px 24px;
  display:flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.enquiry-tile .aButton:hover
.enquiry-tile .aButton:active{
  text-decoration: none;
  background-color: #ffffff;
  color:#10069F;
}

.enquiry-header .header-right {
  flex: 1;
  height: 100%;
  background: url(/enquiry-background-header.jpg) no-repeat -77px -47px;
  background-size: 130%;
}

/* TEXT STYLES */
.header-left h1 {    
    padding-bottom: 24px;
    color: var(--colour-text-default, #F9F9F9);
     font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.header-left p {
  color: #d1d5db;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  margin-bottom: 43px;
}

.faqs-footer{
    position: relative;
    align-items: stretch;
    display: flex;
    padding: 32px 200px 32px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #F4F6F7;
    background: url('/faq-background-footer.png') #F9F9F9 100% 210% no-repeat;
}

.dashboard-footer{
    position: relative;
    align-items: stretch;
    display: flex;
    padding: 32px 200px 32px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #F4F6F7;
    background: url('/faq-background-footer.png') #F9F9F9 100% 50px no-repeat;
}

.enquiry-footer{
  align-items: center;
  display: flex;
  padding: 24px;
  flex-direction: row;
  gap: 24px;
  align-self: stretch;
  border-radius: 4px;
  border: 1px solid #F4F6F7;
  background-color: #F9F9F9;
  justify-content: flex-start;
}

.enquiry-footer div{
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 8px;
}

.enquiry-footer span{
  background-color: #FCEECC;
  padding: 12px;
  border-radius: 99999px; 
  height: 56px;
}

.aButton, .dialog-button{
  display: flex;
  padding: 8px 16px;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border-radius: 4px;
  border: 2px solid #10069F;
  background: rgba(255, 255, 255, 0.00);
  overflow: hidden;
  color: #10069F;
  text-overflow: ellipsis;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
}

.delete-file{
  position: absolute;
  left: 119px;
  top: -47px;
  white-space: nowrap;
}

.aButton:hover,
.aButton:focus,
.dialog-button:hover,
.dialog-button:focus{
    background-color: #10069F;
    color: #FFFFFF;
    text-decoration: none !important;
}

.aButton.alt{
  color: #fff;
  border-radius: var(--border-radius-xs, 4px);
  border: 2px solid #10069F;
  background-color: #10069F;
}

.aButton.alt:hover{
  border: 2px solid #10069F;
  color: #10069F;
  text-decoration: none;
  background-color: transparent;
}

.aButton.alt.east{
  padding-right: 32px;
  background-image: url(/arrow-east-white.png);
  background-repeat: no-repeat;
  background-position: 95%;
}

.aButton.alt.east:hover{
  background-image: url(/arrow-east.png);
  background-repeat: no-repeat;
  background-position: 95%;
}

.bold-underline{
    color: #000000;
    background: linear-gradient(0deg, #fadd99 0, #fadd99 53%, rgba(255, 255, 255, 0) 53%, rgba(255, 255, 255, 0) 100%);
    background-position: 100% -9px;
    background-size: 200% 200%;
    background-clip: content-box;
    line-height: 18px;
    padding-bottom: .375rem;
    -webkit-transition: background-position .15s ease-in-out;
    transition: background-position .15s ease-in-out;
    font-weight: bold;
    display: inline !important;
}

.main-container{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.container{
  padding: 0;  
}

.footer-bottom .container{
  margin-left: auto;
  margin-right:auto;
}

#mainContent{
  padding: 40px 80px;
}

.crmEntityFormView {
  border: none !important;
}

.breadcrumb{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: flex-start;
  align-items: center;
}

.breadcrumb li{
  min-width: 24px;
  min-height: 24px;
}

.breadcrumb>li+li:before {
    content: " ";   
    padding: 0 12px;
    background: url('/chevron-right.png') no-repeat 6px 4px;
}

.breadcrumb-home img{
  vertical-align: baseline;
}

.breadcrumb > li a,
.breadcrumb > li a:hover {
    color: #000000 !important;
}
.header-block{
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}
.page-copy{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

div#home-navigation{
  background-color:#10069f;
  overflow: hidden;
  width:300px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  transition: width 0.2s ease;
  position: relative;
}

div#home-navigation .nav-link{
  display: block;
  transition: none;
  white-space: nowrap;
}

div#home-navigation .navigation-content{
  padding: 68px 24px;
  min-height: 100vh;    
  gap: 24px;
  display: flex;
  flex-direction: column;
}

div#home-navigation .navigation-content-items{
  gap: 24px;
  display: flex;
  flex-direction: column;
}

div#home-navigation .site-logo svg,
.site-logo-collapse svg{
  width: 135px;
  height: 34.941px;
  flex-shrink: 0;
}

div#home-navigation .site-logo svg g,
.site-logo-collapse svg g{
  fill: #ffffff;
}

div#home-navigation.collapse #collapseMenu svg{
  transform: rotate(180deg);
}

div.navigation-toggle{
  display:none;
}

div.profile-bubble{
  width:208px;
  font-weight: 600;
  z-index: 1;
  display: flex;
  gap: 5px;
}

.profile-bubble .nav-link.dropdown-toggle {
  text-align: center;
  background-color: #f2f2f2;
  width: var(--width-height-2xl, 48px);
  height: var(--width-height-2xl, 48px);
  border-radius: 50%;         
  overflow: hidden;  
  padding: 14.5px 7.5px;         
}

.profile-bubble a.nav-link.dropdown-toggle:hover {
    text-decoration: none !important;
}

.profile-detail{
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  height: 50px;
}

.profile-detail .profile-section {
  width: 87px;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  padding-left: 5px;
  padding-right: 5px;
}

.profile-section .normal{
  font-weight: normal;
  font-size: 14px;
}

.profile-section .org-detail{
  overflow: hidden;
  text-overflow: ellipsis; 
  white-space: nowrap;
  max-width: 8rem;
}

.profile-dropdown{
  position: relative;
  width: 20px;
  background: url('/chevron-down-half.png') 6px 18px no-repeat;
}

.profile-dropdown.show{
  background: url('/chevron-up-half.png') 6px 18px no-repeat;
}


.profile-dropdown-toggle{
  display: block;
  height: 100%;
  text-decoration: none !important;
  width: 20px;
  cursor: pointer;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .dropdown-menu>li>a:active {
    padding: 4px 16px;
    border: 0;
    text-decoration: none;
    background-color: #e9ecef;
}

.dropdown-toggle::after{
  display: none !important;
}

.dropdown-menu{
  display: none;
  position: absolute;
  top: 52px;
  left: -145px;
}

.dropdown-menu.show{
  display: block;
}

ul.dropdown-menu.show{
  /* inset important to avoid overwrite */
  inset: 0px 0px auto auto !important; 
  margin: 0px;
  transform: translate(0px, 35px);
  padding: 8px;
}

/* Bootstrap tooltip sanity overrides (if Bootstrap tooltips are used) */
.tooltip {
  position: absolute; /* ensure it does not affect document flow */
  z-index: 1060;
}

.tooltip.show {
  opacity: 1;
}

.bs-tooltip-auto,
.tooltip.bs-tooltip-auto,
.tooltip.fade.show,
.tooltip.fade.right.in {
  position: absolute; /* always out of normal flow */
  z-index: 1060;
  opacity: 1;
}

/* Inner content constraints for various Bootstrap states */
.bs-tooltip-auto .tooltip-inner,
.tooltip.bs-tooltip-auto .tooltip-inner,
.tooltip.fade.show .tooltip-inner,
.tooltip.fade.right.in .tooltip-inner,
.tooltip .tooltip-inner {
  max-width: 280px;    /* cap width */
  white-space: nowrap;  /* single line to avoid height growth */
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #fff;
  color: #111;
  border-radius: 6px;
  padding: 6px 10px;
}

.tooltip .tooltip-inner {
  max-width: 280px;     /* prevent overly wide tooltip */
  white-space: nowrap;   /* avoid multi-line expansion */
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #fff;
  color: #111;
  border-radius: 6px;
  padding: 6px 10px;
}

.profile-bubble .username{
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  width: 34.708px;
  height: 16.246px;
  flex-direction: column;
  justify-content: center;
}

div.greeting-box{
  padding-bottom: 1rem;
}

div.greeting-box h5{
  color: #0C1E33;
  /* Heading/Large screen 1024px +/H5 */
  font-family: Aptos;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 0;
  margin-bottom: 0;
}

div.greeting-box span{
  color: var(--colour-text-default, #0F0F0F);
  text-align: center;

  /* Body/B4 */
  font-family: Aptos;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 14.4px */
}

div.ha-wedge{
  position: absolute;
  top: 0px;
  right: 0px;
  width: 113px;
  height: 85px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="113" height="85"><polygon points="0,0 113,0 113,85" fill="white"/></svg>');
  background-size: cover;
}

div#site-title span{
  color: #7ACBD4;
  font-family: Aptos;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

div#nav-line{
  height: 0;
  flex-shrink: 0;
  align-self: stretch;
  stroke-width: 1px;
  stroke: var(--colour-panel-border, #ACACAC);
  opacity: 0.48;
}

#menu-toggle {
  display: none;
}

.hamburger {
  width: 50px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 15px;
  z-index: 2;
}

.bar {
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

#menu-toggle:checked + .hamburger .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .hamburger .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu {
  flex-direction: column;
  gap: 20px;
}

#menu-toggle:checked ~ .menu {
  display: flex;
}

.menu a,
#collapseMenu {
  display: flex;
  padding: 16px 14px;
  transition: none;
  white-space: nowrap;
  color: #ffffff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 19.2px */ 
  width: 252px;
  gap: 8px;
  align-items: center;
}

.menu a:hover,
.menu a.active {
  background-color: #BDE5E9;
  border-radius: 8px !important;
  color: #0F0F0F !important;
  text-decoration: none !important;
}

.menu a svg path,
.menu a svg g path{
  fill: #ffffff;
}

.menu a svg circle{
  fill: #10069F;
}

.menu a:hover svg path,
.menu a:hover svg g path,
.menu a.active svg path{
  fill: #0f0f0f;
}

.menu a:hover svg circle,
.menu a.active svg circle{
  fill: #BDE5E9;
}


@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: 1440px;
  }
}

div#home-navigation.collapse{
  width: 66px;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

div#home-navigation.collapse .navigation-content{
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.collapse .menu a,
.collapse #collapseMenu{
  border-radius: 0 !important;
  padding-left: 25px !important;
}

.collapse .menu a span, 
.collapse #collapseMenu span{
  display:none;
}

.site-logo-collapse,
.collapse .site-logo{
  display: none;
}

.collapse .site-logo-collapse{
  display:flex;
}

.collapse .site-logo-collapse svg{
  width: 108px;
  padding-top:16px;
}

.collapse #site-title{
  padding-left:16px;
}

.collapse .ha-wedge{
  width:66px;
}


details{
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-self: stretch;
    border-radius: 4px;
    background: #EBF5FB;
    margin-bottom: 16px;
}

details[open], details:hover{
    background: #D7EAF7;
}

summary {
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    border-radius: 0;
    position: relative;
    background: url('/chevron-down.png') 99% no-repeat;
}

summary h4{
  margin-bottom: 0px;
}

details[open] summary {
    background: url('/chevron-up.png') 99% no-repeat;
}

.content-grey{
    color: #979C9F;
    font-size: 14px;
}

.enquiry-body{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-heading, 
.card-section-heading{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px;
  width: 100%;
}

.section-heading a.go-to::after{
  content: "-";
  background: url(/arrow-east.png) 0px 4px no-repeat;
  color: transparent;
  margin-left: 8px;
  padding-right: 10px;
}

.card-section-heading-dates{
  display:flex;
  flex-direction: column;
  align-items: flex-end;
}

.questions-card{
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  background: #FFF;
}

.questions-card.closed{
  background: #F9F9F9;
}

table.questions-card{
  border:none;
}

.questions-card table, .questions-card tbody {
  width: 100%;
}

.questions-card table thead{
  display:none;
}

.questions-card tr{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  margin-bottom: 16px;
}

.questions-card tr:last-child{
  margin-bottom: 0;
}

.section-heading h4{
  color: #0C1E33;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 19.2px */
  margin-bottom: 0;
}

.questions-card .outgoing{
  display: flex;
  padding: 16px 24px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 4px;
  background: #FCEECC;
  width: 100%;
}

.questions-card .incoming{
  display: flex;
  padding: 16px 24px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 4px;
  background: #F9F9F9;
  width: 100%;
}

.incoming p,
.outgoing p{
  color: #0F0F0F;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
  padding-left: 8px;
  padding-right: 8px;
  word-break: break-word;
}

.card-section-footer a,
.card-section-footer a:hover,
.card-section-footer .view-files,
.card-section-footer .view-files:hover,
.attachment a,
.case-attachment .view-files{
  color: #10069F;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 16.8px */
}

.card-section-footer .view-files,
.case-attachment .view-files{
  cursor: pointer !important;
  padding-left: 20px;
  background: url('/attachment.png') no-repeat;
  background-size: 21%;
}

.case-attachment .view-files{
  background-size: 12%;
}

.card-section-footer .view-files:hover{
  text-decoration: underline;
}

.card-section-body{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.card-section-details{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  justify-content: flex-start;
  padding: 8px;
  width:100%;
}

.card-section-details-action{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  justify-content: flex-start;
  padding: 8px;
  width:100%;
}

.card-section-heading-details{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  justify-content: flex-start;
  padding: 8px;
  width:100%;
  flex-wrap: wrap;
}

.card-section-heading-details span{
  color: #0F0F0F;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 16.8px */
  flex: 0 0 30%;
}

.card-section-details-action .card-action{
  display: flex;
  padding: 12px 24px;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 2px solid #10069F;
  background: rgba(255, 255, 255, 0.00);
  overflow: hidden;
  color: #10069F;
  text-overflow: ellipsis;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Body/B2 Bold */
  font-family: Aptos;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 19.2px */
}

.card-section-details-action .card-action.main{
  color: #FFF;
  background: #10069F !important;
}

.question-card-empty,
.view-empty.message{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  /*padding: 24px 96px;*/
  margin: 0;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.question-card-empty span,
.view-empty.message span.icon{
  display: flex;
  padding: 24px;
  align-items: center;
  gap: 10px;
  border-radius: 99999px;
  background: #F0F0F0;
}

.card-section-heading span{
  flex:none;
}

.card-section-heading .indicator{
  display: flex;
  padding: 8px 16px 8px 24px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  color: var(--colour-text-default, #0F0F0F);
  text-overflow: ellipsis;
  /* Body/B3 Bold */
  font-family: Aptos;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 16.8px */
}

.card-section-heading .indicator.withdrawn{
  background: url('/indicator-withdrawn.png') 8px 8px no-repeat;
  border: solid 1px #C8C8C8;
  border-radius: 6px;
}

.indicator.open{
  display:none;
}

div#content-container {
    display: flex;
    justify-content: center;
}

#content-container #mainContent form{
  width: 605px;
}

.fa-arrow-up:before,.fa-info-circle:before, .fa-angle-down:before,.fa-file:before {
    content: "" !important;
}

.entitylist-search{
  width: 507px;
}
.entitylist-search .input-group-btn{
  display:none;
}

#UploadButton{
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 2px solid #10069F;
  background: url('/attachment.png') 8px 12px no-repeat rgba(255, 255, 255, 0.00);
  height: 48px;
  padding: 8px 24px;
  align-items: center;
  gap: 8px;
  padding-left: 36px;
  background-size: 15%;
  font-size: 18px;
  color: #10069F;
}

#UploadButton:hover, #UploadButton:active{
  background: url('/attachment-white.png') 8px 12px no-repeat #10069F;
  background-size: 15%;
  color: #FFFFFF;
  text-decoration: none;
}

#ValidationSummaryEntityFormControl_EntityFormView h2.validation-header{
  font-size: 18px !important;
}

.error-modal-footer.modal-footer{
  justify-content: center;
}

#modal-content-new{
  padding: 16px 24px;
}

.entity-notes .note {
    border: none;
    padding-top: 0; 
    margin-bottom: 8px;
}

.note .row .metadata{
  display: none;
}

.note .row{
  display: flex;
  /*padding: 16px 24px 24px 24px;*/
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  background: #F9F9F9;
}

.attachment.alert{
  padding: 8px;
}

#notescontrol .notes{
  display: flex;
  flex-direction: column;
}

.filter-enquiry{
  display: flex;
  gap: 8px;
  padding: 4px;
  align-items: flex-start;
  border-radius: 99999px;
  border: 1px solid #C3E0F3;
  background: #EBF5FB;
  max-width: max-content;
}

.filter-enquiry input[type='radio']{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-enquiry label{
  display: flex;
  height: 32px;
  padding: 4px 16px;
  align-items: center;
  gap: 0;
  cursor: pointer;
  color: #10069F;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 16.8px */
}

.filter-enquiry  input[type="radio"]:checked + label,
.filter-enquiry  input[type="radio"]:focus + label  {
  border-radius: 99999px;
  background: #10069F;
  color: #fff;
}

.filter-enquiry  input[type="radio"]:disabled + label {
  opacity: .5;
  cursor: not-allowed;
}

/* Lookup */
button.launchentitylookup {
    display: inline-flex;
    visibility: visible;
    position: absolute !important;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 16px;
    height: 16px;
    background: url('/search.png') center center no-repeat;
    border: none;
    padding: 0;
}
button.clearlookupfield {
    display: inline-flex;
    visibility: visible;
    position: absolute !important;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 16px;
    height: 16px;
    background: url('/xcircle') center center no-repeat;
    border: none;
    padding: 0;
}

.dashboard-body-detail{
  display: flex;
  flex-direction: column;
  gap:16px;
}

.funding-card-container, 
.enquiry-tile-container{
  display: flex;
  gap: 6px;
}

.funding-card-container{
  justify-content: flex-start;
}

.enquiry-tile-container{
  justify-content: space-evenly;
}

.funding-card-detail{
  display: flex;
  flex-direction: row;
}
.funding-card,
.enquiry-tile{
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  align-items: flex-start;
  gap: 24px;
  flex: 0 0 405px;
  align-self: stretch;
  border-radius: 8px;
  background: #F9F9F9;
  min-height: 17rem;
}

.enquiry-tile{
  justify-content: end;
  align-items: center;
}

.funding-card.active{
  background: url(/faq-background-footer.png) #EBF5FB 100% 130px no-repeat;
  background-size: 196px;
}

.flex-row{
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.enquiry-tile .circle{
  padding: 12px;
  border-radius: 99999px;
  background: #DEF2F4;
}

.enquiry-tile svg{
  width: 32px;
  height: 32px;
}

.dashboard-body{
  display: flex;
  flex-direction: column;
  gap: 51px;
}

.entitylist{
  border: none !important;
}

.message-empty-application{
  color: #828282;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
}

.empty-list-application{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 43px;
  align-self: stretch;
  border-radius: 8px;
  background: #F9F9F9;
  padding-top: 63px;
  padding-bottom: 63px;
}

#existingApplication .entity-grid table{
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 4px;
  border:1px solid #F0F0F0;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

#existingApplication .entity-grid table th{
  height: 59px;
  align-items: flex-start;
  align-self: stretch;
  padding: 14px 12px;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid #F0F0F0;
  background: #08034B;
  color: #F9F9F9;
  white-space: nowrap;
  vertical-align: middle;
  /* Body/B3 */
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 16.8px */
}

#existingApplication .entity-grid table tr{
  height: 60px;
  align-items: center;
  align-self: stretch;
}

#existingApplication .entity-grid table td{
  padding: 24px 12px;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  overflow: hidden;
  color: #0F0F0F;
  text-overflow: ellipsis;
  white-space: nowrap;

  /* Body/B2 */
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
}

.entity-grid table td a{
  color: #0F0F0F;
  text-decoration: underline;
}

.entity-grid table th a{
  color: #F9F9F9;
}

.view-pagination{
  display: flex;
  justify-content: flex-end;
}

.pagination li{
  display: flex;
  padding: 4px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
}
.pagination li.active{
  background: #10069F;
}

.pagination li a{
  color: #4F4F4F;

  /* Body/B2 */
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
  text-decoration: none;
}

.pagination li.active a,
.pagination li.active a:hover,
.pagination li.active a:focus,
.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus{
  background:none !important;
  border: none !important;
  color: #FFF;
}

.pagination>.active>a{
  background-color: transparent !important;
}

.pagination .tooltip {
  position:absolute;
}

.entity-pager-next-link::before{
  content: "Next    ";
}

.entity-pager-prev-link::after{
  content:"    Previous";
}

#newdivforfileinfo{
  flex-direction: column;
}

.overflow-button {
  color: #10069F;
  max-width: 100%;
  background-color: #fff;
  border: 1px solid #10069F;
  height: 30px;
}

.crmEntityFormView .actions{
  display: flex;
  justify-content: space-between;
}

.crmEntityFormView .cell div.info.required label:after {
  content: "  (required)";
}

.progress.list-group.top{
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-direction: row;
  border-radius: 99999px;
  border: 1px solid #C3E0F3;
  background: #EBF5FB;
  margin-bottom: 32px;
}

html[dir=ltr] ol.progress.top li:first-child, 
html[dir=ltr] ol.progress.top li:last-child,
.progress.list-group.top .list-group-item,
.progress.list-group.top .list-group-item.list-group-item-success{
  display: block;
  padding: 12px 16px;
  border-radius: var(--border-radius-infinite, 99999px);
  color: #10069F;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress.list-group.top .list-group-item.active{
  background-color: #10069F;
  color: #FFF;
  overflow: unset;
  text-overflow: unset;
  max-width: fit-content;
}
.progress.list-group.top .list-group-item.incomplete{
  background: url('/chevron-top.png') 100% 1px no-repeat;
  padding-left: 12px;
  padding-right: 25px;
  max-width: 110px;
}

.progress.list-group.top .list-group-item:last-child{
  background-image: none;
}

.progress.list-group.top .list-group-item.list-group-item-success{
  background: url('/dot.png') 7px 12px no-repeat;
  background-size: 16px;
  padding-left: 26px;
  border: none;
  max-width: 100px;
}

.progress.list-group.top .list-group-item.text-muted.list-group-item-success{
  color: #10069F !important;
}

.file-upload-loader{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  gap: 6px;
}

#InsertButton {
  margin-left: auto;
  display: block;
}

.file-cell .info {
  font-size: 0;
}

.file-cell .info label {
  font-size: 16px;
}

.file-cell .info::after {
  content: "You can upload up to 15 files. Max size 90MB per file. Supported files include doc, docx, xls, xlsx, ppt, pptx, csv, png, jpeg.";
  font-size: 16px;
  display: block;
  margin-top: 4px;
  color: #000000;
}

.additional-files-container .additional-files{
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 100px;
  padding-bottom: 150px;
}

.actions .col-sm-6.clearfix{
  width: 100%;
  flex: auto;
  display: flex;
  justify-content: space-between;
}

.actions .col-sm-6.clearfix div:last-child{
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.btn-group>.btn:not(:last-child):not(.dropdown-toggle), .btn-group>:not(.btn-check)+.btn {
  border-radius: 8px;
}

.check input[type=checkbox]{
  margin: 4px;
}

.fr-summary{
  border-radius: 16px;
  background: #EBF5FB;
  display: flex;
  padding: 24px;
  flex-direction: column;
  gap: 32px;
  align-self: stretch;
  margin-bottom: 32px;
}

.fr-summary-header{
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.fr-summary-header h2{
  flex: 1;
}

.fr-summary-body{
  display: flex;
  flex-direction: column;
}

.fr-summary-body div{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.fr-summary-body div .fr-summary-body-col{
  display: flex;
  flex-direction: column;
  flex-basis: 33%;
}

.fr-summary-body h4{
  display: flex;
  height: 29px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  color: #0C1E33;
  /* Heading/Large screen 1024px +/H6 */
  font-family: Aptos;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.fr-summary-info{
  gap: 4px;
  color: var(--colour-text-default, #0F0F0F);
  font-family: Aptos;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
}
.fr-summary-body .fr-summary-info span{
  font-weight: 700;
}

.funding-allocation{
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
  border-radius: 0;
  background: #F9F9F9;
}

.funding-allocation.remaining{
  background: #EBF5FB;
}

.funding-allocation-header{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

.funding-allocation-body{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.funding-allocation-body .separator{
  width: 1px;
  height: 62px;
  background: #C3E0F3;
}

/* stepper progress bar styling */
.stepper-container {
  padding: 0 8px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 8px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  z-index: 2;
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 2px solid #cbc6e8; /* inactive ring */
  position: relative;
  z-index: 2;
}

.step.active .step-circle {
  background-color: #ffffff; /* white ring */
  border-color: #10069F !important; /* indigo outline */
}

.step.active .step-circle::after {
  content: '';
  width: 18px;
  height: 18px;
  background-color: #10069F !important; /* indigo inner dot */
  border-radius: 50%;
}

.step.completed .step-circle {
  background-color: #10069F !important;
  border-color: #10069F !important;
}

.step-line {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #e5e1f6; /* light lavender line */
  z-index: 1;
}

.step:first-child .step-line { left: 50%; }
.step:last-child .step-line { right: 50%; }

.step.completed .step-line { background-color: #10069F !important; }

.step.active .step-line {
  background-image: linear-gradient(to right, #10069F 100%) !important;
}

.step-label {
  margin-top: 12px;
  font-size: 14px;
  color: #111827;
  text-align: center;
  max-width: 160px;
  white-space: nowrap;
}

.step.active .step-label { font-weight: 600; }

/* picklist vertical fix */
.picklist.vertical label {
  display: inline;
}