#CollectBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -270px;
  height: 270px;
  transition: bottom .5s;
  z-index: 10;
}

#CollectBar:not(.collectBarOpen) {
  height: 334px;
}

#CollectBar .collectBarHeader {
  display: inline-block;
  padding: 5px 20px;
  background: black;
}

#CollectBar .collectBarHeader #CollectBarCollapse {
  color: white;
  padding-bottom: 5px;
  margin-right: 0;
  background: 0;
}

#CollectBar .collectBarHeader #CollectBarCollapse .em-icon.collapse {
  display: none;
}

#CollectBar .collectBarContent {
  color: #8c8585;
  height: 270px;
  background: black;
}

#CollectBar .collectBarContent .collectBarTools {
  text-align: right;
}

#CollectBar .collectBarContent .collectBarTools a {
  color: white;
  background: none;
}

#CollectBar .collectBarContent .collectBarTools a:hover {
  background-color: var(--em-global-color-highlight);
}

#CollectBar .collectBarContent .collectionBarIndicator {
  position: absolute;
  left: calc(50% - 41px);
  top: calc(50% - 41px);
  border: 7px solid #f3f3f3;
  border-top: 7px solid #142c71;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  animation: spin 2s linear infinite;
}

#CollectBar .collectBarContent #CollectRecords {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-flow: nowrap;
  overflow-x: auto;
  padding-bottom: 40px;
  margin: 15px 0 0;
  background: black;
}

#CollectBar .collectBarContent #CollectRecords > p {
  display: none;
  font-style: italic;
  margin: 0 auto;
}

#CollectBar .collectBarContent #CollectRecords[data-count="0"] > p {
  display: block;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord {
  margin-left: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord .CollectionRecordImage {
  min-width: 125px;
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #665c4e;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord .CollectionRecordImage img {
  max-height: 125px;
  max-width: 125px;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord .CollectRemove {
  position: absolute;
  background: rgba(0, 0, 0, 0.65);
  display: block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  visibility: hidden;
  opacity: 0;
  z-index: -1;
  transition: opacity .3s;
  color: #fff;
  font-size: 3rem;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord .CollectRemove span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord:hover .CollectRemove {
  z-index: 10;
  visibility: visible;
  opacity: 1;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord .CollectRecordText {
  color: white;
  font-size: 16px;
  width: 100%;
  position: absolute;
  bottom: -35px;
  height: 25px;
  line-height: 25px;
  text-align: center;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord .label {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  float: none;
  display: block;
  max-width: 125px;
  margin: 0 auto;
}

#CollectBar .collectBarContent #CollectRecords .CollectRecord.external:before {
  content: "External Resource";
  font-size: 10px;
  position: absolute;
  bottom: 0;
  right: 0;
  background: #000;
  color: #fff;
  padding: 5px;
}

#CollectBar.collectBarOpen {
  bottom: 0;
}

#CollectBar.collectBarOpen .collectBarHeader {
  position: absolute;
  top: 0;
  left: 0;
}

#CollectBar.collectBarOpen #CollectBarCollapse .em-icon.expand {
  display: none;
}

#CollectBar.collectBarOpen #CollectBarCollapse .em-icon.collapse {
  display: inline-block;
}

@media (max-width: 615px) {
  #CollectBar #CollectOpen span,
#CollectBar #CollectClear span {
    display: none;
  }
}
