/* android tap/touch fix */
* {
 -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
:focus {
    outline: 0;
    border: none;
    color: rgba(255, 255, 255, 0);
}
div {
-webkit-appearance:none;
}





#settings {
	background-color: #223;
	width: 640px;
	height: 360px;
	overflow: hidden;
}

#settings_header_kontener {
	width: 600px;
	height: 75px;
	background-color: #555;
	margin: 0px 20px 0px 20px;
}

.settings_item {
	display: none;
}

#settings_kontener {
	background-color: #555;
	width: 620px;
	height: 265px;
	padding-top: 10px;
	margin: 0px 10px 10px 10px;
}


.settings_header_item {
	width: 128px;
	margin: 6px;
	float: left;
	vertical-align: middle;
	text-align: center;
	font-size:20px;
	cursor: pointer;
	color: #888;
}


.settings_header_item {
	border-top: 5px solid #aaa;
	border-left: 5px solid #aaa;
	
	border-right: 5px solid #666;
	border-bottom: 5px solid #666;
	
	padding-top: 13px;
	height: 40px;
	background-color: #777;
}

.settings_header_item:hover {
	background-color: #888 !important;
	color: #999;
	border-top: 5px solid #bbb;
	border-left: 5px solid #bbb;
	
	border-right: 5px solid #777;
	border-bottom: 5px solid #777;
}

.settings_activeheader:hover, #settings_header_skins.settings_activeheader:hover, #settings_header_mapy.settings_activeheader:hover, .settings_activeheader {
	color: #000 !important;
	background-color: #ddd !important;
	
	border-top: 5px solid #fff !important;
	border-left: 5px solid #fff !important;
	
	border-right: 5px solid #bbb !important;
	border-bottom: 5px solid #bbb !important;
}

#settings_header_back {
	background-color: #447 !important;
	color: #eee !important;
	height:52px !important;
	padding-top: 1px !important;
	
	border-top: 5px solid #669;
	border-left: 5px solid #669;
	
	border-right: 5px solid #225;
	border-bottom: 5px solid #225;
}

#settings_header_back:hover {
	background-color: #558 !important;
	border-top: 5px solid #77a;
	border-left: 5px solid #77a;
	
	border-right: 5px solid #336;
	border-bottom: 5px solid #336;
}







html, body
{
    margin: 0px; padding: 0px;
    background-color: #FFF;
    color: #24292A;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 0.9em;
}

a
{
    color: #056;
    text-decoration: none;
}

a:hover
{
    color: #33AA99;
}

a img
{
    border: none;
}

form
{
    display: inline;
}

#rotation_notify {
	display: none;
	width: 340px;
	height:400px;
	font-size: 30px;
	text-align: center;
	padding: 200px 10px 40px 10px;

}


.clear
{
    clear: both;
    height: 0;
    overflow: hidden;
}

#game
{
    /*margin: 0 auto;*/
    /* border: 1px solid #CCC;*/
    margin-top: -5px;
}

#grid
{
    /* background-color: #757575; */
    /*  background-color: #67A0CF;  */
    /* background-color:#ffff85; */
    overflow: hidden;
}

.grid-row,
.grid-row > div
{
    height: 22px;
    /* height: 24px; */
}

.grid-row > div
{
    float: left;
    width: 33px;
    background-position: 0% 0%;
    background-repeat: no-repeat;
    z-index: 100;
}

.grid-row > div *
{
    z-index: 100;
}

.grid-row > div > img
{
    display: block;
}


#info
{
    background-color: #FFF;
    color: #000;
    font-family: Courier;
    font-size: 12px;
    font-weight: bold;
    height: 15px;
}

#info #map,
#info #moves,
#info #pushes,
#info #time,
#info #restart,
#info #appmenu,
#info #undo
{
    float: left;
    text-align: right;
}

#info #restart{ width: 60px; cursor: pointer; background-color: #ff6666; text-align: center;}
#info #undo{ width: 50px; cursor: pointer; background-color: #6666ff; text-align: center;}
#info #map    { width: 100px; }
#info #moves  { width: 170px; }
#info #pushes { width: 170px; }
#info #time   { width: 170px; }
#info #appmenu{ width: 90px; background-color: #66ff66; text-align: center; margin-left:10px;cursor: pointer;}
#elevator
{
    width: 229px;
    background-color: #CCC;
  /*  margin: 0 auto; */
}
#pagecont, #gamemode, #levelend { position: relative; overflow: hidden; width:640px; height: 360px;}
#gamemode { width: 640px; height: 360px; }


