:root {
  --acg-deep-blue: #01438c;
  --acg-light-blue: #e8effb;
  --acg-red: #de152a;
  --acg-light-grey: #ecf0f1;
  --acg-dark-grey: #464c5e;
}

/* ----- Fonts ----- */

@font-face {
  font-family: "Open Sans";
  src:
    url("OpenSans-Light.woff2") format("woff2"),
    url("OpenSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src:
    url("OpenSans-Regular.woff2") format("woff2"),
    url("OpenSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src:
    url("OpenSans-Medium.woff2") format("woff2"),
    url("OpenSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src:
    url("OpenSans-SemiBold.woff2") format("woff2"),
    url("OpenSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src:
    url("OpenSans-Bold.woff2") format("woff2"),
    url("OpenSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src:
    url("OpenSans-ExtraBold.woff2") format("woff2"),
    url("OpenSans-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.fw-100 {
  font-weight: 100 !important;
}
.fw-200 {
  font-weight: 200 !important;
}
.fw-300 {
  font-weight: 300 !important;
}
.fw-400 {
  font-weight: 400 !important;
}
.fw-500 {
  font-weight: 500 !important;
}
.fw-600 {
  font-weight: 600 !important;
}
.fw-700 {
  font-weight: 700 !important;
}
.fw-800 {
  font-weight: 800 !important;
}
.fw-900 {
  font-weight: 900 !important;
}

/* ----- Helpers ----- */

.bg-primary {
  background-color: var(--acg-deep-blue) !important;
}
.bg-secondary {
  background-color: var(--acg-light-blue) !important;
}
.bg-dark {
  background-color: var(--acg-dark-grey) !important;
}
.bg-light {
  background-color: var(--acg-light-grey) !important;
}
.text-primary {
  color: var(--acg-deep-blue) !important;
}
.text-secondary {
  color: var(--acg-red) !important;
}

.shadow-lg {
  box-shadow: 7px 7px var(--acg-deep-blue) !important;
}

.shadow-md {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
}

.shadow-sm {
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px !important;
}
.container {
  max-width: 1280px !important;
}

html {
  font-family: "Open Sans", Arial, sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  margin: 0;
}

body {
  padding-top: 0px;
  margin: 0;
  height: 100%;
  font-family: "Open Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  color: unset;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-weight: 400 !important;
}

h1 {
  font-size: 3.125rem !important;
  letter-spacing: -1px !important;
}

h2 {
  font-size: 2.25rem !important;
}

h3 {
  font-size: 2rem !important;
}

h4 {
  font-size: 1.5rem !important;
}

h5 {
  font-size: 1.25rem !important;
}

h6 {
  font-size: 1rem !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 0px !important;
  margin-bottom: 32px !important;
}

.underline {
  color: var(--acg-deep-blue);
  font-weight: 700;
  border-bottom: 3px solid var(--acg-red);
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

body,
legend {
  color: var(--acg-dark-grey) !important;
}

p,
li {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--acg-dark-grey) !important;
}

p:has(br):empty,
p:has(> br:only-child) {
  display: none;
}

p + h2,
ul + h2 {
  margin-top: 2rem !important;
}

li.ql-indent-1 {
  margin-left: 2.5rem;
  list-style-type: circle;
}

.nav-pills > li > a {
  line-height: 24px;
  font-size: 0.875rem;
  font-weight: 400;
  min-width: 100px;
  text-align: center;
  color: #141414;
  transition: all 0.3s;
  padding: 5px 50px !important;
  border: 2px solid var(--acg-deep-blue);
  border-radius: 5px;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  background-color: #f2f2f2;
  color: #302ce1;
}

.tab-title {
  display: none;
}

.border-primary {
  border-color: var(--acg-deep-blue) !important;
}

a {
  color: #302ce1;
}

a:not(.btn):hover {
  text-decoration: underline !important;
}

a.knowledge-article-card:hover {
  text-decoration: none !important;
}

[role="navigation"] a,
[role="contentinfo"] a,
.toolbar a,
a.list-group-item {
  text-decoration: none;
}

a:hover,
a:focus {
  color: #302ce1;
  text-decoration: underline;
}

.breadcrumb > .active {
  color: var(--acg-dark-grey);
  font-weight: bold;
}

.page-header {
  border-bottom: 0px;
}

@media (max-width: 767px) {
  .text_center-mobile {
    text-align: center;
  }
}

/* ----- IMAGE ----- */

.img-frame {
  position: relative;
  display: inline-block;
}

.img-frame::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--acg-deep-blue); /* Single blue color */
  transform: rotate(-4deg);
  z-index: -1;
}

/* ----- BUTTONS ----- */
.btn {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 0px;
}

.btn.disabled:not(.btn-primary.disabled),
fieldset:disabled .btn {
  background-color: transparent !important;
}

.btn-primary {
  background-color: var(--acg-deep-blue) !important;
  border-color: var(--acg-deep-blue) !important;
  border-radius: 6px !important;
  padding: 12px 40px !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  border-width: 2px;
}

.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: #ffffff !important;
}

.btn-outline-primary {
  background-color: transparent !important;
  border-color: var(--acg-deep-blue) !important;
}

.btn-primary:hover {
  color: #ffffff !important;
}

.button2:focus,
.button2.focus,
.button2:focus-visible,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:focus-visible,
.btn-default:focus,
.btn-default.focus,
.btn-default:focus-visible {
  color: #ffffff !important;
  background-color: var(--acg-dark-grey) !important;
  border-color: var(--acg-dark-grey) !important;
}

.input-group-btn .btn-default,
.input-group .btn-secondary {
  padding: 10px 16px !important;
}

.entitylist-filter .btn-entitylist-filter-submit {
  background-color: var(--acg-deep-blue) !important;
  border-color: var(--acg-deep-blue) !important;
  border-radius: 6px !important;
  padding: 10px 18px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  border: 2px solid var(--acg-deep-blue);
}

.btn-outline-primary,
.btn-default {
  border: 2px solid var(--acg-deep-blue);
  border-width: 2px !important;
  color: var(--acg-deep-blue) !important;
  font-size: 1.125rem !important;
  padding: 12px 40px !important;
  font-weight: 500 !important;
  border-color: var(--acg-deep-blue) !important;
  border-radius: 6px !important;
}

.btn-outline-primary:hover,
.btn-default:hover {
  color: #ffffff !important;
  border-color: var(--acg-dark-grey) !important;
  background-color: var(--acg-dark-grey) !important;
}

.entitylist-filter .btn-entitylist-filter-clear {
  border: 2px solid var(--acg-deep-blue);
  color: var(--acg-deep-blue) !important;
  font-size: 0.875rem !important;
  padding: 10px 18px !important;
  font-weight: 500 !important;
  border-color: var(--acg-deep-blue) !important;
  border-radius: 6px !important;
  margin-left: 5px;
}

.entitylist-filter .btn-entitylist-filter-clear:hover {
  color: #ffffff !important;
  border-color: var(--acg-dark-grey) !important;
  background-color: var(--acg-dark-grey) !important;
}

.entitylist-filter .btn-entitylist-filter-clear:focus {
  color: #ffffff !important;
  border-color: var(--acg-dark-grey) !important;
  background-color: var(--acg-dark-grey) !important;
}

.entitylist-filter .btn-entitylist-filter-submit:hover {
  color: #ffffff !important;
  border-color: var(--acg-deep-blue) !important;
  background-color: var(--acg-deep-blue) !important;
}

.btn-info {
  border-radius: 2px;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 20px;
  width: fit-content;
  border-style: solid;
}

.btn-get-touch {
  padding: 12px 40px;
  background: var(--acg-red);
  color: white;
  text-decoration: none;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-get-touch:hover,
.btn-get-touch:focus {
  background: var(--acg-red) !important;
  color: white !important;
}

.btn-link {
  font-size: 20px !important;
  font-weight: 500 !important;
  border: none;
  background-color: transparent;
  color: var(--acg-deep-blue);
  padding: 30px 0px;
  text-decoration: none;
}

.btn-link .fa.fa-arrow-right {
  font-size: 24px;
  vertical-align: middle;
}

.breadcrumb > li a {
  color: #302ce1;
  padding: 2px 4px;
}
.breadcrumb > li a:hover {
  color: #302ce1;
}

.pagination > li > a,
.pagination > li > span {
  background-color: transparent;
  border: 0px;
  margin-left: 10px;
  width: 40px;
  height: 40px;
  text-align: center;
}

.pagination > li:first-child > a:hover,
.pagination > li:first-child > span:hover {
  background: none;
}

.pagination > li:last-child > a:hover,
.pagination > li:last-child > span:hover {
  background: none;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
  background-color: transparent;
  border-color: transparent;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  border-color: transparent;
  border-radius: 50%;
  border: solid 1px;
}

.pagination {
  padding-left: 0;
  margin: 21px 0;
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  overflow: unset !important;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  color: #fff;
  background-color: #232222;
  cursor: default;
}

.pagination > li > a,
.pagination > li > span {
  border: 0px;
  width: 50px;
  height: 50px;
  text-align: center;
  position: relative;
  float: left;
  padding: 7px;
  line-height: 32px;
  color: #666;
}

.pagination > li > a:focus {
  box-shadow: none;
  outline: 5px auto -webkit-focus-ring-color;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover {
  background-color: var(--acg-deep-blue) !important;
}
/* ----- Navbar ----- */

.navbar-brand {
  padding: 8px;
  line-height: 37px;
}

.navbar-nav > li > a {
  padding: 15px 20px !important;
  font-size: 1.125rem !important;
}

.navbar-nav .nav-item.dropdown > a {
  color: #004389 !important;
  font-size: 1.125rem !important;
  padding: 15px 0px !important;
  margin: 0px 20px;
  text-decoration: none !important;
  border-bottom: 2px solid transparent !important;
}

.navbar-toggler {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav > .dropdown > a:hover,
.nav > .dropdown > a:focus {
  background-color: transparent !important;
}

.skip-to-content a {
  padding: 10px 20px;
  position: absolute;
  top: -43px;
  left: 0px;
  color: #ffffff;
  border-radius: 2px;
  background: #742774;
  -webkit-transition: top 1s ease-out;
  transition: top 1s ease-out;
  z-index: 100;
  font-family: Segoe UI;
  font-size: 14px;
}

.skip-to-content a:focus {
  position: absolute;
  left: 0px;
  top: 0px;
  outline: none;
  color: #ffffff;
  -webkit-transition: top 0.1s ease-in;
  transition: top 0.1s ease-in;
}

@media screen and (-ms-high-contrast: active) {
  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:hover,
  .nav-tabs > li.active > a:focus {
    border-bottom: 0px;
  }

  .nav-tabs > li > a {
    border: 0px;
  }

  .navbar-dark .navbar-nav .show.dropdown-menu > li > a:hover,
  .navbar-dark
    .navbar-nav
    .show.dropdown-menu
    > li
    > a:focus
    .navbar-dark
    .navbar-nav
    .show.dropdown-menu
    > .active
    > a,
  .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:hover,
  .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:focus {
    border: 1px solid;
  }

  .facet-list-group-item {
    margin: 1px;
    border: 0px;
  }
}

.nav-item .dropdown-toggle::after {
  border-top: 0.2em solid;
  border-right: 0.2em solid transparent;
  border-bottom: 0;
  border-left: 0.2em solid transparent;
}

.nav > li > a:hover,
.nav > li > a:focus {
  background-color: #f2f2f2;
}

.nav .show.dropdown-menu {
  background-color: #ffffff;
}

.nav .show.dropdown-menu > li > a {
  color: black;
}

.nav > .dropdown > a .nav > .dropdown > a:hover,
.nav > .dropdown > a:focus {
  background-color: #f2f2f2;
}

.nav .show.dropdown-menu > .active > a,
.nav .show.dropdown-menu > .active > a:hover,
.nav .show.dropdown-menu > .active > a:focus,
.nav .show.dropdown-menu > li > a:hover,
.nav .show.dropdown-menu > li > a:focus {
  background-color: #f2f2f2;
  color: black;
}

.dropdown-menu {
  border-radius: 0;
  border: none;
  padding: 1.25rem;
}

.dropdown-menu li {
  margin-bottom: 8px;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  padding: 4px 16px;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent !important;
  color: var(--cavello-green);
}

a.dropdown-item:hover span.dropdown-underline {
  border-bottom: 2px solid var(--cavello-orange);
}

span.dropdown-underline:hover {
  border-bottom: 2px solid var(--cavello-orange);
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
  padding: 4px 16px;
  outline: 2px solid rgba(0, 0, 0, 0.15);
  border: none;
}

.dropend .dropdown-toggle::after {
  position: absolute;
  right: 4px;
  top: 12px;
  color: var(--cavello-orange);
}

.dropend:hover .dropdown-toggle::after {
  transform: rotate(90deg);
  transition: transform 0.1s ease;
}

/* Mega Menu Styles */
.mega-menu {
  position: static !important;
}

.mega-menu .dropdown-menu {
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  border-radius: 0;
  margin-top: 0;
  min-width: 600px;
}

.mega-menu-text-content,
.mega-menu-link-content {
  padding: 3.5rem 2.5rem;
}

.mega-menu-text-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.mega-menu-text-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu .dropdown-item {
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.mega-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  padding-left: 1.5rem;
}

.dropdown-underline {
  position: relative;
  display: inline-block;
}

.dropdown-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #dc3545;
  transition: width 0.3s ease;
}

.dropdown-item:hover .dropdown-underline::after {
  width: 100%;
}

/* NAV MEGA MENU */

/* Hide text content if no description snippet exists */
.mega-menu-text-content:empty {
  display: none;
}

/* Adjust column layout when text content is hidden */
.mega-menu-content:has(.mega-menu-text-content:empty) .mega-menu-links,
.mega-menu-content:has(.mega-menu-text-content > *:empty) .mega-menu-links {
  max-width: 100%;
}

/* Ensure mega menu works on mobile */
@media (max-width: 991px) {
  .mega-menu .dropdown-menu {
    position: relative !important;
    width: 100% !important;
    transform: none !important;
    left: 0 !important;
    min-width: auto;
  }

  .mega-menu-content {
    padding: 1.5rem;
  }

  .mega-menu-text-content,
  .mega-menu-link-content {
    padding: 0px !important;
    margin-bottom: 0rem;
  }
}

/* Expandable Search Input */
.expandable-search-container {
  position: relative;
  display: inline-block;
}

.expandable-search-form {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.expandable-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.expandable-search-input {
  background-color: transparent;
  border: none;
  border-radius: 15px;
  color: var(--acg-dark-grey);
  cursor: pointer;
  font-size: 15px;
  height: 30px;
  outline: none;
  transition: all 0.3s ease;
  width: 30px;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* Remove browser's native clear button */
.expandable-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.expandable-search-input::-moz-search-clear-button {
  appearance: none;
}

.expandable-search-input:focus,
.expandable-search-input.expanded {
  border: 2px solid var(--acg-deep-blue);
  border-radius: 30px;
  cursor: text;
  height: 54px;
  line-height: 1.6;
  padding: 0 75px 0 18px; /* More padding on right for both clear and submit buttons */
  width: 300px;
}

.expandable-search-input::placeholder {
  color: transparent;
  transition: color 0.3s ease 0.1s;
}

.expandable-search-input:focus::placeholder,
.expandable-search-input.expanded::placeholder {
  color: #ccc;
}

.search-icon {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--acg-deep-blue);
  cursor: pointer;
  z-index: 3;
  font-size: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.search-icon:focus {
  outline: 2px solid var(--acg-deep-blue);
  outline-offset: 2px;
}

.search-icon:hover {
  background-color: rgba(255, 80, 0, 0.1);
}

.expandable-search-input:focus + .search-icon,
.expandable-search-input.expanded + .search-icon {
  opacity: 0;
  pointer-events: none;
}

/* Custom clear button */
.search-clear-btn {
  position: absolute;
  right: 44px; /* Position to the left of submit button */
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--acg-red);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
  padding: 5px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 50%;
}

.search-clear-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.search-clear-btn:hover {
  color: #ff4444;
  background-color: rgba(255, 255, 255, 0.1);
}

.expandable-search-input:focus ~ .search-clear-btn,
.expandable-search-input.expanded ~ .search-clear-btn {
  opacity: 1;
}

/* Hide clear button when input is empty */
.search-clear-btn.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

.search-submit-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--acg-deep-blue);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
  padding: 5px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.search-submit-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.search-submit-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.expandable-search-input:focus ~ .search-submit-btn,
.expandable-search-input.expanded ~ .search-submit-btn {
  opacity: 1;
}

/* Hide menu items when search is expanded */
.menu-bar.nav-search-active
  .weblinks
  > li:not(:has(.expandable-search-container)):not(:has(.btn-get-touch)) {
  display: none;
}

/* Form */
textarea {
  resize: none !important;
  width: 100% !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
}

textarea:not(textarea[readonly="readonly"]) {
  min-height: 120px !important;
  resize: vertical !important;
}

textarea.form-control {
  padding: 18px 24px !important;
}

.crmEntityFormView .form-control.readonly,
.crmEntityFormView .form-control[readonly][disabled],
.form-readonly .form-control {
  background-color: var(--acg-light-grey) !important;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1)
  ) !important;
  color: var(--acg-dark-grey) !important;
  border: 2px solid var(--acg-light-grey) !important;
}

select.form-control,
select.form-control,
.select2-container--default .select2-selection--single {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='black' d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/></svg>");
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position-x: calc(100% - 13px);
  background-position-y: center;
}

select.form-control:focus,
select.form-control:focus {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/></svg>");
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position-x: calc(100% - 13px);
  background-position-y: center;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 42px !important;
}

.table-info.required:has(
    + .control input[readonly],
    + .control input[disabled]
  )::after,
.table-info.required:has(+ .control input[readonly], + .control input[disabled])
  label::after {
  display: none !important;
}

.form-select[readonly="readonly"],
input.form-control[readonly="readonly"],
textarea.form-control[readonly="readonly"],
.form-select[readonly],
input.form-control[readonly],
textarea.form-control[readonly] {
  background-color: var(--acg-light-blue) !important;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1)
  ) !important;
  color: var(--acg-deep-blue) !important;
  border: 2px solid var(--acg-deep-blue) !important;
}

.tab-column fieldset legend {
  font-size: 1.25rem;
  color: var(--acg-deep-blue) !important;
  border-bottom: none;
  padding-left: 0.5rem;
  font-weight: 500;
}

.form-control:focus {
  border-color: rgba(1, 68, 139, 0.6);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.075) inset,
    0 0 8px rgba(1, 68, 139, 0.4);
  outline: 0 none;
}

