@import url("reset.css");

/*表單樣式區*/


ul.FORM p {
	/*反饋紅字*/
	font-size: 1em;
	color: #cc0000;
	font-weight: bold;
	padding-top: 5px;
}

ul.FORM {
	clear: both;
	width: 100%;
	margin: 0 auto;
}

ul.FORM li {
	width: 100%;
	float: left;
	-webkit-box-sizing: border-box;
	margin-bottom: 8px;
}


.textfieldB {
	width: 100%;
	height: 40px;
	font-size: 1em;
	line-height: 40px;
	-webkit-box-sizing: border-box;
	padding-left: 6px;
	color: #cc0000;
	background-color: #FFCC66;
	border: solid 1px #FF9900;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

.textfieldC {
	width: 100%;
	height: 40px;
	font-size: 1em;
	line-height: 40px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding-left: 6px;
	border: 1px solid #999;
	background-color: #FFF;
	color: #333;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

.textfieldD {
	width: 100%;
	height: 50px;
	font-size: 1em;
	line-height: 50px;
	-webkit-box-sizing: border-box;
	padding-left: 6px;
	border: 1px solid #999;
	background-color: #FFF;
	color: #333;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

.textfieldE {
	width: 100%;
	height: 50px;
	font-size: 1em;
	line-height: 50px;
	-webkit-box-sizing: border-box;
	padding-left: 6px;
	color: #cc0000;
	background-color: #FFCC66;
	border: solid 1px #FF9900;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

.textfieldB02 {
	width: 100%;
	height: 300px;
	font-size: 1em;
	line-height: 1.6em;
	-webkit-box-sizing: border-box;
	padding: 6px 0px 6px 6px;
	color: #cc0000;
	background-color: #FFCC66;
	border: solid 1px #FF9900;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

.textfieldC02 {
	width: 100%;
	height: 300px;
	font-size: 1em;
	line-height: 1.6em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 6px 0px 6px 6px;
	border: 1px solid #999;
	background-color: #FFF;
	color: #333333;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
}








.INPUT {
	clear: both;
	position: relative;
	width: 100%;
}

::-webkit-input-placeholder {
	font-size: 1em;
	color: #999;
}

:-moz-placeholder {
	/* Firefox 18- */
	font-size: 1em;
	color: #999;
}

::-moz-placeholder {
	/* Firefox 19+ */
	font-size: 1em;
	color: #999;
}

:-ms-input-placeholder {
	font-size: 1em;
	color: #999;
}

.textfieldB::-webkit-input-placeholder {
	font-size: 1em;
	color: #cc0000;
}

.textfieldB:-moz-placeholder {
	/* Firefox 18- */
	font-size: 1em;
	color: #cc0000;
}

.textfieldB::-moz-placeholder {
	/* Firefox 19+ */
	font-size: 1em;
	color: #cc0000;
}

.textfieldE:-ms-input-placeholder {
	font-size: 1em;
	color: #cc0000;
}

.textfieldE::-webkit-input-placeholder {
	font-size: 1em;
	color: #cc0000;
}

.textfieldE:-moz-placeholder {
	/* Firefox 18- */
	font-size: 1em;
	color: #cc0000;
}

.textfieldE::-moz-placeholder {
	/* Firefox 19+ */
	font-size: 1em;
	color: #cc0000;
}

.textfieldE:-ms-input-placeholder {
	font-size: 1em;
	color: #cc0000;
}


span.icon_clear {
	position: absolute;
	right: 0px;
	width: 25px;
	height: 25px;
	display: none;
    opacity: 1;
	top: 7px;
	right: 8px;
	cursor: pointer;
	text-indent: -9999px;
	background-image: url(../images/x_icon.png);
	background-size: 25px 25px;
}

.styled-select {
	width: 100%;
	height: 40px;
	overflow: hidden;
	background: url(../images/select_icon.png) no-repeat right #fff;
	background-size: 15px 15px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-position: right 5px center;
}

.styled-select_2 {
	width: 97%;
}

.styled-select select {
	background: transparent;
	width: 100%;
	height: 40px;
	font-size: 1em;
	padding-left: 6px;
	border: 1px solid #999;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

.styled-select select::-ms-expand {
	display: none;
}


.styled-select02 {
	width: 100%;
	height: 40px;
	overflow: hidden;
	background: url(../images/select_icon.png) no-repeat right #FFCC66;
	background-size: 15px 15px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-position: right 10px center;
}

.styled-select02 select {
	background: transparent;
	width: 100%;
	height: 40px;
	font-size: 1em;
	padding-left: 5px;
	border: solid 1px #FF9900;
	color: #cc0000;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

.styled-select02 select::-ms-expand {
	display: none;
}


/*submit按紐	*/
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
	-webkit-appearance: none;
}

textarea {
	-webkit-appearance: none;
}

.SUBMIT {
	width: 98%;
	height: 40px;
	background-color: #dcbdf4;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #bb90dc;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #380a5b;
	padding: 0px 2px 0px 2px;
	text-align: center;
}

.SUBMIT02 {
	width: 98%;
	height: 40px;
	background-color: #cfcfcf;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #9d9d9d;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #333;
	padding: 0px 2px 0px 2px;
	text-align: center;
}



/*圓角選項*/

.radio {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	align-content: center;
}

.radio label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	padding-left: 30px;
	/*文字離框框距離*/
	padding-top: 10px;
	/*文字上方離框框距離*/
}

.radio input[type=radio] {
	display: none;
}

.radio label:before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	position: absolute;
	left: 0px;
	top: 10px;
	background-color: #aaa;
}


input[type=radio]:checked+label.HALF {
	background-color: #f48f19;
	color: #fff;
}

input[type=radio]:checked+label.HALF02 {
	background-color: #f48f19;
	color: #fff;
}

input[type=radio]:checked+label.HALF:before {
	content: "\2022";
	color: #f48f19;
	font-size: 35px;
	text-align: center;
	line-height: 15px;
}

input[type=radio]:checked+label.HALF02:before {
	content: "\2022";
	color: #f48f19;
	font-size: 35px;
	text-align: center;
	line-height: 15px;
}

.radio label.HALF {
	float: left;
	width: 49.5%;
	height: 40px;
	background-color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #333;
	line-height: 30px;
	border: 1px solid #aaa;
	padding-top: 4px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}


.radio label.HALF02 {
	width: 32.6666666%;
	height: 40px;
	background-color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #333;
	line-height: 30px;
	border: 1px solid #aaa;
	padding-top: 4px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}


.radio input[type=radio] {
	display: none;
}

.radio label.HALF:before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	position: absolute;
	left: 3%;
	top: 11px;
	background-color: #fff;
	border-radius: 15px;
	border: 1px solid #aaa;
}

.radio label.HALF02:before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	position: absolute;
	left: 5%;
	top: 11px;
	background-color: #fff;
	border-radius: 15px;
	border: 1px solid #aaa;
}










/*方形選取方塊*/
.checkbox {
	margin: 8px auto;
}

input[type=checkbox] {
	display: none;
}

.checkbox label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	padding-left: 25px;
	/*文字離框框距離*/
}

.checkbox label:before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	position: absolute;
	left: 0;
	top: 3px;
	background-color: #fff;
	box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .6);
	border: 1px solid #b4b4b4;
}

