@font-face {
    font-family: 'HK Map Font'; /*a name to be used later*/
    src: url('/fonts/Hong-Kong-Map-Type.otf'); /*URL to font*/
}

html,body {
	padding:  0;
	margin:  0;
	background: #000;
	color:  #fff;
	font-family: 'Nunito', sans-serif;
	overflow: hidden;
	width: 100%;
	height:  100%;;
}

svg {
	stroke-linejoin:  round;
	stroke-linecap:  round;
}

a, a:visited {
	color:  #fff;
	text-decoration: none;
}

.g-header {
	text-align: center;
	padding:  10px 0;
	font-family: 'HK Map Font';
	position: absolute;
	z-index: 10;
	width: 100%;
	opacity: 0.3;
	top: 0;
	font-size: 11px;
}


.g-body {
	position: relative;
	width: 100%;
	height:  100%;
	margin:  0 auto;
	overflow: hidden;
}

@media screen and (min-width: 460px) {
	.g-body {
		border:  1px solid rgba(255,255,255,0.1);
		max-width: 375px;
		max-height: 667px;
	}
}

.g-map {
	position: absolute;
	width:  100%;
	height:  100%;
	top: 0;
	pointer-events: none;
	overflow: hidden;
	transition: opacity 0.5s;
	z-index: 5;
}

.g-map.g-map-behind {
	z-index: 0;
}

.g-map.g-hide, .g-meta.g-hide {
	opacity: 0;
}

.g-map-inner {
	position: absolute;
	width: 100%;
	height:  100%;
	top:  0;
	/*background: rgba(10,0,0,0.8);*/
	overflow: hidden;
	background: linear-gradient(20deg, rgba(0,0,0,0) 20%, rgb(0 0 0 / 60%) 100%);
}

.g-hed-text {
	position: absolute;
	line-height: 1;
	width: 100%;
	top: 58%;
	left: 25%;
}

.g-hed-text .g-text {
	margin-bottom: 0;
	text-align: left;
	transform: scale(1);
}

.g-hed-text .g-text-cn, .g-hed-text .g-text-en {
	line-height: 1.2;
}

.g-map-inner svg {
	overflow: visible;
	stroke-linejoin:  round;
	stroke-linecap:  round;
	padding-top: 20px;
}

.g-map-inner text, .g-meta, .g-text-shadow {
	text-shadow: 0px 0px 3px #000, 0px 0px 5px #000;
}

.g-detailed-map text, .g-map-inner text {
	fill: #fff;
	font-size: 9px;
}

.g-trail-path {
	stroke-width: 2;
	stroke: #ffcc00;
	fill:  none;
}

.g-pts {
	fill:  #000;
	stroke:  #000;
	stroke-width:  3;
}

.g-content-wrap {
	width: 100%;
	height:  100%;
	position: relative;
	z-index: 1;
}

.g-content {
	width: 100%;
	height:  100%;
	position: absolute;
	top:  0;
	left: 0;
	text-align: center;
}

.g-text-cont {
	display: flex;
	justify-content: center;
	align-items: center; 
	height: 100%;
	position: relative;
}

.g-text-cont-inner {
	width: 90%;
	margin:  25px auto;
}

.g-post {
	width: 100vw;
	height:  100vh;
	position: absolute;
	bottom: 0;
	left: 0;
	/*background: #000;*/
	transform: translate(100%, 0);
	background-size:  cover;
	background-repeat: no-repeat;
	background-position: center;
}

@media screen and (min-width:  460px) {
	.g-post {
		width: 375px;
		height:  667px;
	}
}

