/*colours in regiaColours.css*/

/*These are defaults for the logo*/
svg.RegiaAnglorumLogo {
	width:150px;
	height:60px;
}
@media screen and (max-width: 749px) {
	svg.RegiaAnglorumLogo {
		width:100%;
        height:100px;
	}
}
.crown {
	fill:gold;
}
.crownLine {
	fill:black;
}
.crossFill {
	fill:maroon;
}
.crossLine {
	fill:black;
}
.gem {
	fill:red;
}
.cap {
	fill:purple;
}
.letterFill {
	fill:var(--header-link-colour);
}
.letterLine {
	fill:var(--header-link-colour);
}
.background {
	fill:var(--header-colour);
	fill:transparent;
}

* {
	box-sizing: border-box;
}
.clear{
	clear:both;
}
.error {
	color:var(--error-colour);
	font-weight:bold;
}
.errorSummary {
	border: 6px solid;
    padding: 26px 32px;
}
div.success {
	background-color:var(--success-bg-colour);
	color:var(--success-text-colour);
	border:8px solid var(--success-border-colour);
	padding:35px;
	font-weight:bold;
	text-align:center;
}
div.success .successMain {
	font-size:36px;
	padding:0.5em;
}

.largeText {
	font-size:135%;
}
.highlightedText {
	font-weight:bold;
	color:var(--text-colour-highlight);
}
html, body {
	width: 100%;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	min-width:320px;
}
html {
	background-color:var(--header-colour);
    scrollbar-color: var(--scrollbar-colour) var(--secondary-bg-colour);
}
body {
	overflow-x: hidden;
	overflow-y: scroll;
	color:var(--header-text-colour);
	font-size:19px;
	font-family:calibri,helvetica,sans-serif;
}
body.forceWide {
	min-width:950px; /*legacy pages*/
}
.centre,h1,h2{
	text-align:center;
	clear:both;
	width:100%;
}
html.gds .centre,
html.gds h1,
html.gds h2 {
	text-align:left;
	max-width:1000px;
	margin-left:auto;
	margin-right:auto;
}
html.oldfangled {
	font-size:17px;
	font-family:tahoma,helvetica,sans-serif;
}
.contentPage main {
	padding:0 8px;
	color: var(--text-colour);
	max-width: 1000px;
	min-height:50vh;
    margin: 0 auto;
}
body.widePage main{
	max-width:100%;
	padding-left: 1em;
	padding-right: 1em;
}

::-webkit-scrollbar{
	width:28px;
	height:14px;
	box-shadow: inset 0 0 6px var(--primary-bg-colour);
}
::-webkit-scrollbar-thumb{
	background: var(--scrollbar-colour);
	border-radius:.5em;
	box-shadow:inset 2px 2px 2px hsla(0,0%,100%,.25),inset -2px -2px 2px rgba(0,0,0,.25)
}
::-webkit-scrollbar-thumb:hover{
	background: var(--scrollbar-colour-hover);
}
::-webkit-scrollbar-track-piece,
::-webkit-resizer {
    background:var(--scrollbar-colour-track);
}
::-webkit-scrollbar-corner {
	background-color:var(--scrollbar-resize-colour);
}
div.tableContainer {
	overflow-x: auto;
}

table {
	overflow: auto;
    border-spacing: 0;
}

table,th, td {
    border:none;
}

td:not(:first-child),
th:not(:first-child) {
    border-left: 1px solid var(--table-border-colour);
}
td {
    border-top: 1px solid var(--table-border-colour);
}
th, td {
    padding:4px;
}

table, th, td {
    border-spacing:0;
    margin: 6px auto;
}
caption {
	font-weight:bold;
	text-align:left;
}
tr.decommissioned {
	color: var(--text-colour-dull);
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
   /* IE-only styles here. Works for IE10 & IE11*/
	html {
		background-color: var(--header-colour);
		width:100%;
	}
	html {
		background-color: var(--primary-bg-colour);
		width:100%;
	}
	.quicklink {
		display:block!important;
	}
}

