/*!
 * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
 * @package bootstrap-fileinput
 * @version 4.1.9
 *
 * File input styling for Bootstrap 3.0
 * Built for Yii Framework 2.0
 * Author: Kartik Visweswaran
 * Year: 2015
 * For more Yii related demos visit http://demos.krajee.com
 */
.file-input {
    overflow-x: auto;
}

.file-loading {
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    font-size: 999px;
    text-align: right;
    color: #fff;
    background: transparent url('/i/image/site/loading.gif') top left no-repeat;
    border: none;
}

.btn-file {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #FFFFFF !important;
  color: #565A5C !important;
  -webkit-box-shadow: 0px 2px 5px 1px rgba(73, 73, 73, 0.12) !important;
  -moz-box-shadow: 0px 2px 5px 1px rgba(73, 73, 73, 0.12) !important;
  box-shadow: 0px 2px 5px 1px rgba(73, 73, 73, 0.12) !important;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    text-align: right;
    opacity: 0;
    filter: alpha(opacity=0);
    opacity: 0;
    background: none repeat scroll 0 0 transparent;
    cursor: inherit;
    display: block;
}

.file-caption .glyphicon {
    display: inline-block;
    min-width: 18px;
    margin-top: 2px;
}

.file-caption-name {
    display: inline-block;
    overflow: hidden;
    max-height: 20px;
    padding-right: 10px;
    word-break: break-all;
}

.file-caption-ellipsis {
    position: absolute;
    right: 10px;
    margin-top: -6px;
    font-size: 1.2em;
    display: none;
    font-weight: bold;
    cursor: default;
}

.kv-has-ellipsis .file-caption-ellipsis {
    display: inline;
}

.kv-has-ellipsis {
    padding-right: 17px;
}

.kv-search-container .kv-search-clear {
    position: absolute;
    padding: 10px;
    right: 0px;
}

.file-error-message {
  background-color: #f2dede;
  color: #a94442;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  float: left;
}

.file-error-message pre, .file-error-message ul {
    margin: 5px 0;
    text-align: left;
}

.file-caption-disabled {
    background-color: #EEEEEE;
    cursor: not-allowed;
    opacity: 1;
}

.file-input .btn[disabled], .file-input .btn .disabled {
    cursor: not-allowed;
}

.file-preview {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 0;
  width: 100%;
  margin-bottom: 5px;
}

.file-preview-frame {
  display: block;
  margin: 0px;
  height: 152px;
  padding: 0px;
  float: left;
  text-align: center;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  background: white;
  margin-bottom: 22px;
    transition: All 0.2s ease-in-out;
  -webkit-transition: All 0.2s ease-in-out;
  -moz-transition: All 0.2s ease-in-out;
  -o-transition: All 0.2s ease-in-out;
}

.file-preview-frame:hover {
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.file-preview-image {
  vertical-align: text-center;
  width: 100% !important;
  height: auto !important;
}

.file-preview-text {
    width: 160px;
    color: #428bca;
    font-size: 11px;
    text-align: center;
}

.file-preview-other {
    padding-top: 48px;
    text-align: center;
}

.file-preview-other i {
    font-size: 2.4em;
}

.file-other-error {
    width: 100%;
    padding-top: 30px;
    text-align: right
}

.file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file,
.file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button,
.file-input-ajax-new .fileinput-remove-button, .file-input-ajax-new .fileinput-upload-button {
    display: none;
}

.loading {
    background: transparent url('/i/image/site/loading.gif') no-repeat scroll center center content-box !important;
}

.wrap-indicator {
    font-weight: bold;
    color: #245269;
    cursor: pointer;
}

.file-actions {
    text-align: left;
}

.file-footer-buttons {
    float: right;
}

.file-thumbnail-footer .file-caption-name {
    padding-top: 4px;
    font-size: 11px;
    color: #777;
}

.file-upload-indicator {
    padding-top: 2px;
    cursor: default;
}

.file-upload-indicator:hover {
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 0;
}

.file-drop-zone {
  border: 1px dashed #aaa;
  border-radius: 4px;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  background: rgba(86, 90, 92, 0.12);
}

.file-drop-zone-title {
  color: #aaa;
  font-size: 17px;
  padding: 10px 10px;
}

.highlighted {
    border: 2px dashed #999 !important;
    background-color: #f0f0f0;
}

.file-uploading {
    background-image: url('/i/image/site/loading-sm.gif');
    background-position: center bottom 10px;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.file-icon-large {
    font-size: 1.2em;
}
.close.fileinput-remove {
  display: none;
}
.kv-file-remove {
  position: absolute;
  top: 10px;
  right: 12px;
  background: url(/i/image/site/sprite.png) no-repeat rgba(255, 255, 255, 0) -8px -182px;
  background-repeat: no-repeat;
  float: left;
  width: 10px;
  height: 13px;
  padding: 0 !important;
}
.fileinput-cancel.fileinput-cancel-button {
  display: none;
}
.btn.btn-default.kv-fileinput-upload.fileinput-upload-button {
  display: none;
}
.kv-upload-progress.hide {
  display: none;
}
.file-thumbnail-footer .file-caption-name {
  display: none;
}
button.kv-file-upload.btn.btn-xs.btn-default {
  display: none;
}