@font-face {
	font-family: 'LogoFont';
	font-display: block;
	src: url(/fonts/EncodeSansCondensed-Bold.ttf);
}

@font-face {
	font-family: 'BodyFont';
	src: url(/fonts/Lato-Regular.ttf);
}

html,body,head,* {
	font-family: 'LogoFont';
	margin: 0;
	padding: 0;
}

html {
	min-height: 400px;
	width: 100%;
}

body {
	height: 100%;
	width: 100%;
	position: fixed;
	top:0;
	left:0;
}

.body_div {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

header {
	flex: 0 0 auto;
}

.header {
	display: flex;
	padding: 10px;
/*	width: 100%;*/
/*	border-bottom: 5px solid #405952;*/
}

.logo {
	flex-grow: 1;
	align-self: center;
}

.logo img {
	width: 300px;
}

.contact {
	flex-grow: 1;
	align-self: start;
	display: flex;
	flex-direction: column;
}

.contact .shorticon {
	display: none;
}

.footer_elements .shorticon {
	display: none;
}

.contact div {
	justify-content: flex-end;
	display: inline-flex;
}

.icon_size {
	width: 45px;
	padding: 5px 0px 0px 15px;
}

.icon_size:hover {
	transform: scale(1.2);
}

.contact a {
	text-decoration: none;
	padding: 2px;
	color: #f54f29;
	font-size: 3rem;
}

.contact a:hover {
	text-decoration: underline;
}

.elstone_gold {
	background-color: #9c9b7a;
}

.elstone_green {
	background-color: #405952;
}

.elstone_red {
	background-color: #f54f29;
}

.footer_position {
	position: absolute;
	bottom: 0px;
	width: 100%;
	color: #fff;
	background-color: #9c9b7a;
	text-shadow: 1px 1px 2px #333;
}

.footer_position h1 {
	font-size: 2rem;
}

.footer_position h3 {
	font-size: 1rem;
}

.image_container {
	display: inline-flex;
	flex-grow: 2;
	align-items: center;
	margin: 5px;
	max-width: 40%;
}

.img_stage {
	position: relative;
	overflow: hidden;
	width: 90%;
	height: 100%;
	background-color: #fff;
	/*border-radius: 8px;
	box-shadow: 0 13px 27px -5px #32325d40,0 8px 16px -8px #0000004d,0 -6px 16px -6px #00000008;*/
}

.img_a {
	position: absolute;

	background-size: contain;
	background-position: 50%;
	background-repeat: no-repeat;

	animation: elstone_image_animation_a 68s linear infinite;

	inset: 0;
	opacity: 0;
	transform: scale(1.2);

	z-index: 0;
}

.img_a:nth-child(1) {
	background-image: url("/img/a_1.jpg");
}

.img_a:nth-child(2) {
	animation-delay: 4s;
	background-image: url("/img/a_2.jpg");
}

.img_a:nth-child(3) {
	animation-delay: 8s;
	background-image: url("/img/a_3.jpg");
}

.img_a:nth-child(4) {
	animation-delay: 12s;
	background-image: url("/img/a_4.jpg");
}

.img_a:nth-child(5) {
	animation-delay: 16s;
	background-image: url("/img/a_5.jpg");
}

.img_a:nth-child(6) {
	animation-delay: 20s;
	background-image: url("/img/a_6.jpg");
}

.img_a:nth-child(7) {
	animation-delay: 24s;
	background-image: url("/img/a_7.jpg");
}

.img_a:nth-child(8) {
	animation-delay: 28s;
	background-image: url("/img/a_8.jpg");
}

.img_a:nth-child(9) {
	animation-delay: 32s;
	background-image: url("/img/a_9.jpg");
}

.img_a:nth-child(10) {
	animation-delay: 36s;
	background-image: url("/img/a_10.jpg");
}

.img_a:nth-child(11) {
	animation-delay: 40s;
	background-image: url("/img/a_11.jpg");
}

.img_a:nth-child(12) {
	animation-delay: 44s;
	background-image: url("/img/a_12.jpg");
}

.img_a:nth-child(13) {
	animation-delay: 48s;
	background-image: url("/img/a_13.jpg");
}

.img_a:nth-child(14) {
	animation-delay: 52s;
	background-image: url("/img/a_14.jpg");
}

.img_a:nth-child(15) {
	animation-delay: 56s;
	background-image: url("/img/a_15.jpg");
}

.img_a:nth-child(16) {
	animation-delay: 60s;
	background-image: url("/img/a_16.jpg");
}

.img_a:nth-child(17) {
	animation-delay: 64s;
	background-image: url("/img/a_17.jpg");
}

.img_b {
	position: absolute;

	background-size: contain ;
	background-position: 50%;
	background-repeat: no-repeat;

	animation: elstone_image_animation_b 92s linear infinite;

	inset: 0;
	opacity: 0;
	transform: scale(1.2);

	z-index: 0;
}

.img_b:nth-child(1) {
	background-image: url("/img/b_1.jpg");
}

.img_b:nth-child(2) {
	animation-delay: 4s;
	background-image: url("/img/b_2.jpg");
}

.img_b:nth-child(3) {
	animation-delay: 8s;
	background-image: url("/img/b_3.jpg");
}

.img_b:nth-child(4) {
	animation-delay: 12s;
	background-image: url("/img/b_4.jpg");
}

.img_b:nth-child(5) {
	animation-delay: 16s;
	background-image: url("/img/b_5.jpg");
}

.img_b:nth-child(6) {
	animation-delay: 20s;
	background-image: url("/img/b_6.jpg");
}

.img_b:nth-child(7) {
	animation-delay: 24s;
	background-image: url("/img/b_7.jpg");
}

.img_b:nth-child(8) {
	animation-delay: 28s;
	background-image: url("/img/b_8.jpg");
}

.img_b:nth-child(9) {
	animation-delay: 32s;
	background-image: url("/img/b_9.jpg");
}

.img_b:nth-child(10) {
	animation-delay: 36s;
	background-image: url("/img/b_10.jpg");
}

.img_b:nth-child(11) {
	animation-delay: 40s;
	background-image: url("/img/b_11.jpg");
}

.img_b:nth-child(12) {
	animation-delay: 44s;
	background-image: url("/img/b_12.jpg");
}

.img_b:nth-child(13) {
	animation-delay: 48s;
	background-image: url("/img/b_13.jpg");
}

.img_b:nth-child(14) {
	animation-delay: 52s;
	background-image: url("/img/b_14.jpg");
}

.img_b:nth-child(15) {
	animation-delay: 56s;
	background-image: url("/img/b_15.jpg");
}

.img_b:nth-child(16) {
	animation-delay: 60s;
	background-image: url("/img/b_16.jpg");
}

.img_b:nth-child(17) {
	animation-delay: 64s;
	background-image: url("/img/b_17.jpg");
}

.img_b:nth-child(18) {
	animation-delay: 68s;
	background-image: url("/img/b_18.jpg");
}

.img_b:nth-child(19) {
	animation-delay: 72s;
	background-image: url("/img/b_19.jpg");
}

.img_b:nth-child(20) {
	animation-delay: 76s;
	background-image: url("/img/b_20.jpg");
}

.img_b:nth-child(21) {
	animation-delay: 80s;
	background-image: url("/img/b_21.jpg");
}

.img_b:nth-child(22) {
	animation-delay: 84s;
	background-image: url("/img/b_22.jpg");
}

.img_b:nth-child(23) {
	animation-delay: 88s;
	background-image: url("/img/b_23.jpg");
}

@keyframes elstone_image_animation_a {
	3% {
		opacity: 1;
	}

	6.5% {
		opacity: .9;
		transform: scale(1.0);
	}

	8.0% {
		opacity: 0;
	}
}

@keyframes elstone_image_animation_b {
	1% {
		opacity: 1;
	}

	4.5% {
		opacity: .9;
		transform: scale(1.0);
	}

	5.5% {
		opacity: 0;
	}
}

.footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.footer_elements {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 10px;
}

.show_piece {
	display: inline-flex;
	flex-direction: row;
	flex: 5 0 content;
	justify-content: space-around;
/*	align-items: stretch;*/
/*	padding: 0px 10px;*/
}

.cta_strip {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	flex: 1 0 fit-content;
	align-items: center;
	z-index: 2;
}

.home_page_image_holders {
	width: 50%;
	height: 100%;
	display: flex;
	margin: 10px;
}

.home_page_centre {
  display: flex;
  flex-direction: column;
  flex: 1 0 fit-content;
	height: 100%;
}

.clear_footer {
	height: 80px;
	flex: 0 0 auto;
/*	z-index: 10;
	background-color: red;*/
}

.menu_icon {
	position: absolute;
	right: 20px;
	bottom: 60px;
	cursor: pointer;
	z-index: 1;
	padding: 0px;
}

.menu_icon img:hover {
	transform: scale(1.1);
}

.align_left {
	justify-content: start;
	text-align: left;
}

.align_right {
  justify-content: end;
  text-align: right;
}

.headline {
	display: flex;
	justify-content: center;
	font-size: 1.0rem;
	background-color: #405952;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	padding: 1rem;
/*	margin:  2.0rem 0 0 0;*/
}

.headline h2 {
	text-align: center;
	font-size: 3rem;
}

.button {
	padding: 10px;
	display: inline-flex;
}

.button a {
	display: inline-flex;
	flex-direction: column;
	box-shadow:	inset 1px 1px 2px 0px #506060, 2px 2px 3px 0px #333 ;
	background:linear-gradient(to bottom, #405952 5%, #304942 100%);
	background-color:#405952;
	border-radius:10px;
	border:1px solid #506962;
	cursor:pointer;
	color:#ffffff;
	font-family: LogoFont;
	font-size:2rem;
	padding:5px 25px;
	text-decoration: none;
	text-align: center;
	text-shadow:2px 2px 3px #333;
}

.button a span {
	font-size: 1.5rem;
}

.button a:hover {
	background:linear-gradient(to bottom, #304942 5%, #405952 100%);
	background-color:#405952;
	text-decoration: underline;
}

.button a:active {
	position:relative;
	top:1px;
}


.scrolling_content p {
	padding: 10px;
}

.scrolling_content {
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	font-size: 1.5rem;
	align-self: center;
	width: 100%;
}

.scrolling_content td {
	padding: 1rem;
}

.scrolling_content .body_font {
	font-family: 'BodyFont', Arial;
	font-size: 1.5rem;
}

.content_container {
	display: flex;
	flex-direction: column;
	width: 80%;
	align-self: center;
	min-width: 300px;
}

.content_title p {
	font-family: 'BodyFont';
	font-size: 1rem;
	text-align: center;
	margin: 1rem;
}

.content_title h1 {
	text-align: center;
	font-family: 'LogoFont';
}

.content_title span {
	font-family: 'LogoFont';
}


/*<div class="button">
  SIGNUP
  <div></div>
  <i class="fa fa-arrow-right"></i>'
</div>
*/

.scrolling_content td[colspan="2"] {
	text-align: center;
}


/* Scroll bar customisations, width than default for ease of use */
::-webkit-scrollbar {
  width: 2rem;
}

::-webkit-scrollbar-thumb {
  background-color: #405952;
  border: 2px solid white;
}

::-webkit-scrollbar-track {
  background-color: #9c9b7a;
  border: 2px solid white;
}

/* Buttons */
::-webkit-scrollbar-button:single-button {
  background-color: #fff;
  display: block;
  border-style: solid;
  height: 1rem;
  width: 1rem;
}

/* Up */
::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-width: 0 1rem 1rem 1rem;
  border-color: transparent transparent #f54f29 transparent;
  width: 1rem;
  height: 2rem;
}
::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
  border-color: transparent transparent #e1320a transparent;
}

/* Down */
::-webkit-scrollbar-button:single-button:vertical:increment {
  width: 1rem;
  height: 2rem;
  border-style: solid;
  border-width: 1rem 1rem 0 1rem;
  line-height: 0px;
  border-color: #f54f29 transparent transparent transparent;
}
::-webkit-scrollbar-button:vertical:single-button:increment:hover {
  border-color: #e1320a transparent transparent transparent;
  /* border-width: 2px; */
}

.menu_icon {
	z-index: 3;
	right: 25px;
}

.menu_container {
  display: flex;
  flex-direction: row;
}

.menu_container > nav:before {
	content: " ";
	background-color: #405952;
	width: 5px;
	flex: 1 1 auto;
	max-width: 30px;
}

.menu_container > nav {
	border-radius: 10px;
	background-color: #9c9b7a;
	position: absolute;
	bottom: 49px;
	right: 10px;
	z-index: 2;
	border: 5px solid #405952;
	box-shadow: 2px 2px 3px #000;
	display: flex;
	width: 265px;
}

.menu_container > nav> h3 {
  position: absolute;
  right: 0px;
  color: #fff;
  left: 30px;
  padding: 10px 0px;
  text-align: center;
	text-transform: uppercase;
	font-size: 1.5rem;
}

.menu_nav {
	padding: 40px 5px 70px 30px;
}



.menu_nav > li {
  list-style-type: disclosure-closed;
  padding: 5px;
  color: #fff;
}

.menu_nav > li > a,
.menu_nav > li > a:visited {
  font-size: 1.2rem;
  color: #fff;
  line-height: 2rem;
  font-family: BodyFont;
  text-decoration: none;
}

.menu_nav a:hover, 
.menu_nav a:active, 
.menu_nav a:focus {
	font-size: 1.3rem;
	text-shadow: 2px 2px #405952;
}


.shimmer {
	color: grey;
	display:inline-block;
	-webkit-mask:linear-gradient(-60deg,#000 30%,#0005,#000 70%) right/400% 100%;
	background-repeat: no-repeat;
	animation: shimmer 10s infinite;
	font-size: 50px;
	max-width:200px;
}
@keyframes shimmer {
	0%	 {transform: scale(1)}
	5%	 {transform: scale(1.1)}
	10%	 {-webkit-mask-position:left; transform: scale(1)}
	100% {-webkit-mask-position:left}
}

/* Widths accounted for: ;
	Nintendo 3DS		=	320 (main app) - Ouch, a whole new type of narrow!
	Samsung A40 		= 360x648 (Mobile - Portrait)
	Samsung A40 		= 704x280 (Mobile - Landscape)
	Samsung A40 		= 980x1764 (Desktop Mode)
	Amazon Fire 7 	= 600 (Portrait)
	Amazon Fire 7 	= 1024 (Landscape)
*/

@media screen and (max-width: 780px) {

	.headline, .headline h2 {
		font-size: 1.2rem;
	}
	
	.logo img {
		width: 200px;
	}

	.icon_size {
		padding: 0px;
	}
	.longtext {
		display: none !important;
	}

	.shorticon {
		display: initial !important;
	}

	/*.home_page_centre {
		margin-bottom: 150px;
	}
*/
	.social_media {
		flex-direction: row;
		flex-wrap: wrap;
	}

	footer h3 {
		font-size: 1rem;
		text-transform: capitalize;
		font-family: 'BodyFont';
	}

	.contact div a {
		padding: 0;
	}

	.footer_elements div {
		font-size: 0.8rem;
	}

	.footer_elements div h1 {
		font-size: 1rem;
		font-family: 'LogoFont';
	}

	.button a {
		font-size: 1.2rem;
	}

	.button a span {
		font-size: 0.9rem;
	}

	.home_page_centre {
/*		margin-bottom: 100px;*/
	}

	.clear_footer {
		height: 101px;
		clear: both;
	}

	.image_container {
		max-width: 50%;
	}

	.footer_position h1 {
		font-size: 1.2rem !important;
	}

	.footer_position h3 {
		font-size: 1rem !important;
	}

}

@media screen and (max-width: 380px) {

	.header {
		padding: 10px 10px 0 10px;
	}

	.icon_size {
		width: 40px;
		padding: 5px;
	}

	.logo img {
		width: 180px;
	}


	.headline, .headline h2 {
		font-size: 1.5rem;
	}

	.button a {
		font-size: 1.2rem;
		padding:5px 15px;
	}

	.button a span {
		font-size: 0.8rem;
	}

}

.hidden {
	display: none;
}