header {
	color: var(--header-text-colour);
	background:var(--header-colour);
	padding-top: 15px;
	backdrop-filter: brightness(144%) blur(5px) contrast(86%);
	position: sticky;
	top: 0;
	z-index:10000;
}
html.gds header {
	backdrop-filter: none;
	z-index: 10;
}
@media screen and (max-width: 749px) {
	header {
		top: -129px;
	}
	html.gds header {
		top: -69px;
	}
}
@supports not (display:grid) {
	.footerCopyright img {
		margin:0;
	}
}

.flex {
	display:flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}
div.wideScreen.left{
	background:var(--secondary-bg-color);
	grid-area:left;
}
div.wideScreen.right{
	background:var(--secondary-bg-color);
	grid-area:right;
}
img {
	max-width:100%;
	margin-left:auto;
	margin-right:auto;
	display:block;
}
figure {
	margin:0 0 1em;
	text-align:center;
}
figure img {
	display:inline;
}
figcaption{
	text-align:center;
	color:var(--text-colour-dull);
	font-size:90%;
	padding:0.2em 0;
	margin: 0 auto 0.5em;
}
a, details>summary {
	text-decoration:none;
	color:var(--link-colour);
}
a:hover, details>summary:hover {
	color:var(--link-colour-hover);
}
p {
	margin:1em auto;
}
@media screen and (min-width: 750px)  {
	form.entry,
	.text {
		width:66%;
		margin: 1em 16%;
	}
}
details {
	padding-bottom: 2em;
}
sup{
	vertical-align: baseline;
    position: relative;
    bottom: .33em;
}
nav.mainNavigation .headerLayout {
	display:none;
	
}
nav.sideMenu {
	padding: 15px 5px 5px 10px;
	text-align:center;
}
nav.sideMenu ol,
nav.sideMenu ul {
	list-style:none; 
	padding-left:5px;
}
nav.sideMenu ol li,
nav.sideMenu ul li {
	display:inline;
}
nav.sideMenu ol li a,
nav.sideMenu ul li a {
	padding: 0.1em;
	border: 1px solid;
	border-radius: 5px;
	display: inline-block;
	margin: 5px;
	min-width: 80px;
}
@media screen and (min-width: 450px)  {
	nav.sideMenu {
		float: left;
		max-width: 190px;
		width: 20%;
		padding: 15px 5px 5px 10px;
		min-width: 130px;
	}
    html.gds nav.sideMenu {
		float:right;
        border-top:10px solid #1D70B8;
		text-align:left;
	}

	nav.sideMenu ol,
	nav.sideMenu ul {
		text-align:left;
	}
	nav.sideMenu ol li,
	nav.sideMenu ul li {
		display:block;
	}
	nav.sideMenu ol li a,
	nav.sideMenu ul li a {
		padding: 0.1em;
		border: none;
		display: inline-block;
	}
}
nav.centreMenu {
	text-align:center;
}
html.gds nav.centreMenu {
	text-align:left;
}

