:root {
  --color-base: #115dfc;
}
#database_box {
  display: flex;
  justify-content: flex-start;
}

#database_nav_box {
  width: 140px;
  height: 547px;
}

#database_nav_box .os-scrollbar-vertical {
  left: -2px;
}

#database_list_box {
  width: 558px;
  height: 505px;
}

#database_list_box ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#database_list_box li {
  width: 129px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 0;
  margin: 2px 0 2px 6px;
  display: block;
  border: 1px solid #e3e3e3;
  cursor: pointer;
  position: relative;
}

#database_list_box li p {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  width: 119px;
  height: 23px;
  margin: 0;
  line-height: 24px;
  padding: 0 5px;
  white-space: nowrap;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
}

#database_list_box .layui-flow-more {
  width: 100%;
}

#database_list_box .database_select::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--color-base);
  pointer-events: none;
  z-index: 1;
  background-image: url(/static/img/ZNE18.png);
  background-size: 21px;
  background-repeat: no-repeat;
  background-position-y: bottom;
  background-position-x: right;
  background-color: rgba(0, 0, 0, 0.55);
}

#database_box .database_confirm {
  width: 558px;
  height: 43px;
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 7px;
}

.database-title-custom .layui-layer-title {
  padding: 0 50px 0 16px;
}

.audio-list li,
.text-list li,
.url-list li {
  width: calc(100% - 40px) !important;
  height: 43px !important;
  line-height: 44px !important;
  padding: 0px 10px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  background: none;
  display: flex !important;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
}
.database-audio-player {
  display: none;
}
.database_text {
  background-image: url(/static/img/text.svg);
  width: 20px;
  display: block;
  height: 20px;
  background-position: center;
  background-size: cover;
  margin-right: 8px;
}
.database_link {
  background-image: url(/static/img/link.svg);
  width: 20px;
  display: block;
  height: 20px;
  background-position: center;
  background-size: cover;
  margin-right: 8px;
}
.database_audio {
  background-image: url(/static/img/play.svg);
  width: 20px;
  display: block;
  height: 20px;
  background-position: center;
  background-size: cover;
  margin-right: 8px;
}
.database-audio-player {
  background-image: url(/static/img/reset.svg);
}

body .audio-list .database_select::before,
body .text-list .database_select::before,
body .url-list .database_select::before {
  background: none !important;
}

body .audio-list li span,
body .text-list li span,
body .url-list li span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
