/*
Theme Name: 
Theme URI: 
Description: Bespoke Theme developed by Adrian @ AlphaWebServices.net
Author: Adrian Jones
Version: 2.3.4
License: 
License URI: 
Tags: 
*/

@keyframes marquee-animation {
  from {
    /* Start right out of view 
    transform: translate3d(100%, 0, 0);*/
  }
  
  to {
    /* Animate to the left of the container width */
    left: 0;
    transform: translateX(-100%);
  }
}

*		{margin: 0; border: 0; padding: 0; outline: 0; box-sizing: border-box;}
.clear		{clear: both;}
html		{overflow-y: scroll; scroll-behavior: smooth;}
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}
img, svg         {max-width: 100%; max-height: 100%; height: auto; vertical-align: initial;}
iframe		{max-width: 100%;}
.gform_wrapper .gform_body select	{-webkit-appearance: none;}

.nhsuk-width-container,
.nhsuk-header__navigation {
	max-width: 1200px;
}

#cookieBanner {
	display: none;
}

#cookieBanner button {
	margin-bottom: 0;
}

.cookieSettingsForm .nhsuk-button {
	margin-top: 30px;
}

.cookieSettingsForm .nhsuk-inset-text {
	margin-top: 0;
}

.nhsuk-global-alert {
	background-color: #ffeb3b;
	padding-bottom: 24px;
	padding-top: 24px;
}

.nhsuk-global-alert__content>*:first-child {
	margin-top: 0;
}

.nhsuk-global-alert__heading {
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.33333;
	margin: 0;
}

.nhsuk-global-alert__content>*:last-child {
	margin-bottom: 0;
}

.nhsuk-global-alert__message {
	margin-top: 8px;
	line-height: 1.5;
}

.nhsuk-header__logo {
	max-width: 75%;
}

.nhsuk-header .headPracticeLogo {
	max-height: 100px;
}

.nhsuk-header__link {
	height: auto;
	width: auto;
}

.nhsuk-header__logo .nhsuk-action-link {
	margin: 15px 0 0;
}

.nhsuk-header__content .headTools {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.nhsuk-header__content .headTools > * {
	margin-top: 10px;
	cursor: pointer;
}

.nhsuk-header__content .headTools > * + * {
	margin-left: 20px;
}

.nhsuk-header__search-toggle {
	line-height: initial;
}

.nhsuk-header__content .headIcons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding-bottom: 5px;
}

.nhsuk-header__content .headIcons.hideMobile {
	display: none;
}

.nhsuk-header__content .headIcons i {
	font-size: 42px;
	margin-left: 10px;
}

.nhsuk-header__content .headIcons .cqcBadge {
	width: 100%;
	margin-top: 10px;
	text-align: center;
}

.nhsuk-header__content .headIcons .cqcBadge img {
	display: inline-block;
	max-height: 70px;
}

.nhsuk-footer .gtranslate_wrapper {
	margin-bottom: 20px;
}

.nhsuk-footer .nhsuk-grid-row > div + div {
	margin-top: 20px;
}

.nhsuk-footer__list {
	text-align: center;
}

.nhsuk-footer__list-item {
	float: none;
	margin-right: 0;
}

.nhsuk-footer .cqc-widget-header {
	text-align: center!important;
}

.nhsuk-footer .cqc-widget .cqc-widget-overall {
	float: none!important;
}

.footLogo {
	text-align: center;
}

.footLogo img {
	display: inline-block;
	max-height: 50px;
	margin-bottom: 15px;
}

.nhsuk-footer__copyright {
	float: none;
	width: auto;
}

.homeWarning .nhsuk-warning-callout {
	margin-top: 0;
}

.topmarquee {
	display: none;
	margin-bottom: 32px;
	border: 1px solid #000;
	padding: 3px;
}

.homeTilesRow {
	background: #fff;
	padding: 20px 0;
}

.homeTilesRow.largeTopPad {
	padding-top: 100px;
}

