/* Form */
input {
	-webkit-appearance: none;
	appearance: none;
	color: #333 !important;
	background-color: rgba(255, 255, 255, .95);
}

::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #666 !important;
}

::-moz-placeholder {
	/* Firefox 19+ */
	color: #666 !important;
}

:-ms-input-placeholder {
	/* IE 10+ */
	color: #666 !important;
}

:-moz-placeholder {
	/* Firefox 18- */
	color: #666 !important;
}

input {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

input:focus,
textarea:focus,
select:focus {
	outline-style: none;
	box-shadow: none;
}

.form-control {
	height: auto !important;
	border-radius: 0;
	padding: .5rem 1rem;
	font-size: 1rem;
	color: #333;
	background-color: #e5e5e5;
	border: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.form-control:focus {
	background-color: #e5e5e5;
}

.select-css {
	display: block;
	font-size: 1rem;
	color: #333;
	background-color: #e5e5e5;
	border: none;
	line-height: 1.5;
	padding: .5rem 1rem;
	width: 100%;
	max-width: 100%;
	height: auto !important;
	box-sizing: border-box;
	margin: 0;
	border-radius: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: url('https://shan-hon.com.tw/img/arrow.svg');
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

.select-css::-ms-expand {
	display: none;
}

textarea {
	resize: none;
}

.form-check {
	padding-left: 0;
}

.form-check input[type=checkbox] {
	display: none;
}

.form-check input[type=checkbox]+span {
	display: inline-block;
	padding-left: 30px;
	line-height: 20px;
	background-image: url('https://shan-hon.com.tw/img/cbx-off.svg');
	background-repeat: no-repeat;
	background-size: 20px auto !important;
	background-position: 0 3px !important;
	user-select: none;
}

.form-check input[type=checkbox]:checked+span {
	background-image: url('https://shan-hon.com.tw/img/cbx-on.svg');
	background-repeat: no-repeat;
	background-size: 20px auto !important;
	background-position: 0 3px !important;
}


.form-check {
	padding-left: 0;
}

.form-check input[type=checkbox] {
	display: none;
}

.form-check input[type=checkbox]+span {
	display: inline-block;
	padding-left: 26px;
	line-height: 24px;
	background: url(../img/cbx-off.svg) no-repeat;
	user-select: none;
	color: #4d4d4d;
}

.form-check input[type=checkbox]+span a {
	color: #EF5A24;
	font-weight: 600;
	text-decoration: none;
}

.form-check input[type=checkbox]:checked+span {
	background: url(../img/cbx-on.svg) no-repeat;
}

@media (max-width: 766px) {
	.form-check input[type=checkbox]:checked+span {
		background: url(../img/cbx-on.svg) no-repeat 0 3px / 20px 20px;
	}
}

/* Submit Button */

.btn-primary {
	display: block;
	width: 50%;
	margin: 0 auto;
	color: #fff;
	font-size: 17px;
	letter-spacing: 2px;
	font-weight: 600;
	background-color: #EF5A24;
	border: none !important;
}

.btn-primary:hover {
	background-color: #983410;
}

@media (max-width: 766px) {
	.btn-primary {
		width: 100%;
	}
}

/* Form Text */
.form-text h3 {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 5px;
	text-align: center;
	color: #4d4d4d;
	transform: translateX(-2.5px);
}

.form-text p {
	font-size: 15px;
	font-weight: 400;
	color: #666;
	line-height: 1.8;
	text-align: justify;
}

/* Form Layout */

.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

.row>.col {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}

.col-50 {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
}

.col-66 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-33 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-100 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (max-width: 766px) {
	.col-50 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.form-row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -5px;
	margin-left: -5px;
	margin-bottom: 1rem;
}

.form-row>.col {
	position: relative;
	width: 100%;
	padding-right: 5px;
	padding-left: 5px;
}

@media (max-width: 766px) {
	.form-row {
		margin-bottom: .5rem;
	}
}