/*弹窗*/
#tpdialog .bg {
    width: 100%;
    height: 100%;
    background: #333;
    opacity: .3;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    /*animation: both bgOpacity .2s;*/
    /*-webkit-animation: both bgOpacity .2s;*/
}

#tpdialog .cbx, #tpdialog .loaderbx, #tpdialog .loaderbg {
    width: 500px;
    height: 200px;
    background: #fff;
    overflow: hidden;
    /*box-shadow: 0 0 40px #333;*/
    box-shadow: 0 10px 10px 0 rgba(51, 51, 51, .2);
    position: fixed;
    z-index: 10001;
    left: 50%;
    top: 50%;
    margin-left: -250px;
    margin-top: -100px;
    animation: both tpbounceIn .8s;
    -webkit-animation: both tpbounceIn .8s;
    border-radius: 8px;
}

#tpdialog .loaderbx {
    background: rgba(51, 51, 51, .8);
    animation: both loadOpacity .2s;
    -webkit-animation: both loadOpacity .2s;
}

#tpdialog .cbx h2 {
    height: 50px;
    padding: 0 0 0 15px;
    /*background: #007aff;*/
    line-height: 50px;
}

#tpdialog .cbx h2 span {
    float: left;
    font-size: 14px;
    color: #555555;

}

#tpdialog .cbx h2 i {
    float: right;
    width: 50px;
    height: 50px;
    display: block;
    background: url("../icon/icon-close.png") no-repeat center;
    background-size: 14px;
    transition: all .5s;
}

#tpdialog .cbx h2 i:hover {
    cursor: pointer;
    opacity: .8;
    transform: rotate(180deg)
}

#tpdialog .cbx .text {
    padding: 20px;
    height: 50px;
    line-height: 45px;
    font-size: 15px;
    color: #666;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tpdialog .cbx .text b {
    color: #c00;
    font-weight: normal;
}

#tpdialog .cbx .text b.small {
    color: #999999;
    font-size: 12px;
    padding-left: 4px;
}

#tpdialog .cbx .btn {
    text-align: center;
    padding-top: 8px;
}

#tpdialog .cbx .btn button {
    width: 100px;
    height: 32px;
    font-size: 13px;
    text-align: center;
    background: #eee;
    color: #666;
    margin: 0 8px;
    display: inline-block;
    border: 0;
    box-shadow: 1px 1px 1px #ccc;
    border-radius: 4px;
}

#tpdialog .cbx .btn button.sure {
    background: #007aff;
    color: #fff;
}

#tpdialog .cbx .btn button:hover {
    opacity: .8;
    cursor: pointer;
}

#tpdialog .cbx2 .txt {
    font-size: 16px;
    line-height: 50px;
}

#tpdialog .cbx3 {
    width: 800px;
    height: 600px;
    margin-left: -400px;
    margin-top: -300px;
}

#tpdialog .cbx3 .text {
    height: 440px;
    overflow-y: auto;
    text-align: left;
    line-height: 20px;
    color: #333;
    margin-bottom: 20px;
    word-break: break-all
}

#tpdialog .loaderbg {
    width: 200px;
    height: 200px;
    margin-left: -100px;
    margin-top: -100px;
    background: #000;
    opacity: .6;
    border-radius: 5px;
}

#tpdialog .loaderbx {
    width: 200px;
    height: 200px;
    margin-left: -100px;
    margin-top: -100px;
    background: none;
    z-index: 10002;
    border-radius: 5px;
    box-shadow: none;
}

#tpdialog .loaderbx .close {
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10005;
    text-align: center;
    font-size: 24px;
    line-height: 40px;
    color: #fff;
    /*background: url("../images/icon-close.png") no-repeat center;*/
    background-size: 14px;
}

#tpdialog .loaderbx .close:hover {
    cursor: pointer;
    opacity: .8
}

#tpdialog .loaderbx .loadok {
    width: 60px;
    height: 60px;
    margin: 50px auto 30px auto;
    overflow: hidden;
    background: url("/static/images/icon-success.png") no-repeat center;
    background-size: 100% 100%;
}

#tpdialog .loaderbx .loadfail {
    width: 60px;
    height: 60px;
    margin: 50px auto 30px auto;
    overflow: hidden;
    background: url("/static/images/icon-fair.png") no-repeat center;
    background-size: 100% 100%;
}

#tpdialog .loaderbx .text {
    text-align: center;
    font-size: 14px;
    color: #fff;
}

#tpdialog .loaderbx .text b {
    color: #f60;
    font-weight: normal;
}

#tpdialog .loaderbx .loader {
    position: relative;
    margin: 40px auto 20px auto;
    width: 80px;
}

#tpdialog .loaderbx .loader:before {
    content: '';
    display: block;
    padding-top: 100%;
}

#tpdialog .loaderbx .circular {
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    height: 100%;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#tpdialog .loaderbx .path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    -webkit-animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

.tptoast {
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    z-index: 11001;
    text-align: center;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    overflow: hidden;
    border-radius: 5px;
}

.tptoast {
    color: #fff;
    font-size: 14px;
    background: rgba(51, 51, 51, .9);
    animation: both tpbounceIn .8s;
    -webkit-animation: both tpbounceIn .8s;
}

#tpdialog .iframe {
    min-height: 300px;
    overflow: hidden;
    height: auto;
}

#tpdialog .iframecn {
    height: 250px;
    overflow: hidden;
}

#tpdialog .iframecn iframe {
    border: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#tpdialog .iframecn-bm {
    margin-bottom: 50px;
}

#tpdialog .iframeov {
    overflow-y: auto;
    padding: 0 10px;
}

#tpdialog .bg2 {
    z-index: 10100;
    opacity: 0;
}

#tpdialog .loaderbx2 {
    z-index: 10101;
}

#tpdialog .loaderbx2 .close {
    z-index: 10102;
}


@keyframes loadOpacity {
    0% {
        background: rgba(51, 51, 51, 0);
    }
    25% {
        background: rgba(51, 51, 51, .2)
    }
    50% {
        background: rgba(51, 51, 51, .4)
    }
    75% {
        background: rgba(51, 51, 51, .6)
    }
    100% {
        background: rgba(51, 51, 51, .8)
    }
}

@keyframes bgOpacity {
    0% {
        opacity: 0
    }
    25% {
        opacity: .2;
    }
    50% {
        opacity: .3;
    }
    75% {
        opacity: .4;
    }
    100% {
        opacity: .5;
    }
}

@keyframes tpbounceIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(.3);
        -ms-transform: scale(.3);
        transform: scale(.3)
    }
    50% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    70% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}

@-webkit-keyframes color {
    100%,
    0% {
        stroke: #fff;
    }
    40% {
        stroke: #fff;
    }
    66% {
        stroke: #fff;
    }
    80%,
    90% {
        stroke: #fff;
    }
}

@keyframes color {
    100%,
    0% {
        stroke: #fff;
    }
    40% {
        stroke: #fff;
    }
    66% {
        stroke: #fff;
    }
    80%,
    90% {
        stroke: #fff;
    }
}

/*弹窗*/

@media (max-width: 520px) {
    #tpdialog .cbx, #tpdialog .loaderbx, #tpdialog .loaderbg {
        width: 320px;
        margin-left: -160px;
    }
}

@media (max-width: 320px) {
    #tpdialog .cbx, #tpdialog .loaderbx, #tpdialog .loaderbg {
        width: 300px;
        margin-left: -150px;
    }
}