/* Multi image select */
.multi-img-container ul {
    list-style: none;
    margin: -15px -15px 0 -15px;
    padding: 0;
}
.multi-img-container li {
    float: left;
    background: #fcfcfc;
    margin: 15px;
    padding: 15px;
}
.multi-img-container li img {
    width: 240px;
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 15px;
}

/* Media properties */
dl.media-properties dt,
dl.media-properties dd {
    line-height: 30px;
}

/* Thumbs */
.media-thumbs {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

/* Thumb */
.media-thumb {
    flex: initial;
    position: relative;
    margin: 20px;
    width: 140px;
    height: 200px;
    color: #737773;
    text-align: center;
    display: block;
}
.media-thumb figure {
    position: relative;
    height: 140px;
    width: 140px;
    font-size: 0;
}
.media-thumb figure:before {
    height: 100%;
    content: '';
    vertical-align: middle;
    display: inline-block;
}
.media-thumb figure:after {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
    width: 30px;
    height: 30px;
    content: '';
    border-radius: 50%;
    background: #69d067 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjEwLjEiIGhlaWdodD0iMTAuNSIgdmlld0JveD0iMCAwIDEwLjEgMTAuNSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAuMDc1IDEwLjUzOCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIgNS4xbDEuNSAxLjVMOC41IDBsMS42IDIgLTYuNiA4LjVMMCA3LjEgMiA1LjF6Ii8+PC9zdmc+) no-repeat center center;
    display: block;
    opacity: 0;
    transition: opacity .15s .05s ease-in-out;
}
.media-thumb.folder figure:after {
    background-color: #509dd4;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.media-thumb.selected figure:after {
    opacity: 1;
}
.media-thumb img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}
.media-thumb figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    height: 40px;
}
.media-thumb figcaption.open {
    z-index: 9999;
}
.media-thumb figcaption > a {
    color: #a19e95;
}
.media-thumb figcaption > span {
    padding: 3px 6px;
    font-size: 15px;
    border-radius: 3px;
}
.media-thumb:hover figcaption span {
    color: #69d067;
}
.media-thumb.selected figcaption span {
    color: #fff;
    background-color: #69d067;
}
.media-thumb a {
    cursor: pointer;
}
.media-thumb i {
    margin-right: -20px;
    width: 20px;
    vertical-align: -1px;
    font-size: 15px;
    display: none;
}
.media-thumb:hover i {
    display: inline-block;
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    /* Thumb */
    .media-thumb {
        width: 180px;
        height: 240px;
    }
    .media-thumb figure {
        height: 180px;
        width: 180px;
    }

}