@font-face { font-family: SuperMario256; src: url('../fonts/SuperMario256.ttf'); } 

#modal{z-index:100;position:absolute;line-height:40px;color:#fff;font-size:18px;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.9);text-align:center}
#modal_sharecode{position:absolute;z-index:1000;width:76%;left:13%;top:45px;height:50px;font-size:16px}
#modal_closebtn{z-index:1000;position:absolute;width:120px;height:60px;line-height:60px;background-color:yellow;color:#000;line-height:50px;top:120px;left:50%;margin-left:-60px;outline:0;border:0;border-radius:5px;font-size:20px}	

.start-screen{
  width: 1280px;
  height: 530px;
  margin: 0 auto;
  border: 1px solid black;
  background: url('../images/start-screen.png');
  position: relative;
}

.editor-screen{
  width: 1280px;
  height: 480px;
  margin: 0 auto;
  border: 1px solid black;
  background: url('../images/bg.png');
  position: relative;
  overflow: hidden;
  display: none;
}

.game-screen{
  width: 1280px;
  height: 480px;
  border: 1px solid black;
  border-top: none;
  background: url('../images/bg.png');
  display: none;
  margin: 0 auto;
}

.score-wrapper{
  padding-left: 40px;
  width: 1240px;
  margin: 0 auto;
  height: 50px;
  display: none;
  border: 1px solid black;
  border-bottom: none;
  line-height: 50px;
  font-size: 20px;
  background-color: #add1f3;
  font-family: SuperMario256;
  color: #ffffff;
}

.life-count {
  background: url('../images/mario-head.png') left center no-repeat;
  width: 100px;
  float: left;
  padding-left: 40px;
}

.coin-score {
  background: url('../images/coin.png') left center no-repeat;
  width: 150px;
  float: left;
  padding-left: 40px;
}

.level-num {
  width: 150px;
  float: left;
}

.total-score {
  float: left;
}
.cell {
  width: 31px;
  height: 31px;
  border: 1px solid blue;
}

.active {
  width: 31px;
  height: 31px;
  border: 1px solid blue;
  background: red;
  opacity: 0.5;
}

.element-wrapper{
  width: 1280px;
  height: 130px;
  background: #d2d2d2;
  margin: 0 auto;
  border: 1px solid black;
  display: none;
}

.platform{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') 0 0;
}

.coin-box{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -32px 0;
}

.power-up-box{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -64px 0;
}

.useless-box{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -96px 0;
}

.flag-pole{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -128px 0;
}

.flag{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -160px 0;
}

.pipe-left{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -192px 0;
}

.pipe-right{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -224px 0;
}

.pipe-top-left{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -256px 0;
}

.pipe-top-right{
  width: 31px;
  height: 31px;
  background: url('../images/elements.png') -288px 0;
}

.goomba{
  width: 31px;
  height: 31px;
  background: url('../images/enemies.png') 0 0;
}

.right-arrow{
  width: 60px;
  height: 60px;
  top: 15px;
  left: 75px;
  background: url('../images/slider-right.png');
  position: absolute;
}

.left-arrow{
  width: 60px;
  height: 60px;
  top: 15px;
  left: 0;
  background: url('../images/slider-left.png');
  position: absolute;
}

.element-wrapper *{
  margin: 10px;
  float: left;
}

.lvl-size{
  clear: both;
  float: left;
  width: 115px;
  height: 32px;
  background: url('../images/lvl-size.png');
  margin-right: 10px;
}

.grid-small-btn{
  float: left;
  width: 64px;
  height: 32px;
  background: url('../images/grid-small-btn.png');
  border: none;
  margin-right: 10px;
}

.grid-medium-btn:selected {
  background: red;
}

.grid-medium-btn{
  float: left;
  width: 96px;
  height: 32px;
  background: url('../images/grid-medium-btn.png');
  border: none;
  margin-right: 10px;
}

