/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
	box-sizing: border-box;
  }
  /*
	2. Remove default margin
  */
  * {
	margin: 0;
  }
  /*
	3. Allow percentage-based heights in the application
  */
  html, body {
	height: 100%;
	font-family: "LiHei Pro", "微軟正黑體",'Helvetica', sans-serif;
    -webkit-font-smoothing: auto;
  }
  /*
	Typographic tweaks!
	4. Add accessible line-height
	5. Improve text rendering
  */
  body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
  }
  /*
	6. Improve media defaults
  */
  img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
  }
  /*
	7. Remove built-in form typography styles
  */
  input, button, textarea, select {
	font: inherit;
  }
  /*
	8. Avoid text overflows
  */
  p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
  }
  /*
	9. Create a root stacking context
  */
  #root, #__next {
	isolation: isolate;
  }

#preloader{
	color:#FFF;
	padding:20px;			
}
#preloader .preloader-wrapper{
	max-width:500px;
	margin:0 auto;
}
#preloader p{
	text-indent: 20px;
	font-size:12px;
}
#preloader h1{
	text-align: center;
}
#preloader img{
	margin:0 auto;
}
#myModal p{
	margin-bottom:10px;
}
  /* The Modal (background) */
.modal {
	display: flex; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	height:0;
	width:100%;
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	align-items: center;
  	justify-content: center;
	-webkit-transition: all 1.5s ease;
	-moz-transition: all 1.5s ease;
	transition: all 1.5s ease;
}
.modal.open{
	display: flex;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
}

/* Modal Content/Box */
.modal-content {
	background-color: #fefefe;
	margin: 0 auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
	position:relative;
}

/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
position: absolute;
right: 15px;
top: 5px;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.col{
	padding-top: 25px;
	max-height: 47vh;
    overflow-y: auto;
}
@media (min-width: 768px){
	.flex{
		display:flex;
		align-items: top;
	}
	.col{
		width:50%;		
		padding: 10px 25px 25px;
	}
}


body
{
	/* disable long press in iOS? */
	-webkit-touch-callout: none;
}

.mainUI
{
	border: 0px solid pink; 
	position: fixed; 
	top: 0px;  
	width:99%; 
	height:99%; 
	z-index: 1; 
	pointer-events: none; /* allow click-through in transparent areas */
}

.regionUI
{
	border: 0px solid yellow;
	position: absolute; 
	display: flex;
	flex-direction: row;
	pointer-events: none;
}

.buttonUI
{
	border: 0px solid lime;
	display: flex;
	flex-direction: column;
	justify-content: center;
	pointer-events: auto;	
	/* filter: drop-shadow(0px 0px 20px white); */
}

.link-white{
	color:#FFF;
	text-decoration: none;
}

#uiDiv #bottom-left,
#uiDiv #bottom-right{
display:none;
}
body.PC #intro-mobile{
	display:none
}
body.mobile #uiDiv #bottom-left{
	display:block;
}
body.mobile #intro-PC{
	display:none
}
body.mobile .modal-content{
	width:100%;
}
body.PC #tipsModal, body.mobile #tipsModal{
	display:flex;
} 

@media only screen and (max-width : 991px) {
}

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


/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	.d-sm-none{
		display:none
	}
}


