body {
	width: 100vw; 
	font-family: arial;
	background-color: #e0efff;
}

p {
	line-height: 1.8;
}

.more-info_content {
	display: none;
	
	text-indent: 0;
}

.centre-left {
  display: flex;
  justify-content: left;
  align-items: center;
  padding-top: 8px;
  background: #eec872;
}

header {
	.centre-left {
		background-color: white;
	}
}

.strapline-left {
	display: flex;
	align-items: baseline;
	justify-content: left;
}

.strapline-right {
	display: flex;
	align-items: baseline;
	justify-content: right;
}

.content {
	width: 90%;
	background-color: white; 
	margin: auto;
	}
	.main {
		width: 90%; 
		margin: auto;
		padding: 0 10px 0 15px;
		background-color: white;
		border-radius: 15px;
	}
	

.hidewhensmall {
	display: none;
}

	
.inherit-hidewhensmall {
	display: none;
}
	
.maincontent {
	width: 70%;
	padding: 20px 0 20px 0;
}

.link {
	text-decoration: none;
	color: black;
	cursor: pointer;
}

.link:hover {
	font-weight: bold;
}

.link:visited {
	color: black;
}

.button-wellaction, .button {
    display: block;
    background: 0;
    text-align: center;
    border-radius: 2px;
	border: 2px solid #843c0c;
    color: #843c0c;
	font-style: normal;
	text-decoration: none;
	width: 65px;
	height: 10px;
	padding: 6px;
	line-height: 8px;
	margin: 1px;
	font-size: medium;
}

.button-wellaction:hover, .button:hover {
	font-weight: bold;
}

	
h1, h1.wellaction {
	padding: 7px;
	font-size: 1em;
	margin: 0;
	color: #843c0c;
}
body, h4 {
	font-size: x-large;
}

h2, h2.wellaction {
	padding: 7px;
	display: inline;
	margin: 0;
	font-style: italic;
	font-size: 0.8em;
	color: #843c0c;
}

.heading-postscript {
	font-style: italic;
	font-size: 0.6em;
	color: #843c0c;
	flex: none;
}

ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

ul.bullets {
	list-style: disc;
	padding-left: 20px;
}

li.bullets {
	padding-top: 7px;
	padding-bottom: 7px;
	line-height: 1.8
}

iframe {
	border-style: none; 
	height: 0; 
	overflow: hidden;
}

.youtube-aspect-ratio {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 76%;
}

iframe.youtube {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

li.moreinfo-plus {
  padding-left: 1em;
  padding-top: 1em;
  text-indent: -1em;
}

li.moreinfo-plus:hover {
	font-weight: bold;
	cursor: pointer;
}

li.moreinfo-plus::before {
	content: '+';
	padding-right: 5px;
	font-family: monospace;
	font-size: larger;
 }

li.moreinfo-minus {
  padding-left: 1em;
  padding-top: 1em;
  text-indent: -1em;
}

li.moreinfo-minus:hover {
	font-weight: bold;
	cursor: pointer;
}

li.moreinfo-minus::before {
	content: '-';
	padding-right: 5px;
	font-family: monospace;
	font-size: larger;
}


li.points {
  padding-left: 1em;
  padding-top: 1em;
  text-indent: -1em;
  font-style: italic;
}

li.points::before {
	content: '*';
	padding-right: 5px;
	font-family: monospace;
	font-size: larger;
}

div.more-info_content {
	font-weight: normal;
}

div.more-info_content:hover {
	font-weight: normal;
	cursor: text;
}

input#term {
	border-style: solid;
	border-width: 2px;
	border-color: black;
	border-radius: 2px;
	width: 250px;
	height: 35px;
}


.header_image {
	width: 30px;
}

/* Referral Form Styles */

:is(#referralForm, #contactForm) label {
    display: block;
}

