/* Aus Document Gallery 5.1.1, src/assets/css/style.css (GPLv3) */
.document-gallery .document-icon {
    text-align: center;
}

.document-gallery .document-icon img {
    width: 89px;
    max-width: 100%;
    border: none;
    margin: 0 auto;
}

.document-gallery .document-icon a {
    font-size: 10px;
    line-height: 12px;
}

.document-gallery .document-icon {
    margin: 5px 0 0;
}

.document-gallery .document-icon .title {
    display: block;
    text-align: center;
}

/* WITHOUT DESCRIPTION */
.document-gallery .document-icon {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}

.document-gallery .document-icon-row {
    width: 100%;
    padding: 0;
    text-align: left;
}

/* WITH DESCRIPTION */
.document-gallery .descriptions.document-icon-row .document-icon {
    max-width: 115px;
    padding: 0 3px 0 0;
    float: left;
}

.document-gallery .descriptions.document-icon-row {
    vertical-align: middle;
    text-align: inherit;
}

.document-gallery .descriptions.document-icon-row img {
    width: 65px;
    max-width: 100%;
}

.document-gallery .descriptions.document-icon-row:before,
.document-gallery .descriptions.document-icon-row:after {
    content: "";
    display: table;
}

.document-gallery .descriptions.document-icon-row:after {
    clear: both;
}

/* Custom CSS aus den Einstellungen von Document Gallery auf der Website */
.document-gallery .descriptions.document-icon-row img {
    width: 100px;
    max-width: 100%;
    border: 1px solid #C1C1C1;
    margin-right: 25px;
}
