@media (min-width: 1200px) {
  .modal-lg {
    width: 1100px !important;
    max-width: 100% !important;
  }
}

.modal-file-manager .modal-header {
  padding: 12px 15px !important;
}

.modal-file-manager .modal-header .modal-title {
  float: left;
  font-size: 18px;
}

.modal-file-manager .modal-header .close {
  font-size: 18px;
}

.modal-file-manager .modal-content {
  border-radius: 4px;
}

.modal-file-manager .modal-body {
  padding: 0;
}
.modal-file-manager .modal-footer {
  padding: 8px 15px !important;
}
.file-manager {
  width: 100%;
  max-width: 100%;
  display: table;
}

.file-manager-content {
  height: 422px;
  overflow-y: auto;
}

.file-manager-left {
  width: 250px;
  display: table-cell;
  border-right: 1px solid #eee;
  vertical-align: top;
  padding: 15px;
}

.file-manager-left .file-manager-sidebar {
  width: 100%;
  height: 452px;
  display: block;
  position: relative;
  overflow-y: auto;
}

.file-manager-right {
  display: table-cell;
  vertical-align: top;
  padding: 15px;
}

.file-manager-left .btn-upload {
  display: block;
  font-size: 14px;
  position: relative;
  cursor: pointer !important;
  padding: 8px 14px;
}

.file-manager-left .btn-upload span {
  cursor: pointer !important;
  z-index: 10 !important;
}

.file-manager-left .btn-upload input {
  cursor: pointer !important;
}

.col-file-manager {
  float: left;
  width: auto;
  padding: 5px;
}

.file-box {
  display: block;
  width: 100%;
  border: 1px solid #eee;
  cursor: pointer;
  text-align: center;
  position: relative;
  border-radius: 2px;
}

.file-box .image-container {
  display: block;
  width: 121px;
  height: 80px;
  overflow: hidden;
  text-align: center;
  border-radius: 2px;
}

.file-box .icon-container {
  padding: 10px;
  height: 118px;
}

.file-box .image-container img {
  margin: 0 auto;
  position: relative;
  width: auto;
  min-width: 100%;
  max-width: none;
  height: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
  object-fit: cover;
}

.file-box .file-name {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 12px;
  line-height: 14px;
  background-color: #f4f4f4;
  padding: 3px;
  display: block;
  text-align: center;
  word-break: break-all;
  color: #333;
  max-height: 34px;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#audio_file_manager .file-box,
#video_file_manager .file-box {
  height: 132px;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
}

.file-icon {
  width: 80px;
  margin: 0 auto;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  margin-bottom: 5px;
}

.file-manager .selected {
  box-shadow: 0 0 3px rgba(40, 174, 141, 1);
  border: 1px solid rgba(40, 174, 141, 1);
}

.file-manager-footer {
  margin-left: 235px;
}

.btn-file-delete {
  display: none;
}

.btn-file-select {
  display: none;
}

.file-manager-list-item-name {
  width: 100%;
  padding: 0 5px;
  margin: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.input-file-label {
  width: 190px;
  background-color: #5bc0de;
  color: #fff;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 5px;
  font-size: 12px;
}

.loader-file-manager {
  display: none;
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.loader-file-manager img {
  position: relative;
  width: 50px;
  height: 50px;
}

.file-manager-search {
  position: absolute;
  margin-left: 235px;
}

.file-manager-search input {
  border-radius: 2px;
  width: 300px;
}

.dm-uploaded-files .bg-success {
  background-color: #28a745;
}

@media (max-width: 900px) {
  .file-manager-left {
    display: block !important;
    width: 100% !important;
    float: left;
  }

  .file-manager-right {
    display: block !important;
    width: 100% !important;
    float: left;
  }

  .file-manager-footer {
    margin-left: 0 !important;
  }

  .file-manager-search {
    position: relative;
    margin: 0;
    margin-top: 5px;
    display: block;
  }

  .file-manager-search input {
    width: 100%;
  }
  .file-box .image-container {
    width: 108px;
    height: 100px;
  }
}
