body {
    font-family: PingFang SC, Arial, "Microsoft Yahei", "Helvetica Neue", Helvetica Neue, Helvetica, Lantinghei SC, Hiragino Sans GB, sans-serif;
    color: #333;
    font-size: 14px;
}

body,
ul,
p,
h1,
h2,
h3,
h4,
h5,
h5 {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

textarea {
    resize: none;
}

/* 1 = 5px */

.m-y-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.m-t-2 {
    margin-top: 10px;
}

.m-t-8 {
    margin-top: 40px;
}

.m-t-6 {
    margin-top: 30px;
}

.m-b-2 {
    margin-bottom: 10px;
}

.m-lr-5 {
    margin: 0 5px;
}

.m-b-4 {
    margin-bottom: 20px !important;
}

.m-b-8 {
    margin-bottom: 40px;
}

.p-x-4 {
    padding-left: 20px;
    padding-right: 20px;
}

.p-y-2 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.p-y-6 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.p-x-6 {
    padding-left: 30px;
    padding-right: 30px;
}

.p-b-6 {
    padding-bottom: 30px;
}

.p-b-12 {
    padding-bottom: 60px;
}

.p-a-6 {
    padding: 30px;
}

.fz-12 {
    font-size: 12px;
}

.w100 {
    width: 100px;
}

.h36 {
    height: 36px;
}

.theme_color {
    color: #7f8fef;
}

.help-block,
.color_gray {
    color: #999;
    font-size: 14px;
}

.break-word {
    word-wrap: break-word;
}

.text-purple,
.theme-purple {
    color: #7f8fef;
}

.btn.theme-purple,
.theme-purple-bg {
    background: #7f8fef;
    color: #fff;
}

.bg-white {
    background: #fff;
}

.bg-grey {
    background: #f7f7f7;
}

.navbar {
    margin-bottom: 0;
}

a,
.btn:focus,
.btn:hover,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
}

.btn-default:hover,
.btn-default:active,
.btn-default:focus,
.btn-default:active:hover,
.btn-default.active:hover,
.open>.dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open>.dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open>.dropdown-toggle.btn-default.focus {
    background: #fff;
    border: 1px solid #e6e6e6;
}

.form-control {
    box-shadow: none;
}

.form-group {
    margin-bottom: 20px;
}

.input-group-addon {
    color: #666;
}

.modal-footer {
    text-align: center;
}

.navbar {
    min-height: 60px;
}

.zhima-navbar .nav.nav-items li a {
    padding: 20px 6px !important;
}

.zhima-navbar {
    border-bottom: 1px solid #e6e6e6;
}

.zhima-navbar .navbar-brand {
    display: block;
    height: 48px;
    line-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    /* margin-right: 15px; */
    font-size: 0;
    padding-left: 0px;
    padding-right: 0px;
    margin-right: 30px;
}

.zhima-navbar .logo {
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    width: 156px;
}

.zhima-navbar .slogan {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #666666;
}

.zhima-navbar .slogan i {
    padding: 0 10px;
    font-style: normal;
    color: #ccc;
    font-size: 16px;
}

.zhima-navbar .btn.login_as_reg_btn,
.zhima-navbar .btn.login_as_reg_btn:hover,
.zhima-navbar .btn.login_as_reg_btn:focus,
.zhima-navbar .btn.login_as_reg_btn.focus {
    display: inline-block;
    font-size: 12px;
    color: #7f8fef;
    padding: 8px 20px;
    margin-top: 15px;
    line-height: 1;
    border: 1px solid #7f8fef;
}

.zhima-navbar .nav-items li {
    margin: 0 6px;
    font-size: 14px;
}

.zhima-navbar .nav-items li:first-child {
    margin-left: 0px;
}

.zhima-navbar .nav-items li:last-child {
    margin-right: 0px;
}

