.file-uploader__title {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white;
    background-color: white;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: black;
}

.file-uploader {
    background-color: #dbefe9;
    border-radius: 3px;
    color: #242424;
}

.file-uploader__message-area {
    font-size: 16px;
    text-align: center;
    color: #888b8d;    
}

.file-uploader__info-area{
    max-width: 50%;
}

.file-list {
    background-color: white;
    font-size: 16px;
    margin-top: 10px;
}

.file-list__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-list li {
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    border: 1px solid #d9d9d6;
    margin: -1px 0 0 0;
    padding: 0px 0px 0px 10px;
}

.removal-button {
    width: 20%;
    border: none;
    background-color: #e50914;
    color: white;
}

.removal-button::before {
    content: "X";
    font-size: 14px;
    font-weight: bold;
}

.file-chooser{
    transition: height 1s;
}

.file-uploader,
.file-chooser p {
    padding: 20px;
}

.file-uploader {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;

    height: auto;
    width: 100%;
    max-width: 100%;
    background-color: #ececec;
    margin: 0;
    margin-top: 20px;
}

.file-uploader > *{
    flex: 1;
}

.file-uploader * {
    display: block;
}

.file-uploader input[type="submit"] {
    margin-top: 2em;
    float: right;
}

.file-list {
    max-width: 100%;
    margin-left: 20px;
}

.file-list__name {
    max-width: 70%;
    float: left;
}

.removal-button {
    display: inline-block;
    height: 100%;
    float: right;
}

.file-chooser {
    padding: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 2px dashed #888b8d;
    min-height: 120px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

p.error-message {
    text-align: center;
}

.file-chooser__input {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
    position: absolute;
    z-index: 1000;
    left:0;
    top: 0;
}

.file-uploader__submit-button {
    width: 100%;
    border: none;
    font-size: 1.5em;
    padding: 1em;
    background-color: #72bfa7;
    color: white;
}

.file-uploader__submit-button:hover {
    background-color: #a7d7c8;
}

.file-list li:after, .file-uploader:after {
    content: "";
    display: table;
    clear: both;
}

.hidden {
    display: none;
}

.hidden input {
    display: none;
}

*, *::before, *::after {
    box-sizing: border-box;
}

ul, li {
    margin: 0;
    padding: 0;
}

.file-uploader__allowed-formats-icon{
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 9999;
}

.file-uploader__allowed-formats-info {
    overflow: hidden;
    position: absolute;
    transition: .3s linear;
    opacity: 0;
    width: 200px;
    height: auto;
    font-size: 0.8rem;
    padding-bottom: 10px;
    pointer-events: none;
}

.file-uploader__allowed-formats-icon i:hover + .file-uploader__allowed-formats-info {
    background-color: #888b8d;
    color: white;
    padding: 10px;
    opacity: 1;
    z-index: 1;
}

.file-chooser.error,
.file-chooser.error .file-uploader__title {
    background: #e50914;
    background-color: #e50914;
    color: white;
}

.file-chooser.error{
    border: 2px dashed #000000;
}

.file-chooser p.error-message {
    margin: 0;
    padding-bottom: 0;
    max-width: 100%;
}

.error-message.max_number_files + div + div.file-uploader__title {
    display: none !important;
}

@media screen and (max-width: 500px) {
    .file-list__name {
        max-width: 60%;
        float: left;
    }
}