footer {
  color: #ffffff;
  font-family: Arial;
  font-weight: 400;
  font-size: 16px;
  height: 68px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 30px;
  margin-right: 106px;
}

@media only screen and (max-width: 700px) {
  .header-container {
    justify-content: end;
  }
}

.fit-content {
  min-width: fit-content;
}

/* html[dir='ltr'] .crmEntityFormView .actions .btn,
.btn-default {
  color: #2a2c2e;
  border-radius: 8px;
  font-family: Helvetica;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 20px;
  width: fit-content;
  border-style: solid;
  color: var(--portalThemeOnColor4);
  border-color: var(--portalThemeColor4);
  background-color: var(--portalThemeColor4);
} */
/* 
.btn-default:hover {
  color: var(--portalThemeOnColor4);
  background-color: var(--portalThemeColor4);
  border-color: var(--portalThemeColor4);
}

.btn-default:active,
.btn-default.active {
  color: var(--portalThemeOnColor4);
  border-color: #62a365;
  background-color: var(--portalThemeColor4);
}

.btn-default:active:hover,
.btn-default:active:focus,
.btn-default:active.focus,
.btn-default.active:hover,
.btn-default.active:focus,
.btn-default.active.focus {
  color: var(--portalThemeOnColor4);
  background-color: var(--portalThemeColor4);
  border-color: var(--portalThemeColor4);
}

.btn-default:focus,
.btn-default.focus {
  color: var(--portalThemeOnColor4);
  background-color: var(--portalThemeColor4);
  border-color: var(--portalThemeColor4);
}

.btn-primary {
  color: var(--portalThemeOnColor1);
  background-color: var(--portalThemeColor1);
  border-color: var(--portalThemeColor1);
  border-radius: 2px;
  font-family: Helvetica;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 20px;
  width: fit-content;
  border-style: solid;
  background-color: var(--portalThemeColor1);
}

.btn-primary:hover {
  color: #2a2c2e;
  background-color: #d19c4d;
  border-color: #d19c4d;
}

.btn-primary:active,
.btn-primary.active {
  color: #2a2c2e;
  background-color: #d19c4d;
  border-color: #d19c4d;
}

.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary:active.focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary.active.focus {
  color: #2a2c2e;
  background-color: #d19c4d;
  border-color: #d19c4d;
}

.btn-primary:focus,
.btn-primary.focus {
  color: #2a2c2e;
  background-color: button1onhoverfillcolor;
  border-color: button1onhoverfillcolor;
} */
/* 
.static-top.navbar-dark {
  background-color: var(--portalThemeColor1);
}

.navbar-toggler {
  background-color: var(--portalThemeColor1);
}

.navbar-dark .navbar-toggler {
  border: 1px solid var(--portalThemeColor1);
}

.navbar-dark .navbar-toggler:hover {
  background-color: #d19c4d;
  border-color: #d19c4d;
}

.navbar-dark .navbar-toggler:focus {
  border: 1px solid #ffffff;
  background-color: #d19c4d;
}

.navbar-dark .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%232A2C2E'  stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-dark .navbar-nav>li>a {
  color: #ffffff;
  font-family: Arial;
  font-weight: 400;
  font-size: 20px;
}

.navbar-dark .navbar-nav>li>a:hover {
  background-color: var(--portalThemeColor1);
  color: var(--portalThemeOnColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav>li>a:focus {
  background-color: var(--portalThemeColor1);
  color: #000000;
  text-decoration: Underline;
}

.navbar-dark .navbar-nav>.open>a {
  color: #000000;
  background-color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav>.open>a:hover {
  color: #000000;
  background-color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav>.open>a:focus {
  color: #000000;
  background-color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav .open .dropdown-menu {
  background-color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav .open .dropdown-menu>li>a {
  color: #000000;
  text-decoration: Underline;
}

.navbar-dark .navbar-nav .open .dropdown-menu>li>a:hover {
  background-color: #000000;
  color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav .open .dropdown-menu>li>a:focus {
  background-color: #000000;
  color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav .open .dropdown-menu>.active>a {
  background-color: #000000;
  color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav .open .dropdown-menu>.active>a:hover {
  background-color: #000000;
  color: var(--portalThemeColor1);
  text-decoration: Underline;
}

.navbar-dark .navbar-nav .open .dropdown-menu>.active>a:focus {
  background-color: #000000;
  color: var(--portalThemeColor1);
  text-decoration: Underline;
} */

.sectionPrimaryColor {
  background-color: #9bbb9b;
  color: #000000;
}

.sectionPrimaryColor h1,
.sectionPrimaryColor h2,
.sectionPrimaryColor h3,
.sectionPrimaryColor h4,
.sectionPrimaryColor h5,
.sectionPrimaryColor h6,
.sectionPrimaryColor p,
.sectionPrimaryColor a {
  color: #000000;
}

