@charset "utf-8";

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; outline:0; font-size:100%; vertical-align:baseline; background:transparent;}
html {overflow-y: scroll;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
ul {list-style:none;}
blockquote, q {quotes:none;}
blockquote:before, blockquote:after, q:before, q:after {content:''; content:none;}
a {margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent;}
ins {background-color:#ff9; color:#000; text-decoration:none;}
mark {background-color:#ff9; color:#000; font-style:italic; font-weight:bold;}
del {text-decoration: line-through;}
abbr[title], dfn[title] {border-bottom:1px dotted; cursor:help;}
table {border-collapse:collapse; border-spacing:0;}
hr {display:block; height:0; background-color: #c7c7c7; border-top: 1px solid #c7c7c7; border-left:0; border-right:0; border-bottom: 1px solid #FFF; margin:1em 0; padding:0;}
*+html hr {height: 2px;}

/* Standar Styles --------------------------------------------------------*/
html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  background: url('../images/bg.jpg');
  font-family: 'Microsoft JhengHei', Arial, sans-serif;
}

#loading {
  position: absolute;
  z-index: 10000;
  background: url('../images/bg.jpg');
  height: 100%;
  width: 100%;
}

#container {
  display: none;
}

.background {
  width: 100%;
  height: 100%;
  background: url('../images/background.jpg') no-repeat center top;
}
a {
  text-decoration: none;  
}
a:hover {
  text-decoration: underline;  
}
p {
  font-size: 14px;
  color: #337db2;
}

/* Content Styles --------------------------------------------------------*/
.wrapper {
  margin: 0 auto;
  width: 870px;
  height: 820px;
  position: relative;
}

.monster {
  position: absolute;
  z-index: 10000000;
  top: 275px;
}

.ooops {
  position: absolute;
  z-index: 10000000;
  top: 200px;
  left: 18px;
  background: url('../images/ooops.png') no-repeat;
  width: 243px;
  height: 236px;
  text-align: center;
}

.ooops p {
  margin: 130px 20px 0 0;
}

.social {
  position: absolute;
  z-index: 10000000;
  top: 525px;
  right: 143px;
}

.social img {
  float: left;
  margin-left: 10px;
}

.social a:hover img {
  margin: 2px 0 0 8px;
}

.sprockets {
  position: absolute;
  top: 124px;
  right: 51px;
  width: 551px;
  height: 456px;
  background: url('../images/back.jpg') no-repeat center center;
}

.s1 {
  position: absolute;
  top: 92px;
  left: 17px;
}

.s2 {
  position: absolute;
  top: 6px;
  right: 31px;
}
.s3 {
  position: absolute;
  top: 215px;
  right: 71px;
}

.frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 551px;
  height: 456px; background: url('../images/frame.png') no-repeat; z-index: 100000;}

/* Footer Styles --------------------------------------------------------*/
footer {
  position: absolute;
  top: 740px;
  width: 870px;
  font-size: 16px;
  color: #FFF;
  text-align: center;
}

footer span {
  color: #ffc600;
}

/* Responsive Styles --------------------------------------------------------*/
@media (max-width: 870px) {
	.wrapper, 
	footer {
	  margin: 0 auto;
	  width: 100%;
	}
	.social {
	  top: 80px;
	  right: auto;
	  left: 50%;
	  margin-left: -144px;
	}
	.ooops {
	  left: 50%;
	  margin-left: -237px;
	}
	.monster {
	  left: 50%;
	  margin-left: -237px;
	  overflow: hidden;
	}
	.sprockets {
	  display: none;
	}
}

@media (max-width: 500px) {
	.social {
	  top: 50px;
	}
	.monster img {
	  width: 100%;
	  margin-left: 15%;
	}
	.ooops {
	  top: 130px;
	  left: 18px;
	  margin-left: 0;
	}
}