/* 讓所有元素計算大小的標準以包含框線的大小為基準 */
* {
	/*border: 1px solid red;*/
	box-sizing: border-box;
}
html, body {
	background-color: #031128;
}
html {
	scroll-behavior: smooth;
}
body {
    /* 將瀏覽器預設的留白歸零 */
    margin: 0px;
    /* 使用google字型 */
    font-family: 'Noto Sans TC', sans-serif;
	/* 隱藏超過視窗部分 */
	/*overflow: hidden;*/
	padding: 0px;
}
a {
    text-decoration:none;
}

/* 放置所有內容的容器 */
.container {
	width: 100%;
	height: auto;
    /* margin: 上下 左右; */
    margin: 0 auto;
}

/* 放置所有col的容器 */
.row {
    /* 讓此元素內的第一層元素預設橫向排列 */
    display: flex;
    /* 不要自動縮放，放不下就換行  */
    flex-wrap: wrap;
	justify-content: center;
    align-items: center;
}

.h-100 {
	height: 100vh;
	justify-content: center;
    align-items: center;
}

.mt-30 {
	padding-top: 30%;
}

.mt-30-1 {
	padding-top: 30px;
}

.mt-30-2 {
	padding-top: 30%;
}

.w-50 {
	width: 50%;
}

.dmo1 {
  position: absolute;
  bottom: 160px;
  left: 0%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, 0%);
  transform: translate(0, 0%);
}
.dmo2 {
  position: absolute;
  bottom: 160px;
  left: 0%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, 0%);
  transform: translate(0, 0%);
}
.dmo3 {
  position: absolute;
  bottom: 60px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
/* 底部按鈕 */
a {
	padding-top: 60px;
  }
  a span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	border-left: 3px solid #fff;
	border-bottom: 3px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: sdb 2s infinite;
	animation: sdb 2s infinite;
	opacity: 0;
	box-sizing: border-box;
  }
  a span:nth-of-type(1) {
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
  }
  a span:nth-of-type(2) {
	top: 16px;
	-webkit-animation-delay: .15s;
	animation-delay: .15s;
  }
  a span:nth-of-type(3) {
	top: 32px;
	-webkit-animation-delay: .3s;
	animation-delay: .3s;
  }
  @-webkit-keyframes sdb {
	0% {
	  opacity: 0;
	}
	50% {
	  opacity: 1;
	}
	100% {
	  opacity: 0;
	}
  }
  @keyframes sdb {
	0% {
	  opacity: 0;
	}
	50% {
	  opacity: 1;
	}
	100% {
	  opacity: 0;
	}
  }
  

/* 固定背景 */
.rightside {
	width:50%;
	height: 100vh;
}

.rightimg {
	width:39%;
	height: auto;
	position:fixed;
	z-index:10;
	top:-50px;
	left:0;
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera < 12.1 */
    animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.leftside {
	width: 50%;
    /* 讓此元素內的第一層元素預設橫向排列 */
    display: flex;
    /* 不要自動縮放，放不下就換行  */
    flex-wrap: wrap;
}
.lefttop {
	width:100%;
	height: 30vh;
}
.leftempty {
	width:10%;
}
.leftcontent {
	width: 85%;
}
.leftmv {
	width:100%;
	height: auto;
	text-align: center;
	margin-top: 30px;
}

#section02 img {
	width: 100%;
	margin-bottom: 20px;
	text-align:center;
}

.mvt1 {
	color:#FFF;
	font-size: 1rem;
	line-height: 20%;
	text-align:left;
	margin-left: 10px;
}
.mvt2 {
	color:#FFF;
	font-size: 0.8rem;
	line-height: 20%;
	text-align:left;
	margin-left: 10px;
}

.wfont {
	color: #FFF;
	font-size: 1.5rem;
	line-height: 180%;
	text-align:left;
}
.wfont2 {
	color: #FFF;
	font-size: 1.8rem;
	line-height: 180%;
	text-align:center;
	font-weight: 700;
}

