/*---------------------------------------
 * 汎用関数modules.js用CSS
 *
 * @author Alternative Communications Inc. Hisayoshi Ito
 * @since 2012-12-04
 *
 * [CHANGE LOG]
 * 2012-12-04 fullscreenAPI用CSSを追加
 *---------------------------------------*/

:full-screen:not(:root) {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:2147483647;
	background:black;
	/* override mapped width and height attributes */
	width:100% !important;
	height:100% !important;
	overflow:scroll;
}
:fullscreen {
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index:2147483647;
  box-sizing:border-box;
  margin:0;
  width:100%;
  height:100%;
  overflow:scroll;
}
:root:full-screen-ancestor {
  overflow:scroll;
}
:full-screen-ancestor {
	/* Ancestors of a full-screen element should not induce stacking contexts
	that would prevent the full-screen element from being on top. */
	z-index:auto;
	/* Ancestors of a full-screen element should not be partially transparent,
	since that would apply to the full-screen element and make the page visible
	behind it. It would also create a pseudo-stacking-context that would let content
	draw on top of the full-screen element. */
	opacity:1;
	/* Ancestors of a full-screen element should not apply SVG masking, clipping, or
	filtering, since that would affect the full-screen element and create a pseudo-
	stacking context. */
	mask:none;
	clip:auto;
	filter:none;
	/* W3C Fullscreen Editor's Draft 17 November 2011 */
	transform:none;
	transition:none;
}