@charset "UTF-8";
/* 
Theme Name:		 Nightingale Child
Theme URI:		 http://childtheme-generator.com/
Description:	 Nightingale Child is a child theme of Nightingale
Author:			 Christopher Pattison, Scott Nicholson
Author URI:		 http://childtheme-generator.com/
Template:		 nightingale
Version:		 2.1.4
Update:          Style changes to home regions and providers.
*/

/** NHS Theme and Plugin Overrides **/

html {
    scroll-behavior: smooth;
}

/* Typography Fixes */
#content p,
#content li,
#content th,
#content td,
#content address {
    line-height: 1.5;
}

/* Fix card overlap - may need to remove later if block plugin fixed */
.nhsuk-card__content {
    margin-top: 0 !important;
}

/* Fix hero banner left/right margins */

.wp-block-nhsblocks-heroblock {
    margin: 0 auto;
    width: 100%;
}

/* Reduce the hero banner font size on small displays  */
@media (max-width: 600px) {
    .wp-block-nhsblocks-heroinner.nhsuk-hero-content p {
        font-size: 1em;
    }
}

/* Fix Search Results from not wrapping  */

body.search-results a.nhsuk-card__link {
    word-wrap: break-word;
}

/* Set Promo Region block to match height within a wp-block-columns block  */
.wp-block-column .wp-block-nhsblocks-promo1.nhsuk-card.nhsuk-card--clickable {
    height: 100%;
}

.wp-block-column .wp-block-nhsblocks-promo1.nhsuk-card.nhsuk-card--clickable .nhsuk-card__content {
    padding-bottom: 0;
}

@media (max-width: 600px) {
    .wp-block-column .wp-block-nhsblocks-promo1.nhsuk-card.nhsuk-card--clickable {
        height: unset;
    }

    .wp-block-column:last-child .wp-block-nhsblocks-promo1.nhsuk-card.nhsuk-card--clickable {
        margin-bottom: 12px;
    }
}
/** end NHS Theme Overides **/

/** Header Changes **/
/* Main menu */

.nhsuk-header__navigation-list li {
    list-style: none;
}

#menu-menu-top-menu li.menu-item-has-children>ul.sub-menu {
    margin-left: 0.5rem;
}

@media (min-width: 61.875em) {
    .nhsuk-header__navigation-list {
        justify-content: left;
    }

    .nhsuk-header.nhsuk-header--transactional .nhsuk-header__navigation {
        max-width: 100%;
        overflow: visible;
    }

    #menu-menu-top-menu li.menu-item-has-children>ul.sub-menu {
        display: none;
        position: absolute;
        top: 3.1rem;
        left: 0;
        width: 10rem;
        background: #005EB8;
        padding-left: 0;
        margin-left: 1rem;
        box-shadow: 0px 3px 3px 0px rgb(0 0 0 / 20%);
    }

    #menu-menu-top-menu li.menu-item-has-children:hover>ul.sub-menu {
        display: block;
        z-index: 99999;
    }

    #menu-menu-top-menu li.menu-item-has-children {
        position: relative;
    }

    #menu-menu-top-menu li.menu-item-has-children>ul.sub-menu li {
        text-align: left;
    }
}

/* end @media (min-width: 61.875em)  */
/* end Main Menu*/
/** end Header Changes **/

/** Button Nav Col Layout **/

div.nav-wrapper {
    margin-bottom: 1rem;
}

/* Set-up for IE */
.nav-wrapper ul {
    margin: 0 -10px;
    padding: 0;
    list-style: none;
}

.nav-wrapper li {
    display: inline-block;
    vertical-align: top;
    width: calc(49% - 20px);
    margin: 0 4px 10px 4px;
}

@media only screen and (max-width: 600px) {
    .nav-wrapper li {
        width: 100%;
    }
}

/* Override and setup grid for supported browsers */
@supports (display: grid) {
    .nav-wrapper ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        grid-gap: 10px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-wrapper ul li {
        padding: 0;
        margin: 0;
        display: block;
        width: auto;
    }

    @media only screen and (max-width: 600px) {
        ul.nav-list {
            grid-template-columns: auto;
        }
    }

}

/* end support display:grid*/
.nav-wrapper ul li a {
    background: #005eb8;
    color: #fff;
    display: block;
    text-decoration: none;
    font-size: 0.8em;
    padding: 12px 10px;
    height: 100%;
    box-sizing: border-box;
}

