﻿/*
Theme Name: Seafield and Cullen
Theme URI: https://seafieldandcullenmedical.co.uk/
Description: WordPress theme built by <a href="http://www.hedleyenterprises.co.uk">hedley enterprises</a>. <strong>Web design</strong> starts with a coffee and a chat...
Version: 4 Build-0826
Author: <strong>hedley</strong> enterprises
Author URI: https://hedleyenterprises.co.uk

*/


/* poppins-regular - latin */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local("Poppins"),
	     url('fonts/poppins-v19-latin-regular.woff2') format('woff2'), 
         url('fonts/poppins-v19-latin-regular.woff') format('woff'); 
}
  /* poppins-700 - latin */
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local('Poppins'),
         url('fonts/poppins-v19-latin-700.woff2') format('woff2'), 
		 url('fonts/poppins-v19-latin-700.woff') format('woff'); 
}

/* playfair-display-regular - latin */
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400;
	src: local("Playfair Display"),
	     url('fonts/playfair-display-v28-latin-regular.woff2') format('woff2'), 
         url('fonts/playfair-display-v28-latin-regular.woff') format('woff'); 
}
:root {
	--main-color: #151515;
	--purple: #724367;
	--lightpurple: #886A81;
	--lgrey: #FAFAFA;
	--white: #FFFFFF;
  	--grey: #848487;
	--purpleshade: rgba(114, 67, 103, 0.2);
	--black: rgba(0, 0, 0, 0.1);
	--lightshadow: rgba(180, 180, 180, 0.1);
	--boxshadow: 0 5px 24px;
	--bold: 700;
	--border: 10px;
}
html {
	scroll-behavior: smooth;
}
body {
	font-size:16px;
    font-family: 'Poppins', sans-serif;
	margin:0;
	padding:0;
  	color: var(--main-color);
	opacity: 0;
	animation: fade-in 0.3s forwards 0.3s linear;
}
p::selection, h1::selection, h2::selection, h3::selection { background-color: #320101; color: #fff;}
p::-moz-selection, h1::-moz-selection, h2::-moz-selection, h3::-moz-selection { background-color: #320101; color: #fff; }

/* -------------------- Animation -------------------- */

section {
	opacity: 0;
}
.inverse, .show-menu {
	animation: fade-in 0.3s forwards 0.3s linear;
}
@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* -------------------- General Styles -------------------- */

.container, .wrapper {
	width: min(95%, 1600px);
	margin-inline: auto;
}
.easy-reading, .download_forms {
	width: min(90%, 900px);
	margin-inline: auto;
}
.easy-para {
	width: min(80%, 800px);
	margin-inline: auto;
}
a {
  text-decoration: none;
}

h1, h2, h3 {
	font-family: 'Playfair Display', Times, serif;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 3px;
}
p, li {
	line-height:1.6;
}
img {
	border-style: none;
}
.center, .has-text-align-center {
	text-align:center;
}
.absol {
	position:relative;
}
hr {
	width: 200px;
	margin: 5em auto;
	border: dashed 1px var(--lightpurple);
}
.hyper a {
	color: var(--purple);
}
.hyper a:hover {
	color: var(--lightpurple);
}
/* -------------------- Padding and Margins -------------------- */
.down {
	margin-top:10em;
}
.drop {
	margin-top: 3em;
}
.mtb {
    margin-top: 5em;
    margin-bottom: 5em;
}
.alignright {
	float:right;
	padding-left: 20px;
	padding-bottom: 20px;
}
.alignleft {
	float:left;
	padding-right: 20px;
	padding-bottom: 20px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.ptb {
	padding: 5em 0;
}
/* -------------------- unordered list -------------------- */
.top-bar ul, .quick-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.top-bar ul {
    display: flex;
    justify-content: flex-end;
}
.top-bar li {
    padding: 10px;
}
.top-bar li a {
	display: none;
}
.easy-reading ul, .download_forms ul {
	display: grid;
	margin: 2em 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 1em;
}
.easy-reading li, .download_forms li a {
	padding: 1em;
	border-radius: var(--border);
	border: solid thin var(--lightpurple);
}
.download_forms li a {
	display: block;
	text-align: center;
	color: var(--main-color);
}
.easy-reading li:hover, .download_forms li a:hover {
	background-color: var(--lgrey);
}
ol li {
	line-height: 1.9;
}
/* -------------------- Header -------------------- */
.top-bar {
    box-shadow: var(--boxshadow) var(--lightshadow);
    transition: box-shadow 0.5s ease-in-out;
}
.top-bar:hover {
	box-shadow: var(--boxshadow) var(--black);
}
.top-bar li a {
	color: var(--main-color);
}
.top-bar li a:hover {
	color: var(--purple);
}
header {
	padding-top: 1em;
}
.logo-nav {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas: "logo" "patient";
	align-items: center;
	grid-gap: 2em;
}
.logo {
	grid-area: logo;
}
.contact-buttons {
	grid-area: contact;
	justify-content: end;
	display: none;
}
.patient-buttons {
	grid-area: patient;
	justify-content: center;
	display: grid;
}
.inner .patient-buttons {
	display: none;
}
.logo-nav .contacttel {
	display: none;
}
.contact-buttons, .patient-buttons {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0.5em;
}
.logo-nav .contact-buttons:nth-child(3) {
    justify-content: end;
}
.contact-buttons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
	gap: 0.5em;
    align-self: center;
}
.contact-buttons li a {
    display: flex;
}
.logo, .nhslogo {
	text-align: center;
}
.logo svg, .logo img {
	width: 200px;
	height: auto;
}
.inner .nhslogo {
	display: none;
}
.nhslogo img {
	width: 100px;
	height: auto;
}
.nhslogo {
    margin-top: 2em;
}

/* -------------------- Notice -------------------- */
.notice {
	background-color: var(--purple);
	color: var(--lgrey);
	border-radius: var(--border);
	display: grid;
	grid-template-columns: 1fr;
	padding: 1em;
	grid-gap: 10px;
	box-shadow: var(--boxshadow) var(--black);
	margin-top: 1em;
	margin-bottom: 1em;
}
.notice__description p {
	margin: 0;
}
.notice__heading {
    font-weight: 700;
}
.Hide-Contact, .Hide-Notice-Banner {
	display: none;
}
/* -------------------- Internal Links -------------------- */
.internal-links-grid, .onlineforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
a.internal-links, a.onlineforms {
    background-color: var(--purple);
    display: grid;
    grid-template-columns: 1fr;
    padding: 2em;
    border-radius: var(--border);
    color: var(--white);
    gap: 1em;
    align-items: center;
    flex-grow: 1;
    width: 40%;
}
a:hover.internal-links {
	background-color: var(--lightpurple);
}
.internal-links__image, .onlineforms__image {
	width: 50px;
}
.internal-links__image svg, .onlineforms__image svg {
    width: 100%;
    height: 100%;
    fill: white;
    object-fit: cover;
}
.internal-links__text p, .onlineforms__text p {
    margin: 0;
}
span.file-upload-screen-reader-text {
    visibility: hidden;
}
/* -------------------- File Upload Table -------------------- */
.file-upload-table-wrap {
	margin: 2em 0;
	overflow-x: auto;
	width: 100%;
}
.file-upload-table-wrap .file-upload-table {
	border-collapse: separate;
	border-spacing: 0;
	min-width: 650px;
	width: 100%;
}
.file-upload-table thead {
	background-color: var(--purple);
	color: var(--white);
}
.file-upload-table th,
.file-upload-table td {
	border-bottom: solid thin var(--purpleshade);
	padding: 1em;
	text-align: left;
	vertical-align: middle;
}
.file-upload-table th:first-child {
	border-radius: var(--border) 0 0 0;
}
.file-upload-table th:last-child {
	border-radius: 0 var(--border) 0 0;
}
.file-upload-table tbody tr {
	background-color: var(--white);
	transition: background-color 0.3s ease-in-out;
}
.file-upload-table tbody tr:nth-child(even) {
	background-color: var(--lgrey);
}
.file-upload-table tbody tr:hover {
	background-color: var(--purpleshade);
}
.file-upload-table a {
	color: var(--main-color);
	text-decoration: none;
}
.file-upload-table a:hover {
	color: var(--purple);
}
.file-upload-table__icon {
	width: 70px;
}
.file-upload-table__icon a {
	align-items: center;
	background-color: var(--purple);
	border-radius: var(--border);
	display: inline-flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}
.file-upload-table__icon svg {
	display: block;
	height: 22px;
	width: auto;
}
.file-upload-table__icon svg,
.file-upload-table__icon svg path {
	fill: var(--white);
}
.file-upload-table__title {
	font-weight: var(--bold);
}
.file-upload-table__description {
	color: var(--grey);
}
.file-upload-table__description a {
	color: var(--grey);
}
/* -------------------- Feature -------------------- */
.feature {
	background-position: center;
	background-size: cover;
    background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
	padding-bottom: 3em;
    height: 60vh;
	overflow: hidden;
}
.feature-inner {
	background-position: center;
	background-size: cover;
    background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--purple);
}
.feature-inner h1 {
	color: var(--white);
}
.feature-image {
    position: absolute;
    bottom: 1em;
    width: 100%;
    left: 0;
}
.feature video {
	/* position: absolute; */
	/* top: 50%; */
	/* left: 50%; */
	/* transform: translate(-50%, -50%); */
	/* min-width: 100%; */
	/* min-height: 100%; */
	width: 100%;
	height: 100%;
	z-index: -10;
	object-fit: cover;
	object-position: center;
}
.google_map iframe {
	width: 100%;
	border: none;
	border-radius: var(--border);
	box-shadow: var(--boxshadow) var(--black);
}
.quick-links ul {
	display: grid;
	grid-template-rows: 1fr;
	grid-auto-flow: column;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
}
.quick-links li a {
	display: flex;
	align-items: flex-end;
	height: 200px;
	width: 200px;
	font-size: 1.5rem;
	border-radius: var(--border);
	border: solid thin var(--white);
	color: var(--white);
	background: rgba(114, 67, 103, 0.30);
    box-shadow: var(--boxshadow) var(--black);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    border: solid thin var(--white);
	transition: background-color 0.5s ease-in-out;
}
.quick-links li:nth-child(2) a {
	background-color: var(--purple);
    transition: color 0.3s ease-in-out;
}
.quick-links li a:hover {
	background-color: var(--lightpurple);
}
.quick-links li:nth-child(2) a:hover {
	color: var(--white);
}
.quick-links li a p {
    box-sizing: border-box;
    padding: 1em;
    margin: 0;
}
/* -------------------- Navigation -------------------- */
.navigation {
	display: none;
	border-top: solid thin var(--black);
	border-bottom: solid thin var(--black);
	margin-top: 2em;
}
/* -------------------- Navigation Mobile -------------------- */
.navigation-mobile {
	width: 0;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
#navoverlay {
	background-color: var(--purple);
	color: var(--white);
}
.mobile {
	display: none;
	opacity: 0;
}
.close-btn {
	display: block;
}
.menu-btn {
	cursor: pointer;
	position: absolute;
	top: 5px;
	left: 10px;
	color: var(--white);
	background-color: var(--lightpurple);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	outline: solid 2px var(--lightpurple);
	outline-offset: 2px;
	transition: background-color 0.5s ease-in-out;
}
.nav-icon-open, .nav-icon {
	width: 20px;
}
.mobile {
	position: fixed;
	padding: 2em;
	width: calc(100vw - 4em);
	height: calc(100vh - 4em);
	z-index: 200;
}
.close-btn {
	cursor: pointer;
	position: absolute;
	left: 10px;
	top: 5px;
	color: var(--white);
	background-color: var(--lightpurple);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	outline: solid 2px var(--lightpurple);
	outline-offset: 2px;
	transition: background-color 0.5s ease-in-out;
}
.show-menu {
	opacity: 0;
	display: block;
}
ul.sub-menu {
	display:none;
}
.nav .sub-menu {
	margin-top: 20px;
	margin-bottom: 20px;
}
.nav .sub-menu li a {
	font-size: 16px;
	margin: 0;
	padding: 0;
	opacity: 0.8;
}
.nav .sub-menu li {
	margin: 0;
}
.slideDown {
  display: block;
}
.menu-contents {
	display: flex;
	flex-wrap: wrap;
	height: 100vh;
}
.nav ul:nth-child(1) {
	font-size: 1.5rem;
}
.nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav ul:nth-child(3) {
	margin: 3em 0 0 0;
}
.nav ul, .contact-nav ul, .social-nav ul {
	flex-wrap: wrap;
}
.nav li, .contact-nav li, .social-nav li {
	width: 100%;
	margin-left: 0;
	margin-bottom: 15px;
}
.nav, .contact-nav, .social-nav {
	align-self: center;
	width: 100%;
	text-align: center;
}
.nav, .contact-nav {
	margin-bottom: 20px;
}
.nav li a, .contact-nav li a {
	color: var(--white);
}
.nav li a:hover {
	color: var(--lightpurple);
}
/* -------------------- Opening Hours - Header -------------------- */
.opening-hours {
    background-color: var(--purple);
    color: var(--white);
    padding: 1em 0;
	display: none;
}
.opening-hours ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1em;
    justify-content: center;
	flex-wrap: wrap;
}
/* -------------------- Hamburger Icon -------------------- */
#Rectangle_27, #Rectangle_28, #Rectangle_29,
#Rectangle_30, #Rectangle_31, #Rectangle_32 {
	transition: all 0.5s ease-in-out;
}
#Rectangle_27 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 30px);
}
#open-menu:hover #Rectangle_27 {
	transform: translate(332px, 30px);
}
#Rectangle_28 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 36px);
}
#open-menu:hover #Rectangle_28 {
	transform: translate(326px, 36px);
}
#Rectangle_29 {
	transform: translate(334px, 42px);
}
#open-menu:hover #Rectangle_29 {
	transform: translate(316px, 42px);
}

