﻿body {
    font-family: 微软雅黑,Microsoft YaHei UI,"Helvetica Neue", Helvetica, Arial, sans-serif;
    color:#000;
    background-color:#fff;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


/* Sidebar Navigation */
#sidebar ul{list-style:none;}
#sidebar a{text-decoration:none;}
#sidebar > ul {list-style:none;margin:0px 0 0;padding:0;width:100%;}
#sidebar > ul > li {display:block;position:relative;background-color: #fff;}
#sidebar > ul > li > a {padding: 15px 0 15px 15px;display:block;color:#000;border-bottom:1px solid #ddd;font-weight:700;}
#sidebar > ul > li > a:hover{color:#b63b4d;}
#sidebar > ul li ul {display: none;margin: 0;padding: 0;}
#sidebar > ul li.open ul {display: block;}
#sidebar > ul li:first-child a{border-top: 0;}
#sidebar > ul li .chevron-down:before{content:"︿";float:right;margin-right:15px;}
#sidebar > ul li.open .chevron-down:before {content:"﹀";margin-top:4px;}


#sidebar > ul li ul li a {padding: 15px 0 15px 25px;display: block;color:#3b3b3b;background-color:#e9e9e9;border-bottom:1px solid #ddd;}    
#sidebar > ul li ul li a:hover{background-color:#eecb7a;}
#sidebar > ul li ul li.active, #sidebar > ul li ul li:hover {background-color:#eecb7a;border-left:4px solid #613601;}
#sidebar > ul li ul li.active a {background-color:#eecb7a;}
#sidebar > ul li ul li:first-child a{border-top: 0;}
#sidebar > ul li ul li:last-child a {border-bottom: 0;}


.scroll::-webkit-scrollbar { /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

.scroll::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #cccccc;
}

.scroll::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #f5f5f5;
}

.noscroll {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.noscroll::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}


/*树状图CSS*/
.tree {
    min-height:20px;
    padding:19px;
    margin-bottom:20px;
    /*background-color:#fbfbfb;
    border:1px solid #ddd;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05)*/
}

.tree-border {
    background-color: #fbfbfb;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05)
}
    .tree a {font-size:12px;
    }

.tree li {
    list-style-type:none;
    margin:0;
    padding:10px 5px 0 5px;
    position:relative
}
.tree li::before, .tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto
}
.tree li::before {
    border-left:1px solid #999;
    bottom:50px;
    height:100%;
    top:0;
    width:1px
}
.tree li::after {
    border-top:1px solid #999;
    height:20px;
    top:25px;
    width:25px
}
.tree li span {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:1px solid #999;
    border-radius:5px;
    display:inline-block;
    padding:3px 8px;
    text-decoration:none
}
.tree li.parent_li>span {
    cursor:pointer
}
.tree>ul>li::before, .tree>ul>li::after {
    border:0
}
.tree li:last-child::before {
    height:30px
}
.tree li.parent_li>span:hover, .tree li.parent_li>span:hover+ul li span {
    background:#eee;
    border:1px solid #94a0b4;
    color:#000
}


/**选择框CSS美化*/
.styled-select {
    position:relative;
    width:320px;
    height: 34px;
    overflow: hidden;
    vertical-align:bottom;
    padding-left:0px;
    border:2px solid #7aa0df;
    background: url(/Images/select_down_arr.png) no-repeat right #fff;
    z-index:10;
}
.styled-select select {
    position:relative;
    background: transparent;
    width: 335px;
    height: 30px;
    top:1px;
    border:0;
    -webkit-appearance: none; /*for chrome*/    
    z-index:1;    
}

.styled-select-short {
    position:relative;
    width:80px;
    height: 34px;
    overflow: hidden;
    vertical-align:bottom;
    padding-left:0px;
    border:2px solid #7aa0df;
    background: url(/Images/select_down_arr.png) no-repeat right #fff;
}
.styled-select-short select {
    position:relative;
    background: transparent;
    width: 95px;
    height: 30px;
    top:1px;
    border:0;
    overflow: hidden;
    -webkit-appearance: none; /*for chrome*/    
}

.styled-select-middle {
    position:relative;
    width:140px;
    height: 34px;
    overflow: hidden;
    vertical-align:bottom;
    padding-left:0px;
    border:2px solid #7aa0df;
    background: url(/Images/select_down_arr.png) no-repeat right #fff;
}
.styled-select-middle select {
    position:relative;
    background: transparent;
    width: 155px;
    height: 30px;
    top:1px;
    border:0;
    -webkit-appearance: none; /*for chrome*/        
}

