/*
 * From Abody97 on StackOverflow
 * http://stackoverflow.com/questions/12144000/using-custom-fonts-using-css
 */
html {
    background-color: black;    
}
body {
    overflow: hidden;
    margin: 0;
    /*margin-left: auto;
    margin-right: auto;*/
    /*padding-left: auto;
    padding-right: auto;
    width: 750px;
	height: 500px;*/
    width: 100%;
    height: 100%;
    position: absolute;
	font-family: "BadaBoom", Helvetica, Arial, sans-serif;
	-webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-user-select: none;
	-ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
}


/* Custom CSS for making all temp foreground text pop */
.menuText {
    font-family: "BadaBoom";
    color: #FFF;
    position: absolute;
    font-size: 75%;
    pointer-events: none;
    cursor: pointer;
    text-align: center;
    width: 750px;
}
.menuButton {
    position: absolute;
    width: 190px;
    height: 37px;
    background: url('assets/images/menu_button_up.png') no-repeat;
	cursor: pointer;
}
.menuButtonDown {
    position: absolute;
    width: 190px;
	height: 37px;
	background: url('assets/images/menu_button_down.png') no-repeat;
	cursor: pointer;
}
.muteButton {
    position: absolute;
    width: 190px;
    height: 37px;
    cursor: pointer;
}
.muteOn {
    background: url('assets/images/button_menu_mute_active_up.png') no-repeat;
}
.muteOnDown {
    background: url('assets/images/button_menu_mute_active_down.png') no-repeat;
}
.muteOff {
    background: url('assets/images/button_menu_mute_up.png') no-repeat;
}
.muteOffDown {
    background: url('assets/images/button_menu_mute_down.png') no-repeat;
}

.smallMenu {
    font-size: 75%;
    cursor: pointer;
}
.bigMenu {
    font-size: 100%;
    cursor: pointer;
}
.tutorialText {
    font-family: "BadaBoom";
    color: #000;
    position: absolute;
    font-size: 100%;
    cursor: pointer;
    text-align: center;
    width: 750px;
}
.tutorialTextLeft {
    font-family: "BadaBoom";
    color: #000;
    position: absolute;
    font-size: 100%;
    cursor: pointer;
    text-align: left;
    width: 290px;
}
.tutorialTextRight {
    font-family: "BadaBoom";
    color: #000;
    position: absolute;
    font-size: 100%;
    cursor: pointer;
    text-align: right;
    width: 290px;
}
.tutorialText2 {
    font-family: "BadaBoom";
    color: #000;
    position: absolute;
    font-size: 125%;
    cursor: pointer;
    text-align: center;
    width: 750px;
}
.standout {
    font-family: "BadaBoom";
    color: #FFF;
    position: absolute;
    text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
                 1px 1px #000, -1px 1px #000, -1px 1px #000, -1px -1px #000; 
    cursor: pointer;
    
    /* Code from  zoltan's CSS3 Text-Shadow - Can it be done in IE without JavaScript? article */
    filter: progid:DXImageTransform.Microsoft.Chroma(Color=#FFFFF0)
		progid:DXImageTransform.Microsoft.Glow(Strength=2, Color=#000000);
}
.standout2 {
    font-family: "BadaBoom";
    color: #FFF;
    position: absolute;
    text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
                 1px 1px #000, -1px 1px #000, -1px 1px #000, -1px -1px #000; 
    font-size: 100%;
    cursor: pointer;
    /* Code from  zoltan's CSS3 Text-Shadow - Can it be done in IE without JavaScript? article */
    filter: progid:DXImageTransform.Microsoft.Chroma(Color=#FFFFF0)
    	progid:DXImageTransform.Microsoft.Glow(Strength=2, Color=#000000);
}
.standoutLeft {
    font-size: 100%;
    letter-spacing: 5px; 
}
.standoutMiddle {
    font-size: 150%;
    letter-spacing: 7px; 
}
.standoutRight {
    font-size: 100%;
    letter-spacing: 7px; 
}
.mapName {
    height: 30px;
}
.levelAccomplished {
    font-size: 150%;
    letter-spacing: 9px; 
    cursor: pointer;
}
.rpjsFill {
    position: absolute;
	overflow: hidden;
	background: #000;
	width: 100%;
	height: 100%;
	z-index: 0;
	margin: 0;
	padding: 0;
}

.rpjsHwAcc {
	position: absolute;

	image-rendering: optimizeSpeed;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;

	-webkit-transform: translate3d(0px, 0px, 0px);
    -moz-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate3d(0px, 0px, 0px);
	transform: translate3d(0px, 0px, 0px);
}
.rpjsHwAcc2d {
	position: absolute;

	image-rendering: optimizeSpeed;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;

	-webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
	transform: translate(0px, 0px);
}
.rpjsNoHwAcc {
	position: absolute;

	image-rendering: optimizeSpeed;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
}

.rpjsIHTMLComponent {
	position: absolute;
	width: inherit;
	height: inherit;
	visibility: hidden;
}
.rpjsIHTMLComponent > * {
    visibility: visible;
}

#rpjsLoggingDiv {
	display: none;
}

/**
 * GAME LAYERS
 */
#rpjsGame {
    margin-left: auto;
    margin-right: auto;
    width:  750px;
    height: 500px;
    width: 100%;
    height: 100%;
}
#rpjsLayer_RendererSurface {
	position: absolute;
	width: inherit;
	height: inherit;
	visibility: visible;
	z-index: 0;
}
#rpjsLayer_World {
	position: absolute;
	width: inherit;
	height: inherit;
	visibility: hidden;
	z-index: 1;
}
#rpjsLayer_DebugRendererSurface {
	position: absolute;
	width: inherit;
	height: inherit;
	visibility: visible;
	z-index: 2;
	pointer-events: none;
}