.g-post:before {
	content:  "";
	display: block;
	background: rgba(0,0,0,0);
	width: 100%;
	height: 100%;
	z-index: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.g-text {
	font-size: 13px;
	text-align: center;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
}

.g-text-inner {
	background: #000;
	display: inline;
	padding:  2px 5px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.g-text-cn {
	line-height: 1.5;
}

.g-text-en {
	line-height: 1.5;
}

#g-post-cover .g-label {
	display: none;
}

.g-nav {
	position: absolute;
	width: 100%;
	height:  100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.g-nav-left, .g-nav-right {
	width: 30%;
	height:  100%;
	position: absolute;
	top:  0;
	left:  0;
	user-select: none;
}

.g-nav-right {
	right:  0;
	left: auto;
}

#ring {
	animation: pulse-ring 0.8s infinite;
}

@keyframes pulse-ring {
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.g-meta {
	position: absolute;
	top:  42px;
	left:  0;
	font-size: 11px;
	width: 100%;
	transition: opacity 0.5s;
	z-index: 5;
}

.g-right {
	text-align: left;
	width: auto;
	display: inline-block;
	margin-right: 0;
	margin-left: auto;
	position: absolute;
	left: 0;
	padding-left: 10px;
}

.g-time, .g-dp {
	position: relative;
	display: inline-block;
}

.g-time {
	display: block;
}

.g-day {
	/*font-size: 12px;*/
}

.g-hour, .g-minute {
	display: inline;
}

.g-hour {
	display: inline-block;
}

.g-day-2 {
	opacity: 0;
}

.g-day-2.g-active {
	opacity: 1;
}

#g-post-cover .g-text-inner {
	background: none;
	color:  rgba(255,255,255,0.9);
	text-shadow: 0px 0px 3px rgba(0,0,0,1), 0px 0px 10px rgba(0,0,0,1);
}

.g-graf {
	display: inline;
}

.g-num, .g-up, .g-down, .g-arr, .g-n {
	display: inline-block;
	position: relative;
}

.g-distance, .g-time {
	font-size: 14px;
	line-height: 1.3;
	margin-bottom: 0;
}


.g-dp {
	/*font-size: 18px;*/
	color:  #ffcc00;
	position: relative;
}

.g-dp-cont, .g-distance {
	font-size: 15px;
}

.g-up .g-n-bg, .g-down .g-n-bg, .g-dp-bg {
	position: absolute;
}

.g-arr {
	font-size: 8px;
	position: absolute;
	top: 1px;
	left: 0;
	font-weight: 700;
}

/* map styles */

.g-detailed-map {
	position: absolute;
	top:  0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
	pointer-events: none;
	transition: opacity 0.5s;
}

.g-detailed-map.g-hide {
	opacity: 0;
}

.g-detailed-map:after {
	content: "";
	display: block;
	position: absolute;
	/*background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 90%, rgba(0,0,0,1) 100%);*/
	width: 100%;
	height:  50%;
	top:  0;	
	left: 0;
}

.g-big-text-cn, .g-big-text-en {
	color:  rgba(255,255,255,0.4);
	/*text-shadow: none;*/
	position: absolute;
	top: 50%;
	width: 100%;
	text-align: center;
	z-index: 100;
}

.g-big-text-cn {
	font-size: 12px;
	letter-spacing: 36px;
	top:  55%;
	left: 5%;
}

.g-big-text-en {
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 4px;
	top: 60%;
}

.g-trail-label {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 10px;
	line-height: 1.2;
}

.g-tl-t_hk {
	top: 70%;
	left: 75%;
}

.g-tl-t_lantau {
	top: 78%;
	left: 10%;
}

.g-tl-t_maclehose {
	top: 51%;
	left: 12%;
}

.g-tl-t_wilson {
	top: 38%;
	left: 50%;
	text-align: right;
}

.g-next-cont, .g-back-cont, .g-video-sound {
	position: absolute;
	width: 30%;
	bottom:  20px;
	right:  20px;
	cursor: pointer;
	text-align: right;
	font-size: 20px;
	line-height: 1.5;
	padding-top: 20%;
	-webkit-tap-highlight-color:  rgba(255, 255, 255, 0);
	font-weight: lighter;
	z-index: 99;

	height: calc(100% - 50px);
	bottom: 0;
	right: 0;
}

.g-next-cont .g-inner, .g-back-cont .g-inner, .g-video-sound .g-inner {
	background: rgba(0,0,0,0.7);
	display: inline;	
	padding:  2px 8px 4px 8px;
	border:  1px solid rgba(255,255,255,0.1);

	position: absolute;
	bottom: 0;
	display: block;
}

.g-back-cont {
	left:  0;
	right:  auto;
	text-align: left;
}

.g-back-cont, .g-next-cont {
	opacity: 0;
	pointer-events: none;
	transition:  opacity 1s;
}

.g-back-cont.g-active, .g-next-cont.g-active {
	opacity: 1;
	pointer-events: auto;
}

.g-nav-button {
	display: inline-block;
	user-select: none;
}

.g-back-step, .g-next-step {
	/*display: none;*/

	position: absolute;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.g-next-step .g-inner, .g-back-step .g-inner {
	bottom:  20px;
}

.g-next-cont .g-next-step .g-inner {
	right: 20px;
}

.g-back-cont .g-back-step .g-inner {
	left: 20px;
}

.g-back-step.g-active, .g-next-step.g-active {
	display: inline-block;
}

.g-video-sound {
  /*background: rgba(0,0,0,0.7);*/
  padding: 0;
  left: 0;
  right: 0;
  bottom: 25px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  width: 100%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.g-video-sound .g-inner {
	padding:  2px 8px 2px 8px;
}

.g-video-sound.g-active {
	opacity: 1;
	pointer-events: auto;
}

.g-video-sound img {
	vertical-align: middle;
	width: 12px;
	display: inline-block;
	margin-top: -2px;
	margin-left: 1px;
}


.g-end-cont {
	padding-top: 20px;
}

#g-post-end:before {
	background: rgba(0,0,0,0.3);
}

.g-end-hed a {
	background: #000;
	color: #ececec;
	text-decoration: none;
	padding:  2px 8px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	line-height: 1.5;
}

.g-related {
	text-align: left;
}

.g-related img {
	width: 200px;
	display: inline-block;
	vertical-align: middle;
}

.g-related-text-box {
	display: inline-block;
	width: calc(100% - 200px);
	vertical-align: middle;
	font-size: 13px;
	color: rgba(255,255,255,0.6);
}

.g-related-hed {
	font-size: 18px;
	margin-bottom: 5px;
}

#g-post-cover .g-title {
	color:  #fff;
	letter-spacing: 5px;
	font-size: 11px;
	margin-bottom: 3px;
	text-shadow: 0px 0px 3px rgba(0,0,0,1), 0px 0px 10px rgba(0,0,0,1);
}

#g-post-cover .g-title-en {
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 9px;
	margin-bottom: 20px;
}

