﻿
html,body,div{
	margin:0;
	padding:0;
}
/*游戏区块*/
.game-container {
    background: url(../images/wanfabeijing.png) no-repeat center center;
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-size: 100% 100%;
    max-width: 640px;
    margin: 0 auto;
}
.game-container{
	display: none;
}
/*开始界面*/
.start-container{
	background: url(../images/beijing.png) no-repeat center center;
	background-size: cover;
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 999;
    max-width: 640px;
    margin: 0 auto;
}
.startLogo {
    /*width: 883px;
    height: 582px;
    position: absolute;
    top: 300px;
    left: 50%;
    margin-left: -441px;*/
    margin: 30% 8% 25% 8%;
    text-align: center;
}
.startLogo img {
    width: 90%;
    /*height: 100%;*/
    /*margin: 20% 8% 0 8%;*/
}
.start-container p{
	/*position: absolute;
	bottom: 400px;
	left: 50%;
    margin-left: -200px;*/
    margin: 10% 8% 0 8%;
}
.start-container p button{
	/*width: 200px;
	height: 50px;
	display: block;
	margin: 0 auto;
	margin-bottom: 40px;
	border-radius: 60%;
	font-family: "微软雅黑";
	font-weight: bold;
	font-size:18px;*/
    height: 79px;
    width: 222px;
    margin: 0 16%;
    
}
#btn-start {
    text-align: center;
    /*background: url(../images/kaishiyouxi.png);
    background-size: 100% 100%;*/
}
#btn-set {
    text-align: center;
    margin-top: 5%;
    /*background: url(../images/guanyu.png);
    background-size: 100% 100%;*/
}
#btn-start img, #btn-set img {
    width: 50%;
}
.start-container .btn{
	outline: none; 
    border: 0px solid transparent;
}
/*去掉bootstrap按钮边框*/
.btn:focus,    
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,.btn.active.focus {
    outline: none;          
}
/*设置区块*/
.modal-dialog{
	display: none;
	/*z-index: 2;*/
	color:#02490C;
	font-weight: 400;
}
.modal-dialog .modal-body{
	/*display:none;*/
	position: fixed;
    height: 300px;
    width: 390px;
    /*top: 50%;*/
    margin-top: -500px;
    left: 50%;
    margin-left: -195px;
    /*1/2宽度*/
    background: rgba(255,255,46,0.4);
    z-index: 100;
    text-align: center;
	z-index: 2;
	line-height: 95px;
}
.modal-dialog::after{
	/*display: none;*/
	content:'';
	position:fixed;
	top:0;
	right:0;
	left:0;
	bottom:0;
	background: rgba(255,255,255,0.3);
}
.game-container .panel{
	width:100px;
}
.game-container .panel .panel-body{
	padding:0;
}

/*游戏显示区块*/
.game-main-panel{
	position: absolute;
	/*left:100px;*/
	top: 80px;
	/*width:390px;
	height: 600px;*/
	/*border-left:1px solid green;
	border-right:1px solid green;*/
    background: url(../images/wanfatoumingbeijing.png) no-repeat center center;
    background-size: contain;
}
.game-container canvas {
    width: 48px;
}
.game-main-panel canvas {
    width: auto;
    /*height:600px;*/
    padding: 0 10px;
    box-sizing: border-box;
}

/*两边面板*/
.headPanel {
    overflow: hidden;
    background-color: rgba(255,255,255,0.1);
}
.timer-panel{
	height:100px;
}
.help-panel{
	height: 400px;
	line-height: 80px;
	text-align: center;
}
.leval-panel{
	height: 100px;
}
.next-panel{
    float: left;
    margin:15px 0 0 15px;
}
.setting-panel{
	width:48px;
    height:48px;
    float: right;
    margin:10px 5px 0 0;
}

.btnGamePause {
    display: block;
    width:100%;
    height:100%;
}
.btnGamePause img {
    width:100%;
    height:100%;
}
.score-panel{
    float: left;
    height:37px;
    width:100%;
}
.score-panel div {
    /*display: inline-block;*/
}
.high-score-panel{
	 height:37px;
    width:100%;
    float: left;
}

.high-score-panel div {
    display: inline-block;
}

.shapeBackImg {
    background: url(../images/xiaobeijing.png) no-repeat center center;
    background-size: cover;
}

.headPauseGame {
    text-align: center;
}

.headPauseGame img{
    width: 30%;
}

.gameSetConfig {
    text-align: center;
    position: absolute;
    bottom: 0;
    z-index: 10;
}

.gameSetConfig img {
    width: 20%;
}

/**游戏底部文字*/
.gameMainBottom {
    position: absolute;
    /*bottom: 30px;*/
    text-align: center;
    width: 100%;
}

.gameMainBottom a {
    text-decoration: none;
    color: #fff;
}

