@import url(http://fonts.googleapis.com/css?family=Karla);

/* HTML5 Boilerplate Reset Code ========================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow: hidden; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 14px; line-height: 1.231; font-family: sans-serif; color: #000; }

::-moz-selection { background: #fff; color: #fff; text-shadow: none; }
::selection { background: #fff; color: #fff; text-shadow: none; }

a { text-decoration:none; color:#19558D; }
a:hover { outline: 0; }
a:focus { outline: thin dotted; }

abbr[title] { border-bottom: 1px dotted; }
b, strong {
	font-weight: bold;
	font-style: oblique;
	color: #FBFBFB;
}
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #fff; color: #fff; text-decoration: none; }
mark { background: #fff; color: #fff; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
p {
	margin: 0;
	color: #000000;
}
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 0; padding: 0; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
li { list-style:inside none; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #000; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/* change here ================================================== */
html { height: 100%; background: #fff; }
body { font: 14px Karla, sans-serif; font-weight: 400; }
audio { height: 0px; position: absolute; top: -100px; left: -100px; }

#main-header { position: fixed; left: 0; top: 0; width: 100%; z-index: 9999; }
#main-header .bg-sapce { width: 100%; padding: 0px 0px; }
#main-header .bg-sapce #logo { margin-right: 10px; }
#main-header .bg-sapce .content-space { margin: 0 auto; padding: 0; color: #fff;  }
#mainfooter { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 9100; background: #fff; }
#mainfooter .content-space { padding-left: 10px; }
#mainfooter .onright { float: right; padding-left: 10px; display: block;  }

#galleryspace { top: 0px; }
#galleryspace figure { display: none; position: relative; background: #fff; }
#galleryspace figure img { position: absolute; top: 0; left: 0; }
#galleryspace figure.active { display: block; z-index: 9000; top: 0; left: 0; }
#galleryspace figure.active figcaption { position: fixed; top: 98%; display: block; color: #fff; width: 100%; text-transform: uppercase; }
#galleryspace figure figcaption p { width: 60%; margin: 0px auto; text-align: center;  }

#btn_prev, #btn_next { cursor: pointer; background: url("imgs/arrows.png") no-repeat; height: 133px; outline: medium none; overflow: hidden; position: absolute; text-indent: -9999px; top: 40%; width: 66px; z-index: 9000; }
#btn_prev { left: 0; }
#btn_next { right: 0; background-position: 0 -133px; }
#btn_next:hover { right: 0; background-position: -66px -133px; }
#btn_prev:hover { background-position: -66px 0px; left: 0; }

#loading { position: fixed; left: 0; top: 0; height: 100%; width: 100%; background: #fff; z-index: 9200; }
#loading p { color: #000; position: absolute; top: 50%; left: 0; right: 0; text-align: center; text-transform: uppercase; }

/* menus ======================================= */
.menu { float: left; margin: 0; padding: 0; }
.menu li a, .menu li { float: left; text-transform: uppercase; }
.menu li { position: relative; padding: 5px 10px; }
.menu li a { padding: 3px 5px; text-decoration: none; color: #fff; text-shadow: 0 0 2px #444; -moz-transition: 0.2s ease-in; -webkit-transition: 0.2s ease-in; }
.menu li a:hover { background: #000; }

.menu li ul { display: none; left: 0; position: absolute; bottom: 100%; background: url(imgs/transparent.gif); }
.menu li:hover ul { display: block; width: 140px; }
.menu li ul a { white-space: pre; }
.menu li ul a:hover { background: #fff; }