.nav-wrapper ul li a:hover {
    background: #003d78;
    box-shadow: none;
    text-decoration: underline;
}

.nav-wrapper ul li a:focus {
    background: #ffeb3b;
    box-shadow: inset 0 -4px 0 0 #212b32;
    color: #212b32;
}

/* wpfd overides */
.nav-wrapper.wpfd-list .wpfd-single-file {
    background: transparent;
    flex: none;
    display: block;
    flex-wrap: nowrap;
    position: relative;
    z-index: auto;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}

/** end Button Col Layout **/

/** Waiting Times **/

/* aria control */

div.wt-block-wrapper-hide {
    display: none;
}

div.wt-block-wrapper-show {
    display: block;
}

/* Waiting times table for provider page */
table.waiting-times-data,table.waiting-times-data th,table.waiting-times-data td {
    border: 1px solid #005EB8;
    border-collapse: collapse;
}

table.waiting-times-data th,table.waiting-times-data td {
    padding: 10px 12px 12px 10px
}

.waiting-times-data:nth-of-type(2) {
    margin-top: 20px;
}

/*
table.waiting-times-data.with-specialty thead tr,table.waiting-times-data.no-specialty thead tr {
    background-color: #003087;
    color: #f6f8f7
}
*/

table.waiting-times-data tr:nth-child(even) {
    background-color: #cddff3
}

table.waiting-times-data tr:nth-child(odd) {
    background-color: #f6f8f7
}

table.waiting-times-data td {
    vertical-align: middle;
    width:   30%;
}

/* Hide div of comma separated provider codes */
#file_names,
#subSpecialty {
    display: none;
}

.page-template-postcode #table-with-times_wrapper {
    width: 100%;
}

/* postcode search page - sort and filter controls */

#table-controls {
    display: flex;
    justify-content: space-between; /* left button left, right button right */
    align-items: center;            /* vertically center if needed */
    margin-bottom: 10px;
}

#table-with-times th.sorting,
#table-with-times th.sorting_asc,
#table-with-times th.sorting_desc,
#table-with-times th.sorting::before,
#table-with-times th.sorting::after,
#table-with-times th.sorting_asc::before,
#table-with-times th.sorting_asc::after,
#table-with-times th.sorting_desc::before,
#table-with-times th.sorting_desc::after {
    background: none !important;
    content: none !important;
    padding-right: 10px !important;   /* remove extra space for arrows */
    width: auto !important;  
}




.column-toggle-dropdown #toggle-columns-btn,  .sort-toggle-dropdown #toggle-sort-btn {
    background-color: #fff;
    color: #005eb8;
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 0;
    border: 1px solid #005eb8;
    border-radius: 0;
    box-shadow: none;
    line-height: 1rem;
}

.sort-toggle-dropdown,
.column-toggle-dropdown {
  position: relative; /* gives positioning context to dropdowns */
  display: inline-block;
}

.column-toggle-dropdown #toggle-columns-btn:focus, .sort-toggle-dropdown #toggle-sort-btn:focus {
    outline: 4px solid #ffeb3b;
    border: 2px solid #212b32;
    box-shadow: inset 0 0 0 2px;
    outline: 4px solid #ffeb3b;
    outline-offset: 0;

}

#column-options,
#sort-options {
  position: absolute;
  top: calc(100% + 4px); /* sit just below the button */
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -4px rgba(0,0,0,0.3); 
  z-index: 999;
  width: max-content; /* enough width for labels */
  max-width: 80vw;
  display: none; /* hidden by default */
 
}

#column-options {
    right:0
}
#sort-options {
    left:0
}

.sortBtnWrapper, .columnBtnWrapper {
    padding: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: end;
}

.reset-icon {
  color: #666666;        /* subtle grey */
  line-height: 1;        /* vertically centered */
  transition: color 0.2s ease; /* smooth color change */
}

#reset-columns-btn:hover .reset-icon,
#reset-sort-btn:hover .reset-icon {
  color: #333333;       /* darker grey on hover */
}


/* Align items horizontally, with checkbox boxes flush left */
#column-options .nhsuk-checkboxes__item {
  display: flex !important;
  align-items: center;
  position: relative;
  padding: 5px 10px;
}

/* Keep checkbox input compact and aligned */
#column-options .nhsuk-checkboxes__input {
  position: absolute;
  left: 10px; /* flush left inside padding zone */
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0; /* NHS hides native box; label::before draws it */
}

