.tncode_box{width: 302px;position: relative;margin-left: 75px;z-index: 2;}
/*按钮*/
.tncode{
    border: 1px solid #ebebeb;
    border-radius: 2px;
    width: 300px;
    height: 40px;
    background: #f7f9fa;
    text-align: center;
    color: #45494c;
    cursor: pointer;
    opacity: 1;
    font-size: 15px;
    line-height: 40px;
}
/*浮层*/
.tncode_div_bg{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index:1000;
    *zoom:1;
    display: none;
}
.tncode_div{
    display: none;
    background-color: white;
    z-index: 1000000;
    width: 300px;
    height: 190px;
    position: absolute;
    left: 0;bottom: 0;
    border: 1px solid #ebebeb;
    border-radius: 2px;
    overflow: hidden;
}
.tncode_div .tncode_canvas_bg{
    z-index: 0;
}
.tncode_div .tncode_canvas_mark{
    z-index: 10000;
}
.tncode_div canvas{
    position: absolute;
    left: 0;
    top: 0;
}
.tncode_div .loading{
    padding-top: 60px;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #ccc;
    width: 300px;
    height: 150px;
    text-align: center;
    box-sizing:border-box;
}
.dd{
}
@-webkit-keyframes ddf {
    0% {-webkit-transform: translate(-8px, 3px);}
    20% {-webkit-transform: translate(-3px, 1.5px);}
    50% {-webkit-transform: translate(0px, 0px) ;}
    70% {-webkit-transform: translate(5px, -1.5px) ;}
    100% {-webkit-transform: translate(0px, 0px);}
}
@-o-keyframes ddf {
    0% {-o-transform: translate(-8px, 3px);}
    20% {-o-transform: translate(-3px, 1.5px);}
    50% {-o-transform: translate(0px, 0px) ;}
    70% {-o-transform: translate(5px, -1.5px) ;}
    100% {-o-transform: translate(0px, 0px);}
}
@-moz-keyframes ddf {
    0% {-moz-transform: translate(-8px, 3px);}
    20% {-moz-transform: translate(-3px, 1.5px);}
    50% {-moz-transform: translate(0px, 0px) ;}
    70% {-moz-transform: translate(5px, -1.5px) ;}
    100% {-moz-transform: translate(0px, 0px);}
}
@keyframes ddf {
    0% {transform: translate(-8px, 3px);}
    20% {transform: translate(-3px, 1.5px);}
    50% {transform: translate(0px, 0px) ;}
    70% {transform: translate(5px, -1.5px) ;}
    100% {transform: translate(0px, 0px);}
}
.hgroup{
}

@-webkit-keyframes searchLights {
    0% {
        left: -800px;
        top: 70px;
    }

    to {
        left: 350px;
        top: 70px
    }
}

@-o-keyframes searchLights {
    0% {
        left: -800px;
        top: 70px;
    }

    to {
        left: 350px;
        top: 70px
    }
}

@-moz-keyframes searchLights {
    0% {
        left: -800px;
        top: 70px;
    }

    to {
        left: 350px;
        top: 70px
    }
}

@keyframes searchLights {
    0% {
        left: -800px;
        top: 70px;
    }

    to {
        left: 350px;
        top: 70px
    }
}




/*拉条*/
.tncode_msg_ok{
    background-color: #24C628;
}
.tncode_msg_error{
    background-color: #DE5145;
}
.tncode_msg_ok,.tncode_msg_error{
    position: absolute;
    bottom:40px;
    left: 0;
    width: 300px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    margin: 0;
    overflow: visible;
    background-position: 0px 0px;
    font-size: 14px;
    text-indent: 10px;
    opacity:0;
    filter: alpha(opacity=0);
    z-index: 10000;
}
.slide{
    position: absolute;
    bottom:0;
    width: 300px;
    height: 40px;
    background-color: white;
    background-size: 100%;
    overflow: visible;
    background-position: 0px 0px;
}

.tools{
    position: absolute;
    top:0;
    right: 0;
    z-index: 99999;
    background-size: 100%;
    overflow: visible;
    background-position: 0px 0px;
}

.slide_block{
background-position: 0px 12.9794%;
width: 40px;
height: 40px;
background: #fff url('img/icon1.png');
border: 1px #ebebeb solid;
    position: absolute;
    left: -1px;
    top: 0;
cursor: pointer;
z-index: 2;
}
.slide_block:hover{background: #1991FA url('img/icon2.png');}
.slide_block_text{
    width: 300px;
height: 40px;
cursor: pointer;
font-size: 15px;
text-align: center;
background: #f7f9fa;
line-height: 40px;
    color: #45494c;
}

.tncode_canvas_bg,.tncode_canvas_mark{
   /* width: 300px;height: 150px; */
}

.tools .tncode_close{
    background:url('img/icon4.png') no-repeat center center; 
    height: 30px;
    width: 30px;
    float: left;
    margin: 5px;
    cursor: pointer;
}
.tools .tncode_refresh{
    background:url('img/icon3.png') no-repeat center center; 
    height: 30px;
    width: 30px;
    margin: 5px;
    float: left;
    cursor: pointer;
}
.tools .tncode_tips{
    float: right;
}
.tools .tncode_tips a{
    text-decoration: none;
    font-size: 10px;
    color: rgb(136, 148, 157);
}