.crmEntityFormView .control input#emailaddress1 {
  display: block !important;
}

.crmEntityFormView .control input#emailaddress1 ~ .control a {
  display: none !important;
}

.crmEntityFormView .control input#acg_emailaddress {
  display: block !important;
  text-decoration: none !important;
}

.crmEntityFormView .control input#acg_emailaddress ~ .control a {
  display: none !important;
}

div.control div.text-muted[aria-hidden="true"] {
  display: none !important;
}

.input-group-btn .btn-default,
.input-group .btn-secondary {
  padding: 10px 16px !important;
  background-color: #ffffff !important;
}

.input-group-btn .btn-default:hover,
.input-group-btn .btn-default:focus,
.input-group-btn .btn-default:active,
.input-group .btn-secondary:hover,
.input-group .btn-secondary:focus,
.input-group .btn-secondary:active {
  background-color: #ffffff !important;
  color: #004389 !important;
}

.entitylist-search .form-control:focus {
  box-shadow: 0 0 0 0.25rem #2e96ff !important;
}

/* Modal */

/* Fixes the dropdown being behind the image card */
@media only screen and (min-width: 576px) {
  #content-container {
    max-width: unset;
  }
}

@media only screen and (max-width: 767px) {
  h1.modal-title {
    font-size: 1.625rem !important;
  }
}

