html {
  -ms-touch-action: none;
}

body, canvas, div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=file] {
	position: absolute;
    bottom: 48%; 
    display: inline-block;
    background-color: #D0EEFF;
    border: 1px solid #99D3F5;
    border-radius: 4px;
    padding: 4px 12px;
    overflow: hidden;
    color: #1E88C7;
    text-decoration: none;
    text-indent: 0;
    line-height: 20px;
    opacity: 0.9;
    filter: alpha(opacity=0.9);
}
body {
	overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;

  cursor: default;
  color: #888;
	background-color: black;

  text-align: center;
  font-family: Helvetica, Verdana, Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

canvas {
  background-color: rgba(0, 0, 0, 0);
}

#GameDiv, #Cocos3dGameContainer, #GameCanvas {
  width: 100%;
  height: 100%;
}

.clearfix:after { /*伪元素是行内元素 正常浏览器清除浮动方法*/
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	*zoom: 1; /*ie6清除浮动的方式 *号只有IE6-IE7执行，其他浏览器不执行*/
}


.loadingC_S {
	font-size: 15px;
	color: white;
}

@media screen and (orientation: portrait) {
    
    .logintop {
        position: absolute;
        margin: 0 auto;
        max-width: 720px;
        width: 100%;
        background: white;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        vertical-align: middle;
        
    }
    .loginBg {
        width: 100%;
        display:block;
    }
    
    .loadingL {
        width:100%;
        position: absolute;
        margin: 0 auto;
        right: 30%;
        top: 47%;
        
    
    }
    .loadingL .loadingC {
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
        vertical-align: middle; 
    }
    
    .loadingL .loadingC img {
        padding-bottom: 0.5rem;
    
    }
    .loadingL .loadingC p {
        margin: 0;
        font-size: 1rem;
    }
} 

@media screen and (orientation: landscape) {
	 
    .logintop  {
        /* max-width: 1280px;
        height: 720px;
        */
    }

   .loginBg_B {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    vertical-align: middle;

    }

    .loginBg {
        transform: rotate(-90deg);
        height: 100%;
        width: 100%;
        
    }
    .loadingL {
        width:100%;
        position: absolute;
        margin: 0 auto;
        bottom: 5%; 
    }
    .loadingL .loadingC {
        transform: rotate(0deg);
         
    }
}
