/*
Theme Name: A Person Centred
Author: John Robinson Web Design
Author URI: https://johnrobinsondesigner.co.uk/
Version: 1.0
*/
/*Reset*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

:focus {
  outline: 0;
}

ol,
ul {
  font-size: var(--step-0);
  list-style-type: disc;
  list-style: inside;
  margin-bottom: var(--space-m);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: "" "";
}

/* outfit-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  src: url("assets/webfonts/Outfit-Regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  src: url("assets/webfonts/Outfit-SemiBold.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root {
  /* @link https://utopia.fyi/space/calculator?c=500,16,1.125,1400,20,1.125,5,4,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
  --step--4: clamp(0.6243rem, 0.5376rem + 0.2775vw 0.7804rem);
  --step--3: clamp(0.7023rem, 0.6048rem + 0.3121vw, 0.8779rem);
  --step--2: clamp(0.7901rem, 0.6804rem + 0.3512vw, 0.9877rem);
  --step--1: clamp(0.8889rem, 0.7654rem + 0.3951vw, 1.1111rem);
  --step-0: clamp(1rem, 0.8611rem + 0.4444vw, 1.25rem);
  --step-1: clamp(1.125rem, 0.9688rem + 0.5vw, 1.4063rem);
  --step-2: clamp(1.2656rem, 1.0898rem + 0.5625vw, 1.582rem);
  --step-3: clamp(1.4238rem, 1.2261rem + 0.6328vw, 1.7798rem);
  --step-4: clamp(1.6018rem, 1.3793rem + 0.7119vw, 2.0023rem);
  --step-5: clamp(1.802rem, 1.5518rem + 0.8009vw, 2.2525rem);
  --space-3xs: clamp(0.25rem, 0.2153rem + 0.1111vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.4306rem + 0.2222vw, 0.625rem);
  --space-xs: clamp(0.75rem, 0.6458rem + 0.3333vw, 0.9375rem);
  --space-s: clamp(1rem, 0.8611rem + 0.4444vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.2917rem + 0.6667vw, 1.875rem);
  --space-l: clamp(2rem, 1.7222rem + 0.8889vw, 2.5rem);
  --space-xl: clamp(3rem, 2.5833rem + 1.3333vw, 3.75rem);
  --space-2xl: clamp(4rem, 3.4444rem + 1.7778vw, 5rem);
  --space-3xl: clamp(6rem, 5.1667rem + 2.6667vw, 7.5rem);
  /*Colours set in RGB so we can control opacity with RGBA*/
  --black: 0, 0, 0;
  --white: 255,255,255;
  --saffron: 252,177,49;
  --blue: 82,87,145;
  --outfit: "Outfit", arial, sans-serif;
}

* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background-color: rgb(var(--saffron));
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  color: rgb(var(--black));
  font-family: var(--outfit);
  letter-spacing: 0.2px;
  line-height: 1.5;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--outfit);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  line-height: 1.2;
  margin-bottom: var(--space-s);
}

h2 {
  font-size: var(--step-3);
  line-height: 1.2;
  margin-bottom: var(--space-s);
}

h3 {
  font-size: var(--step-2);
  line-height: 1.2;
  margin-bottom: var(--space-s);
}

.footer-subheading {
  margin-bottom: 1rem;
}

p {
  font-size: var(--step-0);
  margin-bottom: var(--space-l);
}

.landing-copy p {
  margin-bottom: var(--space-m);
}

.paragraph-no-bottom-margin {
  margin-bottom: 0;
}

small {
  font-size: var(--step--1);
}

blockquote {
  font-size: var(--step-1);
  max-width: 65ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

blockquote:after {
  content: "";
  display: block;
  background-image: url("assets/images/dharmawheelgrey.svg");
  background-position: center;
  background-size: cover;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-s);
  margin-top: var(--space-s);
  height: 50px;
  width: 50px;
}

footer h2:before {
  content: "";
  display: block;
  background-image: url("assets/images/dharmawheel.svg");
  background-position: center;
  background-size: cover;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-s);
  margin-top: var(--space-s);
  height: 50px;
  width: 50px;
}

