/*----------------------------------------
Jhuang Ping Reset (c) 
v1.0 | 2018.05.31
----------------------------------------*/
/* Reset ====================================================================*/
body, div, ul, ol, li, form, input, textarea, th, td { margin: 0; padding: 0; }

table { border-collapse: collapse; border-spacing: 0; }

ol, ul { list-style: none; }

figure { margin: 0px; padding: 0px; }

img { max-width: 100%; height: auto; border: 0; }

.table_scroll { overflow-x: auto; }

a { text-decoration: none; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; -o-transition: all 0.2s; transition: all 0.2s; }

div { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

input { outline: none; }

/* Default ====================================================================*/
body { font-family: Arial,'Microsoft JhengHei', sans-serif; font-size: 16px; line-height: 24px; letter-spacing: 0px; color: #282828; overflow-x: hidden; }

.wrap { max-width: 1175px; margin: 0 auto; }

.main { margin-bottom: 110px; }
.main .wrap { max-width: 875px; }

.table_scroll { overflow-x: auto; }

.mobile { display: none; }

/* Fonts ======================================================================*/
@font-face { font-family: 'pacifico'; font-style: normal; font-weight: normal; src: url("fonts/pacifico/Pacifico-Regular.ttf"); }
@font-face { font-family: 'OpenSans'; font-style: normal; font-weight: normal; src: url("fonts/open_sans/OpenSans-Regular.ttf"); src: url("fonts/open_sans/OpenSans-Regular.ttf") format("truetype"), url("fonts/open_sans/OpenSans-Light.ttf") format("truetype"), url("fonts/open_sans/OpenSans-Bold.ttf") format("truetype"), url("fonts/open_sans/OpenSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: 'MyriadPro'; font-style: normal; font-weight: normal; src: url("fonts/myriad_pro/MyriadPro-Regular.otf"); }
/* Button ======================================================================*/
[class^="btn-"] { cursor: pointer; transition: all .2s; }

.btn-moreText { display: inline-block; color: #2D5380; font-size: 12px; }
.btn-moreText:hover { opacity: .5; }

.btn-idxnews { font-size: 17px; padding: 10px 60px; color: #fff; background: #2D547F; }
.btn-idxnews:hover { background: #666; box-shadow: 0 0 10px #333 inset; }

.btn-submit { font-family: 'MyriadPro'; color: #fff; background: #D95225; padding: 10px 60px; }
.btn-submit:hover { box-shadow: 0 0 10px #333 inset; }

.btn-reset { font-family: 'MyriadPro'; color: #fff; background: #6B6B6B; padding: 10px 60px; }
.btn-reset:hover { box-shadow: 0 0 10px #333 inset; }

.btn-delete { color: #fff; font-size: 15px; line-height: 15px; background: #7A7A7A; padding: 9px 35px; border-radius: 50px; }
.btn-delete:hover { background: #333; box-shadow: 0 0 10px #000 inset; }

.btn-inquiry { font-family: 'MyriadPro'; display: inline-block; width: 75px; text-align: center; color: #fff; font-size: 15px; line-height: 15px; background: #D95225; padding: 7px 20px 7px 15px; border-radius: 50px; }
.btn-inquiry:before { content: '\f075'; display: inline-block; font-family: FontAwesome; font-size: 12px; padding: 1px 4px; margin-right: 5px; }
.btn-inquiry:hover { background: #666; box-shadow: 0 0 5px #333 inset; }

.btn-back { font-family: 'MyriadPro'; display: inline-block; width: 75px; text-align: center; color: #fff; font-size: 15px; line-height: 15px; background: #4C4C4C; padding: 7px 20px; border-radius: 50px; }
.btn-back:before { content: '\f104'; font-family: FontAwesome; font-size: 12px; border-radius: 100%; border: 1px solid #fff; padding: 1px 4px; margin-right: 5px; }
.btn-back:hover { background: #666; box-shadow: 0 0 5px #333 inset; }

.btn-newsback { color: #fff; font-size: 15px; line-height: 15px; background: #D95225; padding: 7px 30px; border-radius: 50px; }
.btn-newsback:before { content: '\f104'; font-family: FontAwesome; font-size: 12px; border-radius: 100%; border: 1px solid #fff; padding: 1px 4px; margin-right: 8px; }
.btn-newsback:hover { background: #666; box-shadow: 0 0 5px #333 inset; }

[class^="btn-pro-"] { color: #585858; display: flex; align-items: center; }
[class^="btn-pro-"]:before, [class^="btn-pro-"]:after { font-family: FontAwesome; content: ''; color: #D96035; }
[class^="btn-pro-"]:hover { opacity: .5; }

.btn-pro-prev:before { content: url("../images/icon/prodLeft.png"); padding-right: 8px; }

.btn-pro-next:after { content: url("../images/icon/prodRight.png"); padding-left: 8px; }

@media only screen and (max-width: 425px) { .btn-submit, .btn-reset { padding: 10px 30px; } }
/* Header =====================================================================*/
header { display: flex; justify-content: center; }
header .wrap { padding: 43px 0 0 0; position: absolute; z-index: 99990; display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; width: 100%; }

.logo { font-family: 'pacifico'; font-size: 28px; color: #fff; padding-bottom: 10px; }

/* Menu =======================================================================*/
.menu { display: flex; flex-direction: column; }
.menu .drop-down { position: relative; }
.menu .menu-list { display: none; position: absolute; }

.menuBtn { width: 40px; height: 30px; cursor: pointer; position: absolute; z-index: 99991; top: 40px; right: 5%; display: none; flex-direction: column; justify-content: space-around; align-items: center; }
.menuBtn span { width: 70%; height: 3px; display: block; background: #fff; border-radius: 5px; transition: all .2s; }
.menuBtn.open span { position: absolute; }
.menuBtn.open span:nth-child(1) { transform: rotate(-45deg); }
.menuBtn.open span:nth-child(2) { transform: rotate(45deg); }
.menuBtn.open span:nth-child(3) { opacity: 0; }

.menuList { display: none; position: absolute; top: 0px; right: 0px; width: 50px; height: 55px; }
.menuList:before, .menuList:after { content: ''; position: absolute; top: 50%; right: 5px; display: block; background: #fff; width: 10px; height: 1px; transition: all .2s; }
.menuList:after { transform: rotate(90deg); }
.menuList.open:after { transform: rotate(180deg); }

.menu-down { order: 2; display: flex; flex-direction: row; font-size: 18px; }
.menu-down li:hover a:before { width: 100%; border-radius: 0px; left: 0px; }
.menu-down a { color: #fff; padding: 10px 12px; display: block; position: relative; overflow: hidden; }
.menu-down a:before { content: ''; background: #646464; position: absolute; left: 50%; bottom: 0px; width: 0px; height: 3px; border-radius: 10px; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; }

.menu-up { order: 1; display: flex; flex-direction: row; justify-content: flex-end; margin-bottom: 20px; color: #fff; font-size: 13px; }
.menu-up li { padding: 0 5px; display: flex; align-items: center; }
.menu-up li:nth-last-child(2) { padding-right: 12px; }
.menu-up li:last-child { padding-left: 12px; position: relative; }
.menu-up li:last-child:before { content: ''; position: absolute; top: 15%; left: -1px; width: 1px; height: 70%; background: #939393; }
.menu-up li a { color: #fff; text-transform: uppercase; }
.menu-up li a:before { font-family: FontAwesome; content: ''; border: 1px solid #fff; border-radius: 100%; padding: 5px; margin-right: 8px; }
.menu-up li a:hover { opacity: .5; }
.menu-up li.inquiry a:before { content: '\f07a'; }
.menu-up li.search a:before { content: '\f002'; }
.menu-up li.search input { width: 0px; border: none; border-radius: 50px; padding: 0px; background: #717171; color: #fff; margin-left: 0px; transition: all .2s; }
.menu-up li.search:hover input { width: 115px; margin-left: 6px; padding: 3px 8px; }

/* Menu Style */
.menuBasic .drop-down { position: relative; font-family: 'MyriadPro'; }
.menuBasic .menu-list { position: absolute; left: calc(50% - 100px); width: 210px; padding-top: 30px; }
.menuBasic .menu-list:before { content: ''; width: 1px; height: 1px; position: absolute; top: 11px; left: calc(50% - 10px); border-style: solid; border-width: 9px; border-color: transparent transparent #6F6F6F transparent; }
.menuBasic .menu-list li { position: relative; padding-left: 15px; background: #6F6F6F; }
.menuBasic .menu-list li:first-child { padding-top: 20px; }
.menuBasic .menu-list li:last-child { padding-bottom: 20px; }
.menuBasic .menu-list li a { padding: 10px 20px 10px 10px; }
.menuBasic .menu-list li a:before { content: ''; display: inline-block; width: 1px; height: 1px; background: transparent; position: absolute; top: calc(50% - 6px); left: 0px; border-style: solid; border-width: 3px; border-radius: 0px; border-color: transparent transparent transparent #fff; }
.menuBasic .menu-list li a:hover { color: #333; }
.menuBasic .menu-list li a:hover:before { border-color: transparent transparent transparent #333; }

/* Language ===================================================================*/
.lang { font-size: 12px; }

.btn-lang { position: relative; display: flex; justify-content: space-between; cursor: pointer; background: #D95022; padding: 4px 5px 4px 10px; line-height: 12px; text-transform: uppercase; transition: all .2s; }
.btn-lang:before { position: absolute; right: 4px; content: ''; width: 13px; height: 12px; background: #424242; }
.btn-lang:after { position: relative; z-index: 1; font-family: FontAwesome; content: '\f0d7'; display: flex; justify-content: center; width: 12px; color: #fff; margin-left: 10px; transition: all .2s; }
.btn-lang.open:after { transform: rotate(180deg); }
.btn-lang:hover { box-shadow: 0 0 3px #000 inset; }

.lang-options { display: none; position: absolute; top: 23px; left: 12px; width: calc(100% - 17px); }
.lang-options a { width: calc(100% - 22px); display: block; padding: 5px 10px; background: #a5a5a5; border: 1px solid #fff; border-bottom: none; transition: all .2s; }
.lang-options a:before { display: none; }
.lang-options a:last-child { border-bottom: 1px solid #fff; }
.lang-options a:hover { background: #D95022; opacity: 1 !important; }

@media only screen and (max-width: 1024px) { header .wrap { padding: 43px 5% 0 5%; } }
@media only screen and (max-width: 992px) { .wrap { padding: 0 5%; }
  header.menuOpen .wrap { background: #0FB494; }
  header .wrap { flex-direction: column; align-items: flex-start; transition: all 1s; }
  .menu { display: none; width: 100%; }
  .menuBtn { display: flex; }
  .menuList { display: block; }
  .menu-down { order: 1; flex-direction: column; padding: 0 20px; }
  .menu-down a { padding: 15px 12px; border-bottom: 1px solid #fff; text-transform: capitalize; }
  .menu-down a:before { display: none; }
  .menu-up { order: 2; font-size: 15px; }
  .menu-up li.search { padding: 40px 0; display: flex; justify-content: center; width: 100%; }
  .menu-up li.search input { width: 40%; margin-left: 6px; padding: 3px 8px; background: #fff; color: #252525; }
  .menu-up li.search:hover input { width: 40%; }
  .menu-up li:last-child { padding-left: 0px; }
  .menu-up li:last-child:before { display: none; }
  .menuBasic .menu-list { position: static; width: 100%; padding-top: 0px; }
  .menuBasic .menu-list:before { display: none; }
  .menuBasic .menu-list li { padding: 0px; }
  .menuBasic .menu-list li a { padding: 15px 12px 15px 30px; border-bottom: none; font-size: 15px; }
  .menuBasic .menu-list li a:before { left: 15px; border-color: transparent transparent transparent #95EEDC; }
  .btn-lang { background: transparent; color: #fff; font-size: 18px; line-height: 24px; padding: 15px 12px; border-bottom: 1px solid #fff; text-transform: capitalize; }
  .btn-lang:before, .btn-lang:after { position: absolute; top: 30px; right: 5px; background: #fff; width: 10px; height: 1px; content: ''; margin: 0px; }
  .btn-lang:after { transform: rotate(90deg); }
  .btn-lang:hover { box-shadow: none; }
  .lang-options { position: static; width: 100%; }
  .lang-options a { width: calc(100% - 41px); font-size: 15px; background: #6F6F6F; border: none; padding: 15px 11px 15px 30px; display: block; position: relative; }
  .lang-options a:before { content: ''; width: 1px; height: 1px; background: transparent; position: absolute; display: inline-block; top: calc(50% - 3px); left: 15px !important; border-style: solid; border-width: 3px; border-radius: 0px; border-color: transparent transparent transparent #95EEDC; } }
@media only screen and (max-width: 768px) { .mobile { display: block; }
  .pc { display: none; } }
