/*!
 * bootstrap-fileinput v4.4.2
 * http://plugins.krajee.com/file-input
 *
 * Krajee Explorer Font Awesome theme style for bootstrap-fileinput. 
 * Load this theme file after loading `fileinput.css`. Ensure that
 * font awesome assets and CSS are loaded on the page as well.
 *
 * Author: Kartik Visweswaran
 * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
 *
 * Licensed under the BSD 3-Clause
 * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
 */
.theme-explorer-fa .file-preview .table {
    margin: 0;
}

.theme-explorer-fa .explorer-frame td {
    vertical-align: middle;
    text-align: left;
}

.explorer-frame .file-preview-text {
    display: inline-block;
    color: #428bca;
    border: 1px solid #ddd;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    outline: none;
    padding: 8px;
    resize: none;
}

.explorer-frame .file-preview-html {
    display: inline-block;
    border: 1px solid #ddd;
    padding: 8px;
    overflow: auto;
}

.explorer-frame .file-preview-other {
    text-align: center;
}

.explorer-frame .file-other-icon {
    font-size: 4.2em;
}

.theme-explorer-fa .explorer-frame .kv-file-content {
    width: 80px;
    height: 80px;
    padding: 5px;
    text-align: center;
}

.theme-explorer-fa .file-actions-cell {
    width: 100px;
    padding: 0;
}

.theme-explorer-fa .file-thumb-progress .progress {
    display: block;
    margin-top: 5px;
}

.theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .file-thumb-progress .progress-bar {
    height: 13px;
    font-size: 11px;
    line-height: 13px;
}

.theme-explorer-fa .file-actions-cell {
    position: relative;
}

.theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
    position: absolute;
    text-align: center;
    top: 0;
    right: 0;
    padding-left: 5px;
    padding-right: 2px;
    border-right: none;
    border-top: none;
    border-left: 1px solid #8a6d3b;
    border-bottom: 1px solid #8a6d3b;
    border-bottom-left-radius: 11px;
    font-size: 12px;
}

.theme-explorer-fa .explorer-caption {
    display: block;
    color: #777;
}

.theme-explorer-fa .file-actions {
    text-align: center;
}

.theme-explorer-fa .kvsortable-ghost {
    opacity: 0.6;
    background: #e1edf7;
    border: 2px solid #a1abff;
}

.theme-explorer-fa .file-upload-indicator {
    font-size: 13px;
    padding-left: 6px;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.theme-explorer-fa .file-drag-handle {
    right: -2px;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.theme-explorer-fa .file-preview-error .file-upload-indicator {
    background-color: #f2dede;
    border-color: #ebccd1;
}

.theme-explorer-fa .file-preview-success .file-upload-indicator {
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.theme-explorer-fa .file-preview-loading .file-upload-indicator {
    background-color: #e5e5e5;
    border-color: #777;
}

.theme-explorer-fa .file-error-message ul {
    padding-left: 15px;
}

.theme-explorer-fa .file-error-message .close {
    margin-top: -5px;
    margin-right: -5px;
}

/*
 * mobile responsive styling
 */
@media only screen and (max-width: 500px) {
    .theme-explorer-fa .table, .theme-explorer-fa .table tbody, .theme-explorer-fa .table tr, .theme-explorer-fa .table td {
        display: block;
        width: 100% !important;
    }

    .theme-explorer-fa .table {
        border: none;
    }

    .theme-explorer-fa .table tr {
        margin-top: 5px;
    }

    .theme-explorer-fa .table tr:first-child {
        margin-top: 0;
    }

    .theme-explorer-fa .table td {
        text-align: center;
    }

    .theme-explorer-fa .table .kv-file-content {
        border-bottom: none;
        padding: 4px;
        margin: 0;
    }

    .theme-explorer-fa .table .kv-file-content .file-preview-image {
        max-width: 100%;
        font-size: 20px;
    }

    .theme-explorer-fa .file-details-cell {
        border-top: none;
        border-bottom: none;
        padding-top: 0;
        margin: 0;
    }

    .theme-explorer-fa .file-actions-cell {
        border-top: none;
        padding-bottom: 4px;
    }

    .theme-explorer-fa .explorer-frame .explorer-caption {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        left: 0;
        right: 0;
        margin: auto;
    }

    .theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
        right: 0;
        bottom: 0;
        border-top-left-radius: 40px;
        border-bottom-left-radius: 0;
        padding: 12px 3px 0 6px;
    }

    .theme-explorer-fa .file-actions-cell .btn-xs {
        font-size: 0.9em;
        padding: 2px 7px;
        margin-right: 3px;
        cursor: pointer;
    }
}