.sectionPrimaryColor .crmEntityFormView h1,
.sectionPrimaryColor .crmEntityFormView h2,
.sectionPrimaryColor .crmEntityFormView h3,
.sectionPrimaryColor .crmEntityFormView h4,
.sectionPrimaryColor .crmEntityFormView h5,
.sectionPrimaryColor .crmEntityFormView h6,
.sectionPrimaryColor .crmEntityFormView p,
.sectionPrimaryColor .crmEntityFormView a {
  color: #000000;
}

.sectionPrimaryColor .entitylist h1,
.sectionPrimaryColor .entitylist h2,
.sectionPrimaryColor .entitylist h3,
.sectionPrimaryColor .entitylist h4,
.sectionPrimaryColor .entitylist h5,
.sectionPrimaryColor .entitylist h6,
.sectionPrimaryColor .entitylist p,
.sectionPrimaryColor .entitylist a {
  color: #000000;
}


.open>.btn-default.dropdown-toggle {
  color: #2a2c2e;
  background-color: #e6e6e6;
  border-color: var(--portalThemeColor1);
}

.open>.btn-primary.dropdown-toggle {
  color: #ffffff;
  background-color: var(--portalThemeColor1);
  border-color: var(--portalThemeColor1);
}

.open>.btn-primary.dropdown-toggle:hover,
.open>.btn-primary.dropdown-toggle:focus,
.open>.btn-primary.dropdown-toggle.focus {
  color: #2a2c2e;
  background-color: #d19c4d;
  border-color: #bb8330;
}

.crmEntityFormView,
.entitylist,
.modal-content,
.popover-content {
  background-color: #ffffff;
  color: #000000;
  border: none !important;
  border-radius: 10px;
}

span[role=checkbox] {
  border: none !important;
}

th>a {
  font-size: 24px !important;
}

.crmEntityFormView table.table td {
  font-size: 20px !important;
}

.entity-grid table.table td {
  font-size: 20px !important;
}

#mainContent>div>div>div>div.permit-tracker-container>div.permit-tracker-table>div>div>div.view-grid>table>tbody>tr>td {
  font-size: 2.2rem;
  height: 80px;
  align-items: center;
}

#mainContent>div>div>div>div.permit-tracker-container>div.permit-tracker-table>div>div>div.view-grid>table>thead {
  height: 56px;
  background-color: var(--portalThemeColor1);
}

#mainContent>div>div>div>div.permit-tracker-container>div.permit-tracker-table>div>div>div.view-grid>table>thead>tr>th>a {
  color: var(--portalThemeColor5);
  font-size: 18px;
}

#mainContent>div>div>div>div:nth-child(2)>div>div>div>div>div.view-grid>table>thead>tr>th>a {
  font-size: 18px;
  color: #ffffff;
}

#mainContent>div>div>div>div>div>div>div>div>div.view-grid>table>thead {
  /* background-color: var(--portalThemeColor1); */
}

.entity-grid .view-grid {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#mainContent>div>div>div>div:nth-child(2)>div>div>div>div>div.view-grid>table>tbody>tr {
  height: 80px;
  font-size: 2.2rem;
}

#mainContent>div>div>div>div:nth-child(2)>div>div>div>div>div.view-grid>table>tbody>tr>td {
  padding-top: 20px;
}

#mainContent>div>div>div>div.permit-tracker-container>div.permit-tracker-table>div {
  width: 100%;
}

#mainContent>div>div>div>div:nth-child(2)>div>div>div>div>div.view-grid>table>thead>tr>th {
  padding-bottom: 15px;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #f7f7f7 !important;
}

.table-striped>tbody>tr:nth-of-type(even) {
  background-color: #ffffff;
}

.static-top.navbar-dark .navbar-brand a {
  color: #ffffff;
}

.msos-selecteditems-toggle {
  color: #9bbb9b !important;
}

h1 p {
  font-family: Helvetica;
  font-weight: 400;
  font-size: 40px;
  color: #2a2c2e;
  margin-left: 0px;
  margin-right: 0px;
}

h2 p {
  font-family: Helvetica;
  font-weight: 400;
  font-size: 36px;
  color: #2a2c2e;
}

h3,
.h3,
.page_section h3,
.color-inverse h3,
.sidebar-home h3 {
  font-family: Arial;
  font-weight: 400;
  font-size: 24px;
  color: #2a2c2e;
}

h4,
.h4,
.poll .poll-header h4,
.poll .poll-tags h4 {
  font-family: Helvetica;
  font-weight: 700;
  font-size: 24px;
  color: #2a2c2e;
}

