﻿.tb-cms .cbp {
  position: relative;
}
.tb-cms .panel-update {
  z-index: 9999;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
}
.tb-cms .panel-update img {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top: -20px;
  margin-left: -20px;
  padding: 8px;
  background-color: #fff;
  border-radius: 32px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
}
.tb-cms .cms-form {
  padding: 15px 0;
  margin-bottom: 10px;
}
.tb-cms .modal-body {
  padding: 0 10px;
}
@media (min-width: 768px) {
  .tb-cms .modal-600 > .modal-dialog {
    width: 600px;
    margin: 50px auto;
  }
  .tb-cms .modal-850 > .modal-dialog {
    width: 850px;
    margin: 50px auto;
  }
  .tb-cms .modal-1000 > .modal-dialog {
    width: 1000px;
    margin: 50px auto;
  }
}
.tb-cms .cms-widget,
.tb-cms .cms-widgetcontainer {
  -moz-transition: all linear .5s;
  -o-transition: all linear .5s;
  -webkit-transition: all linear .5s;
  transition: all linear .5s;
  position: relative;
}
.tb-cms .cms-widgetcontainer {
  margin: 5px;
  padding: 5px;
  border: 1px solid #ededed;
}
.tb-cms .cms-widgetcontainer:hover {
  border: 1px solid #aaa;
}
.tb-cms .cms-widgetcontainer > .cms-edit-group {
  position: absolute;
  top: -15px;
  right: 5px;
}
.tb-cms .cms-widget {
  margin: 5px;
  padding: 5px;
  border: 1px solid #ededed;
}
.tb-cms .cms-widget:hover {
  background-color: #ededed;
}
.tb-cms .cms-widget > .cms-edit-group {
  position: absolute;
  right: 5px;
  z-index: 999;
}
.tb-cms .panel-heading {
  padding: 5px;
}
.tb-cms .file-list {
  max-height: 500px;
  overflow: auto;
}
.tb-cms .file-list .thumbnail {
  position: relative;
  height: 128px;
  background-size: cover;
  margin-bottom: 5px;
  cursor: pointer;
}
.tb-cms .file-list .thumbnail .footer {
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3px;
}
.tb-cms .file-list .thumbnail:hover {
  border-color: #fff;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
  border-width: 4px;
}
.tb-cms .file-list .caption {
  font-size: 80%;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 5px;
}