nav.centreMenu ol,
nav.centreMenu ul {
	text-align:left;
	display:inline-block;
}
.mobileShow {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.mobileShowInline {
	display:inline;
}
.mobileHide {
	display:none;
}
.quicklink {
	text-align:center;
	display: flex;
	flex-wrap:wrap;
	justify-content:center;
	margin: 8px auto;
}
.quicklink.fourQuicklinks {
	display: grid;
	grid-template-columns: calc(100% - 40px);
    grid-auto-rows: max-content;
}
.quicklink a {
	position:relative;
	letter-spacing: 0.1em;
	padding: 1.5rem 1rem;
	color: var(--button-colour);
	background-color: var(--button-bg-colour);
	backdrop-filter: blur(4px);
	overflow: hidden;
	z-index: 2;
	margin: 12px 20px;
	font-size: 21px;
	overflow: hidden;
	width:100%;
	border-radius:0;
	border:none;
    transition: background-color 0.4s ease-in-out;
	display:flex;
	flex-direction: column;
	justify-items:center;
	align-items: center;
	flex-flow: wrap;
}
.quicklink.fourQuicklinks a {
	margin:12px auto;
}

.quicklink a:before, 
.quicklink a:after {
    position: absolute;
    content: "";
    height: 0%;
    width: 100%;
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
}
.quicklink a:hover {
	backdrop-filter: blur(2.5px);
	background-color: var(--button-bg-colour-hover);
	color: var(--button-colour-hover);
}
.quicklink a:hover:before,
.quicklink a:hover:after {
	width:40%;
	height:80%
}
.quicklink a:nth-child(2n):before, 
.quicklink a:nth-child(2n-1):after {
    left: 0;
    border-left: 2px solid var(--button-border-colour);
}
.quicklink a:nth-child(2n-1):before, 
.quicklink a:nth-child(2n):after {
    right: 0;
    border-right: 2px solid var(--button-border-colour);
}
.quicklink a:before {
    top: 0px;
    border-top: 2px solid var(--button-border-colour);
}
.quicklink a:after {
    bottom: 0px;
    border-bottom: 2px solid var(--button-border-colour);
}
.quicklink a span{
	display: block;
	margin:0 auto;
}
.quicklink a .question {
    letter-spacing: 0;
    padding-bottom: 0.5em;
    font-size: 19px;
    margin-top: -0.5em;
    color: var(--text-colour);
}
.quicklink a:hover .question {
    color: var(--button-colour-hover);
}

html.oldfangled .quicklink a {
	display: inline-block;
	text-align: center;
	padding: 0.4rem;
	border-radius: 25px;
	border: solid 3px;
	font-size: 19px;
	width:100%;
	color:var(--button-colour);
	background-color:var(--button-bg-colour);
	letter-spacing: 0.1em;
}
html.oldfangled .quicklink a:hover {
	color:var(--button-colour-hover);
	background-color:var(--button-bg-colour-hover);
}
html.oldfangled .quicklink a:before,
html.oldfangled .quicklink a:after {
	content:unset;
}
html.gds .quicklink {
	justify-content:left;
	display:block;
  max-width:1000px;
}

html.gds .quicklink a {
	padding: 8px 10px 7px;
	border-bottom: solid 3px #929191;
	font-size: 19px;
	width:auto;
	color:var(--button-colour);
	background-color:var(--button-bg-colour);
	letter-spacing: 0;
	display:block;
	margin: 12px 8px;
}
html.gds .quicklink a:hover {
	color:var(--button-colour-hover);
	background-color:var(--button-bg-colour-hover);
}
html.gds .quicklink a:before,
html.gds .quicklink a:after {
	content:unset;
}
html.gds .gdsStart a{
	font-weight: bold;
	padding-right: 55px;
	position: relative;
}
html.gds .gdsStart a:after{
	content:"";
	position: absolute;
	top: 0;
	right: 16px;
	left: unset;
	margin: auto;
	width: 12px;
	height: 12px;
	border-width: 4px;
	border-style: solid solid none none;
	-sand-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
html.gds .quicklink.fourQuicklinks {
  display: block;
}
html.gds .quicklink.fourQuicklinks a {
  display: block;
  margin: 12px auto 12px 20px;
  width: calc(100% - 40px);
}
@media screen and (min-width:600px) {
  html.gds .quicklink a,
  html.gds .quicklink.fourQuicklinks a {
    max-width: fit-content;
  }
}
.quicklink.arrows{
	justify-content:space-between;
}
.quicklink.arrowRight{
	justify-content:flex-end;
}
.quicklink.arrowLeft{
	justify-content:flex-start;
}
html.oldfangled .arrowRight>a{
	-moz-border-radius: 0 50px 50px 0;
    -khtml-border-radius: 0 50px 50px 0;
    -webkit-border-radius: 0 50px 50px 0;
    -o-border-radius: 0 50px 50px 0;
    border-radius: 0 50px 50px 0;
}
html.oldfangled .arrowLeft>a{
	-moz-border-radius: 50px 0 0 50px;
    -khtml-border-radius: 50px 0 0 50px;
    -webkit-border-radius: 50px 0 0 50px;
    -o-border-radius: 50px 0 0 50px;
    border-radius: 50px 0 0 50px;
}
@media screen and (min-width: 450px)  {
	html.oldfangled .quicklink.fourQuicklinks,
	.quicklink.fourQuicklinks {
		grid-template-columns: repeat(auto-fill, 50%);
	}
	html.oldfangled .quicklink.fourQuicklinks>a,
	.quicklink.fourQuicklinks>a {
		max-width: 98%;
		margin: 12px auto;
	}
	.quicklink a {
		padding: 1.5rem 1rem;
		width:260px;
	}
	html.oldfangled .quicklink a {
		padding: 1rem;
		width:260px;
		border: solid 4px;
	}
}
@media screen and (min-width: 950px)  {
	html.oldfangled .quicklink.fourQuicklinks,
	.quicklink.fourQuicklinks {
		grid-template-columns: repeat(auto-fill, 25%);
	}
}
.toggle {
	width: 100%;
	max-width:1000px;
	text-align: center;
	align-items: center;
	justify-content: center;
	margin: 8px auto;
	font-size:19px;
}
.toggle a {
	position: relative;
	display: inline-block;
	padding: 1rem 3.5rem 1rem;
	width: 300px;
	max-width:100%;
	margin: 12px 10px;
	letter-spacing: 0.1em;
	color: var(--button-colour);
	border-top: 2px solid var(--button-border-colour);
	border-bottom: 2px solid var(--button-border-colour);
	background-color: var(--toggle-bg-colour);
	transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out;
	min-height: 76px;
}
.toggle a:hover {
	background-color: var(--toggle-bg-colour-hover);
}
.toggle a:after {
    transition: left 0.4s ease-in-out, opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
    content:"";
    height:100%;
    display:block;
    position:absolute;
    top:0;
    left: 0;
    width:3rem;
    background-color:var(--toggle-off);
    opacity:0.5;
}
.toggle a:hover {
    backdrop-filter: blur(2.5px);
    color: var(--button-colour-hover);
}
.toggle a.switchedOn:after {
    width:3rem;
    left:calc(100% - 3rem);
    background-color:var(--toggle-on);
}
.toggle a:hover:after {
    opacity:1;
}
.toggle a:before {
    transition: left 0.4s ease-in-out, border-color 0.4s ease-in-out, border 0.4s cubic-bezier(0.73, -1.7, 0, 2.73);
    width:1.5rem;
    height:1.5rem;
    position:absolute;
    border-color:var(--toggle-slider);
	border-style:solid;
    border-width: 0 0 6px 6px;
    content:"";
    transform:rotate(-135deg);
    top:1.3rem;
    left:0;
    z-index:1;    
}
.toggle a:hover:before {
    border-color:var(--toggle-slider);
}
.toggle .offText,
.toggle a.switchedOn .onText {
	display:inline;
}
.toggle .onText,
.toggle a.switchedOn .offText {
	display:none;
}

.toggle a.switchedOn:before {
    width:1.5rem;
    height:1.5rem;
    position:absolute;
    border-width: 6px 6px 0 0;
    content:"";
    transform:rotate(-135deg);
    top:1.3rem;
    left:calc(100% - 2rem);
}
@media screen and (max-width:600px) {
  .toggle:after,
  .toggle {
    transition:none;
  }
  .toggle:before {
    display:none;
  }
  
}

html.gds .toggle a {
  all:unset;
  position: relative;
  display: block;
  max-width: 1000px;
  margin: 20px 0;
  text-align: left;
  padding: 7px 57px;
  box-sizing: border-box;
  width:fit-content;
  cursor:pointer;
}
html.gds .toggle a.switchedOn:before,
html.gds .toggle a:before {
  all: unset;
  content: "";
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--form-input-border-colour);
  background-color: var(--form-input-bg-colour);
}
html.gds .toggle a:after,
html.gds .toggle a.switchedOn:after {
  all: unset;
  top: 11px;
  left: 9px;
  width: 18px;
  height: 7px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border: solid;
  border-width: 0 0 5px 5px;
  border-top-color: transparent;
  border-right-color: transparent;
  background: transparent;
  border-color: var(--form-tick-colour);
  position: absolute;
}
html.gds .toggle a.switchedOn:after {
  content: "";
}
html.gds .toggle a:focus,
html.gds .toggle a:hover {
  background-color:#FFF!important;
}
html.gds .toggle a:focus:before {
  outline:#fd0 solid 3px;
}
html.gds .toggle a span.offText {
  display:inline;
}
html.gds .toggle a.switchedOn span.onText {
  display:none;
}

.AD,
.smallText {
	font-size:80%;
}
figure.floatSide {
	width: 80%;
	margin: 1em auto;
}

@media screen and (min-width: 750px)  {
	figure.floatSide {
		width:295px;
		max-width:30%
	}
	figure.floatSide.floatRight img,
	figure.floatSide.floatRight figcaption {
		width: 100%;
		min-width: min(24vw,400px);
	}	
	.floatLeft {
		float:left;
		padding-right:5px;
	}
	.floatRight {
		float:right;
		padding-left:5px;
	}
	.mobileHide.mobileHideTable {
		display:table-cell;
	}
	.mobileHide {
		display:initial;
		margin-left:auto;
		margin-right:auto;
	}
	.mobileShow {
		display:none;
	}
	.mobileShowInline {
		display:none;
	}
}

nav.mainNavigation .headerLayout {
	display:block;
}
@media screen and (max-width: 1000px)  {
	nav.mainNavigation .headerLayout {
		padding: 0 5px;
	}
}
nav.mainNavigation .mobileText {
	display:none;
}
nav.mainNavigation {
	grid-area: nav;
	max-width:1000px;
	margin-left: auto;
	margin-right: auto;
	width:100%;
}
nav.mainNavigation>.headerLayout {
	display:grid;
	justify-items:center;
	grid-template-areas: "navL" "navR";
	grid-template-columns: auto;
	text-align:center;
}
@media screen and (min-width: 750px)  {
	nav.mainNavigation>.headerLayout {
		grid-template-areas: "navL navC navR";
		grid-template-columns: auto 1fr auto ;
	}
}

nav.mainNavigation>.headerLayout>ul {
	list-style:none;
	padding-left:0;
	text-align: center;
	display:inline-block;
}
nav.mainNavigation>.headerLayout>ul>li {
	padding:2px 10px;
	display:inline-block;
	margin-top:21px;
}
nav.mainNavigation>.headerLayout a {
	color: var(--header-link-colour);
	text-decoration:none;
	font-weight:bold;
}
nav.mainNavigation>.headerLayout a:hover{
	color: var(--header-link-colour-hover);
}
nav.mainNavigation>.headerLayout a:hover .letterFill,
nav.mainNavigation>.headerLayout a:hover .letterLine{
	fill: var(--header-link-colour-hover);
}
nav.mainNavigation>.headerLayout>a.navLeft{
	grid-area:navL;
}
nav.mainNavigation>.headerLayout>ul.navRight{
	grid-area:navR;
	font-size:19px;
}
nav.mainNavigation>.headerLayout>ul.navRight{
	margin-top:0;
}
footer {
	border-top: 1px solid var(--footer-border-colour);
				   
	background: linear-gradient(var(--footer-colour),var(--footer-colour-transparent));
    min-height: 100px;
    padding: 50px 20px 0px;
    color: var(--footer-text-colour);
	text-align:left;
					
    margin-top: 10px;
					 
}
@supports (backdrop-filter: brightness(144%) blur(4px) contrast(86%)) {
	header {
		background:var(--header-colour-transparent);
	}
}
.footerContainer {
	grid-template-areas: "footerLeft" "footerRight";
    display: grid;
	max-width: 1000px;
	margin: 0 auto;
	padding-bottom:1em;
}
@media screen and (min-width: 750px)  {
	.footerContainer {
		grid-template-areas: "footerLeft footerRight";
	}
}

.footerNavigation {
	grid-area: footerLeft;
}
.footerNavigation ul {
	padding:0 3px;
	list-style-type: none;
}
.footerNavigation li {
	padding:0.8em 0;
}
@media screen and (min-width: 750px)  {
	.footerNavigation li {
		display:inline;
	}
	.footerNavigation li:not(:last-child):after {
		content:"|";
		color:var(--footer-link-colour-dull);
	}
	html.gds .footerNavigation li:not(:last-child):after {
		content:"";
		padding: 0.8em;
	}
}
.footerCopyright {
	grid-area: footerRight;
	align-self:end;
	justify-self:center;
	white-space: nowrap;
	color:var(--header-text-colour-dull);
}
@media screen and (min-width: 750px)  {
	.footerCopyright {
		justify-self:right;
	}
}

footer a {
	color: var(--footer-link-colour);
	text-decoration:none;
}
footer a:hover {
	color:var(--footer-link-colour-hover);
}
.footerLinksSecondary li {
	white-space:nowrap;
}
.footerLinksSecondary a {
	color: var(--header-link-colour-dull);
}
.copyrightText {
	text-align:left;
	margin: 1em 0 2em;
}
.footerCopyright .logo {
	max-height: 70px;
	filter: contrast(64%);
}

details>summary {
	cursor:pointer;
	padding-bottom:8px;
}
details>summary:focus {
	outline:none;
}
details>summary+.content {
	padding-left: 25px;
    border-left: solid 3px darkgrey;
	margin: 5px 0px 15px;
}
details>.helpTextSidebar {
	padding: 0.5em 1.2em;
    border-left: 3px solid var(--text-colour-dull);
    margin: -0.2em 0.3em 0;
} 

.obscured {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}
h1 {
	font-size:42px;
}
h2 {
	font-size:32px;
}
h3 {
	font-size:26px;
}
h4 {
	font-size:23px;
}
h5 {
	font-size:20px;
}

h1,h2,h3,h4,h5 {
	padding:0 3px;
}
@media screen and (min-width: 450px)  {
	h1,h2,h3,h4,h5 {
		padding:0
	}
}

.sectionContents {
	padding: 10px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.guideNavBar,
.fauxNav {
	min-width:100px;
	text-align:center;
	margin: 4px 2px;
	padding: 2px;
	border: solid 2px var(--link-colour);
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	margin-bottom:1.8em;
}
.guideNavBar:hover {
	border: 2px solid var(--link-colour-hover);
	color: var(--link-colour-hover)
}
.fauxNav {
	color:var(--link-colour-inactive);
	border-color:var(--link-colour-inactive);
}
.filmPic{
	text-align:center;
}

@media screen and (min-width: 750px)  {
	.filmPic {
		float:left;
		padding-right:5px;
		width:50%;
	}
}
.nextEvent {
	font-weight: bold;
	font-size: 24px;
	padding: 20px;
	text-align: center;
}
html.gds .nextEvent {
	text-align: left;
}
.socialMedia {
	padding: 15px;
}
.socialMedia img {
	display:block;
}
@media screen and (min-width: 750px)  {
	.socialMedia img {
		display:inline;
	}
}

.contactFormImage .officerTitle {
	font-size:1.1em;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loadingSpinner {
	display:inline-block;
	border: 12px solid var(--secondary-bg-colour);
	border-radius: 50%;
	border-top-color: var(--link-colour);
	width: 80px;
	height: 80px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}
.spinnerContainer {
	position:absolute;
	top:40%;
	width:100%;
	text-align:center;
}
.logoPageLogo {
	text-align: center;
}
.logoPageLogo svg {
	width:500px;
	height:201px;
}
.logoPageLogo .letterFill  {
	fill:grey;
}
.logoPageLogo .crownLine {
	fill:grey;
}

.scrollingImage {
	height: 75vh;
}
.titleImage{
	height: 55vh;
}
.titleImage>div{
    clip: rect(0, auto, 55vh, 0);
}
.scrollingImage>div{
    clip: rect(0, auto, 75vh, 0);
}
.titleImage>div,
.scrollingImage>div {
	position:absolute;
	width: 100vw;
    left: 0;
}

.titleImage>div>img,
.scrollingImage>div>img {
	position: fixed;
	top: 0;
	width: 100%;
	object-fit: cover;
	min-height: 100vh;
	left: 50%;
	transform: translate(-50%,0);
    max-width: unset;
}
.scrollingImage>div>img.portrait {
	display:none;
}
@media screen and (orientation:portrait) {
	.scrollingImage>div>img.portrait {
		display:block;
	}
	.scrollingImage>div>img.landscape {
		display:none;
	}
}
.titleImage>div>img {
	min-height: calc(55vh + 85px);
	filter: opacity(45%);
}
.titleImage>div>img.mobile {
	display:none;
}
h1.longPage {
	margin-top:0;
	padding-top:25vh;
	position:relative;
	color:var(--text-colour-highlight);
}
@media screen and (max-width:749px) {
	/*171 is smallest header height in this setup - 85 is half height*/
	.titleImage {
		height: calc(100vh - 171px);
	}
	.titleImage>div {
		clip: rect(0, auto, calc(100vh - 171px), 0);
	}
	.titleImage>div>img {
		min-height: calc(100vh - 85px);
	}
	.titleImage>div>img.desktop {
		display:none;
	}
	.titleImage>div>img.mobile {
		display:block;
	}
}


.fadeIn1 {
	-webkit-animation: fadeIn ease 1s;
	-moz-animation: fadeIn ease 1s;
	-o-animation: fadeIn ease 1s;
	-ms-animation: fadeIn ease 1s;
	animation: fadeIn ease-in-out 1s;
}
.fadeIn3 {
	-webkit-animation: fadeIn ease 3s;
	-moz-animation: fadeIn ease 3s;
	-o-animation: fadeIn ease 3s;
	-ms-animation: fadeIn ease 3s;
	animation: fadeIn ease-in-out 3s;
}
@keyframes fadeIn {
	0% {
	  opacity:0;
	}
	100% {
	  opacity:1;
	}
}

@-moz-keyframes fadeIn,
@-webkit-keyframes fadeIn,
@-o-keyframes fadeIn,
@-ms-keyframes fadeIn {
	0% {
	  opacity:0;
	}
	100% {
	  opacity:1;
	}
}


/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 100; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modalContent {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 80%;
	position:relative;
}

/* Add Animation */
.modalContent, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

body {
	background: linear-gradient(to left bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-1) 0.4em, var(--herringbone-colour-1) 1.02em, var(--herringbone-colour-0) 1.02em) 0 0, 
				linear-gradient(to right top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-1) 0.4em, var(--herringbone-colour-1) 1.02em, var(--herringbone-colour-0) 1.02em) 2em 0, 
				linear-gradient(to left bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-2) 0.4em, var(--herringbone-colour-2) 1.02em, var(--herringbone-colour-0) 0.4em) 0 1.02em, 
				linear-gradient(to right top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-2) 0.4em, var(--herringbone-colour-2) 1.02em, var(--herringbone-colour-0) 0.4em) 2em 1.02em, 
				linear-gradient(to left bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-3) 0.4em, var(--herringbone-colour-3) 1.02em, var(--herringbone-colour-0) 0.4em) 0 2.04em, 
				linear-gradient(to right top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-3) 0.4em, var(--herringbone-colour-3) 1.02em, var(--herringbone-colour-0) 0.4em) 2em 2.04em, 
				linear-gradient(to left bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-4) 0.4em, var(--herringbone-colour-4) 1.02em, var(--herringbone-colour-0) 0.4em) 0 3.06em, 
				linear-gradient(to right top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-4) 0.4em, var(--herringbone-colour-4) 1.02em, var(--herringbone-colour-0) 0.4em) 2em 3.06em, 
				linear-gradient(to right bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-4) 0.4em, var(--herringbone-colour-4) 1.02em, var(--herringbone-colour-0) 1.02em) 0 0, 
				linear-gradient(to left top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-4) 0.4em, var(--herringbone-colour-4) 1.02em, var(--herringbone-colour-0) 1.02em) 2em 0, 
				linear-gradient(to right bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-1) 0.4em, var(--herringbone-colour-1) 1.02em, var(--herringbone-colour-0) 0.4em) 0 1.02em, 
				linear-gradient(to left top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-1) 0.4em, var(--herringbone-colour-1) 1.02em, var(--herringbone-colour-0) 0.4em) 2em 1.02em, 
				linear-gradient(to right bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-2) 0.4em, var(--herringbone-colour-2) 1.02em, var(--herringbone-colour-0) 0.4em) 0 2.04em, 
				linear-gradient(to left top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-2) 0.4em, var(--herringbone-colour-2) 1.02em, var(--herringbone-colour-0) 0.4em) 2em 2.04em, 
				linear-gradient(to right bottom, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-3) 0.4em, var(--herringbone-colour-3) 1.02em, var(--herringbone-colour-0) 0.4em) 0 3.06em, 
				linear-gradient(to left top, var(--herringbone-colour-0) 0.4em, var(--herringbone-colour-3) 0.4em, var(--herringbone-colour-3) 1.02em, var(--herringbone-colour-0) 0.4em) 2em 3.06em;
	background-size: 4em 4em;
	background-color: var(--herringbone-colour-5);
	background-repeat: repeat;
}


