/*
* File Uploads
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
* @author    FMM Modules
* @copyright Copyright 2021 © FMM Modules
* @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
* @category  FMM Modules
* @package   fileuploads
*/

#fileuploader-wrapper {
  margin-top: 5px;
  margin-bottom: 5px;
}
#fileuploader-wrapper .files-block-right > .card {
  border: 1px solid #e4e4e4;
}
#fileuploader-wrapper .text-success {
  color: green;
}
.empty {
  min-height: 298px;
  background-image: url("../img/no_files.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}
.files-wrapper {
  height: 354px;
  overflow-y: scroll;
}
.card-header {
  padding: .75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0,0,0,.03);
  border-bottom: 1px solid rgba(0,0,0,.125);
}
.upload_info * {
  font-size: 12px;
  color: #aaa;
  word-break: break-all;
}
.file-status, .file-status *{
  font-size: 12px;
}
.file_name {
  overflow: hidden;
}
.bulk-action {
  float: right;
}
.bulk-action.ps_old {
  margin-top: 10px;
}
.file_details .detail-required {
  font-size: 10px;
  color: red;
}
.file-locked {
  padding: 5px;
  border: 1px solid #e4e4e4;
}
.btn-disabled {
    cursor: not-allowed;
    opacity: .65;
}
.btn-disabled:hover {
  background-color: #2fb5d2;
  border-color: transparent;
  color: #fff!important;
}

#fileuploader-wrapper .ps_new.cart {
  padding-left: 0px!important;
  padding-right: 0px!important;
}

#fileuploader-wrapper .fup-uploader {
  background: url(../../views/img/spinner.gif) no-repeat scroll center center #fff;
  height: 100%;
  left: 0;
  opacity: 0.85;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 99;
}

@media (min-width: 768px) and (max-width: 996px) {
  .files-block-right {
    margin-top: 10px;
  }
}
.dm-uploader {
  border: 0.1rem solid #a5a5c7;
  background: #F5F5F5;
  text-align: center;
  min-height: 400px;
}
#fileuploads-admin-order .dm-uploader {
  min-height: 460px; 
}
.dm-dnd {
  border: 0.25rem dashed #a5a5c7;
}

.dm-uploader.active {
  border-color: #00AFF0;
  border-style: solid;
}

.preview-img {
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
}
.dummy-preview {
  width: 64px;
}
.preview-container {
  text-align: center;
}
/* bootstrap classes */
.bg-success {
  background-color: #28a745;
}
.bg-primary {
  background-color: #007bff;
}
.progress-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-color: #007bff;
  transition: width .6s ease;
}
.progress {
  font-size: .75rem;
}
.media {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.flex-column {
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}
.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}
.text-muted {
  color: #868e96 !important;
}
.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.p-5 {
  padding: 3rem !important;
}
.p-2 {
  padding: .5rem !important;
}
.mb-2, .my-2 {
  margin-bottom: .5rem!important;
}
.mr-3, .mx-3 {
  margin-right: 1rem!important;
}
.mb-2, .my-2 {
  margin-bottom: .5rem!important;
}
.mb-5, .my-5 {
  margin-bottom: 1.5rem !important;
}
.mt-5, .my-5 {
  margin-top: 3rem !important;
}