@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,500;6..12,600;6..12,700&display=swap');

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font: 1em "Nunito Sans", sans-serif;
  margin: 0;
  min-height: 100%;
}

@media screen and(min-width: 600px) {
  html {
    font-size: 0.9em;
  }
}

@media screen and(min-width: 960px) {
  html {
    font-size: 1em;
  }
}

body {
  margin: 0;
  height: auto;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  top: 0px !important;
}

div[class="skiptranslate"] {
  display: none;
}

/* Removed when switching from sticky header to fixed
#mainContent {
  height: 80%;
} */

/* noOutlineOnFocus - Removes the outline given to an element when on focus */
.NoOutlineOnFocus:focus,
body:focus {
  display: flex;
  outline: none;
}

/* Text */

h1,
.H1,
h2,
.H2,
h3,
.H3,
h4,
.H4,
h5,
.H5,
h6,
.H6,
.Body1,
.Body2,
button,
Button,
a,
Link {
  font-family: "Nunito Sans", sans-serif;
}

h1,
.H1,
h2,
.H2,
h3,
.H3,
h4,
.H4,
h5,
.H5,
h6 {
  line-height: normal;
}

h1,
.H1,
h2,
.H2,
.Body1,
.Body2,
a,
Link {
  font-weight: normal;
}

h3,
.H3,
h4,
.H4,
h5,
.H5,
h6,
.H6,
button,
Button {
  font-weight: bold;
}

h1,
.H1 {
  font-size: 3rem;
  font-weight: 400;
}

h2,
.H2 {
  font-size: 2.25rem;
  font-weight: 400;
}

h3,
.H3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4,
.H4 {
  font-size: 1.25rem;
  font-weight: 700;
}

h5,
.H5,
.Body1 {
  font-size: 18px;
}

h6,
.H6,
.Body2,
button,
Button,
a,
Link {
  font-size: 16px;
}

p,
ul {
  font-size: 1.125rem !important;
  font-weight: 400 !important;

}

/* Links */

a {
  color: var(--portalThemeColor4);
  word-break: break-word;
  font-size: 1.125rem;
}

a,
a:visited {
  text-decoration: none;
}

a:visited {
  color: #006e84;
}

a:hover,
a:focus,
a:active {
  color: #096f48;
  text-decoration: underline;
}

.footer a {
  color: var(--portalThemeColor10);
}

a:focus {
  outline: 3px transparent solid !important;
  box-shadow: 0 0 0 2px var(--portalThemeColor11), 0 0 0 4px #333, 0 0 2px 8px var(--portalThemeColor11) !important;
}

a.logoLinkOutlineOnFocus:focus {
  display: inline-block;
}


/* Inputs */
.form-control:focus,
.btn:focus,
.crmEntityFormView .form-control.readonly:focus,
button.wpcb-btn:focus {
  outline: 3px transparent solid !important;
  box-shadow: 0 0 0 2px var(--portalThemeColor11), 0 0 0 4px #333, 0 0 2px 8px var(--portalThemeColor11) !important;
}

/* making sure focused elements can be seen (not hidden out of page or behind navbar) */
.navbar.navbar-inverse.navbar-static-top~* *:focus {
  scroll-margin: calc(var(--navBarHeight, 6.5em) + 1em) -4em 0 -4em;
}

body:focus,
input[type=radio]:focus,
.NoOutlineOnFocus:focus {
  outline: none !important;
  box-shadow: none !important;
}


.btn.btn-default,
.btn.btn-default:hover,
.btn-default:not(.gjs-selected):hover,
.btn-default:not(.gjs-selected):active {
  background-color: white;
  color: var(--portalThemeColor4);
  border-color: var(--portalThemeColor4);
}

.form-search .btn.btn-default,
.form-search .btn.btn-primary {
  height: 35px;
  font-size: 15px;
}

.btn.btn-primary {
  background-color: var(--portalThemeColor4);
  color: white;
}

.btn:focus,
.button:focus,
.btn:hover,
.button:hover {
  filter: brightness(80%);
}

.btn[disabled],
.button[disabled] {
  background-color: var(--portalThemeColor4);
  filter: brightness(50%);
}

.btn[disabled]:focus,
.button[disabled]:focus,
.btn[disabled]:hover,
.button[disabled]:hover {
  background-color: var(--portalThemeColor4);
  filter: brightness(30%);
}

.btn::selection,
.button::selection {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
}

/* Header */

