.trp-playlist-global {
  --left-nav: 150px;
  --gap: 30px;
  position: relative;
  height: 100%;
}

.trp-wrapper {
  position: relative;
  overflow: auto;
  background: #f1f6ff;
  min-height: 100%;
  padding: 15px 80px;
}

.trp-playlist-list {
  display: grid;
  padding: calc(var(--gap) / 2) 0px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: var(--gap);
}

.trp-playlist-wrapper {
  padding-top: 56.25%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.trp-playlist-thumbnail {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;  
}

.trp-playlist-info {
  border: 1px solid #E6E6E6;
  background: #f2f2f2;
  width: 100%;
  min-height: 50px;
  height: 50%;
  position: relative;
  cursor: default;
}

.trp-playlist-name {
  text-align: center;
  font-size: 21px;
  font-family: 'Futura PT Demi'
}

.trp-playlist-count {
  text-align: center;
  font-size: 17px;
  font-family: 'Futura PT Book';
  color: #999;
}

.trp-edit {
  position: absolute;
  display: block;
  top: 40px;
  right: 20px;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 22px;
  border: none;
  background: transparent;
  margin: 0px;
  padding: 0px;
}

.trp-edit::before {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 1px;
  width: 4px;
  height: 4px;
  background: #999999;
  border-radius: 4px;
  box-shadow: 0px 9px 0px 0px #999, 0px 18px 0px 0px #999;
}

.trp-edit-name {
  display: block;
  border: 1px solid #0af;
  background: #fff;
  text-align: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 11px;
  font-size: 21px;
  font-family: 'Futura PT Demi';
  font-weight: bold;
}

.trp-edit-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.trp-edit-option {
  font-size: 12px;
  color: #0af;
}

.trp-edit-controls {
  height: 87px;
  padding: 10px 50px;
}

.trp-content-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-left: 30px;
  border-bottom: 1px solid #E6E6E6;
}

.trp-content-item:last-of-type {
  border-bottom: none;
}

.trp-item-thumbnail {
  width: 20%;
}

.trp-content-input {
  width: 0px;
  height: 0px;
  opacity: 0;
}

.trp-content-check {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 7.5px;
  border: 1px solid #aaa;
  background: #fff;
  margin: 0px;
}

.trp-content-input:checked + .trp-content-check::after {
  content: '\2713';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 10px;
  width: 10px;
  height: 10px;
  color: #000;
  transform: translate(-45%, -75%);
  color: #0af;
  user-select: none;
  cursor: pointer;
}

.trp-content-headings {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0px 30px;
}

.trp-content-heading {
  width: 100px;
  color: #0af;
  text-align: center;
}

.trp-disabled {
  color: #aaa;
  pointer-events: none;
}

.trp-content-list {
  max-height: 188px;
  overflow: auto;
}

.trp-content-list::-webkit-scrollbar {
  width: 5px;
}

.trp-add-content {
  margin-top: 30px;
}

.trm-playlist-global {
  position: relative;
  padding: 20px 80px;
}

.trm-heading {
  padding-bottom: 1em;
  border-bottom: 2px solid #aaa;
  margin-bottom: 1em;
}

.trm-media-row {
  max-height: 300px;
  white-space: nowrap;
  overflow: auto;
  margin-bottom: 40px;
}

.trm-media-row .trn-media-wrapper {
  display: inline-block;
  width: 320px;
  height: 180px;
  padding: 0px;
}

@media screen and (max-width: 1700px) {
  .trp-playlist-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1200px) {
  .trp-playlist-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
