
html {
	background-color: #ffffff;
    background-image: url("../img/background_gradient.jpg");
    background-repeat: repeat-x;
    background-position: left top;
}

body {
	margin: 0;
	padding: 0;
	color: #333333;
	font-family: "Lucida Grande", "Tahoma", sans-serif;
	line-height: 1.8;
}

* {
	font-family: inherit;
	font-size: inherit;
}

div {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}


/**
 * Root Container
 */

#root {
	margin: 0 auto;
}


/**
 * Language Selector
 */

#language {
    float: right;
    width: 70px;
    height: 22px;
    margin: 0;
    padding: 32px 0 0 20px;
}
#language ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#language ul li {
    display: inline-block;
    width: 35px;
    height: 22px;
	margin: 0;
	padding: 0;
    background-position: 0 -22px;
    background-repeat: no-repeat;
}
#language ul li.right {
    background-image: url("../img/language_selector_right.jpg");
}
#language ul li.left {
    background-image: url("../img/language_selector_left.jpg");
}
#language ul li.selected {
    background-position: 0 0;
}
#language ul li a {
    display: inline-block;
    overflow: hidden;
    width: 35px;
    height: 22px;
    background-position: 0 -22px;
    background-repeat: no-repeat;
    text-indent: -999em;
    opacity: 0.0;
	-webkit-transition: opacity ease-out 0.2s;
	-moz-transition: opacity ease-out 0.2s;
	-o-transition: opacity ease-out 0.2s;
}
#language ul li.selected a {
    background-position: 0 0;
    opacity: 1.0;
}
#language ul li a:hover {
    opacity: 1.0;
}
#language ul li.ja a {
    background-image: url("../img/language_selector_ja.jpg");
}
#language ul li.en a {
    background-image: url("../img/language_selector_en.jpg");
}


/**
 * Global Menu
 */

#menu {
    float: right;
    height: 40px;
    padding: 23px 0 0 0;
}
#menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#menu ul li {
    display: inline-block;
    margin: 0;
    padding: 0 15px;
}
#menu ul li a {
    display: inline-block;
    overflow: hidden;
    height: 40px;
    background-repeat: no-repeat;
    text-indent: -999em;
    opacity: 0.33;
	-webkit-transition: opacity ease-out 0.2s;
	-moz-transition: opacity ease-out 0.2s;
	-o-transition: opacity ease-out 0.2s;
}
#menu ul li a:hover {
    opacity: 0.66;
}
#menu ul li.castoven a {
    width: 97px;
    background-image: url("../img/menu_castoven.jpg");
}
#menu ul li.ajipen a {
    width: 75px;
    background-image: url("../img/menu_ajipen.jpg");
}


/**
 * Header
 */

#header {
	width: 1000px;
	height: 75px;
	margin: 0 auto;
	padding: 40px 0 30px 0;
}
#header h1 {
	display: inline-block;
	width: 291px;
	height: 75px;
	margin: 0;
	padding: 0;
}
#header #logo a {
	display: inline-block;
	overflow: hidden;
	width: 291px;
	height: 75px;
	background-image: url("../img/logo.jpg");
	background-repeat: no-repeat;
	text-indent: -999em;
	-webkit-transition: opacity ease-out 0.2s;
	-moz-transition: opacity ease-out 0.2s;
	-o-transition: opacity ease-out 0.2s;
}
#header #logo a:hover {
	opacity: 0.5;
}


/**
 * Display Image
 */
 
#display {
    overflow: hidden;
    position: relative;
    width: 1000px;
    height: 563px;
	margin: 0 auto;
	background-color: #dddddd;
    background-image: url("../img/async.gif");
    background-repeat: no-repeat;
    background-position: center;
}
#display * {
    position: absolute;
    top: 0;
    left: 0;
}
#display .mask {
    width: 1000px;
    height: 563px;
    background-image: url("../img/display_mask.png");
    background-repeat: no-repeat;
    z-index: 1000;
}
#display .under-mask {
    width: 1000px;
    height: 563px;
    background-image: url("../img/display_mask.png");
    background-repeat: no-repeat;
}
#display .clear-mask {
    width: 1000px;
    height: 563px;
    z-index: 1000;
}


/**
 * Display Image Navigation
 */