#g-post-cover .g-title-en:after {
	content: "";
	display: block;
	width: 15px;
	height: 1px;
	background: #fff;
	margin:  15px auto;
	box-shadow: 0px 0px 3px rgba(0,0,0,1), 0px 0px 10px rgba(0,0,0,1);
}


#g-post-cover .g-text-cont {
	transform: scale(1) rotate(0deg) translate(0%, -8%);
}

#g-post-cover .g-text-cn {
	max-width: 260px;
	letter-spacing: 10px;
	font-size: 28px;
	margin-bottom: 0;
}

#g-post-cover .g-text-en {
	max-width: 300px;
	font-size: 28px;
}

#g-post-cover .g-text-en .g-text-inner:after {
	/*content: "July 11 / 12, 2022";*/
	display: block;
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 10px;
	text-shadow: 0px 0px 1px rgba(0,0,0,1), 0px 0px 3px rgba(0,0,0,1), 0px 0px 5px rgba(0,0,0,1), 0px 0px 10px rgba(0,0,0,1);
}


#g-post-map2 .g-text-cont {
	transform: scale(1) rotate(0) translate(0%,-30%);	
}

#g-post-map2 .g-text-cn {
	max-width: 320px;
}

#g-post-map2 .g-text-en {
	max-width: 300px;
	line-height: 1.3;
}

#g-post-map2 b {
	font-weight: normal;
	white-space: nowrap;
	color: #ffcc00;
}

#g-post-map .g-text-cont {
	transform: scale(1) rotate(0) translate(0%,-37%);	
}

#g-post-map .g-text-cn {
	max-width: 220px;
}

#g-post-map .g-text-en {
	max-width: 280px;
}

.g-elev-chart {
	position: relative;
	margin:  5px auto;
}

.g-elev-chart svg {
	overflow: visible;
}

.g-elev-chart path {
	fill:  none;
	stroke:  #fff;
}

.g-elev-chart text {
	/*text-shadow: none;*/
	font-size: 6px;
	fill: rgba(255,255,255,0.8);
	letter-spacing: 0.5px;
}

.g-elev-chart text.g-elev-text {
	font-size: 8px;
}

.g-elev-label circle {
	fill: none;
	stroke:  #fff;
	stroke-width:  0.5;
}

.g-elev-chart .g-axis {
	stroke:  rgba(255,255,255,0.3);	
}

.g-elev-chart .g-text-elev-cont {
	/*margin-bottom: -10px;*/
}

.g-elev-chart .g-text {
	font-size: 9px;
	display: inline-block;
	margin-right: 5px;
	vertical-align: middle;
}

.g-elev-chart .g-text-cn {
	font-size: 8px;
}

.g-video-cont {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.g-post video {
	width:  100%;
	height:  100%;
	/*position: absolute;*/
	/*top:  0;*/
	/*left: 0;*/
}

