﻿.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.flex-direction-column {
    flex-direction: column;
}

.text-center {
    text-align: center;
}

.display-flex {
    display: flex;
}


/*Drag-n-Drop style*/
div[vmodule-name="uploadfile"] ol {
    margin-bottom: 0px;
}

div[vmodule-name="uploadfile"] .drag-and-drop-file {
    border: 2px dashed #bebaba;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
}

div[vmodule-name="uploadfile"] .upload-dropzone-card {
    transition: border 0.2s linear;
    color: #303030;
    height: 150px;
    font-size: 14px;
    margin-bottom: 0px;
}

    div[vmodule-name="uploadfile"] .upload-dropzone-card:hover {
        border-color: #999;
    }

    div[vmodule-name="uploadfile"] .upload-dropzone-card:focus {
        border-color: #999;
        outline: none;
    }


div[vmodule-name="uploadfile"] .is-dragover {
    border-color: #999;
}

    div[vmodule-name="uploadfile"] .is-dragover .upload-dropzone-card {
        border-color: #999;
    }

div[vmodule-name="uploadfile"] .file-invalid .upload-dropzone-card {
    border-color: #f44336;
    color: #f44336;
}

    div[vmodule-name="uploadfile"] .file-invalid .upload-dropzone-card .upload-icon {
        color: #f44336;
    }

div[vmodule-name="uploadfile"] .drag-welcome {
    position: absolute;
    z-index: 1
}

div[vmodule-name="uploadfile"] .drag-zone {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
}

div[vmodule-name="uploadfile"] .design-list-item {
    text-decoration: none;
}

div[vmodule-name="uploadfile"] .upload-dropzone-border {
    border: 2px dashed #dbdbdb;
    margin-bottom: 0px;
}

div[vmodule-name="uploadfile"] .upload-icon {
    font-size: 28px;
    color: #9d9696;
}

    div[vmodule-name="uploadfile"] .upload-icon .fa-check-circle {
        color: #4caf50
    }

div[vmodule-name="uploadfile"] .upload-item .discard-upload-file {
    width: 20px;
    height: 20px;
    position: absolute;
    top: -5px;
    right: 6px;
    border-radius: 100%;
    border: 1px solid #f441348c;
    background: #FFF;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-family: 'font awesome 5 pro';
    cursor: pointer;
    color: #f441348c;
    z-index: 4;
}

    div[vmodule-name="uploadfile"] .upload-item .discard-upload-file:hover {
        border: 1px solid #f441348c;
        color: #f44134;
        transition: border 0.2s linear;
        transition: color 0.2s linear;
    }

div[vmodule-name="uploadfile"] .upload-item .file-icon {
    font-size: 55px;
}

div[vmodule-name="uploadfile"] .upload-item .file-name {
    letter-spacing: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    word-wrap: break-word;
    width: 154px;
    font-weight: 600;
}

@media (max-height: 75px) {
    div[vmodule-name="uploadfile"] .drag-welcome {
        flex-direction: row;
    }

        div[vmodule-name="uploadfile"] .drag-welcome .upload-icon {
            margin-right: 5px;
        }
}