/**
 * LOADING SCREEN
 */
#rpjsLoadingScreen {
	background-color: black;
}
#rpjsLoadingImage {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -512px 0px 0px -374px;
	background-image: url('../../images/disney_loading_screen.jpg');
	width: 748px;
	height: 1024px;
}
#rpjsLoadingLabel {
	position: absolute;
	width: 100%;
	bottom: 0px;
	font-size: 16px;
	margin: 0px 0px 16px 0px;
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
	color: black;
	cursor: default;
}
#rpjsLoadingBarOuter {
	position: absolute;
	left: 50%;
	bottom: 0%;
	margin: 0px 0px 42px -100px;
	width: 200px;
	height: 13px;
	border-width: 1px;
	border-radius: 4px 4px 4px 4px;
	border-color: black;
	border-style: solid;
	/*overflow: hidden;*/
	background-color: #f0f0f0;
}
#rpjsLoadingBarInner {
	position: absolute;
	width: 0%;
	height: 100%;
	left: -1px;
	top: -1px;
	background-color: black; /*#004466;*/
	background-image: url('../../images/disney_loading_bar.png');
	border-color: white;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px 4px 4px 4px;

	border-right-width: 0px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}
#rpjsLoadingSpinner {
	position: absolute;
	left: 50%;
	bottom: 0%;
	margin: 0px 0px 40px -8px;
	background-image: url('../../images/ajax-loader.gif');
	width: 16px;
	height: 16px;
}

/**
 * DIALOG
 */
#rpjsOverlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	opacity: 0.5;
	filter: alpha(opacity=50);
	z-index: 100 !important;
}
.rpjsOverlayDialog {
	z-index: 100;
}

#rpjsUIDialog {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 608px;
	height: 613px;
	margin-left: -304px;
	margin-top: -306px;
/*	background: url('../img/ui/dialog_bg.png') no-repeat;*/
}
#rpjsSafeDialog
{
	position: absolute;
	z-index: 999999;
	width: 100%;
	height: 100%;
}

#rpjsUIDialog.rpjsSmall {
	width: 558px;
	height: 283px;
	/*margin-left: -279px;*/
	margin-top: -142px;
/*	background-image: url('../img/ui/dialog_small_bg.png');*/
}

#rpjsUIDialog > * {
/*	font-size: 27px;*/
	font-family: Helvetica, Arial, sans-serif;
	margin: 0;
}

#rpjsUIDialogTitle {
	position: absolute;
	left: 187px;
	top: 38px;
	cursor: default;
}

#rpjsUIDialogContent {
	position: absolute;
	left: 43px;
	top: 100px;
	width: 528px;
	height: 496px;
	overflow: hidden;
	cursor: default;
}

#rpjsUIDialog.rpjsSmall #rpjsUIDialogContent {
	width: 480px;
	height: 172px;

	text-align: center;
}

/**
 * RPN Login Dialog
 */
.rpnLoginTree {
	display:none;
}
#rpnLoginDialog {
	font-size: 12px;
	font-family: Helvetica, Arial, sans-serif;
	margin-top: 15px;
	padding-right: 140px;
}
#rpnLoginDialog form {
	display: none;
	margin: 0;
	padding: 0;
	text-align: right;
}
#rpnLoginDialog a, #rpnLoginDialog a:active {
	color: #2E6E9E;
	text-decoration: none;
	margin: 0 3px;
}
#rpnLoginDialog a:hover {
	text-decoration: underline;
}
#rpeEditor #rpnLoginDialog button {
	border-color: #666;
}
.rpnLoginError {
	display: none;
	padding: 3px 6px;
	color: red;
	margin: 0 3px;
	font-weight: bold;
}

#rpjsUIDialogTitle { /* this is for login dialog header */
	left: 20px;
	top: 70px;
	font-size: 19px;
	width: inherit;
	text-align: center;
}

header, footer, section {
	display: block;
}

.fade {
    /* Mozilla fix by Karl Horky */
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */

    -webkit-filter:grayscale(100%);
    -moz-filter:grayscale(100%);
    -ms-filter:grayscale(100%);
    -o-filter:grayscale(100%);
    filter:grayscale(100%);
    filter: gray; /* IE6 through IE9 */
}
.clear {
    /* Mozilla fix by Karl Horky */
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");

    -webkit-filter:grayscale(0%);
    -moz-filter:grayscale(0%);
    -ms-filter:grayscale(0%);
    -o-filter:grayscale(0%);
    filter:grayscale(0%);
}