.homeTilesRow .nhsuk-grid-row > div + div {
	margin-top: 20px;
}

.homeTilesRow .secondRow {
	margin-top: 20px;
}

.homeTilesRow .tileInner {
	background: #005eb8;
	color: #fff;
	text-align: center;
}

.homeTilesRow a {
	text-decoration: none;
}

.homeTilesRow a:focus .tileInner {
	background: #ffeb3b;
	color: #000;
	box-shadow: 0 -2px #ffeb3b,0 4px #212b32;
}

.homeTilesRow .tileInner:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 160px;
}

.homeTilesRow .tileInner > div {
	display: inline-block;
	vertical-align: middle;
	max-width: 95%;
}

.homeTilesRow .tileInner i {
	font-size: 42px;
}

.homeTilesRow .tileInner p {
	margin: 10px 0 0;
}

.homeTilesRow a:hover p {
	text-decoration: underline;
}

.homeAdditional:after {
	content: "";
	display: block;
	clear: both;
}

.nhsWidgets {
	padding: 20px 0;
}

.app-list-signage {
	list-style: none;
	padding-left: 0;
	padding-top: 8px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

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

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

.app-list-signage li a {
	background: #005eb8;
	color: #fff;
	display: block;
	padding: 12px 24px;
	position: relative;
	text-decoration: none;
	width: 100%;
}

@media (max-width: 40.0525em) {
	.app-list-signage li a {
		padding: 12px 16px;
	}
}

.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;
	position: absolute;
	right: 12px;
	top: 14px;
	width: 24px;
}

@media (max-width: 40.0525em) {
	.app-list-signage li a .nhsuk-icon {
		top: 12px;
	}
}

.whoGrid {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.whoBlock {
	width: 100%;
}
.whoBlock .blockHead {
	background: #005eb8;
	color: #fff;
	display: block;
	padding: 12px 24px;
	position: relative;
	text-decoration: none;
	cursor: pointer;
}
.whoBlock .blockHead p {
	margin-bottom: 0;
}
.whoBlock .blockHead .icon {
	float: right;
}
.whoBlock .blockHead .icon-minus {
  display: none;
}
.whoBlock.active .blockHead .icon-minus {
  display: block;
}
.whoBlock.active .blockHead .icon-plus {
  display: none;
}
.whoBlock .blockBody {
	background: #fff;
	border: 1px solid #ccc;
	border-width: 0 1px 1px;
	padding: 24px 24px 12px;
}

.whodoiseeBtn {
	display: block;
	text-align: center;
	background: #005eb8;
	color: #fff;
	padding: 25px 0;
	margin-bottom: 32px;
	border-radius: 8px;
}
.whodoiseeBtn p {
	margin-bottom: 0;
	font-size: 20px;
}
.whodoiseeBtn i {
	font-size: 28px;
	padding: 0 12px;
}
.whodoiseeBtn:visited {
	color: #fff;
}
.whodoiseeBtn:hover {
	text-decoration: none;
	color: #fff;
}

.homeNews .newsPosts .nhsuk-card__content > div:first-of-type {
	word-break: break-word;
}

.nhsApp {
	background: #fff;
	padding: 20px 0;
}

.nhsApp ul {
	padding-left: 0;
	list-style: none;
}

.nhsApp ul li {
	display: inline-block;
	vertical-align: top;
}

.nhsApp ul li:first-of-type {
	margin-right: 15px;
}

.nhsApp ul li img {
	display: block;
	width: auto;
	height: 65px;
}

.homeNews {
	padding: 20px 0;
}

.homeFFT {
	padding: 20px 0 0;
	background: #fff;
	text-align: center;
}

.homeFFT .flex {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-direction: column;
}

.homeFFT .flex > div + div {
	margin-top: 28px;
}

.homeFFT a {
	display: block;
}

.homeFFT img {
	display: block;
	margin: 0 auto;
	max-height: 250px;
	max-width: 80%;
}

.contactMap iframe {
	width: 100%;
	margin-bottom: 40px;
}

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

.gform_wrapper .gform_body .nhsuk-form-group {
	margin-bottom: 24px!important;
}

.gform_wrapper .gform_body .nhsuk-form-group--error {
	border-left: 4px solid #d5281b!important;
	padding-left: 16px!important;
}

.gform_wrapper .gform_body .ginput_container_address > span > label > span {
	flex: none;
	padding: 4px 8px!important;
}

.gform_wrapper .gform_body .summaryList a.map-it-link {
	display: none;
}

.flexVertical {
	display: flex;
	flex-direction: column;
}

.footerLeft {
	text-align: center;
}

.footLogo {
	margin-top: 32px;
}

.teamThumbnail {
	width: 200px;
	margin-bottom: 5px;
}
.teamThumbnail:before {
	content: "";
	display: block;
	padding-top: 100%;
}

.navigation ul {
	text-align: center;
	list-style: none;
	padding-left: 0;
}

.navigation ul li {
	display: inline-block;
}

.navigation ul li + li {
	margin-left: 5px;
}

.navigation ul li a {
	display: block;
	color: #fff;
	background: #005EB8;
	text-decoration: none;
	padding: 6px 12px;
}

.navigation ul li a:hover,
.navigation ul li.active a {
	opacity: 0.6;
}

.nhsuk-card--feature,.nhsuk-card.is-style-panel-with-label {
    margin-top: 40px
}

@media(min-width: 40.0625em) {
    .nhsuk-card--feature,.nhsuk-card.is-style-panel-with-label {
        margin-top:48px
    }
}

.nhsuk-card.is-style-panel-with-label .nhsuk-card__content {
    margin-top: 40px
}

@media(min-width: 40.0625em) {
    .nhsuk-card.is-style-panel-with-label .nhsuk-card__content {
        margin-top:48px
    }
}

.nhsuk-card__heading--feature,.nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
    background: #005eb8;
    color: #fff;
    display: inline-block;
    left: -25px;
    margin-bottom: 8px;
    margin-right: -24px;
    padding: 8px 24px;
    position: relative;
    top: -8px
}

