.in5-embed-popup {
  display: none;
  background: #fff;
  border-radius: 2px;
  top: 100px;
  bottom: 100px;
  left: 100px;
  right: 100px;
  overflow: hidden;
}

.media-modal-backdrop {
  display: none;
}

.in5-popup-title {
  padding: 20px 0 10px 30px;
}

.in5-tabs {
  font-size: 14px;
  position: relative;
  z-index: 999;
}

.in5-tabs .tab {
  color: #0073aa;
  display: inline-block;
  text-decoration: none;
  padding: 10px;
  margin: 0 2px;
}

.in5-tabs .tab:first-child {
  margin-left: 30px;
}

.in5-tabs .tab.active {
  background: #fff;
  border: 1px solid #ddd;
  color: #32373c;
  border-bottom: none;
}

.in5-tabs .tab:focus {
  outline: none;
  box-shadow: none
}

.in5-popup-content {
  border-top: 1px solid #ddd;
  margin-top: -1px;
  position: relative;
  height: calc(100% - 110px);
  height: -webkit-calc(100% - 110px);
  height: -moz-calc(100% - 110px);
  height: calc(100% - 110px);
}

.in5-library {
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.in5-library .main {
  max-width: 79%;
  float: left;
  width: 100%;
  height: 100%;
  padding: 20px 0 20px 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-y: auto;
}

.in5-library .side {
  max-width:20%;
  float: right;
  width: 100%;
  background: #f3f3f3;
  border-left: 1px solid #ddd;
  padding: 20px 15px 20px 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
}

.in5-library .side .side-content {
  display:none;
  height:90%;
  overflow-y:auto;
  overflow-x:hidden;
}

.in5-library .side h2 {
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  color: #666;
  margin: 0 0 8px !important;
  padding: 0 !important;
}

.in5-library .side .side-content .details {
  width: 80%;
}

.in5-archive-settings {
  width: 100%;
}

.in5-archive-settings label {
  display: block;
  margin-bottom: 10px;
}

.in5-change-filename-wrap {
  position: relative;
}

.in5-change-filename-wrap .in5-filename {
  font-size: 12px;
  width: 78%;
}

/* .in5-change-filename-wrap button {
     position: absolute;
     top: 50%;
     right: 4px;
     transform: translateY(-50%);
     padding: 0;
     border: none;
     box-shadow: none;
     background: #fff;
     cursor: pointer;
}
 */
.in5-change-filename-wrap button {
  height: 22px !important;
  line-height: 0 !important;
}

.in5-change-filename-wrap button:disabled {
  background: #eee;
}

.in5-filename {
  padding-top: 1px !important;
}

.in5-archive-settings label input[type="text"],
.in5-archive-settings label input[type="checkbox"] {
  font-size: 12px;
}

.in5-archive-settings label input[type="text"] {
  padding: 6px 8px;
  width: 98%;
}

.in5-library::after {
  content: "";
  display: table;
  clear: both;
}

.in5-upload {
  display: none;
  width: 100%;
  padding: 20px 0 20px 30px;
}

#in5-progress-bar {
  display: none;
}

#in5-progress-bar .bar-grey,
#in5-progress-bar .bar {
  height: 18px;
  border-radius: 50px;
  position: absolute;
  top: 0;
  left: 0;
  max-width: 300px;
}

#in5-progress-bar .bar-grey {
  background: #d7d7d7;
  width: 100%;
  z-index: 3;
  width: 300px;
}

#in5-progress-bar .bar {
  background: #0073aa;
  z-index: 4;
}

#in5-progress-bar .in5-bar-wrap {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
  z-index: 9999;
  width: 300px;
}

#in5-progress-bar .in5-bar-wrap span {
  position: absolute;
  top: -30px;
  display: block;
  left: 50%;
  z-index: 999999;
  transform: translate(-50%, 0);
  font-weight: bold;
}

.in5-upload-overlay {
  display: none;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.in5-file-list {
  margin-left: -8px;
}

.in5-file-list ul {
  padding: 0;
  margin: 0 0 0 5px;
}

.in5-file-list ul li {
  display: inline-block;
  padding: 8px;
  max-width: 125px;
  width: 100%;
  height: 125px;
  position: relative;
  -webkit-box-shadow: inset 0 0 15px rgba(0, 0, 0, .1), inset 0 0 0 1px rgba(0, 0, 0, .05);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, .1), inset 0 0 0 1px rgba(0, 0, 0, .05);
  background: #eee;
  cursor: pointer;
  margin-right: 5px;
  border: 3px solid #fff;
}

.in5-file-list ul li img {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -35%);
}

.in5-file-list ul li .in5-file-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  font-weight: bold;
  text-align: center;
  padding: 6px 0;
  -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}

.in5-file-list ul li.active {
  -webkit-box-shadow: inset 0 0 15px #fff, inset 0 0 0 1px #0073aa;
  box-shadow: inset 0 0 15px #fff, inset 0 0 0 1px #0073aa;
  border: 3px solid #0073aa;
}

.in5-insert-button {
  position: absolute;
  bottom: 20px;
  right: 15px;
}

.in5-popup-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.in5-popup-header {
  position: relative;
}

.in5-upload-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
  text-align: center;
}

.in5-upload-content h2 {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.in5-upload-content span {
  display: block;
  margin: 6px 0;
}

.in5-select-button {
  display: block !important;
  margin: 10px 0 25px !important;
}

#in5-file-upload {
  position: absolute;
  left: -3000px;
}

@media all and (max-width: 1368px) {
  .in5-library .main {
    max-width:60%;
  }

  .in5-library .side {
    max-width:40%;
  }

  .in5-embed-popup {
    top: 50px;
    bottom: 50px;
    left: 50px;
    right: 50px;
  }
}

@media all and (max-width: 1280px) {
  .in5-change-filename-wrap .in5-filename {
    width: 98%;
    margin-bottom: 5px;
  }
}

@media all and (max-width: 992px) {
  .in5-embed-popup {
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
}

@media all and (max-width: 768px) {
  .in5-library .main {
    max-width: 50%;
  }

  .in5-library .side {
    max-width: 50%;
  }
}

.add_custom_path {
  display: none;
}