#dropzone {
    width: 100%;
    max-width: 500px;
    min-width: 200px;
    height: 230px;
    border: 3px dashed #0B657A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 10px auto;
    border-radius: 10px;
}

#dropzone.dragging {
    border: 2px solid #0B657A;
}

#dropzone > p {
    text-align: center;
}

#dropzone > p:first-child {
    font-size: 18px;
}

#files + label {
    color: #0B657A;
    cursor: pointer;
}

#files + label:hover {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

#attachments-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#attachments-list {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 25px;
}

#attachments-list > .attachment {
    border: 1px solid #ebebeb;
    border-radius: 10px;
    width: 170px;
    height: 170px;
    position: relative;
}

#attachments-list > .attachment > .attachment-thumbnail {
    height: 130px;
    border-bottom: 1px solid #ebebeb;
}

#attachments-list > .attachment > .attachment-thumbnail > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

#attachments-list > .attachment > .attachment-name {
    height: 40px;
    text-align: center;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#attachments-list > .attachment > .attachment-cancel {
    position: absolute;
    top: 3px;
    right: 5px;
    border: 0;
    border-radius: 100%;
    padding: 0;
    background-color: white;
    font-size: 20px;
}

.entypo-cancel-circled:before {
    margin: 0;
}

#attachments-list > .attachment > .attachment-download {
    position: absolute;
    top: 155px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #ebebeb;
    border-radius: 100%;
    padding: 0;
    width: 30px;
    height: 30px;
    background-color: white;
    text-align: center;
    font-size: 16px;
    line-height: 26px;
}

#attachments-list > .attachment > .attachment-download:hover,
#attachments-list > .attachment > .attachment-download:active {
    background-color: #f7f7f7;
    color: rgb(0, 83, 102);
}