/* CSS Custom Properties (Variables) for Colors */
:root {
  /* Primary Colors */
  --primary-blue: #2db2e0;
  --primary-green: #39cec5;
  --primary-orange: #fb923c;
  --primary-red: #e6001a;
  --primary-yellow: #a1a61a;
  --accent-green: #b1b626;
  --accent-blue: #0ea5e9;
  --accent-blue-dark: #005ca9;
  --accent-blue-light: #44bbdd;
  --accent-green-dark: #364d0b;
  --accent-green-light: #61a61a;
  --accent-green-alt: #616612;

  /* Grayscale */
  --white: #ffffff;
  --near-white: #f6f6f6;
  --light-gray: #e6e6e6;
  --medium-gray: #cccccc;
  --gray: #999999;
  --dark-gray: #666666;
  --charcoal: #333333;
  --near-black: #111111;
  --black: #000000;

  /* Special Colors */
  --transparent: transparent;
  --error-red: #f00;
  --warning-orange: #ff0;
  --success-green: #64ff64;
  --text-muted: #808080;
  --text-placeholder: #a0a0a0;
  --dark-blue: #000a11;
  --medium-blue: #28b;
  --navy: #005ca9;

  /* RGBA Colors for transparency effects */
  --black-02: rgba(0, 0, 0, 0.2);
  --black-025: rgba(0, 0, 0, 0.25);
  --black-03: rgba(0, 0, 0, 0.3);
  --black-04: rgba(0, 0, 0, 0.4);
  --black-045: rgba(0, 0, 0, 0.45);
  --black-05: rgba(0, 0, 0, 0.5);
  --black-06: rgba(0, 0, 0, 0.6);
  --black-08: rgba(0, 0, 0, 0.8);
  --black-09: rgba(0, 0, 0, 0.9);
  --white-00: rgba(255, 255, 255, 0.0);
  --white-02: rgba(255, 255, 255, 0.2);
  --white-06: rgba(255, 255, 255, 0.6);
  --white-08: rgba(255, 255, 255, 0.8);
  --white-09: rgba(255, 255, 255, 0.9);
  --white-10: rgba(255, 255, 255, 1.0);
  --gray-00: rgba(128, 128, 128, 0);
  --gray-05: rgba(128, 128, 128, 0.5);
  --primary-green-01: rgba(57, 206, 197, 0.1);
  --red-09: rgba(255, 64, 32, 0.9);
  --green-09: rgba(64, 255, 64, 0.9);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-dark: rgba(102, 102, 102, 0.3);
  --border-gray: #969696;
  --cream: #f5eedc;
}

/* RESET elements */
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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

html {}

body {
  line-height: 1;
}

ol,
ul {}

ul {
  list-style: outside square;
}

ul>li {
  margin-left: 20px;
  margin-bottom: 6px;
}

ul.not-bulleted {
  list-style: none;
}

ul.not-bulleted>li {
  margin-left: 0px;
}

ul.atoz li button {
  -webkit-appearance: none;
  background: var(--gray);
  color: var(--white);
  font-size: 100%;
  border: 1px solid var(--charcoal);
  padding: 9px 6px;
  margin: 4px auto;
  width: 96%;
  height: auto;
}

ol {
  list-style: outside decimal;
}

ol>li {
  margin-left: 20px;
  margin-bottom: 6px;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

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

/* --------------------------------

Primary style

-------------------------------- */
*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {}

body {
  font-size: 100%;
  font-family: "Helvetica Neue", HelveticaNeue, "Helvetica-Neue", Helvetica, Arial, sans-serif;
  color: var(--near-black);
  background: var(--white);
  z-index: 1;
  -webkit-overflow-scrolling: touch;
}

body.iframeholder {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  z-index: 1;
  -webkit-overflow-scrolling: touch;
}

iframe {
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  visibility: visible !important;
}

img {
  max-width: 100%;
  height: auto;
}

/* new for Nov 2020 - learndash video progression styling */
.ld-video {
  display: block;
  position: relative;
  clear: both;
}

/* iframe control */
iframe.youtubefeed {
  display: block;
  float: none;
  width: 260px !important;
  max-width: 260px;
  height: 150px !important;
  margin: 0 auto;
  border: 4px solid var(--medium-gray);
  overflow: hidden;
}

a {
  color: var(--accent-green-dark);
  text-decoration: none;
}

a.starttop {
  display: none;
}

p.enter {
  position: relative;
  display: block;
  padding: 0px;
  margin: 24px auto 36px auto;
  width: 260px;
  height: 50px;
  font-size: 150%;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  background: var(--primary-orange);
  border-radius: 8px;
  box-shadow: inset 0 0 10px var(--black-03);
}

p.enter a {
  position: absolute;
  left: 0;
  z-index: 10;
  display: block;
  color: var(--white);
  text-decoration: none;
  width: 100%;
  height: 100%;
  padding-top: 6px;
}

@-webkit-keyframes blow {
  0% {
    -webkit-box-shadow: 0 0 0 0px var(--black-02);
    box-shadow: 0 0 0 0px var(--black-02);
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 0.5);
    transform: scale3d(1, 1, 0.5);
  }

  50% {
    -webkit-box-shadow: 0 0 0 10px var(--black-02);
    box-shadow: 0 0 0 10px var(--black-02);
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 0.5);
    transform: scale3d(1, 1, 0.5);
  }

  100% {
    -webkit-box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.0);
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.0);
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 0.5);
    transform: scale3d(1, 1, 0.5);
  }
}

@keyframes blow {
  0% {
    -webkit-box-shadow: 0 0 0 0px var(--black-02);
    box-shadow: 0 0 0 0px var(--black-02);
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 0.5);
    transform: scale3d(1, 1, 0.5);
  }

  50% {
    -webkit-box-shadow: 0 0 0 10px var(--black-02);
    box-shadow: 0 0 0 10px var(--black-02);
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 0.5);
    transform: scale3d(1, 1, 0.5);
  }

  100% {
    -webkit-box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.0);
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.0);
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 0.5);
    transform: scale3d(1, 1, 0.5);
  }
}

p.enter a {
  color: var(--white);
  display: inline-block;
  width: 100%;
  height: 100%;
}

a#toppickslink:focus {}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
}

h1 {
  font-size: 180%;
  margin-bottom: 6px;
}

h2 {
  font-size: 150%;
  margin-bottom: 6px;
}

h3 {
  font-size: 140%;
  margin-top: 8px;
  color: var(--primary-blue);
}

h4 {
  font-size: 130%;
  color: var(--primary-blue);
}

h5 {
  font-size: 120%;
}

h6 {
  font-size: 110%;
}

h3.instruction {
  color: var(--error-red) !important;
}

p {
  margin: 1em auto;
}

sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  top: -0.5em;
  vertical-align: baseline;
}

/* --------------------------------

BMH added content styling elements

-------------------------------- */

hr {
  margin: 10px auto;
  width: 80%;
  max-width: 600px;
  height: 1px;
  border: 0;
  background: none;
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--gray-00), var(--gray-05), var(--gray-00)) !important;
  border: none !important;
}

hr.hr2 {
  display: none;
}

a p {
  margin: 0 auto;
}

h1,
h2 {
  text-align: center;
}

.versions ul li {
  list-style: square outside;
  margin-left: 18px;
}

.lowlit {
  opacity: 0.6;
}

.emphasis {
  color: var(--primary-yellow);
  font-weight: 500;
  font-size: 110%;
}

