/*常用组件样式*/
b {
    font-weight: normal;
}

i {
    font-style: normal;
}

input[type="text"],
input[type="search"],
input[type="button"],
input[type="submit"] {
    -webkit-appearance: none;
    /*解决Safari下input样式设置无效的问题*/
}

/*清除浮动*/
.cl:after,
.clear-float:after,
.cf:after {
    display: block;
    content: '';
    clear: both;
}

/*跳转a标签颜色*/
.hn-a {
    color: #438cde;
}

.hn-a:hover {
    color: #f42424;
}

/*按钮样式*/
.hn-btn {
    line-height: normal;
    font-size: 12px;
    display: inline-block;
    padding: 4px 15px;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
    color: #666;
    border: 1px solid #d7dde4;
    white-space: nowrap;
    /*按钮文本不可被选中*/
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-transition: color .2s linear, background-color .2s linear, border .2s linear;
    transition: color .2s linear, background-color .2s linear, border .2s linear;
}

.hn-btn:hover {
    color: #5cadff;
    background-color: #fff;
    border-color: #5cadff;
}

.hn-btn-mini {
    padding: 0 5px !important;
}

/*不可用按钮样式*/
.hn-btn[disabled],
.hn-btn-disabled {
    color: #bbbec4 !important;
    background-color: #f7f7f7 !important;
    border-color: #dddee1 !important;
    cursor: not-allowed !important;
}

/*信息按钮*/
.hn-info-btn {
    color: #fff;
    background-color: #438cde;
    border-color: #438cde;
}

.hn-info-btn:hover {
    background-color: #619bdc;
    border-color: #619bdc;
    color: #fff;
}

/*成功按钮*/
.hn-success-btn {
    color: #fff;
    background-color: #0c6;
    border-color: #0c6;
}

.hn-success-btn:hover {
    background-color: #33d685;
    border-color: #33d685;
    color: #fff;
}

/*警告按钮*/
.hn-warning-btn {
    color: #fff;
    background-color: #f90;
    border-color: #f90;
}

.hn-warning-btn:hover {
    background-color: #ffad33;
    border-color: #ffad33;
    color: #fff;
}

/*错误按钮*/
.hn-error-btn {
    color: #fff;
    background-color: #f30;
    border-color: #f30;
}

.hn-error-btn:hover {
    background-color: #ff5c33;
    border-color: #ff5c33;
    color: #fff;
}

/*输入框*/
.hn-input {
    width: 178px;
    height: 22px;
    line-height: 1.5;
    padding: 2px 7px;
    font-size: 12px;
    border: 1px solid #d7dde4;
    color: #657180;
    background-color: #fff;
    cursor: text;
    -webkit-transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out;
    transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out;
    vertical-align: middle;
    box-sizing: content-box;
}

.hn-input-long {
    width: 300px;
}

.hn-input-mini {
    width: 80px;
}

.hn-input:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(51, 153, 255, .2);
    border-color: #5cadff;
}

/*多行文本输入框样式*/
.hn-textarea {
    font: 12px/18px Arial;
    color: #777;
    background-color: #FFF;
    vertical-align: top;
    display: inline-block;
    padding: 4px;
    border: solid 1px #CCD0D9;
    outline: 0 none;
    width: 400px;
    -webkit-transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out;
    transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out;
    min-height: 80px;
}

.hn-textarea:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(51, 153, 255, .2);
    border-color: #5cadff;
}

/*下拉菜单样式*/
.hn-select {
    color: #777;
    background-color: #FFF;
    height: 30px;
    padding: 0 4px;
    border: solid 1px #d7dde5;
    outline: none;
}

.hn-select option {
    line-height: 20px;
    display: block;
    height: 20px;
    padding: 4px;
}

/*placeholder样式*/
::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #afafaf;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #afafaf;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #afafaf;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #afafaf;
}

/*form表单定义列表dl-dt-dd样式*/
.hn-form dl {
    margin: 0;
}

.hn-form dl dt {
    font-size: 12px;
    line-height: 28px;
    vertical-align: top;
    letter-spacing: normal;
    word-spacing: normal;
    text-align: right;
    display: inline-block;
    width: 20%;
    padding: 10px 1% 10px 0;
    margin: 0;
    color: #777;
}

.hn-form dl dt i {
    font: 12px/16px Tahoma;
    color: #F32525;
    vertical-align: middle;
    margin-right: 4px;
}

.hn-form dl dd {
    margin-left: 0;
    font-size: 12px;
    vertical-align: top;
    letter-spacing: normal;
    word-spacing: normal;
    display: inline-block;
    width: 76%;
    padding: 10px 0 10px 0;
    line-height: 28px;
    color: #777;
}

/*价格显示样式*/
.hn-price {
    font-size: 14px;
    color: #F32525;
}

.ColorRed {
    color: #F32525;
}

/*select2样式修改*/
.select2-container--default .select2-selection--multiple {
    border: 1px solid #d7dde4 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(51, 153, 255, .2);
    border-color: #5cadff;
}

/*table样式*/
.hn-table {
    border: 1px solid #dddee1;
    width: 100%;
    color: #777;
    font-size: 12px;
}

.hn-table th {
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
    background-color: #f8f8f9;
    box-sizing: border-box;
    text-align: left;
    text-overflow: ellipsis;
    vertical-align: middle;
    border-bottom: 1px solid #e9eaec;
    padding: 0 18px;
}

.hn-table tbody tr:hover td {
    background-color: #ebf7ff;
}

.hn-table td {
    padding: 5px 18px;
    height: 48px;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
    text-overflow: ellipsis;
    vertical-align: middle;
    border-bottom: 1px solid #e9eaec;
    background-color: #fff;
    transition: background-color .2s ease-in-out;
}