.skip-to-content {
  left: calc(50% - 5.285em);
}

.skip-to-content a {
  background-color: var(--portalThemeColor8);
  left: inherit;
}

.skip-to-content a:focus {
  left: inherit;
  border: none;
}

.header-container {
  margin-top: 0.3em;
}

.siteTitle.custom-sitetitle {
  padding: 0px;
  margin: 10px;
}

.navbar-static-top.navbar-inverse .navbar-brand a p,
.navbar-static-top.navbar-inverse .navbar-brand a h1,
.navbar-static-top.navbar-inverse .navbar-brand a h2,
.navbar-static-top.navbar-inverse .navbar-brand a h3,
.navbar-static-top.navbar-inverse .navbar-brand a h4,
.navbar-static-top.navbar-inverse .navbar-brand a h5,
.navbar-static-top.navbar-inverse .navbar-brand a span {
  display: block;
}

.navbar {
  position: fixed;
  width: 100%;
  top: -1px;
  z-index: 2;
}

.navbar-expand-xl.navbar.navbar-dark.static-top {
  padding: 0em 3em;

}

/* Navbar animation code */
@keyframes expandNavBar {
  from {
    height: 86px;
  }

  to {
    height: 236px;
  }
}

@keyframes collapseNavBar {
  from {
    height: 236px;
  }

  to {
    height: 86px;
  }
}


/* This fixes a header bug related to the expandable mobile menu  */
.navbar:has(div > div button.navbar-toggle.collapsed),
.navbar-expand-xl.navbar.navbar-dark.static-top:has(button.navbar-toggler.collapsed),
.navbar-expand-xl.navbar.navbar-dark.static-top:has(button.navbar-toggler.custom-navbar-toggler.collapsed) {
  height: 86px;
  /* 85px + 1px offset because of the `top: -1px` on .navbar */
  animation-name: collapseNavBar;
  animation-duration: 0.35s;
  animation-timing-function: ease;
}

/* Medium devices (1200px or less) */
@media only screen and (max-width: 1199.5px) {
  .navbar-expand-xl.navbar.navbar-dark.static-top:has(button.navbar-toggler.custom-navbar-toggler) {
    height: 236px;
    animation-name: expandNavBar;
    animation-duration: 0.35s;
    animation-timing-function: ease;
  }

  .static-top .navbar-collapse .nav>.divider-vertical {
    display: none;
  }
}

.static-top .container.custom-container {
  display: contents;
}

.navbar li,
.footer li {
  margin-top: 0rem;
  margin-bottom: 0rem;
}

.private-mode-banner {
  z-index: auto;
  min-height: auto;
}

.icon-logo {
  background-image: url(/rbkc-logo.svg);
  background-repeat: no-repeat;
}

.identity__logo {
  height: 45px;
  max-width: 100%;
  width: 264px;
}

.icon {
  background-position: center center;
  background-size: contain;
  display: block;
  height: 2.25rem;
  width: 2.25rem;
}

/*To fix WCC footer image in place*/
span.icon.icon-logo.identity__logo.header-logo-dimensions {
  position: inherit;
}

.header-logo-dimensions {
  display: block;
  height: 54px;
  width: 317px;
  position: fixed;
}

.navbar-right {
  padding-top: 0.8em;
}

.navbar-inverse .navbar-toggle {
  margin-top: 1.2em;
}