.grid-large-btn{
  float: left;
  width: 128px;
  height: 32px;
  background: url('../images/grid-large-btn.png');
  border: none;
  margin-right: 10px;
}

.save-map-btn{
  float: left;
  width: 100px;
  height: 100px;
  background: url('../images/save-map-btn.png');
  border: none;
  border: 2px solid black;
  margin-right: 10px;
  margin-top: -35px;

}

.preview-map-btn{
  float: left;
  width: 100px;
  height: 100px;
  background: url('../images/preview-map-btn.jpg');
  border: none;
  border: 2px solid black;
   margin-left: 150px;
  margin-top: -35px;

}

.share-btn{
  width: 100px;
  height: 50px;
  background: url('../images/share-btn.jpg');
  border: 2px solid black;
  margin:10px;
display:none;
	float:left;
}


.loadlvl-btn{
  width: 100px;
  height: 50px;
  background: url('../images/load-btn.png');
  border: 2px solid black;
  margin:10px;
display:none;
	float:left;
}

.moregames-btn{
width: 254px;
height: 50px;
background: url('../images/moregames-btn.jpg');
border: 2px solid black;
margin:10px;
/*display:none;*/
float:left;
}

.editprev-btn{
	float:left;
  width: 100px;
  height: 50px;
  background: url('../images/edit-prev-btn.jpg');
  border: 2px solid black;
  margin:10px;
display:none;
}


.clear-map-btn{
  float: left;
  width: 100px;
  height: 100px;
  background: url('../images/clear-map-btn.png');
  border: none;
  border: 2px solid black;
  margin-top: -35px;
}

.levels-wrapper{
  width: 1280px;
  height: 530px;
  margin: 0 auto;
  border: 1px solid black;
  position: relative;
  overflow: hidden;
  display: none;
  background: url('../images/bg.png');
}

.start-btn{
  width: 200px;
  height: 50px;
  color: #ffffff;
  background: url('../images/start-btn.png');
  position: absolute;
  bottom: 100px;
  left: 252px;
  border: 2px solid black;
}

.editor-btn{
  width: 200px;
  height: 50px;
  background: url('../images/editor-btn.png');
  position: absolute;
  bottom: 100px;
  left: 530px;
  color: #ffffff;
  border: 2px solid black;
}

.created-btn{
  width: 200px;
  height: 50px;
  background: url('../images/saved-btn.png');
  position: absolute;
  bottom: 100px;
  left: 810px;
  color: #ffffff;
  border: 2px solid black;
}

.back-btn{
  width: 200px;
  height: 50px;
  background: url('../images/back-btn.png');
  color: #ffffff;
  border: 2px solid black;
  margin: 10px;
  display: none;
	float:left;
}

.level-btn{
  font-family: SuperMario256;
  font-size: 25px;
  float: left;
  line-height: 50px;
  text-align: center;
  width: 248px;
  height: 50px;
  color: #ffffff;
  border: 2px solid black;
  margin: 2px;
  text-transform: uppercase;
  font-weight: bold;
  background: #15a7d9;
}


.delete-all-btn{
  width: 100px;
  height: 100px;
  background: url('../images/delete-all-btn.png');
  color: #ffffff;
  border: 2px solid black;
  margin: 10px;
  position: absolute;
  bottom: 10px;
  right: 10px;  
}

.btn-wrapper{
  width: 1280px;
  height: 100px;
  margin: 0 auto;
}

.no-maps{
  width: 1000px;
  text-align: center;
  font-family: SuperMario256;
  font-size: 25px;
  margin: 0 auto;
  color: #ffffff;
  background: #5fb952;
  border: 2px solid black;
}

.loading-percentage {
  font-size: 60px;
  font-family: SuperMario256;
  text-align: center;
  padding: 100px;
}

.fb-comments {
  margin: 0 auto;
}

@media (min-width:700px){
	#modal_sharecode{height:76px;font-size:17px}
	#modal_closebtn{top:150px;margin-left:-100px;width:200px;font-size:26px}
}