/* `XHTML, HTML4, HTML5 Reset
----------------------------------------------------------------------------------------------------*/
abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,dialog,div,dl,dt,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,meter,nav,object,ol,output,pre,progress,q,rp,rt,ruby,s,samp,section,small,strike,summary,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video,xmp {
    /*#########Please don't place font-family here.'########*/
    border: 0;
    margin: 0;
    padding: 0;
    /*
    font-size:12px;
    color:#5f5f5f;
    */
}

/*Avoid editor bug #####Please don't place color and any font style in here.'######*/
strong, em, span, font, sub, sup, p, a{
    border: 0;
    margin: 0;
    padding: 0;
}
/*
input, textarea{
    font-family:Arial, 'PMingLiU', 新細明體, Verdana, Helvetica, sans-serif;
}
*/
html,
body {
    height: 100%;
    /*font-family:Arial, 'PMingLiU', 新細明體, Verdana, Helvetica, sans-serif;*/
}

html{ overflow-y:scroll;}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    /*
      Override the default (display: inline) for
      browsers that do not recognize HTML5 tags.

      IE8 (and lower) requires a shiv:
      http://ejohn.org/blog/html5-shiv
    */
    display: block;
}

b,
strong {
    /*
      Makes browsers agree.
      IE + Opera = font-weight: bold.
      Gecko + WebKit = font-weight: bolder.
    */
    font-weight: bold;
}

img {
    font-size: 0;
    vertical-align: middle;
    border: 0px;
    /*
      For IE.
      http://css-tricks.com/ie-fix-bicubic-scaling-for-images
    */
    -ms-interpolation-mode: bicubic;
}

li {
    /*
      For IE6 + IE7.
    */
    display: list-item;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th,
td,
caption {
    font-weight: normal;
    /*vertical-align: top;*/
    text-align: left;
}

svg {
    /*
      For IE9 beta.
    */
    overflow: hidden;
}

.png { behavior:url(css/iepngfix.htc); }

table.setborder, table.setborder td, table.setborder th { border-collapse:collapse; border:solid #CCCCCC 1px; }

a, a:link, a:active, a:visited { color:#5f5f5f;  text-decoration:none; }
a:hover { color:#666;  text-decoration:none;  }

.preload { display:none; line-height:0px; font-size:0px; margin:0px; padding:0px; }

.clear_class { float:none; clear:both; font-size:0px; line-height:0px; margin:0px; padding:0px; }

.clearfix:after { content: "."; display:block; height:0px; clear:both; visibility:hidden; }
.clearfix { zoom:1 \9; display:block; }

/*-----------------------------------------------*/

@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Google Chrome Safari 3.0*/
  .small-font{-webkit-text-size-adjust:none;}
}

/* Remove webkit default input type number, date UI buttons */
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
/* Remove webkit default input[type=search] background */
input[type=search]{
  -webkit-appearance: none;
}

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

input[type="submit"],
select {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}