/*! normalize.css v1.1.0 | MIT License | git.io/normalize */
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font: 1em Helvetica-neue, Helvetica, Arial, sans-serif;
    line-height: 1.4;
    font-weight: 200;
	margin: 0;
	padding: 0;
	text-align: left;
	color: #ffffff;
	background: url(../img/background.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
    
    max-width: 100%;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}




/* ==========================================================================
   Bannister Web Design Structure
   ========================================================================== */

#container{
	margin: 0 auto;
	width: 96%; /* 960px */
	max-width: 960px;
	height: auto;
	text-align: left;
}
header {
	width: 100%;
	height: 217px;
	float: left;
	background: url(../img/header.jpg) repeat-x;
}
#logo {
	float: left;
	min-width: 50px; /* 151px in relation to 960px */
	min-height: 50px;
	padding: 5px 7.29166667% 0px;/* 70px in relation to 960px */
}
#cta {
	float: right;
	width: 41.666667%;
	height: 148px;
	padding-right: 7.29166667%;/* 70px in relation to 960px */
	font-size: 1.5em; /* 24px */
	color: #007BFF;
	text-align: right;
}


nav {
	width: 85.416667%; /* 820px */
	height: 37px;
	float: left;
	padding: 27px 0px 0px 7.29166667%;/* 70px */
}
#mainContent {
	width: 85.416667%; /* 820px */
	height: auto;
	padding: 40px 7.29166667% 90px 7.29166667%;
	float: left;
}
/*---------START SLIDER-----------*/
#slider {
	width: 100%; /* 820px */
	height: 360px;
	float: left;
	margin-bottom: 40px;
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}
.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}
.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}
.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}
/*---------END SLIDER-----------*/
#deviceBox, #deviceBoxLarge, #deviceBoxHome {
	display: none;
}
#textArea {
	width: 96.3414634%; /* 790px */
	height: auto;
	float: left;
	padding: 10px 1.82926829% 30px 1.82926829%; /* 15px */
	background: #F7F8FA;
	color: #263445;
}
#teachIntro, #teachFooter {
	width: 100%; /* 820px */
	height: auto;
	float: left;
}
#teachLeft {
	width: 35.3658537%; /* 290px */
	height: auto;
	padding-left: 14.6341463%; /* 120px */
	float: left;
}
#teachRight {
	width: 40.2439024%;/* 330px */
	height: auto;
	padding-left: 9.75609756%; /* 80px */
	float: right;
}
.no-cssgradients .boxes {
	background: url(../img/home-box.jpg) no-repeat;
}
.boxes {
	width: 31.7073171%; /* 260px in relation to 820px */
	height: 300px;
	float: left;
	margin-right: 2.43902439%;
	background: #ffffff;
	text-align: center;
	-ms-box-shadow: inset 0px 0px 50px #666666;
	-moz-box-shadow: inset 0px 0px 50px #666666;
	-webkit-box-shadow: inset 0px 0px 50px #666666;
	box-shadow: inset 0px 0px 50px #666666;
}
.no-cssgradients .boxesEnd {
	background: url(../img/home-box.jpg) no-repeat;
}
.boxesEnd {
	width: 31.7073171%; /* 260px in relation to 820px */
	height: 300px;
	float: left;
	text-align: center;
	background: #ffffff;
	-ms-box-shadow: inset 0px 0px 50px #666666;
	-moz-box-shadow: inset 0px 0px 50px #666666;
	-webkit-box-shadow: inset 0px 0px 50px #666666;
	box-shadow: inset 0px 0px 50px #666666;
}

.boxes a,
.boxesEnd a {
    color: #222 !important;
}

