
/****************************************
  ==== RESETS
****************************************/

canvas { margin: 0; padding: 0; }
::-moz-selection { color: #333; text-shadow: none; }
::selection {  color: #333; text-shadow: none; }
.clear:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clear { display: inline-table; clear: both; }
/* Hides from IE-mac \*/ * html .clear { height: 1%; } .clear { display: block; } /* End hide from IE-mac */

/****************************************
  ==== LAYOUT
****************************************/

.mothergameholder { width: 100%; height: 100%; font-family: Helvetica, Verdana, Arial, sans-serif; }
div.title { height: 38px; line-height: 38px; padding: 0 10px; margin: 0 1px 0 0; float: right; color: #333; text-align: right; font-size: 18px; position: relative; z-index: 10; }
.template-wrap { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
.template-wrap canvas { margin: 0 0 10px 0; position: relative; z-index: 9; box-shadow: 0 10px 30px rgba(0,0,0,0.2); -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.2);vertical-align:top; }
.fullscreen { float: right; position: relative; z-index: 10; }



#ctrl-1,#ctrl-2,#ctrl-3{height:16%;bottom:5%;position:absolute;width:33.33%;opacity:0;z-index:4;display:block;border:0}
#ctrl-1{background:red;left:0%;}
#ctrl-2{background:green;left:33.33%;}
#ctrl-3{background:blue;left:66.66%;}

.customButtons{position:absolute;left:0;top:0px;width:100%;height:100%;z-index:3;user-select:none;display:none}
.cmnButton{position:absolute;width:100px;height:55px;line-height:55px;text-align:center;background:rgba(46,69,121,0.6);border:solid 2px rgba(255,255,255,0.3);box-sizing:unset}
.cmnButton:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(/games/block-party-directembedcode/textures/arr.png);background-repeat:no-repeat;background-position:center center}
#ctrl-escape:before{background-image:none}
#ctrl-enter:before{background-image:none}
#ctrl-space:before{background-image:none}
#ctrl-space{right:20px;bottom:30px;color:white;width:120px;height:70px;line-height:70px;font-size:14px;}
#ctrl-tab:before{background-image:none}
#ctrl-tab{right:20px;bottom:110px;color:white;width:65px;height:60px;font-size:12px;padding:10px 0 0;line-height:normal;}
#ctrl-tab span{font-size:25px;}
#ctrl-left{left:20px;bottom:30px;height:70px;}
#ctrl-right{left:130px;bottom:30px;height:70px;}
#ctrl-down{right:96px;bottom:110px;width:44px;height:30px;}
#ctrl-up{right:96px;bottom:150px;width:44px;height:30px;}
#ctrl-escape{right: 20px;top: 20px;width: 30px;height: 30px;border-radius: 50%;line-height: 30px;font-size: 14px;color: white;}
#ctrl-enter{left:50%;bottom:11.9%;width:20%;color:white;height:13%;transform:translateX(-50%);opacity:0;}
.activeBG{background:#9600e7}
#ctrl-left:before{transform:rotate(180deg)}
#ctrl-down:before{transform:rotate(90deg)}
#ctrl-up:before{transform: rotate(-90deg);}
#ctrl-escape:before{transform:rotate(-90deg)}

@media(max-width:460px){
/*.cmnButton{width:50px;height:50px}*/
/*#ctrl-down{left:100px;top:0}
#ctrl-up{right:100px;top:0}*/
}

@media (hover:none) and (pointer:coarse){
.customButtons{display:block}
.clickcommon{display:block}
}