/* Label spacing, font size, and vertical alignment */
#column-options .nhsuk-label.nhsuk-checkboxes__label {
  margin-left: 36px !important; /* box (24px) + gap */
  font-size: 1rem;            /* slightly smaller text */
  line-height: 1.1;             /* tighter for vertical balance */
  font-weight: 400;
  display: flex;
  align-items: center;          /* vertically center text with box */
  position: relative;
  top: -1px;                    /* optical correction (balances x-height vs box centre) */
	padding-left: 0px     
}

/* Checkbox box (24px) */
#column-options .nhsuk-checkboxes__label::before {
  content: "";
  width: 24px !important;
  height: 24px !important;
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);  /* perfectly centres the box vertically */
}

/* Tick styling */
#column-options .nhsuk-checkboxes__label::after {
  content: "";
  position: absolute;
  left: -27px;
  top: 47%;
  width: 7px !important;
  height: 13px !important;
  border-width: 0 3px 3px 0 !important;
  border-style: solid;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

/* Checked state colours */
#column-options .nhsuk-checkboxes__input:checked + .nhsuk-checkboxes__label::before {
  background-color: #005eb8 !important; /* NHS Blue */
  border-color: #005eb8 !important;
}
#column-options .nhsuk-checkboxes__input:checked + .nhsuk-checkboxes__label::after {
  border-color: #fff !important; /* White tick */
}





.sort-link {
    font-size: 1rem;
    display: block;
    color: #212b32 !important;
    text-decoration: none !important;
    padding: 10px 6px;
}

/* Only show tick on active item */
.sort-link.active::before {
    content: "▶";
    color: #005eb8; /* NHS Blue */
    font-weight: bold;
    margin-right: 6px;
    vertical-align: middle;
	display: inline-block;
	transform: scale(0.8)
}

.sort-link:last-child {
    border-bottom: 0;
}

.sort-link.active {
    font-weight: bold;
    background-color: #f6f6f6;
}
#column-options label {
    font-size: 1rem;
}

table.postcode-search-table {
                border: 0px solid #005eb8;
                border-collapse: collapse;
              width: 100% !important;
}

.postcode-search-table thead tr {
  background: #003087 !important;
  color: #f6f8f7;
}

.postcode-search-table th:nth-child(1){
    width: 10%;
    max-width: 10% !important;
}
.postcode-search-table th:nth-child(2){
    width: 100% !important;
}
.postcode-search-table th:nth-child(3){
    width: 10%;
}

.postcode-search-table th:nth-child(4), 
.postcode-search-table th:nth-child(5), 
.postcode-search-table th:nth-child(6), 
.postcode-search-table th:nth-child(7) {
    width: 15%;}

.postcode-search-table th,
.postcode-search-table td {
  border: 1px solid #005eb8;
  white-space: normal;
  padding: 10px;
  text-align: left;
}

.postcode-search-table th {
  vertical-align: top;
  font-weight: 100;
  font-size: 1rem;
}

.postcode-search-table td {
  vertical-align: middle;
 font-size: 1rem;
}

.postcode-search-table td a,
.postcode-search-table td a:visited {
  color: #005eb8;
}

/* Column-specific alignment */
.postcode-search-table td:first-child {
  text-align: center;
}

.postcode-search-table td:nth-child(2),
.postcode-search-table td:nth-child(3) {
  text-align: left;
}

/* Pseudo column breaks */
.postcode-search-table th:nth-child(3),
.postcode-search-table th:nth-child(5) {
  border-right: 0;
}

.postcode-search-table td:nth-child(3),
.postcode-search-table td:nth-child(5) {
  border-right: 4px solid #0072CE;
}

/* Row striping */
.postcode-search-table tr:nth-child(odd) {
  background: #fff;
}
.postcode-search-table tr:nth-child(even) {
  background: #cddff3;
}

