
/* 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/index_bg2.png);
  -moz-background-size:cover;
  -webkit-background-size:cover;
  -o-background-size:cover;
  background-size:cover;
  background-repeat:no-repeat;
  background-color:#440e45;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  font-family: 微軟正黑體, Microsoft JhengHei, SimSun, Arial, Helvetica, sans-serif; 
}

/* 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 30px 10px 30px;
}


/*
 * 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: bold;
  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;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}


/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.8);
  font-size: 11px;
}


.loginarea1 { position:absolute; top: 7.5%; right:20%; width: 330px; height: 270px; background-image:url(../images/login_bg_ip.png); background-repeat:no-repeat;
padding: 140px 0px 0px 70px; cursor: pointer; }
.loginarea4 { position:absolute; top: 7.5%; right:20%; width: 330px; height: 270px; background-image:url(../images/login_bg_ip2.png); background-repeat:no-repeat;
padding: 140px 0px 0px 70px; cursor: pointer; }
.loginarea4:hover { position:absolute; top: 7.5%; right:20%; width: 330px; height: 270px; background-image:url(../images/login_bg_ip_hover2.png); background-repeat:no-repeat;
padding: 140px 0px 0px 70px; cursor: pointer; }
.loginarea1:hover { position:absolute; top: 7.5%; right:20%; width: 330px; height: 270px; background-image:url(../images/login_bg_ip_hover.png); background-repeat:no-repeat;
padding: 140px 0px 0px 70px; cursor: pointer; }
.loginarea3 { position:absolute; top: 25%; right:10%; width: 180px; height: 160px; background-image:url(../images/login_bg_guest.png); background-repeat:no-repeat;
padding: 140px 0px 0px 50px; cursor: pointer; }
.loginarea3:hover { position:absolute; top: 25%; right:10%; width: 180px; height: 160px; background-image:url(../images/login_bg_guest_hover.png); background-repeat:no-repeat;
padding: 140px 0px 0px 50px; cursor: pointer; }
.loginarea2{ position:absolute; top: 43%; right: 5%; width: 360px; height: 300px; background-image:url(../images/login_bg_account.png); background-repeat:no-repeat;
padding: 110px 0px 0px 30px; }



.p1{color:#5c2b7b; text-align:left !important;}
.p_note1{ color:#7e479d; text-align:left !important; font-size:11px; text-shadow:none !important; }
.p_note2{ color:#281653; text-align:left !important; font-size:11px; text-shadow:none !important; }

.copyright{ position:absolute; bottom:8px; font-size:10px; text-align:center; margin-top: 10px; margin: 0 auto; width: 98%; font-size:11px; }

.btn_login {
	font-size:16px;
	font-family:Arial;
	font-weight:normal;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	border:1px solid #9a4ec9;
	padding:9px 18px;
	text-decoration:none;
	background:-moz-linear-gradient( center top, #824ba2 5%, #451863 100% );
	background:-ms-linear-gradient( top, #824ba2 5%, #451863 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#824ba2', endColorstr='#451863');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #824ba2), color-stop(100%, #451863) );
	background-color:#824ba2;
	color:#ffffff;
	display:inline-block;
	text-shadow:1px 1px 0px #8c48c4;
 	-webkit-box-shadow:inset 1px 1px 0px 0px #b276e3;
 	-moz-box-shadow:inset 1px 1px 0px 0px #b276e3;
 	box-shadow:inset 1px 1px 0px 0px #b276e3;
}.btn_login:hover {
	background:-moz-linear-gradient( center top, #451863 5%, #824ba2 100% );
	background:-ms-linear-gradient( top, #451863 5%, #824ba2 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#451863', endColorstr='#824ba2');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #451863), color-stop(100%, #824ba2) );
	background-color:#451863;
}.btn_login:active {
	position:relative;
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 700px;
  }
}

@media screen and (max-width: 699px) and (min-width: 280px) {
  body {   height: 100%;
  background-image:url(../images/index_bg_mobile.jpg);
  -moz-background-size:cover;
  -webkit-background-size:cover;
  -o-background-size:cover;
  background-size:cover;
  background-repeat:no-repeat;
  background-color:#440e45;}
}