/**游戏按钮组*/
.touchBtnGroup{
    position:absolute;
    bottom:0;
    width:calc(100% + 20px);
    left:-20px;

}
.leftTouch,.rightTouch{
    width:50px;
    height:138px;
    position:absolute;
    bottom:32px;
}
.leftTouch{
    float:left;
    left:-48px;

}
.rightTouch{
     float:right;
    right:-48px;
}
.leftTouch img,.rightTouch img{
    width:100%;
    float:left;
    margin-bottom:30px;
}
.leftTouch div,.rightTouch div{
     width:100%;
    float:left;
    margin-bottom:30px;
    height:48px;
    
}
#rotateBnt{
    background:url(../../../../Content/Topic/ChristmasGame/images/rotate.png)no-repeat center;
    background-size: cover;
}
#rightBnt{
    background:url( ../../../../Content/Topic/ChristmasGame/images/right.png)no-repeat center;
    background-size: cover;
   
}
#downBnt{
     background:url( ../../../../Content/Topic/ChristmasGame/images/down.png)no-repeat center;
    background-size: cover;
}
#leftBnt{
     background:url( ../../../../Content/Topic/ChristmasGame/images/left.png)no-repeat center;
    background-size: cover;
}
/*游戏结束界面*/
.gameOverLayer {
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: absolute;
    background: url(../images/beijing.png) center center no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    right: 0;
    /*width: 100%;
    height: 100%;*/
    bottom: 0;
    z-index: 11;
    max-width: 640px;
    margin: 0 auto;
}

    .gameOverLayer .gameOverBgImg {
        width: 80%;
        height: 65%;
        background: url(../images/jieshubeijing.png) no-repeat center center;
        background-size: contain;
        margin: 20% 8% 0 10%;
    }

        .gameOverLayer .gameOverBgImg .gameOverFont1 {
            width: 100%;
        }

            .gameOverLayer .gameOverBgImg .gameOverFont1 img {
                width: 50%;
                margin-top: 20%;
            }

        .gameOverLayer .gameOverBgImg .gameOverFont2 {
            margin-top: 5%;
        }

            .gameOverLayer .gameOverBgImg .gameOverFont2 img {
                width: 30%;
            }

    .gameOverLayer .gameOverImg img {
        width: 40%;
    }

    .gameOverLayer .gameOverFont3 img {
        width: 80%;
    }

    .gameOverLayer .gameOverConfig {
        width: 80%;
        margin: 0 auto;
        overflow: hidden;
        text-align: center;
        margin-top: 0;
        margin-bottom: 7%;
    }

        .gameOverLayer .gameOverConfig img {
            width: 50%;
        }

        .gameOverLayer .gameOverConfig .gameOverBtn {
            float: left;
            width: 50%;
        }

        .gameOverLayer .gameOverConfig .gameOverHomeBtn {
        }

        .gameOverLayer .gameOverConfig .gameOverReturnBtnFont {
            width: 29%;
            display: block;
            margin: 0 auto;
        }

        .gameOverLayer .gameOverConfig .gameOverSubmitBtnFont {
            display: block;
            width: 94%;
        }
        .gameReturn a {
            text-decoration: none;
            color: #fff;
        }

/*得分样式*/
.scoreAndHighScore {
    float: left;
    width:300px;
    height:74px;
    margin-left:0;
}
.gameScore,.gameScoreImg,.gameHighScore,.gameHighScoreImg{
    display:block;
    float:left;
}
.gameScoreImg,.gameHighScoreImg{
     width:80px;
}
.gameScore,.gameHighScore{
}
.gameScore img,.gameHighScore img,.gameScoreImg img,.gameHighScoreImg img{
    height:27px;
    margin-top:4px;
}
.gameScoreImg img,.gameHighScoreImg img {
    width: 100%;
}

.gameOverLayer .gameOverBgImg .gameOverFont2 .gameTotalScore img{
    width: 7%;
}

/*提交分数层*/
.submitGameScoreLayer {
    padding-top: 1em;
    font-size: 2em;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background: url(../images/wanfabeijing.png) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /*width: 100%;
    height: 100%;*/
    bottom: 0;
    max-width: 640px;
    margin: 0 auto;
}

.gameOverLayerBastScore {
    font-size: 0.8em;
    margin-top: 0;
    color: #fedc85;
}

.gameOverLayerScore img, .highestScore img {
    width: 7%;
    /*height: 60px;*/
}

.gameOverLayerBastScore img {
    width: 20px;
    height: 30px;
}

.submitScoreLayerBack {
    z-index: 5;
    width: 80%;
    height: 67%;
    margin: 20% 8% 0 6%;
    background: url(../images/lishizuigaobeijing.png) no-repeat center center;
    background-size: contain;
}

.highest {
    /*font-size: 0.8em;
    margin-bottom: 1em;
    color: #fedc85;
    margin-top: 2em;*/
    padding-top: 18%;
}

.highest img {
    width: 43%;
}

.gameScoreImg2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
}

.GameScoreText {
    font-size: 0.6em;
    color: #ccc;
}

.formSubmit {
    position: relative;
}

.formBackImg {
    width: 80%;
}

.cgwActivityPhone {
    position: absolute;
    top: 7%;
    font-size: 0.7em;
}

.cgwActivityName {
    position: absolute;
    top: 36%;
    font-size: 0.7em;
}

.scoreIpt {
    display: block;
    width: 70%;
    text-align: center;
    margin: 0 auto;
    height: 30px;
    margin-bottom: 30px;
    font-size: 0.7em;
    background: none;
    border: none;
    outline: none;
    left: 10%;
    color: #fff;
}

.cgwActivitySubimt {
    width: 70%;
    height: 70px;
    text-align: center;
    line-height: 40px;
    color: #fff;
    background-color: #000;
    font-size: 20px;
    border: none;
    margin-top: 20px;
    background: url(../images/tijiaochenhji.png) no-repeat center center;
    background-size: contain;
}
