.ThumbnailsForm {
    margin-bottom: 20px;

    &-header {
        color: $gorilla;
        display: inline-block;
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    &-thumbnail-container {
        display: inline-block;
        height: 89px;
        margin-right: 5px;
        position: relative;
        width: 122px;
    }

    &-custom-thumbnail-container {
        margin-right: 0;
    }

    &-thumbnail,
    &-custom-thumbnail {
        background: #000;
        height: 69px;
        object-fit: contain;
        width: 122px;
    }

    &-custom-no-thumbnail {
        background: $gorilla;
        height: 69px;
        text-align: center;
    }

    &-custom-no-thumbnail-text {
        color: $timberwolf;
        display: inline-block;
        font-size: 10px;
        font-weight: 500;
        line-height: 12px;
        padding-top: 22px;
        width: 80px;
    }

    &-thumbnail-label {
        background-color: #fff;
        border: 1px solid $mouse;
        border-radius: 0 0 2px 2px;
        color: $timberwolf;
        font-size: 10px;
        font-weight: 500;
        height: 20px;
        padding: 3px 0 0 7px;
    }

    &-thumbnail-label-help {
        float: right;
    }

    &-thumbnail-label-help .Icons-info {
        display: block;
    }

    &-thumbnail-mask {
        background: rgba(0, 0, 0, .5);
        cursor: pointer;
        height: 69px;
        left: 0;
        opacity: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    &-thumbnail-mask:hover {
        opacity: 1;
    }

    /* stylelint-disable declaration-no-important */
    &-thumbnail-mask .Icons-edit {
        fill: #fff !important;
        position: absolute !important;
        right: 10px;
        top: 10px !important;
    }
    /* stylelint-enable declaration-no-important */

    /* stylelint-disable selector-class-pattern */
    &-edit.btn.btn-link {
        float: right;
        margin-top: -8px;
        padding-right: 0;
    }

    &-edit.btn.btn-link:hover {
        text-decoration: none;
    }
    /* stylelint-enable selector-class-pattern */

    &-edit .Icons-edit {
        fill: #337ab7;
    }

    &-edit:hover .Icons-edit {
        fill: #23527c;
    }
}