.boxTitle {
	width: 96.1538462%;/* 250px in relation to 260px */
	height: 115px;
	float: left;
	padding: 5px 1.92307692% 0px 1.92307692%; /* 5px in relation to 260px */
}
.boxImg {
	width: 100%;
	height: 180px;
	float: left;
}
#topContact {
	width: 100%;
	height: auto;
	float: left;
	margin-bottom: 20px;
}
#bottomContact {
	width: 69.6202532%; /* 550px in relation to 790px*/
	height: 350px;
	float: left;
	padding: 0px 15.1898734% 0px 15.1898734%; /* 120px */
}
.title {
	width: 29.0909091%; /* 160px in relation to 550px */
	height: 20px;
	float: left;
}
.no-boxshadow .field {
	border: 1px #cccccc solid;
}
.field {
	width: 54.5454545%; /* 300px in relation to 550px */
	height: 20px;
	float: left;
	padding: 0.90909091%; /* 5px in relation to 550px */
	margin-bottom: 10px;
	border-style: none;
	border-width: 0px;
	-ms-box-shadow: inset 0px 0px 5px #666666;
	-moz-box-shadow: inset 0px 0px 5px #666666;
	-webkit-box-shadow: inset 0px 0px 5px #666666;
	box-shadow: inset 0px 0px 5px #666666;
}
.no-boxshadow .fieldText {
	border: 1px #cccccc solid;
}
.fieldText {
	width: 54.5454545%; /* 300px in relation to 550px */
	height: 115px;
	float: left;
	padding: 0.90909091%; /* 5px in relation to 550px */
	border-style: none;
	border-width: 0px;
	-ms-box-shadow: inset 0px 0px 5px #666666;
	-moz-box-shadow: inset 0px 0px 5px #666666;
	-webkit-box-shadow: inset 0px 0px 5px #666666;
	box-shadow: inset 0px 0px 5px #666666;
}
.send {
	float: left;
	margin: 20px 0px 0px 29.0909091%; /* 160px in relation to 550px */
	width: 120px;
	height: 54px;
}
footer {
	width: 100%;
	height: auto;
	float: left;
	font-size: 0.875em;
	background: #F7F8FA;
	color: #263445;
}
#about {
	width: 56.25%; /* 540px */
	height: auto;
	float: left;
	margin: 35px 0px 0px 7.29166667%;/* 70px */
}
#links {
	width: 20.8333333%; /* 200px */
	height: auto;
	float: left;
	margin: 35px 0px 0px 3.125%;/* 30px */
}
#affiliates {
	width: 73.9583333%; /* 710px */
	height: 100px;
	float: left;
	padding-left: 26.0416667%; /* 250px */
	margin: 10px 0px 20px 0px;
}
#copyright {
	width: 100%; 
	min-height: 20px;
	float: left;
	font-size: 0.688em;
	text-align: center;
}
.clear { 
	clear: both; 
}
.centreWrap {
	position: relative;
	margin: 0 auto;
	width: 100%; /* 960px */
	max-width: 960px; /* stop it expanding endlessly */
}

/* ==========================================================================
   Bannister Web Design Style
   ========================================================================== */

p {
	margin: 0px;
	padding: 0px;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
}
h1 {
	font-size: 1.8em; /* 20px */
	color: #007BFF;
}
h2 {
	font-size: 1.5em; /* 24px */
}
h2 .main {
	font-size: 1.5em; /* 24px */
	color: #007BFF;
}
h3,
footer #links h2 {
    font-size: 1.25em; /* 20px */
    color: #007BFF;
}

h4 {
    font-size: 1.8em; /* 20px */ /*added 25th March 2021*/
    color: #ff0000;
}



a:link, a:visited {
	color: #ffffff;
	text-decoration: none; /*changed from underlined to none on 25th Oct 2025 */
}  


a:hover {
	color: #007BFF;
	text-decoration: none;  /*changed from underlined to none on 25th Oct 2025 */
}
nav ul {
	margin: 0px 0px 0px 0.6097561%; /* 5px */
	padding: 0px;
}
nav li {
	margin: 0px 4.16666667% 0px 0px;
	padding: 0px;
	list-style-type: none;
	float: left;
	font-size: 1.25em; /* 20px */
	font-weight: bold; /* added this line 25th March 2021*/
}
nav a:link, nav a:visited {
	color:#ffffff;
	text-decoration: none;
	padding: 5px;
}
nav a:hover, nav li a#current {
	color:#000000;
	text-decoration: none;
	background-color: #007BFF;
	padding: 5px;
	}
