﻿* {
    margin: 0;
    outline: none;
    font-family: 微软雅黑;
    padding: 0;
}

@font-face {
    font-family: "lcd";
    src: url("lcd.ttf") format("truetype");
}

body, html {
    height: 100%;
    width: 100%;
}

body {
    text-align: center;
    overflow: hidden;
    background-image: url('images/bg.jpg');
    background-position: center center;
}

header {
    background-color: transparent;
    height: 90px;
    color: #fff;
    font-weight: bold;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    letter-spacing: 1px;
    line-height: 90px;
}

h1 {
    font-size: 44px;
    display: inline-block;
    margin: auto;
    line-height: 90px;
    text-shadow: -1px -1px 0px rgba(0,0,0,1)
}

    h1 > img {
        height: 70px;
        vertical-align: middle;
        margin-top: -3px;
        margin-right: 5px;
    }

.floatl {
    float: left
}

.floatr {
    float: right
}

header button {
    display: inline-block;
    position: relative;
    color: #fff;
    vertical-align: middle;
    background-color: #0000ff;
    height: 55px;
    border: 0;
    border-radius: 5px;
    border: 1px rgba(0,0,0,.2) solid;
    overflow: hidden;
    font-size: 26px;
    padding-left: 20px;
    padding-right: 20px;
    min-width: 150px;
    transition: all .5s
}

    header button > i {
        font-size: 22px !important;
        vertical-align: middle;
        display: inline-block;
        margin-right: 5px;
        margin-top: -3px;
    }

    header button:active {
        background-color: rgba(0,0,0,.5);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5) inset
    }

    header button:after {
        position: absolute;
        left: 0;
        top: 0;
        height: 25px;
        content: "";
        width: 100%;
        background: linear-gradient(to top,rgba(255,255,255,.15),rgba(255,255,255,.2));
    }