/* === Mobile Styles === */
@media (max-width: 600px) {

.sort-toggle-dropdown, .column-toggle-dropdown {
    width: 100%;
    margin-top: 5px;
}

  .postcode-search-table tbody tr {
    display: flex !important;
    flex-direction: column;
    background: #fff;
  }

  /* Reordering cells */
  .postcode-search-table tbody td:nth-child(1) { order: 2 !important; }
  .postcode-search-table tbody td:nth-child(2) {
    order: 1 !important;
    background: #003087;
    color: #fff;
    font-weight: 600;
    text-align: left !important;
  }
  .postcode-search-table td:nth-child(2) a,
  .postcode-search-table td:nth-child(2) a:visited {
    color: #fff;
    text-decoration: underline;
  }
  .postcode-search-table td:nth-child(3) { order: 3; background: #cddff3; }
  .postcode-search-table td:nth-child(4) { order: 4; }
  .postcode-search-table td:nth-child(5) { order: 5; background: #cddff3; }
  .postcode-search-table td:nth-child(6) { order: 6; }
  .postcode-search-table td:nth-child(7) { order: 7; background: #cddff3; }

  /* Reset pseudo column breaks */
  .postcode-search-table th:nth-child(3),
  .postcode-search-table th:nth-child(5),
  .postcode-search-table td:nth-child(3),
  .postcode-search-table td:nth-child(5) {
    border-right: 1px solid #005eb8;
  }

  .postcode-search-table tbody td {
    padding: 0 10px !important;
    align-items: center;
  }

  .postcode-search-table tbody td span {
    width: 60%;
  }

  .postcode-search-table .cqc-widget-overall {
    padding: 0 20px 0 0;
    text-align: right;
  }
}

/* Search error box */
.nhsuk-error-summary {
    border: 4px solid #d5281b;
    padding: 24px;
}

/* WT Info Box */
.wt-info-box {
    margin-top: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px)
/*@media (max-width:40.0525em){*/
    {
    .wt-info-box {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}

.wt-info-box h3 {
    font-size: 1.25rem;
}

/* Reveal box - deprecated but may come back */
/* #wt-reveal {
    margin: 1rem 0;
}

#wt-reveal ul {
    padding-left: 40px;
} */

/** end Waiting Times **/

/** A to Z **/

.az-nav {
    margin-bottom: 24px;
}

.az-nav .az-nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.375rem;
}

.az-nav .az-nav-list li.az-nav-link {
    margin: 0 8px 8px 0;
    padding: 0px 7px;
    text-align: center;
}

.az-nav>ol li.az-nav-no-link {
    color: #2d2d2d;
}

.az-filter-container {
    margin-bottom: 24px;
}

.az-item-lists,
.az-item-lists ol {
    list-style: none;
    padding: 0;
}

.az-item-lists .az-group-container {
    padding: 0 24px;

}

.az-letter-header {
    left: -25px;
}

.az-entry {
    border-bottom: 1px solid #d8dde0;
    padding: 8px 0 16px;
}

.az-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.az-entry details {
    padding: 8px 24px 0;
    margin: 0 0 -8px 0;
}

.az-entry details summary {
    margin-bottom: 8px;
}

.az-entry details .provider-hospitals {
    padding-left: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-left: 4px;
    margin-bottom: 12px;
    border-left: 6px solid #005eb8;
    list-style: disc;

}

.az-entry details .provider-hospitals li {
    margin-left: 20px;
}

@media (max-width: 600px) {
    .az-entry details {
        padding: 8px 2px 0;
    }

    .az-entry details .provider-hospitals li {
        margin-left: 10px;
    }
}

.az-entry details .provider-hospitals li:first-of-type {
    margin-top: 8px;
}

.az-item-lists .nhsuk-back-to-top {
    margin: -20px 0 -8px;
}

.az-item-lists .nhsuk-back-to-top .nhsuk-icon__arrow-up {
    fill: #005eb8;
    transform: rotate(270deg);
    height: 22px;
    width: 22px;
    vertical-align: sub;
}

.az-entry:last-child {
    border-bottom: none;
    padding-bottom: 24px;
}

/** end A to Z **/

/* SkipLink Button */
.skip-link:focus,
.screen-reader-text:focus {
    box-shadow: none;
    border-radius: 0px;
    border: 0;
    background-color: #ffeb3b !important;
    border-color: #212b32 !important;
    border: 0;
    border-bottom: #212b32 4px solid !important;
    color: #212b32 !important;
}

/* Cookie Banner Revisions Oct 2024 */

/* fix banner to top of screen */
.cky-consent-container {
    position: static !important;
    box-shadow: 0 0 4px 0 #212b32;
}

/* Cookie button styles */
.cky-btn {
    border-radius: 5px !important;
    border-bottom: #212b32 4px solid !important;
}

.cky-btn:hover {
    background-color: #00662f !important;
    border-color: #00662f !important;
    border-bottom: #212b32 4px solid !important;
    opacity: 1;
}

/* button:focus styles */
.cky-policy:focus,
.cky-btn:focus {
    background-color: #ffeb3b !important;
    border-color: #212b32 !important;
    border: 0;
    border-bottom: #212b32 4px solid !important;
    color: #212b32 !important;
}

.cky-policy:focus-visible,
.cky-btn:focus-visible {
    outline: 0 !important;
}

/* Enabled switch */
.cky-switch input[type="checkbox"]:checked {
    background-color: #007f3b !important;
}

/* Disabled switch */
.cky-switch input[type="checkbox"] {
    background-color: #D0D5D2 !important;
}

/* end cookie banner revisions Oct 2024*/

/* DrawAttention England Map */

#hotspot-27 .hotspot-default:focus-visible {
    fill: #fff !important;
    opacity: .9;
    stroke-opacity: 1 !important;
    outline: 7px solid #DA291C !important;
    outline-offset: -7px;
}

/* tooltip styling */
#hotspot-27 .leaflet-tooltip {
    opacity: 1 !important;
}

/* end DrawAttention England Map */

/* NHS Blue large text */
.nhsblue-text {
    color: #005EB8;
    font-size: 1.4em;
}

h2.nhsblue-text-title {
    color: #005EB8;
    font-size: 2rem;
}

@media (max-width: 768px) {

    /*@media (max-width:40.0525em){*/
    .half {
        width: 100%;
        float: left;
    }
}

/* homepage signage */
.signage-block {
    width: 500%;
    /* make block wider than page/fill page width */
    margin-left: -200%;
    padding-top: 64px;
    padding-bottom: 64px;
    overflow: hidden;
    /* Prevent content spilling out */
}

.signage-block-inner {
    max-width: 960px;
    width: 100%;
    margin: 0 auto !important
}

.app-list-signage {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-list-signage li {
    display: inline-block;
    margin: 2px 0;
    width: 100%
}

.app-list-signage li {
    flex: 1;
    display: flex;
    align-items: center;
}

.app-list-signage li a {
    display: flex;
    align-items: center;
    height: 100%;
}

.app-list-signage li a .nhsuk-icon {
    position: absolute;
    top: revert;
    fill: #fff;
    right: 12px;
}

.app-list-signage li:last-of-type {
    margin-bottom: 2px
}

.app-list-signage li a {
    background: #005eb8;
    color: #fff;
    padding: 12px 24px;
    position: relative;
    text-decoration: none;
    width: 98%;
    font-size: 1em;
}

.app-list-signage li a:hover {
    background: #003d78;
    box-shadow: none;
    text-decoration: underline
}

.app-list-signage li a:active {
    background: #002f5c
}

.app-list-signage li a:focus {
    background: #ffeb3b;
    box-shadow: inset 0 -4px 0 0 #212b32;
    color: #212b32
}

.app-list-signage li a:focus .nhsuk-icon {
    fill: #212b32
}

.app-list-signage li a:focus:hover {
    text-decoration: none
}

/*
.app-list-signage li a .nhsuk-icon {
    fill: #fff;
    height: 24px;
     top: 14px;
    width: 24px
}
*/
@media (max-width: 768px)
/*@media (max-width:40.0525em){*/
    {

    .signage-block {
        width: calc(100% + 34px);
        margin-left: revert;
        margin-left: -14px;
        margin-right: -16px;
        padding-left: 12px;
        padding-right: 10px;
    }

    .signage-block-inner {
        width: 100vw;
    }

    /*  .app-list-signage li a {
            padding: 12px 12px
        }
   */

    ul.app-list-signage {
        flex-wrap: wrap;
        /* wrapping is allowed */
    }

    ul.app-list-signage li {
        flex: 1 0 100%;
    }
}

/** Cookie Banner **/

#cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="widget"] {
    padding: 28px;
    max-width: 476px;
    min-width: 468px;
}

@media screen and (max-width: 469px) {
    #cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="widget"] {
        min-width: 100%;
    }
}