.navbar-inverse .navbar-nav>li>a,
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover {
  color: var(--portalThemeColor10);
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,
.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,
.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover {
  background-color: var(--portalThemeColor1);
  color: var(--portalThemeColor10);
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
  color: var(--portalThemeColor10);
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
  border: 0px;
  padding: 3px 20px;
}

.navbar-nav .open .dropdown-menu>li>a,
.navbar-nav .open .dropdown-menu>.active>a,
.navbar-nav .open .dropdown-menu .dropdown-header {
  margin: 0px 5px;
}

/* Scroll Container */
.scrollContainer {
  overflow: auto;
  width: 100%;
  margin-top: 85px;
  height: calc(100vh - 85px);
  display: flex;
  flex-direction: column;
}

.scrollContainer .wrapper-body {
  min-height: auto;
}

.scrollContainer .page-content.container {
  overflow: initial;
}

/* Footer */

.footer {
  margin-top: auto;
}

footer .footer-bottom {
  background-color: #F9F9F9 !important;
  padding: 1.5em 0;
}

footer .footer-bottom .container {
  margin: 0;
  padding: 0;
  width: 100vw !important;
  max-width: none;
  overflow: hidden !important;
}

footer .footer-bottom .container .row {
  margin: 0;
}

footer .footer-bottom .container .row>div:first-child {
  max-width: none;
  margin: 0;
  align-items: center;
}

.footer_rbkc_logo_crest {
  width: 3em;
  height: 3em;
}

.footer__colophon,
footer .footer-bottom .container p {
  color: black;
  font-size: 14px !important;
}

.footer-container {
  /* display: flex; */
  justify-content: space-between;
  flex-wrap: wrap;
  /* padding: 1em 0em; */
  gap: 4em;

  display: block;
  width: 100vw;
  padding: 0 5em;
}

.footer-container .footer__secondary {
  padding: 0.5em 0;
  margin-top: 1.5em;
}

.footer__menu .inline-menu {
  height: 2.2em;
}

.footer__social .social-menu__item {
  margin-right: 1em;
}

.footer__social .social-menu__item .social-menu__link {
  width: 32px;
  height: 32px;
}

.footer__social .social-menu__item .social-menu__link:hover,
.footer__social .social-menu__item .social-menu__link:focus {
  /* fill: #e50051; */
  /* fill replaced by complex filter */
  filter: invert(10%) sepia(92%) saturate(6002%) hue-rotate(330deg) brightness(95%) contrast(113%);
}


.footer-container .footer__social {
  margin-top: 1.5rem;
}

.rbkc-logo-crest {
  background-image: url(/rbkc-logo-crest.svg);
  background-repeat: no-repeat;
}

.rbkc-facebook {
  background-image: url(/rbkc-facebook.svg);
  background-repeat: no-repeat;
}

.rbkc-twitter {
  background-image: url(/rbkc-twitter.svg);
  background-repeat: no-repeat;
}

.rbkc-youtube {
  background-image: url(/rbkc-youtube.svg);
  background-repeat: no-repeat;
}

.rbkc-instagram {
  background-image: url(/rbkc-instagram.svg);
  background-repeat: no-repeat;
}








.footer-left_section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2em;
}

.footer-left_section>span {
  padding-left: 0.6em;
}

ul.footer-central_section {
  columns: 2;
  margin-top: 1em;
}

ul.footer-central_section li {
  padding: 0.2rem 0 0.75rem;
}

.footer-right_section {
  align-self: center;
}

/* Selection Highlighting */

::selection {
  background-color: var(--portalThemeColor11) !important;
  color: #333 !important;
  text-shadow: none !important;
}

/* Search Page */

.search-results {
  padding-bottom: 4rem;
}

/* Scrollbar-y no longer appears when the search dropdown button (left) is expanded */
.section-landing-search .container {
  overflow: visible !important;
}

/* Align search bar with the breadcrumbs and text below */
.section-landing-search .col-md-12.columnBlockLayout {
  padding: 16px 0px;
}

/* Ensure skip-to-content link maintains text colour */
.skip-to-content a {
  color: #ffffff;
}

/* View List Pages */

.table>thead>tr>th,
.table>tbody>tr>td {
  border-top: none;
  border-bottom: 0.1em solid #b1b4b6;
}

/* This prevents the table from going "off-bounds", instead a y-scrollbar 
appears if the screen is not big enough to show the table */
div.container:not(.header-container) {
  overflow: auto;
}

/* This specificaly targets the T&C section so it doesn't get hidden behind the footer on mobile */
div#content-container:has(div div section#terms-and-conditions-section) {
  overflow: initial;
}

/* Overflow of the Table can't be hidden, or else the scroll-margin-top on focus does not
 work for the elements within it (needed so that elements aren't hidden behind the navbar when focused) */
/* .view-grid.table-responsive {
  overflow: auto;
} */

.grid-actions {
  border-bottom: none;
}

.entitylist {
  border: none;
}

.pagination>li>a:hover {
  color: var(--portalThemeColor8);
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
  background-color: var(--portalThemeColor1) !important;
  border-radius: unset;
  border-color: var(--portalThemeColor1) !important;
}

.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
  background-color: var(--portalThemeOnColor8);
}

.pagination>li>a,
.pagination>li>span {
  background-color: white;
}

/* Ensure row links maintain text colour */
a.details-link.has-tooltip:visited {
  color: #096f48;
}

.dropdown-menu>li>a {
  color: #096f48;
}

.dropdown-menu>li>a:hover {
  color: #096f48;
  text-decoration: underline;
}