section {
    display: table;
    width: 100%;
    height: calc(100% - 220px);
    position: relative;
    z-index: 2;
}

    section > div {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

a {
    text-decoration: none;
    height: 160px;
    line-height: 40px;
    color: rgba(255,255,255,.9);
}

    a:hover {
        text-decoration: underline;
    }

footer {
    background-color: transparent;
    height: 160px;
    line-height: 40px;
    color: rgba(255,255,255,.9);
    font-size: 20px;
}

div.weight {
    display: inline-block;
    margin: auto;
    margin-top: -30px;
    width: 600px;
    position: relative;
    height: 110px;
    line-height: 110px;
    white-space: nowrap;
    font-size: 24px;
    color: #999;
    background-color: rgba(0,0,0,.5);
    border-radius: 10px;
    overflow: hidden;
    border: 1px rgba(255,255,255,.2) solid;
    box-shadow: 0px 0px 20px rgba(0,0,0,.3)
}

    div.weight input {
        text-align: center;
        height: 100%;
        line-height: 110px;
        font-size: 120px;
        width: 520px;
        border: 0;
        color: #00ffff;
        vertical-align: middle;
        font-family: lcd;
        margin-top: -5px;
        margin-right: 10px;
        background-color: transparent;
    }

    div.weight:after {
        content: "";
        width: 100%;
        height: 50px;
        position: absolute;
        left: 0;
        top: 0;
        background: linear-gradient(to top,rgba(255,255,255,.10),rgba(255,255,255,.1));
    }

div.num {
    margin-top: 60px;
    font-size: 32px;
    color: #fff;
}

    div.num i {
        margin-right: 5px;
        font-size: 36px;
        display: inline-block;
        vertical-align: middle
    }

    div.num span {
        background-color: rgba(0,0,0,.2);
        height: 90px;
        display: inline-block;
        margin-top: -6px;
        border: 5px rgba(0,0,0,.2) solid;
        width: 550px;
        box-sizing: border-box;
        vertical-align: middle;
        border-radius: 8px;
    }

        div.num span input {
            font-size: 48px;
            letter-spacing: 2px;
            color: #fff;
            width: 100%;
            border: 2px #fff solid;
            background-color: transparent;
            box-sizing: border-box;
            display: block;
            text-align: center;
            border-radius: 5px;
            height: 80px;
            line-height: 80px;
            font-family: 黑体;
            text-shadow: -2px -2px 2px rgba(0,0,0,1);
            transition: all .3s
        }

.btn {
    width: 250px;
    height: 80px;
    border: 0;
    border: 1px rgba(255,255,255,.2) solid;
    box-shadow: 0px 0px 40px rgba(0,0,0,.3) inset,0px 0px 40px rgba(0,0,0,.3);
    background: #0066ff;
    font-size: 30px;
    text-align: center;
    line-height: 70px;
    margin: 10px;
    color: #fff;
    border-radius: 40px;
    position: relative;
    transition: all .3s
}

    .btn:active {
        box-shadow: 0px 0px 30px rgba(0,0,0,.6) inset,0px 0px 40px rgba(0,0,0,.6);
    }

    .btn i {
        margin-right: 5px;
        display: inline-block;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        vertical-align: middle;
        margin-right: 10px;
        margin-top: -3px;
        color: rgba(255,255,255,.8);
        font-size: 16px;
        background-color: rgba(0,0,0,.2)
    }

div.btnbox {
    width: 100%;
    display: block;
    margin-top: 200px;
    position: relative;
    text-align: left
}

    div.btnbox button:first-child {
        margin-left: -50px;
        text-align: right;
        padding-right: 80px;
    }

        div.btnbox button:first-child i {
            position: absolute;
            right: 25px;
            top: 25px;
        }

    div.btnbox button:last-child {
        margin-right: -50px;
        text-align: left;
        float: right;
        padding-left: 40px;
    }

        div.btnbox button:last-child i {
            margin-right: 20px
        }

.keybord {
    position: fixed;
    width: 100%;
    bottom: -500px;
    z-index: 5;
    background-color: rgba(255,255,255,.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

    .keybord ul {
        padding: 10px;
        box-sizing: border-box;
        width: 1280px;
        margin: auto
    }

        .keybord ul li {
            list-style: none;
            position: relative
        }

            .keybord ul li:first-child {
                text-align: left;
                padding-bottom: 10px;
                border-bottom: 1px rgba(0,0,0,.1) solid
            }

            .keybord ul li:last-child {
                display: table;
                width: 100%;
                border-top: 1px rgba(255,255,255,.2) solid
            }

            .keybord ul li div {
                display: table-cell;
                vertical-align: top;
                padding-top: 10px;
            }

                .keybord ul li div p {
                    border-radius: 5px;
                    text-align: left
                }

                    .keybord ul li div p button {
                        background-color: #0000ff;
                        font-size: 22px;
                        color: #fff;
                        border: 1px rgba(255,255,255,.3) solid;
                        width: 120px;
                        font-weight: normal
                    }

                        .keybord ul li div p button:active {
                            background-color: rgba(30,100,200,1);
                        }

                        .keybord ul li div p button i {
                            margin-right: 5px;
                            display: inline-block;
                            margin-top: -6px;
                            font-size: 20px
                        }

                        .keybord ul li div p button:last-child {
                            float: right;
                            margin-right: 50px;
                            background-color: #e98900
                        }

                .keybord ul li div:last-child {
                    width: 280px;
                    padding-top: 10px;
                }

            .keybord ul li button {
                display: inline-block;
                width: 80px;
                height: 50px;
                line-height: 45px;
                box-sizing: border-box;
                padding-bottom: 5px;
                background-color: #fff;
                color: #000;
                font-weight: bold;
                border: 1px #999 solid;
                border-radius: 5px;
                margin: 5px;
                text-transform: uppercase;
                font-size: 26px;
                transition: all .3s
            }

                .keybord ul li button:active {
                    box-shadow: 0px 0px 20px rgba(0,0,0,.3) inset,0px 0px 20px rgba(0,0,0,.2);
                    background-color: rgba(210,230,255,.9)
                }

                .keybord ul li button.delbtn {
                    width: 170px;
                    background-color: rgba(255,0,0,.5);
                    color: #fff;
                    font-size: 20px;
                    font-weight: normal
                }

                    .keybord ul li button.delbtn i {
                        font-size: 24px;
                        vertical-align: top;
                        margin-top: 1px;
                        display: inline-block;
                        margin-right: 5px;
                    }

ul.form {
    padding-top: 30px;
}

    ul.form li {
        list-style: none;
        display: table;
        margin: auto;
        width: 600px
    }

        ul.form li > label, ul li > span {
            display: table-cell;
            padding: 8px;
            color: #fff
        }

        ul.form li > label {
            font-size: 22px;
            width: 100px;
            white-space: nowrap
        }

            ul.form li > label > em {
                font-style: normal;
                margin-right: 5px;
                color: #ff0000
            }

        ul.form li > span > input, ul.form li > span > select {
            height: 60px;
            display: block;
            width: 100%;
            box-sizing: border-box;
            padding-left: 10px;
            border-radius: 5px;
            color: #fff;
            font-size: 22px;
            background-color: rgba(0,0,0,.5);
            border: 1px rgba(255,255,255,.3) solid;
            box-shadow: 0px 0px 20px rgba(0,0,0,.3);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            transition: all .5s
        }

            ul.form li > span > select option {
                background-color: rgba(0,0,0,.8)
            }

            ul.form li > span > input:focus {
                background-color: rgba(255,255,255,.8);
                -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
                color: #000
            }

div.success {
    width: 600px;
    margin: auto;
    margin-top: 50px;
    box-sizing: border-box;
    height: 300px;
    padding-top: 50px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0,0,0,.3);
    background-color: rgba(255,255,255,.6);
}

    div.success > i {
        color: #fff;
        display: inline-block;
        width: 90px;
        height: 90px;
        text-align: center;
        line-height: 90px;
        font-size: 48px;
        border-radius: 50%;
        background-color: green
    }

    div.success p {
        color: #000;
        padding-top: 30px;
        font-size: 28px;
    }

.layui-layer-close {
    zoom: 1.2
}

.layui-layer-title {
    font-size: 32px !important;
    height: 70px;
    line-height: 70px;
}

#msg {
    text-align: center;
    padding: 30px;
    display: none;
    color: red;
    font-size: 36px;
}

    #msg p {
        line-height: 50px;
        min-height: 105px;
    }

    #msg div {
        padding-top: 20px;
    }

        #msg div button {
            display: inline-block;
            width: 160px;
            height: 60px;
            border: 0;
            background-color: #0066ff;
            color: #fff;
            line-height: 60px;
            font-size: 24px;
            transition: all .3s;
            border-radius: 10px;
        }

            #msg div button:active {
                box-shadow: 0px 0px 20px rgba(0,0,0,.5) inset
            }

#print {
    display: none
}

    #print p {
        padding: 20px;
        font-size: 20px;
    }

    #print div button {
        display: inline-block;
        width: 160px;
        height: 60px;
        border: 0;
        background-color: #0066ff;
        color: #fff;
        line-height: 60px;
        font-size: 24px;
        margin-left: 10px;
        margin-right: 10px;
        transition: all .3s;
        border-radius: 10px;
    }

        #print div button:active {
            box-shadow: 0px 0px 20px rgba(0,0,0,.5) inset
        }

div.tblbox {
    overflow: auto;
    height: 580px;
    box-sizing: border-box;
    padding: 10px;
}

    div.tblbox table {
        border: 1px #ddd solid;
        width: 100%;
        border-collapse: collapse
    }

        div.tblbox table th, div.tblbox table td {
            padding: 20px;
            border: 1px #ddd solid;
            font-size: 16px;
            text-align: left;
        }

        div.tblbox table th {
            text-align: left;
            width: 100px;
            background-color: #f5f5f5
        }