#hiddenmenu, #levelend { width: 640px; height: 360px; position: absolute; top: 0px; left: 0px;}
#overmenu, #overmenuend { position: absolute; z-index: 9; top: 0px; left: 0px; right: 0px; bottom: 0px; background-color: black; opacity: 0.6; }

.hiddenmenu { 
    /*width: 600px; height:300px; 
    position: absolute; z-index: 10; top: 10px; left: 6px; padding: 10px;
    border: 3px solid blue; background-color: #fff; opacity: 0.7; */
    display: none;
    }

.hiddenmenusolid { 

    width: 600px; height:300px;
    position: absolute; z-index: 10; top: 10px; left: 6px; padding: 10px;
 }


#hideenmenu_header {
	width: 100%; height: 50px;
	text-align: center;
	font-size: 3em;
	color: white; text-shadow: 0.1em 0.1em 0.2em white
}


.arrows { 
    width: 64px; height:64px; 
    position: absolute; z-index: 4; 
}

.arrow_up { background: url("./image/black_up.png"); top:10px; left:288px;  }
.arrow_down { background: url("./image/black_down.png");top:268px; left:288px;  }
.arrow_left { background: url("./image/black_left.png"); top:144px; left:10px; }
.arrow_rigt { background: url("./image/black_right.png"); top:144px; left:566px; }

.undo_icon {background: url("./image/undo_icon.png"); top:285px; left:10px; width:48px; height: 57px; }
.restart_icon {background: url("./image/restart_icon.png"); top:285px; left:582px; width:48px; height: 57px; }
.menu_icon {background: url("./image/menu.png"); top:5px; left:5px; width:48px; height: 48px; cursor: pointer;}

#elevator div
{
    margin: 0;
    margin-left: 2px;
    background-color: #FFF;
    height: 60px;
    width: 229px;
}

#elevator div
{
    font-size: 2.7em;
    height: 60px;
    padding: 3px 1px 1px 1px;
    border-bottom: 1px solid #aaa;
}

#elevator div span
{
	display: block;
	height: 53px;
	width: 228px;
	text-align: center;
	vertical-align: middle;
	padding-top: 5px;
}

.transparent_button {position: absolute; z-index: 2;  }
#button_up { top: 0px; left: 190px; width: 260px; height: 150px; }
#button_down { top: 195px; left: 190px; width: 260px; height: 150px; }
#button_left { top: 0px; left: 0px; width: 150px; height: 345px; }
#button_right { top: 0px; right: 0px; width: 150px; height: 345px; }

#button_up div,#button_down div {width:26px;height:50px;float:left;}
#button_left div,#button_right div{width:50px;height:30px;float:left;}

#gamemode, #helpmode, #savegame, #loadgame, #settings { display: none;  }

span.menukey { display: block; }

.menukey { width: 290px;
    cursor: pointer;
    margin: 5px;
    padding: 1px !important;
    font-weight: normal !important;
    font-size: 3.3em;
 }
 
.menu_button {
    font-size: 20px; 
    font-weight: bold; 
	margin: 2%;
    width: 96%;
}

.help_button {
    margin: 2%;
    width: 96%;

}
    
    
.button { padding:5px 10px 6px 10px;
	text-align: center;
	font-weight:bold;
	text-shadow: 1px 1px 1px rgba(81,88,125,0.5);
	border:1px solid rgba(0,0,0,0.4);
    border-radius: 5px;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
	-moz-border-radius: 5px;
	-moz-box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
    background-color: #9dabf1; color: #141414; /*color: #ffffff;*/
    
}

.button:hover {background-color: #CCCCCC; color: #141414;}


.gamefiles {
    width: 640px; 
    vertical-align: middle;
    font-size: 14px;
    color: #000000;
}
.gamefiles div span {
    font-size: 20px;
}    
.gamefiles div {padding-left: 25px; }


.gamefiles div input {
    width: 470px;
}

#loadgame div { color: #000000; }


.empty {
	background: none;
}


#preview {
	width: 290px;
	height: 189px;
	float: right;
	position:relative;
}

#prev_results {
	float: left;
	color: white;
	padding: 10px;
}


.prev_wall {
	float: left;
	width: 15px;
	height: 11px;
	background-color: #aaa;
}

.prev_box0 {
	float: left;
	width: 13px;
	height: 9px;
	margin: 1px;
	background-color: #5588ff;
}

.prev_box1 {
	float: left;
	width: 13px;
	height: 9px;
	margin: 1px;
	background-color: #ff3333;
}
.prev_empty {
	float: left;
	width: 15px;
	height: 11px;
}

.prev_base {
	float: left;
	width: 11px;
	height: 7px;
	margin: 2px;
	background-color: #666;
}

