* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #f7f7f7;
	font-family: "微軟正黑體";
}

main {
	display: block;
	width: 520px;
	margin: 0 auto;
	padding-top: 100px;
}

main h1 {
	text-align: center;
}

main h1 img {
	width: 120px;
}

.box {
	width: 100%;
	border-radius: 0px;
	border: 1px solid #f7f7f7;
	overflow: hidden;
	box-shadow: 0px 5px 24px 1px #00000014;
}

.box h2 {
	width: 100%;
	height: 50px;
	line-height: 50px;
	background: #007a9b;
	color: #f7f7f7;
	text-align: center;
	letter-spacing: 1px;
	margin: 0;
}

.content {
	width: 100%;
	padding: 15px 50px;
	margin-top: 10px;
	color: #707070;
}

.inputbox {
	width: 100%;
	margin: 11px; /*for opera 設定第4個input用*/
}

.inputbox p {
	width: 100px;
	float: left;
	margin: 0;
	line-height: 30px;
}

input {
	width: 50%;
	height: 35px;
	padding: 10px;
	border: 1px solid #c8c8c8;
}

.Vcode {
	width: 104px;
	height: 35px;
	float: right;
	background-image: url(../images/numberbg.jpg);
	background-size: cover;
}

.Vcode span {
	display: inline-block;
	width: 25%;
	float: left;
}

.Vcode img {
	width: 100%;
	height: auto;
}

button {
	display: block;
	width: 80px;
	height: 40px;
	color: #f7f7f7;
	font-size: 16px;
	letter-spacing: 1px;
	border: 1px solid #00a3ce;
	background-color: #007a9b;
	margin: 0 auto 30px;
	border-radius: 5px;
	transition: 0.5s;
	cursor: pointer;
}

button:hover, button:focus {
	border: 1px solid #00a7e1;
	background-color: #008aba;
}

/*--------------------------------------------------*/

/* 金流系統 新增RWD */

/*--------------------------------------------------*/
@media (max-width:480px) {
	main {
		width: 100%;
		padding: 10px 10px 0 10px;
	}

	.box {
		width: 90%;
		margin: auto;
	}

	.content {
		padding: 15px 10px 5px 10px;
	}

	.inputbox {
		margin: 0 0 10px 0;
		font-size: 14px;
		justify-content: center;
		display: flex;
	}

	.inputbox p {
		width: 30%;
		line-height: 30px;
	}

	input {
		width: 60%;
		height: 30px;
	}

	button {
		width: 120px;
		margin-left: -60px;
		margin-bottom: 30px;
		left: 50%;
		position: relative;
		margin-top: 45px;
	}

	.Vcode {
		margin: 0px auto 0 7px;
		float: inherit;
		position: absolute;
		top: 360px;
	}

	@media (max-width:320px) {
		.Vcode {
			left: 135px;
		}

		.inputbox p {
			width: 35%;
		}

		input {
			width: 55%;
		}

	}

}