#cookie-law-info-bar .cli_messagebar_head {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

#cookie-law-info-bar .cli-style-v2 {
    font-size: 1rem;

}

#cookie-law-info-bar .cli-bar-message a {
    color: #005eb8 !important;
}

#cookie-law-info-bar .cli-bar-message a:hover {
    text-decoration: none;
}

#cookie-law-info-bar .cli-bar-message a:focus {
    background-color: #ffeb3b;
    box-shadow: 0 -2px #ffeb3b, 0 4px #212b32;
    outline: 4px solid transparent;
    text-decoration: none;
}

#cookie-law-info-bar .cli-bar-accept_container {
    width: 100%;
    display: block;

}

#cookie-law-info-bar a#wt-cli-accept-all-btn {
    width: 100%;
    display: block;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1875rem;
    background-color: #007f3b;
    border: 2px solid transparent;
    border-radius: 4px;
    box-shadow: 0 4px 0 #00401e;
    padding: 0.8em 0;
}

#cookie-law-info-bar a#wt-cli-accept-all-btn:hover {
    background-color: #00662f !important;
}

#cookie-law-info-bar a#wt-cli-accept-all-btn:focus {
    background: #ffeb3b;
    box-shadow: 0 4px 0 #212b32;
    color: #212b32 !important;
    outline: 4px solid transparent;
}

