.form-control.file-name-container {
    padding: 0;
}

.file-table tbody {
    display: flex;
    flex-wrap: wrap;
}

.file-table tr {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    border: 1px dashed #dce0e4;
    border-radius: 3px;
    border-spacing: 2px;
    position: relative;
    background-color: #f8fafd;
    text-align: center;

}

.file-table tr td {
    width: 100%;

}

.file-table tr:hover #show {
    height: 20px;
    display: block;
    width: 100%;
}

.file-table tr .file-icon-td {
    height: 40px;
    width: 48px;
    flex: 3;
    padding: 5px 8px;

}

.file-table tr .file-name-td {
    flex: 1;
    width: 100%;
    line-height: 100%;
    background-color: #fff;
}

.file-table tr .file-name-td a {
    height: 100%;
    width: 100%;
    display: block;
    line-height: 20px;
}

.file-table tr .download-btn-td, .file-remove-td {
    position: absolute;
    bottom: 0;
    display: none;
    width: 80px;
    height: 30px;
    line-height: 20px;
    background-color: rgba(0, 0, 0, .5);
    text-align: center;

}
.file-table tr.upload{
    background-color: #f8fafd;
}

.file-table tr .file-remove-td span {
    display: block;
    width: 80px;
    height: 33px;
}

.btn-remove-attachment::before {
    position: relative;
}
span.btn-remove-attachment::before {
    right: 10px;
}
.download-btn-td  .glyphicon-download-alt:before {
}

.file-preview-td {
    display: none;
}

.file-table tr .show {
    display: block;
}

.file-table tr td .btn.btn-xs {
    color: #fff;
}

.file-table tr .file-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 80px;
}

.file-table tr .file-img img {
    max-height: 78px;
    max-width: 79px;
}

.upload-box {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.upload {
    margin: 10px 0 10px 10px;
    width: 80px;
    height:80px;
    display: inline-block;
    justify-content: center;
    align-items: center;
    background-color: #f8fafd;
    border: 1px dashed #dce0e4;
    border-spacing: 2px;
}

.upload-box .plus-symbol {
    width: 20px;
    height: 2px;
    background-color: #777;
    position: relative;
}

.upload-box .plus-symbol::before,
.upload-box .plus-symbol::after {
    content: "";
    width: inherit;
    height: inherit;
    background-color: inherit;
    position: absolute;
    top: 0;
    left: 0;
}

.upload-box .plus-symbol::before {
    transform: rotate(90deg);
}

.upload-box .plus-symbol::after {
    transform: rotate(180deg);
}

.file-table tr {
    margin: 10px 0 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    position: relative;
    border: 1px dashed #dce0e4;
    border-spacing: 2px;
    background-color: #fff;
    text-align: center;

}


.file-table tr.attachment-tr {
    cursor: pointer;
}

.file-name-container-left.form-control {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}


a.btn.glyphicon.glyphicon-trash.btn-remove-attachment::before {
    top: -2px;
}

.fh-img {
    position: relative;
    margin: 10px 0px 10px 10px;
    width: 80px;
    height: 80px;
    border: 1px dashed #dce0e4;
    border-spacing: 2px;
    background-color: #f8fafd;
}

.box2-img {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
}