/* ---------------------------------------------- 图片上传样式 ---------------------------------------------- */

.upload-list {
    margin: 0;
    padding: 0;
}

.upload-list ul {
    margin-top: -15px;
    margin-left: -55px;
}

.upload-list ul li {
    float: left;
    margin: 0;
    margin-top: 10px;
    margin-right: 10px;
    width: 108px;
    height: 108px;
    border: 1px #efefed solid;
    text-align: center;
    display: inline-block;
    list-style-type: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.upload-list ul li .img-box .bg-cover {
    background-size: cover;
    background-position: center center;
    height: 110px
}

.upload-list ul li .img-box.selected {
    border: 3px #f60 solid;
}

.upload-list ul li .img-box img {
    width: auto;
    height: 100%;
    margin: 0 auto;
    opacity: 1;
}

.upload-list ul li .img-box:hover .delimg-crop,
.upload-list ul li .img-box:hover .delimg {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    right: 0;
    background: url(../img/delete.png) no-repeat;
    background-size: 25px 25px;
    cursor: pointer;
    overflow: hidden;
}

.upload-list .fa-cloud-upload {
    font-size: 40px;
    color: #d6d9e0;
    margin: 30px 0 16px;
    line-height: 45px;
}

.upload-list .fa-file-o {
    font-size: 40px;
    color: #d6d9e0;
    margin: 20px 0 16px;
    line-height: 45px;
}

.upload-box {
    padding: 0;
    color: #333;
    text-align: center;
    border: 1px #d0d2d0 dashed
}

.upload-box-bg {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.upload-box-bg a {
    color: #fff !important;
    cursor: pointer
}

.upload-box-bg .first {
    /* left: 25%;
    top: 25%;
    position: absolute; */
    margin-top: 30%;
    display: block;
}

.upload-box-bg .first span {
    width: 55px;
}

.upload-box-bg .second {
    /* right: 25%;
    top: 55%;
    position: absolute; */
    margin-top: 10%;
    display: block;
}

.upload-extend {
    position: absolute;
    top: 55%;
    left: 33%;
}

.bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 3px;
}

.bottom-bar a:hover,
.bottom-bar a:active,
.bottom-bar a:active,
.bottom-bar a {
    color: #fff;
}

/* 选择样式 */

.border-color-gray {
    border: 1px solid #e7eaec !important;
}

.mailbox-attachments li {
    width: 20%;
    border: 0;
    margin-bottom: 0;
    margin-right: 0;
    padding: 5px;
}

.mailbox-attachment-icon {
    font-size: 63px;
}

.mailbox-attachment-name span {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    display: block;
}

/* ---------------------------------------------- 省市区 ---------------------------------------------- */

.shopProvinces {
    padding: 10px;
    float: left;
    position: relative;
    border: 1px solid transparent;
}

.shopProvinces label {
    font-weight: 500;
}

.shopProvinces.open {
    background: #f5f5f5;
    border: 1px solid #62a8ea;
    border-bottom: #f5f5f5;
    position: relative;
}

.shopCitys {
    background-color: #f5f5f5;
    border: 1px solid #62a8ea;
    padding: 10px;
    display: none;
    float: right;
    left: -1px;
    position: absolute;
    top: 35px;
    width: 410px;
    z-index: 20000;
    overflow: overlay;
    height: 200px;
}

.shopCitys > div {
    float: left;
    margin: 0;
    width: 33.3%;
    line-height: 14px;
}

.shopCitys > div > label {
    width: 90px;
    margin: 0;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.shopAreas {
    background-color: #E7F5FF;
    border: 1px solid #B5DCFF;
    padding: 7px;
    display: none;
    float: right;
    left: 0;
    position: absolute;
    top: 30px;
    width: 300px;
    z-index: 20001;
}

.shopAreas span {
    float: left;
    margin: 0;
    width: 50%;
}

.shopAreas span label {
    margin: 0;
    width: 124px;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* ---------------------------------------------- 图片裁剪上传 ---------------------------------------------- */

.upload-list .fa-crop {
    font-size: 40px;
    color: #d6d9e0;
    margin: 30px 0 16px;
    line-height: 45px;
}


.avatar-view {
    display: block;
    width: 220px;
    height: 220px;
    border: 3px solid #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    cursor: pointer;
    overflow: hidden;
}

.avatar-view img {
    width: 100%;
}

.avatar-body {
    padding-right: 15px;
    padding-left: 15px;
}

.avatar-upload {
    overflow: hidden;
}

.avatar-upload label {
    display: block;
    float: left;
    clear: left;
    width: 100px;
}

.avatar-upload input {
    display: block;
    margin-left: 110px;
}

.avater-alert {
    margin-top: 10px;
    margin-bottom: 10px;
}

.avatar-wrapper {
    height: 364px;
    width: 100%;
    margin-top: 15px;
    background-color: #fcfcfc;
    background: url(../img/add-img.png) no-repeat center;
    border: 1px dashed #cccccc;
    overflow: hidden;
}

.avatar-wrapper img {
    display: block;
    height: auto;
    max-width: 100%;
}

.avatar-preview {
    float: left;
    margin-top: 15px;
    margin-right: 15px;
    border: 1px dashed #cccccc;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}

.avatar-preview img {
    width: 100%;
}

.preview-lg {
    height: 184px;
    width: 184px;
    margin-top: 15px;
}

.preview-md {
    height: 100px;
    width: 100px;
}

.preview-sm {
    height: 50px;
    width: 50px;
}

@media (min-width: 992px) {
    .avatar-preview {
        float: none;
    }
}

.avatar-btns {
    margin-top: 30px;
    margin-bottom: 15px;
}

.avatar-btns .btn-group {
    margin-right: 5px;
}