.govuk-generic-header__logo {
  width: auto;
  float: left;
}
.govuk-generic-header .search-header .gem-c-search__item-wrapper .gem-c-search__submit {
  background-color: #0b0c0c;
}

/*
 * not_govuk sub-theme overrides.
 *
 * This is for services that use GOV.UK Frontend but are not part of GOV.UK.
 * It avoids GOV.UK branding by replacing the font and brand colours.
 */

/* Use a non-GDS Transport font stack. */
html,
body,
button,
input,
textarea,
select,
p,
h1,h2,h3,h4,
.govuk-body,
.govuk-service-navigation__link,
.govuk-footer__link,
.govuk-footer__licence-description {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Generic header: non-GOV.UK brand colour. */
.govuk-generic-header {
  border-bottom: 0;
}

.govuk-generic-header__container {
  border-bottom: 0;
}

.govuk-generic-header__homepage-link,
.govuk-generic-header__homepage-link:link,
.govuk-generic-header__homepage-link:visited {
  color: #ffffff;
  text-decoration: none;
}

.govuk-generic-header__homepage-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

/* Keyboard focus should remain strong and GOV.UK-style accessible. */
.govuk-generic-header__homepage-link:focus {
  color: #0b0c0c;
  background-color: #ffdd00;
  box-shadow: 0 -2px #ffdd00, 0 4px #0b0c0c;
  outline: 3px solid transparent;
  text-decoration: none;
}

/* Generic service name styling. */
.govuk-generic-header__service-name {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

/* If your page still outputs GOV.UK header classes anywhere, de-brand them too. */
.govuk-header {
  background: #1d70b8;
  border-bottom: 0;
}

.govuk-header__container {
  border-bottom: 0;
}

.govuk-header__link,
.govuk-header__link:link,
.govuk-header__link:visited,
.govuk-header__service-name,
.govuk-header__service-name:link,
.govuk-header__service-name:visited {
  color: #ffffff;
}

/* Remove the crown/logotype area if it is accidentally output. */
.govuk-header__logotype,
.govuk-header__logotype-crown {
  display: none;
}

/* Links: use the same non-GOV.UK brand colour. */
.govuk-link,
.govuk-link:link,
.govuk-link:visited,
a,
a:link,
a:visited {
  color: #1d70b8;
}

.govuk-link:hover,
a:hover {
  color: #003078;
}

.govuk-link:focus,
a:focus {
  color: #0b0c0c;
  background-color: #ffdd00;
  box-shadow: 0 -2px #ffdd00, 0 4px #0b0c0c;
  outline: 3px solid transparent;
  text-decoration: none;
}

/* Buttons: replace GOV.UK green with the same brand colour. */
.govuk-button {
  background-color: #1d70b8;
  box-shadow: 0 2px 0 #003078;
}

.govuk-button:hover {
  background-color: #175a93;
}

.govuk-button:active {
  background-color: #175a93;
  box-shadow: none;
}

.govuk-button:focus {
  border-color: #ffdd00;
  color: #0b0c0c;
  background-color: #ffdd00;
  box-shadow: 0 2px 0 #0b0c0c;
}

/* Service navigation / main navigation, if used below the generic header. */
.govuk-service-navigation {
  border-bottom: 1px solid #b1b4b6;
}

.govuk-service-navigation__link,
.govuk-service-navigation__link:link,
.govuk-service-navigation__link:visited {
  color: #1d70b8;
}

.govuk-service-navigation__link:hover {
  color: #003078;
}

.govuk-service-navigation__link:focus {
  color: #0b0c0c;
}

/* Current navigation item. */
.govuk-service-navigation__item--active,
.govuk-service-navigation__item--active .govuk-service-navigation__link {
  font-weight: 700;
}

/* Footer: remove GOV.UK crest/logo if present. */
.govuk-footer__copyright-logo {
  display: none;
}

.govuk-footer {
  border-top: 1px solid #b1b4b6;
}

/* Cookie banner: keep accessible, but avoid GOV.UK-branded colour assumptions. */
.govuk-cookie-banner {
  border-bottom: 2px solid #b1b4b6;
}

/* Phase banner tag / tags: avoid GOV.UK blue if these appear. */
.govuk-tag {
  background-color: #1d70b8;
  color: #000;
}

/* Panels and notification banners: de-brand blue areas. */
.govuk-panel--confirmation {
  background: #1d70b8;
}

.govuk-notification-banner {
  border-color: #1d70b8;
  background-color: #1d70b8;
}

.govuk-notification-banner__header {
  background-color: #1d70b8;
}

/* Details component marker/link. */
.govuk-details__summary {
  color: #1d70b8;
}

.govuk-details__summary:hover {
  color: #003078;
}