﻿/*全域設定*/
* {
  -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;
}
body, form { margin: 0; padding: 0; font-family: 微軟正黑體, 'Times New Roman', Times, serif; }
main { background: url(../img/Public/bg-grid.png); padding-bottom: 35px; }
/*全域設定*/


/*主框架*/
html, body, form { height: 100%; }
form { display: table; width: 100%; }
header, main, footer  { display: table-row; }
main    { height: 100%; }

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1180px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

#MainBox { padding: 0 15px; }
#MainBox_Consent,
#MainBox_Login, 
#MainBox_Page { padding: 0 15px 45px; }
#MainBox_Notice { padding: 25px 15px; }
/*主框架*/



/*共用項目*/
.clear  { clear: both; }
.left 	{ text-align: left; }
.right 	{ text-align: right; }
.center { text-align: center; }
.intputHide { display:none !important; }
/*共用項目*/


/*淺橘　F2825B*/
/*深橘　EC6820*/
/*正橘　FF6A00*/

/*淺咖　#bd9699*/
/*正咖　#552E31*/

/*正紅　B81C22*/



/*文字顏色+樣式*/
.FcG { color: green; }
.FcR { color: red; }
.FcB { color: royalblue; }
.FcO { color: #552E31; }
.bold { font-weight:bold; }
/*文字顏色+樣式*/



/*段落排版*/
.responseIMG {max-width:100%}
.Og  { color: #FF6A00; padding-left: 20px; }
.Og2 { color: #FF6A00; font-size: 18px; font-weight: bold; }
.Ogt { padding-left: 20px; }
.indent2em  { text-indent: 2em; text-align: justify; }
.left1em    { margin-left: 1em; }
.left2em    { margin-left: 2em; }
.left-1em   { margin-left: -1em; }
.left-2em   { margin-left: -2em; }
.line2em    { line-height: 2em; }
.noMargin   { margin:0; }
.noPadding  { padding:0; }
.cjkHeavenlyStem { list-style:cjk-heavenly-stem; } /*list-style:甲乙丙*/
.cjkList > li  { list-style-type: cjk-ideographic; line-height: 1.6; } /*中文國字數字*/
.cjkList > li a { color: #B81C22; }
.cjkList > li > ol { padding-left: 0em; }
.cjkList > li > ul { padding-left: 1.5em; }
.listSquare        { list-style:square; }
.listLowerRoman  { list-style:lower-roman; }
.listNoStyle { list-style: none; }
ol.olist { padding: 0 0 0 40px; }
/*段落排版*/



/*input 樣式表*/
/*
使用方式
掛截 class="iPut01" 即可
*/
input[type=file] { font-size: 16px; }
input[type=text].iPut01, 
input[type=password].iPut01 { width: 100%; height: 35px; line-height: 35px; box-sizing: border-box; -moz-box-sizing: border-box; border: 1px solid #CCC; border-radius: 5px; padding: 5px; margin: 5px; color: #333; }
select.iPut01 { width: 100%; height: 35px; line-height: 35px; box-sizing: border-box; -moz-box-sizing: border-box; border: 1px solid #CCC; border-radius: 5px; padding: 5px; margin: 5px; }
input[type=checkbox].iPut01 { width: 25px; height: 25px; vertical-align: middle; }
input[type=radio].iPut01 { width: 25px; height: 25px; vertical-align: middle; }
table.iPut01 > tbody > tr > td > input[type=radio] { width: 25px; height: 25px; vertical-align: middle; }
table.iPut01 > tbody > tr > td > input[type=radio] ~ label { display: inline-block; vertical-align: middle; }
input[type=submit].iPut01, input[type=button].iPut01 { width: 150px; height: 50px; cursor: pointer; color: #FFF; text-shadow: 0 0 5px #333, 0 0 3px #333; }
input[type=submit].iPut01:hover, input[type=button].iPut01:hover { text-shadow: 1px 1px 3px #333, 1px -1px 3px #333, -1px -1px 3px #333, -1px 1px 3px #333; }
input[type=submit].iPut02, 
input[type=button].iPut02 { width: 150px; height: 50px; cursor: pointer; color: #FFF; font-weight: 900; text-shadow: 0 0 3px #333; border: 1px solid #EEE; border-radius: 5px; }
input[type=submit].iPut02, 
input[type=button].iPut02 { background: #cfe7fa; background: -moz-linear-gradient(top, #cfe7fa 0%, #6393c1 100%); background: -webkit-linear-gradient(top, #cfe7fa 0%,#6393c1 100%); background: linear-gradient(to bottom, #cfe7fa 0%,#6393c1 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe7fa', endColorstr='#6393c1',GradientType=0 ); }
input[type=submit].iPut02:hover, 
input[type=button].iPut02 { background: #d4e4ef; background: -moz-linear-gradient(top, #d4e4ef 0%, #86aecc 100%); background: -webkit-linear-gradient(top, #d4e4ef 0%,#86aecc 100%); background: linear-gradient(to bottom, #d4e4ef 0%,#86aecc 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d4e4ef', endColorstr='#86aecc',GradientType=0 ); }
/*input 樣式表*/



/*MsgBox*/
.MsgBox { font-size: 24px; border-radius: 15px; background: #f9f9f9; box-shadow: 1px 1px 10px #aaa; text-align: center; line-height: 2em; padding: 30px; }


/*卡片*/
.card { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0, 0, 0, 0.125); border-radius: 0.25rem; }
.card-header { text-align: center; padding: 0.75rem 1.25rem; margin-bottom: 0; background-color: rgba(0, 0, 0, 0.03); border-bottom: 1px solid rgba(0, 0, 0, 0.125); font-size: 20px; font-weight: bold; color: #B81C22; }
.card-body { -ms-flex: 1 1 auto; flex: 1 1 auto; min-height: 1px; padding: 0 1.25rem 0.75rem; }


/*按鈕*/
.btnRow { text-align: center; margin: 15px 0; }
.btn {
  display: inline-block;
  padding: .3em 1em;
  margin: 3px;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  /*-ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;*/
  border: none;
  border-radius: 5px;
}
.btn:hover { cursor: pointer; }
.btnxs {
    padding: 4px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-left: 5px;
}

.btnRed { background-color: #fa5c51; color: white !important; }
.btnRed:hover, .btnRed:active { background-color: #dd4c42; }

.btnGreen { background-color: #4CAF50; color: white; }
.btnGreen:hover, .btnGreen:active { background-color: #3f8f42; }

.btnBlue { background-color: #436ab2; color: white; }
.btnBlue:hover, .btnBlue:active { background-color: #3f4d8f; }

.btnYellow { background-color: #fac220; color: white; border: solid 1px #ff984d; }
.btnYellow:hover, .btnYellow:active { background-color: #f7b905; }

.btnBrown { background-color: brown; color: white !important; }
.btnBrown:hover, .btnBrown:active { background-color: #6c3030; }

.btnExcel { background: url(../img/icon/excel-white.png) 7px center no-repeat; background-color: #107c41; color: white; border: 2px solid #107c41; padding: 6px 10px 6px 40px; font-weight: bold; }
.btnExcel:hover, .btnExcel:active { background: url(../img/icon/excel.png) 7px center no-repeat; background-color: white; color: #107c41; box-shadow: 1px 1px 10px #888; }


/*繳費按鈕*/
.btnTaiwanPay { background-color: #fa5c51; color: white !important; }
.btnTaiwanPay:hover { background: #999; }
.btnTaiwanPay > img { vertical-align: text-bottom; margin-right: 2px; }

.btnLinePay { background: #08bf5b; }
.btnLinePay:hover { background: #999; }
.btnLinePay > img { vertical-align: text-bottom; }


/*麵包屑*/
.TitBox { background: #6FAD98; color: #FFF; padding: 15px 0 15px 50px; position: relative; margin-top: 10px; text-shadow: 0 0 2px #666; }
.TitBox > ul { list-style: none; padding: 0; margin: 0; }
.TitBox > ul > li:first-child { font-size: 13px; font-weight: bold; }
.TitBox > ul > li:last-child { font-size: 24px; font-weight: bold; }
.TitBox > ul > li:last-child > span { font-size: 13px; position: absolute; right: 20px; bottom: 10px; }
.TitBox > ul > li:last-child > span > a { text-decoration: none; color: #FFF; font-weight: 400; }
.TitBox > ul > li:last-child > span > a:hover { color: #36F; text-shadow: initial; }

.TitBox1 { /*background: #eee;*/ padding: 25px 15px ; position: relative; }
.TitBox1 > h1 { font-size: 32px; font-weight: bold; color: brown; text-align: center; margin-top: 0; margin-bottom: 0; }
.TitBox1 > ul { list-style: none; padding: 0; margin: 0; }
.TitBox1 > ul > li:first-child { font-size: 13px; font-weight: bold; color: #999; }
.TitBox1 > ul > li:last-child  { font-size: 24px; font-weight: bold; color: #B81C22; }
.TitBox1 > ul > li:last-child > span { font-size: 13px; display: block; color: #333; }
.TitBox1 > ul > li:last-child > span > a { text-decoration: none; color: #333; }
.TitBox1 > ul > li:last-child > span > a:hover { color: #B81C22; text-shadow: initial; }

.TitBox2 { background: #6FAD98; color: #FFF; padding: 15px 0 15px 50px; position: relative; margin: 10px 0 20px 0; text-shadow: 0 0 2px #666; }
.TitBox2 > ul { list-style: none; padding: 0; margin: 0; }
.TitBox2 > ul > li:first-child { font-size: 13px; font-weight: bold; }
.TitBox2 > ul > li:last-child { font-size: 24px; font-weight: bold; }
.TitBox2 > ul > li:last-child > span { font-size: 13px; position: absolute; right: 20px; bottom: 10px; }
.TitBox2 > ul > li:last-child > span > a { text-decoration: none; color: #FFF; font-weight: 400; }
.TitBox2 > ul > li:last-child > span > a:hover { color: #36F; text-shadow: initial; }

/*小標題*/
.h2title { text-decoration: underline; }

/*頁標題*/
.RegBox  { background: #EEE; }
.RegBox > .RegTitBox { display: inline-block; width: 100%; min-height: 50px; text-align: center; position: relative; margin-top: 20px; margin-bottom: 20px; }
.RegBox > .RegTitBox:before { content: ""; width: 100%; height: 1px; background: #999; position: absolute; left: 0; top: 50%; clear: both; }
.RegBox > .RegTitBox > div { width: 200px; height: 50px; background: #EEE; line-height: 50px; display: inline-block; color: #333; font-size: 24px; font-weight: bold; z-index: 1; position: absolute; top: 50%; left: 50%; margin-top: -25px; margin-left: -100px; }

/*送出大按鈕*/
.RegBox2 { background: none; padding: 0 15px; }
.RegBox > .BtnBox { display: inline-block; width: 100%; min-height: 50px; text-align: center; position: relative; margin-top: 20px; margin-bottom: 30px; }
.RegBox > .BtnBox:before { content: ""; width: 100%; height: 1px; background: #999; position: absolute; left: 0; top: 50%; clear: both; }
.RegBox > .BtnBox > div { background: #EEE; padding: 0 10px; display: inline-block; z-index: 1; position: relative; }
.RegBox > .BtnBox > div > .btnBigRed  { border: none; box-shadow:inset 0px 1px 0px 0px #cf866c; background: linear-gradient(to bottom, #d0451b 5%, #bc3315 100%); background-color:#d0451b; border:1px solid #942911; border-radius: 5px; color: #FFF; font-size: 24px; font-weight: bold; padding: 10px 25px; margin: 5px; cursor: pointer; text-decoration: none; display: inline-block; } 
.RegBox > .BtnBox > div > .btnBigGray { border: none; box-shadow:inset 0px 1px 0px 0px #ffffff; background: linear-gradient(to bottom, #aaaaaa 5%, #333333 100%); background-color:#eeeeee; border:1px solid #999999; border-radius: 5px; color: #FFF; font-size: 24px; font-weight: bold; padding: 10px 25px; margin: 5px; cursor: pointer; text-decoration: none; display: inline-block; }
.RegBox > .BtnBox > div > .btnBigRed:hover  { background:linear-gradient(to bottom, #bc3315 5%, #d0451b 100%); background-color:#bc3315; text-shadow: 0 0 5px #333; } 
.RegBox > .BtnBox > div > .btnBigGray:hover { background:linear-gradient(to bottom, #555555 5%, #aaaaaa 100%); background-color:#bc3315; text-shadow: 0 0 5px #333; }


/*遠距入口*/
/*#MainBox .indexTxt { font-size: 20px; font-weight: bold; color: red; text-align: center; margin-bottom: 15px; }*/


/*遠距入口(兩顆大按鈕的畫面_已捨棄)*/
#MainBox_Page .FcR { font-size: 1.2em; margin-bottom: 15px; }
#MainBox_Page .btnbox { text-align: center; }
#MainBox_Page .btnbox .btn {
	box-shadow:inset -2px -2px 16px 0px #aaa;
	background-color:#fff;
	border-radius:15px;
	border:2px solid #999;
	display:inline-block;
	cursor:pointer;
	color:#333;
	font-family:Arial;
	font-size:32px;
	font-weight:bold;
	padding:110px 24px 10px;
	margin:15px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
#MainBox_Page .btnbox .btn:hover {
    background:linear-gradient(to bottom, #552E31 5%, #352421 100%);
    background-color:#ffecb5;
}
#MainBox_Page .btnbox .btn:active {
	position:relative;
	top:1px;
}
#MainBox_Page .btnbox #btnFirst { background-image: url(../img/icon/entrance-signup.png); background-position: center 15px ; background-repeat: no-repeat; }
#MainBox_Page .btnbox #btnFirst:disabled { 
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;

  	box-shadow:inset -2px -2px 16px 0px #aaa;
	border-radius:15px;
	border:2px solid #999;
	display:inline-block;
	cursor:pointer;
	font-family:Arial;
	font-size:32px;
	font-weight:bold;
	padding:110px 24px 10px;
	margin:15px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;

    background-image: url(../img/icon/entrance-signup-light.png); 
    background-color: #ccc; 
    color: #666; 
} 
#MainBox_Page .btnbox #btnQuery { background-image: url(../img/icon/entrance-inquire.png); background-position: center 15px; background-repeat: no-repeat; }


/***遠距流程圖***/
#flowchart { display: flex; flex-wrap: wrap; align-items: center; max-width: 1015px; margin: 0 auto 15px; }
#flowchart > div { width: 203px; height: 92px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; text-align: center; padding: 10px; margin: 8px 0; position: relative; font-size: 18px; font-weight: bold; background-repeat: no-repeat; }
#flowchart > div:first-child     { background-image: url(../img/public/flowbg-start.png); }
#flowchart > div:nth-child(even) { background-image: url(../img/public/flowbg-even.png); }
#flowchart > div:nth-child(odd)  { background-image: url(../img/public/flowbg-odd.png); }
#flowchart > div:last-child      { background-image: url(../img/public/flowbg-end-even.png); color: #fff; }
#flowchart > div > span { display: inline-block; }
@media (max-width: 575px) {
    #flowchart > div { width: 50%; height: 82px; margin: 0; font-size: 16px; background-size: contain; }
}


/***遠距最新檢定時程***/
.alertTxt { color:#a40505; background: #f7d0d0; border-radius: 5px; border: 1px solid #CCC; padding: 10px; margin: 20px 0px 25px; font-size:16px; font-weight:bold; line-height:1.6; }
.alertTxt ul { padding-left: 1.5em; margin-bottom: 0; }
/*行事曆*/
.table-condensed { border-collapse:separate; border-spacing: 5px; border: 1px solid #ccc; /*border-bottom: none;*/ }
.table-condensed .day.weekend  { background: #bd9699; color: #fff; border-radius: 20px; }
.table-condensed .day.weekend:hover { background: #552E31; }
.table-condensed .day.disabled { text-decoration: line-through; }
.table-condensed .day.disabled.weekend  { background: initial; color: #888; }
.table-condensed .day.active.weekend { background: #552E31; }
.table-condensed .year.active, 
.table-condensed .month.active, 
.table-condensed .decade.active { background: #552E31; }
.table-condensed .glyphicon:hover { color: #552E31; }
#DatePick { border: none !important; }
#DatePick.noExam { font-size: 24px; font-weight: bold; color: red; text-align: center; }
#DatePick .RegBox > .BtnBox > div { background: #fff; }
#DatePick .RegBox > .BtnBox > div .btnBigRed:disabled, 
#DatePick .RegBox > .BtnBox > div .btnBigRed:disabled:hover { color: #888; text-shadow: none; background: #eee; border: 1px solid #ccc; box-shadow: 0px 1px 0px 0px #aaa; cursor: default; }
.mainDate { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 25px; }
.mainDate > label { font-size: 20px; font-weight: bold; color: #552E31; padding: 0 15px; }
.mainDate > .input-group .input-group-addon { font-size: 18px; }
.mainDate > .input-group .date { font-size: 20px; font-weight: bold; color: #B81C22; text-align: center; }
.otherDate > table { font-size: 17px; }
.otherDate > table > thead > tr > th { width: 20%; text-align: center; color: #552E31; background: #bd9699; }
.otherDate > table > tbody > tr > td { width: 20%; text-align: center; background: #f3f3f3; }
.otherDate > table > tbody > tr > td:first-child { color: brown; }
.otherDate > table > tbody > tr > td > label { margin-bottom: 0; }
@media screen and (max-width: 991px) {
    .mainDate { flex-direction: column; }
    .mainDate > label { text-align: center; margin-bottom: 15px; position: relative; }
    .mainDate > label:before { content: ""; display: block; width: 100%; height: 1px; background: #ccc; position: absolute; left: 0; top: 0.5em; z-index: 0; }
    .mainDate > label > span { padding: 0 15px; position: relative; z-index: 1; background: #fff; }
    .mainDate > .input-group .date { text-align: left; padding-left: calc(50% - 22px - 2.5em); }
}
@media screen and (min-width: 768px) {
    .otherDate > table > tbody > tr > td { padding: 10px 0; }
}
@media screen and (max-width: 767px) {
    .otherDate > table { border: none; }
    .otherDate > table > thead { display: none; }
    .otherDate > table > tbody > tr > td { display: block; width: 100%; text-align: left; margin-bottom: 5px; }
    .otherDate > table > tbody > tr > td:before { content: attr(data-label); font-weight: bold; color: #552E31; }
    .otherDate > table > tbody > tr > td > div { display: inline-block; margin-left: 0.3em; }
}


/*會員註冊同意書*/
.RegAppBox { padding: 10px; background: #EEE; }
.RegAppBox > div { overflow: auto; height: 300px; border: 1px solid #CCC; background: #FFF; margin-bottom: 10px; }
.RegAppBox > div > ol > li { margin-bottom: 20px; }
.RegAppBox > div > ol > li > b { display: block; }
.RegAppBox > div > ol > li > ol { padding-left: 16px; list-style: upper-roman; }
.RegAppBox > div > ol > li > ol > li > ul { padding-left: 16px; }
.RegAppBox p > #CkBox { width: 25px; height: 25px; vertical-align: top; cursor: pointer; }
.RegAppBox p > label { font-size: 1.2em; font-weight: bold; }


/*遠距報名注意事項*/
.Notice { padding: 10px 35px 0; }
.Notice li { line-height: 1.8; }
.Notice > p > #CkBox { width: 25px; height: 25px; vertical-align: top; cursor: pointer; }
.Notice > p > label { font-size: 1.2em; font-weight: bold; }


/*表單共用格式_start*/
.RegAppDateBox { display: flex; flex-wrap: wrap; padding: 0 15px; }
.RegAppDateBox > div > label { min-height: 25px; display: flex; flex-wrap: wrap; }
.RegAppDateBox > div > label i { font-style: normal; display: inline-block; }
.RegAppDateBox > div > label table { display: inline-block; border-collapse: collapse; border-spacing: 0px; }
.RegAppDateBox > div > label table input[type=radio] { width: 18px; height: 18px; vertical-align: bottom; }
.RegAppDateBox > div > label .star { font-size:16px; color:#cf0101; font-weight:bold; }
.RegAppDateBox select,
.RegAppDateBox div.iPut01, 
.RegAppDateBox input[type=date],
.RegAppDateBox input[type="text"], 
.RegAppDateBox input[type="password"] { width: 100%; min-height: 35px; line-height: 35px; box-sizing: border-box; border: 1px solid #CCC; border-radius: 5px; padding: 0 5px; margin: 5px 0; color: #333; background: #fff; font-size: 15px; }
.RegAppDateBox select:disabled,
.RegAppDateBox div.iPut01:disabled, 
.RegAppDateBox input[type=date]:disabled,
.RegAppDateBox input[type="text"]:disabled, 
.RegAppDateBox input[type="password"]:disabled {
  background-color: #e9ecef; opacity: 1;
}

.RegAppDateBox div.iPut02 { background: #FFF; border-radius: 5px; border: 1px solid #CCC; margin: 5px 0; }
.RegAppDateBox div.iPut02 a { text-decoration: none; color: #B81C22; }
.RegAppDateBox div.iPut02 > table { width: 100%; }
.RegAppDateBox div.iPut02 input[type=radio] { width: 25px; height: 25px; vertical-align: middle; margin-left: 10px; margin-right: 7px; }
.RegAppDateBox div.iPut02 input[type=checkbox] { width: 25px; height: 25px; vertical-align: middle; cursor: pointer; margin-right: 7px; }

/*radio*/
.RegAppDateBox div.iPut02 table.RdBox tr { display: flex; flex-wrap: wrap; }
.RegAppDateBox div.iPut02 table.RdBox tr > td { width: 50%; display: flex; line-height: 1.5; }
.RegAppDateBox div.iPut02 table.RdBox tr > td > label { width: calc(100% - 30px);}
/*checkbox*/
.RegAppDateBox div.iPut02 table.CkBox td { display: flex; line-height: 1.5; margin: 3px 0; }
.RegAppDateBox div.iPut02 table.CkBox td > label { width: calc(100% - 30px);}
/*ol*/
.RegAppDateBox div.iPut03 { color:#a40505; background: #f7d0d0; border-radius: 5px; border: 1px solid #CCC; padding: 10px; margin-bottom: 25px; font-size:16px; font-weight:bold; line-height:1.6; }
.RegAppDateBox div.iPut03 a { color: #333; }
.RegAppDateBox div.iPut03 ol { padding-left: 1.5em; }

#tabs .RegAppDateBox { padding: 0; }

.areaA, .areaB, .areaC, .areaD { margin: 5px 0; padding: 0 5px; }
.areaA { width: 50%; }
.areaB { width: 100%; }
.areaC { width: 100%; }
.areaD { width: 50%; }
.areaB select { width: auto; }
.areaC div.iPut02 { padding: 5px; }
.addr { display: flex; margin: 0 -5px; }
.addr select,
.addr input[type=text] { margin: 0 5px; }
/*特殊需求*/
.areaC > div { display: flex; line-height: 1.5; }
.areaC > div > label { width: calc(100% - 30px);}
.areaC > div > input[type=checkbox] { width: 25px; height: 25px; vertical-align: middle; cursor: pointer; margin-right: 7px; }
@media screen and (max-width:991px) {
	.areaA { width:100%; }
    .areaC div.iPut02 table.RdBox tr > td { width: 100%; }
}
@media screen and (max-width:767px) {
	.areaD { width:100%; }
    .addr { flex-wrap: wrap; }
    .addr select,
    .addr input[type=text] { margin: 5px; }
}
/*表單共用格式_end*/


/*購書篩選*/
#classify { /*margin-bottom: 20px;*/ display: flex; background: linear-gradient(to bottom, #ffffff 0%,#ededed 100%); border-radius: 12px; box-shadow: 0 0 6px #aaa; padding: 5px 10px; }
#classify > div:first-child { width: 3em; min-width: 3em; line-height: 40px; text-align: center; color: #555; font-weight: bold; }
#classify .btn { width: 4.3em; padding: 0.3em 0; }
#classify .btn:hover { cursor: pointer; }
/*全部*/
.btn-default-all { color: #333; background-color: #ddd; border: 1px solid #bbb; }
.btn-default-all-choose { color: #fff; background-color: #555; }
/*初等*/
.btn-defaultA { color: #333; background-color: #ddd; border: 1px solid #bbb; }
.btn-defaultA-choose { color: #fff; background-color: #7FBE26; }
/*中等*/
.btn-defaultB { color: #333; background-color: #ddd; border: 1px solid #bbb; }
.btn-defaultB-choose { color: #fff; background-color: #65AADD; }
/*中高等*/
.btn-defaultC { color: #333; background-color: #ddd; border: 1px solid #bbb; }
.btn-defaultC-choose { color: #fff; background-color: #F39800; }
/*高等*/
.btn-defaultE { color: #333; background-color: #ddd; border: 1px solid #bbb; }
.btn-defaultE-choose { color: #fff; background-color: #EB6D8E; }
/*優等*/
.btn-defaultF { color: #333; background-color: #ddd; border: 1px solid #bbb; }
.btn-defaultF-choose { color: #fff; background-color: #7A62A9; }
/*聽力*/
.btn-defaultG { color: #333; background-color: #ddd; border: 1px solid #bbb; }
.btn-defaultG-choose { color: #fff; background-color: #B81C22; }
@media screen and (min-width: 768px) {
    #classify { margin-bottom: 20px; }
}
@media screen and (max-width: 767px) {
    #classify { margin-bottom: 5px; }
}


/*購書列表*/
.buyTxt { color: #552E31; font-size: 20px; line-height: 1.6; padding: 0 20px; margin-bottom: 25px; }
.buyAlert { text-align: center; color:#a40505; background: #f7d0d0; border-radius: 5px; border: 1px solid #CCC; padding: 10px; margin: 20px 20px 25px; font-size:16px; font-weight:bold; line-height:1.6; }
#divBuy { padding: 0 20px; }
#BookList > table { width: 100%; border-collapse:separate; border-spacing: 5px; }
#BookList > table > tbody > tr > td > select { font-size: 1em; width: 3.5em; }
#BookList > .tablePro > tbody > tr > td.bookpic img { height: 100px; vertical-align: middle; box-shadow: 1px 1px 6px #aaa; }
#BookList > .tablePro > tbody > tr > td > a { text-decoration: none; font-weight: bold; }
#BookList > .tablePro > tbody > .trA > td:nth-child(2) > a { color: #3e6605; }
#BookList > .tablePro > tbody > .trB > td:nth-child(2) > a { color: #014678; }
#BookList > .tablePro > tbody > .trC > td:nth-child(2) > a { color: #8d5800; }
#BookList > .tablePro > tbody > .trE > td:nth-child(2) > a { color: #b52349; }
#BookList > .tablePro > tbody > .trF > td:nth-child(2) > a { color: #4d2897; }
#BookList > .tablePro > tbody > .trG > td:nth-child(2) > a { color: #b81c22; }
#BookList h3 { padding: 0 10px; }
#BookList h3 > img { vertical-align: bottom; margin-right: 5px; }
#countB { margin-top: 15px; text-align: center; font-size: 20px; font-weight: bold; color: brown; }
.OrderTotal > p { margin: 10px 13px; }
.OrderTotal > p:last-child > span:nth-child(2) { color: #B81C22; font-size: 1.2em; font-weight: bold; }
@media screen and (min-width: 768px) {
    #BookList > table > thead > tr > th { padding: 5px 0;  background: #555; color: #fff; }
    #BookList > table > tbody > tr > td { padding: 8px; }
    /*書籍選購*/
    #BookList > .tablePro { background: #fff; }
    #BookList > .tablePro > tbody > tr:nth-child(n-2) > td { border-bottom: 1px solid #ccc; }
    #BookList > .tablePro > tbody > tr > td.bookpic { text-align: center; }
    #BookList > .tablePro > tbody > tr > td:nth-child(n+3) { text-align: center; }
    /*報名明細*/
    #BookList > .tableSignup > tbody > tr > td:nth-child(2) { text-align: center; }
    /*購書明細*/
    #BookList > .tableBook > tbody > tr > td:nth-child(2), 
    #BookList > .tableBook > tbody > tr > td:nth-child(3) { text-align: center; }
}
@media screen and (max-width: 767px) {
    #BookList > table > thead { display: none; }
    #BookList > table > tbody > tr { display: flex; flex-wrap: wrap; width: 100%; }
    #BookList > table > tbody > tr > td { text-align: left; line-height: 1.5; padding: 8px 10px; }
    #BookList > table > tbody > tr > td:before { content: attr(data-label); }
    /*書籍選購*/
    #BookList > .tablePro > tbody > tr { justify-content: flex-end; position: relative; margin: 10px 0; padding: 8px 0; background: #fff; box-shadow: 0 1px 6px #999; border-radius: 4px; }
    #BookList > .tablePro > tbody > tr > td { padding: 2px 10px; }
    #BookList > .tablePro > tbody > tr > td:nth-child(1) { width: 100px; position: absolute; left: 0; top: calc(50% - 50px); }
    #BookList > .tablePro > tbody > tr > td:nth-child(2) { width: calc(100% - 100px); font-weight: bold; } 
    #BookList > .tablePro > tbody > tr > td:nth-child(3) { width: calc(100% - 100px); color: darkred; }
    #BookList > .tablePro > tbody > tr > td:nth-child(4),
    #BookList > .tablePro > tbody > tr > td:nth-child(5) { width: calc(100% - 100px); }
    /*報名明細*/
    #BookList > .tableSignup > tbody > tr > td:nth-child(1) { width: 100%; background: #e5e5e5; }
    #BookList > .tableSignup > tbody > tr > td:nth-child(2) { width: 100%; text-align: right; }
    /*購書明細*/
    #BookList > .tableBook > tbody > tr > td:nth-child(1) { width: 100%; background: #e5e5e5; }
    #BookList > .tableBook > tbody > tr > td:nth-child(2) { width: 50%; }
    #BookList > .tableBook > tbody > tr > td:nth-child(3) { width: 50%; text-align: right; }
}


/*確認訂單*/
#DivO #divOrder { padding: 0 20px; }
#DivO #divOrder #BookList { box-shadow: 1px 1px 6px #aaa; background: #fff; margin-bottom: 20px; }
#DivO #divOrder #BookList h3 { margin: 0 0 0.5em; }


/*確認個資*/
#DivM .confirmPF { padding: 0 25px; line-height: 1.8; display: flex; flex-wrap: wrap; }
#DivM .confirmPF .col-left, 
#DivM .confirmPF .col-right { width: 50%; }
@media (max-width: 991px) {
    #DivM .confirmPF .col-left, 
    #DivM .confirmPF .col-right { width: 100%; }
}


/*OrderList_start*/
.SW { display: none; background: #f5f5f5; padding: 0px 10px 10px; }
.N1 { margin: 0; padding: 10px 5px; font-size: 18px; color: #552E31; }
.N1 > img { height: 27px; vertical-align: bottom; }
.S1 { width: 100%; border-collapse: collapse; border-spacing: 0px; color: #333; }
.S1 tr td { padding: 5px 10px; }
.S1 tr:first-child td { background: #bd9699; color: #552E31; padding: 5px 10px; }
.S1 tr:nth-child(n+2) td { padding: 5px 10px; }
@media screen and (min-width:768px) {
    .S1 tr { border-bottom: 1px solid #bbb; }
    .S1 tr td:nth-child(n+2) { text-align: center; }
}
@media screen and (max-width:767px) {
    .S1 tr { padding: 5px 0; }
    .S1 tr:first-child { display: none; }
    .S1 tr:nth-child(n+2) { display:block; }
    .S1 tr:nth-child(n+2) td { display: block; }
    .S1 tr:nth-child(n+2) td:before { content: attr(data-label); }
    .S1 tr:nth-child(n+2) td:nth-child(1) { font-weight: bold; background: #bd9699; color: #552E31; }
}
.MTB input[type=button] { margin-left: 5px; font-size: 20px; font-weight: bold; color: #fff; background: brown; border: 1px solid darkred; border-radius: 5px; box-shadow: 1px 1px 3px #aaa; }
/*總計*/
#TBC { display: flex; justify-content: space-between; line-height: 1.5; padding: 0px 10px 0; }
#TBC > .settle > div.red { color: coral; }
#TBC > .settle > div:last-child { font-weight: bold; color:#B81C22; }
#TBC > .settle > div > span:nth-child(1) { width: 7em; }
#TBC > .settle > div > span:nth-child(2) { text-align: right; }
#TBC > .shipping { color: #777; }
#TBC > .shipping .icon { width:23px; height:23px; border:0; vertical-align:middle; }
@media screen and (min-width: 768px) {
    #TBC { flex-direction: row-reverse; }
    #TBC > .settle { min-width: 200px; }
    #TBC > .settle > div { display: flex; justify-content: space-between; }
}
@media screen and (max-width: 767px) {
    /*報名明細*/
    #TBS .S1 tbody > tr { display: flex; flex-wrap: wrap; }
    #TBS .S1 tr:first-child { display: none; }
    #TBS .S1 tbody > tr:nth-child(n+2) td:nth-child(1) { width: 100%; }
    #TBS .S1 tbody > tr:nth-child(n+2) td:nth-child(2) { width: 100%; text-align: right; }
    /*購書明細*/
    #TBB .S1 tbody > tr { display: flex; flex-wrap: wrap; }
    #TBB .S1 tr:first-child { display: none; }
    #TBB .S1 tbody > tr:nth-child(n+2) td:nth-child(1) { width: 100%; }
    #TBB .S1 tbody > tr:nth-child(n+2) td:nth-child(2) { width: 50%; }
    #TBB .S1 tbody > tr:nth-child(n+2) td:nth-child(3) { width: 50%; text-align: right; }
    /*總計*/
    #TBC { flex-wrap: wrap; }
    #TBC > div { width: 100%; }
    #TBC > .shipping { margin-top: 15px; }
}

/*報名資訊*/
#SignupInfo { padding: 0 20px; }
#SignupInfo .btnbox { padding: 20px 0; text-align: center; }
#SignupInfo table { width: 100%; text-align: left; border-collapse: collapse; border: 2px solid #aaa; }
#SignupInfo table tr > th { padding: 5px; border: 1px solid #ccc; background: #eee; font-weight: bold; }
#SignupInfo table tr > td { padding: 5px; border: 1px solid #ccc; background: #fff; }
@media (max-width: 991px) {
    #SignupInfo table tr { display: flex; flex-wrap: wrap; }
    #SignupInfo table tr > th { width: 6em; } 
    #SignupInfo table tr > td { width: calc(100% - 6em); }
}

/*上傳證件*/
#upload { padding: 0 10px; width: 100%; }
#upload > p { text-align: center; margin-top: 0; color: #B81C22; font-size: 20px; font-weight: bold; }
#upload > .cardBox { display: flex; flex-wrap: wrap; justify-content: center; }
#upload > .cardBox > .card { margin: 0 5px 20px; }
#upload > .cardBox > .card > .card-header .picture { text-decoration: none; color: #436ab2; font-size: 0.9em; }
#upload > .cardBox > .card > .card-body { text-align: center; }
#upload > .cardBox > .card > .card-body img { max-width: 100%; max-height: 300px; }
#uploadTxt .iPut03 > h3 { margin: 0; font-size: 18px; }
#uploadTxt .iPut03 > ol { font-size: 16px; margin: 0; }
#uploadTxt .picNtxt > div { display: flex; margin: 15px 0 0; }
#uploadTxt .picNtxt > div img { margin: 0 10px 10px; box-shadow: 1px 1px 8px #aaa; width: 180px; }
#uploadTxt .picNtxt > div h4  { margin: 0; font-size: 18px; }
#uploadTxt .picNtxt > div ol  { color: #333; font-size: 16px; font-weight: normal; line-height: 1.7; margin: 0; }
@media (min-width: 992px) {
    #upload > .cardBox > .card { width: calc(33.3% - 10px); }
}
@media (max-width: 991px) {
    #upload > .cardBox > .card { width: 100%; }
}
@media (max-width: 767px) {
    #uploadTxt .picNtxt > div { width: 100%; flex-wrap: wrap; justify-content: center; }
}

/*訂單列表*/
#OrderList { padding: 0 20px 30px; }
#OrderList > ul { color: #444; line-height: 1.6; margin: 0 0 1em; padding-left: 1.5em; }
#OrderList > ul a { color: brown; }
#OrderList > div { border: 2px solid #aaa; background: #fff; margin-bottom: 20px; }
#OrderList > div > table { width: 100%; padding: 10px; }
#OrderList > div > table > thead > tr > th { width: 14.2%; text-align: center; padding: 5px 0; color: #552E31; background: #bd9699; }
#OrderList > div > table > tbody > tr > td { width: 14.2%; text-align: center; }
#OrderList > div > table > tbody > tr > td:first-child { font-weight: bold; color: #B81C22; }
#OrderList > div > table > tbody > tr > td > .btng > .btn { width: 7.2em; padding: 5px 0; }
#OrderList > div > table > tbody > tr > td > span > span > div { font-size: 0.9em; color: #777; }
#OrderList > div > table > tbody > tr > td > ul { text-align: left; padding-left: 1.5em; }
@media screen and (min-width: 768px) {
    #OrderList > div > table > tbody > tr > td { padding: 10px 0; }
    #OrderList > div > table > tbody > tr > td > span > span { display: block; }
}
@media screen and (max-width: 767px) {
    #OrderList > div > table > thead { display: none; }
    #OrderList > div > table > tbody > tr > td { display: block; width: 100%; text-align: left; margin-bottom: 5px; }
    #OrderList > div > table > tbody > tr > td:before { content: attr(data-label); }
    #OrderList > div > table > tbody > tr > td > .btng { display: inline-block; }
    #OrderList > div > table > tbody > tr > td > span > span > div { display: inline-block; }
}
/*OrderList_end*/


/*承辦人總覽*/
#overview { padding: 0 15px; }
#overview > table { margin: 0 auto 15px; }
#overview > table td { width: 50%; vertical-align: top; color: #552E31; font-size: 20px; font-weight: bold; line-height: 1.5; }
#overview > .cardBox { display: flex; flex-wrap: wrap; justify-content: space-between; }
#overview > .cardBox > .card { margin: 0 0 20px; }
#overview > .cardBox > .card > .card-header .picture { text-decoration: none; color: #436ab2; font-size: 0.9em; }
#overview > .cardBox > .card > .card-body { text-align: center; }
#overview > .cardBox > .card > .card-body table { margin: 10px auto 0; }
#overview > .cardBox > .card > .card-body table tr > td:nth-child(1) { text-align: right; }
#overview > .cardBox > .card > .card-body table tr > td:nth-child(2) { text-align: right; }
#overview > .cardBox > .ttbb > table { width: 100%; min-height: 203px; border-collapse: collapse; border: 2px solid #aaa; }
#overview > .cardBox > .ttbb > table tr > th { border: 1px solid #ccc; background: #777; color: #fff; padding: 5px; }
#overview > .cardBox > .ttbb > table tr > td { border: 1px solid #ccc; padding: 3px; }
#overview > .cardBox > .ttbb > table tr > td:nth-child(1) { background: #eee; text-align: center; }
#overview > .cardBox > .ttbb > table tr > td:nth-child(2) { background: #fff; text-align: center; }
#overview > .cardBox > .ttbb > table tr > td > span { color: #B81C22; }
@media (max-width: 991px) {
    #overview > table tr { display: flex; flex-wrap: wrap; }
    #overview > table tr > td { width: 100%; }
}
@media (min-width: 768px) {
    #overview > .cardBox > .card { width: calc(40% - 10px); }
    #overview > .cardBox > .ttbb { width: calc(60% - 10px); }
}
@media (max-width: 767px) {
    #overview > .cardBox > .card, 
    #overview > .cardBox > .ttbb { width: 100%; }
}


/*承辦人查詢*/
#IQBox { padding: 0 15px; }
#IQBox .btnbox { padding: 20px 0; text-align: center; }
#IQBox .tbbox  { background: #fff8e6; box-shadow: 1px 2px 10px #ccc; border-radius: 12px; padding: 15px; margin-bottom: 25px; }
#IQBox .tbbox > table { width: 100%; border-collapse: separate; border-spacing: 8px; }
#IQBox .tbbox > table tr > th { color: #552E31; font-weight: bold; text-align: right; }
#IQBox .tbbox > table tr > td select, 
#IQBox .tbbox > table tr > td input[type=text] { width: 100%; height: 28px; font-size: 1em; }
#IQBox .tbbox > table tr > td input[type=submit] { width: 100%; }
#IQBox .tbbox > table tr > td span { display: inline-block; }
@media (min-width: 992px) {
    #IQBox .tbbox > table tr:nth-child(2) > td { width: 18%; }
}
@media (max-width: 991px) {
    #IQBox .tbbox > table tr { display: flex; flex-wrap: wrap; }
    #IQBox .tbbox > table tr > th { width: 4.5em; margin: 5px 0; } 
    #IQBox .tbbox > table tr:nth-child(1) > td, 
    #IQBox .tbbox > table tr:nth-child(3) > td { width: calc(100% - 4.5em); margin: 5px 0; }
    #IQBox .tbbox > table tr:last-child > td:last-child { width: 100%; }
}
@media (min-width: 768px) and (max-width: 991px) {
    #IQBox .tbbox > table tr:nth-child(2) > td { width: calc(50% - 4.5em); margin: 5px 0; }
}
@media (max-width: 767px) {
    #IQBox .tbbox > table tr:nth-child(2) > td { width: calc(100% - 4.5em); margin: 5px 0; }
}

/*承辦人查詢結果*/
#divIQ { margin-bottom: 30px; padding: 0 15px; }
#divIQ .IQBtn { text-align: center; padding: 15px; }
#IQList > table { width: 100%; border: 2px solid #aaa; background: #fff; border-collapse: collapse; }
#IQList > table > thead > tr > th { text-align: center; padding: 5px; border-left: 1px solid #ccc; color: #552E31; background: #bd9699; }
#IQList > table > tbody > tr > td { text-align: center; padding: 5px; }
#IQList > table > tbody > tr > td:first-child { font-weight: bold; color: #B81C22; }
#IQList > table > tbody > tr > td > span { display: inline-block; }
@media screen and (min-width: 992px) {
    #IQList > table { padding: 5px; }
    #IQList > table > tbody > tr > td { border-bottom: 1px solid #ccc; }
    #IQList > table > tbody > tr > td:nth-child(9) { max-width: 6.8em; }
}
@media screen and (max-width: 991px) {
    #IQList > table > thead { display: none; }
    #IQList > table > tbody > tr { border-bottom: 1px solid #ccc; }
    #IQList > table > tbody > tr:nth-child(even) { margin-bottom: 5px; }
    #IQList > table > tbody > tr:nth-child(even) > td { background: #eee; }
    #IQList > table > tbody > tr > td { display: block; text-align: left; }
    #IQList > table > tbody > tr > td:before { content: attr(data-label); width: 5em; display: inline-block; }
}
@media (min-width: 768px) and (max-width: 991px) {
    #IQList > table > tbody > tr { display: flex; flex-wrap: wrap; }
    #IQList > table > tbody > tr > td { width: 50%; }
}


/* 一般Table */
.NMTable { background: #fff; border-collapse: collapse; border-spacing: 0px; width: 100%; }
.NMTable tr th { font-size: 1.1em; font-weight: bold; color: #552E31; background: #bd9699; border: 1px solid #FFF; border-bottom: none; padding: 10px; text-align: center; }
.NMTable tr td { border: 1px solid #CCC; padding: 5px; }


/* 多欄式 RWDTable */
.RWDTable { background: #fff; border-collapse: collapse; border-spacing: 0px; width: 100%; }
.RWDTable tr th { font-weight: bold; color: #552E31; background: #bd9699; border: 1px solid #FFF; border-bottom: none; padding: 10px; text-align: center; }
.RWDTable tr td { border: 1px solid #CCC; padding: 5px; }
.RWDTable tr:nth-child(2n+3) td { background: #efefef; }
.RWDTable tr td a { color: #B81C22; }
.RWDTable tr td a:hover { text-decoration: none; }
@media screen and (max-width: 767px) {
    .RWDTable tr { margin-bottom: 20px; display: block; }
    .RWDTable tr:first-child { display: none; }
    .RWDTable tr:nth-child(2n+3) td { background: none; }
    .RWDTable tr td:first-child { padding: 7px 5px; display: block; text-align: center; font-size: 1.1em; font-weight: bold; color: #552E31; background: #bd9699; }
    .RWDTable tr td:nth-child(2n+3) { background: #efefef; }
    .RWDTable tr td:nth-child(n+2) { display: flex; border-top: none; text-align: left; }
    .RWDTable tr td:nth-child(n+2):before { content: attr(data-label); text-transform: uppercase; font-weight: bold; margin-right: 10px; min-width: 7em; text-align: right; }
}


/* 雙欄/四欄式 RWDTable */
.RWDTable2 { background: #fff; border-collapse: collapse; border-spacing: 0px; width: 100%; padding: 0; margin: 0 0 15px; }
.RWDTable2 tr th { font-size: 1.2em; color: #552E31; background: #bd9699; border: 1px solid #ccc; border-bottom: none; padding: 10px; text-align: center; }
.RWDTable2 tr td { border: 1px solid #CCC; padding: 5px; }
.RWDTable2 tr td:nth-child(odd)  { text-align: right; min-width: 6.8em; }
.RWDTable2 tr td a { color: #552E31; }
.RWDTable2 tr td input, 
.RWDTable2 tr td select { font-size: 0.95em; }
.RWDTable2 tr td:nth-child(even) input[type=text], 
.RWDTable2 tr td:nth-child(even) select, 
.RWDTable2 tr td:nth-child(even) textarea { width: 100%; }


/* 相框式 RWDTable */
.full-width { width: 100%; }
.ulist { width: 100%; margin: 0; padding: 0; border-collapse: collapse; border-spacing: 0; }
.ulist tr { border: 1px solid #ccc; padding: 5px; background: #fff; }
.ulist th { background: #bd9699; color: #552E31; border: 1px solid #fff; padding: 10px; text-align: center; text-transform: uppercase; font-size: 1.1em; }
.ulist td { border: 1px solid #ddd; padding: 10px; text-align: center; }
.ulist td a {color: #B81C22; font-weight: bold;}
@media screen and (max-width: 1199px) {
    .ulist { border: 0; }
    .ulist thead { display: none; }
    .ulist tr { margin-bottom: 20px; display: block; }
    .ulist tr td:nth-child(2n+3) { background: #efefef; }
    .ulist tr td:first-child { display: block; font-size: 1.2em; font-weight: bold; background: #bd9699; color: #552E31; text-align: center; }
    .ulist tr td:nth-child(n+2) { display: flex; text-align: left; padding: 10px; border-top: none; }
    .ulist tr td:nth-child(n+2):before { content: attr(data-label); text-transform: uppercase; font-weight: bold; width: 6.2rem; }
}


/*回最上方*/
.BackTop { width: 50px; height: 50px; background: #000; border-radius: 10px; position: fixed; right: 10px; opacity: 0.6; /*display: none;*/ cursor: pointer; box-shadow: 0px 1px 2px #666; z-index: 1000000; }
.BackTop > i { display: block; width: 50px; height: 50px; text-decoration: none; border-radius: 10px; text-align: center; position: relative; }
.BackTop > i::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 0 15px 14px 15px; border-color: transparent transparent #ffffff transparent; position: absolute; top: 10px; left: 10px; }
.BackTop > i::after { content: ""; width: 15px; height: 15px; background: #FFF; position: absolute; top: 22px; left: 18px; }
@media screen and (max-width: 480px) {
	.BackTop { display: block; }
}
/*回最上方*/