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

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

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

.upload-list ul li {
    float: left;
    margin: 0;

    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;
    width: 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 .max {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    background: url(../img/add-img.png) no-repeat;
    background-size: 25px 25px;
    cursor: pointer;
    overflow: hidden;
}

.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;
}

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

.upload-box-bg .second {
    right: 25%;
    top: 55%;
    position: absolute;
}

.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;
}


/* 文件上传 div 样式 */
.file-upload {
    cursor: pointer;
    position: relative;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    margin: 10px 0;
    height: 120px;
    width: 100%;
    text-align: center;
}

.file-upload:hover {
    opacity: 1;
}

.file-upload.active {
    opacity: 1;
}




.swal-title {
    font-weight: 300;
    color: #575757;
    font-size: 24px;
}

.swal-text {
    color: #797979;
}

.swal-button {
    padding: 8px 20px;
    font-weight: 300;
}

.swal-button:focus {
    outline: none;
    box-shadow: 0 0 0 0 #000, 0 0 0 0 rgba(43, 114, 165, .29)
}

.swal-icon {
    border-width: 3px;
}

.swal-icon--warning__body {
    width: 3px;
    height: 47px;
}

.swal-icon--info::after,
.swal-icon--warning__dot {
    width: 5px;
    height: 5px;
    margin-left: -3px;
    bottom: -11px;
}

.swal-icon--error__line {
    height: 4px;
    width: 45px;
}

.swal-icon--error__line--left {
    left: 18px;
}

.swal-icon--info::before {
    width: 3px;
}

.swal-icon--info::after,
.swal-icon--info::before {
    background-color: #78cbf2;;
}

.swal-icon--info {
    border-color: #78cbf2;;
}

.swal-icon--warning {
    border-color: #e79857;
}