.framed {
  border: 5px solid var(--black-08);
  box-shadow: 0 0 0 7px var(--black-02);
}

/* start styles for opening splashscreen - overrides below for fullscreen v stand alone */
body.splashscreen .footer {
  height: 1px;
  padding: 0 !important;
}

body.splashscreen .framed {
  border: 5px solid var(--black-08);
  box-shadow: 0 0 0 2px var(--white-06);
}

/* splash screen (index.html) elements */
.splash-image {
  margin-bottom: 10%;
}

body.splashscreen h2 {
  text-align: center;
}

body.splashscreen h3 {
  text-align: center;
  font-size: 125%;
}

body.splashscreen h4 {
  text-align: center;
}

.clearboth {
  clear: both;
}

.floatleft {
  float: left;
}

.alignleft,
imagealignleftwraptext {
  float: left;
}

img.alignleft {
  clear: both;
  float: none;
  margin: 12px auto;
  display: inherit;
}

img.imagealignleftwraptext,
img.imagealignrightwraptext {
  clear: both;
  float: none;
  margin: 12px auto;
  vertical-align: top;
  display: inherit;
}

img.alignnone,
img.alignright,
img.aligncenter {
  clear: both;
  float: none;
  margin: 12px auto;
  vertical-align: top;
  display: inherit;
}

.floatright {
  float: right;
}

strong {
  font-weight: bold !important;
}

h3.app-course-intro {
  text-align: center;
  font-size: 100%;
  color: var(--primary-blue);
}

div.version-number {
  height: auto;
  padding: 10px 0 10px 0;
  font-size: 90%;
  text-align: center;
  color: var(--primary-blue);
}

div.content-wrapper {
  padding-top: 20px;
}

/* Feb 2019 start.html page styling elements */
div.decoration {
  height: 75px;
  width: 100%;
  margin-top: 12px;
  padding: 0;
  background: url(../_resources/decoration.png) no-repeat center 55%;
  background-size: 130%;
  opacity: 0.9;
  box-shadow: inset 0 0 6px 2px var(--black-06);
}

body.splashscreen div.decoration {
  height: 75px;
  width: 100%;
  margin-top: 12px;
  padding: 0;
  background: url(../_resources/decoration.png) no-repeat center 55%;
  background-size: 130%;
  opacity: 0.9;
  box-shadow: inset 0 0 6px 2px var(--black-06);
}

p.start-menu {
  text-align: center;
  margin-top: 12px;
}

.main-button,
.first-button {
  display: block;
  width: 80%;
  max-width: 260px;
  margin: auto;
  padding: 19px 6px 16px 6px;
  font-size: 135%;
  color: var(--primary-blue);
  text-decoration: none;
  text-align: center;
  background: var(--primary-green-01);
  box-shadow: 2px 2px 1px 1px var(--black-025);
  border: 1px solid var(--black-025);
  border-radius: 15px;
}

h3.opening-statement {
  margin: 12px auto;
  text-align: center;
  font-weight: 300;
  font-size: 26px;
  font-weight: 500;
  color: var(--primary-orange);
}

h3.opening-question {
  text-align: center;
  font-size: 26px;
  margin: 10px auto;
  padding: 6px 12px;
  color: var(--primary-red);
  font-weight: normal;
  font-style: italic;
}

div.clearwatermark h2 {
  text-align: left;
  font-size: 120%;
}

.clearwatermarkrounded::after {
  content: "";
  clear: both;
  display: table;
}

/* ALPHABET CHARACTER ICONS */
/* NOTE an extra 15px has been taken OFF the min-height as the text has moved up - any more and the graphic starts to be cropped */
div.characteraicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-A-icon.png) 0 0 no-repeat;
}

div.characteraicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.characterbicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-B-icon.png) 0 0 no-repeat;
}

div.characterbicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.charactercicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-C-icon.png) 0 0 no-repeat;
}

div.charactercicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.characterdicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-D-icon.png) 0 0 no-repeat;
}

div.characterdicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.charactereicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-E-icon.png) 0 0 no-repeat;
}

div.charactereicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.characteriicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-I-icon.png) 0 0 no-repeat;
}

div.characteriicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.characterpicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-P-icon.png) 0 0 no-repeat;
}

div.characterpicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.characterqicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-Q-icon.png) 0 0 no-repeat;
}

div.characterqicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.characterricon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-R-icon.png) 0 0 no-repeat;
}

div.characterricon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

div.charactersicon {
  clear: both;
  min-height: 77px;
  min-width: 45px;
  padding-top: 30px;
  padding-left: 80px;
  background: url(../_resources/character-S-icon.png) 0 0 no-repeat;
}

div.charactersicon p {
  font-size: 150% !important;
  margin: 0 0 1.0rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--navy);
}

.wp-caption {
  padding: 4px;
}

.wp-caption-text {
  font-size: 90%;
}

/* show or hide the audio player in the app - add display:none if not wanted */
/* audio embeds need to be updated to point to audio in elearnhere with full URL, or copied across if absolutely necessary */
/* Not sure how to style this as it's not using the script that runs the course player - see https://stackoverflow.com/questions/4126708/is-it-possible-to-style-html5-audio-tag for SOME guidance */
audio {}

audio.wp-audio-shortcode::-webkit-media-controls-play-button {}

/* stops the topic progress dots showing in the app */
div.learndash_topic_dots {
  display: none;
}

/* stops self-check quizzes showing in the app - NOTE not necessarily the header for it though as this is added in the text !! */
div.learndash_quizzes {
  display: none;
}

/* stops the back to lesson button link showing in the app */
div#learndash_back_to_lesson {
  display: none;
}

/* stops the post meta details about the author and date showing in the app */
footer.entry-meta {
  display: none;
}

/* stylises the previous and next buttons at the bottom of the screen - note we are not using a fixed position as a) iPhones object, b) the course itself doesn't work that way, and c) it makes the block copy and paste easier for future build and edits */
p#learndash_next_prev_link {
  /*position:fixed;bottom:0;left:0;*/
  width: 100%;
  max-width: 700px;
  height: 60px;
  padding: 10px 0 0px 0;
  margin: 0 auto;
  text-align: center;
  background-image: url(../_resources/footer-bg.png), -moz-linear-gradient(bottom, var(--white-10), var(--white-10), var(--white-00));
  background-image: url(../_resources/footer-bg.png), -ms-linear-gradient(bottom, var(--white-10), var(--white-10), var(--white-00));
  background-image: url(../_resources/footer-bg.png), -webkit-linear-gradient(bottom, var(--white-10), var(--white-10), var(--white-00));
  background-image: url(../_resources/footer-bg.png), -o-linear-gradient(bottom, var(--white-10), var(--white-10), var(--white-00));
  background-image: url(../_resources/footer-bg.png), linear-gradient(bottom, var(--white-10), var(--white-10), var(--white-00));
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  box-shadow: none;
  z-index: 99;
  transition: transform 0.3s;
}

/* hides the spindly text arrows in the buttons */
span.meta-nav {
  display: none;
}

p#learndash_next_prev_link a:link.prev-link,
p#learndash_next_prev_link a:visited.prev-link {
  display: inline-block;
  text-align: center;
  padding: 6px 12px;
  color: var(--white);
  background: var(--primary-blue);
  float: left;
}