/* E-forms Landing Page (Sign-In or continue without an account) */

.panels-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1em;
}

.choice-panel {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;

  height: auto;
  margin: 1em;

  border: 1px solid #ddd;
  border-width: 1px;
  border-radius: 10px;

  background-color: #f8f8f8;
}

@media only screen and (max-width: 992px) {
  .choice-panel {
    width: 100%;
    max-width: 35em;
  }
}

@media only screen and (min-width: 992px) {
  .choice-panel {
    min-width: 10em;
    width: calc(50% - 2em);
  }
}

.info-wrapper {
  margin: 0 1em 1em 1em;
}

.choice-wrapper {
  padding: 0.375em 0.75em;
  margin: 0.75em;
  text-align: center;
  font-size: 1.25em;
  width: auto;
}

/* My requests page */

.submittedCasesAnchor,
.savedCasesAnchor {
  display: inherit;
  width: fit-content;
  width: -moz-fit-content;
}

.submittedCasesAnchor h3,
.savedCasesAnchor h3 {
  color: inherit;
}

.submittedCasesWrapper,
.savedCasesWrapper {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.revealList {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
}

/* E-forms */

/* Align toast icon correctly*/
.toast.info .icon {
  display: inherit;
}

/* File upload control icons are now green instead of default blue*/
i.mdi.mdi-upload,
i.mdi-file.file-icon {
  color: var(--portalThemeColor4);
}

/* Disabled File upload controls are greyed out*/
div.file-dropbox.empty-dropbox:has(input:disabled) {
  background-color: rgba(200, 200, 200, 0.1);
}

div.eform-container #mainContent :focus {
  display: block;
}

div.eform-container #mainContent a:focus {
  display: initial;
}

div:focus,
div.eform-container #mainContent:focus,
div.eform-container:focus,
div.eform-container #mainContent themePresenter1:focus,
div.eform-container #mainContent themePresenter2:focus {
  outline: none;
}

#navbar.navbar-collapse.collapse {
  visibility: visible;
}

div.eform-container {
  margin-bottom: 1%;
  margin-top: 1%;
}

div.eform-container #mainContent {
  margin-top: 1em;
  margin-bottom: 1em;
}

div.eform-container .form-radio {
  min-width: 22px;
}

/* Override gov-uk.css !important */
.gov-uk,
.gov-uk label.label {
  font-family: "Nunito Sans", sans-serif !important;
  font-size: 1.1em !important;
}

.gov-uk span.label,
.gov-uk label.label {
  font-size: 1.125rem !important;
  font-weight: 400;
  padding: 0;
}

.gov-uk button,
.gov-uk .btn-primary {
  --tw-bg-opacity: 1;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  min-width: 80px;
}

.gov-uk .btn-primary {
  background-color: rgb(39 57 113 / var(--tw-bg-opacity));
  box-shadow: 0 2px 0 #0b0c0c;
}

.gov-uk .inputBase {
  max-width: 64em;
}

.gov-uk .form-footer {
  margin-left: 0;
  margin-right: 0;
}

.gov-uk button:focus,
.gov-uk button:focus:active,
.gov-uk button:focus:hover {
  outline-offset: 0;
}

.gov-uk button:focus:active,
.gov-uk button:focus:hover {
  box-shadow: none;
}

.gov-uk .btn-primary:hover,
.gov-uk .btn-primary:active {
  --tw-bg-opacity: 1;
  background-color: rgb(31 46 90 / var(--tw-bg-opacity));
}

.gov-uk .btn-primary:active:hover,
.gov-uk .btn-primary:active:focus,
.gov-uk .btn-primary:active.focus,
.gov-uk .btn-primary.active:hover,
.gov-uk .btn-primary.active:focus,
.gov-uk .btn-primary.active.focus {
  background-color: rgb(39 57 113 / var(--tw-bg-opacity));
  --tw-border-opacity: 1;
  border-color: rgb(253 224 71 / var(--tw-border-opacity));
}

.eform-container h1,
.eform-container .H1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 3rem) !important;
  font-weight: 400;
}

.eform-container h2,
.eform-container .H2 {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem) !important;
  font-weight: 400;
}

.eform-container h3,
.eform-container .H3 {
  font-size: 1.5rem !important;
  font-weight: 600;
}

.eform-container h4,
.eform-container .H4 {
  font-size: 1.25rem !important;
  font-weight: bold;
}

.eform-container h5,
.eform-container .H5,
.eform-container h6 {
  font-weight: bold;
}

