/* ==========================================================================
   Common
   ========================================================================== */

ul, li {
	margin: 0;
	padding: 0;
}

ul li{
	list-style: none;
	list-style-type: none;
}

img{
	vertical-align: bottom;
}

/* ==========================================================================
   Basic
   ========================================================================== */
   
html, body {
	width: 100%;
	height: 100%;
	color: #333;
	font-size: 1em;
	line-height: 1.4;
}

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

::selection {
	background: #facd00;
	text-shadow: none;
}

canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

.fullscreenVideo {
	width: 100%;
	height: 100%;
}

div, a, ul, li {
	margin:0;
	padding:0;
}

/* ==========================================================================
   Common
   ========================================================================== */

/* Header */
#NintendoHeader {
	top: 45px;
	width: 100%;
	height: 50px;
	position: absolute;
	/* show white background when scrolling negative direction */
	margin-top: -400px;
	padding-top: 400px;
	z-index: 1;
}
#NintendoHeader li {
	display: block;
	margin: 10px;
}

#NintendoHeader a {
	display: block;
	background-image: url(../images/common/navi/navi.png);
	background-repeat: no-repeat;
	background-size: 991px 292px;
	text-indent: -9999px;
}

#NintendoHeader .nintendo {
	float: left;
	width: 95px;
	height: 30px;
}

#NintendoHeader .nintendo a {
	width: 95px;
	height: 30px;
	background-position: -199px -183px;
}

#NintendoHeader .wiiu {
	float:left;
	width: 110px;
	height: 30px;
}

#NintendoHeader .wiiu a {
	width: 110px;
	height: 30px;
	background-position: -199px -153px;
}


/* Footer */

#Footer {
	position: fixed;
	width: 100%;
	height: 70px;
	bottom: 0;
	background-image: url(../images/common/navi/bg-navi.png);
	background-repeat: repeat-x;
}

#Footer .container {
	min-width: 960px;
	max-width: 1000px;
	height: 45px;
}

#GlobalNavi,
#NintendoNavi {
	overflow: visible;
}

#GlobalNavi {
	float: right;
	width: 950px;
	height: 45px;
}

#NintendoNavi {
	margin-left: 235px;
	height: 25px;
}

#GlobalNavi li,
#NintendoNavi li {
	display: block;
	float: left;
}

#GlobalNavi li a,
#NintendoNavi li a,
#GlobalNavi li span,
#NintendoNavi li span,
#GlobalNavi .copyright {
	background-image: url(../images/common/navi/navi.png);
	background-repeat: no-repeat;
	background-size: 991px 292px;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
}

#GlobalNavi li.new a:before {
	content: ".";
	position: absolute;
	display: block;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-size: 63px 54px;
	text-indent: -9999px;
	margin-top: -15px;
	margin-left: 34px;
	width: 63px;
	height: 27px;
}

#GlobalNavi li.new a:hover:before {
	background-repeat: no-repeat;
	background-position: 0px -27px;
	background-size: 63px 54px;
	text-indent: -9999px;
	margin-top: -15px;
	margin-left: 33px;
	width: 63px;
	height: 27px;
}

#GlobalNavi .top {
	width: 173px;
	height: 150px;
	margin-top: -80px;
	margin-right: 10px;
}

#GlobalNavi .top a,
#GlobalNavi .top span {
	width: 173px;
	height: 150px;
}

#GlobalNavi .top a:hover {
	background-position: -173px 0px;
}

#GlobalNavi .mainNavi {
	width: 129px;
	height: 73px;
	margin-top: -45px;
	margin-right: 5px;
}

#GlobalNavi .mainNavi a {
	width: 129px;
	height: 73px;
}

#GlobalNavi .play a			{ background-position: -346px 0px; }
#GlobalNavi .create a		{ background-position: -475px 0px; }
#GlobalNavi .costume a	{ background-position: -604px 0px; }
#GlobalNavi .movie a		{ background-position: -733px 0px; }
#GlobalNavi .products a	{ background-position: -862px 0px; }

#GlobalNavi .play a:hover			{ background-position: -346px -73px; }
#GlobalNavi .create a:hover		{ background-position: -475px -73px; }
#GlobalNavi .costume a:hover	{ background-position: -604px -73px; }
#GlobalNavi .movie a:hover		{ background-position: -733px -73px; }
#GlobalNavi .products a:hover	{ background-position: -862px -73px; }

#GlobalNavi .play.selected a			{ background-position: -346px -146px; }
#GlobalNavi .create.selected a		{ background-position: -475px -146px; }
#GlobalNavi .costume.selected a		{ background-position: -604px -146px; }
#GlobalNavi .movie.selected a			{ background-position: -733px -146px; }
#GlobalNavi .products.selected a	{ background-position: -862px -146px; }

#GlobalNavi .play.selected a:hover			{ background-position: -346px -219px; }
#GlobalNavi .create.selected a:hover		{ background-position: -475px -219px; }
#GlobalNavi .costume.selected a:hover		{ background-position: -604px -219px; }
#GlobalNavi .movie.selected a:hover			{ background-position: -733px -219px; }
#GlobalNavi .products.selected a:hover	{ background-position: -862px -219px; }

#GlobalNavi .sns {
	width: 43px;
	height: 43px;
	margin-top: -15px;
	margin-right: 5px;
}

#GlobalNavi .sns a {
	width: 43px;
	height: 43px;
}

#GlobalNavi .twitter { margin-right: 0; }
#GlobalNavi .twitter a	{ background-position: 0px -153px; }
#GlobalNavi .facebook a	{ background-position: -43px -153px; }

#GlobalNavi .twitter a:hover	{ background-position: 0px -196px; }
#GlobalNavi .facebook a:hover	{ background-position: -43px -196px; }

#GlobalNavi .copyright {
	width: 102px;
	height: 16px;
	margin-top: 17px;
	background-position: 0px -239px;
}

#NintendoNavi .nintendo,
#NintendoNavi .wiiu {
	float: right;
	width: 120px;
	height: 16px;
}

#NintendoNavi .nintendo a,
#NintendoNavi .wiiu a {
	display: block;
	width: 120px;
	height: 16px;
}

#NintendoNavi .wiiu { margin-right: 5px; }
#NintendoNavi .nintendo a { background-position: -102px -239px; }
#NintendoNavi .wiiu a { background-position: -222px -239px; }
#NintendoNavi .nintendo a:hover { background-position: -102px -255px; }
#NintendoNavi .wiiu a:hover { background-position: -222px -255px; }



#FooterImage {
	position: fixed;
	bottom: 40px;
	right: 30px;
	z-index: 20;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
	display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *	`contenteditable` attribute is included anywhere else in the document.
 *	Otherwise it causes space to appear at the top and bottom of elements
 *	that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *	`:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	   (-webkit-min-device-pixel-ratio: 1.25),
	   (min-resolution: 1.25dppx),
	   (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important; /* Black prints faster:
								   http://www.sanbeiji.com/archives/953 */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links that are fragment identifiers,
	 * or use the `javascript:` pseudo protocol
	 */

	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
	 * Printing Tables:
	 * http://css-discuss.incutio.com/wiki/Printing_Tables
	 */

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
