/*
 * All site sidebar
 * liuyao
 * 2017.9.4
 */
/* @import url("/style/base/reset.css");
@import url("/style/base/atom.css");
@import url("/style/base/common.css");
 */


/* reset scrollbar style */
::-webkit-scrollbar{
  width:6px;
  height:6px;
}
::-webkit-scrollbar-thumb{
  border-radius:3px;
  background-color:rgba(0,0,0,0.3);
}
::-webkit-scrollbar-track{
  background-color:transparent;
}

/* toolbar */
.cn-toolbar{
  display: none!important;
  position:fixed;
  top:0;
  right:0;
  z-index:800;
}
.toolbar-nav{
  display: none;
  top:0;
  right:0;
  z-index:899;
  width:36px;
  background-color:#e9e9e9;
}

.toolbar-nav .toolbar-nav-in{
  position:absolute;
  top:50%;
  margin-top:-105px;
}

.toolbar-lst>li{
  position:relative;
  margin-bottom: 5px;
  display:none;
}
.toolbar-lst li:last-child{
  position:absolute;
  bottom:-400px;
}

.toolbar-lst .toolbar-item{
  position:relative;
  width:36px;
  height:36px;
  background-color:#e9e9e9;
  color:#fff;
  cursor:pointer;
}
.toolbar-lst .toolbar-item-flash .toolbar-icon-tm{
  background-position: 36px 36px;
}
.toolbar-lst .new-msg-dot{
  position:absolute;
    top: 2px;
    right: 4px;
    z-index: 3;
  
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background-color:#e41b2e;
}

.toolbar-icon{
  position:absolute;
  top:0;
  right:0;
  z-index:2;
    display: inline-block;
  width: 36px;
  height: 36px;
  background:url(../images/icon_toolbar.png) no-repeat #e9e9e9;
    vertical-align: middle;
    overflow: hidden;
    font-size: 0;
}
.toolbar-icon-msg{background-position:-36px 0;}
.toolbar-icon-tm{background-position:-36px -36px;}
.toolbar-icon-qq{background-position:-36px -72px;}
.toolbar-icon-history{background-position:-36px -108px;}
.toolbar-icon-star{background-position:-36px -144px;}
.toolbar-icon-profile{background-position:-36px -180px;}
.toolbar-icon-top{background-position:-36px -216px;}
.toolbar-icon-weixin{background-position:-36px -252px;}
.toolbar-icon-service{background-position:-36px -288px;}
.toolbar-icon-phone{background-position:-36px -324px;}