.gov-uk .fieldIcon,
.gov-uk .lookupIcon {
  border-color: rgb(17 24 39 / var(--tw-border-opacity));
}

.gov-uk button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* hsl_style.min.css conflicts */

.container,
div.container.eform-container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

div.container.eform-container {
  margin-top: 5%;
  margin-bottom: 5%;
  overflow: initial;
}

@media (min-width: 768px) {
  .container {
    width: 750px !important;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px !important;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px !important;
  }
}

/* GovUK Design System INSPIRED styles for portal */

.lga-table-cell {
  display: table-cell;
  padding: 10px 10px;
}

.lga-table-row {
  display: table-row;
  border-bottom: 0.15em solid #b1b4b6;
}

.lga-table {
  display: table;
  border-collapse: collapse;
  margin-top: 1%;
}

.lga-badge {
  display: inline-block;
  outline: 2px solid rgba(0, 0, 0, 0);
  outline-offset: -2px;
  color: #fff;
  background-color: #076440;
  letter-spacing: 1px;
  text-decoration: none;
  /* text-transform: uppercase; Removed due to #11608 */
  line-height: 1;
  padding-top: 5px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  font-weight: 700;
}


/* Any content, except icons, should use font "Nunito Sans" or fallback sans-serif */
[role="main"] *:not(.glyphicon, .fa, .mdi),
.content *:not(.glyphicon, .fa, .mdi),
.gov-uk *:not(.glyphicon, .fa, .mdi),
.container *:not(.glyphicon, .fa, .mdi) {
  font-family: "Nunito Sans", sans-serif;
}


/* 	Gov.UK style focus for radio buttons on profile page. Note: Not a generic style, only works
	specifically for the marketing preferences of that form. */

.boolean-radio {
  position: relative;
}

html[dir=ltr] .crmEntityFormView .boolean-radio input[type="radio"]+label:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: -0.35em;
  left: 10px;
  width: 2em;
  height: 2em;
  border: 2px solid currentcolor;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0);
  display: inline-block;
}

html[dir=ltr] .crmEntityFormView .boolean-radio input[type="radio"]:not(:first-child)+label:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: -0.35em;
  left: 6.35em;
  width: 2em;
  height: 2em;
  border: 2px solid currentcolor;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0);
  display: inline-block;
}

html[dir=ltr] .crmEntityFormView .boolean-radio input[type="radio"]:focus+label:before {
  border-width: 4px;
  outline: 3px solid rgba(0, 0, 0, 0);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px var(--portalThemeColor11);
}


/* Part of the code for making E-forms radio buttons have yellow, circular outlines */

label:has(input[type="radio"]:focus) {
  outline: 3px solid rgba(0, 0, 0, 0);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px var(--portalThemeColor11);
}

label:has(input[type="radio"]) {
  padding-bottom: 4px;
}

/*  TODO: (WORK IN PROGRESS) Make radio inputs (in E-forms) have the yellow, circular outline

label input[type="radio"]:focus+span:before {
  border-width: 4px;
  outline: 3px solid rgba(0, 0, 0, 0);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px var(--portalThemeColor11);
}

label input[type="radio"]:focus+span:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: -0.35em;
  left: 10px;
  width: 2em;
  height: 2em;
  border: 2px solid currentcolor;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0);
  display: inline-block;
} */

/* html[dir=ltr] .crmEntityFormView .boolean-radio */
input[type="radio"] {
  width: 2em;
  height: 2em;
  margin-right: 1em;
  margin-left: 0.5em;
  accent-color: var(--portalThemeColor1);
  vertical-align: middle;
}

html[dir=ltr] .crmEntityFormView .boolean-radio input[type="radio"] {
  position: absolute;
  top: -0.45em
}

html[dir=ltr] .crmEntityFormView .boolean-radio input[type="radio"]+label {
  padding: 0 0 0 3em;
}

html[dir=ltr] .crmEntityFormView .cell.boolean-radio-cell input[type=radio]:first-child {
  margin-left: 10px;
}

/* Improve spacing of controls on Entity Forms */
.control {
  margin-top: 2.5em;
}

/* Apply Gov.UK style theming to Entity Form selects */
.crmEntityFormView .control select:focus {
  outline: 3px transparent solid !important;
  box-shadow: 0 0 0 2px var(--portalThemeColor11), 0 0 0 4px #333, 0 0 4px 8px var(--portalThemeColor11) !important;
  outline-offset: 0;
  box-shadow: inset 0 0 0 2px;
}

