/* Guidelines layer. Existing navy and gold colours are unchanged. */

body,
h1, h2, h3, h4, h5, h6,
.font-primary,
.navbar a,
.navbar a:focus,
.navbar ul li a,
.navbar ul li a:focus {
  font-family: "Noto Sans", "Open Sans", sans-serif;
}

#header {
  height: auto;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: 8px;
  transform: translateY(-120%);
  background: #e8bb20;
  color: #052963;
  padding: 8px 12px;
  z-index: 100001;
}

.skip-link:focus {
  transform: none;
}

.gigw-toolbar {
  background: #f4f8fb;
  border-bottom: 1px solid #d7e2ea;
  font-size: 14px;
}

.gigw-toolbar .container {
  gap: 12px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.gigw-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.gigw-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d0a69;
  cursor: pointer;
  text-decoration: none;
}

.gigw-icon-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

.gigw-icon-sep {
  width: 1px;
  height: 18px;
  background: #b7b7b7;
}

.gigw-access {
  position: relative;
  z-index: 1001;
}

.gigw-access-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1000;
  width: 430px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 80px);
  overflow: auto;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  padding: 16px 16px 18px;
  color: #1d0a69;
}

.gigw-access-panel[hidden],
.gigw-bhashini-note[hidden] {
  display: none !important;
}

.gigw-access-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1d0a69;
}

.gigw-access-label {
  margin: 12px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #1d0a69;
}

.gigw-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gigw-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 12px 8px;
  border: 1px solid #ece7f4;
  border-radius: 12px;
  background: #fff;
  color: #1d0a69;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.gigw-tool i {
  font-size: 26px;
  line-height: 1;
}

.gigw-tool-mark {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.gigw-tool[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22a045 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.2 3.4 8.4l1.1-1.1 1.7 1.7 4.3-4.3 1.1 1.1z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.gigw-bhashini-note {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10000;
  width: 240px;
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #150202;
  font-size: 13px;
}

.bhashini-plugin-container {
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
}

.bhashini-plugin-container:has(.bhashini-dropdown-btn) #gigw-bhashini-fallback {
  display: none !important;
}

.bhashini-dropdown-btn-icon {
    width: 24px;
}

.bhashini-plugin-container .bhashini-dropdown-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
}

.bhashini-plugin-container .bhashini-dropdown-content {
  z-index: 10000;
}

.gigw-toolbar .gigw-search {
  display: flex;
  align-items: center;
  width: 200px;
  height: 34px;
  margin-right: 8px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-bottom: 3px solid #1d0a69;
  border-radius: 10px;
  overflow: hidden;
}

.gigw-toolbar .gigw-search input {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0 4px 0 12px;
  background: transparent;
  color: #150202;
  outline: none;
}

.gigw-toolbar .gigw-search input::placeholder {
  color: #9aa0a6;
}

.gigw-toolbar .gigw-search input::-webkit-search-decoration,
.gigw-toolbar .gigw-search input::-webkit-search-cancel-button,
.gigw-toolbar .gigw-search input::-webkit-search-results-button {
  -webkit-appearance: none;
  appearance: none;
}

.gigw-toolbar .gigw-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #150202;
  cursor: pointer;
}

.gigw-page .gigw-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 520px;
  margin-bottom: 16px;
}

.gigw-page .gigw-search label {
  flex: 1 0 100%;
  margin: 0;
  font-weight: 600;
}

.gigw-page .gigw-search input {
  width: 280px;
  max-width: 100%;
  height: 38px;
  border: 1px solid #052963;
  padding: 6px 10px;
  background: #fff;
  color: #150202;
}

.gigw-page .gigw-search button {
  height: 38px;
  padding: 6px 14px;
  border: 1px solid #052963;
  background: #fff;
  color: #052963;
  cursor: pointer;
}

.gigw-pause,
.gigw-cookie button {
  border: 1px solid #052963;
  background: #fff;
  color: #052963;
  padding: 4px 8px;
  cursor: pointer;
}

.gigw-font-sm { font-size: 87.5%; }
.gigw-font-lg { font-size: 125%; }

html.gigw-links a {
  background: #fff3a0 !important;
  color: #000 !important;
  text-decoration: underline !important;
  outline: 2px solid #1d0a69;
}

html.gigw-invert {
  filter: invert(1);
}

html.gigw-saturate {
  filter: saturate(3);
}

html.gigw-spacing,
html.gigw-spacing body,
html.gigw-spacing p,
html.gigw-spacing li,
html.gigw-spacing a,
html.gigw-spacing td,
html.gigw-spacing th {
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}

html.gigw-line,
html.gigw-line body,
html.gigw-line p,
html.gigw-line li,
html.gigw-line td,
html.gigw-line th {
  line-height: 2 !important;
}

html.gigw-hide-images img {
  visibility: hidden !important;
}

