/* ==========================================================================
	clear
 ========================================================================== */

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
}

button,
input {
	line-height: normal;
	outline: 0;
}

button,
select {
	text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	nowhitespace: afterproperty;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

button {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	display: inline-block;
}

figure,
address {
	padding: 0;
	margin: 0;
}

* {
	-webkit-backface-visibility: hidden;
	outline: 0;
	-webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* ==========================================================================
    public
 ========================================================================== */

html, body {
	margin: 0;
	padding: 0;
	/* height: 100.1%; */
}

html {
	-ms-overflow-style: scrollbar;
}

body {
	overflow-x: hidden;
	font-family: "Titillium Web", Arial, Verdana, "Heiti TC", "Microsoft JhengHei", 微軟正黑體;
	color: #969696;
	font-size: 15px;
	line-height: 2em;
	-webkit-font-smoothing: antialiased;
	background-color: #000;
}

.max-xs-size body {
	line-height: 1.5em;
}

/* body.actived {
	overflow: hidden;
} */

body:after {
  display: block;
  content: "為獲得最佳使用體驗、更安全的加密技術和隱私保護，建議您使用最新版瀏覽器 \A We're sorry! this website does not support your browser, please upgrade your browser, thank you.";
  position: fixed;
  z-index: 100000000000000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  padding: 50px;
  background-color: #fff;
  text-align: center;
  font-size: 20px;
  color: #3f3f3f;
  white-space: pre-line;
}

:root body:after {
  display: none;
}

.wp {
	min-width: 320px;
	overflow-x: hidden;
}


/*不顯示外虛線*/
button, a {
	outline: none !important;
}

a, a:active {
	cursor: pointer;
	text-decoration:none;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
	line-height: normal;
}

img {
	max-width:100%;
	height:auto;
	border:none;
	image-rendering: -webkit-optimize-contrast;
}

a {
	color: #fff;
	-o-transition: color .50s ease-in-out;
	-webkit-transition: color .50s ease-in-out;
	-moz-transition: color .50s ease-in-out;
	transition: color .50s ease-in-out;
}

a.link {
	text-decoration: underline;
}

.clearfix:after {
  display: block;
  content: '';
  clear: both;
}

.hidden {
	display:none;
}

ul.noneStyle {
	margin: 0;
	padding: 0;
}

ul.noneStyle > li {
	list-style: none;
}


/* form */

.form .group:after {
	content: '';
	display: block;
	clear: both;
}

.form .group.error .form-control {
	border: 1px solid #e60012;
}

.form .group .notice,
.form .group .desc {
	float: left;
  margin-top: 5px;
	padding-left: 150px;
	color: #e60012;
}

.form .group .notice {
	display: none;
}

.max-xs-size .form .group .notice,
.max-xs-size .form .group .desc {
	padding-left: 0;
}

.form .group.error .notice {
	display: block;
	width: 100%;
}

.red {
	color: #e60012 !important;
}

input, select, button, textarea {
	font-family: "Titillium Web", Arial, Verdana, "Heiti TC", "Microsoft JhengHei", 微軟正黑體;
}

textarea.form-control {
	padding: 10px 20px;
	height: auto;
	resize: none;
}

.form-control {
	width: 100%;
	height: 40px;
	padding: 0 20px;
	border: none;
	background-color: #232323;
	color: #fff;
	font-size: 15px;
	transition: box-shadow 0.5s, background 0.5s;
}

.buttonBlock {
	margin-top: 30px;
}

.form .buttonBlock {
	text-align: center;
}

button.button, a.button {
	display: inline-block;
	vertical-align: middle;
	min-width: 200px;
	height: 45px;
	margin: 10px;
	padding: 0 20px;
	border-radius: 5px;
	background-color: #323232;
	color: #fff;
	font-size: 15px;
	line-height: 45px;
	transition: background 0.5s;
}

.max-xs-size button.button,
.max-xs-size a.button {
	width: 100%;
	margin: 5px 0;
}

button.button:hover, a.button:hover {
	background-color: #1e1e1e;
}

button.red-bg, a.red-bg {
	background-color: #e60012;
}

button.red-bg:hover, a.red-bg:hover {
	background-color: #b4000e;
}

.form-control:hover, .form-control:focus {
  background-color: #3d3d3d;
}

.form-control:focus {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

::-webkit-input-placeholder { /* WebKit browsers */
  color: rgba(255, 255, 255, 0.5);
}

::-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: rgba(255, 255, 255, 0.5);
}

::-o-placeholder { /* Mozilla Firefox 19+ */
  color: rgba(255, 255, 255, 0.5);
}

::-ms-placeholder { /* Internet Explorer 10+ */
  color: rgba(255, 255, 255, 0.5);
}

::-ms-input-placeholder { /* Internet Explorer 10+ */
  color: rgba(255, 255, 255, 0.5);
}

/* input[type="checkbox"], input[type="radio"] {
  display:none;
} */

input[type="checkbox"] + span,
input[type="radio"] + span {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin: -1px 10px 0 -15px;
  vertical-align: middle;
  background: #000 url("images/check_radio_sheet.png") left top no-repeat;
  cursor: pointer;
}

input[type="checkbox"]:checked + span {
	background-position: -19px top;
}

input[type="radio"] + span {
  background-position: -38px top;
}

input[type="radio"]:checked + span {
  background-position: right top;
}

.checkbox, .radio {
	display: table;
	cursor: pointer;
	transition: color 0.5s;
}

.checkbox:hover, .radio:hover {
	color: #fff;
}


/**/

.scroll ,.scrollbar, .scrollbarX {
	-webkit-overflow-scrolling: touch;
}

.scrollbarX {
	overflow-x: auto;
}

.jqimgFill, .main {
	opacity: 0;
	transition: opacity 1.5s;
}

.jqimgFill {
	width: 100%;
	height: 100%;
}

.moveBg {
  width: 106%;
  height: 106%;
  position: absolute;
  top: -6%;
  left: 0;
  z-index: 1;
}

.full {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.middle {
	display: table-cell;
	vertical-align: middle;
}

.main > .inner {
	min-height: 800px;
	position: relative;
	background: url('images/bg.jpg') top center no-repeat;
}

.max-md-size .main > .inner {
	background-size: 150%;
}

.main.actived > .inner {
	min-height: 0;
}

.container {
	max-width: 1200px;
	width: 100%;
	margin: auto;
	padding: 0 15px;
}

.ellipsis {
	line-height: 1.5em;
	max-height: 4.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-moz-line-clamp: 3;
	-ms-line-clamp: 3;
	-webkit-box-orient: vertical;
	-moz-box-orient: vertical;
	-ms-box-orient: vertical;
}

.font0 {
	font-size: 0;
}

.max-md-size .move {
	margin: 0 !important;
}

.table {
	width: 100%;
	border-collapse: collapse;
}

table {
	-webkit-backface-visibility: visible;
}

.textCenter {
	text-align: center !important;
}

.padding0 {
	padding: 0;
}

ul.dot > li {
	list-style: disc;
}

.map-box {
	font-size: 14px;
	line-height: 1.8em;
}

.wow {
	visibility: hidden;
}

.msie .wow {
	visibility: visible;
}

.chrome .wow {
	opacity: 1;
	visibility: visible;
}

.editor .box {
	padding: 15px;
	max-height: 300px;
	background-color: #141414;
}

.editor .scrollbar .mCSB_scrollTools .mCSB_draggerRail {
	width: 3px;
	background-color: #5f5f5f;
}

.editor .font20 {
	font-size: 20px;
}