p#learndash_next_prev_link a:link.next-link,
p#learndash_next_prev_link a:visited.next-link {
  display: inline-block;
  text-align: center;
  padding: 6px 12px;
  color: var(--white);
  background: var(--primary-blue);
  float: right;
}

/* SPECIFIC elements to manage interactive First Aid Kit */
div.explanation-column {
  text-align: center;
}

div.explanation-column img,
div.explanation-column p {
  clear: both;
  float: none;
  margin: auto;
}

/*div.explanation-column img.imagealignleftwraptext {clear:both !important;float:none !important;margin:auto !important;}*/
div.explanation-column hr {
  clear: both;
  float: none;
  margin: 12px auto 24px auto;
}


@media only screen and (min-width: 361px) {
  body.splashscreen div.decoration {
    position: absolute;
    bottom: 19px;
  }

  div.decoration {
    position: absolute;
    bottom: 20px;
    opacity: 0.70;
  }

}

@media only screen and (min-width: 768px) {
  body.splashscreen div.decoration {
    height: 100px;
    background-size: 110%;
  }

  div.decoration {
    height: 100px;
    background-size: 110%;
  }

  img.alignleft {
    clear: none;
    float: left;
    margin: 12px 24px 12px 0;
  }

  img.alignright {
    clear: none;
    float: right;
    margin: 12px 0 12px 24px;
  }

  img.imagealignleftwraptext {
    clear: none;
    float: left;
    margin: 12px 24px 12px 0;
    vertical-align: top;
  }

  img.alignnone.size-thumbnail {
    display: inline-block;
    clear: none;
    margin-left: 10px;
    margin-right: 10px;
  }

  /* iframe control */
  iframe.youtubefeed {
    display: block;
    float: none;
    width: 450px !important;
    max-width: 450px;
    height: 260px !important;
    margin: 0 auto;
    border: 6px solid var(--medium-gray);
    overflow: hidden;
  }

}

@media screen and (min-width:960px) {}

@media only screen and (min-width: 1280px) {
  div.advert-border {
    width: 100%;
    text-align: center;
    padding-top: 18px;
    padding-bottom: 24px;
  }

  body.splashscreen div.decoration {
    position: unset;
  }

  div.decoration {
    position: unset;
  }

}

/* FORMS and form elements */

/* Prevent iOS styling form elements */
textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
input.cf-checkbox {
  -webkit-appearance: none;
  border-radius: 0;
}

.formcontainer {
  max-width: 820px;
  margin: auto;
}

.onlineform {
  width: auto;
  height: auto;
  min-height: 40px;
  margin: 0 auto 10px auto;
  padding: 5px 0 10px 55px;
  font-size: 110%;
  background-image: url(../_resources/form-icon.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

.byphone {
  width: auto;
  height: auto;
  min-height: 40px;
  margin: 10px 0;
  padding: 5px 0 10px 55px;
  font-size: 120%;
  line-height: 1.4 !important;
  background-image: url(../_resources/phone-icon.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

.byphone a {
  text-decoration: none;
  color: var(--white);
  font-size: 120%;
}

input.cf-text,
textarea.cf-textarea,
select.cf-select {
  float: none;
  width: 98%;
  min-width: 260px;
  max-width: 800px;
  height: auto;
  margin: 0 auto 10px auto;
  padding: 4px;
  font-size: 110%;
  color: var(--near-black);
  background: none repeat scroll 0 0 var(--white);
  border-top: 2px solid var(--border-gray);
  border-right: 2px solid var(--light-gray);
  border-bottom: 2px solid var(--light-gray);
  border-left: 2px solid var(--border-gray);
}

input.cf-text::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: var(--text-placeholder);
  font-size: 80%;
}

input.cf-text::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--text-placeholder);
  font-size: 80%;
}

input.cf-text:-ms-input-placeholder {
  /* IE 10+ */
  color: var(--text-placeholder);
  font-size: 80%;
}

input.cf-text:-moz-placeholder {
  /* Firefox 18- */
  color: var(--text-placeholder);
  font-size: 80%;
}

textarea.cf-textarea {
  min-height: 100px;
}

input.cf-checkbox {
  width: 30px;
  height: 30px;
  padding: 4px;
  font-size: 110%;
  color: var(--near-black);
  background: none repeat scroll 0 0 var(--white);
  border-top: 2px solid var(--border-gray);
  border-right: 2px solid var(--light-gray);
  border-bottom: 2px solid var(--light-gray);
  border-left: 2px solid var(--border-gray);
}

input.cf-checkbox:checked {
  background: url(../_resources/green-tick.png) no-repeat scroll 2px 2px var(--white);
  background-size: 25px 25px;
}

.explanation {
  font-style: italic;
  font-size: 90%;
}

.smallprint {
  font-size: 90%;
}

/* styles form submit and clear buttons */
input.formsubmit {
  -webkit-appearance: none;
  display: inline-block;
  padding: 10px 12px;
  color: var(--white);
  text-decoration: none;
  background: var(--accent-green);
  z-index: 199;
  border: none;
  border-radius: 10px;
  box-shadow: 1px 1px 1px 1px var(--black-045);
}

input.formclear {
  -webkit-appearance: none;
  display: inline-block;
  margin-left: 20px;
  padding: 10px 12px;
  color: var(--white);
  text-decoration: none;
  background: var(--error-red);
  z-index: 199;
  border: none;
  border-radius: 10px;
  box-shadow: 1px 1px 1px 1px var(--black-045);
}

/* Styling for contact page as form has been depreciated as not working with sw.js - july 2019 */
button.website-link {
  -webkit-appearance: none;
  display: block;
  padding: 10px 12px;
  margin: 12px auto;
  color: var(--white);
  font-size: 100%;
  font-weight: normal;
  text-decoration: none;
  background: var(--primary-green);
  z-index: 199;
  border: none;
  border-radius: 10px;
  box-shadow: 1px 1px 1px 1px var(--black-045);
  cursor: pointer;
}

a.mailto-link {
  display: inline-block;
  color: var(--primary-green);
  font-weight: bold;
  text-decoration: none;
}

@media only screen and (min-width: 412px) {
  a.mailto-link {
    font-size: 100%;
  }
}

a.tel-link {
  display: inline-block;
  color: var(--primary-green);
  font-weight: bold;
  text-decoration: none;
}


/* FOR offline.js */
span#status {
  display: inline;
  clear: both;
  width: 90%;
  max-width: 200px;
  margin: 15px auto;
  text-align: left;
  padding: 10px 10px 10px 66px;
  font-size: 120%;
  color: var(--green-09);
  text-shadow: 1px 1px 1px var(--black-02);
  font-weight: normal;
  background: var(--dark-blue) url(../_resources/online-status-anim.gif) left center no-repeat;
  background-size: 67px 30px;
  border: none;
  border-radius: 0;
  box-shadow: inset 0 0 2px 6px rgba(245, 238, 220, 0.8);
}

span#status.offline {
  background: var(--dark-blue) url(../_resources/offline-status-anim.gif) left center no-repeat;
  background-size: 67px 30px;
  color: var(--red-09);
  text-shadow: 1px 1px 1px var(--black-02);
}

span#status::before {
  content: "Connection: ";
  color: var(--near-white);
  font-size: 90%;
  font-weight: normal;
  display: inline;
}

/* cachemonitor style */
.cachemonitor {
  text-align: center;
}

