/* Media Manager */
.media-modal .media-header{
    width: 100%;
    background-color: rgb(230, 230, 230);
    padding: 15px 10px 0 10px;
}

.media-modal .media-header .search{
    position: relative;
    margin-right: 15px;
}

.media-modal .media-header .search input{
    width: 100%;
    min-width: 200px;
}

.media-modal .media-header .search span{
    padding-top: 7px;
}
.media-modal .modal-footer span.files-count{
    color:#676a6c;
    font-weight: bold;
}

.media-modal .modal-footer span.files-count.counter{
  padding-right: 0;
}

.media-modal .media-files{
    max-height: 350px;
    overflow-y: auto;
    width: 100%;
    padding: 15px;
}
.modal.media-modal .modal-dialog{
    top:50%;
    transform: translateY(-50%);
    margin-top: 0 !important;
}

.media-modal .modal-footer{
    border-top: 1px solid rgb(230, 230, 230) !important;
    margin-top: 10px;
}

.media-modal .file-manager h5 {
  text-transform: uppercase;
}
.media-modal .file-manager {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}
.media-modal .file-manager h5.tag-title {
  margin-top: 20px;
}
.media-modal .file {
  border: 1px solid #e7eaec;
  padding: 0;
  background-color: #ffffff;
  position: relative;
  margin-bottom: 20px;
  margin-right: 20px;
  height: 184px;
}
.media-modal .file-manager .hr-line-dashed {
  margin: 15px 0;
}
.media-modal .file .icon,
.media-modal .file .image {
  height: 100px;
  overflow: hidden;
}
.media-modal .file .icon {
  padding: 15px 10px;
  text-align: center;
}
.media-modal .file-control {
  color: inherit;
  font-size: 11px;
  margin-right: 10px;
}
.media-modal .file-control.active {
  text-decoration: underline;
}
.media-modal .file .icon i {
  font-size: 70px;
  color: #dadada;
}
.media-modal .file .file-name {
  padding: 10px;
  background-color: #ffffff;
  border-top: 1px solid #e7eaec;
  max-height: 45px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-modal .file .file-date{
  padding: 10px;
}
.media-modal .file.selected .file-name {
  background-color: #f8f8f8;
}
.media-modal .file-name small {
  color: #676a6c;
}

.media-modal .file .checked{
  display: none;
}

.media-modal .file.selected .checked{
  display: block;
  position: absolute;
  right: 10px;
  font-size: 32px;
  color: #67ca29;
  text-shadow: 2px 2px 3px #333;
  top: 10px;
}

.media-modal .file .corner {
  position: absolute;
  display: inline-block;
  width: 0;
  height: 0;
  line-height: 0;
  border: 0.6em solid transparent;
  border-right: 0.6em solid #f6f6f6;
  border-bottom: 0.6em solid #f6f6f6;
  right: 0em;
  bottom: 0em;
}

.media-modal .file.selected .corner{
  border-right: 0.6em solid #f1f1f1;
  border-bottom: 0.6em solid #f1f1f1;
}

.media-selected{
  width: 120px;
  height: 120px;
  background-color: #f1f1f1;
  text-align: center;
  float: left;
  margin-top: 15px;
  margin-right: 20px;
  margin-bottom: 20px;
  position: relative;
}

.media-select{
  margin-top: 15px;
  clear: right;
}

.media-select button{
  display: block;
  width: 120px;
  height: 120px;
  z-index: 10;
  border: 2px dashed #0087F7;
  border-radius: 5px;
}

.media-select i.add{
  font-size: 36px;
  margin-top: 50%;
  transform: translateY(-50%);
  z-index: 9;
}

.media-selected i.remove{
  font-size: 18px;
  position: absolute;
  color:#989898;
  text-shadow: 2px 2px 3px #333;
  right: 10px;
  top:10px;
}

.media-selected i.remove:hover{
  cursor: pointer;
  color: #ff3300;
}

.media-modal .input-upload{
  display:none !important;
}

.media-modal .paginate-panel .pagination{
  margin: 0;
  padding: 0;
}

.media-modal .media-files div div:empty{
  background: url('../../../../Resources/img/ajax-loader.gif') no-repeat center center;
  width: 100%;
  min-height: 200px;
}