.modal-header {
  padding: 1rem 3.5rem;
}

.modal-header .modal-title {
  margin-top: 0;
}

.modal-body {
  padding: 2rem 3rem;
}

.modal-footer {
  border-top: none !important;
}

@media only screen and (max-width: 767px) {
  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-body {
    padding: 2rem 1.5rem;
  }
}

.form-close {
  position: static !important;
}

.form-close :focus-visible {
  outline: none !important;
}

/* HOMEPAGE STYLING */
.services-swiper .swiper-wrapper .swiper-slide {
  height: auto; /* Allows the slide to match the tallest sibling */
  display: flex; /* Makes the slide a flex container */
  justify-content: center; /* Ensures content is centered if needed */
}

/* Search Page Styling */

html[data-id="/search"]
  .expandable-search-input:not(.navbar .expandable-search-input) {
  color: var(--cavello-green);
}

html[data-id="/search"]
  .expandable-search-input:not(.navbar .expandable-search-input) {
  color: var(--cavello-green);
}

html[data-id="/search"]
  .expandable-search-input:not(.navbar .expandable-search-input):focus,
.expandable-search-input:not(.navbar .expandable-search-input).expanded {
  border: 2px solid var(--cavello-green);
}

html[data-id="/search"] .search-submit-btn:not(.navbar .search-submit-btn) {
  color: var(--cavello-green);
}

