.required:before {
    content: '* ';
    color: #F00;
    font-weight: bold;
}

.help-block {
    margin-left: 5px;
}

table tbody tr:hover {
    background-color: #ddd;
}

/*dropzone*/

.dropzone .dz-preview .dz-error-message {
    top: 160px;
}

.dropzone .dz-preview .dz-image {
    border-radius: 0px;
}

.dropzone .dz-preview {
    border: 1px dashed #1ab394;
    padding: 5px;
}

.dropzone .dz-selected .dz-image:after {
    content: " ";
    background: transparent url(../images/success.png) no-repeat right bottom;
    height: 40px;
    width: 40px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.dropzone .dz-success {
    cursor: pointer;
}

.dropzone .dz-selected {
    border: 1px solid #1ab394;
    cursor: pointer;
}

/*summernote*/

.note-editor .note-control-selection {
    z-index: 1;
}

@media (min-width: 768px) {
    #page-wrapper {
        min-height: 90vh;
    }
}

.on, .yes {
    color: #1BBC9D;
    cursor: pointer;
}

.on i:before, .yes i:before {
    content: "\f058";
}

.off, .no {
    color: #9ea3a7;
    cursor: pointer;
}

.off i:before, .no i:before {
    content: "\f05e";
}

.img-thumbnail {
    max-width: 50px;
    max-height: 50px;
    overflow: hidden;
}

.table td span[data-toggle="tooltip"]:after {
    color: #ed5565;
    content: "\f059";
    margin-left: 4px;
}

.img-size-100 {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.img-size-50 {
    width: 50px;
    height: 50px;
    overflow: hidden;
}
.img-size-25 {
    width: 25px;
    height: 25px;
    overflow: hidden;
}
.text-grey {
    color: #ddd;
}

.product-image img {
    width: 100%;
    height: 200px;
}

.viewer-container .viewer-footer {
    padding-bottom: 40px;
}
/*框架*/

#box{
    height: 100vh;
    background-color: #f3f3f4; 
    min-width: 1000px;
}
#box-header{
    width: 100%;
    position: relative;
    z-index: 2;
}
#box-content{
    background-color: transparent;
    height: 100%;
    position: relative;
    z-index: 1;    
}
#box-content-left{
    background: url(../images/repeat_y_bg.png) repeat-y 0 0;
    width: 210px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
  
}
#box-content-right{
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 210px;
}
#box-content-foot{
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 100%;
}
/*菜单*/
#sidebar ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
#sidebar .second li{
    width: 70px;
}
#sidebar .second li  a{
    display: block;
    color: white;
    padding: 0;
    text-align: center;
    padding-top: 20px;
    color: #FFFFFF;
}
#sidebar .second li a i{
    font-size: 20px;
}

#sidebar .second li a span{
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    display: block;
    word-break:break-word;
}
#sidebar .third  {
    width: 140px;
    /*height: 100%;*/
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
}
#sidebar .third li{
    position: relative;
    width: 100%;
}
#sidebar .third li a{   
    text-align: left;
    display: block;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
    padding:0px; 
    padding-left: 25px; 
    color: #999c9e ; 
    
    line-height: 36px;
    height: 36px;
   
    font-weight: normal;     
}

#sidebar li a:hover{
    background: rgba(255,255,255,0.5);
}
#sidebar .second li.active a.second-level{
    position: relative;
}
#sidebar .second li.active a.second-level:after{
    content:" ";
    border-color: transparent white transparent transparent;
    border-width: 5px;
    border-style: solid;
    width: 0;
    height: 0;
    position: absolute;
    top:50%;
    right:0;
    margin-top: -5px;
}

#sidebar .third li.active{
    background-color: #e0e0e0;
}
#sidebar .third li.active:after{
    content:" ";
    border-color: transparent white transparent transparent;
    border-width: 5px;
    border-style: solid;
    width: 0;
    height: 0;
    position: absolute;
    top:50%;
    right:0;
    margin-top: -5px;
}
#sidebar .third li.active a{
    font-weight: 700;
    color: #333;    
}
/*头部一级菜单*/
#first-menu li{
    float: left;
    width: 80px;
    text-align: center;
}
#first-menu li a{
    padding: 20px 10px;
    color: #999c9e;
}
#first-menu .active{
    border: none;
}
#first-menu .active a{
    background-color: #eee;
    
}
.logo a{
    min-width: 200px;
    text-align: center;
    color: #999c9e;
    font-weight: 600;
}