.telephone {
	font-size: 2em; /* 48px / 24px in relation to #cta font */
	font-weight: 600;
	color: #ff0000;
}
.telephonered {
    font-size: 1.8em;
    font-weight: bold;
    color: #ff0000;
}

.redoffer { /*added 26th March 2021 */
    font-size: 1.8em;  /* 20px */
	color: #ff0000;
	font-weight: bold; 
    
}

.bigger {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
}




.boxTitle a:link, .boxTitle a:visited {
	color: #000001;
	text-decoration: none;
}
.boxTitle a:hover {
	color: #767676;
	text-decoration: none;
}
#cta a:link, cta a:visited {
	color: #ffffff;
	text-decoration: none;
}
#cta a:hover {
	color: #ffffff;
	text-decoration: underline;
}
#about a:link, #about a:visited {
	color: #007BFF;
	text-decoration: none;
}
#about a:hover {
	color: #007BFF;
	text-decoration: underline;
}
#textArea a:link, #textArea a:visited {
	color: #007BFF;
	text-decoration: none;
}
#textArea a:hover {
	color: #007BFF;
	text-decoration: underline;
}
.firstPara{font-size:1.3em;}
.isetimgL{float:left; width:40%; margin: 5px 10px 5px 0; border:1px #FFF solid;}
.isetimgR{float:right; width:40%; margin: 5px 0px 5px 10px; border:1px #FFF solid;}
.cta{ font-size:1.5em; color:#007BFF; font-style:italic;}
.cta strong{ color:#FFF;}
.embolden{color:#007BFF; font-style:italic;}

/* ==========================================================================
   Media Queries
   ========================================================================== */
/*--------iPhone 4--------*/
@media screen and (min-width: 60px) and (max-width: 480px) and (orientation: portrait) {
.hide {
    display: none;
}
body {
	background: #222227;
}
header {
	width: 100%;
	height: auto;
	float: left;
	background: none;
}
#logo {
	padding: 0px;
}
#cta {
	width: 160px;
	padding: 0px;
}
.telephone {
	font-size: 1.0em;
}


.bigger {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
}

nav {
	width: 85.416667%; /* 820px */
	height: 185px;
	float: left;
	padding: 27px 0px 0px 7.29166667%;/* 70px */
	text-align: center;
}
nav li {
	height: 40px;
	margin: 0px 4.16666667% 0px 0px;
	padding: 0px;
	list-style-type: none;
	float: left;
	font-size: 1.25em; /* 20px */
	font-weight: bold; /* added this line 25th March 2021*/
	width: 100%;
}
#mainContent {
	padding-bottom: 20px;
}
#slider, #deviceBoxHome {
	display: none;
}
#deviceBox {
	width: 260px;
	height: 300px;
	float: left;
	display: block;
	margin-bottom: 10px;
}
.boxes, .boxesEnd {
	width: 260px;
	margin-bottom: 4px; /*was 10px 25th March 2021*/
	margin-left: 17px; /* added line 25th March 2021 */
}
#textArea {
	padding: 10px 0px 30px 0px;
}
#teachLeft, #teachRight {
	width: 100%;
	float: left;
	padding: 0px;
}
#bottomContact {
	width: 100%;
	height: auto;
	padding: 0px;
}
.field, .fieldText {
	width: 100%;
}
.title {
	margin-bottom: 5px;
}
footer {
	border-top: 5px solid #007BFF;
	background: none;
}
#about {
	width: 90%;
}
#links {
	width: 90%;
	margin-bottom: 10px;
}
}
/*--------iPhone 4--------*/
@media screen and (min-width: 60px) and (max-width: 480px) and (orientation: landscape) {
.hide {
    display: none;
}
body {
	background: #222227;
}
header {
	width: 100%;
	height: auto;
	float: left;
	background: none;
}
#logo {
	padding: 0px;
}
#cta {
	width: 320px;
	padding: 0px;
}
/* DIFFERENT TO PORTRAIT */
.telephone {
	font-size: 1.8em;
}