html[data-id="/search"] .section-landing-search .row {
  --bs-gutter-x: 0rem;
}

html[data-id="/search"] .row.sectionBlockLayout > .container,
html[data-id="/search"] .row.sectionBlockLayout > .container-md,
html[data-id="/search"] .row.sectionBlockLayout > .container-sm {
  max-width: 1200px;
}

html[data-id="/search"] #mainContent > div {
  display: none;
}

html[data-id="/search"] #mainContent {
  margin-top: 30px;
}

html[data-id="/search"] .search-results .summary,
.search-results h2 {
  font-size: 1rem !important;
}

html[data-id="/search"] .page-heading ~ .container :first-child {
  margin-bottom: 5rem;
}

.search-filters {
  margin-right: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.search-filters.show {
  opacity: 1;
  pointer-events: auto;
}

/* Terms of use page styling */

.sidebar {
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}
.sidebar-link {
  color: #666;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  transition: all 0.3s ease;
}
.sidebar-link:hover {
  color: var(--acg-deep-blue) !important;
  border-left-color: var(--acg-deep-blue) !important;
}
.sidebar-link.active {
  color: var(--acg-deep-blue) !important;
  border-left-color: var(--acg-deep-blue) !important;
  font-weight: 600 !important;
}
.content-section {
  scroll-margin-top: 2rem;
}
.section-title {
  color: var(--acg-deep-blue);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Mobile styles */
@media (max-width: 991.98px) {
  .sidebar-column {
    display: none;
  }

  .sidebar-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 1050;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 1.5rem;
  }

  .sidebar-wrapper.show {
    left: 0;
  }

  .sidebar {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
  }

  /* Mobile overlay */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
  }

  .mobile-overlay.show {
    display: block;
  }

  /* Mobile toggle button */
  .toc-button {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--acg-deep-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1030;
    border: none;
    font-size: 1.5rem;
  }

  .close-sidebar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
  }
}

/* Filter dropdown styling to match the theme */
.search-filters .btn {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 15px;
  padding: 5px 15px;
  font-size: 14px;
}

.search-filters .btn:hover,
.search-filters .btn:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.search-filters .dropdown-menu {
  background-color: #444;
  border: 1px solid #666;
  border-radius: 10px;
  margin-top: 5px;
}

.search-filters .dropdown-item {
  color: #fff;
  padding: 8px 15px;
}

.search-filters .dropdown-item:hover,
.search-filters .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Hide the hidden select */
.btn-select {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .expandable-search-input:focus,
  .expandable-search-input.expanded {
    width: 250px;
  }
}

@media (max-width: 480px) {
  .expandable-search-input:focus,
  .expandable-search-input.expanded {
    width: 200px;
    padding: 0 65px 0 18px;
  }

  .search-clear-btn {
    right: 30px;
  }
}

.menu-bar .shopping_link {
  position: relative;
}

.menu-bar .shopping_link .cart_amount {
  border-radius: 100%;
  height: 17px;
  width: 17px;
  position: absolute;
  bottom: 6px;
  right: -6px;
  background-color: #2f5fef;
  text-align: -webkit-center;
  line-height: 17px;
  font-size: 9px;
  padding-left: 1.9px;
  color: #fff;
}

.menu-bar .shopping_link .cart_amount:hover {
  color: #fff;
}

@media (max-width: 1199px) {
  .fixed-top .navbar-collapse .nav > .divider-vertical {
    display: none;
  }
}

@media (max-width: 1199px) {
  .static-top .navbar-collapse .nav > .divider-vertical {
    display: none;
  }
}

@media (max-width: 767px) {
  .fixed-top.navbar > .container > .row > div {
    display: block;
  }

  .navbar-header {
    position: relative;
  }
}

@media (max-width: 767px) {
  .static-top.navbar > .container > .row > div {
    display: block;
  }

  .navbar-header {
    position: relative;
  }
}

/* TECHNOLOGY PAGE STYLING */