#display-navigation {
    width: 1000px;
	margin: 0 auto;
    padding: 10px 0 0 0;
    text-align: center;
}
#display-navigation ul {
	margin: 0;
	padding: 0;
	text-align: center;
	list-style-type: none;
}
#display-navigation ul li {
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    padding: 0;
    background-image: url("../img/display_selector_inactive.jpg");
    background-repeat: no-repeat;
    text-indent: -999em;
}
#display-navigation ul li.selected {
    background-image: url("../img/display_selector_selected.jpg");
}


/**
 * Display Image Caption
 */

#display-caption {
    width: 1000px;
    height: 10px;
	margin: 0 auto;
    padding: 10px 0 0 0;
    color: #aaaaaa;
    text-align: center;
}
#display-caption .instruction {
    margin-left: 2em;
}
#display-caption def {
    font-weight: bold;
    text-transform: uppercase;
}


/**
 * Navigation Block
 */

#navigation {
    width: 1000px;
	margin: 0 auto;
    padding: 0 0 20px 0;
	color: gray;
	line-height: 1;
}
#navigation ul {
	margin: 0;
	padding: 0;
	text-align: center;
	list-style-type: none;
}
#navigation ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
}
#navigation ul li a {
	display: inline-block;
	margin: 0 10px;
	padding: 7px 16px;
	font-weight: bold;
	text-decoration: none;
	text-transform: capitalize;
	border-width: 1px;
	border-style: solid;
	border-color: #dddddd;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-transition: background-color ease-out 0.2s;
	-moz-transition: background-color ease-out 0.2s;
	-o-transition: background-color ease-out 0.2s;
}
#navigation ul li a:link {
	color: #000000;
	background-color: #ffffff;
}
#navigation ul li a:link:hover {
	color: #000000;
	background-color: #eeeeee;
}
#navigation ul li a:visited {
	color: #000000;
	background-color: #ffffff;
}
#navigation ul li a:visited:hover {
	color: #000000;
	background-color: #eeeeee;
}
#navigation ul li a.selected,
#navigation ul li a.selected:hover {
	color: #ffffff;
	background-color: #333333;
	border-color: #333333;
}


/**
 * Separator
 */

#separator {
    margin: 30px 50px 15px 50px;
    position: relative;
    height: 16px;
}
#separator .fill {
    position: absolute;
    top: 0;
    right: 50px;
    left: 50px;
    height: 16px;
    background-image: url("../img/separator_fill.png");
    background-repeat: repeat-x;
}
#separator .right-cap {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 16px;
    background-image: url("../img/separator_right_cap.png");
    background-repeat: no-repeat;
}
#separator .left-cap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 16px;
    background-image: url("../img/separator_left_cap.png");
    background-repeat: no-repeat;
}


/**
 * Document Body
 */

#body {
	clear: both;
    width: 1000px;
	margin: 0 auto;
	padding: 10px 0;
}
#body em {
	font-style: italic;
}
#body p {
	margin: 0 0 1.8em 0;
	padding: 0;
}
#body ul {
	margin: 0 0 1.8em 0;
	padding: 0 0 0 2em;
}
#body li ul {
	margin: 0;
}
#body a:link {
	color: #0088cc;
	text-decoration: none;
}
#body a:link:hover {
	color: #0088cc;
	text-decoration: underline;
}
#body a:visited {
	color: #0088cc;
	text-decoration: none;
}
#body a:visited:hover {
	color: #0088cc;
	text-decoration: underline;
}
#body h1 {
	margin: 0 0 1em 0;
	padding: 0;
}
#body h2 {
	margin: 0 0 0.5em 0;
	padding: 0;
}
#body h2 em {
	font-style: normal;
}
#body .column-first {
    clear: left;
	float: left;
	width: 485px;
	padding: 0 15px 0 0;
}
#body .column-second {
	float: left;
	width: 485px;
	padding: 0 0 0 15px;
}
#body .column-stack {
	float: left;
	padding: 0 5em 0 0;
}
#body .column-clear {
	clear: both;
	padding: 3em 0 0 0;
}


/**
 * Footer
 */

#footer {
	clear: both;
    width: 1000px;
	margin: 0 auto;
	padding: 40px 0;
	color: #919191;
	text-align: center;
}
#footer a {
    color: #919191;
    text-decoration: none;
}