.bigger {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
}

/* DIFFERENT TO PORTRAIT */
nav {
	width: 100%;
	height: 185px;
	float: left;
	padding: 27px 0px 0px;
	text-align: center;
}
/* DIFFERENT TO PORTRAIT */
nav li {
	height: 40px;
	margin: 0px 12px 0px 0px;
	padding: 0px;
	list-style-type: none;
	float: left;
	font-size: 1.25em; /* 20px */
	font-weight: bold; /* added this line 25th March 2021*/
	width: 100%;
}	
#mainContent {
	padding-bottom: 20px;
}
#slider, #deviceBoxHome {
	display: none;
}
/*--------DIFFERENT TO PORTRAIT--------*/
#deviceBox {
	width: 260px;
	height: 300px;
	float: left;
	display: block;
	margin: 0px 0px 10px 60px;
}
/*--------DIFFERENT TO PORTRAIT--------*/
.boxes, .boxesEnd {
	width: 260px;
	margin: 0px 0px 10px 60px;
}
#textArea {
	padding: 10px 0px 30px 0px;
}
#teachLeft, #teachRight {
	width: 100%;
	float: left;
	padding: 0px;
}
#bottomContact {
	width: 100%;
	height: auto;
	padding: 0px;
}
.field, .fieldText {
	width: 100%;
}
.title {
	margin-bottom: 5px;
}
footer {
	border-top: 5px solid #007BFF;
	background: none;
}
#about {
	width: 90%;
}
#links {
	width: 90%;
	margin-bottom: 10px;
}
}
/*--------iPhone 5--------*/
@media screen and (min-width: 481px) and (max-width: 568px) and (orientation: portrait) {
.hide {
    display: none;
}
body {
	background: #222227;
}
header {
	width: 100%;
	height: auto;
	float: left;
	background: none;
}
#container {
	width: 528px;
	padding: 40px 3.52112676% 20px;
}
#logo {
	padding: 0px;
}
#cta {
	width: 320px;
	padding: 0px;
}
.telephone {
	font-size: 2.0em;
}


.bigger {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
}

nav {
	width: 85.416667%; /* 820px */
	height: 185px;
	float: left;
	padding: 27px 0px 0px 7.29166667%;/* 70px */
	text-align: center;
}
nav li {
	height: 40px;
	margin: 0px 4.16666667% 0px 0px;
	padding: 0px;
	list-style-type: none;
	float: left;
	font-size: 1.25em; /* 20px */
	font-weight: bold; /* added this line 25th March 2021*/
	width: 100%;
}	
#mainContent {
	width: 100%;
	padding: 20px 0px;
}
#slider, #deviceBoxHome {
	display: none;
}
#deviceBox {
	width: 260px;
	height: 300px;
	float: left;
	display: block;
	margin: 0px 5px 5px 0px;
}
.boxes {
	width: 260px;
	margin: 0px 0px 5px 0px;
}
.boxesEnd {
	width: 260px;
	margin: 0px 0px 10px 5px;
}
#textArea {
	padding: 10px 0px 30px 0px;
}
#bottomContact {
	width: 100%;
	height: auto;
	padding: 0px;
}
footer {
	border-top: 5px solid #007BFF;
	background: none;
}
#about {
	margin-bottom: 10px;
}
#links {
	width: 30.3571429%; /* 170px */
	height: auto;
	float: left;
	margin: 35px 0px 0px 1.76056338%;/* 10px */
}
}
/*--------iPhone 5--------*/
@media screen and (min-width: 481px) and (max-width: 568px) and (orientation: landscape) {
.hide {
    display: none;
}
body {
	background: #222227;
}
header {
	width: 100%;
	height: auto;
	float: left;
	background: none;
}
#container {
	width: 528px;
	padding: 40px 3.52112676% 20px;
}
#logo {
	padding: 0px;
}
#cta {
	width: 320px;
	padding: 0px;
}
.telephone {
	font-size: 2.0em;
}