#techTabs .tech-tab.active {
  background-color: rgb(0 67 137) !important;
  color: rgb(255 255 255) !important;
  border-radius: 20px !important;
  border: 2px solid rgb(0 67 137) !important;
}
#techTabs .tech-tab:not(.active) {
  background-color: rgb(255 255 255) !important;
  color: rgb(102, 102, 102) !important;
  border: 2px solid rgb(0 67 137);
  border-radius: 20px !important;
}
#techTabs .tech-tab:focus,
#techTabs .tech-tab:focus-visible {
  box-shadow: 0 0 0 0.25rem #2e96ff !important;
  border: 2px solid #004386 !important;
  outline: none !important;
}
.tech-icon-box {
  background-color: #ffffff;
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  /* Remove border from the element itself */
  border: none !important;
  z-index: 1;
}

/* Create the box border with ::after */
.tech-icon-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid var(--acg-deep-blue);
  z-index: -1;
  border-radius: 2rem;
}
/* Bottom triangle with ::before */
.tech-icon-box::before {
  content: "";
  position: absolute;
  left: calc(50% - 12px);
  bottom: -11px;
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  /* Create a bottom pointing outline triangle */
  transform: rotate(45deg);
  border-right: 3px solid var(--acg-deep-blue);
  border-bottom: 3px solid var(--acg-deep-blue);
  border-top: none;
  border-left: none;
  z-index: 2;
}

/* .technology-card:hover img {
  filter: hue-rotate(2.5rad);
} */

.technology-card:hover a {
  text-decoration: none !important;
}

@media (max-width: 767px) {
  body {
    padding-top: 0px;
  }
}

footer {
  position: relative;
  color: #22221e;
}

footer p,
footer a {
  font-size: 16px !important;
  color: #ffffff !important;
}

footer .footer-top {
  width: 100%;
  min-height: 130px;
  background-color: #232222;
  display: flex;
  align-items: center;
}

footer .footer-top h3,
footer .footer-top h4 {
  color: #fff;
}

footer .footer-top .list-social-links {
  margin-top: 25px;
  margin-bottom: 12.5px;
}

@media screen and (max-width: 991px) {
  footer .footer-top h3,
  footer .footer-top .list-social-links {
    text-align: center;
  }
}

footer .footer-bottom {
  width: 100%;
  background-color: #1c2e4f !important;
}

footer .footer-bottom p {
  margin: 0;
  color: #fff;
}

footer .footer-bottom h4 {
  margin-top: 0;
  color: #fff;
}

footer .footer-bottom ul {
  list-style-type: none;
  margin: 0;
}

footer .footer-bottom ul li a,
footer .footer-bottom ul li a:hover,
footer .footer-bottom ul li a:focus,
footer .footer-bottom ul li a:active,
footer .footer-bottom ul li a.active {
  font-size: 15px;
  color: #fff;
}

#navbar .dropdown-search {
  padding-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 9px;
}

#navbar .dropdown-search #q {
  min-width: 200px;
}

@media (max-width: 1199px) {
  #navbar .dropdown-search .input-group-btn {
    vertical-align: top;
  }

  #navbar .dropdown-search #search-filter {
    width: 100%;
    text-align: left;
    padding-left: 25px;
  }

  #navbar .dropdown-search.dropdown-menu > li:hover,
  #navbar .dropdown-search .dropdown-menu > li:hover {
    color: white;
    background-color: transparent;
  }
}

.dropdown-search.dropdown-menu > li:hover {
  background-color: transparent;
}

#navbar .form-search .dropdown-menu {
  margin-top: 0px;
}

#filterDropdownId > .dropdown-menu > li > a:focus {
  border: 1px solid;
}

#filterDropdownId > a:focus {
  border: 1px solid;
}

.crmEntityFormView,
.entitylist,
.modal-content,
.popover-content {
  border: none !important;
}

.crmEntityFormView,
.entitylist {
  background-color: transparent !important;
}

.crmEntityFormView label {
  background-color: transparent !important;
}

/* Fix for Column Padding */

@media only screen and (min-width: 768px) {
  .crmEntityFormView {
    margin-left: -10px;
    margin-right: -10px;
  }

  [id*="EntityFormControl"] .crmEntityFormView .cell,
  [id*="WebFormControl"] .crmEntityFormView .cell,
  .RadCaptcha_Default:not(
    html[data-id="/account/login/register"] .RadCaptcha_Default
  ) {
    padding: 4px 8px !important;
  }

  [id*="EntityFormControl"] .validation-summary,
  [id*="WebFormControl"] .validation-summary {
    margin-left: 10px;
    margin-right: 10px;
  }

  [id*="WebFormControl"] .section-title h3,
  [id*="WebFormControl"] .section-title h2 {
    margin: 0px !important;
  }

  [id*="WebFormControl"] .crmEntityFormView .actions {
    margin: 15px;
  }

  .crmEntityFormView .section-title {
    padding: 0 15px;
  }
}

[id*="WebFormControl"] .crmEntityFormView .actions {
  border-top: none !important;
  padding: 20px 0 0 0 !important;
}

html[dir="ltr"] .msos-selected-display-item {
  margin: 4px 2px !important;
}

html[dir="ltr"] [id*="EntityFormControl"] .msos-selected-display-item {
  margin: 4px 2px !important;
}

html[dir="ltr"] .crmEntityFormView .cell input[type="text"],
html[dir="ltr"] .crmEntityFormView .cell select,
html[dir="ltr"] .crmEntityFormView .cell textarea {
  float: none !important;
}

.crmEntityFormView label {
  color: var(--acg-dark-grey) !important;
  margin-bottom: 0.5rem !important;
  font-weight: 600;
}

.form-control {
  background-color: #ffffff !important;
  color: #566c80 !important;
  padding: 0.625rem 1.25rem;
  border: 2px solid var(--acg-deep-blue) !important;
  border-radius: 26px;
  height: 54px;
  font-weight: 500;
}

.form-select,
input.form-control,
.form-select,
.form-control,
.crmEntityFormView .select2-container--default .select2-selection--single {
  padding: 10px 2.25rem 10px 1.5rem !important;
}

.form-control:not([readonly]):not(.query):focus {
  border: none !important;
  box-shadow: none !important;
  background-color: var(--acg-deep-blue) !important;
  color: #ffffff !important;
}

.input-group .form-control:focus + .btn-secondary {
  background-color: #004389 !important;
  color: #ffffff !important;
}

.input-group .form-control:focus::-webkit-input-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.input-group .form-control:focus::-moz-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.input-group .form-control:focus:-ms-input-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.form-control[readonly]:focus {
  outline: none !important;
}

.crmEntityFormView .actions {
  border-top: none;
}