cite {
  display: block;
  font-size: var(--step-0);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro {
  font-weight: 500;
}

.centred-intro {
  font-weight: 500;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.button,
.dropbtn,
input[type=submit] {
  background-color: rgb(var(--blue));
  border: 0;
  border-radius: 28px;
  color: rgb(var(--white));
  cursor: pointer;
  display: inline-block;
  font-family: var(--outfit);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 14px;
  padding-bottom: 14px;
  text-align: center;
  text-decoration: none;
  width: auto;
}

.outlined-button {
  border: 2px solid rgb(var(--black));
  border-radius: 28px;
  color: rgb(var(--black));
  cursor: pointer;
  display: inline-block;
  font-family: var(--outfit);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 14px;
  padding-bottom: 14px;
  text-align: center;
  text-decoration: none;
  width: auto;
}

.outlined-button:hover {
  background-color: rgb(var(--black));
  color: rgb(var(--saffron));
}

input[type=submit] {
  margin-top: var(--space-s);
}

.button:hover,
.dropbtn:hover,
input[type=submit]:hover {
  border: 0;
  color: rgb(var(--black));
  background-color: rgb(var(--saffron));
  -webkit-appearance: none;
}

.button-margin-top {
  margin-top: var(--space-l);
}

.button-margin-top-medium {
  margin-top: var(--space-m);
}

/*Images*/
img {
  display: block;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  position: relative;
}

.circular-image {
  border-radius: 50%;
}

a {
  color: rgb(var(--blue));
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(var(--blue));
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: rgb(var(--saffron));
  text-decoration-color: rgb(var(--saffron));
}

footer a {
  color: rgb(var(--white));
  letter-spacing: 0.2px;
  font-weight: 400;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

footer a:hover {
  color: rgb(var(--saffron));
  text-decoration: none;
  text-decoration-color: transparent;
}

.menu-footer-container .menu li,
.menu-utility-container .menu li {
  font-size: var(--step-0);
}

.icon-block-body {
  display: block;
  font-size: var(--step-0);
  line-height: normal;
  padding-bottom: var(--space-xs);
}

/*Containers*/
.container {
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  width: 92%;
}

.header-container {
  margin-left: auto;
  margin-right: auto;
}

.container-x-small {
  max-width: 800px;
}

.container-small {
  max-width: 880px;
}

.container-medium {
  max-width: 1100px;
}

.container-x-large {
  max-width: 1250px;
}

.padding-small {
  padding-bottom: var(--space-s);
  padding-top: var(--space-s);
}

.padding-medium {
  padding-bottom: var(--space-m);
  padding-top: var(--space-m);
}

.padding-large {
  padding-bottom: var(--space-xl);
  padding-top: var(--space-xl);
}

.padding-small-top {
  padding-top: var(--space-s);
}

.padding-x-large {
  padding-bottom: var(--space-2xl);
  padding-top: var(--space-2xl);
}

.testimonial-padding {
  padding-top: var(--space-l);
}

.testimonial-wrapper {
  padding: var(--space-l);
}

header {
  border-top: 20px solid rgb(var(--saffron));
}

.header-wrapper {
  text-align: center;
}

@media (min-width: 1100px) {
  .header-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
  }
}
/*Main Site Navigation*/
.logo-wrapper,
.main-site-navigation {
  width: 100%;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
}

@media (min-width: 1100px) {
  .logo-wrapper {
	width: auto;
  }
}
.logo {
  width: 180px;
  height: auto;
  margin-bottom: var(--space-s);
}

@media (min-width: 1100px) {
  .logo {
	margin-bottom: 0;
  }
}
.logo-link {
  display: block;
}

/*Menu Dropdown Button*/
.dropdown-content {
  display: none;
  margin-top: var(--space-s);
}

.show {
  display: block;
}

@media (min-width: 1100px) {
  .dropdown-content {
	display: block;
	margin-top: 0;
  }
  .dropbtn {
	display: none;
  }
}
.menu .sub-menu {
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 0.624295077rem;
}

.menu .sub-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 0.3897443431rem;
  padding-top: 0.3897443431rem;
}

.menu .sub-menu li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

/*Services drop down*/
.menu li {
  list-style-type: none;
}

.menu-header-container .menu li {
  font-family: var(--outfit);
  font-size: var(--step-0);
  font-weight: 600;
  padding-bottom: 0.7023319616rem;
}

.menu-header-container .menu li a {
  color: rgb(var(--black));
  font-weight: 600;
  text-decoration: none;
}

.menu-header-container .menu li.current-menu-item a {
  color: rgb(var(--saffron));
}

.menu-header-container .menu li a:hover {
  color: rgb(var(--saffron));
}

@media (min-width: 1100px) {
  .menu-header-container .menu {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0;
  }
  .menu-header-container .menu li {
	border-bottom: 0;
	padding-bottom: 0;
	padding-top: 0;
	margin-bottom: 0;
	margin-right: var(--space-l);
	width: auto;
  }
  .menu-header-container .menu li:last-child {
	margin-right: 0;
  }
}
.flex-layout {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.6018066406rem;
}

.reverse {
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 2.565784514rem;
}

.section-image-2 {
  display: none;
}

@media (min-width: 1200px) {
  .page-bg {
	background-image: url("assets/images/page-bg.svg");
	background-repeat: no-repeat;
	background-position: right -240px center;
	background-size: 400px 400px;
  }
}
/*Flex & Grid*/
@media (min-width: 800px) {
  .section-image-2 {
	display: inline-block;
	margin-top: 2.0272865295rem;
  }
  .landing-copy {
	flex-basis: 50%;
  }
  .landing-image {
	flex-basis: 45%;
  }
  .section-image {
	flex-basis: 30%;
  }
  .section-copy {
	flex-basis: 65%;
  }
  .grid-2 {
	grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 p {
	max-width: 40ch;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
  }
  .grid-3 {
	grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
	grid-template-columns: repeat(4, 1fr);
  }
}
.copyright {
  display: block;
  font-family: var(--outfit);
  font-size: 0.8888888889rem;
}

.vertical-align-center {
  align-items: center;
}

.flex-start {
  align-items: flex-start;
}

.border-bottom {
  border-bottom: 1px solid rgb(var(--black), 0.2);
}

.footer-title:after {
  content: "";
  display: block;
  border-bottom: 1px solid rgb(var(--white), 0.3);
  padding-bottom: 2.2806973457rem;
}

.content-image-margin {
  margin-bottom: 1rem;
}

.image-margin-bottom {
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .landing-image,
  .section-image {
	display: flex;
	justify-content: center;
	width: 100%;
  }
  .landing-image img {
	margin-left: auto;
	margin-right: auto;
	max-width: 92%;
  }
  .content-image,
  .content-image-full {
	margin-left: auto;
	margin-right: auto;
	max-width: 60%;
  }
}
@media (min-width: 801px) {
  .content-image {
	margin-left: auto;
	margin-right: auto;
	max-width: 80%;
  }
}
.blue-bg {
  background-color: rgb(var(--blue));
  color: rgb(var(--white));
}

.saffron-bg {
  background-color: rgb(var(--saffron));
}

.saffron-faded-bg {
  background-color: rgba(var(--saffron), 0.7);
}

.center {
  text-align: center;
}

.border-bottom {
  border-bottom: 1px solid rgba(var(--black), 0.1);
}

.menu-header-container .menu .menu-button a:not(.sub-menu li:last-child) {
  color: rgb(var(--white));
}

.icon-block {
  align-items: flex-start;
  display: flex;
  margin-bottom: 0.4932701843rem;
}

.icon-block-icon {
  flex: 0 0 auto;
  margin-right: 15px;
}

.location-icon,
.email-icon,
.phone-icon {
  vertical-align: middle;
}

.service-icon {
  height: 50px;
  width: 50px;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/*Forms*/
input[type=text],
input[type=email],
input[type=tel],
input[type=password],
textarea,
select {
  padding: 10px;
  border: 2px solid rgb(var(--black));
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--outfit);
  font-size: 1rem;
  font-weight: 500;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  border: 2px solid rgb(var(--saffron));
}

.required-error,
label,
form p {
  font-family: var(--outfit);
  font-size: 1.2rem;
  display: block;
}

label {
  margin-bottom: 1rem;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7-not-valid-tip,
.wpcf7 form.sent .wpcf7-response-output {
  font-weight: 500;
  padding: 1rem;
  text-align: center;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: 0;
}

.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  background-color: rgb(var(--black));
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin-left: 24px;
  margin-right: 24px;
  position: relative;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  background-color: rgb(var(--saffron));
  color: rgb(var(--black));
  font-family: var(--outfit);
  font-weight: 500;
  font-size: var(--step-0);
  letter-spacing: 0;
  margin-top: var(--space-s);
  text-transform: none;
}

@media (min-width: 1000px) {
  .form-row {
	display: flex;
	justify-content: space-between;
  }
  .form-row-item {
	width: 48%;
  }
}
@media (min-width: 1000px) {
  .testimonial-count {
	display: none;
  }
}
strong {
  color: rgb(var(--saffron));
  font-weight: 600;
}

.utility-layout {
  max-width: 960px;
}

.utility-layout h1,
.utility-layout h2,
.utility-layout p {
  max-width: 60ch;
}

.call-to-action-heading {
  color: rgb(var(--black));
  font-size: var(--step-4);
  max-width: 30ch;
  text-align: center;
  margin-bottom: var(--space-m);
  margin-left: auto;
  margin-right: auto;
}

.call-to-action-heading:before {
  content: "";
  display: block;
  background-image: url("assets/images/dharmawheelgrey.svg");
  background-position: center;
  background-size: cover;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  height: 80px;
  width: 80px;
}

.center {
  text-align: center;
}
