body { font-family: 微軟正黑體, Microsoft JhengHei, SimSun, Arial, Helvetica, sans-serif; overflow-x: hidden;  position: relative;   }

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-image:url(../images/bg_index5.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;     /* 關鍵：撐滿容器 */
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px 0px;
}


/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff; /* IE8 proofing */
  color: rgba(255, 255, 255, .75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255, 255, 255, .25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
	width: 700px;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: 700;
}

.center{ margin: 0 auto;}
.text_left{ text-align: left;}
.black_bg{ background-color: #333;}
.margin10{ margin: 10px 0px;}
.mp_0{ margin: 0px !important; padding: 0px !important;}
.margin-10{ margin-left: -10px; }
.clear{ clear: both;}
.btnlogin{ margin-top: 130px; margin-left: -30px;}

/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255, 255, 255, .7);
}
.copyright{ background-color: rgba(0, 0, 0, .3); display: inline; padding: 2px 8px; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;	 }

.black{color: #333; }
.white{ color: #fff;}
.gray_bg{background-color: rgba(0, 0, 0, .1);  }
.note1{  color: #e37c79; text-align: left !important; }
.text_left {text-align: left;}

/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  .site-wrapper-inner {
    vertical-align: middle; /* Start the vertical centering */
  }
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .inner-content2 {
    width: 1000px;
	margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .inner-content {
    width: 700px;
	margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .copyright{ font-size: 8px; background-color: rgba(0, 0, 0, .1); } 
  .imgzero{ display: none; }   
}

@media (min-width: 801px) {
.logosize2{padding-left: 2%; background-image:url(../images/logo_sm.png); width: 94px; height: 48px; }
}

@media (max-width: 800px) {	
.logosize2{padding-left: -2%; background-image:url(../images/logo_small.png); width: 60px; height: 48px; }	
}

@media (max-width: 768px) {	
.btnlogin{ margin-left: 20%; margin-top: 30px;}
}

@media (max-width: 420px) {	
.inner-content2	{margin-top: 25px; }
.imgmargin{ margin-top: 10px;}
}