.navbar-nav>li>a {
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 768px) {
    .navbar-nav>li>a {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .zhima-navbar .nav-items li a {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.sub-nav {
    margin: 0 -15px;
    border-top: 1px solid #e6e6e6;
    overflow: hidden;
}

.sub-nav li {
    float: left;
    font-size: 14px;
    line-height: 1;
    margin-right: 15px;
}

.sub-nav li a {
    display: block;
    padding: 13px 25px;
    color: #333;
}

.sub-nav li a:hover {
    color: #5c92ef;
}

.sub-nav li.active a {
    color: #5c92ef;
    border-bottom: 1px solid #5c92ef;
}

/*客服*/

.float-sidebar {
    position: fixed;
    right: 15px;
    bottom: 22.5%;
    z-index: 9999;
    background: #fff;
}

.float-sidebar a {
    overflow: hidden;
}

.float-sidebar .contact {
    display: block;
    width: 50px;
    height: auto;
    background: #ff4800;
}

.float-sidebar .contact p {
    padding: 8px 0;
    border-bottom: 1px solid #fff;
    text-align: center;
    color: #fff;
    cursor: pointer;
	font-size: 12px;
}

.float-sidebar .cs_logo {
    display: block;
    margin: 15px auto;
}

.float-sidebar .xkf_logo {
    display: none;
    margin: 15px auto;
    position: absolute;
    right: 70px;
    top: 200px;
    width: 200px;
    padding: 20px;
    text-align: center;
    background-color: #fff;
	animation-name: move;
	animation-timing-function: linear;
	animation-duration: .4s;
	z-index: -1;
}@keyframes move {
		    0% {
				right: 0;
		    }
		
		    100% {
		        right:70px
		    }
		}

.float-sidebar .xkf_logo p {
    color: #999999;
    border: none;
    padding: 0;
}

.float-sidebar .xkf_logo img {
    width: 150px;
}

.float-sidebar .contact p:hover+.xkf_logo {
    display: block;
}

/*user-info*/

.user-info-dropdown-menu {
    width: 220px;
    height: auto;
    padding: 0;
    border: none;
    background: none;
    z-index: 9999;
}

.user-info {
    position: relative;
    width: 250px;
    right: 30px;
    z-index: 99;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.item_tr.item-border-b {
    border-bottom: 1px solid #e6e6e6;
}

.member-info {
    padding: 10px 20px 0 20px;
}

.member-info .item_tr {
    padding: 10px 0;
}

.member-info .item_tr .item_td {
    line-height: 1;
    width: 180px;
    display: table-cell;
    vertical-align: middle;
}

.member-info .item_tr .item_td .right-arrow {
    font-size: 12px;
}

.member-info .expiry_time {
    color: #f35050;
}

.text-right {
    text-align: right;
}

.user-info .pay-btn {
    display: block;
    width: 180px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    margin: 10px auto;
    font-size: 14px;
    text-align: center;
    color: #fff;
    background: #7f8fef;
}

.user-info .hollow-btn {
    border: 1px solid #7f8fef;
    color: #7f8fef;
    background: #fff;
}

.user-info .reset,
.user-info .logout {
    display: block;
    width: 100%;
    height: 40px;
    padding-left: 44px;
    line-height: 40px;
    border-top: 1px solid #e6e6e6;
    color: #333;
    text-decoration: none;
    background: url(https://www.shangjiajia.com/template/default/resources/img/user_info_min_icon.png) 20px 12px no-repeat;
}

.invoice {
    background: url(https://www.shangjiajia.com/template/default/resources/img/invoice.png) 20px 12px no-repeat !important;
    background-size: 16px 16px !important;
}

.user-info .logout {
    background-position: 20px -62px;
}

.form-required {
    line-height: 40px;
    position: absolute;
    top: 0;
    margin-left: -15px;
    color: red;
}

.font333 {
    margin-left: 10px;
}

.mobile-1px {
    position: relative;
}

.page-control {
    overflow: hidden;
}

.mobile-1px::after {
    content: '';
    position: absolute;
    bottom: 0;
    background: #E5E5E5;
    width: 100%;
    height: 1px;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    left: 0;
}

.zm-white-vip1,
.zm-white-vip2,
.zm-white-vip3 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.zm-white-vip1::after {
    background-image: url("https://www.shangjiajia.com/static/admin/img/white-vip1.png");
    margin-left: 3px;
    content: '';
    display: inline-block;
    width: 34px;
    height: 14px;
}

.zm-white-vip2::after {
    background-image: url("https://www.shangjiajia.com/static/admin/img/white-vip2.png");
    margin-left: 3px;
    content: '';
    display: inline-block;
    width: 34px;
    height: 14px;
}

.zm-white-vip3::after {
    background-image: url("https://www.shangjiajia.com/static/admin/img/white-vip3.png");
    margin-left: 3px;
    content: '';
    display: inline-block;
    width: 34px;
    height: 14px;
}

.zhima-navbar .nav.nav-items li .getreward {
    width: 16px;
    vertical-align: middle;
    height: 16px;
    margin-top: -4px;
    margin-right: 4px;
}