@media(min-width: 40.0625em) {
    .nhsuk-card__heading--feature,.nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
        left:-33px;
        margin-right: -32px;
        padding: 8px 32px;
        top: -16px
    }
}

@media(min-width: 40.0625em) {
    h3,.nhsuk-heading-m,.nhsuk-card.is-style-panel-with-label .nhsuk-card__content h2 {
        font-size:24px;
        font-size: 1.5rem;
        line-height: 1.33333
    }
}

.nhsuk-card__content--feature,.nhsuk-card.is-style-panel-with-label .nhsuk-card__content {
    padding-top: 0 !important
}

@media all and (min-width: 450px) {
	.homeTilesRow.largeTopPad {
		padding-top: 70px;
	}
}

@media all and (min-width: 640px) {
	.nhsuk-header__logo {
		max-width: 60%;
	}
	.homeTilesRow.largeTopPad {
		padding-top: 90px;
	}
	.homeWarning {
		padding-top: 25px;
	}
	.nhsuk-header__content .headTools {
		justify-content: flex-end;
	}
	.nhsuk-header__content .headTools > * {
		margin-top: 0;
		margin-bottom: 10px;
	}
	.nhsuk-header__content .headIcons {
		flex-wrap: nowrap;
		justify-content: flex-end;
		padding-bottom: 0;
	}
	.nhsuk-header__content .headIcons .cqcBadge {
		margin-right: 0;
		margin-left: 10px;
		width: auto;
	}
	.staffRole {
		display: flex;
		flex-wrap: wrap;
		gap: 50px;
	}

	.staffRole h2 {
		width: 100%;
	}

	.staffRole > div {
		width: calc(50% - 25px);
	}
}

@media all and (min-width: 989px) and (max-width: 1264px) {
	.nhsuk-width-container {
		margin: 0 32px;
	}
}