.bigger {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
}

/* DIFFERENT TO PORTRAIT */
nav {
	width: 100%;
	height: 185px;
	float: left;
	padding: 27px 0px 0px;
	text-align: center;
}
/* DIFFERENT TO PORTRAIT */
nav li {
	height: 40px;
	margin: 0px 12px 0px 0px;
	padding: 0px;
	list-style-type: none;
	float: left;
	font-size: 1.25em; /* 20px */
	font-weight: bold; /* added this line 25th March 2021*/
	width: 100%;
}	
#mainContent {
	width: 100%;
	padding: 20px 0px;
}
#slider, #deviceBox {
	display: none;
}
/* DIFFERENT TO PORTRAIT */
#deviceBoxHome {
	width: 260px;
	height: 300px;
	float: left;
	display: block;
	margin: 0px 5px 0px 0px;
}
#deviceBoxLarge {
	width: 509px;
	height: 300px;
	float: left;
	display: block;
	margin: 0px 5px 5px 0px;
}
.boxes {
	width: 260px;
	margin: 0px 0px 5px 0px;
}
.boxesEnd {
	width: 260px;
	margin: 0px 0px 10px 5px;
}
#textArea {
	padding: 10px 0px 30px 0px;
}
#bottomContact {
	width: 100%;
	height: auto;
	padding: 0px;
}
footer {
	border-top: 5px solid #007BFF;
	background: none;
}
#about {
	margin-bottom: 10px;
}
#links {
	width: 30.3571429%; /* 170px */
	height: auto;
	float: left;
	margin: 35px 0px 0px 1.76056338%;/* 10px */
}
}
/*--------Small tablet to Large Tablet--------*/
@media screen and (min-width: 569px) and (max-width: 800px) {
.hide {
    display: none;
}
body {
	background: #222227;
}
#container {
	width: 528px;
	padding: 40px 3.52112676% 20px;
}
#logo {
	padding: 0px;
}
#cta {
	width: 320px;
	padding: 0px;
}
.telephone {
	font-size: 2.0em;
}



.bigger {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
}

#deviceBoxHome {
	width: 260px;
	height: 300px;
	float: left;
	display: block;
	margin: 0px 5px 0px 0px;
}	
#mainContent {
	width: 100%;
	padding: 20px 0px;
}
#slider {
	display: none;
}
#deviceBox {
	display: none;
}
#deviceBoxLarge {
	width: 509px;
	height: 300px;
	float: left;
	display: block;
	margin: 0px 5px 5px 0px;
}.boxes {
	width: 260px;
	margin: 0px 0px 5px 0px;
}
.boxesEnd {
	width: 260px;
	margin: 0px 0px 10px 5px;
}
#textArea {
	padding: 10px 0px 30px 0px;
}
#bottomContact {
	width: 100%;
	height: auto;
	padding: 0px;
}
footer {
	border-top: 5px solid #007BFF;
	background: none;
}
#about {
	margin-bottom: 10px;
}
#links {
	width: 30.3571429%; /* 170px */
	height: auto;
	float: left;
	margin: 35px 0px 0px 1.76056338%;/* 10px */
}
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



/* === Fix box alignment in portrait/mobile view === */

/* For small screens (portrait phones) */
@media screen and (max-width: 600px) {

  /* Center the whole section */
  #mainContent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
  }

  /* Make each box behave like a centered card */
  .boxes,
  .boxesEnd {
    float: none;               /* override any float-based layout */
    display: inline-block;     /* allows natural centering */
    margin: 10px auto;         /* horizontal centering */
    width: 88%;                /* make boxes fit better on narrow screens */
    max-width: 260px;          /* keeps your existing design proportion */
  }

  /* Optional: center box images if they were left-aligned */
  .boxes img,
  .boxesEnd img {
    display: block;
    margin: 0 auto;
  }
}



/*chat gtp colour change 31st Oct 2025 */









/* 2026 footer link colours */
footer a:link,
footer a:visited {
    color: #1764B0;
}