/* -------------------- Page Title / CTA -------------------- */
.page-title {
	color: var(--purple);
}
.feature-inner .page-title {
	color: var(--white);
}
.page-title h1 {
	font-weight: bold;
	font-size: clamp(2rem, 1rem + 1.5vw, 3rem);
}
/* -------------------- Links Boxes -------------------- */
.links-boxes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
	grid-gap: 2px;
	margin-top: 2px;
}
.boxes {
    color: var(--white);
    padding: 2em;
}
.boxes ul {
    padding: 0;
    list-style: none;
}
.boxes h2 {
	margin: 0;
}
.boxes li a {
	color: var(--white);
	padding-bottom: 0.5em;
	display: block;
	transition: padding 0.5s ease-in-out;
}
.boxes li a:hover {
	color: var(--grey);
	padding-left: 5px;
}
.boxes__text li {
	border-bottom: dotted 1px var(--lgrey);
	margin-bottom: 0.5em;
}
.links-boxes .boxes:nth-child(1) {
	background-color: var(--purple);
}
.links-boxes .boxes:nth-child(2) {
	background-color: var(--lightpurple);
}
.links-boxes .boxes:nth-child(3) {
	background-color: var(--grey);
}
.boxes__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* -------------------- Gallery / Banner -------------------- */
.gallery, .grid, .links {
	display: flex;
	flex-wrap: wrap;
}
.space {
	justify-content: space-between;
}
.gallery-item {
	float: left;
	width: 20%;
	flex-grow: 1;
	margin: 5px;
}
.gallery-item img {
	width: 100%;
	height: auto;
}
.gallery-item img:hover {
	opacity: 0.6;
}

