* {
    margin: 0;
    padding: 0;
    font-size: 18px;
    box-sizing: border-box
}

body {
    background-color: #f5f5f5
}

h1,
strong {
    font-weight: 400;
    display: inline-block
}

caption {
    display: none
}

.description strong {
    font-weight: 700
}

.same-width {
    font-family: monospace;
    font-size: 18px !important
}

.left {
    text-align: left !important
}

.right {
    text-align: right !important
}

@keyframes fade-in {
    0% {
        opacity: 0;
        display: block !important
    }
    60% {
        opacity: .6
    }
    100% {
        opacity: 1
    }
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
        display: block !important
    }
    60% {
        opacity: .6
    }
    100% {
        opacity: 1
    }
}

@keyframes fade-out {
    0% {
        opacity: 1
    }
    60% {
        opacity: .6
    }
    100% {
        opacity: 0;
        display: none !important
    }
}

@-webkit-keyframes fade-out {
    0% {
        opacity: 1
    }
    60% {
        opacity: .6
    }
    100% {
        opacity: 0;
        display: none !important
    }
}

.fadeIn {
    animation: fade-in;
    animation-duration: .5s;
    -webkit-animation: fade-in .5s;
    display: block !important
}

.fadeOut {
    animation: fade-out;
    animation-duration: .5s;
    -webkit-animation: fade-out .5s;
    display: block !important
}

.header {
    text-align: center;
    background-color: #f5f5f5;
    padding-bottom: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1
}

.logo a {
    font-size: 2em;
    font-weight: 700;
    color: #e13e3e;
    text-shadow: 0 8px 9px #c4b59d, 0 -2px 1px #fff;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    text-align: center;
    text-decoration: none
}

.wrap {
    margin: 0 20px 20px 20px
}

.description {
    color: gray;
    display: block;
    font-weight: 400;
    text-align: center;
    margin: 76px auto 20px;
    font-size: medium;
}

.description a {
    color: gray
}

.api-search .form {
    position: relative;
    width: 397px;
    margin: 0 auto
}

.api-search #total {
    position: absolute;
    left: 410px;
    top: 9px;
    color: gray;
    width: 150px
}

.api-search button,
.api-search input {
    border: none;
    outline: 0;
    font-size: 16px
}

.api-search input {
    width: 100%;
    height: 42px;
    padding-left: 13px;
    border: 2px solid #e13e3d;
    border-radius: 5px
}

.api-search button {
    height: 42px;
    width: 42px;
    cursor: pointer;
    position: absolute;
    background: #e13e3d;
    border-radius: 0 5px 5px 0;
    width: 60px;
    top: 0;
    right: 0
}

.api-search button:before {
    content: "过滤";
    color: #f9f0da
}

.menu {
    padding: 10px 0 10px 0
}

.date-search,
.menu {
    margin: 0 auto;
    display: table
}

.date-search a,
.menu a {
    margin: 3px !important
}

.btm-link {
    padding-top: 10px
}

.btm-link a {
    font-size: 16px
}

.date-search input {
    width: 88px;
    font-size: 14px;
    padding: 3px;
    border: 1px solid #bbb;
    margin-left: 3px;
    height: 27px;
    text-align: center;
    border-radius: 6px
}

.api-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: 180px 180px;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    max-width: 1500px
}

.api-container .api-grid {
    text-align: center;
    height: 180px;
    background-color: #fff;
    border-radius: 8px
}

.api-container .api-grid:hover {
    box-shadow: rgba(0, 0, 0, .2) 0 8px 12px
}

.api-grid .issue-time,
.api-grid .lottery-name {
    padding-top: 10px;
    margin-bottom: 10px
}

.api-grid b {
    font-weight: 400
}

.data-table {
    width: 100%;
    text-align: center;
    background-color: #e5e5e5;
    border: 0;
    color: #333
}

.data-table th {
    padding: 6px 3px;
    font-weight: 400;
    background-color: #eee
}

.data-table td {
    background-color: #fff;
    padding: 5px;
    word-break: break-all
}

td.ball {
    min-width: 180px
}

td.tag {
    min-height: 40px;
    padding-right: 20px;
    text-align: right;
    white-space: nowrap
}

td.content {
    text-align: left;
    padding-left: 20px
}

td.content span {
    color: gray
}

.data-table * {
    font-size: 16px
}

.data-table th {
    font-size: 18px
}

.detail input,
.detail select {
    height: 25px
}

textarea {
    max-width: 350px;
    height: 45px;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block
}
.api-grid .issue-number b,
td.ball b {
    width: 25px;
    height: 25px;
    text-align: center;
    font-weight: 700;
    background-color: #ff4d7c;
    border-radius: 25px;
    display: inline-block;
    line-height: 25px;
    margin: 2px;
    color: #fff;
    font-size: 16px
}
.api-grid .issue-number.si b,td.ball.si b{
    background-color: #8f8b8c;
}
.api-grid .issue-time,
.api-grid .lottery-name b {
    font-size: 14px;
    color: #1f81f5;
    margin-left: 10px
}

.api-grid .demo-link b,
.date-search a,
.menu a {
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 14px;
    margin: 3px;
    color: #888;
    text-decoration: none
}

.api-grid .demo-link b:hover,
.date-search .active,
.date-search a:hover,
.menu a:hover {
    border-color: #e13e3d;
    background-color: #e13e3d;
    color: #fff
}

.api-grid a {
    font-size: 14px;
    text-decoration: none;
    color: #888
}

.api-grid a:hover {
    color: #fff
}

@media all and (-ms-high-contrast:none),
(-ms-high-contrast:active) {
    .api-container .api-grid {
        margin: 10px;
        width: 300px;
        float: left
    }
}