:is(#referralForm, #contactForm) label span
{
    display: block;
    text-align: left;
}


:is(#referralForm, #contactForm) input[type=checkbox],select[name=dobMonth] { 
	width: auto 
}

/*Referral Form Styles for responsive */

:is(#referralForm, #contactForm) label span
{
    width: 350px;
}

:is(#referralForm, #contactForm) label input,textarea,select {
	margin-left: 30px;
	font-size: x-large;
	height: 30px;
	width: 300px;
}

:is(#referralForm, #contactForm) label textarea{
	height: 300px;
}

:is(#referralForm, #contactForm) label input[type="number"] {
	width: 70px;
}


/* Responsive Styles */
@media (min-width: 576px) {
	.content {
	width: 100%; 
	background-color: white; 
	}


	.main {
		width: 90%; 
		margin: auto;
	}
	.header_image {
		width: 50px;
	}
	body, h4 {
		font-size: x-large;
	}
	h1, h1.wellaction {
	padding: 10px;
	font-size: 26px;
	color: #843c0c;
	}
	
	h2, h2.wellaction {
		padding: 10px;
		font-size: 22px;
	color: #843c0c;
	}
	.heading-postscript {
		font-size: 16px;
		color: #843c0c;
	}
	.button-wellaction, .button {
		width: 65px;
		height: 10px;
		padding: 6px;
		line-height: 8px;
		margin: 1px;
		font-size: medium;
		border-radius: 2px;
	}
	
/*Referral Form Styles for responsive */

	:is(#referralForm, #contactForm) label span
	{
		width: 400px;
	}

	:is(#referralForm, #contactForm) label input,textarea,select {
		margin-left: 25px;
		font-size: x-large;
		height: 30px;
		width: 400px;
	}

	:is(#referralForm, #contactForm) label textarea{
		height: 400px;
	}

	:is(#referralForm, #contactForm) label input[type="number"] {
		width: 70px;
	}
}

@media (min-width: 768px) {
	.content {
	
	width: 90%; 
	background-color: white; 
	}	

.hidewhensmall {
	display: block;
}	
.inherit-hidewhensmall {
	display: inherit;
}

	.main {
		width: 90%; 
		margin: auto;
	}
	.header_image {
		width: 70px;
	}
	body, h4 {
		font-size: x-large;
	}
	h1.wellaction {
	padding: 13px;
	font-size: 32px;
	color: #843c0c;
	}
	h2.wellaction {
		padding: 13px;
		font-size: 28px;
		color: #843c0c;
	}
	.heading-postscript {
		font-size: 20px;
		color: #843c0c;
	}
	.button-wellaction, .button {
		width: 75px;
		height: 12px;
		padding: 9px;
		line-height: 10px;
		margin: 2px;
		font-size: medium;
		border-radius: 3px;
	}
	
/*Referral Form Styles for responsive */

	:is(#referralForm, #contactForm) label span
	{
		width: 400px;
	}

	:is(#referralForm, #contactForm) label input,textarea,select {
		margin-left: 15px;
		font-size: x-large;
		height: 30px;
		width: 400px;
	}

	:is(#referralForm, #contactForm) label textarea{
		height: 400px;
	}

	:is(#referralForm, #contactForm) label input[name="dobMonth"] {
		width: 70px;
	}
	:is(#referralForm, #contactForm) label input[name="dobYear"] {
		width: 70px;
	}
}

@media (min-width: 992px) {
	.content {
	width: 900px; 
	background-color: white; 
	
	}

.hidewhensmall {
	display: block;
}
.inherit-hidewhensmall {
	display: inherit;
}

	.main {
		width: 80%; 
		margin: auto;
	}	
	.main-about {
		width: 60%;
	}
	.header_image {
		width: 99px;
	}
	body, h4 {
		font-size: medium;
	}
	h1, h1.wellaction {
		padding: 15px;
		font-size: 2em;
		color: #843c0c;
	}
	h2, h2.wellaction {
		padding: 15px;
		font-size: 1.8em;
		color: #843c0c;		
	}
	.heading-postscript {
		font-size: 1.3em;
	}
	.button-wellaction, .button {
		width: 85px;
		height: 15px;
		padding: 10px;
		line-height: 15px;
		margin: 2px;
		font-size: medium;
		border-radius: 5px;
	}

/* Referral Form Styles */

:is(#referralForm, #contactForm) label {
    display: flex;
	align-items: top;
	justify-content: left;
}

:is(#referralForm, #contactForm) label span
{
    display: inline-block;
    text-align: right;
}
	
/*Referral Form Styles for responsive */

	:is(#referralForm, #contactForm) label span
	{
		width: 180px;
	}

	:is(#referralForm, #contactForm) label input,textarea,select {
		margin-left: 25px;
		font-size: medium;
		height: 30px;
		width: 250px;
	}

	:is(#referralForm, #contactForm) label textarea{
		height: 300px;
	}

	:is(#referralForm, #contactForm) label input[type="number"] {
		width: 45px;
	}
}

@media (min-width: 1200px) {
	.content {
	width: 1100px; 
	background-color: white; 
	
	}	

.hidewhensmall {
	display: block;
}
.inherit-hidewhensmall {
	display: inherit;
}

	.main {
		width: 70%; 
		margin: auto;
	}
	.main-about {
		width: 60%;
	}
	.header_image {
		width: 110px;
	}
	body, h4 {
		font-size: medium;
	}
	h1, h1.wellaction {
	padding: 17px;
	font-size: 3em;
	color: #843c0c;
	}
	h2, h2.wellaction {
		padding: 17px;
		font-size: 1.8em;
	color: #843c0c;
	}
	.heading-postscript {
		font-size: 1.3em;
	}
	.button-wellaction, .button {
		width: 85px;
		height: 15px;
		padding: 10px;
		line-height: 15px;
		margin: 2px;
		font-size: medium;
		border-radius: 7px;
	}	

/* Referral Form Styles */

:is(#referralForm, #contactForm) label {
    display: flex;
	align-items: top;
	justify-content: left;
}

:is(#referralForm, #contactForm) label span
{
    display: inline-block;
    text-align: right;
}

/*Referral Form Styles for responsive */

	:is(#referralForm, #contactForm) label span
	{
		width: 200px;
	}

	:is(#referralForm, #contactForm) label input,textarea,select {
		margin-left: 30px;
		font-size: medium;
		height: 30px;
		width: 300px;
	}

	:is(#referralForm, #contactForm) label textarea{
		height: 300px;
	}

	:is(#referralForm, #contactForm) label input[type="number"] {
		width: 50px;
	}
}

@media (min-width: 1400px) {
	.content {
	width: 1350px; 
	background-color: white; 
	
	}

.hidewhensmall {
	display: block;
}
.inherit-hidewhensmall {
	display: inherit;
}
	
	.main {
		width: 70%; 
		margin: auto;
	}
	.main-about {
		width: 60%;
	}
	.header_image {
		width: 135px;
	}
	body, h4 {
		font-size: medium;
	}
	h1, h1.wellaction {
	padding: 20px;
	font-size: 4em;
	color: #843c0c;
	}
	h2, h2.wellaction {
		padding: 20px;
		font-size: 1.8em;
	color: #843c0c;
	}
	.heading-postscript {
		font-size: 1.4em;
	}
	.button-wellaction, .button {
		width: 85px;
		height: 15px;
		padding: 10px;
		line-height: 15px;
		margin: 2px;
		font-size: large;
		border-radius: 9px;
	}	

/* Referral Form Styles */

:is(#referralForm, #contactForm) label {
    display: flex;
	align-items: top;
	justify-content: left;
}

:is(#referralForm, #contactForm) label span
{
    display: inline-block;
    text-align: right;
}

	
/*Referral Form Styles for responsive */

	:is(#referralForm, #contactForm) label span
	{
		width: 250px;
	}

	:is(#referralForm, #contactForm) label input,textarea,select {
		margin-left: 30px;
		font-size: medium;
		height: 30px;
		width: 300px;
	}

	:is(#referralForm, #contactForm) label textarea{
		height: 300px;
	}

	:is(#referralForm, #contactForm) label input[type="number"] {
		width: 50px;
	}
}



/* Animation classes */

.show {
  animation: show 0.7s ease-in forwards;
	overflow: hidden;
  transform-origin: top;
}

.hide {
  animation: hide 0.7s ease-out forwards;
	overflow: hidden;
  transform-origin: top;
}

/* Animation keyframes */

@keyframes show {
  0% {
    content-visibility: hidden;
    color: rgb(0 0 0 / 0%);
	  height: 0;
  }

  100% {
    content-visibility: visible;
    color: rgb(0 0 0 / 100%);
    height: calc-size(auto, size);
  }
}

@keyframes hide {
  0% {
    content-visibility: visible;
    color: rgb(0 0 0 / 100%);
    height: calc-size(auto, size);
  }

  100% {
    content-visibility: hidden;
    color: rgb(0 0 0 / 0%);
	  height: 0;
  }
}