/*tag标签样式*/
.hn-tag {
    border: 1px solid #e9eaec;
    box-sizing: content-box;
    padding: 3px 8px;
    font-size: 12px;
    line-height: 12px;
    color: #495060;
    background: #fff;
    vertical-align: middle;
    overflow: hidden;
    border-radius: 3px;
    margin: 2px 4px 2px 0;
    white-space: nowrap;
    display: inline-block;
}

.hn-tag i {
    font-size: 12px;
    vertical-align: middle;
    color: #ed3f14;
}

.hn-tag-blue {
    color: #2D8CF1 !important;
    border-color: #2D8CF1;
}

.hn-tag-green {
    color: #19be6b !important;
    border-color: #19be6b;
}

.hn-tag-red {
    color: #ed3f14 !important;
    border-color: #ed3f14;
}

.hn-tag-yellow {
    color: #f90 !important;
    border-color: #f90;
}

.hn-tag-grey {
    color: #909399 !important;
    border-color: #909399;
}

/* 企业商品库tag样式 */
.group-fav-tag {
    background: #FF5722;
    color: #fff;
    font-weight: bold;
    padding: 2px 4px;
}

/* 可关闭 tag normal样式 */
.hn-tag-close {
    vertical-align: top;
    background-color: rgba(64, 158, 255, .1);
    display: inline-block;
    padding: 0 10px;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    color: #409eff;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid rgba(64, 158, 255, .2);
    white-space: nowrap;
    margin-right: 10px;
}

.hn-tag-close i {
    border-radius: 50%;
    text-align: center;
    position: relative;
    cursor: pointer;
    font-size: 12px !important;
    height: 16px;
    width: 16px;
    line-height: 16px;
    vertical-align: middle;
    top: -1px;
    right: -5px;
    color: #409eff;
}

.hn-tag-close i:hover {
    background-color: #409eff;
    color: #fff;
}


/* 可关闭 tag error样式 */
.hn-tag-close-err {
    background-color: #f5746b1a !important;
    border-color: hsla(0, 87%, 69%, .2) !important;
    color: #f56c6c !important;
}

.hn-tag-close-err i {
    background-color: #f5746b1a !important;
    border-color: hsla(0, 87%, 69%, .2) !important;
    color: #f56c6c !important;
}

.hn-tag-close-err i:hover {
    background-color: #f56c6c !important;
    color: #fff !important;
}

/* 增加tag按钮样式 */
.hn-tag-add {
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-color: #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    padding: 9px 15px;
    font-size: 12px;
    border-radius: 3px;
    height: 32px;
    line-height: 30px;
    padding-top: 0;
    padding-bottom: 0;
}

.hn-tag-add:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
}

.text-ellipsis {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 单行提示信息  alert样式 */
.hn-alert-info {
    background-color: #f4f4f5;
    color: #909399;
    padding: 6px;
}

.hn-alert-warning {
    background-color: #fdf6ec;
    color: #e6a23c;
    padding: 6px;
}

.hn-alert-warning i {
    text-align: middle;
    margin-right: 5px;
}

.hn-alert-error {
    background-color: #fef0f0;
    color: #f56c6c;
    padding: 6px;
}

.hn-alert-success {
    background-color: #f0f9eb;
    color: #67c23a;
    padding: 6px;
}

.hn-line-height {
    line-height: 24px;
}

.hn-red {
    color: #f42424;
}

/* 元素左浮动 */
.fl {
    float: left;
}

.w_half {
    width: 50%;
}

/* 信封已读未读样式 */
.yidu {
    color: #b4b1af;
    font-size: 16px !important;
}

.weidu {
    color: #fbc02d;
    font-size: 16px !important;
}

/* 文字一行显示，溢出省略号显示 */
.text_ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.font_bold {
    font-weight: bold;
}

.w_60 {
    width: 60px;
}

.w_300 {
    width: 300px;
}

.w_150 {
    width: 150px;
}

.padding_15 {
    padding: 15px;
}

.line_height_30 {
    line-height: 30px;
}

.mr_15 {
    margin-right: 15px;
}

.mb_12 {
    margin-bottom: 15px;
}

.ml_15 {
    margin-left: 15px;
}

.fs_12 {
    font-size: 12px !important;
}

.mr_3 {
    margin-right: 3px;
}

.mr_5 {
    margin-right: 5px;
}

.mb_5 {
    margin-bottom: 5px;
}

.cursor_not_allowed {
    cursor: not-allowed !important;
    color: #cac4c4;
}

.w_120 {
    width: 120px;
}


/* ---  鼠标hover说明样式   start   --- */
.hn_hover_tag {
    position: relative;
    z-index: 1;
}

.hn_hover_tag .icon-wenhaotishi {
    color: #E6A23C;
    font-size: 12px;
}

.hn_hover_tag:hover .hn_hover_explain {
    display: block;
}

.hn_hover_tag .hn_hover_explain {
    display: none;
    width: 233px;
    padding: 0 10px;
    border: 1px solid #edd28b;
    background-color: #fffdee;
    position: absolute;
    z-index: 1;
    right: -118px;
    top: -40px;
    box-shadow: 0 0 2px 2px #eee;
    height: 30px;
    line-height: 30px;
}

.hn_hover_tag .hn_hover_explain .icon-sanjiaoxing-down {
    width: 11px;
    height: 6px;
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 126px;
    color: #edd28b;
    font-size: 20px;
}

.hn_hover_tag .hn_hover_explain>div {
    color: #828181;
}

/* ---  鼠标hover说明样式   end   --- */