.infoTag {
	background-color: var(--tag-colour);
	padding: 2px;
	font-size: 80%;
	font-weight: bold;
	color:  var(--tag-text-colour);
	position: relative;
	top: -2px;
	border-radius: 3px;
}
html.oldfangled .infoTag {
    border-radius: 5px;
}
html.gds .infoTag {
    border-radius: 0;
    text-transform:uppercase;
    padding: 3px 9px;
    margin-right: 12px;
    letter-spacing: 1px;
    font-size: 17px;
}

@keyframes wobble {
   0% { transform: translateY(0%); } 
   15% { transform: translateY(-25%) rotate(-5deg); } 
   30% { transform: translateY(20%) rotate(3deg); } 
   45% { transform: translateY(-15%) rotate(-3deg); } 
   60% { transform: translateY(10%) rotate(2deg); }
   75% { transform: translateY(-5%) rotate(-1deg); }
   100% { transform: translateY(0%); } 
}

@keyframes arrow-hit {
  from {right: 111%;bottom:45%}
  to {right: -252px;bottom:75%}
}

@keyframes arrow-miss {
  from {right: 111%;bottom:45%}
  to {right: -145px;bottom:76%}
}

@keyframes arrow-drop {
  from {right: -9px;bottom:calc(75% - 44px);rotate: -10deg;}
  to {right: 9px;bottom:-145px;rotate: -180deg;}
}

