.file-item {
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
  overflow: hidden;
}
#watermark_form{
  display: none;
}
.file-item:hover {
  box-shadow: 0px 0px 4px 1px black;
}
.file-item.selected {
  box-shadow: 0px 0px 4px 2px #ce0f01;
}
.file-item .thumbnail {
  height: 120px;
  margin-bottom: 0;
  text-align: center;
}
.file-item .thumbnail img {
  height: 110px;
}
.file-item .title {
  overflow: hidden;
  max-height: 45px;
  position: absolute;
  bottom: 5px;
  width: calc(100% - 10px);
  right: 5px;
  background: rgba(255, 255, 255, 0.7);
  padding: 5px;
  text-align: center;
}
.file-item .check {
  display: none;
  height: 24px;
  width: 24px;
  padding: 0;
  border: 0;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  outline: 0;
  background: #f44336;
  cursor: pointer;
  box-shadow: 0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.15);
}
.file-item.selected .check{
  display: block;
}
.file-item .media-modal-icon {
  background: url(../images/uploader-icons.png) no-repeat;
}
.screen-reader-text, .screen-reader-text span, .ui-helper-hidden-accessible {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.file-item .check .media-modal-icon {
  display: block;
  background-position: -1px 0;
  height: 15px;
  width: 15px;
  margin: 5px;
}
.file-item .check .media-modal-icon,
.file-item.selected .check .media-modal-icon {
  background-position: -21px 0;
}
.file-item .check:hover .media-modal-icon{
  background-position: -60px 0;
}
.attachment-details h2 {
  font-size: 15px;
}
.attachment-info .thumbnail > img {
  margin: 0;
}
.attachment-info .thumbnail {
  border: none !important;
  background: transparent;
}
.file_info {
  padding: 6px !important;
  background: #f2f2f2;
  border-radius: 3px;
  height: 100%;
  overflow-y: auto;
}
.attachment-info .date, .attachment-info .file-size {
  color: #8c8c8c;
  font-size: 13px;
}
.attachment-info .file-size{
  direction: ltr;
  text-align: right;
}
.show-file-info-btn{
}
.show-file-info-btn {
  cursor: pointer;
  color: #7b7b7b;
  font-size: 30px;
  display: none;
}
/**** Responsive ******/
@media screen and (max-width: 768px) {
  #filemanager-uploaded-files-list > .row > .col-md-3 {
    position: absolute !important;
    display: inline-block !important;
    left: 15px;
    width: 275px !important;
    transition: all 0.5s;
  }
  .file_info {
    transition: all 0.5s;
    position: absolute;
    width: 100%;
    left: 0px;
    border: 1px solid gainsboro;
    overflow-x: visible;
    z-index: 20;
  }
  .show-file-info-btn {
    position: relative;
    left: 0px;
    transition: all 0.5s;
    display: inline-block;
    padding: 5px 8px;
    margin-top: -5px;
  }
  .file_info.closed .show-file-info-btn {
    left: 10px;
    background: #f2f2f2;
  }
  .file_info.closed{
    left: -0px;
  }
  #filemanager-uploaded-files-list > .row > .col-md-3.closed {
    left: -210px;
  }
}
.attachment-details .details {
  word-wrap: break-word;
}
.filemanager-list-files {
  height: 446px;
  overflow-y: auto;
  padding: 6px 0px;
}
.image-picker {
  width: 140px;
  padding: 5px;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.5s;
  position: relative;
  height: 140px;
  overflow: hidden;
}
.image-picker img
{
  transition: 400ms;
}
.image-picker:hover >img{
  transform: scale(1.1);
}
.image-picker .img-preview {
  width: 100%;
  object-fit: contain;
  height: 100%;
}
#filemanager-uploaded-files-list > .row > .col > .clearfix {
  margin-bottom: 10px;
}
.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
#filemanager-modal-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0,0,0,0.75);
  z-index: 50;
  top: 0px;
  display: none;
}
#filemanager-modal {
  display: none;
  z-index: 100039;
  position: fixed;
  width: calc(100% - 50px);
  right: 25px;
  text-align: right;
  top: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 4px;
  padding: 10px;
  background: #ffffff;
  height: calc(100% - 75px);
  margin-top: 60px;
}
#filemanager-modal .title h2 {
  font-size: 18px;
}
#filemanager-modal .filemanager-modal-body {
  height: calc(100% - 160px);
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}
.filemanager-wrapper , .filemanager-container , .filemanager-container .tab-content , #filemanager-uploaded-files-list , #filemanager-uploaded-files-list > .row , #filemanager-uploaded-files-list > .row > .col , .filemanager-list-files {
  position: relative;
  height: 100%;
}
.filemanager-list-files {
  height: calc(100% - 65px);
}
.filemanager-modal-header {
  height: 105px;
  margin-top: -20px;
  padding-top: 20px;
}
.filemanager-modal-footer {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 40px;
  padding: 5px;
}
.filemanager-modal-footer .pagination {
  margin: 0;
}
.filemanager-list-files > .col {
  margin-bottom: 10px;
}
#close-filemanager-modal {
  color: #f44336;
  display: inline-block;
  font-size: 25px;
  cursor: pointer;
  line-height: 18px;
  position: absolute;
  left: 5px;
  top: 5px;
}
#filemanager-upload-file, #frmFileUpload {
  position: relative;
  height: 100%;
}
.gallery-images {
  display: inline-block;
  width: 100%;
  margin-bottom: 4px;
}
.gallery-item img {
  width: 100%;
  height: 100px;
}
.gallery-item {
  max-width: 120px;
  margin-bottom: 10px;
  border-radius: 3px;
  position: relative;
  float: right;
  margin-left: 5px;
  padding: 2px;
  border: 1px solid #dedede;
  height: 100px;
  overflow: hidden;
}
.gallery-item .remove-gallery-item {
  position: absolute;
  left: 1px;
  top: 1px;
  cursor: pointer;
  color: #f44336;
  font-size: 20px;
}
.filemanager-is-open {
  overflow: hidden;
  display: block;
  margin: 0;
  height: 100%;
  width: 100%;
}
.dropzone.dz-clickable {
  cursor: pointer;
}
.dropzone {
  border: 2px solid transparent !important;
  background-color: #eee !important;
}
.drag-icon-cph .fa {
  font-size: 75px;
  color: #808080;
}

#filemanager-modal .md-tabs {
  padding: 5px;
  font-size: 12px;
}

.filemanager-container .tab-content {
  padding-top: 0;
  padding-bottom: 0;
}
#filemanager-select-item {
  padding: 8px 42px;
}

.attachment-details .thumbnail img {
  max-width: 100%;
}
.filemanager-container {
  height: calc(100% - 2px);
}
.dropzone.dz-clickable {
  cursor: pointer;
  text-align: right;
}
.filemanager-container .dz-message {
  text-align: center;
  margin-top: 25px;
}
.swal-overlay {
  z-index: 1000000;
}
.swal-footer {
  text-align: center !important;
}

.remove-picked-image {
  position: absolute;
  top: 2px;
  right: 3px;
  z-index: 4;
  color: #a52424;
  font-size: 17px;
}

.download_url {
  position: absolute;
  left: 1px;
  top: 1px;
  font-size: 19px;
  z-index: 4;
  background: white;
  padding: 3px;
  border: 1px solid silver;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50%;
  /* color: #168eea; */
}