@charset "utf-8";
/* CSS Document */

*{
	box-sizing: border-box;
}

/* reset format to base*/
html, body, div, span, h1, h2, p, a, ul, li, footer, header, section{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
a {
    color: #336699;
	text-decoration: underline;
}



body{
	font-family: Helvetica, SimHei, Arial, sans-serif;
	font-size: 16px;
	line-height: 150%;
	color: #666;
}

.container{
	max-width: 800px;
	padding: 10px;
	margin:0 auto;
}

#header{
	background-color: #FFFFFF;
	padding: 10px 0;
	text-align: center
}
#header .container{
	display: flex;
	justify-content: center;
}

#header .logo{
	justify-content: center;
	margin-top: 10px;
	width: 80%;
}

#main{}

#banner{
	height: 350px;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}

#banner .box{
	width: 100%;
	height: 300px;
	background-color: rgba(0, 0, 0, 0.2);
	position: relative;
}
/* #banner{
	height: 450px;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
} */

/* #banner .box{
	width: 100%;
	height: 300px;
	background-color: rgba(0, 0, 0, 0.2);
	position: relative;
} */

#banner .heading{
	text-shadow: 2px 2px 6px #333333;
	width: 800px;
	padding: 0px 10px;
	position: absolute;
}

#banner .header{
	color:#FFF;
	font-size: 36px;
	font-weight: bold;
}

#banner .subhead{
	color:#FFF;
	font-size: 21px;
	font-weight: normal;
}

#banner .address{
	color:#FFF;
	font-size: 16px;
	font-weight: bold;
}

/*introduction message*/
.message{}

.message .container{
	padding: 20px 10px;
}

.message ul, li{
	list-style-type: disc;
	margin: 0 0 0 20px;
	background-color: #ffffff;
	font-weight: bold;
	color: #1D4F91;
	padding: 5px 0px
}

.message a{
	color: #41b6e6;
}

.message h2{
	color:#1D4F91;
	font-size: 21px;
	font-weight: bold;
	line-height: 150%;
	text-align: center;
}




/*trademark clause*/
#footer{
	text-align: center;
	background-color: #EEE;
	color:#999;
	font-size: 10px;
	line-height: 12px;
	padding: 10px 0;
	width: 100%;
	position: fixed;
	bottom: 0;
}

/*submit button*/
.button{
	width: 160px;
	height: 30px;
	background-color: #41b6e6;
	border: none;
	border-radius: 15px;
	
	text-align: center;
	color: #FFF;
	font-size: 16px;
	font-weight: bold;
	
	-webkit-appearance: none;  /* Safari 和 Chrome，常用於iOS下移除內建樣式 */
    -moz-appearance: none;     /* FireFox */
    appearance: none;
}

/* default */

.event-info {
  text-align: center;
  vertical-align: top;
}

.event-location {
	color:#666;
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
}


.event-location1 {
	color:#E97132;
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
}

.event-location2 {
	/*color:#0F9ED5;*/
	color:#00008B; /* dark blue */
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
}

.event-location3 {
	color:#4EA72E;
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
}

.event-location4 {
	color:#A02B93;
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
}

.training-fee {
	color:rgb(160,43,147);
	font-size: 19px;
	line-height: 23px;
	font-weight: bold;
}

.training-time {
	font-size: 18px;
	line-height: 22px;
	font-weight: bold;
}

.training-content {
	font-size: 18px;
	line-height: 22px;
	font-weight: bold;
}

.training-demo {
	font-size: 18px;
	line-height: 22px;
	font-weight: bold;
	color:rgb(15,158,213);
}

.training-demo-details {
	font-weight: bold;
}

.training-demo-details-desc {
	font-weight: bold;
	text-align:left;
	vertical-align: top;
	padding: 10 0 10 0;
}

.gift-image {
 max-width: 200px;
}

.gift-image-participation {
 max-width: 200px;
}

.md {
	font-size: 18px;
	line-height: 22px;
	font-weight: normal;
	color:rgb(15,158,213);
}

.md-details {
	font-weight: normal;
}

.md-details-desc {
	font-weight: normal;
	text-align:left;
	vertical-align: middle;
	padding: 10 0 10 0;
}

.md-image {
 /* width: 200px; */
 width: 100%;
}


.agenda-title {
	background-color:#2F75B5;
}

.agenda-title > td {
	color: #ffffff;
	padding: 5px 10px 5px 10px;
	font-weight: bold;
	text-align: left;
}

.agenda-divider {
    height: 20px;
}

.agenda-content {
	background-color:#ffffff;
}

.agenda-content > td {
	padding: 5px 10px 5px 10px;
	text-align: left;
	vertical-align: top;
}

.time {
   white-space: nowrap;
   font-weight: bold;
   vertical-align: top;
}

.gray-dark {
  background-color:#BFBFBF;
}

