/*
* 
* BBC  
*
*/
.chameleon-ul {
  position: absolute;
  list-style: none;
  left: 0;
  right: 0;
  top: 4.375rem;
}

.chameleon-ul :focus-visible {
  box-shadow: 0 0 0 0.125rem #FFFFFF;
  outline: 0.125rem solid #000000;
  outline-offset: 0.125rem;
}

.chameleon-accessibility-link {
  position: absolute;
  overflow: hidden;
  margin: 0;
  width: 1px;
  height: 1px;
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.chameleon-accessibility-link:focus {
  position: static;
  overflow: visible;
  width: auto;
  height: auto;
  -webkit-clip-path: none;
  clip-path: none;
  clip: auto;
  white-space: inherit;
  font-weight: 700;
  font-feature-settings: "";
  font-size: 0.8125rem;
  line-height: 1.2307692308;
  display: block;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 1rem;
  background: #FFFFFF;
  border: 1px solid #8A8C8E;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: inherit;
  margin: auto;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

@media (min-width: 37.5rem) {
  .chameleon-accessibility-link:focus {
    position: absolute;
  }
}
/*
* 
* 
* CLIVE 
*
*
*/
.a11y-tringer-btn {
  background: none;
  border: none;
  color: #500978;
  font-size: 0.875rem;
  padding: 0;
  font-weight: 700;
}

.a11y-tringer-btn:hover {
  cursor: pointer;
}

.a11y-tringer-btn .fas {
  font-size: 1.25em;
}

/******** viewing buttons *******/
#viewing {
  float: left;
  width: auto;
  position: absolute;
  left: 999999999px;
  top: 35px;
  margin: 5px 0 0 0;
  z-index: 999999;
}

#viewing.accessselected {
  left: 0;
}

#viewing ul {
  list-style: none;
  float: left;
  width: auto;
  margin: 2px 0 3px;
  padding: 18px;
  background: #fff;
  position: relative;
}

#viewing ul li {
  margin-right: 5px;
}

#viewing ul li {
  float: left;
  width: auto;
  height: auto;
  position: relative;
}

#viewing ul li.contrast {
  font-size: 150%;
}

#viewing ul li.resetcontrast {
  font-size: 150%;
  background: #fff;
  border: 1px solid #000;
}

#viewing ul li a {
  float: left;
  width: 20px;
  height: 20px;
  padding: 1px;
  text-align: left;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  line-height: 0.9em;
}

#viewing ul li.resetcontrast a {
  width: 20px;
  height: 20px;
}

#viewing ul li a:focus {
  border: 1px solid #319BA6;
}

#viewing ul li a.default {
  margin-top: 5px;
  width: 12px;
}

#viewing ul li a.large {
  font-size: 125%;
  margin-top: 3px;
  width: 15px;
}

#viewing ul li a.xlarge {
  font-size: 150%;
  margin-top: 0;
  width: 20px;
}

#viewing ul li a.off {
  background: url(../../images/accessibility.png) no-repeat 0 -93px;
  text-indent: -99999px;
  margin-top: 1px;
}

#viewing ul li a:hover,
#viewing ul li a:focus {
  opacity: 0.7;
  border: 1px solid #000;
  padding: 0;
}

/*
*
*
*
*
*
*
*
*/
.pagelink {
  margin-top: 16px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.875rem;
  display: block;
}

.new-button--sm {
  font-size: 0.875rem;
  min-height: 40px;
}

.text-light {
  color: #FFF !important;
}

.search-msps .h4:not(.empty-letter) {
  font-weight: 700;
}

.AtoZ .empty-letter {
  color: #757575;
  font-weight: normal;
}

svg.svg-icon.svg-icon--logo {
  fill: #500978;
  color: #FFF;
}

svg #svg--logo_external {
  fill: #500978;
  color: #FFF;
}

.dtable {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  vertical-align: top;
  border-color: #dee2e6;
  border-collapse: collapse;
}

.dtable td, .dtable th {
  border-bottom: 1px solid #54455c;
  padding: 10px 0;
}

.dtable th {
  text-align: left;
  padding-right: 22px;
}

.svg--logo_external {
  fill: #500978;
  color: white;
}

.svg--logo_external .logo-text {
  fill: white;
}

.content-block--msp .content-block__inner img {
  object-fit: cover;
  width: 4rem;
  height: 4rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 24px;
}

.content-block__header label {
  color: rgb(80, 7, 120);
}

.msp-name-letter-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.msp-name-letter-list li {
  padding: 0.5rem;
  margin-right: 1rem;
}

.msp-name-letter-list li:focus {
  background-color: yellow;
}

.number-msps {
  padding: 8px 4px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #500978;
}

.etable {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  vertical-align: top;
  border-color: #dee2e6;
  border-collapse: collapse;
}

.expns-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background-color: #500978;
  padding: 0 12px;
  color: #fff;
}

.bg-light {
  background-color: #9668b0;
}

.exp h4 {
  margin: 12px 0;
}

.etable td, .etable th {
  border-bottom: 1px solid #54455c;
  padding: 10px 0;
}

.etable th {
  text-align: left;
}

.strong {
  font-weight: bold;
}

.allowance_select {
  display: flex;
  padding-bottom: 10px;
  align-items: center;
}

.search-criteria--msps {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 -4px;
  padding: 0;
}

.search-criteria--msps li {
  background-color: #d8d8d8;
  margin: 4px;
  padding: 4px 10px;
  border-radius: 4px;
}

.criteria_table {
  margin-top: 12px;
  margin-bottom: 18px;
}

.criteria_table th {
  text-align: left;
  width: 8rem;
  padding: 0.5rem 0;
  vertical-align: top;
}

.current-mps-filter {
  /*  border-bottom: 1px solid ##ccc;*/
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 0;
  display: block;
}

.current-mps-filter fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  display: inline-block;
}

@media only screen and (min-width: 900px) {
  .current-mps-filter .form-field__legend {
    padding: 12px 15px 0 0;
    float: left;
  }
}
@media (max-width: 899px) {
  body {
    overflow-x: hidden;
  }
  .new-buttons .new-button {
    flex: 0 1 auto;
  }
}
.allowance-select-container .provision-container {
  border-top: 1px solid #ccc;
}

.allowance-select-container .provision-container p {
  padding-left: 55px;
  margin-top: 0;
  font-size: 0.8em;
  padding-bottom: 22px;
}

@media (min-width: 600px) {
  .allowance-select-container {
    column-count: 2;
  }
  .allowance-select-container .provision-container {
    break-inside: avoid-column;
  }
}
/* Pagination styles */
.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

.pagination .ellipsis {
  padding: 8px 0px;
  float: left;
}

.browse-search-h2 {
  display: flex;
  justify-content: space-between;
}

.search-expense-total {
  text-align: right;
  font-size: 1.2rem;
}