@media all and (min-width: 768px) {
	.nhsuk-header__logo {
		max-width: none;
	}
	
	.nhsuk-header__content .headIcons.hideMobile {
		display: flex;
	}
	
	.mainFlex {
		display: flex;
		justify-content: space-between;
	}
	
	.mainFlex .mainFlexLeft {
		width: 65%;
	}
	
	.mainFlex .mainFlexRight {
		width: 30%;
	}
	
	.mainFlex .mainFlexRight .nhsuk-inset-text {
		margin-top: 0;
	}
	
	.nhsuk-footer .nhsuk-grid-row > div + div {
		margin-top: 0;
	}
	
	.nhsuk-footer__list {
		text-align: left;
	}
	
	.nhsuk-footer .cqc-widget-header {
		text-align: left!important;
	}

	.nhsuk-footer .cqc-widget .cqc-widget-overall {
		float: left!important;
	}
	
	.footerLeft {
		text-align: left;
	}
	
	.footLogo {
		text-align: right;
		margin-top: 0;
	}
	
	.homeTilesRow {
		padding: 32px 0;
	}
	
	.homeTilesRow.largeTopPad {
		padding-top: 90px;
	}
	
	.homeTilesRow .nhsuk-grid-row > div + div {
		margin-top: 0;
	}
	
	.homeTilesRow .secondRow {
		margin-top: 32px;
	}
	
	.nhsWidgets {
		padding: 32px 0;
	}
	
	.app-list-signage li {
		width: 48%;
	}
	
	.nhsApp,
	.homeNews {
		padding: 32px 0;
	}
	
	.homeFFT {
		padding-top: 32px;
	}
	
	.homeFFT .flex {
		flex-direction: row;
		column-gap: 28px;
	}
	
	.homeFFT img {
		max-width: 100%;
	}
	
	.topmarquee {
		display: flex;
	}
	
	.topmarquee .marqueeButtons		{width: 150px; display: flex; justify-content: flex-end;}
	.topmarquee .marqueeButtons .btn	{background: #dbdddf; padding: 6px 10px; border-radius: 5px; margin-left: 3px;}
	.topmarquee .marqueeButtons .btn i			{cursor: pointer; font-size: 20px; color: #212b32;}
	.topmarquee .marqueeButtons .btn:hover,
	.topmarquee .marqueeButtons .btn:focus		{background: #ffeb3b;}
	.topmarquee .marquee			{width: calc(100% - 150px); position: relative; overflow: hidden;}
	.topmarquee .marquee #marqueeText		{display: block; position: absolute; top: 0; right: 0; margin: 0; white-space: nowrap; left: 100%; transform: translatex(0); animation-name: marquee-animation; animation-iteration-count: infinite; animation-timing-function: linear; line-height: 31px; width: fit-content;}
	.topmarquee .marquee p span			{display: inline-block;}
	.topmarquee .marquee p span + span	{margin-left: 50px;}
	.topmarquee .marqueeButtons .btn i			{cursor: pointer; font-size: 20px;}
	.topmarquee a		{text-decoration: none;}
	.topmarquee a:hover,
	.topmarquee a:focus	{text-decoration: underline;}
	
}

@media all and (min-width: 990px) {
	.mainFlex .mainFlexLeft {
		width: 70%;
	}
	
	.mainFlex .mainFlexRight {
		width: 25%;
	}
	
	.cqcMargin {
		margin: 0 50px;
	}
	
	.footLogo img {
		max-height: 70px;
	}
	
	.homeTilesRow .tileInner p {
		font-size: 1.5rem;
	}
	.whoBlock {
		width: calc(50% - 2px);
	}
}

@media all and (min-width: 1200px) {
	.contactFlex {
		display: flex;
		justify-content: space-between;
	}
	
	.contactFlex > div {
		width: 47%;
	}
	
	.contactFlex .contactFlexLeft > div {
		min-height: 450px;
	}
}

.borderedContent {
	background: #fff;
	padding: 10px 24px;
    border: 1px solid #d8dde0;
	margin-bottom: 20px;
}