/* chserve chameleonsettings.css override */
#chbmhbannerarea {
  width: 94%;
  margin: 0 auto 10px auto;
  padding: 15px 2.5%;
  background-color: var(--near-white);
  background-image: -moz-linear-gradient(top, var(--light-gray), var(--near-white));
  background-image: -ms-linear-gradient(top, var(--light-gray), var(--near-white));
  background-image: -webkit-linear-gradient(top, var(--light-gray), var(--near-white));
  background-image: -o-linear-gradient(top, var(--light-gray), var(--near-white));
  border: none;
  border-radius: 20px;
  box-shadow: inset 0px 0px 12px 3px var(--black-03);
  text-align: center;
}

.chbmhwrap {
  width: 100%;
}

.chcsssubmitbutton,
a.chcsssubmitbutton:link,
a.chcsssubmitbutton:visited,
.chcssdiagnosticsbutton,
a.chcssdiagnosticsbutton:link,
a.chcssdiagnosticsbutton:visited {
  display: block;
  width: 70%;
  max-width: 260px;
  height: 48px;
  margin: auto;
  padding: 10px 10px 4px 10px;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  font-size: 100%;
  color: var(--white);
  text-shadow: 1px 1px 2px var(--black);
  border: 3px solid var(--white);
  background: var(--accent-blue-light);
  border-radius: 12px;
  box-shadow: inset 0 0 5px 2px var(--black-02);
  z-index: 100;
}

/* For NOTIFICATIONS using jQuery fadetoggle on homescreen */
section#chameleon {
  width: 100%;
  height: 155px;
  padding-top: 4px;
  text-align: center;
  position: fixed;
  bottom: -55px;
  right: 0;
  left: 0;
  background: none
    /*url(../_resources/grab-area.png) center top no-repeat*/
  ;
  z-index: 222;
}

section#chameleon.closed {
  position: fixed;
  bottom: -110px !important;
  right: 0;
  left: 0;
  transition: all 0.5s ease;
  background: var(--error-red);
  box-shadow: 0 0 10px 2px var(--black-03);
  z-index: 300;
}

section#chameleon.open {
  /*bottom:-50px !important;*/
  position: fixed;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--white-08);
  transition: all 0.5s ease;
}

div.grab-open {
  display: block;
  height: 48px;
  margin: 0 auto;
  cursor: pointer;
}

section#chameleon.closed div.grab-open {
  background: var(--error-red) url(../_resources/grab-area-open.png) no-repeat center 5px;
  transition: all 0.5s ease;
  /*added styles */
  position: absolute;
  bottom: 105px;
  left: 0;
  right: 0;
  z-index: 99;
}

.bookmarkbutton {
  display: block;
  position: relative;
  top: 300px;
  width: 80%;
  max-width: 298px;
  height: 230px;
  margin: auto;
  padding: 15px 10px 0 10px;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  font-size: 100%;
  color: var(--white);
  text-shadow: 1px 1px 2px var(--black);
  border: 1px solid var(--error-red);
  background: var(--error-red);
  background-size: 90% 100%;
  box-shadow: 0 0 10px 2px var(--black-03);
  cursor: pointer;
  z-index: 100;
  transition: all 0.5s ease;
}

section#chameleon.open div.grab-open {
  background: url(../_resources/grab-area-close.png) no-repeat center 22px;
  /*box-shadow:0 0 10px 2px var(--black-03);*/
  transition: all 0.5s ease;
  /* added styles */
  position: absolute;
  top: 485px;
  left: 0;
  right: 0;
  z-index: 223;
}

section#chameleon.open div.grab-open .continue-without {
  text-shadow: none;
  font-size: 90%;
  color: var(--white-06);
  transition: all 0.5s ease;
}

section#chameleon.closed div.grab-open .continue-without {
  text-shadow: none;
  font-size: 90%;
  color: var(--white-00);
  transition: all 0.5s ease;
}

@media only screen and (min-width: 1280px) {
  .bookmarkbutton {
    top: 325px;
  }

  section#chameleon.open div.grab-open {
    position: absolute;
    top: 505px;
  }
}

.bookmarkbutton .click-here {
  display: block;
  width: 200px;
  padding: 8px 16px;
  margin: 8px auto;
  color: #900;
  font-size: 120%;
  text-transform: uppercase;
  background: var(--white);
  text-shadow: none;
  border-radius: 10px;
  box-shadow: 0 0 12px var(--black-08);
  cursor: pointer;
}

.bookmarkbutton .continue-without {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  clear: both;
  bottom: 46px;
  text-shadow: none;
  font-size: 90%;
  color: var(--white-06);
}

.actionbutton {
  display: inline-block;
  width: 232px;
  padding: 6px 12px;
  color: var(--white);
  font-size: 120%;
  text-decoration: none;
  background: var(--primary-blue);
}

.linkbutton {
  display: inline-block;
  width: auto;
  padding: 4px 10px;
  color: var(--white);
  font-size: 100%;
  text-decoration: none;
  background: var(--primary-blue);
}

.switchbutton {
  display: inline-block;
  min-width: 232px;
  width: auto;
  padding: 6px 12px;
  color: var(--white);
  font-size: 120%;
  text-decoration: none;
  background: var(--primary-blue);
}

p.overlay a.actionbutton {
  position: relative;
  display: inline-block;
  font-size: 80%;
  z-index: 5;
  font-weight: normal;
}

.inline {
  display: inline-block;
  width: auto;
  padding: 3px 12px;
}

.iphone-share-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: text-bottom;
  background: url(../_resources/iphone-share-icon.png) no-repeat center;
}

.iphone-add-to-homescreen-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: text-top;
  background: url(../_resources/iphone-add-to-homescreen-icon.png) no-repeat center;
}

.android-menu-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
  background: url(../_resources/android-menu-icon.png) no-repeat center;
  background-size: 18px;
}

@media only screen and (max-width: 1279px) {
  .section-decoration {
    position: relative;
    width: 100%;
    height: 60px;
    box-shadow: none;
  }

  .with-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 10px var(--black-09);
    z-index: 4;
  }

  p.overlay {
    position: absolute;
    bottom: 0px;
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 15px;
    margin: 0;
    color: var(--primary-blue);
    font-size: 160%;
    font-weight: 300;
    text-align: center;
    background: var(--white-08);
  }

}

@media only screen and (min-width: 1280px) {
  .section-decoration {
    position: relative;
    width: 100%;
    height: 60px;
    box-shadow: none;
  }

  p.overlay {
    position: absolute;
    bottom: 0px;
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 15px;
    margin: 0;
    color: var(--primary-blue);
    font-size: 160%;
    font-weight: 300;
    text-align: center;
    background: var(--white-08);
  }

}

/* manages the basics of our bookmark callout - additional device-specific controls in chameleon css */
.callout {
  display: none;
  width: 200px;
  min-height: 45px;
  margin: 4px 1% 4px 1%;
  padding: 11px 15px 11px 8px;
  text-align: center;
  text-transform: none;
  font-size: 80%;
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
  text-shadow: 1px 1px 2px var(--white);
  border-radius: 6px;
  border: 2px solid var(--warning-orange);
  background-color: var(--warning-orange);
  background-image: url(../_resources/callout-close-icon.png);
  background-repeat: no-repeat;
  background-position: right 7px top 7px;
  box-shadow: 0 0 30px 15px var(--black-04);
  z-index: 100;
}

.callout:before {
  content: "";
  width: 0px;
  height: 0px;
  border: 0.8em solid var(--transparent);
  position: absolute;
}