/*上传图片显示区*/
.image_check_all {width:16px;height:16px;position:relative;top:4px;}
.image_div{clear:both;width:100%;height:100%;border:1px solid #bbb;overflow:auto;background-color:#fff;}
.image_div_img{float:left;width:142px;height:140px;border:1px solid #bbb;margin:5px 5px;background-color:#eee;cursor:pointer;position:relative;}
.image_div_img:hover{border:1px solid #ccc3b4;}
.image_div_img_img{width:136px;height:110px;padding:4px 4px;display:table-cell;vertical-align:middle;text-align:center;overflow:hidden; }
.image_div_img_name{width:100%;height:22px;line-height:22px;text-align:center;overflow:hidden;}
.image_div_img img {max-width:136px;max-height:110px;}
.image_div_img .image_div_img_check {position:absolute;left:3px;width:16px;height:16px;}

.clear{clear:both;}
.hide{display:none;}
.left{float:left;}
.right{float:right;}
.cursor{cursor:pointer;}

.w100p {width:100%;}
.w20 {width:20px;}
.w60 {width:60px;}
.w80 {width:80px;}
.w100 {width:100px;}
.w140 {width:140px;}
.w160 {width:160px;}
.w200 {width:200px;}
.w300 {width:300px;}
.w440 {width:440px;}
.w480 {width:480px;}
.w600 {width:600px;}
.w768 {width:768px;}
.w900 {width:900px;}

.relative{position:relative;}
.fixed-btn {
    position: fixed;
    right: 50px;
    top: 100px;
    z-index:99;
}

.text-cut {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.margin-left-3{margin-left:3px;}
.margin-left-5{margin-left:5px;}

.margin-top-5{margin-top:5px;}
.margin-top-10 {
    margin-top: 10px;
}
.margin-top-20 {
    margin-top: 20px;
}


.padding-lr-5 {
    padding: 0 5px;
}

.padding-lr-30{padding:0 30px;}
.padding-3-5{padding:3px 5px;}

.text-white{color:#fff;}
.text-red{color:#f00;}
.text-gray{color:#999;}

.height-40{height:40px;}
.height-50{height:50px;}

.text-height-20 {
    height: 20px;
    line-height: 20px;
}
.text-height-36 {height:36px;line-height:36px;}
.text-height-40 {height:40px;line-height:40px;}
.text-height-50 {height:50px;line-height:50px;}
.text-height-60 {height:60px;line-height:60px;}

.font-20{font-size:18px;}
.font-18{font-size:18px;font-weight:normal;}
.font-12{font-size:12px;}
.font-11{font-size:11px;}
/*分隔线*/
.line{ width:100%;height:1px;border:none;border-bottom:1px solid #ddd;}
.wait{position:absolute;left:50%;top:50%;margin-left:-16px;margin-top:-16px;width:32px;height:32px;margin:0 auto;background-image: url('/Images/wait.gif');}


.nav_menu_item .tipmore{
  position: absolute;
  height:16px;
  line-height: 16px;
  background-color: #f00;
  color:#fff;
  font-size: 10px;
  right: 10px;
  top:10px;
  z-index: 1;
  padding:0 5px;
}

/*背景颜色*/
.bg-white {background-color:#fff;}
.bg-grap {background-color:#eee;}
.bg-darkgrap {background-color:#3d3d3d;color:#ddd;}
.bg-red {background-color:#e22;color:#ddd;}
.bg-green{background-color:#a6f4a7;}
.bg-d-blue {background-color:#eaf8ff;}
.bg-pink {background-color:#fdf3f2;}


/*属性分组 项*/
.attr_item_div {float:left;height:38px;line-height:36px;border:1px solid #b8b7bd;margin:1px 6px 4px 1px;cursor:pointer;position:relative;}
.attr_item_div:hover,.attr_checked{border:2px solid #f00;margin:0px 5px 3px 0px;height:40px;}
.attr_item_div img {vertical-align:top;text-align:left;}
.attr_item_txt {padding:0 5px;}
.attr_item_imgtxt img {width:32px;height:32px;margin-top:2px;}
.attr_item_div .checked {position:absolute;width:14px;height:15px;background-image:url('/Images/g.png');top:22px;right:0px;}

/*商品详情预览框*/
.goods_detail_div{width:750px;overflow-x:hidden;border:1px solid #dddddd;}
.imgMarkText{position:absolute;left:0px;top:0px;line-height:14px;font-size:11px;}

/*订单列表*/
.nav_menu_bar{width:180px;height:20px;line-height:20px;border-bottom:2px solid #e0e0e0;position:relative;}
.nav_menu_bar .nav_menu_item{float:left;width:60px;position:relative;height:20px;text-align:center;cursor:pointer;color:#666;}
    .nav_menu_bar .nav_menu_item:hover, .nav_menu_bar .active {
        border-bottom: 2px solid #04be6a;
        color: #04be6a;
    }


.flex {
    display: flex;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: flex-center;
}

.self-end {
    align-self: flex-end;
}

.self-stretch {
    align-self: stretch;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}