﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/* 自定义 Toastr 弹窗样式 */
#toast-container {
    top: 50% !important; /* 垂直居中 */
    left: 50% !important; /* 水平居中 */
    transform: translate(-50%, -50%) !important; /* 精确居中 */
    width: auto !important; /* 自动宽度 */
}

/* 调整弹窗内部样式 */
.toast {
    width: auto !important;
    max-width: 500px; /* 设置最大宽度 */
    padding: 15px !important;
    font-size: 16px !important;
}
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */


.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 70px;
    line-height: 72px; /* Vertically center the text there */
}

.bottom_btn {
    position: fixed;
    z-index: 3;
    bottom: 0px;
    border-top: 1px solid #b3b3b3;
    background: #e6e6e6;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.menu {
    position: relative;
    float: left;
    width: 33.33%;
    background: #fff;
    border-right: 1px solid #ebebeb;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

    .menu a {
        text-align: center;
    }

    .menu:last-child {
        border-right: none;
    }

.new-sub {
    position: absolute;
    bottom: 60px;
    z-index: 10;
    width: 100%;
    padding: 0px 10px;
    background: #fff;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px solid #EEEEEE;
    border-radius: 5px;
    display: none;
}

    .new-sub li {
        width: 100%;
        background: #fff;
        float: none;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        border-top: 1px solid #f2f2f2;
    }

        .new-sub li a {
            display: block;
            height: 50px;
            line-height: 50px;
            text-align: left;
            background: #fff;
            color: #333;
            border: none;
            text-align: center;
            font-size: 16px;
        }

.sanjiao {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right: 5px solid #000;
    border-bottom: 5px solid #000;
    opacity: .5;
}

.bt-name {
    font-size: 16px;
    color: #000;
}

    .bt-name a {
        display: block;
        font-size: 16px;
        color: #000;
    }

.new-sub .tiggle {
    width: 0px;
    height: 0px;
    position: absolute;
    left: 50%;
    margin-left: -10px;
    bottom: -9px;
    border-top: 10px solid #EEEEEE;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    z-index: 10;
}

.new-sub .innertiggle {
    width: 0px;
    height: 0px;
    position: absolute;
    left: 50%;
    margin-left: -9px;
    bottom: -8px;
    border-top: 9px solid white;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    z-index: 11;
}
.num1 {
width:80%;
float:left;
}
.scanBtn {
    margin:4px 3px;
    width: 60px;
}

.customBtn {
    width: 100%;
    text-align: center;
    height:42px;
}

#nav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 5;
    width: 100%;
    background-color: #ffffff;
    /*1px*/
    border-width: 1px 0 0;
    border-style: solid;
    border-color: #b2b2b2;
    -webkit-border-image: url("../images/1px/bh-1px-mainnav.png") 2 0 stretch;
    border-image: url("../images/1px/bh-1px-mainnav.png") 2 0 stretch;
}

.keyboard-status.fadeout {
    display: none
}

.main-nav {
    float: none;
    margin: 5px auto;
    width: 100%;
    max-width: 640px;
    height: 60px;
    overflow: hidden;
    *zoom: 1;
    background-color: #ffffff;
}

    .main-nav li {
        margin-right: 0;
        width: 25%;
        float: left;
        list-style: none;
        margin-top: 5px;
        padding-left:14px;
        
    }

.main-nav3 li {
    width: 33.3333%
}

    .main-nav3 li:first-child {
        display: none;
    }

.main-nav li a {
    padding-top: 40px;
    font-size: 12px;
    background-image: url(../images/sprite_nav.png);
    background-repeat: no-repeat;
    background-size: 24px;
    text-decoration:none;
    text-align:center;
}

    .main-nav li a:link,
    .main-nav li a:visited {
        color: #666666
    }

.main-nav li .store {
    background-position: center 2px;
}

.main-nav li .home {
    background-position: center -64px;
}

.main-nav li .search {
    background-position: center -129px;
}

.main-nav li .admin {
    background-position: center -194px;
}

.main-nav li .store:hover,
.main-nav .active .store {
    background-position: center -456px;
}

.main-nav li .home:hover,
.main-nav .active .home {
    background-position: center -260px;
}

.main-nav li .search:hover,
.main-nav .active .search {
    background-position: center -325px;
}

.main-nav li .admin:hover,
.main-nav .active .admin {
    background-position: center -391px;
}