.callout.arrowtop::before {
  left: 45%;
  top: -21px;
  border-bottom: 10px solid var(--warning-orange);
}

.callout.arrowbottom::before {
  left: 45%;
  bottom: -22px;
  border-top: 10px solid var(--warning-orange);
}

.callout.left::before {
  left: 12%;
}

.callout.right::before {
  left: 88%;
}

@media only screen and (min-width: 1280px) {

  h1,
  h2 {}

  /* splash screen (index.html) elements */
  .splash-image {
    margin-bottom: 10%;
  }

}

/* --------------------------------

Main Components

-------------------------------- */
header {
  position: fixed;
  z-index: 3;
  height: 70px;
  padding-top: 15px;
  width: 100%;
  top: 0;
  left: 0;
  /*background-color: var(--accent-blue);*/
  box-shadow: 0 2px 2px var(--black-03);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

header.entry-header {
  position: relative;
  height: auto;
  padding-top: 0;
  line-height: 1.2;
  background: none;
  box-shadow: none;
}

header.nav-is-visible {
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}

header::before {
  /* never visible - this is used in jQuery to check the current MQ */
  display: none;
  content: 'mobile';
}

@media only screen and (min-width: 1280px) {
  header {
    height: 80px;
    padding-top: 5px;
  }

  header.nav-is-visible {
    -webkit-transform: translateX(-300px);
    -moz-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    -o-transform: translateX(-300px);
    transform: translateX(-300px);
  }

}

body.full-feed {
  margin-bottom: 70px;
}

body.full-feed div.content-wrapper {
  padding-top: 0;
}

body.full-feed header {
  padding-top: 6px;
}

div.geodir_thumbnail {
  height: 240px !important;
}

div.geodir_get_directions {
  display: none;
  /*clear:none;display:inline-block;float:right;position:relative;top:-26px;right:6px;*/
}

div.geodir_memberstatus {
  display: none;
}

@media only screen and (min-width: 768px) {

  /* March 2018 start page styling elements */
  .main-button,
  .first-button {
    padding-top: 21px !important;
    padding-bottom: 18px !important;
  }

  p.start-menu {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 36px;
  }

  /* Styling for DinnerData.co.uk venue listing scrape */
  body.full-feed {
    margin: auto;
  }

  div.geodir_thumbnail {
    height: 205px !important;
    width: 45% !important;
    float: right;
  }

}

@media only screen and (min-width: 1280px) {

  /* March 2018 start page styling elements */
  .main-button,
  .first-button {
    padding-top: 15px !important;
    padding-bottom: 12px !important;
  }

  p.start-menu {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 6vh;
  }

  /* Styling for DinnerData.co.uk venue listing scrape */
  body.full-feed {
    margin: 0 auto 70px auto;
  }

  div.geodir_thumbnail {
    width: 45% !important;
    float: right;
  }

}

footer.nav-is-visible {
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}

footer nav.cd-main-nav-wrapper {
  display: none;
}

footer::before {
  /* never visible - this is used in jQuery to check the current MQ */
  display: none;
  content: 'mobile';
}

/* END BMH addition for footer */

.cd-logo {
  display: inline-block;
  height: 70px;
  margin-left: 15px;
  margin-top: -12px;
  /* remove jump on iOS devices - when we fire the navigation */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
}

/* Adding cursor:pointer to link to see if it helps with iPhone focus */
.cd-logo a {
  cursor: pointer
}

.cd-logo img {
  display: block;
  height: 50px;
}


@media only screen and (min-width: 1280px) {
  .cd-logo {
    position: absolute;
    height: 70px;
    margin-left: 20px;
    z-index: 2;
  }

  .cd-logo img {
    height: 70px;
    padding-top: 20px;
    margin-top: 5px;
  }

}

/* Adding cursor:pointer to link to see if it helps with iPhone focus */
.cd-nav-trigger {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  /* hide text */
  overflow: hidden;
  white-space: nowrap;
  color: var(--transparent);
  cursor: pointer;
}

.cd-nav-trigger span {
  /* hamburger icon created in CSS */
  position: absolute;
  height: 2px;
  width: 20px;
  top: 50%;
  margin-top: -1px;
  left: 50%;
  margin-left: -10px;
  -webkit-transition: background-color 0.3s 0.3s;
  -moz-transition: background-color 0.3s 0.3s;
  transition: background-color 0.3s 0.3s;
  background-color: var(--white);
}

.cd-nav-trigger span::before,
.cd-nav-trigger span::after {
  /* upper and lower lines of the menu icon */
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s 0.3s;
  -moz-transition: -moz-transform 0.3s 0.3s;
  transition: transform 0.3s 0.3s;
}

.cd-nav-trigger span::before {
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
  transform: translateY(-6px);
}

.cd-nav-trigger span::after {
  -webkit-transform: translateY(6px);
  -moz-transform: translateY(6px);
  -ms-transform: translateY(6px);
  -o-transform: translateY(6px);
  transform: translateY(6px);
}

.nav-is-visible .cd-nav-trigger span {
  background-color: rgba(255, 255, 255, 0);
}

.nav-is-visible .cd-nav-trigger span::before {
  -webkit-transform: translateY(0) rotate(-45deg);
  -moz-transform: translateY(0) rotate(-45deg);
  -ms-transform: translateY(0) rotate(-45deg);
  -o-transform: translateY(0) rotate(-45deg);
  transform: translateY(0) rotate(-45deg);
}

.nav-is-visible .cd-nav-trigger span::after {
  -webkit-transform: translateY(0) rotate(45deg);
  -moz-transform: translateY(0) rotate(45deg);
  -ms-transform: translateY(0) rotate(45deg);
  -o-transform: translateY(0) rotate(45deg);
  transform: translateY(0) rotate(45deg);
}

.cd-main-nav {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  background: var(--white);
  -webkit-transition: visibility 0s 0.3s;
  -moz-transition: visibility 0s 0.3s;
  transition: visibility 0s 0.3s;
}

/* NOTE left padding reduced from 2em to 1em as individual icons removed - see app.dinnerdata.co.uk for details */
.cd-main-nav a,
.cd-main-nav button {
  display: block;
  font-size: 1.2rem;
  padding: .9em 2em .9em 0.8em;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-dark);
  color: var(--primary-blue);
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  text-shadow: none;
}

.cd-main-nav a div.appmenu {
  color: var(--text-muted);
}

/* overrides the ul li use of square bullets and the margins used above - circa line 24 */
ul.cd-main-nav>li {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}

ul.cd-main-nav li ul>li {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}

ul.cd-main-nav li ul li button.side-menu div.submenu {
  font-size: 0.9em;
  padding-left: 20px;
}

@media only screen and (min-width: 1280px) {
  .cd-main-nav {
    width: 300px;
  }

}

/* BMH subsidiary styles for menu items MOBILE DISPLAY ONLY --- */

ul.cd-main-nav {}

ul.cd-main-nav li {
  background: var(--white);
}

/* side menu individual styling removed - see app.dinnerdata.co.uk for details */

/* additional styling to allow for buttons (not <a href...>) on side menu to open links in new window, so not fullscreen / standalone. ALSO USED for opening links in the iframe */
.cd-main-nav button.side-menu {
  display: block;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  padding: .8em 2em .8em .8em;
  color: var(--primary-blue);
  text-align: left;
  font-size: 1.2rem;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-dark);
}