/* 2026 footer link hover effect */
footer a:hover,
footer a:focus {
    color: #0B3D75;
    text-decoration: underline;
}

/* 2026 mobile footer background */
@media screen and (max-width: 800px) {
    footer {
        background: #F7F8FA;
        color: #263445;
    }
}

/* 2026 homepage box redesign */
.boxes,
.boxesEnd {
    border-radius: 12px;
    overflow: hidden;
   box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), inset 0 0 35px rgba(0, 0, 0, 0.12);
}

/* 2026 mobile homepage background */
@media screen and (max-width: 800px) {
    body {
        background: #F7F8FA;
    }
}



/* 2026 improve footer paragraph readability */
footer #about p {
    font-weight: 500;
}

/* 2026 improve lesson price list readability */
footer #about li {
    font-weight: 500;
}

/* 2026 modern lesson pricing card */
footer #about ul,
#textArea ul.lesson-prices-card {
    background: #EAF3FC;
    border: 1px solid #D5E5F5;
    border-radius: 14px;
    padding: 20px 20px 20px 38px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* 2026 centre footer content on mobile */
@media screen and (max-width: 800px) {
    footer #about {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 2026 improve footer paragraph spacing */
@media screen and (max-width: 800px) {
    footer #about p {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* 2026 modern email styling */
footer #about .contact-email {
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

footer #about .contact-email a {
    font-weight: 600;
    color: #1764B0;
    text-decoration: none;
}

/* 2026 Grade A highlight card */
footer #about .grade-a-card {
    background: #FFFFFF;
    border: 1px solid #D5E5F5;
    border-radius: 14px;
    padding: 22px 15px;
    margin: 20px 0 25px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

footer #about .grade-a-title {
    font-size: 26px;
    font-weight: 700;
    color: #087BE8;
}

footer #about .grade-a-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #263445;
    margin-top: 8px;
}

footer #about .grade-a-description {
    font-size: 15px;
    color: #59697A;
    margin-top: 6px;
}

/* 2026 centre Grade A section heading */
footer #about h1 {
    text-align: center;
}

/* 2026 modern footer links card */
@media screen and (max-width: 800px) {
    footer #links {
        box-sizing: border-box;
        width: 90%;
        float: none;
        margin: 25px auto;
        padding: 22px;
        background: #FFFFFF;
        border: 1px solid #D5E5F5;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }
}

/* 2026 improve footer link readability */
footer #links a {
    color: #263445;
    font-weight: 500;
    text-decoration: none;
}

/* 2026 centre footer links headings */
@media screen and (max-width: 800px) {
footer #links h2,
footer #links h3 {
    text-align: center;
}
}

/* 2026 modern contact card */
@media screen and (max-width: 800px) {
    footer #about .contact-card,
    #mainContent #textArea .contact-card {
        box-sizing: border-box;
        background: #FFFFFF;
        border: 1px solid #D5E5F5;
        border-radius: 14px;
        padding: 24px 18px;
        text-align: center;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }

    #mainContent #textArea .contact-card {
        font-size: 16px;
        font-style: normal;
        font-weight: bold;
        line-height: 1.5;
    }
}



/* 2026 contact details card */
@media screen and (max-width: 800px) {
    footer #about .contact-details-card {
        box-sizing: border-box;
        width: 100%;
        background: #FFFFFF;
        border: 1px solid #D5E5F5;
        border-radius: 14px;
        padding: 15px 18px;
        margin: 20px auto;
        text-align: center;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }
}

/* 2026 desktop footer links card */
@media screen and (min-width: 801px) {
    footer #links {
        box-sizing: border-box;
        width: 25%;
        background: #FFFFFF;
        border: 1px solid #D5E5F5;
        border-radius: 14px;
        padding: 22px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }
}

/* 2026 footer links hover effect */
footer #links a:hover {
    color: #007BFF;
    text-decoration: underline;
}

/* 2026 desktop links list alignment */
@media screen and (min-width: 801px) {
    footer #links ul {
        padding-left: 25px;
    }
}