.blog:nth-child(1) {
	width: 100%;
	text-decoration: underline;
}

/* -------------------- Button -------------------- */
button {
	background: transparent;
	border: transparent;
	font-size: 14px;
	font-family: 'Poppins', sans-serif;
}
a.btn, .btn a {
	text-transform: uppercase;
	display: inline-flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
	padding: 15px 30px;
	font-weight: var(--bold);
	gap: var(--border);
	transition: outline-offset 300ms;
}
a.btn-outline {
	color: var(--white);
	background: linear-gradient(to right, var(--purple) 50%, var(--lightpurple) 50%);
	background-size: 200% 100%;
	background-position: left bottom;
	transition: color 300ms, background-position 300ms, outline-offset 300ms;
}
a.btn-details {
	color: var(--white);
	background: linear-gradient(to right, var(--lightpurple) 50%, var(--purple) 50%);
	background-size: 200% 100%;
	background-position: left bottom;
	transition: color 300ms, background-position 300ms, outline-offset 300ms;
}
a.btn-action {
	color: var(--main-color);
	background: linear-gradient(to right, var(--white) 50%, var(--lightpurple) 50%);
	background-size: 200% 100%;
	background-position: left bottom;
	transition: color 300ms, background-position 300ms, outline-offset 300ms;
}
a.btn:hover {
	color: var(--white);
	background-position: right bottom;
}
.btn svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	display: block;
	fill: currentColor;
}
.btn svg * {
	vector-effect: non-scaling-stroke;
}
/* -------------------- Cookie Notice -------------------- */