h5,
.h5 {
  font-family: Helvetica;
  font-weight: 700;
  font-size: 14px;
  color: #9bbb9b;
}

p,
.p,
.page_section p,
.section-diagonal-left p,
.section-diagonal-right p {
  font-family: Arial;
  font-weight: 400;
  font-size: 20px;
  color: #2a2c2e;
}

.p2 {
  font-family: Arial;
  font-weight: 400;
  font-size: 16px;
  color: #2a2c2e;
}

/* 
.button1 {
  color: #2a2c2e;
  border-radius: 2px;
  font-family: Helvetica;
  font-weight: 600;
  font-size: 14px;
  border-color: var(--portalThemeColor1);
  padding: 6px 20px;
  width: fit-content;
  border-style: solid;
  background-color: var(--portalThemeColor1);
}

.button1:not(.gjs-selected):hover {
  color: #2a2c2e;
  background-color: #d19c4d;
  border-color: #d19c4d;
}

.button1:not(.gjs-selected):active,
.button1.active:not(.gjs-selected) {
  color: #2a2c2e;
  background-color: button1onhoverfillcolor;
}

.button1:focus,
.button1.focus {
  color: #2a2c2e;
  background-color: #d19c4d;
} */

.button2 {
  color: var(--portalThemeColor1) !important;
  border-radius: 2px;
  font-family: Helvetica;
  font-weight: 600;
  font-size: 14px;
  border-color: var(--portalThemeColor1) !important;
  padding: 6px 20px;
  width: fit-content;
  border-style: solid;
  background-color: transparent;
}

.button2:not(.gjs-selected):hover {
  color: var(--portalThemeOnColor1) !important;
  background-color: var(--portalThemeColor1) !important;
  border-color: var(--portalThemeColor1) !important;
}

.button2:not(.gjs-selected):active,
.button2.active:not(.gjs-selected) {
  color: #2a2c2e;
  background-color: var(--portalThemeColor1);
}

.button2:focus,
.button2.focus {
  color: #2a2c2e;
  background-color: var(--portalThemeColor1);
}

/* Permit Tracker Table */

.card-body,
.list-group-item {
  background-color: var(--portalThemeColor2);
  color: var(--portalThemeOnColor2);
}

.entitylist {
  /* border: 1px solid var(--portalThemeColor2) !important; */
}

.card {
  border: none;
}

.grid-actions {
  border-bottom: none;
}

/*comment out to fix grid of country lookup*/
/* 
.view-grid>table>thead>tr>th>a {
  color: var(--portalThemeOnColor2);
  font-size: 18px;
}

.view-grid>table>tbody>tr>td {
  color: var(--portalThemeOnColor7);
  font-size: 22px;
} */


/* :root {
    --xs: 0;
    --s: 576px;
    --md: 768px;
    --lg: 992px;
    --xl: 1200px;
    --xxl: 1400px;
} */

/* Breakpoints */

/* Extra Small (Mobile - Portrait) */
@media only screen and (min-width: 0) and (max-width: 576px) {
  .step-card {
    width: 100%;
  }
}

/* Small (Mobile - Landscape & 400% zoom) */
@media only screen and (min-width: 576px) and (max-width: 768px) {
  .step-card {
    width: 100%;
  }
}

/* Small (Tablet - Portrait & 200% zoom) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
  .step-card {
    width: 100%;
  }
}

/* for filter icon for build-permit-table*/
.permit-tracker-table .entitylist-filter-option .input-group {
  align-items: normal;
}

@media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
    /* --bs-modal-width: 75%; */
  }
}

/* .button3 {
  color: var(--portalThemeColor1);
  border-radius: 2px;
  font-family: Roboto;
  font-weight: 600;
  font-size: 14px;
  border-color: white;
  padding: 6px 20px;
  width: fit-content;
  border-width:medium;
  border-style: solid;
  background-color: white;
}
.button3:hover {
  color: white;
  border-color: white;  
  border-width:medium;
}
.button3:active,
.button3.active {
  color: #2a2c2e;
  border-width:medium;
  background-color: white;
}
.button3:focus,
.button3.focus {
  color: #2a2c2e;
  border-width:medium;
  background-color: white;
} */

.button3 {
  color: var(--portalThemeColor1);
  border: 2px solid white;
  border-radius: 4px;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 20px;
  background-color: white;
  width: fit-content;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  /* smooth hover/active transitions */
}

/* Hover state — text inverts nicely */
.button3:hover {
  color: white;
  background-color: var(--portalThemeColor1);
  border-color: var(--portalThemeColor1);
}

/* Active (pressed) state — subtle “pressed-in” effect */
.button3:active,
.button3.active {
  color: #2a2c2e !important;
  background-color: #f0f0f0 !important;
  border-color: #ccc !important;
  transform: scale(0.98) !important;
  /* gives a tactile click feel */
}

