html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  min-height: 450px;
  font-family: "微軟正黑體", "Apple LiGothic Medium","Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: #333; width:100%;
  background-color:#FFF;
  vertical-align: baseline; width:100%;
}

html {
  line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: bold;
  font-family: "微軟正黑體", "Apple LiGothic Medium", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  line-height: 22px;
  text-shadow: 0 2px 0 #fff;
}

h1 {font-size: 1.5em; letter-spacing:0.05em;line-height: 1.5em; font-weight:bold;}

h2 {font-size: 1.4em; font-weight:bold;line-height: 1.8em;text-shadow: 0 1px 0 #fff;}

h3 {font-size: 1.1em;line-height: 1.8em;}

p, li, li a {
  font-family:"微軟正黑體", "Apple LiGothic Medium","Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  color: #333;
  list-style: none;
  font-weight: normal;
  font-style: normal;
  font-size: 13px;
  line-height: 1.7em;
}

a {color: #227BBB ;text-decoration: none;}
a:hover{ color:#227BBB; text-decoration:underline;}
a.black{ color:#333;}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

.bold{ font-weight:bold;}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

.hidden {
  overflow: hidden;
}

.fixed {
  position: fixed;
}

.hide {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.center{ text-align:center;}
.left{ float:left;}
.right{ float:right;}

.white{ color:#FFF;}
.blue{ color:#227BBB !important;}
.underline {border-bottom: 1px solid #333;}
.lighterblue{ color:#0083CF;}
.dark_blue{ color:#1C5F8F;}
.lightblue{ color:#e6edf0;}
.gray{ color:#555555;}
.red, .lightred{ color:#F05555 !important;}
.lightgray{ color:#929292;}
.orange, .orange a{ color:#FF9700;}

.box_sh{-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
  -webkit-box-shadow: -1px 0 0 0 #d2d2d2, -1px 0 0 0 #e6e6e6, 1px 0 0 0 #d2d2d2, 2px 0 0 0 #e6e6e6, 0 -1px 0 0 #e8e8e8, 0 2px 0 0 rgba(241, 241, 241, 0.3), 0 1px 0 0 #b1b1b1;
-moz-box-shadow: -1px 0 0 0 #d2d2d2, -1px 0 0 0 #e6e6e6, 1px 0 0 0 #d2d2d2, 2px 0 0 0 #e6e6e6, 0 -1px 0 0 #e8e8e8, 0 2px 0 0 rgba(241, 241, 241, 0.3), 0 1px 0 0 #b1b1b1;
box-shadow: -1px 0 0 0 #d2d2d2, -1px 0 0 0 #e6e6e6, 1px 0 0 0 #d2d2d2, 2px 0 0 0 #e6e6e6, 0 -1px 0 0 #e8e8e8, 0 2px 0 0 rgba(241, 241, 241, 0.3), 0 1px 0 0 #b1b1b1;
-ie7-8-border: 1px solid #dedede;
border: 1px solid #dedede \9;}

.shadow{-moz-box-shadow: 0px 2px 6px #CECECE;
-webkit-box-shadow: 0px 2px 6px #CECECE;
box-shadow: 0px 2px 6px #CECECE;}
/* clearfix --------------------------------------- */
* html .clearfix { height: 1%; }
.clearfix { display: block; }
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}

/* form input --------------------------------------- */
form {margin: 0;border: 0; width:100%;}
label{font-size:1.05em; line-height:2em;}
input, select {color:#969696;padding-left:3px; margin-left:3px;}
input, textarea { background-color:#F1f1f1; background-image:none;margin: 5px 5px 5px 3px; padding: 10px; border-top:1px solid #AAAAAA; border-left:1px solid #AAAAAA; border-bottom:1px solid rgba(0, 0, 0, 0.1); border-right:1px solid rgba(0, 0, 0, 0.1); -webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px;}
select { background-color:#F7F7F7; background-image:none;margin: 5px; padding: 5px; border-top:1px solid #AAAAAA; border-left:1px solid #AAAAAA; border-bottom:1px solid rgba(0, 0, 0, 0.1); border-right:1px solid rgba(0, 0, 0, 0.1); -webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px;}
input:hover, textarea:hover, input:focus, textarea:focus { background-color:#FFF;}
input.bor, a.bor{ border:1px solid #CCC;text-align:center; letter-spacing:0.1em; display:block; padding:1em; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin:0 auto; width:88%; background-color:#FFF;}
select:focus, input:focus, textarea:focus{background:#fff;outline:none;box-shadow: none;}
select {height:30px;width:65%;background-color:#fff;display: inline;margin:0;font-size:15px;color:#888888;}
select:hover {background-color: white;}
* input, * textarea, * select {font-size: 100%;}
input[type="checkbox"] {margin: 0 10px 0 0;padding: 0;border: none;border-radius: 2px;vertical-align: middle;}

/* BTN --------------------------------------- */
a.btn{ cursor: pointer;color: #ffffff; text-align:center;font-size:1.2em; letter-spacing:0.em; display:block; padding:0.8em 1em 0.7em 1em; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }

.sm_btn{border: 1px solid #348FD6;border-radius: 4px;box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);color: #555555;cursor: pointer;font-size: 0.7em;font-weight: 500;height: 31px;line-height: 28px;outline: none;padding: 0.5em 1em 0.5em 1em;text-shadow: 0 1px 0 white;text-decoration: none;vertical-align: middle; box-shadow:none !important;white-space: nowrap;-webkit-font-smoothing: antialiased;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}

.btn_gray{border:1px solid #BEBEBE; color:#696969 !important; font-size:1.1em; margin:0 auto; 
  background: rgb(226,226,226); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(231, 231, 231, 1) 1%, rgba(226, 226, 226, 1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(226,226,226,1)),color-stop(100%,rgba(201,201,201,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(231, 231, 231, 1) 1%,rgba(226, 226, 226, 1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(231, 231, 231, 1) 1%,rgba(226, 226, 226, 1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(231, 231, 231, 1) 1%,rgba(226, 226, 226, 1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(231, 231, 231, 1) 5%,rgba(226, 226, 226, 1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#c9c9c9',GradientType=0 ); /* IE6-9 */
  }
  
.btn_gray:hover{ text-decoration:none;
  background: rgb(201,201,201); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(226,226,226,1) 5%, rgba(201,201,201,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,rgba(201,201,201,1)),color-stop(100%,rgba(226,226,226,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(226,226,226,1) 5%,rgba(201,201,201,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(226,226,226,1) 5%,rgba(201,201,201,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(226,226,226,1) 5%,rgba(201,201,201,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(226,226,226,1) 5%,rgba(201,201,201,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9c9c9', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-9 */
  }
  
a.pass{
  color:#8F8F8F!important;
    background: -webkit-linear-gradient(to bottom, #E7E7E7, #FFFFFF)!important;
    background: -moz-linear-gradient(to bottom, #E7E7E7, #FFFFFF)!important;
    background: -o-linear-gradient(to bottom, #E7E7E7, #FFFFFF)!important;
    background: linear-gradient(to bottom, #E7E7E7, #FFFFFF)!important;
  }
  
.button, a.button, input.button {
  background: #fafafa;
  background: -webkit-linear-gradient(top, #ffffff, #C4C4C4);
  background: -moz-linear-gradient(top, #ffffff, #C4C4C4);
  background: -o-linear-gradient(top, #ffffff, #C4C4C4);
  background: linear-gradient(top, #ffffff, #C4C4C4);
  border: 1px solid #bbbbbb;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  color: #555;
  margin:0 0.8em 0.8em 0;
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  padding: 0 13px;
  text-shadow: 0 1px 0 white;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  }

.button:hover, a.button:hover, input.button:hover {
  background: #fafafa;
  background: -webkit-linear-gradient(top, #FFFFFF, #B5B5B5);
  background: -moz-linear-gradient(top, #FFFFFF, #B5B5B5);
  background: -o-linear-gradient(top, #FFFFFF,#B5B5B56);
  background: linear-gradient(top, #FFFFFF, #B5B5B5);
  }

.disable{ background:#E2E2E2 !important;}
a.blue_button, .blue_button{
color: #fff;
text-shadow: 0 -1px #00629c;
text-align: center;
background-color: #0079c1;
background: -moz-linear-gradient(center bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);
background: -webkit-gradient(linear,left bottom,left top,color-stop(0%,#0079c1),color-stop(20%,#0079c1),color-stop(100%,#00a1ff));
background: -webkit-linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);
background: -ms-linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);
background: -o-linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);
background: linear-gradient(bottom,#0079c1 0,#0079c1 20%,#00a1ff 100%);
-moz-box-shadow: 0 1px #4dbeff inset;
-webkit-box-shadow: 0 1px #4dbeff inset;
box-shadow: 0 1px #4dbeff inset;
-webkit-border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
border-color: #0079c1 #00588b #004b77;
border-style: solid;
border-width: 1px;
height: 1.4545em;
padding: 8px 15px;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
cursor: pointer;
}

.blue_button:hover {color: #fff !important;
background-color: #005282; text-decoration:none;
background: -moz-linear-gradient(center bottom,#005282 0,#0068A5 20%,#0083CF 100%);
background: -webkit-gradient(linear,left bottom,left top,color-stop(0%,#0079C1),color-stop(20%,#0068A5),color-stop(100%,#00A1FF));
background: -webkit-linear-gradient(bottom,#005282 0,#0068A5 20%,#0083CF 100%);
background: -ms-linear-gradient(bottom,#005282 0,#0068A5 20%,#0083CF 100%);
background: -o-linear-gradient(bottom,#005282 0,#0068A5 20%,#0083CF 100%);
background: linear-gradient(bottom,#005282 0,#0068A5 20%,#0083CF 100%);
border-color: #00629B #004872 #003B5D;
-moz-box-shadow: 0 1px #1794dc inset;
-webkit-box-shadow: 0 1px #1794DC inset;
box-shadow: 0 1px #1794DC inset;
}
