/**
 * 列表
 */
.content ul.am-gallery-bordered {
    padding: 0px;
    width: calc(100% + 10px);
    margin-left: -5px;
}
.content ul.am-gallery-bordered li .am-gallery-item {
    height: 197px;
}
.content ul.am-gallery-bordered li .icon {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,.4);
}
.content ul.am-gallery-bordered .am-gallery-item {
    box-shadow: none;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
}
.content ul.am-gallery-bordered .am-gallery-item.am-active {
    border: 1px solid #ff8a8a !important;
    background: #fff2f2;
}
.content ul.am-gallery-bordered .am-gallery-item:hover {
    border: 1px solid #999;
    box-shadow: 0px 12px 12px -10px rgba(0,0,0,.4);
}
.content ul.am-gallery-bordered li {
    position: relative;
}
.content ul.am-gallery-bordered li .base {
    position: absolute;
    top: 10px;
    left: 100px;
    width: calc(100% - 112px);
}
.content ul.am-gallery-bordered li .base h3 {
    font-weight: 700;
    color: #333;
    margin: 2px 0px 3px 0px;
}
.content ul.am-gallery-bordered li .base p {
    line-height: 18px;
    margin: 0;
    font-size: 12px;
    font-weight: 300;
    color: #999;
}
.content ul.am-gallery-bordered li .base h3, .content ul.am-gallery-bordered li .base p {
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.content ul.am-gallery-bordered .am-gallery-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 10px 0;
    height: 36px;
    line-height: 18px;
}
.content ul.am-gallery-bordered li .operation {
    border-top: 1px dashed #eee;
    padding: 10px 0 5px 0;
}
.content ul.am-gallery-bordered li .am-btn, .content ul.am-gallery-bordered li .am-icon-btn {
    width: 35px;
}
.content ul.am-gallery-bordered li .submit-state {
    height: 30px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 14px;
}
.content ul.am-gallery-bordered li .submit-state.am-success {
    border: 1px solid #4caf50;
    background-color: #4caf50;
    color: #fff;
}
.content ul.am-gallery-bordered li .submit-move {
    cursor: move !important;
}
.content ul.already-install .am-gallery-item.am-active {
    border: 1px solid #f8815d !important;
    background: #fffbf5;
}
.content .middle-divider {
    height: 50px;
    position: relative;
    padding-top: 25px;
}
.content .middle-divider strong {
    position: absolute;
    top: 4px;
    background: #fff;
    padding: 4px 20px;
    left: calc(50% - 83px);
    border: 1px dashed #ccc;
    border-radius: 2px;
}
.content .middle-divider:hover > strong {
    border: 1px dashed #2196F3;
    color: #2196F3;
    background: #eaf6ff;
}
.content .middle-divider:hover > hr {
    border-top: 1px dashed #2196F3;
}
@media only screen and (max-width: 641px) {
    .content ul.am-gallery-bordered li .am-gallery-item {
        height: 187px;
    }
    .content ul.am-gallery-bordered li .icon {
        width: 65px;
        height: 65px;
    }
    .content ul.am-gallery-bordered li .base {
        left: 85px;
        width: calc(100% - 97px);
    }
    .content ul.am-gallery-bordered li .base h3 {
        margin: 0px;
    }
    .content ul.am-gallery-bordered li .base p {
        line-height: 16px;
    }
}

/**
 * 删除modal
 */
@media only screen and (min-width: 641px) {
    #plugins-delete-modal .am-modal-bd button.submit-ajax {
        margin-right: 10px;
    }
}
@media only screen and (max-width: 641px) {
    #plugins-delete-modal .am-modal-bd .am-btn {
        width: 100%;
        display: block;
        margin-top: 10px;
    }
}