.cd-main-nav button.side-menu div.submenu {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary-blue);
  font-size: 1.2rem;
}

.cd-main-nav button.side-menu div.topicmenu {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary-green);
  font-size: 1.0rem;
}

.cd-main-nav button.side-menu div.topicmenu:before {
  content: '..';
}

.cd-main-nav button.side-menu div.coursemenu {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary-blue);
  font-size: 1.2rem;
}

/* linked to above, styles topics submenu buttons to open submenu */
.cd-main-nav button.side-menu div.appmenu {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
  font-size: 1.2rem;
}


/* BMH addition for adding fading element to bottom of nav list to encourage scrolling */
ul.cd-main-nav.nav-is-visible {
  /*padding-bottom:50px;*/
}

.cd-main-nav.nav-is-visible:after {
  content: ' ';
  position: fixed;
  bottom: 0;
  right: 0;
  height: 85px;
  width: 260px;
  background-image: linear-gradient(to bottom, var(--white-00), var(--white-02), var(--white-06), var(--white-09), var(--white-10));
  z-index: 1998;
}

@media only screen and (min-width: 1280px) {
  .cd-main-nav.nav-is-visible:after {
    width: 300px;
  }

}

/* Additional element to jump to bottom of menu */
li#menuend {
  display: block;
  height: 90vh;
  background: var(--white);
}


/* END BMH subsidiary styles for menu items MOBILE DISPLAY ONLY */


.cd-main-nav li ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transform: translateX(260px);
  -moz-transform: translateX(260px);
  -ms-transform: translateX(260px);
  -o-transform: translateX(260px);
  transform: translateX(260px);
}

.cd-main-nav.nav-is-visible {
  visibility: visible;
  -webkit-transition: visibility 0s 0s;
  -moz-transition: visibility 0s 0s;
  transition: visibility 0s 0s;
}

.cd-main-nav.moves-out>li>a,
.cd-main-nav.moves-out>li>button {
  /* push the navigation items to the left - and lower down opacity - when secondary nav slides in */
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  opacity: 0;
}

.cd-main-nav.moves-out>li>ul {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}

.cd-main-nav .cd-subnav-trigger,
.cd-main-nav .go-back a {
  position: relative;
  color: var(--primary-green);
  font-size: 1.1rem;
}

.cd-main-nav .cd-subnav-trigger::before,
.cd-main-nav .cd-subnav-trigger::after,
.cd-main-nav .go-back a::before,
.cd-main-nav .go-back a::after {
  /* arrow icon in CSS */
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -1px;
  display: inline-block;
  height: 2px;
  width: 10px;
  background: var(--primary-green);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cd-main-nav .cd-subnav-trigger::before,
.cd-main-nav .go-back a::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.cd-main-nav .cd-subnav-trigger::after,
.cd-main-nav .go-back a::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.cd-main-nav .cd-subnav-trigger::before,
.cd-main-nav .cd-subnav-trigger::after {
  /* arrow goes on the right side - children navigation */
  right: 20px;
  -webkit-transform-origin: 9px 50%;
  -moz-transform-origin: 9px 50%;
  -ms-transform-origin: 9px 50%;
  -o-transform-origin: 9px 50%;
  transform-origin: 9px 50%;
}

.cd-main-nav .go-back a {
  padding-left: 2em;
}

.cd-main-nav .go-back a::before,
.cd-main-nav .go-back a::after {
  /* arrow goes on the left side - go back button */
  left: 20px;
  -webkit-transform-origin: 1px 50%;
  -moz-transform-origin: 1px 50%;
  -ms-transform-origin: 1px 50%;
  -o-transform-origin: 1px 50%;
  transform-origin: 1px 50%;
}

.cd-main-nav .placeholder {
  /* never visible or clickable- it is used to take up the same space as the .cd-subnav-trigger */
  display: none;
}


.cd-main-content::before {
  /* never visible - this is used in jQuery to check the current MQ */
  display: none;
  content: 'mobile';
}

.cd-main-content {
  position: absolute;
  top: 0;
  padding-top: 70px;
  z-index: 2;
  min-height: 100vh;
  width: 100%;
  /*padding-top:50px;padding-bottom:25px;*/
  background-color: var(--white);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  border-bottom: 5vh solid var(--transparent);
  box-shadow: 0 0 20px var(--black-05);
  -webkit-overflow-scrolling: touch;
}

body.iframeholder .cd-main-content {
  position: absolute;
  top: 0;
  padding-top: 70px;
  z-index: 2;
  min-height: calc(100vh - 70px);
  height: calc(100vh - 1px);
  width: 100%;
  /*padding-top:50px;padding-bottom:25px;*/
  background-color: var(--white);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  border-bottom: 5vh solid var(--transparent);
  box-shadow: 0 0 20px var(--black-05);
  -webkit-overflow-scrolling: touch;
  /*overflow-y:hidden;*/
}

body.splashscreen .cd-main-content {
  background-color: var(--white);
  border-bottom: 1px solid var(--transparent);
  box-shadow: 0 0 20px var(--black-05);
}

@media only screen and (min-width: 1280px) {
  .cd-main-content {
    padding-top: 80px;
  }

  body.iframeholder .cd-main-content {
    padding-top: 80px;
  }
}

.cd-main-content.nav-is-visible {
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}

.site {
  width: 94%;
  height: auto;
  margin: 0 auto 40px auto;
  padding: 20px 10px;
  line-height: 1.4;
}

body.splashscreen .site {
  width: 94%;
  height: auto;
  margin: 0 auto 10px auto;
  padding: 20px 10px;
  line-height: 1.4;
}

.slimline {
  margin-bottom: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* widemargin used to bring content into central column for larger screens */
.widemargin {}


/* mainbutton style for <button> elements as opposed to <a> */
button.mainbutton {
  display: inline-block;
  margin: 6px auto;
  width: 272px;
  padding: 13px 12px 12px 12px;
  color: var(--primary-yellow);
  font-size: 130%;
  text-decoration: none;
  background: var(--white);
  border-radius: 0px;
}

button.refresh-button {
  padding-left: 42px;
  background: var(--white) url(../_resources/refresh-mainbutton.png) no-repeat 4px 11px;
  background-size: 32px;
}

/* Whatsapp claim with receipt */
.whatsapp-chat {}

p.whatsapp-chat {
  display: block;
  position: relative;
  line-height: 1;
  height: 98px;
  width: 220px;
  text-align: center;
  background: url(../_resources/whatsapp-chat.png) center top no-repeat;
  background-size: contain;
}

p.whatsapp-chat a {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  padding-top: 95px;
  color: var(--accent-green-light);
  font-weight: normal;
}


/* IFRAME feed style */
div.iframeouter {
  background: var(--white);
}

/* 2 items below have had height changed from 79vh to calculated height since we have elected to remove the footer */
/* NOTE iframefeeder has been introduced since 2021 when experimenting with bringing eBook content in from the appfeeder.elearnhere.co.uk 2023 appfeeder.elearnhere.uk) wordpress site, and extra controls needed for iphone - handled in chameleon iphone loader.css */
.iframefeed,
.iframefeeder {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
}

@media only screen and (min-width: 1280px) {

  .iframefeed,
  .iframefeeder {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
  }

}

/* specific styling for Venue Stamp Card simple system --- */
.iframeoutervsc {
  position: relative;
  width: 96%;
  max-width: 400px;
  margin: 0 auto;
  /*padding:8px;border:1px solid var(--dark-gray);box-shadow:0 0 4px 1px var(--black-04);background:var(--white);*/
  border-radius: 0px;
}

.iframemask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 36px;
  padding-left: 18px;
  z-index: 99;
  background: none;
  border-bottom: 1px solid var(--gray);
}

.iframefeedvsc {
  position: relative;
  width: 100%;
  height: 270px;
  margin: 0 auto;
}

/* Stamp card unlock form elements */
form.vsc-unlock-form {
  max-width: 615px;
  margin: auto;
  text-align: center;
}

form.vsc-unlock-form input#code {
  margin-top: 10px;
  margin-bottom: 10px;
  display: inline-block;
  height: 45px;
  width: 60%;
  margin-right: 5%;
  max-width: 400px;
  font-size: 150%;
  text-align: center;
  border: 1px solid var(--primary-yellow);
  box-shadow: inset 0 0 2px var(--black-04);
}

