
.attachments {
    display: flex;
    /*justify-content: space-evenly;*/
}

.attachment {
    border-style: none;
    border-color: #666;
    border-width: 1px;
    width: 110px;
    max-width: 110px;
    margin: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.attachment_image {
    background: #eee;
    width: 100px;
    height: 100px;
    margin: 2px;
    clip-path: content-box;
}
 
.attachment_no_image {
    border-color: #666;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background: #eee;
    width: 100px;
    height: 100px;
    margin: 2px;
    text-align: center;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    display: flex;
}
  
.attachment_no_image>div {
    /*border: solid 1px red;*/
    text-align: center; 
    margin: auto; /* Important */ 
}
  
.attachment_overlay {
    #border: solid 1px red;
    text-align: center; 
    margin: auto; /* Important */ 
    border: none !important;
    background: transparent !important;
    color: #aaa !important;
    position: relative;
    left: 80px;
    bottom: 140px;
    z-index: 10;
    display: block;
    min-height: 10px;
    max-height: 10px;
    min-width: 10px;
    max-width: 10px;
    font-size: 9px;
}
  
.attachment_overlay:hover {
    text-align: center; 
    margin: auto; /* Important */ 
    border: solid 1px black !important;
    background: #fdd !important;
    color: #800 !important;
}
 
 