.cookie-notice {
    width: min(80%, 470px);
    z-index: 50;
    box-sizing: border-box;
    position: fixed;
    bottom: 5%;
    left: 50%;
    max-width: 500px;
    background: var(--white);
    border: solid thin var(--black);
    box-shadow: var(--box-shadow) var(--black);
    transform: translateX(-50%);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1em;
    align-items: center;
    padding: 1em;
    opacity: 0;
    animation: fade-in .3s forwards 2s linear;
}
.cookie-notice p {
    margin: 0;
}
.cookie-notice a {
	color: var(--main-color);
}
.cookie-notice-header {
	font-weight: bold;
}
.cookie-notice button {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	border-radius: 50px;
	padding: 10px;
	outline: solid thin var(--purple);
	outline-offset: 5px;
	background-color: var(--purple);
	border: none;
	font-weight: bold;
	color: var(--white);
	cursor: pointer;
}
.cookie-notice button:hover {
	outline: solid thin var(--lightpurple);
	outline-offset: 5px;
	background-color: var(--lightpurple);
}
/* -------------------- Install App -------------------- */
#install-app, #ios-install-hint {
  position: fixed;
  width: 80%;
  max-width: 320px;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%, 100px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#install-app.pwa-visible,
#ios-install-hint.pwa-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Card */
.pwa-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  max-width: min(92vw, 420px);
}
/* Text */
.pwa-text {
  flex: 1;
  line-height: 1.2;
}
.pwa-text strong {
  display: block;
  font-size: 0.95rem;
}
.pwa-text span {
  font-size: 0.8rem;
  opacity: 0.85;
}
/* Install button */
.pwa-install {
  background: var(--white);
  color: var(--main-color);
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
/* Dismiss */
.pwa-dismiss {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.pwa-dismiss:hover {
  opacity: 1;
}
.pwa-install:focus-visible,
.pwa-dismiss:focus-visible,
.pwa-card:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}
#install-app:focus,
#ios-install-hint:focus,
.pwa-install:focus,
.pwa-dismiss:focus {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* -------------------- Footer -------------------- */
footer {
	color: var(--white);
	background-color: var(--main-color);
	padding: 2em 0;
}
footer a, .copyright a {
    color: var(--white);
}
footer a:hover, .copyright a:hover {
    color: var(--purple);
}
footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-grid {
	text-align: center;
}
.footer-banner img {
	width: 100%;
	height: auto;
	display: block;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 60px;
	text-align: center;
}
.footer-openingtimes table {
	width: 100%;
}
.modal-info {
	padding: 1em;
}
.copyright {
	font-size: 10px;
	color: var(--white);
	background-color: #000000;
	padding: 5px 0;
}

/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for Desktop Devices


*/

/* -------------------- 800 -------------------- */

@media all and (min-width: 50em) {
.opening-hours {
    margin-top: 1em;
	display: block;
}
.top-bar li a {
	display: block;
}
.current_page_item a {
	color: var(--main-color);
	font-weight: bold;
}
.easy-reading ul, .download_forms ul {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.contact-buttons, .patient-buttons {
    grid-template-columns: auto auto auto;
}
.nhslogo {
    margin-top: 0;
}
.quick-links ul {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	overflow-x: visible;
}
.links-boxes {
	grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
}
a.internal-links, a.onlineforms {
    grid-template-columns: 50px auto;
}
}

/* -------------------- 1200 -------------------- */

@media all and (min-width: 75em) {

/* -------------------- Navigation -------------------- */
.navigation {
	display: flex;
	justify-content: center;
}
.menu-btn {
	display: none;
}
.navigation-mobile {
	display: none;
}
.opening-hours {
	margin-top: 0;
}
/* -------------------- Drop-Down -------------------- */
.sub-menu {
	margin-top: -5px;
}
nav ul ul {
	display: none;
}
nav ul li:hover > ul {
	display: block;
	z-index: 10;
	border-radius: 0 10px 10px 10px;
	overflow: hidden;
}
nav ul {
	padding: 0px 5px 0px 5px;
	list-style: none;
	position: relative;
	margin: 0.5em auto;
}
nav ul:after {
	content: ""; clear: both; display: block;
}
nav ul li {
	float: left;
}
nav ul li:hover {
	background-color: var(--lightpurple);
	border-radius: 5px;
}
nav ul li:hover a {
	color: #fff;
}
nav ul li a {
	display: block;
	padding: 10px;
	color: var(--main-color);
	text-decoration: none;
}
nav ul ul {
	background: var(--lightpurple); border-radius: 0px; padding: 0;
	position: absolute; top: 100%;
}
nav ul ul li {
	float: none;
	position: relative;
}
nav ul ul li a {
	padding: 10px;
	color: var(--lgrey);
	font-weight: normal!important;
}
nav ul ul li a:hover {
	background: var(--purple);
	color: var(--white);
}
nav ul ul ul {
	position: absolute; left: 100%; top:0;
}
.footer-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
}
.footer-details, .footer-openingtimes {
	border-top: solid thin var(--purple);
}
.links-boxes {
	grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
}
.logo-nav {
	grid-template-columns: 200px 1fr auto;
	grid-template-areas: "logo contact patient";
}
.logo {
	text-align: left;
}
.nhslogo {
	text-align: right;
}
.inner .nhslogo {
	display: block;
}
.contact-buttons, .inner .patient-buttons {
	display: grid;
}
.patient-buttons {
	justify-content: end;
}
}

/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for Desktop Devices with bigger screens


*/


@media all and (min-width: 1600px) {
.logo-nav {
	grid-template-columns: 1fr 200px 1fr;
	grid-template-areas: "contact logo patient";
}
.logo-nav .contacttel {
	display: flex;
}
.contact-buttons {
	justify-content: start;
}
}