html[dir="ltr"] .crmEntityFormView .tab .tab-column {
  padding-left: 0px !important;
}

/* Fix for Recaptcha positioning */

/* Target the paragraph containing both input and label */
.RadCaptcha p {
  display: flex;
  flex-direction: column;
}

/* Ensure label appears first */
.RadCaptcha p label {
  order: -1;
  margin-top: 20px;
}

/* Keep input styling intact */
.RadCaptcha p input {
  order: 1;
  width: 180px;
  padding: 0.625rem 1.25rem;
  border: 2px solid var(--acg-deep-blue) !important;
  border-radius: 20px;
  height: 44px;
}

.RadCaptcha p input:focus {
  outline: 1px solid var(--acg-deep-blue) !important;
  background-color: var(--acg-deep-blue) !important;
  color: #ffffff !important;
}

.RadCaptcha p label:after {
  content: " *";
  color: red;
}

/* Swiper */

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 50px;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 9px;
}

.swiper-pagination-bullet {
  width: 30px;
  height: 30px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--acg-deep-blue) !important;
}

/* End of Swiper */

/* Custom */

.decoded-html h1,
.decoded-html h2 {
  color: var(--acg-deep-blue);
}

.decoded-html p,
.decoded-html ul li {
  color: #566573;
}

.decoded-html section {
  margin-bottom: 3rem;
}

select.form-control,
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='black' d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/></svg>");
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position-x: calc(100% - 13px);
  background-position-y: center;
}

/* Partner and Accreditation Page */
.partner-section .image-wrapper,
.accreditation-section .image-wrapper {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  /* Remove border from the element itself */
  border: none !important;
  background-color: #ffffff;
  z-index: 1;
}

/* Create the box border with ::after */
.partner-section .image-wrapper::after,
.accreditation-section .image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid var(--acg-deep-blue);
  z-index: -1;
  border-radius: 2rem;
}

/* Right triangle with ::before */
.image-wrapper.triangle-right::before {
  content: "";
  position: absolute;
  left: -11px;
  top: calc(50% - 12px);
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  /* Create an outline triangle */
  transform: rotate(45deg);
  border-left: 3px solid var(--acg-deep-blue);
  border-bottom: 3px solid var(--acg-deep-blue);
  border-top: none;
  border-right: none;
  z-index: 0;
}

/* Left triangle with ::before */
.image-wrapper.triangle-left::before {
  content: "";
  position: absolute;
  right: -11px;
  top: calc(50% - 12px);
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  /* Create an outline triangle */
  transform: rotate(-45deg);
  border-right: 3px solid var(--acg-deep-blue);
  border-bottom: 3px solid var(--acg-deep-blue);
  border-top: none;
  border-left: none;
  z-index: 0;
}

/* Mobile styles */
@media (max-width: 991px) {
  /* Hide side triangles on mobile */
  .image-wrapper.triangle-right::before,
  .image-wrapper.triangle-left::before {
    display: none;
  }

  /* Add bottom triangle for ALL image wrappers on mobile */
  .partner-section .image-wrapper::before,
  .accreditation-section .image-wrapper::before {
    content: "";
    position: absolute;
    left: calc(50% - 12px);
    top: 287px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    /* Create a bottom pointing outline triangle */
    transform: rotate(45deg);
    border-right: 3px solid var(--acg-deep-blue);
    border-bottom: 3px solid var(--acg-deep-blue);
    border-top: none;
    border-left: none;
    z-index: 0;
    display: block;
  }
}
/* End of Partner and AccreditationPage */

/* Testimonials */

/* Testimonial quote styling */
.testimonials-swiper .testimonial-container {
  position: relative;
  margin-bottom: 20px;
  padding-left: 40px; /* Add padding to accommodate the opening quote */
  display: block; /* Changed from flex to block */
}

.testimonials-swiper .testimonial-quote {
  position: relative;
  line-height: 1.7;
  text-align: left;
  margin: 0;
  display: inline;
}

/* Quote icons styling */
.testimonials-swiper .quote-icon {
  width: 30px;
  height: 30px;
  fill: var(--acg-red);
}

/* Opening quote positioning */
.testimonials-swiper .quote-open {
  position: absolute;
  left: 0;
  top: 0;
}

/* Closing quote positioning - updated for better positioning */
.testimonials-swiper .quote-close {
  position: relative;
  display: inline-block;
  width: 24px; /* Slightly smaller */
  height: 24px; /* Slightly smaller */
  margin-left: 4px;
  top: 6px;
  transform: rotate(180deg);
}

/* Attribution styling */
.testimonials-swiper .testimonial-attribution {
  margin-top: 15px;
  text-align: right;
}

.testimonials-swiper .testimonial-name {
  margin: 0;
  color: var(--acg-red);
  font-weight: 700;
}

.testimonials-swiper .testimonial-role {
  margin: 0;
}

/* Swiper container styling */
.testimonials-swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 60px;
}

.testimonials-swiper .swiper-slide {
  display: flex;
  align-items: stretch;
  height: auto;
}

.testimonials-swiper .card {
  width: 100%;
  transition: transform 0.3s ease;
}

.testimonials-swiper .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
}

.testimonials-swiper .card-title {
  margin-bottom: 1rem;
}

.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
  color: var(--acg-deep-blue);
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background-color: var(--acg-deep-blue);
}

/* Add some margin to the button to push it to the bottom of the card */
.testimonials-swiper .btn {
  margin-top: auto;
}

/* End of Testimonials */

/* ----- GENERAL ----- */

.page-header h1 {
  font-size: 24px;
  font-weight: normal;
  color: var(--acg-deep-blue);
}
.wrapper-body {
  min-height: calc(100% - 500px) !important;
}

/* ----- Alerts ----- */

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
}

.alert-danger p {
  color: #842029 !important;
}

/* ----- LISTS ----- */

.entitylist-filter-option-text {
  width: 220px;
}

/* ----- COOKIE CONTROL ----- */

.termsfeed-com---nb-simple {
  max-width: 100% !important;
  width: 100% !important;
}
.termsfeed-com---palette-light .cc-nb-okagree,
.termsfeed-com---palette-light .cc-cp-foot-save {
  background-color: var(--acg-deep-blue) !important;
}
.termsfeed-com---palette-light .cc-nb-okagree:focus,
.termsfeed-com---palette-light .cc-nb-changep:focus,
.termsfeed-com---palette-light .cc-cp-foot-save:focus {
  box-shadow: none !important;
}
.termsfeed-com---palette-light .cc-pc-head-close:active,
.termsfeed-com---palette-light .cc-pc-head-close:focus {
  border: 2px solid var(--acg-deep-blue) !important;
}
.cc-pc-head-title-text {
  display: none;
}

