/* 上传头像按钮 */
.upload-btn {
    text-align: center;
}

.upload-btn label {
    background-color: #62c162;
    color: white!important;
    padding: 6px 0px;
    font-size: 40%;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    display: block;
    width: 240px;
    margin: 10px auto 0px auto;
}

.upload-btn label:hover {
    background-color: #5cb85c;
}

.upload-btn span {
    cursor: pointer;
}

.upload-btn input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    border: solid transparent;
    opacity: .0;
    filter: alpha(opacity=0);
    direction: ltr;
    cursor: pointer;
}

/*
修改头像
*/
.update_ava {
    width: 240px;
    min-height: 240px;
    margin: 10px auto;
    text-align: center;
    background-color: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 3px;
}

.form-control {
    border-color: #d9dce4;
}

.layui-layer-btn .layui-layer-btn0 {
    color: #fff!important;
}

.table td, .table th {
    padding: .45rem!important;
}

.dropzone .dz-preview .dz-image img {
    width: 100%;
}

.apps .card-list {
    padding: 0;
}
.apps .card-list .avatar {
    width: 35px;
    height: 35px;
}

.block {
    background: #fff;
    position: relative;
    margin-bottom: 10px;
    z-index: 3;
}

.block .block-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    max-height: 200px;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}
.block .block-thumbnail img {
    width: 100%;
}

.block .block-thumbnail .thumbnail-overlay {
    background-color: rgba(54, 61, 76, .85);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.block .block-thumbnail .button-zoom {
    position: absolute;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 2px;
    left: 50%;
    margin-left: -20px;
    bottom: 0;
    margin-bottom: -40px;
    text-align: center;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.block .block-thumbnail:hover .thumbnail-overlay {
    opacity: 0.50;
    filter: alpha(opacity=50);
}

.block .block-thumbnail:hover .button-zoom {
    display: block;
    bottom: 50%;
    margin-bottom: -20px;
}