input#code::-webkit-input-placeholder,
input#pass::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: var(--primary-yellow);
  padding-left: 4px;
  font-size: 85%;
}

input#code::-moz-placeholder,
input#pass::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--primary-yellow);
  padding-left: 4px;
  font-size: 85%;
}

input#code:-ms-input-placeholder,
input#pass:-ms-input-placeholder {
  /* IE 10+ */
  color: var(--primary-yellow);
  padding-left: 4px;
  font-size: 85%;
}

input#code:-moz-placeholder,
input#pass:-moz-placeholder {
  /* Firefox 18- */
  color: var(--primary-yellow);
  padding-left: 4px;
  font-size: 85%;
}

form.vsc-unlock-form input[type='submit'] {
  margin-top: 9px;
  margin-bottom: 10px;
  display: inline-block;
  width: 28%;
  height: 44px;
  background: var(--primary-yellow);
  color: var(--white);
  font-size: 130%;
  text-align: center;
  border: 1px solid var(--primary-yellow);
}

form.vsc-form input[type=text]#stamp-card-title {
  -webkit-appearance: none;
  display: block;
  vertical-align: top;
  padding: 0 !important;
  width: 90%;
  height: 35px;
  margin: 0 5% 0 5% !important;
  text-align: center;
  color: var(--charcoal);
  font-size: 135% !important;
  border: none !important;
}

form.vsc-form input[type=text]#stamp-card-details {
  -webkit-appearance: none;
  display: block;
  vertical-align: top;
  padding: 0 !important;
  width: 90%;
  height: 35px;
  margin: -15px 5% 0 5% !important;
  text-align: center;
  color: var(--charcoal);
  font-size: 100% !important;
  border: none !important;
}

form.vsc-form input[type=checkbox] {
  -webkit-appearance: none;
  position: relative;
  width: 60px;
  height: 60px;
  margin: 6px 12px;
  background: var(--near-white);
  border: 2px solid var(--gray);
  border-radius: 60px;
  outline: none;
}

