﻿@charset "utf-8";
/* CSS Document */
body {
	margin: 0;
	font-family: Noto Sans, 思源黑體, 微軟正黑體, Taipei Sans TC Beta, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	letter-spacing: 1px;
	line-height: 30px;
	color: #2f635b;
	background-color: #dadcab;
}

p {
	font-size: large;
}

a {
	word-wrap: break-word;
	text-decoration: none;
	color: #2f635b;
	font-size: large;
}

h1 {
	text-align: center;
	font-size: 3.5em;
	letter-spacing: 0.3em;
	align-items: center;
	margin: 15vh auto;
}

h2 {
	text-align: center;
	font-size: xx-large;
}

h3 {
	text-align: center;
	font-size: x-large;
}

article.menu {
	display: flex;
	position: fixed;
	flex-wrap: wrap;
	top: 0;
	width: 100%;
	height: 80px;
	z-index: 3;
	background-color: #d4ce9e;
}

div.logo {
	display: none;
}

img.logo {
	height: 64px;
}

div.title {
	display: none;
}

div.title_m {
	display: block;
	padding-top: 8px;
}

div.title_m_nav {
	height: 80px;
	padding-top: 8px;
}

.ham {
	width: 3em;
	height: 6px;
	background-color: #9a4042;
	position: absolute;
	margin-top: 28px;
	margin-left: 15px;
	border-radius: 10px;
	right: 10px;
	top: 8px;
}

	.ham::before, .ham::after {
		content: "";
		display: block;
		width: 3em;
		height: 6px;
		background-color: #9a4042;
		position: absolute;
		border-radius: 10px;
	}

	.ham::before {
		bottom: 16px;
	}

	.ham::after {
		top: 16px;
	}

nav .navClose {
	width: 3em;
	height: 6px;
	background-color: rgba(255, 231, 110, 0);
	position: absolute;
	margin-top: 36px;
	margin-left: 15px;
	border-radius: 10px;
	right: 10px;
	top: 0;
}

	nav .navClose::before, nav .navClose::after {
		content: "";
		display: block;
		width: 3em;
		height: 6px;
		background-color: #9a4042;
		position: absolute;
		border-radius: 10px;
	}

	nav .navClose::before {
		transform: rotate(45deg);
	}

	nav .navClose::after {
		transform: rotate(135deg);
	}

#sideNav:target {
	right: 0;
	transition: all, .5s, linear, .5s;
	background-color: #d4ce9e;
}

#sideNav:not(:target) {
	right: -100%;
	transition: all, .5s, linear, .5s;
}

nav#sideNav_B {
	display: none;
}

nav li a {
	height: 40px;
	line-height: 40px;
	color: #9a4042;
	text-decoration: none;
	text-align: center;
	width: 100%;
	font-size: 22px;
}

nav {
	position: fixed;
	top: 0;
	width: 100%;
	right: 0;
	display: inline-grid;
}

	nav ul {
		margin: 0;
		padding: 0;
		font-size: 24px;
	}

		nav ul li {
			margin: .5em;
			text-align: center;
			list-style-type: none;
			margin-block-start: 10px;
		}

	nav div.social_menu {
		display: none;
	}

main {
	padding: 40px 0;
}

article#login, article#news, article#products, article#about {
	padding: 15px 20px;
	margin: 0px auto;
}

article#banner {
	display: none;
	line-height: 0px;
}

article#banner_m {
	display: flex;
	line-height: 0px;
	margin: 80px 0 0 0;
}

div.bannerimg_m, div.bannerimg_m_in {
	position: relative;
	z-index: 1;
}

div.bannerimg_m_in {
	background-image: url("img/bg_m.jpg");
	background-size: cover;
	width: 100%;
	height: 30vh;
}

img.bannerimg_m {
	width: 100%;
}

img.icon {
	height: 40px;
	padding-right: 16px;
	vertical-align: sub;
}

div.newsline, div.product {
	display: inline-block;
	width: 100%;
	padding: 0 0 30px 0;
}

img.newspic, img.productpic {
	width: 100%;
}

div.newspic, div.productpic {
	width: 100%;
	margin: 0 auto;
}

div.newstitle, div.producttitle {
	display: flex;
	width: 100%;
	margin: 0 auto;
	text-align: left;
}

div.newsdate {
	display: flex;
	width: 100%;
	margin: 0 auto;
	font-size: small;
}

div.producttitle {
	display: block;
	text-align: center;
}

form {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 8vh 0;
}