.flying-arrow {
  display:none;
  width: 135px;
  position: fixed;
  z-index: 1000;
  rotate: -10deg;
}
@media screen and (max-width:749px) {
 	.flying-arrow {
      rotate: -26deg;
  	}
  @keyframes arrow-drop {
    from {right: -9px;bottom:calc(75% - 83px);rotate: -26deg;}
    to {right: 9px;bottom:-145px;rotate: -180deg;}
  }
  @keyframes arrow-hit {
    from {right: 111%;bottom:45%}
    to {right: -248px;bottom:75%}
  }
}

.flying-arrow.drop {
  bottom: -145px;
  right: 9px;
  display:block;
  animation-name: arrow-drop;
  animation-duration: 1.2s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
}

.flying-arrow.hit {
  width: 380px;
  bottom: 75%;
  right: -252px;
  display:block;
  animation-name: arrow-hit, wobble;
  animation-duration: 0.8s, 0.4s;
  animation-iteration-count: 1, 1;
  animation-timing-function: linear, ease-in;
  animation-delay: 0s, 0.8s;
}
@media screen and (max-width:749px) {
  .flying-arrow.hit {
  	right: -252px;
  }
}
.flying-arrow.miss {
  bottom: 76%;
  right: -145px;
  display:block;
  animation-name: arrow-miss;
  animation-duration: 0.8s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
}

.arrow-flights-end {
  display: inline-block;
  border-width: 5px 0px 5px 15px;
  border-style: solid;
  border-color: red transparent;
  margin-right:-5px;
}
.arrow-flights-start {
  display: inline-block;
  border-width: 5px 0px 5px 15px;
  border-style: solid;
  border-color: transparent red;
}
.arrow-shaft {
  width: 100px;
  height: 2px;
  display: inline-block;
  background: #c2704c;
  margin: 4px 0 4px -17px;
}
.arrow-tip {
  border-width: 5px 0 5px 15px;
  border-color: transparent grey;
  border-style: solid;
  display: inline-block;
  margin-left:-5px;
}

		