.#{$uiName}-upload-modal {
    background: rgba(43,56,80, .5);
    //background: white;
    position: fixed;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    & > .jump-ui-form-area {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        //min-height: 400px;
        width: 500px;

        > .#{$uiName}-file-drag-area {

            font-size: 35px;
            svg {
                font-size: 30px;
                margin: 0 0 15px 0;
            }
        }
    }

}

.jump-ui-file-uploader {
    display: flex;
    flex-direction: column;
    //align-items: stretch;
    border: 1px solid rgba(34, 36, 38, 0.15);
    background: white;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 0 0 0 0 transparent inset;
    padding: 10px;
    position: relative;
    font-family: Roboto, sans-serif;
    padding-bottom: 15px;

    &.error {
        background: lighten(red, 47%);
        border-color: red;

        .error-message-ui {
            display: block;
        }
    }

    &:before {
        content: '';
        position: absolute;
        left: 10px;
        right: 10px;
        top: 10px;
        bottom: 10px;
        background: #fafbfd;
        border-radius: 3px;
    }

    > .file-select-area {
        //background: #fafbfd;
        min-height: 200px;
        width: 100%;
        border-radius: 3px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        cursor: pointer;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;

        svg {
            font-size: 40px;
            margin-bottom: 20px;
        }

        > input{
            position: absolute;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            outline: none;
            opacity: 0;
        }

        > .title {
            font-size: 25px;
            //font-weight: lighter;
        }

        > .or {
            font-size: 15px;
            margin: 10px 0 20px 0;
        }

        > .text {
            font-size: 11px;
            margin: 10px 0 0 0;
        }

        &:before {
            content: '';
            position: absolute;
            left: 10px;
            right: 10px;
            top: 10px;
            bottom: 10px;
            border: 2px dashed #c2cdda;
            border-radius: 3px;
        }
    }



    > .file-error-container {
        position: relative;
        color: $red;
        border:1px solid $red;
        font-size: 12px;
        z-index: 2;
        margin: 10px;
        border-radius: 3px;
        padding: 10px;

        > p {
            padding: 0;
            margin: 0;
        }
    }

}

.#{$uiName}-file-selected-list {
    background: white;
    border-radius: 3px;
    margin: 0 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    position: relative;
    -webkit-box-shadow: 0px 1px 5px rgba(0,0,0,.05);
    -moz-box-shadow: 0px 1px 5px rgba(0,0,0,.05);
    box-shadow: 0px 1px 5px rgba(0,0,0,.05);
    display: flex;
    align-items: stretch;
    min-height: 50px;

    &.error {
        background: #fff0f0;
        color: $red;

        svg {
            color: $red
        }
    }

    span {
        position: absolute;
        width: 30%;
        height: 100%;
        left: 0;
        top: 0;
        //background: #e0e0ec;
        background: #deecfc;
        z-index: 0;
        border-radius: 3px;
    }

    > .percent {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        min-width: 50px;
        position: relative;
        font-size: 45px;
        line-height: 50px;
        font-weight: 100;
    }

    > .jump-ui-file-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        min-width: 50px;
        position: relative;

        svg {
            font-size: 20px;
        }

        &.remove-icon {
            cursor: pointer;
        }
    }

    > .jump-ui-file-text {
        display: flex;
        align-items: stretch;
        flex-grow: 1;
        position: relative;
        flex-direction: column;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        .name {
            font-size: 13px;
            font-weight: bold;
        }

        .size {
            font-size: 11px;
            font-weight: normal;
        }
    }
}