input {
	border: 1px solid #9a4042;
	border-radius: 5px;
	line-height: 2.5em;
	min-width: 30vw;
	margin: 1.5em 0 0.5em 0;
	font-size: 1.5em;
}

	input.logintype {
		width: 80vw;
		background-color: #fefadf;
	}

	input.loginclick, input.click {
		border: 0;
		height: 3em;
		margin: 1.5em 0 1em 0;
		font-weight: bold;
		background-image: linear-gradient(180deg,#db8681 0%,#9a4042 100%);
		color: #fefadf;
	}

	input.click1 {
		border: 0;
		font-size: 1.2em;
		height: 2.4em;
		width: 4em;
		font-weight: bold;
		background-image: linear-gradient(180deg,#db8681 0%,#9a4042 100%);
		color: #fefadf;
	}

div.news_article {
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.50);
	border-radius: 20px;
	box-shadow: rgba(102, 125, 121, 0.60) 6px 9px;
}

img.newspic_article {
	width: 100%;
}

div.newsdate_article {
	width: 100%;
	font-size: medium;
	padding-bottom: 5px;
}

div.newstitle_article {
	width: 100%;
	margin: 0 auto;
	padding-bottom: 20px;
	font-size: x-large;
	font-weight: bold;
}

div.newstxt, div.productdetail {
	font-size: large;
}

	div.newstxt p, div.productdetail p {
		margin: 12px 0;
	}

div.video {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
}

iframe.video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

div.productresup {
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.50);
	border-radius: 5px;
}

div.productresupright {
	display: inline-block;
	width: 100%;
}

div.productrespic {
	text-align: center;
}

div.productrestitle {
	font-size: 22pt;
	width: 100%;
	display: inline-flex;
}

div.productresuprightin, div.productstore, div.productfeatures {
	display: flex;
	max-width: 100%;
	padding-top: 12px;
}

div.productdollers {
	display: flex;
	font-size: x-large;
	width: 50%;
	left: 0;
}

div.producttype {
	display: flex;
	right: 40px;
	position: absolute;
	padding: 2px;
	color: #fefadf;
	height: 20px;
	letter-spacing: 0;
	line-height: 20px;
	margin: auto;
	background-color: #db8681;
	border: 1px solid #9a4042;
	border-radius: 2px;
}

div.productfeatures {
	display: none;
}

div.productbuy {
	margin: 20px auto;
	text-align: center;
}

a.productbuy {
	font-size: large;
	color: #e7fffa;
	background-color: #57a79c;
	border: 1px solid #2f635b;
	border-radius: 5px;
	padding: 10px 5em;
}

form.editpage1 {
	text-align: left;
}

	form.editpage input.edit1, form.editpage1 input.edit1 {
		border: 1px solid #9a4042;
		border-radius: 5px;
		line-height: 2em;
		width: 60%;
		margin: 1.5em 0 0.5em 0;
		font-size: 1em;
	}

form.editpage textarea.edit2 {
	border: 1px solid #9a4042;
	border-radius: 5px;
	line-height: 2em;
	width: 60%;
	height: 20em;
	vertical-align: top;
	font-size: 1em;
}

form.editpage input.edit3 {
	border: 0;
	line-height: 2em;
	width: 60%;
	margin: 1.5em 0 0.5em 0;
	font-size: 1em;
}

form.editpage1 select.edit4 {
	border: 1px solid #9a4042;
	border-radius: 5px;
	line-height: 2em;
	width: 150px;
	height: 2em;
	margin: 0.5em 0 0.5em 0;
	font-size: 1em;
}

form.editpage1 input.edit5 {
	border: 1px solid #9a4042;
	border-radius: 5px;
	line-height: 2em;
	min-width: unset;
	width: 80px;
	margin: 0.5em 0 0.5em 0;
	font-size: 1em;
}

form.editpage1 input.edit6 {
	border: 0;
	line-height: 2em;
	margin: 1.5em 0 0.5em 0;
	font-size: 1em;
}

form.editpage p {
	align-self: baseline;
}

footer {
	background-color: #9a4042;
	padding: 16px 0px 8px;
	color: #edbd99;
	text-align: center;
	padding: 40px 0;
}