.crmEntityFormView .control select.form-control {
  border: 2px solid #0b0c0c;
}

.crmEntityFormView .control select.form-control option:checked {
  background-color: var(--portalThemeColor1);
  color: white;
}

/* Make sure there's always a little buffer under the page, so items don't sit right
   on the footer */
.scrollContainer .container {
  margin-bottom: 2em;
}

/* Avoid eager :focus style shrinking web-links by applying display:inline-block  and
   make sure focus outline is brought to front */
a.weblink:focus {
  display: block;
  z-index: 1000;
}

/* For link-group-items, don't turn the border yellow on focus, the outline will handle 
   yellow */
.list-group-item:focus {
  border-color: #ddd;
}


/* Avoid themes's  dashed black outline, as it makes the search icon resize the header slightly */
.navbar-inverse .navbar-nav>li>a:focus {
  border: none !important;
  /* theme uses important, so we have to here as well */
}

/* Avoid :focus style making breadcrumbs change size, due to setting display:inline-block. 
   Do so by making this the default (was inline) */
ul.breadcrumb li a {
  display: inline-block;
}

/* Override out of box config for profile h2 */
h2.profile-page-heading {
  font-weight: normal;
  font-size: 36px;
  margin-bottom: 0 !important;
  margin-top: 0;
  line-height: inherit;
  letter-spacing: inherit !important;
}

/* Fix poor visibility of map search due to style conflict */
#search-container input#search-input {
  background-color: white !important;
  border-color: #076440;
  border-width: 2px;
}

/* Fix map zoom buttons' underlining due to style conflict */
a.leaflet-control-zoom-in,
a.leaflet-control-zoom-in:hover,
a.leaflet-control-zoom-out,
a.leaflet-control-zoom-out:hover {
  text-decoration: none;
}

.radioLabel {
  font-weight: normal;
}

/* Fix repeating data overflow problem */
.gov-uk .repeatingDataTable table.w-max {
  width: auto;
}

.repeatingDataTable button.btn-tertiary 
/*, .gov-uk .btn-secondary  */
{
  width: auto;
  height: auto;
}

/* Add padding to repeating data table contents */
.gov-uk .repeatingDataTable tr.repeatingDataTable-details td {
  padding: 0.5rem;
}

.gov-uk .repeatingDataTable table.w-max th {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}


/* Make upload progress bar bigger and green */
.gov-uk .file-upload .progress-bar progress {
  background-color: #273971;
  height: 1rem;
}

.gov-uk .file-upload .progress-bar progress::-moz-progress-bar {
  background-color: #273971;
}

.gov-uk .file-upload .progress-bar progress::-webkit-progress-value {
  background-color: #273971;
}

/*Bug Fix for #10759 */
.gov-uk .btn-primary:focus {
  outline: 3px transparent solid !important;
  box-shadow: 0 0 0 2px var(--portalThemeColor11), 0 0 0 4px #333, 0 0 2px 8px var(--portalThemeColor11) !important;
}

/* Really Small devices ( 539px or less) */
@media only screen and (max-width: 539.5px) {
  .siteTitle.custom-sitetitle {
    visibility: hidden;
    width: 0;
    height: 0;
    margin: 0;
  }

  .navbar-brand.navbar-header {
    margin-left: -1em;
    padding: 0;
  }

  .navbar-toggler.custom-navbar-toggler.collapsed,
  .navbar-toggler.custom-navbar-toggler {
    margin-right: -1em;
  }
}

.navbar-toggler.custom-navbar-toggler {
  background-color: black;
}


/* Small devices ( 979px or less) */
@media only screen and (max-width: 979.5px) {
  .footer-container {
    padding: 1em;
  }

  .footer__logo {
    margin-bottom: 1em;
  }

  .footer__menu {
    height: 17.5em;
    padding: 1.2rem 0;
  }

  .footer__menu .inline-menu__item {
    margin-bottom: 0.3rem;
  }


  .footer-container .footer__secondary {
    margin-top: inherit;
  }


  .footer__social .social-menu__item .social-menu__link {
    height: 2.6em;
    width: 2.6em;
  }
}


/* Medium devices ( 1215px or less) */
@media only screen and (max-width: 1275px) {
  .footer__menu {
    padding: 1.2rem 0;
  }

  .footer-container .footer__secondary {
    margin: 0
  }
}

.summary-list__key {
  font-weight: 700 !important;
}