#tour_statement {
	max-width: 1440px;
	margin: 0 auto;
	visibility: hidden;
	height: 0;
	
}

#tourCanvas {
		position:absolute;
		top:0px;
		bottom:0px;
		left:0px;
		right:0px;
	}
	
	#markerContainer {
		position: absolute;
	}
	
	#controlPane {
		position:absolute;
		z-index: 150;
		top: 20px;
		right: 20px;
		width: 380px;
		background: #e0f2f1;
		border: 1px solid #4db6ac;
	}
	
	#controlPane.withtopbar {
		top: 100px;
	}
	
	#soundControl {
		display:block;
		width: 40px;
		height: 40px;
		background: url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/icons/sound_pause.png) center no-repeat;
		background-size: cover;
		position: absolute;
		line-height: 50px;
		bottom: 6px;
		right: 10px;
		overflow: hidden;
		text-indent: -9000px;
	}
	
	#soundControl.playing {
		background-image:url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/icons/sound_playing.gif);
	}
	
	#floorplan, #floorplan.g {
		background:url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/bg/floor-control-g.png) center no-repeat;
		background-size: contain;
		margin: 10px;
		height: 200px;
		position:relative;
	}
	
	#floorplan.lg {
		background-image:url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/bg/floor-control-lg.png);
	}
	
	#floorplan a.pin {
		background: url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/icons/tour-floor-pin.png) center no-repeat;
		display: block;
		text-indent: -3000px;
		overflow: hidden;
		width:30px;
		height: 30px;
		position:absolute;
	}
	
	#floorplan a.pin.selected {
		/*background-image: url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/icons/tour-floor-pin-selected.png);*/
		background: url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/icons/tour-floor-pin-current.png) 0px 0px no-repeat;
		-webkit-animation: blink .8s steps(1) infinite;
       -moz-animation: blink .8s steps(1) infinite;
        -ms-animation: blink .8s steps(1) infinite;
         -o-animation: blink .8s steps(1) infinite;
            animation: blink .8s steps(1) infinite;
	}
	
	@-webkit-keyframes blink {
		0% { background-position: 0px; }
		25% { background-position: -30px; }
		50% { background-position: -60px; }
     	75% { background-position: -90px; }
		100% { background-position: -120px; }
	}
	
	@-moz-keyframes blink {
		0% { background-position: 0px; }
		25% { background-position: -30px; }
		50% { background-position: -60px; }
     	75% { background-position: -90px; }
		100% { background-position: -120px; }
	}
	
	@-ms-keyframes blink {
		0% { background-position: 0px; }
		25% { background-position: -30px; }
		50% { background-position: -60px; }
     	75% { background-position: -90px; }
		100% { background-position: -120px; }
	}
	
	@-o-keyframes blink {
		0% { background-position: 0px; }
		25% { background-position: -30px; }
		50% { background-position: -60px; }
     	75% { background-position: -90px; }
		100% { background-position: -120px; }
	}
	
	@keyframes blink {
		0% { background-position: 0px; }
		25% { background-position: -30px; }
		50% { background-position: -60px; }
     	75% { background-position: -90px; }
		100% { background-position: -120px; }
	}
	
	#floorplan a.pin.hide {
		display:none;
	}
	
	#entrance {
		top: 45%;
		right: 10%;
	}
	
	#zone-a {
		top: 50%;
		right: 22%;
	}
	
	#zone-b {
		top: 70%;
		right: 36%;
	}
	
	#zone-c {
		top: 35%;
		left: 45%;
	}
	
	#zone-d {
		top: 24%;
		left: 16%;
	}
	
	#zone-e {
		top: 44%;
		right: 38%;
	}
	
	#zone-f {
		top: 58%;
		left: 30%;
	}
	
	#zone-g {
		top: 60%;
		right: 22%;
	}
	
	#stairway-1 {
		top: 10%;
		left: 32%;
	}
	
	#stairway-2 {
		top: 12%;
		left: 16%;
	}
	
	#floor-toggle-container {
		position:absolute;
		top:10px;
		right:10px;
	}
	
	#floor-toggle-container a.floor-toggle {
		background: #f8bbd0;
		/*color:#ec407a;*/ 
		color:#BD3364;
		border:1px solid #ec407a;
		display: block;
		width: 40px;
		height: 40px;
		line-height: 40px;
		text-align: center;
		margin-bottom: 5px;
		font-size: 1.3em;
	}
	
	#floor-toggle-container a.floor-toggle.selected {
		background: #ec407a;
		/*color:#f8bbd0;*/
		color:#FFE1F0;
		border:1px solid transparent;
	}
	
	#marker-controller {
		padding: 10px 0px;
		border-top: 1px solid #b0bec5;
		margin: 0px 20px;
	}
	
	#marker-controller label {
		padding-left: 10px;
		color: #1b1b1b;
		display: inline-block;
		height: 32px;
		line-height: 32px;
		vertical-align: top;
	}
	
	
	
	
	#infoPane {
		display:none;
		position:absolute;
		z-index:100;
		bottom:0px;
		right:0px;
		width:200px;
		height:200px;
		background:rgba(255,255,255,.8);
		color:#000;
	}
	#infoPane.debug {
		display: block;
	}
	
	#infoPane span {
			display:block;
	}
	
	.marker {
		position:absolute;
		z-index:100;
		background:rgba(0,0,0,.5);
		width: 200px;
		height: 100px;
		left: 600px;
		top: 200px;
		border: 4px solid #FFF;
		-webkit-box-shadow: 0px 0px 10px 4px rgba(50, 50, 50, 0.7);
		-moz-box-shadow: 0px 0px 10px 4px rgba(50, 50, 50, 0.7);
		box-shadow: 0px 0px 10px 4px rgba(50, 50, 50, 0.7);

	}
	
	#markerOverlay {
		visibility: hidden;
		opacity: 0;
		background: url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/bg/mkdetailoverlay.png) repeat;
		position: absolute;
		z-index: 180;
		top: 0px;
		bottom: 0px;
		left: 80px;
		right: 0px;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		transition: all 0.3s;
	}
	
	#markerOverlay.opened {
		visibility: visible;
		opacity: 1;
	}
	
	#markerPopup {
		position: absolute;
		max-height: 80%;
		
		
		top: 50%;
		left: 50%;
		width: 80%;
		overflow: auto;
		box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
		-webkit-transform: translateX(-50%) translateY(-50%);
		-moz-transform: translateX(-50%) translateY(-50%);
		-ms-transform: translateX(-50%) translateY(-50%);
		transform: translateX(-50%) translateY(-50%);
	}
	
	#contentPane {
		padding: 3em 3em 4em;
		overflow: hidden;
		background: #FFF;
		box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
		visibility: hidden;
		-webkit-transform: scale(2);
		-moz-transform: scale(2);
		-ms-transform: scale(2);
		transform: scale(2);
		opacity: 0;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		transition: all 0.3s;
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		backface-visibility: hidden;
	}
	
	#markerOverlay.opened #contentPane {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
		opacity: 1;
		visibility: visible;
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		backface-visibility: hidden;
	}
	
	.close-btn {
		position: absolute;
		display: inline-block;
		width: 40px;
		height: 40px;
		background: url(/20201208162818oe_/https://www.cuhk.edu.hk/ugallery/images/icons/close-btn-icon.png) center no-repeat;
		right: 1em;
		top: 1em;
		text-indent: -3000px;
		overflow:hidden;
	}
	
	#infoList {
		overflow-x: hidden;
		overflow-y: auto;
		height: 100%;
		text-align: center;
		color:#1b1b1b;
	}
	
	#contentPane h2 {
		padding: 0px 1em .5em 0px;
		border-bottom: 1px solid #cfd8dc;
		margin-bottom: .6em;
		color: #607d8b;
	}
	
	#contentPane img {
		margin-bottom: 1em;
		max-width: 100%;
		display: block;
		margin: 0 auto 1em auto;
	}
	
	#contentPane p {
		margin: 0px 1em 1em;
		font-size: 1.2em;
		line-height: 1.4em;
		text-align: justify;
	}
	
	#contentPane ul {
		text-align: left;
		font-size: 1.4em;
		padding: 0px 1em 1em;
		list-style: none;
	}
	
	#contentPane li {
		margin-bottom: .5em;
		border-left: 6px solid #80deea;
		padding-left: .5em;
	}
	
	#contentPane li a {
		color: #00838f;
	}
	
	#contentPane li a:hover {
		color: #ff8f00;
	}
	
	#contentPane a.btn {
		display: inline-block;
		font-size: 2em;
		font-weight: bold;
		padding: .3em .6em;
		margin-bottom:3px; 
		border: 1px solid #ffb300;
		border-radius: .3em;
		color: #e65100;
		transition:all .5s linear;
	}
	
	#contentPane a.btn:hover {
		border: 1px solid #ff8a65;
		background: #ffcc80;
		color: #bf360c;
		transition:all .5s linear;
	}
	
	#topbar.tour  {
		font-size: 1.3rem;
	}
	
	#topbar.tour a {
		font-size: 1.3rem;
		padding-left: 0px;
		padding-right: 0px;
		font-family: 'Droid Sans', sans-serif;
	}
	
	.sr-only {
	  position: absolute;
	  width: 1px;
	  height: 1px;
	  margin: -1px;
	  padding: 0;
	  overflow: hidden;
	  clip: rect(0, 0, 0, 0);
	  border: 0;
	}
	

@media (max-width: 768px) {
	#soundControl {
		top:120px;
		background-color: rgba(255,255,255,.8);
		border: 1px solid #E27BD9;

	}
	#controlPane {
		border:none !important;
	}
	#markerOverlay, #markerContainer, #floorplan, #marker-controller {
		display:none !important;
	}
}
	
@media (min-width: 769px) {
	#tourCanvas {
		left:80px;
	}
}