/*當視窗大於760px 大網寫這裡*/
@media only screen and (min-width: 760px) {
	article#banner, article#banner_in {
		display: flex;
	}

	article#banner_m, article#banner_m_in {
		display: none;
	}

	article.menu {
		position: inherit;
	}

	div.banner {
		width: 100%;
		display: inline-flex;
	}

	div.bannerimg_in {
		background-image: url("img/bg.jpg");
		background-size: cover;
		width: 100%;
		height: 30vh;
	}

	img.bannerimg {
		width: 100%;
	}

	div.news, div.products {
		text-align: center;
		margin: 0 auto;
	}

	div.newsline, div.product {
		width: 30%;
		padding: 10px 10px 10px 10px;
		vertical-align: text-top;
	}

	img.newspic, img.productpic {
		max-width: 100%;
		margin: 0 auto;
		width: auto;
	}

	img.productpic {
		max-height: 100%;
	}

	img.newspic_article {
		max-width: 1024px;
		width: auto;
	}

	div.newspic_article {
		width: 100%;
		display: inline-block;
		padding-bottom: 20px;
		text-align: center;
	}

	div.productresup {
		display: inline-flex;
		width: 96%;
	}

	div.productresupleft {
		display: inline-block;
		width: 50%;
	}

	div.productresupright {
		width: 50%;
		padding-left: 30px;
	}

	div.productfeatures {
		display: inline-block;
	}

	br.nobr {
		display: none;
	}

	form.editpage1 {
		width: 500px;
		display: block;
		margin: 0 auto;
	}

		form.editpage1 input.edit1 {
			width: 360px;
		}

	input.click1 {
		width: 10em;
	}
}

/*當視窗大於1200px 大網寫這裡*/
@media only screen and (min-width: 1200px) {
	body {
		margin: 90px 0 0;
	}

	.ham {
		display: none;
	}

	nav#sideNav {
		display: none;
	}

	nav#sideNav_B {
		display: inline-flex;
		right: 0;
		flex-direction: row-reverse;
		position: relative
	}

	nav {
		position: fixed;
		display: inline-block;
		height: 70px;
		width: 100%;
	}

		nav ul {
			display: inline-block;
			margin: 0;
			font-size: 20px;
		}

			nav ul li {
				display: inline-block;
				text-align: center;
				width: 5.2em;
				margin: 8px;
			}

				nav ul li a {
					display: inline-block;
					text-align: center;
					padding: .5em 0;
				}

				nav ul li:hover {
					background-color: #fefadf;
					border-bottom: solid 5px #efbd98;
					transition: all 0.2s;
				}

	article#login, article#news, article#products, article#about {
		max-width: 1200px;
	}

	article.menu {
		padding: 10px 0px 0 10px;
		display: flex;
		position: fixed;
		flex-wrap: wrap;
		top: 0;
		width: 100%;
		z-index: 3;
		border-top: none;
	}

	div.menu {
		width: 1200px;
		display: flex;
		margin: 0 auto;
	}

	div.logo {
		display: block;
		float: left;
	}

	img.logo {
		height: 70px;
	}

	div.title {
		display: block;
		padding-top: 2px;
		padding-left: 5px;
	}

	div.title_m {
		display: none;
	}

	div.title_c {
		font-size: 24px;
		height: 28px;
	}

	div.title_e {
		font-size: 14px;
		height: 18px;
	}

	div.bannertitle_big {
		padding-left: 67vw;
		position: absolute;
		z-index: 2;
		font-size: 9vh;
		top: 35vh;
		color: #000000;
	}

	div.bannertitle_small {
		padding-left: 67vw;
		position: absolute;
		z-index: 2;
		font-size: 6vh;
		top: 50vh;
		color: #000000;
	}

	div.newsline {
		width: 100%;
		text-align: center;
		display: flex;
		border-bottom: 0.5px solid rgba(47, 99, 91, 0.1);
		border-top: 0.5px solid rgba(47, 99, 91, 0.1);
	}

	img.newspic {
		max-width: 160px;
	}

	div.newspic {
		display: inline-block;
		width: 200px;
	}

	div.newspcright {
		display: flex;
		width: 1000px;
		flex-direction: column-reverse;
		align-self: baseline;
	}

	div.newstitle {
		text-align: left;
		display: inline-block;
		width: 900px;
		margin: 0;
	}

	div.newsdate {
		text-align: left;
		display: inline-block;
		width: 100px;
		margin: 0;
	}

	form {
		max-width: 1200px;
	}

	input {
		border-radius: 10px;
		line-height: 2em;
		min-width: 10vw;
		margin: 1.5em 0 0.5em 0;
		font-size: 1.2em;
	}

		input.logintype {
			width: 30vw;
		}

		input.loginclick {
			margin: 1.5em 0 1em 0;
			font-weight: bold;
		}

	div.producttype {
		position: relative;
	}

	footer {
		display: flex;
	}

	div.footer {
		padding: 0 20px;
		margin: 0 auto;
	}
}