.prev_player{
	float: left;
	width: 11px;
	height: 7px;
	margin: 2px;
	background-color: #55ff55;
}

.prev_clear {
	clear : both;
}

.clicktostart {
	cursor: pointer;
	position: absolute;
	top: 65px;
	left:35px;
	width: 219px;
	height: 33px;
	z-index: 11;
	background: url("./image/clicktostart.png") no-repeat;
}

.click_locked {
	position: absolute;
	top: 65px;
	left:35px;
	width: 219px;
	height: 33px;
	z-index: 11;
	background: url("./image/click_locked.png") no-repeat;
}
.prev_selected {
	background-color: #555;
	color: #CC5500 !important;
}

#maps_p_toggle {
	display: block;
	cursor: pointer;
	margin-top:60px; 
	height: 143px; 
	width: 254px; 
	float: left; 
	background: url('./image/small_menu.png') no-repeat;
	background-position:  0px 0px;
}

#maps_p_toggle:hover {
	background-position:  -254px 0px; /* ujemne przy pozycjonowaniu wg tekstury !!! */
}

.smallmenukey {
	margin: 5px;
	display: block;
	cursor: pointer;
	float: right;
	width: 290px;
	height: 53px;
	background: url('./image/small_menu.png') no-repeat;
}

#save_game_small {
	background-position:  0px -143px;
}

#save_game_small:hover {
	background-position:  -290px -143px;	
}

#load_game_small {
	background-position:  0px -196px;
}

#load_game_small:hover {
	background-position:  -290px -196px;	
}

#help_menu_small {
	background-position:  0px -249px;
}

#help_menu_small:hover {
	background-position:  -290px -249px;	
}

.main_menu_small {
	background-position:  0px -302px;
}

.main_menu_small:hover {
	background-position:  -290px -302px;	
}

#returnbutton {
	margin: 5px;
	display: block;
	cursor: pointer;
	position: absolute; 
	left: 10px; 
	top: 2px;  
	width: 120px;
	height:38px;
	background: url('./image/small_menu.png') no-repeat;
	background-position:  0px -356px;
}

#returnbutton:hover {
	background-position:  -120px -356px;
}


#menumode {
	width:640px;
	height:360px;
	background-color: #223;
}

#onlinemode {
	width: 640px;
	height: 360px;
	background-color: #223;
	color: white;
}

#online_parent {
	width:600px; 
	height: 270px;
	margin: 10px 20px 10px 20px; 
	overflow-x: hidden;
	overflow-y: auto;
	text-align: center;
}

.ajax {
	opacity: 0.4;
}

#buttongoonline {
	width: 300px;
	height: 62px;
	margin-left: 150px;
	cursor: pointer;
	background: url("./image/goonline.png") top left no-repeat;
}

#buttongoonline:hover {
	background-position: top right;
}

#leftmenumode .button {
	width: 320px;
	height: 60px;
}

#leftmenumode {
	margin-top: 40px;
	width: 353px;
	height: 240px;
	padding: 20px 0px 20px 0px;
	float: left;
	overflow-x: hidden;
	overflow-y: scroll;
}

#rightmenumode {
	float: right;
	width: 280px;
	height: 360px;
	text-align: center;
	color: white;
}


.bigmenukey {
	display:block;
	width: 330px;
	height: 70px;
	background: url('./image/big_menu.png') no-repeat;
	margin: 2px 1px 2px 2px;
	cursor: pointer;
}

#bigmenu1 {
	background-position: 0px 0px;
}

#bigmenu1:hover {
	background-position: -330px 0px;
}

#bigmenu2 {
	background-position: 0px -70px;
}

#bigmenu2:hover {
	background-position: -330px -70px;
}

#bigmenu3 {
	background-position: 0px -140px;
}

#bigmenu3:hover {
	background-position: -330px -140px;
}

#bigmenu4 {
	background-position: 0px -210px;
}

#bigmenu4:hover {
	background-position: -330px -210px;
}

#bigmenu5 {
	background-position: 0px -280px;
}

#bigmenu5:hover {
	background-position: -330px -280px;
}

#bigmenu6 {
	background-position: 0px -350px;
}

#bigmenu6:hover {
	background-position: -330px -350px;
}




#levelend {
	color: white;
	text-align: center;
}

#levelscore {
	width: 500px;
	height: 150px;
	margin: 5px 50px 5px 50px;
}


.scoreitem {
	float:left;
	width:119px;
	padding-top:5px;
	height:21px;
	margin: 2px;
	border: 1px dotted white;
}
.nb {
	border: none !important;
	margin: 3px !important;
}
.green {
	color: #94ff6e;
}

.blink {
	color: red;
	text-decoration: blink;
}



