@charset "utf-8";


/*******************************************************************************
* Version 1.0 Release;
* Copyright 2017
******************************************************************************/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

nav ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}



/* change colours to suit your needs */

ins {
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}



/* change colours to suit your needs */

mark {
	background: #ff0;
	color: #000;
}

del {
	text-decoration: line-through;
}

abbr[title],
dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	max-width: 100%;
	background-color: transparent;
}

table>caption {
	height: 0;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	width: 0;
}



/* change border colour to suit your needs */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}

input,
select {
	vertical-align: middle;
}



/*額外新增*/

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*outline: 1px solid #f00;*/
}



/*==================== 表單元素 - 去除ios預設外觀 input ====================*/

input,
textarea,
button,
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0;
}

*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	/*改寫iOS Safari中可點擊元素的高亮顏色*/
	font-size: initial;
}

input,
button,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

a:focus {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}



/*去除focus outline-chrome預設*/

a:focus,
input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: 0;
}

img {
	vertical-align: middle;
	width: 100%;
	max-width: 100%;
	height: auto;
}

form {
	width: 100%;
}

fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

legend {
	display: none;
	padding: 0;
	line-height: inherit;
	color: #333;
}

label {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	margin-bottom: 3px;
	font-weight: bold;
}



/*隱藏小箭頭*/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
	margin: 0;
}

input[type="search"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}

input[type="radio"],
input[type="checkbox"] {
	margin-top: 1px \9;
	line-height: normal;
	vertical-align: baseline;
}

input[type="radio"] {
	-webkit-appearance: radio;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

input[type="checkbox"] {
	-webkit-appearance: checkbox;
}

input[type="file"] {
	display: block;
}

input[type="range"] {
	display: block;
	width: 100%;
}



/*file、radio、checkbox的focus設定*/

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}



/*placeholder*/

::-webkit-input-placeholder {
	/* WebKit browsers */
	color: #aaa;
}

:-moz-placeholder {
	/* Mozilla Firefox 4 to 18 */
	color: #aaa;
}

::-moz-placeholder {
	/* Mozilla Firefox 19+ */
	color: #aaa;
}

:-ms-input-placeholder {
	/* Internet Explorer 10+ */
	color: #aaa;
}