html.gigw-big-cursor,
html.gigw-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4 L8 40 L18 32 L24 44 L30 41 L24 29 L36 29 Z' fill='%231d0a69' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 6 4, auto !important;
}

html.gigw-contrast,
html.gigw-contrast body,
html.gigw-contrast #header,
html.gigw-contrast main,
html.gigw-contrast #footer,
html.gigw-contrast #footer .footer-top {
  background: #000 !important;
  color: #fff !important;
}

html.gigw-contrast a,
html.gigw-contrast .gigw-skip,
html.gigw-contrast .navbar a,
html.gigw-contrast #footer .footer-top .footer-links ul a,
html.gigw-contrast #footer .footer-top .footer-info p,
html.gigw-contrast #footer .credits {
  color: #ff0 !important;
}

html.gigw-contrast .navbar,
html.gigw-contrast .gigw-toolbar {
  background: #000 !important;
  border-bottom: 1px solid #fff;
}

html.gigw-contrast input,
html.gigw-contrast select,
html.gigw-contrast textarea {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.mobile-nav-toggle:focus-visible {
  outline: 3px solid #e8bb20;
  outline-offset: 2px;
}

.scrolled-offset {
  margin-top: var(--gigw-header-h, 220px) !important;
}

main#main {
  scroll-margin-top: var(--gigw-header-h, 220px);
}

main#main:focus {
  outline: none;
}

.blink,
.blink-notice {
  animation: none;
}

.gigw-page h2:not(.heading),
.gigw-page .h2:not(.heading) {
  font-size: 1.4rem !important;
  line-height: 1.4;
  overflow-wrap: break-word;
}

@media (min-width: 1200px) {
  .gigw-page h2:not(.heading),
  .gigw-page .h2:not(.heading) {
    font-size: 1.2rem !important;
  }
}

.gigw-page p,
.gigw-page li {
  line-height: 1.6;
}

.gigw-updated {
  color: #444;
  font-size: 14px;
}

.gigw-pause {
  margin: 0 0 8px 0;
}

.gigw-logo-slider {
  position: relative;
  padding-top: 36px;
}

.gigw-logo-pause {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1d0a69;
  color: #fff;
  cursor: pointer;
}

.gigw-logo-pause .gigw-icon-play {
  display: none;
}

.gigw-logo-pause[aria-pressed="true"] .gigw-icon-pause {
  display: none;
}

.gigw-logo-pause[aria-pressed="true"] .gigw-icon-play {
  display: block;
}

#hero {
  position: relative;
}

.hero-pause {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1d0a69;
  color: #fff;
  cursor: pointer;
}

.hero-pause .gigw-icon-play {
  display: none;
}

.hero-pause[aria-pressed="true"] .gigw-icon-pause {
  display: none;
}

.hero-pause[aria-pressed="true"] .gigw-icon-play {
  display: block;
}

.gigw-cookie[hidden] {
  display: none !important;
}

.gigw-cookie:not([hidden]) {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100000;
  background: #052963;
  color: #fff;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.gigw-cookie p {
  margin: 0;
}

.gigw-cookie button {
  background: #e8bb20;
  color: #052963;
  border-color: #e8bb20;
  white-space: nowrap;
}

/* DBIM functional colours. Deep blue is the key colour. Navy and gold controls use these values. */
body {
  color: #150202;
  background: #fff;
}

a {
  color: #0d6efd;
}

a:hover {
  color: #0a58ca;
}

.navbar,
.bg-primary {
  background: #1d0a69 !important;
}

#footer {
  background: #1d0a69;
}

#footer .footer-top {
  background: #12064a;
  border-bottom-color: #ffc107;
}

.navbar ul li a:hover,
.navbar ul li a.active,
.navbar li.dropdown ul li a:hover,
.navbar li.dropdown ul li a.active {
  color: #150202;
  background: #ffc107;
}

.badge-warning,
.back-to-top {
  background: #ffc107;
  color: #150202;
}

.back-to-top i,
.badge-warning,
.badge-warning:hover {
  color: #150202;
}

.btn-primary {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

.btn:hover {
  color: #150202 !important;
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
}

caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: #150202;
  padding: 0 0 8px 0;
}

@media print {
  .gigw-toolbar,
  .gigw-cookie,
  .back-to-top,
  .mobile-nav-toggle,
  #hero,
  .footer-logos {
    display: none !important;
  }

  body,
  #footer,
  #footer .footer-top {
    background: #fff !important;
    color: #000 !important;
  }

  a {
    color: #000 !important;
  }
}

@media (max-width: 768px) {
  #header {
    height: auto;
  }

  header .right_logo {
    display: flex;
    align-items: center;
  }

  header .right_logo img {
    height: 48px;
  }

  .gigw-toolbar .container,
  .gigw-tools,
  .gigw-cookie {
    flex-wrap: wrap;
  }

  .gigw-toolbar .gigw-search {
    width: 200px;
  }

  .scrolled-offset {
    margin-top: var(--gigw-header-h, 260px) !important;
  }
}