#cookie-law-info-bar a#wt-cli-accept-all-btn:active {
    background: #00401e !important;
    box-shadow: none !important;
    color: #fff !important;
}

#cookie-law-info-bar .cli-bar-others_container {
    width: 100%;
    display: block;
    margin-top: 1em;
}

#cookie-law-info-bar a#cookie_action_close_header_reject {
    width: calc(50% - 0.8em);
    float: left;
    color: #2d2d2d;
    background-color: #f1f1f1;
    padding: 1em 0;
    border-radius: 4px;
    text-decoration: none;
}

#cookie-law-info-bar a#cookie_action_close_header_reject:hover,
#cookie-law-info-bar a#cookie_action_close_header_reject:active {
    background: #595959;
    color: #fff !important;
}

#cookie-law-info-bar a.cli_settings_button {
    width: calc(50% - 0.8em);
    float: right;
    padding: 1em 0;
    border-radius: 4px;
    text-decoration: none;
    background: #005eb8;
    color: #fff !important;
}

#cookie-law-info-bar a.cli_settings_button:hover,
#cookie-law-info-bar a.cli_settings_button:active {
    background: #003d78;
}

/* end Cookie Banner*/

/* Spinner */
.loader {
    position: relative;
    left: 50%;
    border: 10px solid #fff;
    border-radius: 50%;
    border-top: 10px solid #005EB8;
    border-bottom: 10px solid #005EB8;
    width: 80px;
    height: 80px;
    margin-bottom: 117px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* End spinner */

/* Table Prev/Next/Numbering */
.dataTables_paginate {
    margin-top: 10px;
}

a.paginate_button.previous.disabled,
a.paginate_button.next.disabled {
    margin: 0 10px 0 0;
    font-size: 1.2em;
    text-decoration: none;
    color: #768692;
    cursor: default;
}

a.paginate_button.current {
    margin: 0 10px 0 0;
    font-size: 1.2em;
    text-decoration: none;
    color: #009639;
    cursor: default;
}

a.paginate_button.previous,
a.paginate_button.next,
a.paginate_button {
    margin: 0 10px 0 0;
    font-size: 1.2em;
    text-decoration: underline;
    cursor: pointer;
}

.dataTables_paginate a:hover {
    text-decoration: none;
}

table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting_asc_disabled,
table.dataTable thead>tr>th.sorting_desc_disabled,
table.dataTable thead>tr>td.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting_asc_disabled,
table.dataTable thead>tr>td.sorting_desc_disabled {
    cursor: pointer;
    position: relative;
    padding-right: 26px;
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    position: absolute;
    display: block;
    right: 10px;
    line-height: 15px;
    font-size: 1em;
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:before {
    bottom: 50%;
    content: "▲";
    content: "▲" /"";
}

table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    top: 50%;
    content: "▼";
    content: "▼" /"";
}

table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:after {
    opacity: 0.6;
}

table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting_asc_disabled:before {
    display: none;
}

table.dataTable thead>tr>th:active,
table.dataTable thead>tr>td:active {
    outline: none;
}

div.dataTables_scrollBody>table.dataTable>thead>tr>th:before,
div.dataTables_scrollBody>table.dataTable>thead>tr>th:after,
div.dataTables_scrollBody>table.dataTable>thead>tr>td:before,
div.dataTables_scrollBody>table.dataTable>thead>tr>td:after {
    display: none;
}

/*table.dataTable thead > tr > th.sorting:before, table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:before, table.dataTable thead > tr > th.sorting_asc_disabled:before, table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:before {
  bottom: 50%;
  content: "▲";
  content: "▲"/"";
}
table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after, table.dataTable thead > tr > th.sorting_asc_disabled:after, table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  top: 50%;
  content: "▼";
  content: "▼"/"";
}*/
/* End table Prev/Next/Numbering */

/* CQC rating styles */

/* TODO Not 100% sure why this is required */
.cqc-widget-overall {
    color: #fff !important;
    font-weight: normal !important;
    margin-top: 2px !important;
    padding: 11px 20px 11px 0 !important;
    text-decoration: none !important;
}

/* TODO - Rename classes and combine - see Postcode Search */

.cqc-widget-overall.outstanding {
    background: url(/wp-content/uploads/2023/04/star.png) no-repeat 100% transparent !important;
    color: #000 !important;
    font-weight: normal !important;
}

.cqc-widget-overall.requires-improvement {
    background: url(/wp-content/uploads/2023/04/yellow.png) no-repeat 100% transparent !important;
    color: #000 !important;
    font-weight: normal !important;
    ;
}

.cqc-widget-overall.inadequate {
    background: url(/wp-content/uploads/2023/04/red.png) no-repeat 100% transparent !important;
    color: #000 !important;
    font-weight: normal !important;
}

.cqc-widget-overall.good {
    background: url(/wp-content/uploads/2023/04/green.png) no-repeat 100% transparent !important;
    color: #000 !important;
    font-weight: normal !important;
}

.cqc-widget-overall.no-rating-available,
.cqc-widget-overall.no-published-rating {
    background: url(/wp-content/uploads/2023/04/grey.png) no-repeat 100% transparent !important;
    color: #000 !important;
    font-weight: normal !important;
}

.cqc-widget-overall.inspected-but-not-rated {
    background: url(/wp-content/uploads/2023/04/white.png) no-repeat 100% transparent !important;
    color: #000 !important;
    font-weight: normal !important;
}

/* End CQC rating styles */


/* override left padding left margin for lists (docs area) */
.nav-list-v2 {
    padding-left: 0px !important;
}

.nav-list-v2 li {
    margin-left: 0px !important;
}

.nav-list-v2 li * {
    padding-left: 0px !important;
}

.s_o_off {
    overflow: hidden !important;
}

/* ----- */
.specialty_item {
    margin-left: -1px !important;
    display: inline-block;
    vertical-align: top;
    width: calc(49.5% - 1px);
    margin: 0 4px 10px 4px;
    position: relative !important;
    z-index: 1000 !important;
}

.specialty_item .nhsuk-details__summary h2 {
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 0px;
}

/* 600px */
@media only screen and (max-width: 907px) {
    .specialty_item {
        width: 100%;
    }

    .specialityRow {
        display: none !important;
    }

    .bb {
        padding-bottom: 0px !important;
        border: 1px solid #d8dde0 !important;
        border-bottom-width: 4px !important;
        /* border-bottom-style: none !important;         */
    }
}

@media only screen and (min-width: 908px) {
    .specialityRow_sm {
        display: none !important;
    }

    .inner_details_sm {
        display: none !important;
    }
}

.mt-30 {
    margin-top: 30px !important;
}

.specialityRow {
    display: none;
    padding-top: 35px;
    bottom: 11px;
    margin-bottom: 0px;
    right: 1px;
    border: 1px solid #d8dde0 !important;
    margin-right: 4px;
    position: relative !important;
    z-index: 1 !important;
}

.inner_details_holder {
    display: none;
}

.bb {
    padding-bottom: 10px;
    border-bottom-style: none;
}

.inner_details_sm {
    padding-top: 15px;
}

/* .specialityRow_sm{
    padding-top: 35px;
    bottom:11px;
    right:1px;
    border:1px solid #d8dde0 !important;
    margin-right:4px;
    position:relative !important;
    z-index:1 !important;    
} */

/* Regions Page list and nested list */
.icbs-list, .icbs-list ol {
	list-style: none;
	padding-left: 0;
}

.icbs-list ol li{
	list-style-type: disc;
}

.icbs-list ol li:last-child {
    padding-bottom: 20px;
}
tr td {white-space: nowrap;}