.toolbar-lst .on .toolbar-icon,
.toolbar-lst .toolbar-item:hover .toolbar-icon{background-color:#e41b2e;}

.toolbar-lst .on .toolbar-icon-msg,
.toolbar-lst .toolbar-item:hover .toolbar-icon-msg{background-position:0 0;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-tm{background-position:0 -36px;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-qq{background-position:0 -72px;}

.toolbar-lst .on .toolbar-icon-history,
.toolbar-lst .toolbar-item:hover .toolbar-icon-history{background-position:0 -108px;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-star{background-position:0 -144px;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-profile{background-position:0 -180px;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-top{background-position:0 -216px;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-weixin{background-position:0 -252px;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-service{background-position:0 -288px;}
.toolbar-lst .toolbar-item:hover .toolbar-icon-phone{background-position:0 -324px;}

.toolbar-tip,
.toolbar-txt{
  position:absolute;
  z-index:1;
  opacity:0;
  visibility:hidden;
  text-align:center;
}
.toolbar-txt{
  left:0px;
  bottom:0;
  width:80px;
  height:36px;
  line-height:36px;
  -moz-transition: left .3s ease-in-out .1s;
  -webkit-transition: left .3s ease-in-out .1s;
  -ms-transition: left .3s ease-in-out .1s;
  transition: left 0.3s ease-in-out 0.1s;
}
.toolbar-tip{
  right:66px;
  bottom:-20px;
  width:130px;
  padding: 12px 15px 15px;
  border-radius:2px;
  box-sizing:border-box;
  -moz-transition: all .3s ease-in-out .1s;
  -webkit-transition: all .3s ease-in-out .1s;
  -ms-transition: all .3s ease-in-out .1s;
  transition: all 0.3s ease-in-out 0.1s;
}
.toolbar-tip .arrow{
  position:absolute;
  right:-10px;
  bottom: 32px;

  display:inline-block;
  width:0;
  height:0;
  line-height:0;
  font-size:0;
  border-style:dashed;
  border-width:5px;
  border-color:transparent;
  border-left: 5px solid #e41b2e;
}
.toolbar-tip .profile{
  text-align:left;
}
.toolbar-tip .profile dt{
  margin-bottom:10px;
}
.toolbar-tip .profile strong{
  font-size:14px;
  word-wrap: break-word;
}
.toolbar-tip .btn-feedback{
  display:block;
  margin-top:20px;
  height:22px;
  line-height:22px;
  border-radius:3px;
  background-color:#fff;
  color:#e41b2e;
  text-align:center;
  text-decoration:none;

}
.toolbar-tip-wx{
  padding:0;
  width:120px;
}


.toolbar-lst li:hover .toolbar-txt,
.toolbar-lst li:hover .toolbar-tip{
  opacity:1;
  visibility:visible;
  color:#fff;
  background-color:#e41b2e;
}
.toolbar-lst li:hover .toolbar-txt{
  left: -80px;
}
.toolbar-lst li:hover .toolbar-tip{
  right: 46px;
}




/* msg-box */
.msg-box{
  position:absolute;
  top:50%;
  right:45px;
  margin-top:-210px;
  width:260px;
  
  border:1px solid #ccc;
  box-shadow: 0 0 8px 3px #e8e8e8;
}
.msg-box-hd{
  height:40px;
  padding:0 15px 0 19px;
  overflow:hidden;
  background-color:#f2f2f2;
  color:#333;
}
.msg-box-hd h3{
  float:left;
  font-size:14px;
  line-height:40px;
  font-weight:normal;
}
.msg-box-hd .ui-close{
  float:right;
  margin-top:3px;
  font-size:22px;
  font-family:serif;
  color:#999;
  cursor:pointer;
}
.msg-box-bd{
  padding:20px 19px;
  background:#fff;
  color:#999;
}
.msg-box-lst{
  margin-top:7px;
}
.msg-box-lst li{
  margin-bottom:10px;
}
.msg-box-lst textarea,
.msg-box-lst .txt{
  width: 100%;
  box-sizing:border-box;
}
.msg-box-lst textarea{
  height:80px;
  padding:7px 9px;
  font-size:12px;
}
.msg-box-lst .txt{
  height:30px;
  line-height:30px;
  padding:0 9px;
}
.msg-box-lst .txt::-webkit-input-placeholder{
  color:#999;
}
.msg-box-lst .txt::-moz-input-placeholder{
  color:#999;
}
.msg-box-lst .txt::-ms-input-placeholder{
  color:#999;
}
.msg-box-lst .choose-group {
  color:#333;
}
.msg-box-lst .choose-group .txt{
  width:120px;
}
.msg-box-lst .btn-submit{
  display:inline-block;
  width:64px;
  height:32px;
  line-height:32px;
  background-color:#e41b2e;
  color:#fff;
}
.msg-box-lst  .disabled,
.msg-box-lst  .disabled:hover {
    background-image: none;
    background-color: #f0f0f0;
    border: 1px solid #d8d8d8;
    color: #999;
    opacity: .8;
    cursor: no-drop;;
}


/* toolbar-panel */
.toolbar-panel{
  position:absolute;
  top:0;
  right:-230px;
  z-index:898;
  width:230px;
  padding:30px 0;
  background-color:#fff;
  box-shadow: -2px -7px 7px 1px #e8e8e8;

  box-sizing:border-box;
  -moz-transition: right .3s ease-in-out .1s;
    -webkit-transition: right .3s ease-in-out .1s;
    -ms-transition: right .3s ease-in-out .1s;
    transition: right 0.3s ease-in-out 0.1s;
}
.toolbar-panel-show{
  right:36px;
}
.toolbar-panel-hd{
  overflow:hidden;
  padding:0 20px;
  margin-bottom: 10px;
}
.toolbar-panel-hd h3{
  float:left;
  font-size:16px;
  font-weight:normal;
}
.toolbar-panel-hd .ui-close{
  float:right;
  box-sizing:border-box;
  width:30px;
  height:30px;
  line-height:28px;
  font-size:14px;
  font-family:serif;
  font-weight:bold;
  text-align:center;
  color:#999;
  border:2px solid #999;
  border-radius:50%;
  cursor:pointer;
}

.toolbar-panel-bd{
  padding:0 20px;
  overflow-y:scroll;
}
.toolbar-prods-lst li{
  padding:15px 0;
  border-bottom:1px solid #e8e8e8;
  overflow:hidden;
}
.toolbar-prods-lst .prods-pic{
  float:left;
  width: 60px;
  height: 60px;
  margin-right: 10px;
  text-align:center;
}
.toolbar-prods-lst .prods-pic img{
  width:100%;
}
.toolbar-prods-lst .prods-name{
  height:38px;
  overflow:hidden;
}
.toolbar-prods-lst .prods-price{
  color:#e41b2e;
  font-size:14px;
}



/* animate */
.toolbar-panel-hd .ui-close,
.msg-box-hd .ui-close{
  transition:all ease .5s;
}
.toolbar-panel-hd .ui-close:hover,
.msg-box-hd .ui-close:hover{
  transform: rotate(180deg);
}


/* valid */
.cn-toolbar .form-error {
    background: url(../images/login.jpg) 0 -136px no-repeat;
    line-height: 16px;
    color: #E74543;
    padding: 2px 17px;
}



/* theme */
.cn-toolbar-blue .toolbar-lst .toolbar-item:hover .toolbar-icon{background-color:#0076bf;}
.cn-toolbar-blue .toolbar-lst li:hover .toolbar-txt,
.cn-toolbar-blue .toolbar-lst li:hover .toolbar-tip{
  background-color:#0076bf;
}
.cn-toolbar-blue .toolbar-tip .arrow{
  border-left-color: #0076bf;
}
.cn-toolbar-blue .toolbar-tip .btn-feedback{
    color: #0076bf;
}
.cn-toolbar-blue .msg-box-lst .btn-submit{
    background-color: #0076bf;
}


.cn-toolbar-orange .toolbar-lst .toolbar-item:hover .toolbar-icon{background-color:#f60;}
.cn-toolbar-orange .toolbar-lst li:hover .toolbar-txt,
.cn-toolbar-orange .toolbar-lst li:hover .toolbar-tip{
  background-color:#f60;
}
.cn-toolbar-orange .toolbar-tip .arrow{
  border-left-color: #f60;
}
.cn-toolbar-orange .toolbar-tip .btn-feedback{
    color: #f60;
}
.cn-toolbar-orange .msg-box-lst .btn-submit{
    background-color: #f60;
}
