#preview-area {
    display: block;
    margin-top: 50px;
}

#preview-area h3 {
    display: block;
    width: 100%;
    margin-bottom: 0px;
}

.photo-item img {
    width: 100%;
    height: 108px;
    border-radius: 6px;
    box-shadow: 0px 2px 3px #3c3b3b;
    min-height: 108px;
}


.preview-item img {
    width: 100%;
    height: 108px;
    border-radius: 6px;
    box-shadow: 0px 2px 3px #3c3b3b;
    min-height: 108px;
}

.progress {
    height: 6px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    bottom: 118px;
}

#preview-area .filename {
    display: none;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: #4caf50;
    transition: width 0.2s;
}

.attachments-container {
    padding: 10px 10px 35px 10px;
    border-bottom: 1px solid #ccc;
}

.attachments-container:after {
    clear: both;
    content: " ";
    display: block;
}

.attachments-container input[type=file] {
    display: none;
}



.attachments-container .photo-item .remove-btn,
.attachments-container .preview-item .remove-btn {
    background-color: transparent;
    position: relative;
    left: 0;
    color: #000;
    border-radius: 0 0 5px 5px;
    width: 100%;
    line-height: 1;
    cursor: pointer;
    font-size: 14px;
    padding: 15px 0px 0 0;
    margin: 0;
    border: none;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) .2s;
    text-decoration: underline;
    font-weight: normal;
}





.attachments-container .photo-item {
    width: 120px;
    text-align: center;
    position: relative;
    float: left;
    height: 108px;
    margin-right: 8px;
}


.attachments-container .preview-item {
    width: 120px;
    text-align: center;
    position: relative;
    float: left;
    height: 108px;
    margin-right: 8px;
    margin-top: 25px;
}

.attachments-container .photo-item a:before {
    content: "\f06e";
    display: block;
    background-color: rgb(0 0 0 / 60%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: opacity linear .3s;
    z-index: 1;
    color: #fff;
    line-height: 95px;
    font-size: 25px;
    font-family: 'Font Awesome 5 Free';
    opacity: 0;    
}

.attachments-container .photo-item:hover a:before {    
    opacity: 1;
}


.attachments-container .gallery-header {
    margin-top: 10px;
    margin-bottom: 10px;
}

.attachments-container .gallery-header h2 {
    font-size: 18px;
}

.attachments-container #order-attachments-list:after {
    clear: both;
    content: " ";
    display: block;
}

.attachments-container .photos-container:after {
    clear: both;
    content: " ";
    display: block;
}

#order-attachment-form {
    float: left;
    margin-right: 3px;
}

#order-attachments-list {
    float: left;
}

[data-action=load-file] {
    border-color: transparent;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    font-family: inherit;
    font-weight: 600;
    color: #333;

    width: 120px;
    height: 108px;
    background-color: #e3e3e3 !important;
    margin-left: 0px !important;
}

[data-action=load-file] .icon {
    font-size: 40px;
    display: block;
}

.modal-dialog.modal-prompt-gallery:before {
    position: absolute;
    content: " ";
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 60%);
    z-index: 7;
}