#go-top {
    padding: 2px;
    border: 1px solid #ccc;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
    padding: 15px;
    background-color: #fff
}

#go-top span {
    width: 100%;
    display: block;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 15px solid #aaa
}

#api-shopping-cart,
#smart-cart {
    position: fixed;
    bottom: 10px;
    left: 10px;
    border: 1px solid #ccc;
    padding: 25px;
    background-color: #fff;
    box-sizing: content-box;
    box-shadow: rgba(0, 0, 0, .36) 0 8px 12px;
    display: none
}

#cartItems {
    max-height: 268px;
    overflow: auto
}

#cartItems td {
    padding: 2px 10px;
    font-size: 16px
}

span.close {
    font-size: 22px;
    padding: 0 5px;
    cursor: pointer;
    font-weight: 700;
    color: #bbb
}

#cascade {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    font-weight: 700;
    position: absolute;
    right: 8px;
    top: 8px;
    border: 1px solid #ccc;
    line-height: 12px;
    color: #bbb;
    border-radius: 5px;
    cursor: pointer
}

#counter {
    text-align: center;
    margin-top: 10px;
    margin-top: 0
}

#cascade:hover,
span.close:hover {
    color: #f60;
    border-color: #f60
}

#addTips {
    position: absolute;
    left: 0;
    bottom: 0;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 30px;
    background-color: #4eaa17;
    text-align: center;
    color: #fff;
    font-size: 16px;
    z-index: 4;
    padding: 0 6px;
    display: none
}

.footer {
    text-align: center;
    padding: 20px;
    color: #AAA;
    font-size: small;
}

#overlay {
    width: 100%;
    height: 100%;
    opacity: .5;
    -moz-opacity: .5;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #000
}

#dialog {
    box-shadow: 0 6px 12px #666;
    position: fixed;
    z-index: 2;
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    display: none
}

#closeDialog {
    position: absolute;
    right: 6px;
    top: 2px;
    cursor: pointer;
    text-align: center;
    display: inline-block
}

#dialogContent {
    padding: 20px 10px;
    font-size: 16px
}

.box {
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    overflow-x: auto
}

.btn {
    background-color: #1f81f5;
    padding: 5px 10px;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    display: block;
    text-align: center
}

.btn:hover {
    background-color: #1f61f5
}

input.btn {
    padding: 8px !important;
    border: 0 !important
}

#message {
    font-size: 16px;
    text-align: center;
    padding: 10px
}

.frm {
    width: 256px;
    margin: 0 auto
}

.frm input {
    width: 100%
}

.frm input {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 5px
}

.captcha {
    position: relative
}

.captcha img {
    position: absolute;
    bottom: 1px;
    right: 1px;
    height: 32px
}

.split {
    border-top: 1px solid #dedede;
    margin-top: 10px;
    padding-top: 10px
}

.split label {
    cursor: pointer
}

.gray {
    color: gray
}

.picker-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s;
    z-index: 3
}

.picker-wrap.show {
    opacity: 1;
    visibility: visible
}

.picker-wrap .picker {
    margin: 50vh auto 0 auto;
    transform: translateY(-50%)
}

.picker {
    max-width: 300px;
    border: 1px solid #7a7a7a;
    background: #fff;
    padding: 10px;
    box-shadow: 0 6px 12px #666
}

.picker td {
    font-size: 16px;
    white-space: nowrap
}

.picker-m,
.picker-y {
    width: 49%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 16px;
    vertical-align: bottom;
    color: #565656
}

.picker-y {
    margin-left: 1%
}

.picker-d table {
    color: #565656;
    border-collapse: separate;
    width: 100%;
    margin-top: 10px
}

.picker-d table td {
    width: 14.28%;
    padding: 5px 3px;
    text-align: center
}

.picker-t-d {
    border: 1px solid #ccc
}

.picker-d-h td {
    font-weight: 700
}

.picker-d-b {
    background: #f0f0f0
}

.picker-d-d:hover {
    cursor: pointer;
    background: #1f81f5;
    color: #fff
}

.picker-d-dd {
    color: #888;
    background: #f0f0f0
}

.service {
    margin: 0 auto;
    width: 300px
}

#msg-box {
    height: 360px;
    overflow-y: auto
}

.no-message {
    padding-top: 150px
}

.msg-list {
    margin: 5px;
    clear: both;
    overflow: hidden
}

.msg-list .time {
    font-size: 14px;
    color: #aaa
}

.msg-lft,
.msg-rgt {
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    max-width: 400px
}

.msg-lft {
    float: left;
    border: 1px solid #ccc;
    background-color: #fafafa
}

.msg-rgt {
    float: right;
    color: #fff;
    background-color: #4eaa17
}

.service input,
.service textarea {
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid #ccc;
    font-size: 16px
}

@media screen and (max-width:567px) {
    .api-search #total {
        position: inherit;
        left: auto;
        top: auto;
        margin: 0 auto;
        padding-top: 5px
    }
    .api-search .form,
    .frm {
        width: 100% !important
    }
    .service {
        margin: 0 auto;
        width: 100%
    }
    textarea {
        padding: 0
    }
}
.priv{
    background: #6d695f;
    color: white !important;
    font-size: 12px !important;
    border: 0px solid #ccc !important;
}
.guan{
    background: #009c37;
    color: white !important;
    font-size: 12px !important;
    border: 0px solid #ccc !important;
}
.lian{
    background: #cc005d;
    color: white !important;
    font-size: 12px !important;
    border: 0px solid #ccc!important;
}
.api,.veri{
    font-size: 12px !important;
}