/* Focus state — adds accessibility-friendly outline */
.button3:focus,
.button3.focus {
  outline: 2px solid var(--portalThemeColor1);
  outline-offset: 2px;
}

.button4 {
  background-color: var(--portalThemeColor1);
  /* now filled */
  color: white;
  /* text is white */
  border: 2px solid var(--portalThemeColor1);
  border-radius: 4px;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 20px;
  width: fit-content;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

/* Hover — invert (white background, theme-coloured text) */
.button4:hover {
  background-color: white;
  color: var(--portalThemeColor1);
  border-color: var(--portalThemeColor1);
}

/* Active (pressed) — subtle press */
.button4:active,
.button4.active,
.button4:focus,
.button4.focus {
  background-color: #f0f0f0 !important;
  color: #2a2c2e !important;
  border-color: #ccc !important;
  transform: scale(0.98) !important;
}

/* Secondary Outline Button */
.button5 {
  background-color: transparent;
  color: var(--portalThemeColor1);
  /* green text */
  border: 2px solid var(--portalThemeColor1);
  /* green outline */
  border-radius: 4px;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 20px;
  width: fit-content;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

/* Hover — soft fill */
.button5:hover {
  background-color: rgba(44, 71, 57, 0.10);
  /* light tint of the theme colour */
  color: var(--portalThemeColor1);
  border-color: var(--portalThemeColor1);
}

/* Active — subtle pressed state */
.button5:active,
.button5.active,
.button5:focus,
.button5.focus {
  background-color: rgba(44, 71, 57, 0.25);
  color: var(--portalThemeColor1);
  border-color: var(--portalThemeColor1);
  transform: scale(0.98);
}


th a,
td[data-attribute="wpp_name"] a,
td[data-attribute="wpp_questionresponsename"] a {
  text-decoration: none !important;
}

.sectionTitle {
  background: var(--accent);
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 12px
}

.q-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.25;
  color: #fff
}

.view-grid .dropdown.action>.btn {
  display: none;
}

.view-grid .dropdown.action .dropdown-menu {
  display: block;
  position: static !important;
  position: initial !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  max-width: 95px;
  min-width: 95px;
  width: 95px;
  left: auto !important;
  top: auto !important;
}

.view-grid .dropdown.action .dropdown-menu li {
  display: inline-block;
  text-align: center;
}

.view-grid .dropdown.action .dropdown-menu li a {
  font-size: 0;
  padding: 2px;
  margin: 0;
  text-decoration: none;
}

.view-grid .dropdown.action .dropdown-menu li a>span {
  font-size: 28px;
}

.view-grid .dropdown.action .dropdown-menu li a:hover {
  color: #008C95;
  background: transparent;
  text-decoration: none !important;
}

.table-fixed {
  table-layout: fixed;
}

.table-fixed td {
  overflow: hidden;
  text-overflow: ellipsis;
}

body {
  font-family: "Roboto" !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content-container,
#content,
.mainContent,
.page-content,
.content-wrapper,
.wrapper-body,
.container-body,
form {
  flex: 1 0 auto;
}

h3.form-subgrid-heading {
  font-family: Roboto !important;
}

.hideButton {
  display: none;
}

.save-btn-wrapper {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.save-section-hint {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f8f9fa;
  border-left: 3px solid #023e7c;
  border-radius: 3px;
  color: #444;
  line-height: 1.3;
}

.save-section-hint span {
  display: block;
}


.gb-dashboard-shell {
  /* optional: nothing needed here, just a hook */
}

.gb-page-card {
  margin: 20px auto;
  padding: 26px 26px 18px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* Hero */
.gb-hero {
  text-align: center;
  margin-bottom: 14px;
}

.gb-title {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 6px;
}

.gb-welcome {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 8px;
}

.gb-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}

/* CTA */
.gb-cta {
  display: flex;
  justify-content: center;
  margin: 12px 0 14px;
}

.gb-cta-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #f8f9fa;
}

.gb-cta-left {
  flex: 1;
  text-align: left;
}

.gb-cta-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}

.gb-cta-text {
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

/* "See surveys below" as a clean link-button */
.gb-cta-link {
  border: none;
  background: transparent;
  color: #023e7c;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  padding: 6px 8px;
  cursor: pointer;
}

.gb-cta-link:hover {
  text-decoration: underline;
}

/* Divider */
.gb-divider {
  height: 1px;
  background: #eee;
  margin: 18px 0;
}

/* Section header */
.gb-section-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.gb-section-subtitle {
  margin: 0 0 12px;
  color: #666;
  font-size: 13px;
}

.form-custom-actions .btn {
  margin-top: 0px;
}