/* Jameel style for Support Dashboard Page */

/* 1) Action-menu dropdown (the small chevron button) */
/* Smooth feel */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  button.btn.btn-default.btn-md[aria-label="action menu"][data-bs-toggle="dropdown"] {
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    filter 0.15s ease,
    box-shadow 0.15s ease;
}
/* On hover/focus/open: show brand blue */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  button.btn.btn-default.btn-md[aria-label="action menu"][data-bs-toggle="dropdown"]:hover,
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  button.btn.btn-default.btn-md[aria-label="action menu"][data-bs-toggle="dropdown"]:focus,
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  button.btn.btn-default.btn-md[aria-label="action menu"][data-bs-toggle="dropdown"]:active,
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .show
  > button.btn.btn-default.btn-md[aria-label="action menu"][data-bs-toggle="dropdown"] {
  background-color: var(--acg-deep-blue);
  color: #fff;
  border-color: var(--acg-deep-blue);
  filter: brightness(0.92);
  box-shadow: 0 0 0 0.2rem rgba(21, 96, 159, 0.25);
}
/* Make the icon match the text colour */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  button.btn.btn-default.btn-md[aria-label="action menu"][data-bs-toggle="dropdown"]
  .fa {
  color: inherit;
}

/* 2) Top toolbar */
/* Make all action buttons (except Export) use the grey brand style */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  a.btn.float-end.action:not(.entitylist-download) {
  font-size: 1rem !important;
  padding: 10px 18px !important;
}
/* Place the toolbar correctly over the grid */
/* body[data-sitemap-state="/support/dashboard/:/support/:/"]
  #dashboard-cases
  .view-toolbar.grid-actions.clearfix {
  position: absolute;
  top: -105px;
  width: 100%;
  left: 0;
} */

a.dashboard-menu {
  font-size: 20px !important;
}

/* Export area sizing + spacing */

.entitylist-filter .entitylist-filter-option-text .input-group-text {
  display: none;
}

#entitylist-filters ~ .float-end {
  float: left !important;
}

body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .input-group.ms-auto.float-end {
  display: table;
  width: auto;
}
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .entitylist-download.btn.btn-info.float-end.action {
  margin-left: 10px;
}

/* Stronger header links */
body[data-sitemap-state="/support/dashboard/:/support/:/"] .sort-enabled a {
  color: var(--acg-dark-grey);
  font-weight: 800;
}
/* Links in rows */
body[data-sitemap-state="/support/dashboard/:/support/:/"] tbody a {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
}

/* Remove Bootstrap’s inner cell shadow */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .table
  > :not(caption)
  > *
  > * {
  box-shadow: inset 0 0 0 0 var(--bs-table-accent-bg);
}
/* Unify table borders */
body[data-sitemap-state="/support/dashboard/:/support/:/"] tbody,
body[data-sitemap-state="/support/dashboard/:/support/:/"] td,
body[data-sitemap-state="/support/dashboard/:/support/:/"] tfoot,
body[data-sitemap-state="/support/dashboard/:/support/:/"] th,
body[data-sitemap-state="/support/dashboard/:/support/:/"] thead,
body[data-sitemap-state="/support/dashboard/:/support/:/"] tr {
  border-color: var(--acg-deep-blue);
}
/* General colours for table/inputs/menus */
body[data-sitemap-state="/support/dashboard/:/support/:/"] .table-striped,
body[data-sitemap-state="/support/dashboard/:/support/:/"] .table-info,
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .table-striped
  > tbody
  > tr:nth-of-type(odd)
  > *,
body[data-sitemap-state="/support/dashboard/:/support/:/"] .form-control:focus,
body[data-sitemap-state="/support/dashboard/:/support/:/"] .dropdown-menu,
body[data-sitemap-state="/support/dashboard/:/support/:/"] .datepicker button {
  color: var(--acg-dark-grey);
}
/* Dropdown menu popover look */
body[data-sitemap-state="/support/dashboard/:/support/:/"] .dropdown-menu {
  border: 2px solid var(--acg-deep-blue);
  background-color: #e8effb;
  padding: 1.25rem;
  text-decoration: underline;
  border-radius: 8px;
}

/* 5) Pagination */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .pagination
  > .active
  > a,
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .pagination
  > .active
  > a:focus,
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .pagination
  > .active
  > a:hover {
  background-color: var(--acg-deep-blue) !important;
}
body[data-sitemap-state="/support/dashboard/:/support/:/"] .pagination {
  --bs-pagination-color: var(--acg-dark-grey);
  --bs-pagination-disabled-border-color: #dee2e600;
  --bs-pagination-disabled-bg: #dee2e600;
  --bs-pagination-disabled-color: var(--acg-dark-grey);
  justify-content: flex-end;
}

/* 6) Filters strip */
/* Title text */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  a.selected-view.dropdown-toggle
  .title {
  color: var(--acg-dark-grey);
  font-size: 16px;
}
/* Make focus/hover obvious */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .selected-view.dropdown-toggle:focus,
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .selected-view.dropdown-toggle:hover {
  outline: 5px auto var(--acg-deep-blue);
  background-color: #ffff;
}

/* Export button (brand outline) */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  a.entitylist-download.btn.btn-info.float-end.action {
  color: var(--acg-dark-grey);
  background-color: #fff;
  border-color: var(--acg-dark-grey);
  border-radius: 8px;
}

/* Filter label text */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .entitylist-filter-option-group-label {
  font-size: 16px !important;
  color: var(--acg-dark-grey) !important;
}
/* Filter group card */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  li.entitylist-filter-option-group.list-inline-item {
  border-radius: 8px;
}

body[data-sitemap-state="/support/dashboard/:/support/:/"] .input-group-text {
  background-color: var(--acg-deep-blue);
  color: #fff;
}
/* Filter icon is white on blue */
body[data-sitemap-state="/support/dashboard/:/support/:/"] .fa.fa-filter {
  color: #fff;
}

.entitylist-filter.card {
  border: 0;
  margin-bottom: 40px;
}

.entitylist-filter {
  background-color: transparent !important;
}

.entitylist-filter.card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--acg-light-grey);
  padding: 40px 0px 40px 0px;
  border-radius: 2rem;
}

