﻿
#right_bar {
    width: 40px;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    background: #0094D0;
    transition: margin 0.5s;
}
#right_bar .bg_color {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #0094D0;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000, endColorstr=#7f000000);
}
#right_bar .right_bar_list {
    position: absolute;
    left: 0;
    top: 10%;
    z-index: 2;
}
#right_bar .right_bar_list li {
   border-bottom: 1px solid #E0E0E0;
   width: 40px;
}
/*#right_bar .right_bar_list li.kefu {
    padding: 0;
    margin: 0;
}*/
#right_bar .right_bar_list li {
    cursor: pointer;
    position: relative;
    text-align: center;
    padding: 5px 0;
    margin-top: 20px;
}
#right_bar .right_bar_list li a{
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
}
.news a {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
}
.news .right_bar_list_show {
    right: 40px !important;
    width: 200px !important;
}
.right_bar_list_show {
    position: absolute;
    top: 0;
    right: 150px;
    display: none;
    z-index: 2;
    width: inherit;
    text-align: right;
    width: 80px;
}
.right_bar_list_show img {
    max-width: auto;
}
#right_bar .right_bar_list li.xiaoxi {
    padding-top: 10px;
}
#right_bar .right_bar_list li p {
    color: #fff;
    margin-top: 5px;
}
#right_bar .right_bar_list li span.num {
    display: inline-block;
    font-family: å®‹ä½“;
    color: white;
    margin-top: 5px;
    padding: 2px 5px;
    background: rgb(235, 50, 53);
    border-radius: 15px;
}
#right_bar .bottom_list {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
}
#right_bar .bottom_list li {
    cursor: pointer;
    text-align: center;
    position: relative;
    height: 38px;
    margin-bottom: 5px;
}
.wdsc5 {
    /* background: url(http://images.hezongyy.com/images/new-sprite.png) -106px -52px no-repeat; */
    width: 36px;
    height: 38px;
    display: inline-block;
}
.right_bar_list_show {
    position: absolute;
    top: 0;
    right: 150px;
    display: none;
    z-index: 2;
    width: inherit;
    text-align: right;
    width: 80px;
}
#right_bar .right_bar_list li:hover, #right_bar .bottom_list li:hover {
    background: #2c5d96;
}
/*右侧购物车显示数据*/
#right_bar .youce-box {
    height: 100%;
    float: right;
    width: 270px;
    margin-right: -270px;
    background-color: #f5f5f5;
    font-size: 12px;
    position: relative;
}

.youce-box .title {
    height: 40px;
    line-height: 40px;
    background: #f1f1f1;
    position: relative;
}

.youce-box .gwc {
    width: 16px;
    background-position: -86px 0 !important;
}

.youce-box .gwc, .youce-box .yyg, .youce-box .collect, .youce-box .zncg {
    height: 20px;
    background-position: -87px 0;
    margin-left: 20px;
    padding-right: 25px;
}

.youce-box i {
    /* background: url(http://images.hezongyy.com/images/fix-box.png) no-repeat; */
    display: inline-block;
    cursor: pointer;
    position: relative;
    top: 2px;
}

.youce-box .quxiao {
    width: 20px;
    height: 20px;
    background-position: -22px 0;
    top: 8px;
    position: absolute;
    right: 10px;
}
.youce-box .title span{
    position: absolute;
    right: 40px;
    font-size: 14px;
    color: #fb5151;
    cursor: pointer;
}
.youce-box .content ul li {
    /* height: 90px; */
    padding: 5px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
    background-color: #fff;
}
.youce-box .content ul li .img-box {
    width: 60px;
    height: 60px;
    border: 1px solid #ccc;
    float: left;
}
.content img {
    border: none;
    vertical-align: middle;
    max-height: 100%;
    max-width: 100%;
}

.youce-box .content ul li .info {
    height: 70px;
    line-height: 14px;
    padding-left: 10px;
    float: left;
    width: 180px;
    overflow: hidden;
}

.youce-box .content ul li .info .name {
    font-weight: bold;
}

.youce-box .content ul li .info p {
    width: 100%;
    display: inline-block;
    overflow: hidden;
    height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.youce-box .content ul li .info .control {
    text-align: right;
}

.youce-box .content ul li .info .price {
    font-size: 16px;
    color: #ef2c2f;
    float: left;
}

.youce-box .content ul li .info .price .shl {
    color: #333;
}

.youce-box .content ul li .info .control .remove {
    display: none;
    cursor: pointer;
    color: #4478ec;
}

.youce-box .content ul li:hover .info .remove {
    display: inline;
}

.clear_both {
    clear: both;
}

.youce-box .btnn {
    height: 60px;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.youce-box .btnn .tongji {
    height: 100%;
    width: 50%;
    padding-left: 10px;
    padding-top: 10px;
    line-height: 20px;
    display: inline-block;
    float: left;
}
.youce-box .tongji p{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.youce-box .tongji span {
    color: #ec2b2b;
    font-weight: bold;
    
}
.youce-box .to-cart {
    width: 50%;
    text-align: center;
    height: 100%;
    display: inline-block;
    float: left;
    padding-top: 10px;
    padding-right: 10px;
}
.youce-box .to-cart a {
    width: 116px;
    height: 40px;
    background: #fb5151;
    border-radius: 3px;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
    color: #fff;
}

#right_bar .right_bar_list li.active {
    background: #2c5d96;
}

.content img {
    border: none;
    vertical-align: middle;
    max-height: 100%;
    max-width: 100%;
}

.content {
    width: 100%;
    height: calc(100% - 100px);
}
.youContent{
    overflow-y: auto;
}
.news{
    width: 100%;
    height: 38px;
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 2;
}
.news .newsImg{
    width: 20px;
    height: 20px;
    margin: 15px 10px;
    cursor: pointer;
}
.news_some{
    position: absolute;
    top: 0px;
    right: 2px;
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    font-size: 12px;
    color: #fff;
    line-height: 20px;
    text-align: center;
}

#cart > span{
    display: block;
    width: 100%;
    height: 40px;
    font-size: 20px;
    color: #ccc;
    line-height: 40px;
    text-align: center;
}