.vbbfc-insertion > tr > td, table.cellLink .vbbfc-insertion > tr > td {
    padding: 0;
}
.vbbfc-attachment > a {
    display: block;
}
.vbbfc-attachment img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.vbbfc-header {
    background-color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 4px 4px;
    color: white;
    position: relative;
    z-index: 0;
}
.vbbfc-header.with-icon {
    padding: 0 4px;
}
.vbbfc-header-icon {
    vertical-align: middle;
    height: 22px;
    width: auto;
}
/* .vbbfc-header-text { 
    display: inline-block;
    vertical-align: middle;
    padding: 4px 0;
} */

.vbbfc-admin-links {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    opacity: 0.4;
}
.vbbfc-admin-links > a {
    display: inline-block;
    color: white;
    padding: 2px;
    text-decoration: none;
}

.vbbfc-container {
    border: 3px solid white;
    border-top: none;
    margin: 4px 0;
    position: relative;
}

.vbbfc-attachments {
    font-size: 0;
}
.vbbfc-container:after {
    content: '';
    display: none;
    
}

.vbbfc-container.has-many:not(.scrolled):after {
    display: block;
    position: absolute;
    bottom:0;
    right:0;
    margin-bottom: 6px;
    margin-right: 4px;
    width: 32px;
    height: 32px;
    background: url('/images/icons/swipe64.png');
    background-size: 32px 32px;
    animation: vbbfc-swipe 6s infinite;
}
@keyframes vbbfc-swipe {
    0% {
        right: 0px;
        opacity: 1;
    }
    16.7% {
        right: 32px;
    }
    33.3% {
        right: 0px;
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    83.3% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        right: 0px;
    }
    
}

.vbbfc-attachment {
    display: none;
}
.vbbfc-attachment.first {
    display: block;
}

.vbbfc-attachments.expanded .vbbfc-attachment{
    display: block;
}

.vbbfc-attachments.has-two {
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

.vbbfc-attachments.has-two .vbbfc-attachments-inner, .vbbfc-attachments.expanded .vbbfc-attachments-inner {
    height: 100%;
}

.vbbfc-attachments.has-two .vbbfc-attachment, .vbbfc-attachments.expanded .vbbfc-attachment {
    height: 100%;
}
    
.vbbfc-attachments.has-two .vbbfc-attachment > a, .vbbfc-attachments.expanded .vbbfc-attachment > a {
    height: 100%;
}

.vbbfc-attachments.has-two .vbbfc-attachment img, .vbbfc-attachments.expanded .vbbfc-attachment img {
    height: 100%;
    width: auto;
}

.vbbfc-attachments.expanded .vbbfc-attachments-inner, .vbbfc-attachments.has-two .vbbfc-attachments-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.vbbfc-attachments.expanded .vbbfc-attachment, .vbbfc-attachments.has-two .vbbfc-attachment {
    flex-grow: 0;
    flex-shrink: 0;
    
}

.vbbfc-attachments.expanded, .vbbfc-attachments.has-two.expanded {
    overflow-x: scroll;
}

.vbbfc-attachment {
    background: no-repeat center/50% url('/images/misc/loading.svg');
}