body[data-sitemap-state="/support/dashboard/:/support/:/"]
  a.selected-view.dropdown-toggle
  span.fa-list {
  display: none !important;
}
/* Items inside the view dropdown */
body[data-sitemap-state="/support/dashboard/:/support/:/"]
  .view-select
  .dropdown-item {
  color: var(--acg-deep-blue) !important;
}

.input-group
  > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(
    .valid-feedback
  ):not(.invalid-tooltip):not(.invalid-feedback) {
  border-top-left-radius: 26px !important;
  border-bottom-left-radius: 26px !important;
}

.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3),
.input-group:not(.has-validation)
  > .form-floating:not(:last-child)
  > .form-control,
.input-group:not(.has-validation)
  > .form-floating:not(:last-child)
  > .form-select,
.input-group:not(.has-validation)
  > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(
    .form-floating
  ) {
  border-top-right-radius: 26px !important;
  border-bottom-right-radius: 26px !important;
}

/* Search button (blue block, white text) */
.input-group-btn.align-top > .btn.btn-default {
  outline: none;
  position: absolute;
  right: 4px;
  z-index: 999;
  border: none;
  bottom: 3px;
  border-radius: 50px !important;
}

.input-group .btn-secondary {
  outline: none;
  position: absolute;
  right: 4px;
  z-index: 999;
  border: none;
  bottom: 3px;
  border-radius: 50px !important;
}

.input-group .btn-outline-secondary {
  position: absolute;
  right: 50px; /* Adjust based on your search button width */
  z-index: 999;
  border: none;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #6c757d;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.input-group .btn-outline-secondary:hover {
  background: transparent;
  color: #000;
}

/* Timeline box spacing */
body[data-sitemap-state="/support/create-case/:/support/:/"]
  fieldset[aria-label="Timeline"] {
  margin-bottom: 45px;
}

/* Tables (no stripes; grey text; no visible borders) */
.table {
  border: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-accent-bg: transparent;
}

.table.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: transparent;
  vertical-align: middle;
}

.table.table-striped tbody tr td:last-child {
  min-width: 80px !important;
  text-align: right !important;
}

table .btn-primary,
table .btn-danger,
table .btn-outline-primary {
  font-size: 0.875rem !important;
  padding: 6px 12px !important;
  min-width: 56px !important;
}

.table .dropdown.action {
  display: none;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #ffffff !important;
}

.table-striped > tbody > tr:nth-of-type(even) {
  background-color: #ffffff !important;
}

.table > :not(caption) > * > * {
  padding: 0.5rem !important;
}

.table > thead {
  background-color: var(--acg-deep-blue) !important;
}

.grid-actions {
  border-bottom: none;
}

.entitylist table th a,
.entity-grid table th a,
table th {
  font-weight: 600 !important;
  color: #ffffff !important;
  font-size: 0.813rem !important;
}

.entitylist table tr,
.entity-grid table tr {
  font-size: 0.813rem !important;
}

#entitylist-filters .form-control,
.entitylist .form-control {
  height: 54px;
}

.form-loading {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -100%) !important;
}

/* Profile Page Redirect Styling */
body[data-sitemap-state="/profile/:/"] {
  display: none !important;
}

/* Support Page */

.support-commit {
  border-left: 6px solid var(--acg-red);
  border-radius: 0;
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.support-commit .bi {
  font-size: 1.4rem;
  color: var(--acg-red);
}
.support-commit strong {
  color: var(--acg-deep-blue);
}

/* Outline-only button (no fill) */
.support-access-section .btn-outline {
  border: 2px solid var(--acg-deep-blue);
  color: var(--acg-deep-blue);
  background: transparent;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  margin-top: 1rem;
  display: inline-block;
}

.support-access-section .btn-outline:hover {
  background: var(--acg-deep-blue);
  color: #fff;
}

/* ----------------------------------------
   Login
---------------------------------------- */

html[data-id="/signin"] .col-md-6,
html[data-id="/register"] .col-md-6,
html[data-id="/account/login/register"] .col-md-6 {
  margin: 2rem 0rem 7rem 0rem;
}

html[data-id="/signin"] .portal-form,
/* html[data-id="/register"] .portal-form, */
html[data-id="/account/login/register"] .portal-form,
html[data-id="/account/login/forgotpassword"] .portal-form {
  margin: 2rem 0rem 7rem 0rem;
  display: none;
}

html[data-id="/signin"]
  form[action="/Account/Login/ExternalLogin?ReturnUrl=%2F"] {
  display: none;
}

html[data-id="/account/login/forgotpassword"] .forgot-password-heading:focus {
  outline: none !important;
  box-shadow: none !important;
}

html[data-id="/signin"] .nav.nav-tabs.nav-account,
html[data-id="/account/login/register"] .nav.nav-tabs.nav-account,
html[data-id="/register"] .nav.nav-tabs.nav-account {
  display: none;
}

.login-heading-section,
.forgot-password-heading {
  border-bottom: none !important;
  color: var(--acg-deep-blue) !important;
  font-size: 36px !important;
}

/* HERO STYLING */

.hero-section {
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: #ffffff25;
}

/* White column with SVG curve on the right edge */
.hero-content-wrapper .text-column-wrapper {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* SVG curve overlay on right edge */
.hero-content-wrapper .text-column-wrapper::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 0;
  bottom: 0;
  width: 1920px;
  background-image: url("/acg-swirl.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 300;
  color: #003d7a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: 2rem;
  font-weight: 300;
  color: #e31e24;
  margin-bottom: 2.5rem;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 0;
    min-height: auto;
  }

  .hero-content-wrapper {
    min-height: auto;
    flex-direction: column;
  }

  .hero-content-wrapper .text-column-wrapper {
    min-height: 600px;
    position: relative;
    z-index: 2;
  }

  /* Rotate swirl to bottom on mobile */
  .hero-content-wrapper .text-column-wrapper::after {
    right: auto;
    left: 0;
    top: 32px;
    width: 100%;
    height: 100vw;
    transform: rotate(-90deg) translateX(-36vh);
  }

  .hero-text h1 {
    font-size: 2.5rem !important;
  }

  .hero-text h2 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero-text h1 {
    font-size: 2rem !important;
  }

  .hero-text h2 {
    font-size: 1.25rem !important;
  }
}

@media (min-width: 992px) {
  .nav > .dropdown > a:hover,
  .nav > .dropdown > a:focus {
    border-bottom: 2px solid #e4192f !important;
  }
}
