/* CSS Document */
html {
  height: 100%;
}
body,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  font-weight: 300;
}
label {
  font-weight: normal;
  font-weight: 300;
}
ul {
  list-style: none;
}
ol {
  margin-left: 1.2em;
}

a,
button,
a img,
img,
a * {
  transition: all 0.5s;
}

a {
  text-decoration: none;
  cursor: pointer;
}
a.underline {
  text-decoration: underline;
}
a:hover img,
a:hover aside {
  /*transform:scale(0.95);*/
  opacity: 0.8;
}
a:hover,
a:focus {
  color: #ffae00;
  text-decoration: none;
}

li a:hover {
  text-decoration: none;
}
b {
  font-weight: 500;
}

dfn {
  font-style: normal;
}

span {
  display: inline-block;
}
/*img {
  max-width: 100%;
  max-height: 100%;
  height: auto !important;
}
img.ImgLogo {
  max-height: 60%;
  height: auto !important;
  
}*/
input,
select,
button,
img,
i {
  vertical-align: middle;
  display: inline-block;
}
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0 2px;
}
input[type="button"],
input[type="reset"] {
  padding: 5px 8px;
}
table th input[type="radio"]:checked + label {
  color: #faff50;
}

input:focus {
  outline: none;
}

select,
textarea,
input[type="text"] {
  width: 100%;
  padding: 0.7em 1em;
  resize: none;
  background: #f4f4f4;
  letter-spacing: 0.1em;
  border: none;
  /*border:1px solid #cbcbcb;*/
  font-size: 18px;
  border-radius: 0;
  -webkit-appearance: none;
}

select {
  background: url(../images/ico/arrow.png) no-repeat 95% center;
  color: #333;
  padding-right: 30px;
}

/*
::-webkit-input-placeholder,select{font-weight:normal;}
::-webkit-input-placeholder {font-size: 15px;}
*/

.btnAll {
  text-align: center;
  padding: 20px 0;
}

button {
  border: none;
  outline: none;
  font-weight: 300;
}

.Btn {
  font-size: 18px;
  line-height: 3;
  max-width: 250px;
  width: 100%;
  border-bottom: 4px solid #333;
  position: relative;
  padding: 0 1em;
}
.Btn:before {
  content: "";
  width: 0;
  height: 4px;
  background: #0ec9a8;
  width: 0;
  transition: all 0.5s;
  left: 0;
  bottom: -4px;
  position: absolute;
}
.Btn:hover:before {
  width: 100%;
}

.sBtn {
  width: auto;
}

.arrowBtn {
  position: relative;
}
.arrowBtn:after {
  content: "";
  background: url(../images/ico/arrow.svg) no-repeat center center;
  position: absolute;
  transition: all 0.7s;
  background-size: contain;
  width: 30px;
  height: 30px;
  right: 20px;
  top: calc(50% - 15px);
}
.arrowBtn:hover:after {
  transform: translateX(20px);
}

.priBtn {
  background-color: #eee;
  color: #333;
  border-bottom-color: #0ec9a8;
}
.priBtn:before {
  background-color: #ff8a00;
}
.priBtn:hover {
  background-color: #fff;
}

.grayBtn {
  background: #ececec;
  color: #000;
}
.darkBtn {
  background: #9b9b9b;
  color: #fff;
}
.blueBtn {
  background: #3a97ff;
  color: #fff;
}

.orgBtn {
  background: #f9953d;
  border-bottom-color: #f9953d;
  color: #fff;
}
.orgBtn:before {
  background: #333;
}

.greenBtn {
  background: #26ceb1;
  color: #fff;
}
.greenBtn:before {
  background-color: #ff8a00;
}
.greenBtn.arrowBtn:after {
  filter: invert(100%);
}

/*bg*/
.bg {
  background: no-repeat center center;
}
.bg-cover {
  background-size: cover;
  background-position: inherit;
}
.bg-contain {
  background-size: contain;
}

/*bg-color*/
.bg-blue {
  background-color: #a9e0e0;
}
.bg-blue2 {
  background-color: #bfeded;
}
.bg-blue3 {
  background-color: #aee7e7;
}

/*color*/
.gray {
  color: #999;
}
.black {
  color: #333;
}
.white {
  color: #fff;
}

.primary {
  color: #0ec9a8;
}
.blue {
  color: #2c83bf;
}
.green {
  color: #0ec9a8;
}
.orange {
  color: #ff8a00;
}

/*videoCover*/
.videoCover {
  background: no-repeat center center;
  background-size: cover;
  text-align: center !important;
  position: relative;
  overflow: hidden;
}
.videoCover a:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(193, 214, 0, 0.2);
  transform: translateY(100%);
  content: "";
  transition: all 0.5s;
  z-index: 0;
}
.videoCover a:hover:before {
  transform: translateY(0);
}

.videoCover a {
  position: absolute;
  z-index: 10;
  display: block;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}
.videoCover a img {
  position: absolute;
  left: calc(50% - 45px);
  top: calc(50% - 45px);
}
.videoCover a:hover img {
  transform: scale(0.9);
}

