/* Base style
   ========================================================================== */
   
/* Fonts */

@font-face {
	font-family: 'groboldregular';
    src: url('fonts/grobold-webfont.woff2') format('woff2'),
         url('fonts/grobold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html{ -webkit-user-select: none; -ms-user-select: none; user-select: none; background:#00366F;}

/*-- Percent Loader -- */
#mainLoader{position:absolute;z-index:5; display:none; font-size:20px; line-height:25px; color:#fff; text-align:center; width:100%; font-family:'groboldregular';}

/*-- Content Wrapper -- */
#mainHolder{position:absolute; width:100%;height:100%;}

/*-- Browser Not Support -- */
#notSupportHolder{ width:90%; margin:5% auto; position:relative; color:#1967CC; text-align:center; font-size:25px; font-family:'groboldregular'; display:none;}


/*-- Mobile Rotate Instruction -- */
#rotateHolder{position:absolute;width:100%;height:100%;background-color:#00366F;z-index:1000; display:none;}
.mobileRotate{width:200px;height:auto;position:absolute;text-align:center;}
.rotateImg{-webkit-animation:spin .5s linear infinite; -moz-animation:spin .5s linear infinite; animation:spin .5s linear infinite; margin-bottom:10px;}
.rotateDesc{color:#fff; font-size:20px; line-height:20px; font-family:'groboldregular';}

@-moz-keyframes spin { 50% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(0deg); } }
@-webkit-keyframes spin { 50% { -webkit-transform: rotate(90deg); } 100% { -webkit-transform: rotate(0deg); } }
@keyframes spin { 50% { -webkit-transform: rotate(90deg); transform:rotate(90deg); } 100% { -webkit-transform: rotate(90deg); transform:rotate(90deg); } }

/*-- Canvas Wrapper -- */
#canvasHolder{ display:none; width:100%; max-width:1280px; height:100%; margin:auto; position:relative;}
canvas{ position:fixed;}

/*-- Form Wrapper -- */
#editWrapper{ display:none; font-size: 12px; font-family: Arial, Helvetica, sans-serif;}
#floatForm{ position:fixed; left:0; top:0; z-index:100; background:#0070EC; padding:15px; color:#FFF; width:280px; border:#fff solid 2px;}
#floatForm{ font-size:12px;}
#floatForm #boardEditWrapper, #floatForm #pathEditWrapper, #floatForm #pathActionEditWrapper, #floatForm #saveWrapper{ background:#0A55B2; padding:10px;}
#floatForm #saveStatus{ width:100%; text-align: center; color: #ff9900; }
#floatForm #pathWrapper, #floatForm #editEnemyDotsWrapper{ border:#FFF solid 1px; padding:5px;}
#floatForm input.button, #floatForm select.half, #floatForm label{ width:49%;}
#floatForm .formRow, #floatForm .formRowLong{ height:25px; }
#floatForm .extraHeight{ height:55px; }
#floatForm .formRow input, #floatForm .formRow select{ float:right; width:48%;}
#floatForm .formRow label{ float:left; width:48%;}
#floatForm .divider{ margin:10px 0; padding:10px 10px; border:#FFF solid 1px;}

#floatForm input{ width:100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#floatForm textarea{ float:left; width:100%; resize:none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;  }
#floatForm select, #floatForm option{ width:100%;}

/*-- Room Wrapper Unique -- */
.snakesandladders #roomWrapper, .snakesandladders #notificationHolder{ font-family: 'groboldregular'; }
.snakesandladders #roomWrapper input, .snakesandladders #roomWrapper button{ font-family: 'groboldregular'; }
.snakesandladders .roomContent select, .snakesandladders .roomContent textarea{ font-family: 'groboldregular'; }