.wfont3 {
	color: #FFF;
	font-size: 12pt;
	line-height: normal;
	text-align:center;
	font-weight: 500;
}

.publish {
	color: #FFF;
	font-size: 1rem;
	line-height: normal;
	text-align:center;
	font-weight: 500;
	/*padding-top: 500px;*/
}

.swfont {
	color: #FFF;
	font-size: 1rem;
	line-height: normal;
	text-align:center;
}

.whr {
	border: 2px solid white;
	text-align:center;
}

.emptyp {
	height:30px;
}

.prizeimg {
	width: 30%;
	margin: 50px 10px;
	text-align:center;
	color:#FFF;
	font-size: 1rem;
	line-height: 180%;
}

.prizeimg img {
	width: 70%;
}

.msgimg
{
	width: 300px;
	height: 200px;
	object-fit: cover;
	padding: 10px 30px 10px 0px;
}

/* 放置所有區塊的容器 */
section {
  position: relative;
  width: 100%;
  /*height: 100vh;*/
	z-index:100;
}

/* 空div */
.emptydiv {
	width: 100%;
	height: 10px;
}

/* RWD IMAGE*/
.responsive {
	max-width: 100%;
	height: auto;
}

/* 留言區 */
.msgblock {
	width: 100%;
	height: 100%;
	text-align:center;
	background: #031128;
}

.mytable {
	width: 50%;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 180%;
	color: #FFF;
	padding-top: 120px;
}

.form-control {
  padding: 10px;
  margin: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  vertical-align:top;
  width: 60%;
}

.myButton {
	background-color:#004E73;
	box-shadow: 0 5px 0 #000;
	border-radius:9px;
	border:0px solid #0075AB;
	display:inline-block;
	cursor:pointer;
	color:#FFF;
	font-weight: 700;
	font-size: 1.8rem;
	padding:16px 31px;
	text-decoration:none;
	transition: all .1s linear;
}

.myButton:active  {
  box-shadow: 0 2px 0 #000;
  transform: translateY(3px);
}

.myButton:active {
	position:relative;
	top:1px;
}

.msgarea {
	overflow-y: scroll; 
	height:100vh;
	width: 70%;
	background: #031128;
	margin: 0 auto;
}

.msgp {
	color: #FFF;
	font-size: 1.5rem;
	text-align: left;
	padding: 5px 10px;
	line-height: 180%;
}

.msgcom {
	color: #FFF;
	font-weight: 700;
}

.msgspan {
	color:#FFF;
}

/* 捲軸樣式 */
::-webkit-scrollbar {
  width: 5px;
  background: #FFF; 
  border-radius: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px grey; 
  border-radius: 5px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #004E73; 
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #008ED2; 
}

/* footer */
.myfooter {
	color:#FFF;
	font-size: 1rem;
	width: 100%;
}

.sicon {
	margin: 10px; font-size: 60px; color: white;
}

/* Responsive Web Design 響應式網頁設計 */
/* CSS -> Media Query  */
/* 寬螢幕版 > 2000 */
/* 手機版 <= 767 */

@media (min-width: 1440px) and (max-width: 1980px) {

	.publish {
		color: #FFF;
		font-size: 1rem;
		line-height: normal;
		text-align:center;
		font-weight: 500;
		/*padding-top: 250px;*/
	}

	.mvt1 {
		color:#FFF;
		font-size: 14pt;
		line-height: normal;
	}
	.mvt2 {
		color:#FFF;
		font-size: 12pt;
		line-height: normal;
	}
	.mt-30-1 {
		padding-top: 50px;
	}
	.mt-30-2 {
		padding-top: 10%;
	}
	.w-50 {
		width: 40%;
	}
	.mytable {
		width: 50%;
		font-size: 1.5rem;
		font-weight: 700;
		line-height: 180%;
		color: #FFF;
		padding-top: 10px;
	}
	.myfooter {
		font-size: 9pt;
	}
	.dmo2 {
	  bottom: 60px;
	}
	.dmo3 {
	  bottom: 30px;
	}
}