/*ellipsis*/
.ellipsis {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*imgCover*/
.imgCover {
  background: no-repeat center center;
  background-size: cover;
  padding-bottom: 52.75%;
}
a .imgCover {
  transition: all 0.7s;
}
/*a:hover .imgCover{transform:scale(1.03);}*/

/*maps*/
.maps {
  position: relative;
  padding-bottom: 30%;
}
.maps iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/*tableStyle*/
.display-table,
.display-table > li,
.display-table > dl {
  display: table;
  width: 100%;
  margin: auto;
}
.display-table > dt,
.display-table > dd,
.display-table dl > dt,
.display-table dl > dd,
.display-table > aside,
.display-table > article {
  display: table-cell;
  vertical-align: middle;
  font-weight: inherit;
}

/*手機時回歸原位*/
.display-table-xs-none {
}

@media (max-width: 767px) {
  .display-table-xs-none,
  .display-table-xs-none > li,
  .display-table-xs-none > dl,
  .display-table-xs-none dt,
  .display-table-xs-none dd,
  .display-table-xs-none aside,
  .display-table-xs-none article {
    display: block !important;
    width: 100% !important;
  }
}

/*float*/
.FR {
  float: right !important;
}
.FL {
  float: left !important;
}
.clearAll {
  clear: both !important;
}

/*table
table{width:100%;margin-bottom:30px;border-collapse:collapse;border:0;text-align:left;}

table th{border:1px solid #c5e2e3;padding:1em 1.5em;background:#e2f0f1;color:#333;}
table td{padding:1em 1.5em;border:1px solid #c5e2e3;}


table tr:nth-child(even){background:#fff;}
table tr:nth-child(odd){background:#dedede;}
*/

/*hr*/
hr {
  border-color: #ddd;
  margin: 40px auto;
}
hr.greenHR {
  border-color: #20b6b8;
  margin: 0;
}

/*list*/
.inlineBlock {
  margin: auto;
  letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
  text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
}

.inlineBlock > li {
  display: inline-block;
  word-spacing: normal;
  vertical-align: top;
  font-size: 15px;
  zoom: 1;
  letter-spacing: normal;
}

.inlineBlock > li a,
.tabNav ul > li > a {
  display: block;
}

ul.inlineBlock .safety-item {
  width: 25%;
  padding: 30px;
  text-align: center;
}

ul.inlineBlock .safety-item img {
  width: 70% !important;
}
ul.inlineBlock .safety-item b {
  font-size: 20px;
  font-weight: bold;
}

ul.inlineBlock .safety-item ul {
  list-style-type: none;
  margin: auto;
}

ul.inlineBlock .safety-item ul li {
  width: 100%;
  text-align: left;
  letter-spacing: 2px;
  white-space: nowrap;
  font-size: 18px;
}
ul.inlineBlock .safety-item ul li:before {
  position: absolute;
  margin-left: -1.25em;
  padding-right: 0.5em;
  color: #8d3bc4;
  content: "\220E";
}

.list-inline {
}
.list-inline > li {
  display: inline-block;
  margin-right: 10px;
}

.listTypeNone {
  list-style: none !important;
}
.discList {
  list-style: disc;
  margin-left: 1em;
}

/*均分TAB*/
.tabNav ul {
  display: table;
  width: 100%;
}
.tabNav ul li {
  display: table-cell;
  width: 1%;
  text-align: center;
  vertical-align: middle;
}

/*noboder*/
.noborder {
  border: none;
}
.noMargin {
  margin: 0px;
}

/*display*/
.hidde {
  display: none;
}
.show {
  display: block;
}
.showInlineBlock {
  display: inline-block;
}

.relative {
  position: relative !important;
}
.absolute {
  position: absolute !important;
}
.fixed {
  position: fixed !important;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
}
.flex-center img {
  height: 165px !important;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.5);
}

/*fb massenger*/
#fb-root .fb_dialog {
  position: absolute !important;
  left: 46.5% !important;
  transform: translate(-50%, -50%);
}
#fb-root .fb_customer_chat_bubble_animated_no_badge {
  transition: unset;
}
/*align*/
.alignCenter {
  text-align: center;
}
.alignLeft {
  text-align: left;
}
.alignRight {
  text-align: right;
}

/*aline-middle*/
.aline-middle:before {
  content: "";
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

/*font*/
.bold {
  font-weight: bold;
}
.numberFonts {
  font-family: "Arial Black", Gadget, sans-serif;
  min-width: 20px;
  background: #d8dce4;
  color: #4c5976;
}

/*border*/
.bdrCircle {
  border-radius: 100% !important;
}
.bdr5 {
  border-radius: 5px !important;
}
.bdr10 {
  border-radius: 10px !important;
}
.bdr15 {
  border-radius: 15px !important;
}
.bdr20 {
  border-radius: 20px !important;
}
.blue_bd5 {
  border: 5px solid #2c3a44;
}

/*on、hide*/
.on {
  display: none !important;
}
.hide {
  display: block !important;
}

/*center*/
.center {
  text-align: center;
  justify-self: center;
}

/*checkInput*/
.checkInput {
  width: 60px !important;
  height: 26px;
  position: relative;
}
.checkInput:before {
  content: "";
  background: #fff;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  top: 2px;
  left: 2px;
  z-index: 10;
  transition: all 0.5s;
}
.checkInput:after {
  content: "";
  background: #ddd;
  display: block;
  position: absolute;
  width: inherit;
  height: 24px;
  top: 0;
  z-index: 0;
  border-radius: 20px;
}
.checkInput:checked:before {
  left: calc(100% - 22px);
}
.checkInput:checked:after {
  background: #3db999;
}

@media (max-width: 992px) {
  ul.inlineBlock .safety-item {
    width: 50%;
  }
}

@media (max-width: 767px) {
  ul.inlineBlock .safety-item {
    width: 100%;
    font-size: 20px;
  }
  ul.inlineBlock .safety-item ul {
    width: 172px;
  }
}

/*Scroll Bar*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 15px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 15px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000;
}
