/*前端：cng*/
/*日期：2019/2/28*/
/*邮箱：cng458@foxmail.com*/
/*描述：项目公共css文件*/

/*全局样式*/
body{
    font-size: 12px;
}
a {
    color: #000;
    text-decoration: none
}
a:hover {
    color: #000;
    text-decoration: underline
}
input,button:focus {outline: none;}
button:focus{opacity: 0.2}
li{list-style: none}
ul{padding: 0}
p{margin: 0}
/*左浮动*/
.fl {
    float: left
}
/*右浮动*/
.fr {
    float: right
}
/*清除浮动*/
.clear {
    clear: both
}
.ks-text {
    font-size: 13px;
    color: #333;
    line-height: 15px;
    font-weight: initial;
}
.ks-act {
    color: #000;
    font-weight: bold;
}
.ks-title {
    font-size: 14px;
}
/*鼠标手势*/
.pointer {
    cursor: pointer;
    /*-webkit-user-select: none; !*禁止复制*!*/
    /*user-select: none; !*禁止复制*!*/
}
/*每一个页面的整体宽度限制*/
.page-container {
    /*padding: 0 55px;*/
    min-width: 768px;
    margin: 55px auto 0;
}


/*商城顶部*/
.ks-top {
    background-color: white;
    /*padding: 0 55px;*/
    height: 55px;
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
    margin: auto;
    min-width: 768px;
}
.ks-top .center {
    height: 100%;
    margin: auto;
    display: block;
    width: 220px;
}
.ks-top .center img {
    height: 100%;
    margin: auto;
    max-width: 100%;
}
.ks-top .left, .ks-top .right {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    margin: auto;
}
.ks-top .left {
    left: 15px;
    height: 15px;
}
.ks-top .left .item {
    line-height: 15px;
    margin-right: 24px;
    font-size: 12px;
    font-weight: 500;
    color: #000;
    position: relative;
    text-decoration: none;
}
.ks-top .left .item:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 0px;
    z-index: 1;
    height: 1px;
    background-color: black;
}
.ks-top .left .item.act {
    color: black;
}
.ks-top .left .item.act:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 0px;
    z-index: 1;
    height: 1px;
    background-color: black;
}
.ks-top .right {
    right: 15px;
    height: 36px;
}
.ks-top .right .search {
    width: 220px;
    position: relative;
    vertical-align: text-bottom;
    border-bottom: 1px solid #333;
}
.ks-top .right .search input {
    width: 100%;
    padding: 0 50px 0 5px;
    height: 35px;
    border: none;
    /*border-bottom: 1px solid #333;*/
}
.ks-top .right .search .icon {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    padding: 0px 5px 0 15px;
    width: 50px;
    /*height: max-content;*/
    margin: auto;
    display: block;
    background: none;
    border: none;
}
.ks-top .right .search .icon img {
    width: 100%;
}
.ks-top .right .login {
    line-height: 35px;
    margin-left: 20px;
}
/*商城顶部end*/

/*商城底部*/
.ks-bottom {
    background-color: white;
    border-top: 1px solid #f3f3f3;
    height: 50px;
    padding: 0;
    width: 100%;
    left: auto;
    right: auto;
    bottom: 0;
}
.ks-bottom .lr {
    line-height: 50px;
}
.ks-bottom .lr .item {
    margin: 0 10px;
}
.ks-bottom .right{
    margin-right: -10px;
}
.ks-bottom .left{
    margin-left: -10px;
}
/*商城底部end*/

/*修改商品列表分页器样式*/
.page-link {
    border: none;
    color: #333333;
}

.page-link:hover {
    color: black;
}

.page-item.active .page-link {
    background: none;
    color: black;
    text-decoration: underline;
}

.pagination {
    margin-top: 60px;
}
/*修改商品列表分页器样式end*/

/*小程序码弹窗样式*/
.pay-box {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.7);
}

.pay-box .content {
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    z-index: 1;
    width: 300px;
    transform: translateY(-50%);
    padding-bottom: 20px;
    margin: auto;
    text-align: center;
    background-color: white;
}

.pay-box .content .img {
    padding: 20px;
    background-color: white;
}
.pay-box .content .img img{
    width: 100%;
}
/*小程序码弹窗样式end*/