/* Responsive Web Design 響應式網頁設計 */
/* CSS -> Media Query  */
/* 寬螢幕版 > 2000 */
/* 手機版 <= 767 */
@media (max-width: 1440px) {
    /* 以下的選擇器只在視窗寬度 <= 767px 有效 */

	.publish {
		color: #FFF;
		font-size: 1rem;
		line-height: normal;
		text-align:center;
		font-weight: 500;
		/*padding-top: 150px;*/
	}

	.mvt1 {
		color:#FFF;
		font-size: 14pt;
		line-height: normal;
	}
	.mvt2 {
		color:#FFF;
		font-size: 12pt;
		line-height: normal;
	}

	.wfont {
		color: #FFF;
		font-size: 1.2rem;
		line-height: 150%;
		text-align:left;
	}
	.wfont2 {
		color: #FFF;
		font-size: 1.2rem;
		line-height: 150%;
		text-align:center;
		font-weight: 700;
	}

	.wfont3 {
		color: #FFF;
		font-size: 12pt;
		line-height: normal;
		text-align:center;
		font-weight: 500;
	}
	.swfont {
		color: #FFF;
		font-size: 12pt;
		line-height: normal;
		text-align:center;
	}
	.mytable {
		width: 50%;
		font-size: 1rem;
		font-weight: 700;
		line-height: normal;
		color: #FFF;
		padding-top: 20px;
	}
	.mt-30 {
		padding-top: 200px;
	}
	.mt-30-1 {
		padding-top: 50px;
	}
	.mt-30-2 {
		padding-top: 60px;
	}
	.prizeimg {
		width: 30%;
		margin: 20px 5px;
		text-align:center;
		color:#FFF;
		font-size: 12pt;
		line-height: normal;
	}

	.prizeimg img {
		width: 60%;
	}
	.dmo1 {
	  bottom: 40px;
	}
	.dmo2 {
	  bottom: 20px;
	}
	.form-control {
	  padding: 5px;
	  margin: 5px;
	  display: inline-block;
	  border: 1px solid #ccc;
	  border-radius: 4px;
	  box-sizing: border-box;
	  vertical-align:top;
	  width: 60%;
	}
	.myButton {
		background-color:#004E73;
		box-shadow: 0 5px 0 #000;
		border-radius:9px;
		border:0px solid #0075AB;
		display:inline-block;
		cursor:pointer;
		color:#FFF;
		font-weight: 700;
		font-size: 1.2rem;
		padding:8px 15px;
		text-decoration:none;
		transition: all .1s linear;
	}

}

/* 標題動畫 */
.tilt-in-top-1 {
	-webkit-animation: tilt-in-top-1 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: tilt-in-top-1 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-5-18 12:40:21
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation tilt-in-top-1
 * ----------------------------------------
 */
@-webkit-keyframes tilt-in-top-1 {
  0% {
    -webkit-transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
            transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) translateY(0) skewY(0deg);
            transform: rotateY(0deg) translateY(0) skewY(0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-top-1 {
  0% {
    -webkit-transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
            transform: rotateY(30deg) translateY(-300px) skewY(-30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) translateY(0) skewY(0deg);
            transform: rotateY(0deg) translateY(0) skewY(0deg);
    opacity: 1;
  }
}

.custom-file-input {
	color: transparent;
  }
  .custom-file-input::-webkit-file-upload-button {
	visibility: hidden;
  }
  .custom-file-input::before {
	content: '請選擇你要上傳的檔案';
	color: black;
	display: inline-block;
	vertical-align:bottom;
	background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
	border: 1px solid #999;
	border-radius: 3px;
	padding: 5px 8px;
	outline: none;
	white-space: nowrap;
	-webkit-user-select: none;
	cursor: pointer;
	text-shadow: 1px 1px #fff;
	font-weight: 700;
	font-size: 16pt;
  }
  .custom-file-input:hover::before {
	border-color: black;
  }
  .custom-file-input:active {
	outline: 0;
  }
  .custom-file-input:active::before {
	background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9); 
  }