form.vsc-form input[type=checkbox]#Stamp_1:after {
  position: absolute;
  top: 13px;
  left: 20px;
  content: '1';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_2:after {
  position: absolute;
  top: 13px;
  left: 20px;
  content: '2';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_3:after {
  position: absolute;
  top: 13px;
  left: 20px;
  content: '3';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_4:after {
  position: absolute;
  top: 13px;
  left: 19px;
  content: '4';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_5:after {
  position: absolute;
  top: 13px;
  left: 19px;
  content: '5';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_6:after {
  position: absolute;
  top: 13px;
  left: 19px;
  content: '6';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_7:after {
  position: absolute;
  top: 13px;
  left: 20px;
  content: '7';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_8:after {
  position: absolute;
  top: 13px;
  left: 20px;
  content: '8';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]#Stamp_9:after {
  position: absolute;
  top: 13px;
  left: 20px;
  content: '9';
  color: var(--gray);
  font-size: 28px;
}

form.vsc-form input[type=checkbox]:checked,
form.vsc-form input[type=checkbox]#Stamp_1:checked {
  background: var(--accent-green-alt) url(../_resources/dd-stamp-white.png) center no-repeat;
  outline: none;
}

form.vsc-form input[type=checkbox]#Stamp_1:checked:after,
form.vsc-form input[type=checkbox]#Stamp_2:checked:after,
form.vsc-form input[type=checkbox]#Stamp_3:checked:after,
form.vsc-form input[type=checkbox]#Stamp_4:checked:after,
form.vsc-form input[type=checkbox]#Stamp_5:checked:after,
form.vsc-form input[type=checkbox]#Stamp_6:checked:after,
form.vsc-form input[type=checkbox]#Stamp_7:checked:after,
form.vsc-form input[type=checkbox]#Stamp_8:checked:after,
form.vsc-form input[type=checkbox]#Stamp_9:checked:after {
  display: none;
}

button#save {
  -webkit-appearance: none;
  display: inline-block;
  padding: 6px 9px;
  color: var(--white);
  font-size: 110%;
  background: var(--primary-red);
  border: none;
}

button#saved {
  -webkit-appearance: none;
  display: inline-block;
  padding: 6px 9px;
  color: var(--white);
  font-size: 110%;
  color: var(--white);
  background: var(--primary-blue);
  border: none;
}

form.vsc-form input[type=submit] {
  -webkit-appearance: none;
  display: inline-block;
  float: right;
  padding: 6px 9px;
  margin-right: 20px;
  margin-top: 0;
  color: var(--white);
  font-size: 110%;
  color: var(--white);
  background: var(--primary-blue);
  border: none;
}

/* blink redirecting text and enter button on index page */
.blink_me {
  animation: blinker 1.5s alternate infinite;
}

@keyframes blinker {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

/* END specific styling for Venue Stamp Card simple system */

/* Ensure enough space at bottom of iframe pages to see all content */
.app-iframe-height-adjuster {
  position: fixed;
  left: 0px;
  bottom: 0px;
  height: 50px;
  width: 100%;
  margin: 0 auto 0 auto;
  display: block;
  background-image: linear-gradient(to bottom, var(--white-00), var(--white-10), var(--white-10));
  z-index: 199;
}

.fixed-back-button {
  display: inline-block;
  padding: 10px 12px;
  position: fixed;
  left: 8px;
  bottom: 8px;
  color: var(--white);
  text-decoration: none;
  background: var(--accent-green);
  z-index: 200;
  border-radius: 10px;
  box-shadow: 2px 2px 1px 1px var(--black-045);
}

.fixed-back-button:before {
  content: ' < ';
  font-weight: bold;
}

.blue-question {
  font-size: 130%;
  color: var(--medium-blue);
}

/* DEC 2017 additions to control new splash screen and browser vs standalone fullscreen mode */
p.app-message-icon {
  width: 98%;
  max-width: 320px;
  height: 160px;
  background: url(../_resources/message-icon.gif) center no-repeat;
}

p.app-message-icon a {
  width: 100%;
  height: 100%;
  display: block;
}

@media only screen and (min-width: 1280px) {
  .cd-main-content.nav-is-visible {
    -webkit-transform: translateX(-300px);
    -moz-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    -o-transform: translateX(-300px);
    transform: translateX(-300px);
  }

  .cd-main-nav li ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transform: translateX(300px);
    -moz-transform: translateX(300px);
    -ms-transform: translateX(300px);
    -o-transform: translateX(300px);
    transform: translateX(300px);
  }

  .site {
    width: 89%;
    height: auto;
    margin: 0 5.5% 20px 5.5%;
    padding: 20px 0;
    line-height: 1.4;
  }

  .slimline {
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .slimline h2 {
    margin-top: 10px;
    margin-bottom: 0;
  }

  /* widemargin used to bring content into central column for larger screens */
  .widemargin {
    max-width: 960px;
    margin: 0 auto;
  }

}

/*--- START NO JS ELEMENTS ------------------------------------------------------*/
.no-js .cd-nav-trigger,
.no-js .cd-subnav-trigger {
  display: none;
}

.no-js header {
  position: relative;
  height: auto;
}

.no-js .cd-logo img {
  margin-bottom: 14px;
}

.no-js .cd-main-nav {
  position: static;
  width: 100%;
  height: auto;
  visibility: visible;
  overflow: visible;
}

.no-js .cd-main-nav li {
  display: inline-block;
}

.no-js .cd-main-nav li:last-child {
  display: block;
}

.no-js .cd-main-nav .go-back {
  display: none;
}

.no-js .cd-main-nav li ul {
  position: static;
  width: 100%;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}

@media only screen and (min-width: 1280px) {
  .no-js .cd-main-nav {
    height: 80px;
  }

  .no-js .cd-main-nav li ul {
    position: absolute;
    top: 80px;
  }

  .no-js .cd-main-nav li ul li {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  .no-js .cd-main-nav li ul li:last-child {
    display: none;
  }

}

.no-js .cd-main-content {
  padding-top: 0;
}

@media only screen and (min-width: 1280px) {
  .no-js .cd-main-content {
    padding-top: 80px;
    margin-bottom: -60px;
  }
}

/*--- END NO JS ELEMENTS --------------------------------------------------------*/

/*--- START MAX WIDTH ELEMENTS - Last level controls (in descending order) ------*/
@media only screen and (max-width: 725px) {
  body.splashscreen p {
    margin: 0.3em auto;
  }

  body.splashscreen p.enter {
    margin: 24px auto 36px auto;
  }

  p.app-icon img {
    width: 150px;
    height: 150px;
  }

}

/* Maximum width of 360 pixels. */
@media only screen and (max-width: 360px) {
  div.decoration {
    /*height:80px;position:relative;bottom:15px;*/
  }

  body.splashscreen div.content-wrapper {
    padding-top: 3vh;
  }

  body.splashscreen h2 {
    font-size: 180%;
  }

  body.splashscreen h3 {
    font-size: 120%;
  }

  body.splashscreen h4 {
    font-size: 115%;
  }

  div.decoration {
    /*height:70px;position:relative;*/
  }

}

/* Maximum width of 320 pixels. */
@media only screen and (max-width: 320px) {
  .startbutton {
    display: block;
    width: 66%;
    height: 50px;
    margin: 12px auto;
    padding: 10px 12px 8px 40px;
  }

  p.app-icon img {
    width: 113px;
    height: 113px;
  }

  body.splashscreen div.content-wrapper {
    padding-top: 2vh;
  }

  body.splashscreen h2 {
    font-size: 180%;
  }

  body.splashscreen h3 {
    font-size: 115%;
  }

  body.splashscreen h4 {
    font-size: 110%;
  }

  p.overlay {
    font-size: 140%;
  }

  h3.opening-statement {
    margin: 6px auto;
    font-size: 24px;
  }

  h3.opening-question {
    font-size: 24px;
  }

  .main-button,
  .first-button,
  .full-button {
    padding-top: 14px !important;
    padding-bottom: 12px !important;
  }

  .search-button {
    background: var(--white) url(../_resources/search-mainbutton.png) no-repeat 7px 6px;
  }

  .hidefrom320 {
    display: none;
  }

  /* Stamp card unlock form elements */
  form.vsc-unlock-form input#code,
  form.vsc-unlock-form input[type='submit'] {
    font-size: 120%;
  }

  form.vsc-form input[type=text]#stamp-card-title {
    font-size: 120% !important;
  }

  form.vsc-form input[type=text]#stamp-card-details {
    font-size: 100% !important;
  }

}

/*--- END MAX WIDTH ELEMENTS - Last level controls (in descending order) --------*/

/*--- START MIN WIDTH ELEMENTS - Last level controls (in ascending order) -------*/
/* Minimum width of 533 pixels. */
@media only screen and (min-width: 533px) {

  /* splash screen (index.html) elements */
  .splash-image {
    margin-bottom: 10%;
  }

}

/* Minimum width of 765 pixels. */
@media only screen and (min-width: 765px) {

  /* search console styling */
  .top-picks-button {
    width: 320px;
    padding-right: 46px;
    text-align: center;
  }

  button#fullsearch {
    width: 320px;
    padding-right: 46px;
    text-align: center;
  }

  button#geosearch {
    width: 320px;
    padding-right: 46px;
    text-align: center;
  }

}


@media only screen and (min-width: 1600px) {
  .section-decoration {}

}


/* Hides content in fullscreen view */
@media all and (display-mode: fullscreen) {
  section#chameleon {
    display: none;
  }

  /* this is used in browser mode only, so hidden here */
  body.splashscreen .cd-main-content {
    /*padding-top:50px;background-position:center bottom 1px;*/
  }

  body.splashscreen header {
    /*height:60px;*/
  }

  p.enter::after {
    -webkit-animation: 2.0s blow 0s linear infinite;
    animation: 2.0s blow 0s linear infinite;
    position: absolute;
    content: '';
    width: 260px;
    height: 50px;
    left: 0;
    top: 0px;
    margin: 0 auto;
    border-radius: 8px;
    z-index: 0;
  }

  .fixed-favourite-button {
    display: inline-block;
    padding: 10px 12px;
    position: fixed;
    right: 8px;
    bottom: 8px;
    width: 72px;
    height: 36px;
    text-decoration: none;
    background: #eeffcc url(../_resources/favourite-icon.png) no-repeat center;
    z-index: 200;
    border: 1px solid var(--black-025);
    box-shadow: 2px 2px 1px 1px var(--black-045);
  }

  #favourite-message {
    display: none;
  }

}

/* Hides content in Android standalone view (fullscreen fallback). Not sure which mode iOS devices use, but Android stipulates standalone in manifest.json, as it provides for visible navigation unlike fullscreen */
@media all and (display-mode: standalone) {
  section#chameleon {
    display: none;
  }

  /* this is used in browser mode only, so hidden here */
  body.splashscreen .cd-main-content {
    /*padding-top:50px;background-position:center bottom 1px;*/
  }

  body.splashscreen header {
    /*height:60px;*/
  }

  p.enter::after {
    -webkit-animation: 2.0s blow 0s linear infinite;
    animation: 2.0s blow 0s linear infinite;
    position: absolute;
    content: '';
    width: 260px;
    height: 50px;
    left: 0;
    top: 0px;
    margin: 0 auto;
    border-radius: 8px;
    z-index: 0;
  }

  .fixed-favourite-button {
    display: inline-block;
    padding: 10px 12px;
    position: fixed;
    right: 8px;
    bottom: 8px;
    width: 72px;
    height: 36px;
    text-decoration: none;
    background: #eeffcc url(../_resources/favourite-icon.png) no-repeat center;
    z-index: 200;
    border: 1px solid var(--black-025);
    box-shadow: 2px 2px 1px 1px var(--black-045);
  }

  #favourite-message {
    display: none;
  }


}