::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }

.gameDiv.canvas {
    image-rendering: optimizeSpeed;
    image-rendering:-o-crisp-edges;
    image-rendering:-webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
	-ms-touch-action: none;
}

.ani_hack{
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* mobile webkit */
}

@font-face {
    font-family: 'pixel_lcd7regular';
    src: url('/html5/baseball-pro/css/pixel_lcd-7-webfont.eot');
    src: url('/html5/baseball-pro/css/pixel_lcd-7-webfont.eot?#iefix') format('embedded-opentype'),
         url('/html5/baseball-pro/css/pixel_lcd-7-webfont.woff2') format('woff2'),
         url('/html5/baseball-pro/css/pixel_lcd-7-webfont.woff') format('woff'),
         url('/html5/baseball-pro/css/pixel_lcd-7-webfont.ttf') format('truetype'),
         url('/html5/baseball-pro/css/pixel_lcd-7-webfont.svg#pixel_lcd7regular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
	font-family:'SportsJersey-Regular';
	src: url('/html5/baseball-pro/css/SportsJersey_gdi.eot');
	src: url('/html5/baseball-pro/css/SportsJersey_gdi.eot?#iefix') format('embedded-opentype'),
		url('/html5/baseball-pro/css/SportsJersey_gdi.woff') format('woff'),
		url('/html5/baseball-pro/css/SportsJersey_gdi.ttf') format('truetype'),
		url('/html5/baseball-pro/css/SportsJersey_gdi.svg#SportsJersey-Regular') format('svg');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
}


.check-fonts{
                position: fixed;
                opacity:0;
}

.check-font-1{
        font-family: 'pixel_lcd7regular';
}
.check-font-2{
        font-family: 'SportsJersey-Regular';
}

.orientation-msg-container{
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #000;
}

.orientation-msg-text{
    font-size: 40px;
    font-family: "Arial";
    color: #fff;
    text-align: center;
    width: 80%;
    
    position: fixed;
    top: 50%;
    -webkit-transform: translate(15%,-50%);
    -moz-transform: translate(15%,-50%);
    -ms-transform: translate(15%,-50%);
    transform: translate(15%,-50%);
    
        
}

@media (max-width: 767px) {
    .orientation-msg-text{    
        font-size: 30px;  
    }
    .gameDiv{
        max-width:100%;
    }
}


@media (max-width: 500px) {
    .orientation-msg-text{    
        font-size: 30px;  
    }
}

@media (min-height: 1280px) {
    .gameDiv{
        max-width:70%;
    }
}

@media (max-height: 1024px) {
    .gameDiv{
        max-width:60%;
    }
}

@media (max-width: 400px) {
    .gameDiv{
        max-width:100%;
    }
}