.checkbox label {
	margin-bottom: 10px;
	margin-left: 10px;

}

.checkbox label:before {
	border-radius: 3px;
}

input[type=checkbox]:checked+label:before {
	content: "";
	background-image: url(../images/check.png);
	background-size: 18px 18px;
	background-position: center center;
	background-repeat: no-repeat;
}


/*搜尋BAR*/

#SEARCH {
	width: 100%;
	height: 50px;
	border: none;
	position: relative;
	background-color: none;
}

#SEARCH span.icon_clear {
	position: absolute;
	right: 0px;
	width: 25px;
	height: 25px;
	display: none;
	top: 12px;
	right: 63px;

	cursor: pointer;
	font: bold 1em sans-serif;
	text-indent: -9999px;
	background-image: url(../images/x_icon.png);
	background-size: 25px 25px;
}

#SER_BOX {
	width: 100%;
	height: 50px;
	border: none;
	background-color: #FFF;
	color: #000;
	text-align: left;
	font-size: 1.2em;
	text-indent: 5px;
	padding-left: 0px;
	border-radius: 0px;
	border: 1px solid #8866a3;
}

#SER_BOX02 {
	width: 100%;
	height: 50px;
	border: none;
	background-color: #FC3;
	color: #CC0000;
	text-align: left;
	font-size: 1.2em;
	text-indent: 5px;
	padding-left: 0px;
	border-radius: 0px;
	border: 1px solid #CC0000;

}

#SER_SUBMIT {
	width: 50px;
	height: 50px;
	cursor: pointer;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	background-color: #8866a3;
	background-image: url(../images/search_icon.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	border-radius: 0px;
	text-indent: -9999px;
}