html, body
{
	background-color: #111;

	width: 100%;
	height: 100%;

	max-width: 100%;
	max-height: 100%;

	margin: 0px;
	padding: 0px;

	color: #666;
	
	overflow: hidden;
	
}

html, body, input
{
	font-family: Arial;
	font-size: 18px;
	line-height: 22px;
}

h1
{
	font-weight: normal;
	font-size: 32px;
	line-height: 38px;

	margin: 0px;
	margin-top: 3px;
	margin-bottom: 15px;
	padding: 0px;
	
}

#myCanvasTable
{
	display: table;
	width: 100%;
	height: 100%;
}

#myCanvasTr
{
	display: table-row;
}

#myCanvasTd
{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

#myCanvas
{
	/* background-image: url('../images/bg.jpg'); background-repeat: no-repeat; background-position: left top; */
	background-size: 100% auto;

	background-color: #111;

	width: 100%;
	max-width: 1400px;
	
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;	
}

#my_preloader
{
	position: absolute;
	display: table;
	
	background-color: #111;

	width: 100%;

	height: 100%;
}

#my_preloader_tr
{
	display: table-row;
}

#my_preloader_td
{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	
	color: #aaaaaa;
}

#my_preloader_playbutton
{
	display: none;
}

#my_preloader_playbutton img
{
	width: 200px;
	height: 200px;
}

#my_preloader_titel
{
	font-size: 22px;
	
	margin-bottom: 20px;
}

#my_preloader_message
{
	font-size: 11px;
	color: #FFFFFF;
}

#my_preloader_area
{
	display: inline-block;

	width: 300px;
	height: 1px;

	margin-top: 5px;
	margin-bottom: 35px;
	border: 1px solid #333;
	
	background-color: #000;
}

#my_preloader_bar
{
	background-color: #feb114;
	width: 1px;
	height: 1px;
}

#my_preloader_gamedesign
{
	opacity: 0.5;
}

#myCanvas
{ 
	-webkit-tap-highlight-color:rgba(0,0,0,0); 

	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;	
}



/* *** Popup *** */
.popup_x, .button, .button_disabled
{
	background-color: #7a472c;
	
}

.popup_div, .form_input input, a, a:visited
{
	color: #7a472c;
}

.form_input
{
	border: 2px solid #7a472c;
}

a:active, a:hover
{
	color: #000;
}

.popup_x:active, .popup_x:hover,
.button:active, .button:hover
{
	background-color: #000;
}

.popup
{
	background-image: url('../images/ui/bg_popup.png');
	
	position: absolute;
	display: table;
	
	width: 100%;
	height: 100%;
}

.popup_tr
{
	display: table-row;
}

.popup_td
{
	display: table-cell;
	vertical-align: middle;
	
}

.popup_div
{
	background-image: url('../images/popup_bg.png'); background-repeat: no-repeat; background-position: center center;
	background-size: 600px 350px;
	
	/* background-color: #FFFFFF; */
	
	margin: 0px auto;
	
	padding: 25px;
	padding-bottom: 0px;
	
	width: 550px;
	height: 325px;
	
	
}

.popup_x, .popup_x:visited
{
	background-image: url('../images/ui/button_x.png'); background-repeat: no-repeat; background-position: center center;

	display: block;
	float: right;
	
	width: 40px;
	height: 40px;
	
	margin-left: 15px;
	margin-bottom: 15px;
	
	padding: 0px;
	
	transition: padding 100ms ease-in-out, margin 100ms ease-in-out, background-color 300ms ease-in-out;
	
}

.popup_x:active, .popup_x:hover
{
	margin-left: 11px;
	margin-right: -4px;
	margin-top: -4px;
	margin-bottom: 11px;
	
	padding: 4px;
}

.form_input
{
	display: table;
	width: 546px;
	height: 36px;
	
	margin-bottom: 15px;
	line-height: 36px;

}

.form_input div:first-child
{
	background-color: #FFFFFF;
	width: 70px;
	padding-left: 10px;
}

.form_input div
{
	display: table-cell;
	vertical-align: center;

	font-weight: bold;
	
}

.form_input input
{
	border: 0px solid #FFFFFF;
	
	margin: 0px;
	padding: 0px;
	padding-left: 10px;
	padding-right: 10px;
	
	width: 446px;
	
	height: 36px;
	line-height: 36px;
	
}

.form_label
{
	display: block;
	margin-bottom: 10px;
}

.form_spacer
{
	height: 15px;
}

.button, .button:visited, .button:active, .button:hover,
.button_disabled
{
	display: inline-block;
	
	color: #FFFFFF;

	padding: 10px;	
	padding-left: 15px;
	padding-right: 15px;
	
	line-height: 20px;
	font-weight: bold;
	text-decoration: none;
	
	transition: padding 200ms ease-in-out, margin 200ms ease-in-out, background-color 300ms ease-in-out;
}

.button:active, .button:hover
{
	margin: -5px;
	
	padding: 15px;	
	padding-left: 20px;
	padding-right: 20px;
}

.button_disabled, .button_disabled:visited, .button_disabled:active, .button_disabled:hover
{
	opacity: 0.25;
	color: #FFFFFF;
}


.share_icon, .share_icon:visited
{
	background-repeat: no-repeat; background-position: center center;
	background-size: 84px 84px;
	
	display: inline-block;
	
	width: 94px;
	height: 94px;
	
	transition: padding 200ms ease-in-out, background-size 200ms ease-in-out, opacity 300ms ease-in-out;
	opacity: 0.8;
	
	
}

.share_icon:active, .share_icon:hover
{
	background-size: 94px 94px;
	opacity: 1;
}

.share_icon_addthis, .share_icon_addthis:visited
{
	width: 57px;
	background-size: 51px 84px;
}

.share_icon_addthis:active, .share_icon_addthis:hover
{
	background-size: 57px 94px;
}


.leerling, .leerling:visited, .leerling:active, .leerling:hover
{
	background-color: #FFFFFF; 
	
	display: inline-block;
	
	color: #3ea7c1;
	
	padding-left: 20px;
	padding-right: 20px;

	margin-right: 5px;
	margin-bottom: 5px;
	
	height: 42px;
	
	font-size: 22px;
	line-height: 42px;
	font-weight: bold;
	
	border-radius: 5px;
	
	text-decoration: none;
}

.leerling:active, .leerling:hover
{
	background-color: #191919;
	color: #FFFFFF;
}



/* *** Fullscreen & Portrait notification *** */
#turn_phone, #turn_phone:visited, #turn_phone:active, #turn_phone:hover,
#fullscreen_phone, #fullscreen_phone:visited, #fullscreen_phone:active, #fullscreen_phone:hover,
#scroll_phone, #scroll_phone:visited, #scroll_phone:active, #scroll_phone:hover
{
	background-image: url('../images/ui/bg_popup.png');
	
	position: absolute;
	z-index: 1000;
	
	display: none;	

	padding: 20px;
	left: 0px;
	top: 0px;
	
	width: calc(100% - 40px);
	height: 100%;
	
	text-decoration: none;
}

#scroll_phone
{
	z-index: 1001; border-bottom: 1px solid #CCCCCC; 
	
	-webkit-box-shadow: 0px 6px 12px -1px rgba(0,0,0,0.85);
	-moz-box-shadow: 0px 6px 12px -1px rgba(0,0,0,0.85);
	box-shadow: 0px 6px 12px -1px rgba(0,0,0,0.85);
}

#fullscreen_phone { z-index: 1002; }
#turn_phone { z-index: 1003; }

#turn_phone_tr, #fullscreen_phone_tr, #scroll_phone_tr
{
	display: table-row;		
}

#turn_phone_td, #fullscreen_phone_td, #scroll_phone_td
{
	display: table-cell;	
					
	text-align: center;
	vertical-align: middle;	
	
	color: #FFFFFF;			
}

#turn_phone_icon, #fullscreen_phone_icon
{
	display: block;
	
	margin: 0px auto;
	margin-bottom: 10px;
	
	width: 50px;
	height: 50px;
	
	background-image: url('../images/ui/rotate_phone.gif'), url('../images/ui/bg_rotate_phone.png');
	background-size: 50px 50px, 50px 50px;
	background-position: left top, left top;
	background-repeat: no-repeat, no-repeat;
}

#fullscreen_phone_icon
{
	background-image: url('../images/ui/fullscreen_phone.gif'), url('../images/ui/bg_rotate_phone.png');
}


@media screen and (orientation:portrait) and (max-width:480px)
{
	#turn_phone, #turn_phone:visited, #turn_phone:active, #turn_phone:hover
	{
		display: table;
	}
}


@media screen and (max-width:640px)
{
	.form_spacer
	{
		height: 7px;
	}

	.popup_div
	{
		background-size: 560px 315px;
		
		padding: 10px;
		padding-bottom: 0px;
		
		width: 540px;
		height: 305px;
	}
	
	.form_input
	{
		width: 536px;
		margin-bottom: 7px;
	}
	
	.form_input input
	{
		width: calc(566px - 70px - 10px - 10px - 10px - 30px);
	}
}