/* 2026 desktop contact details card */
@media screen and (min-width: 801px) {
    footer #about .contact-details-card {
        box-sizing: border-box;
        width: 100%;
        background: #FFFFFF;
        border: 1px solid #D5E5F5;
        border-radius: 14px;
        padding: 15px 18px;
        margin: 20px auto;
        text-align: center;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }
}

/* 2026 desktop final contact card */
@media screen and (min-width: 801px) {
    footer #about .cta {
        box-sizing: border-box;
        width: 100%;
        background: #FFFFFF;
        border: 1px solid #D5E5F5;
        border-radius: 14px;
        padding: 25px;
        margin: 30px auto;
        text-align: center;
        font-size: 1.1em;
        font-style: normal;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }
}

/* 2026 evenly spaced desktop homepage boxes */
@media screen and (min-width: 801px) {
    #mainContent .boxes,
    #mainContent .boxesEnd {
        float: left;
        width: calc((100% - 40px) / 3);
        margin: 0 0 20px 0;
        box-sizing: border-box;
    }

    #mainContent .boxes:nth-of-type(3n+3),
    #mainContent .boxesEnd:nth-of-type(3n+3) {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* 2026 improve homepage box text readability */
.boxes p,
.boxesEnd p {
    color: #263445;
    font-weight: 400;
}

/* 2026 accessibility - copyright footer links */
footer #copyright a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 2026 lesson prices card */
.lesson-prices-card {
    background: #EAF4FF;
    border: 1px solid #C8DFF5;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
    box-sizing: border-box;
}

/* 2026 prices card text */
.lesson-prices-card {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

/* 2026 compact lesson prices on mobile */
@media screen and (max-width: 800px) {
    #textArea .lesson-prices-card p,
    #textArea .lesson-prices-card li {
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
    }
}

/* 2026 match homepage prices text */
#textArea ul.lesson-prices-card li {
    font-weight: bold;
}

/* 2026 prices introduction heading */
#textArea .prices-intro-heading {
    font-size: 20px;
    font-weight: 700;
    color: #263445;
    text-align: center;
    line-height: 1.4;
    margin: 28px 0 18px;
}

/* 2026 testimonial cards */
#textArea .testimonial-card {
    background: #FFFFFF;
    border: 1px solid #D5E5F5;
    border-radius: 14px;
    padding: 20px;
    margin: 8px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* 2026 testimonial names */
#textArea .testimonial-card .testimonial-name {
    color: #007BFF;
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    margin-bottom: 12px;
}

/* 2026 readable testimonial text */
#textArea .testimonial-card em {
    font-style: normal;
    color: #263445;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

/* 2026 FAQ cards */
#about .faq-card {
    background: #FFFFFF;
    border: 1px solid #D5E5F5;
    border-radius: 14px;
    padding: 20px;
    margin: 8px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* 2026 prices introduction text */
#textArea .prices-intro-text {
    color: #263445;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

/* 2026 Google reviews link */
#textArea .reviews-link {
    text-align: center;
    margin: 12px 0 24px;
    font-size: 16px;
    font-weight: bold;
}

#textArea .reviews-link a {
    display: inline-block;
    background: #007BFF;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
}

/* 2026 FAQ section heading */
#about .faq-heading {
    color: #007BFF;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    margin: 30px 0 20px;
}

/* About Us text - Prices & FAQ page */
.about-us-2026 > p {
    color: #263445;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

#about .faq-card > .faq-heading {
    margin: 0 0 20px;
    padding-top: 0;
}

/* Booking contact card - Prices & FAQ */
#textArea .booking-contact-card {
    background: #FFFFFF;
    border: 1px solid #D5E5F5;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    text-align: center;
}

#textArea .lesson-prices-card .driving-test-price-note {
    list-style: none;
}

/* Larger touch targets for footer links */
#links li a {
    display: inline-block;
    padding: 8px 0;
}

/* Homepage prices and terms links - touch spacing */
#textArea p a[href="driving-lesson-prices.html"],
#textArea p a[href="terms-and-conditions.html"] {
    display: inline-block;
    padding: 8px 0;
}