.gray-light {
  background-color:#D9D9D9;
}

.agenda-time {
   text-align:left;
   vertical-align: middle;
   width: 20%;
}

.gift-image {
   max-width: 200px;
}

.gift-image-cell {
  text-align: center;
}	

.gift-desc {
   text-align: center;
   vertical-align: top;
}

.lucky-prize-title {
	color:#0F9ED5;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 50px;
  /*padding: 14px 16px;*/
  transition: 0.3s;
  font-size: 18px;
  font-weight: bold;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #e0e7f3;
}

/* Create an active/current tablink class */
.tab button.active {
  color: #2F75B5;
  border-bottom: 2px solid #2F75B5;
}


#nav-tabs {
  background-color: #FFFFFF;
  color: white;
  padding: 10px;
  position: sticky; /* Make the header sticky */
  top: 0;           /* Stick it to the top of the viewport when scrolled to this position */
  z-index: 100;     /* Ensure the header stays on top of other content */
}


#overview {
   scroll-margin-top: 0px; 
}

#agenda {
   scroll-margin-top: 30px; 
}

#gift {
   scroll-margin-top: 30px; 
}

.event-title {
	font-size: 18px;
	font-weight: bold;
	line-height: 150%;
	text-align: center;
}

.footnote {
	font-size: 14px;
}

.section-heading {
   margin-bottom: 10px;
   font-size: 18px;
   line-height: 22px;
   font-weight: bold;
}

#push {
   height: 80px;
}



.social {
   width: 40px;
   height: 40px;
   margin-left: 5px;
}	

.pay-button {
   font-size: inherit;
}

/* end default */


/* screen 800px */
@media (max-width:800px){
	#banner .heading{
		width: 100%;
	}
	
	.gift-image {
       width:200px;
    }
	
	.gift-image-cell {
     text-align: center;
    }	
	
	/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
 /* padding: 14px 16px;*/
  padding: 14px 44px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: bold;
  

}

.event-title {
	font-size: 16px;
	font-weight: bold;
	line-height: 150%;
	text-align: center;
}

.footnote {
	font-size: 12px;
}


.event-location {
	color:#666;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}


.event-location1 {
	color:#E97132;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}

.event-location2 {
	/*color:#0F9ED5;*/
	color:#00008B; /* dark blue */
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}

.event-location3 {
	color:#4EA72E;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}

.event-location4 {
	color:#A02B93;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}	

}
	
/* screen 560px */	
@media (max-width:560px){
	body,ul,li,a {
		font-size: 14px;
	}

	.container{
		width: 100%;
		padding: 0 10px;
	}
	
    #banner .heading{
	  padding: 0px 15px;
    }
	
	#header .container{
		display: block;
	}

	#header .logo{
		width: 40%;
	}

	.message .container{
	  padding: 10px 10px;
	}
	
	.message ul, li{
	  margin: 0 0 0 10px;
	}
	
	.event-info {
  text-align: center;
  vertical-align: top;
}

.event-location {
	color:#666;
	font-size: 16px;
	line-height: 19px;
	font-weight: bold;
}

.event-location1 {
	color:#E97132;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}

.event-location2 {
	/*color:#0F9ED5;*/
	color:#00008B; /* dark blue */
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}

.event-location3 {
	color:#4EA72E;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}

.event-location4 {
	color:#A02B93;
	font-size: 18px;
	line-height: 21px;
	font-weight: bold;
}	



.training-fee {
	color:rgb(160,43,147);
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
}

.training-time {
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
}

.training-content {
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
}

.training-demo {
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
	color:rgb(15,158,213);
}

.training-demo-details {
	font-weight: bold;
}

.training-demo-details-desc {
	font-weight: bold;
	text-align:left;
	vertical-align: top;
	padding: 10 0 10 0;
}


.gift-image {
  max-width: 100%;
}
	
.gift-image-cell {
  text-align: center;
}	

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  /*padding: 14px 16px;*/
  padding: 14px 26px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: bold;
}

.event-title {
	font-size: 16px;
	font-weight: bold;
	line-height: 150%;
	text-align: center;
}

.footnote {
	font-size: 12px;
}

	#banner {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
 	
	background-image: url('images/main-mobile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

html, body {
    margin: 0;
    padding: 0;
	height: 100vh; /* This is the key for mobile screens */
}



#push {
   height: 80px;
}

.social {
   width: 25px;
   height: 25px;
   margin-left: 3px;
}	

.gift-image-participation {
 max-width: 150px;
}

#banner .header{
	color:#FFF;
	font-size: 32px;
	font-weight: bold;
}

.message h2{
	color:#1D4F91;
	font-size: 19px;
	font-weight: bold;
	line-height: 150%;
	text-align: center;
}

.pay-button {
   font-size: 12px;
}
}



