/* powered by yek-sass */
:root {
  --seek_listener_percentage: 0%;
  --volume_listener_percentage: 50%;
}

.music {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  align-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #c7c7c7; margin-top:-17px; padding: 24px;
}

.music__main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  padding: 0;
  margin: 0;
}
.music__image {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* +++ METADATA +++ */
.music__meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.music__name {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.music__title, .music__description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.music__title {
  margin: 0;
}
.music__description {
  font-size: 0.8rem;
  color: #5b5d5b;
  font-family: Rothek;
}
.music__cover {
  width: 39.2%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
}
.music__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  padding: 0;
  margin: 0;
}

/* +++ UPLOAD +++ */
.music--upload::before, .music--upload::after {
  display: block;
  position: absolute;
  background: #f9fcff;
}
.music--upload::after {
  width: 100%;
  height: 100%;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 90;
}
.music--upload::before {
  width: 95%;
  height: 90%;
  content: "DROP HERE...";
  top: calc(5% - 0px);
  bottom: calc(5% - 0px);
  left: calc(2.5% - 0px);
  right: calc(2.5% - 0px);
  border: 5px dashed #5c9dc0;
  border-radius: 9px;
  line-height: 5;
  text-align: center;
  vertical-align: middle;
  font-size: 2rem;
  font-weight: 800;
  color: #002e63;
  z-index: 95;
}
.music__uploader {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: -100%;
  bottom: 100%;
  opacity: 0;
  background: #fff;
}
.music__uploader--show {
  display: block;
  top: 0;
  bottom: 0;
  z-index: 99;
}

/* +++ CONTROLLERS +++ */
.music__controller {
width: 100%;
    display: flex;
    flex-direction: row;
justify-content: space-between;
    flex-wrap: wrap; margin-bottom:18px;
}
.music__btn {
  border: 0;
  outline: 0;
  stroke: 0;
  box-shadow: 0;
  width: 100%;
  height: 30px;
  cursor: pointer;
  background-color: transparent;
}
.music__btn i {
  padding: 12px;
  border-radius: 5px;
  will-change: text-shadow, box-shadow, transform, background-color, color, padding-right, padding-left;
}
.music__btn--pause i {
  padding-left: 14px;
  padding-right: 12px;
}
.music__btn:hover i {
  transform: scale(1.2);
  color: #5c9dc0;
  background-color: #eeeeee;
}
.music__btn:active i {
  transform: scale(0.9);
}

/* +++ MIXINS +++ */
.music__mixin, .music__volume {
  width: 100%;
  height: 35px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.music__mixin {
  align-items: space-between;
  justify-content: space-between;
  align-content: space-between;
  margin-left: -6px;
}
.music__volume_btn, .music__shuffle, .music__repeat, .music__playlist_open {
  border: 0;
  outline: 0;
  stroke: 0;
  box-shadow: 0;
  transform: scale(0.85);
  transition-property: transform;
  cursor: pointer;
  height: 25px;
  background-color: transparent;
}
.music__volume_btn:hover svg, .music__shuffle:hover svg, .music__repeat:hover svg, .music__playlist_open:hover svg {
  transform: scale(1.2);
  background-color: #eeeeee;
}
.music__volume_btn:active svg, .music__shuffle:active svg, .music__repeat:active svg, .music__playlist_open:active svg {
  transform: scale(0.9);
}
.music__volume_btn svg, .music__shuffle svg, .music__repeat svg, .music__playlist_open svg {
  padding: 8px;
  border-radius: 9px;
  will-change: transform, background-color, color, padding-right, padding-left;
}
.music__volume_btn--on i, .music__shuffle--on i, .music__repeat--on i, .music__playlist_open--on i {
  color: #5c9dc0;
}
.music__shuffle, .music__repeat, .music__playlist_open {
  width: 33.33%;
}

/* +++ SEEK/TIMES +++ */
.music__times {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: space-between;
  justify-content: space-between;
  align-content: space-between;
  width: 130%;
  color: #000;
}
.music__duration, .music__current_time {
  width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.music__times, .music__duration, .music__current_time {
  padding: 0;
  margin: 0;
font-family: Literata; font-size: 16px; font-weight: 400; line-height: 32px;
}
.music__duration {
  text-align: right;
}
.music__current_time {
  text-align: left;
}
.music__seek {
  width: 100%;
  background-color: #add8e6;
}
.music__seek_handle {
  width: var(--seek_listener_percentage);
  display: block;
  background-color: #000;
}
.music__seek{
	height: 6px;
	border-radius: 0px;
	transition-timing-function: ease-in-out;
	cursor: pointer;
	will-change: height;
	background-color: #FFFFFF;
	border: 1px solid #000000; margin-bottom: 18px;
}

.music__seek_handle {
	height: 5px;
	border-radius: 0px;
	transition-timing-function: ease-in-out;
	cursor: pointer;
	will-change: height;
}

.music__seek:hover, .music__seek:hover {
  height: 6px;
}

.music__seek_handle:hover {
  height: 5px;
}
/** +++ VOLUME +++ **/
.music__volume {
  align-items: center;
}
.music__volume_btn {
  width: 10%;
  transform: translate(-7px, -25%);
}
.music__volume_range {
  width: 89%;
  transform: translateY(-70%);
  background-color: #cccccc;
}
.music__volume_handle {
  width: var(--seek_listener_percentage);
  display: block;
  background-color: #000;
}
.music__volume_range, .music__volume_handle {
  height: 3px;
  border-radius: 9px;
  transition-timing-function: ease-in-out;
  cursor: pointer;
}

/* +++ PLAYLIST +++ */
.music__playlist {
  transition: 0.3s;
  position: absolute;
  top: 100%;
  left: 0;
  bottom: 100%;
  right: 0;
  z-index: 70;
  display: none;
}
.music__playlist--open, .music__playlist--on {
  display: block;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  top: 0;
  bottom: 0;
  background: #eeeeee;
}

.music__playlist,
.playlist__track_list {
  overflow: hidden;
}

.playlist__track_list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

.playlist__close_btn {
  border: 0;
  outline: 0;
  stroke: 0;
  box-shadow: 0;
  transform: scale(0.85);
  transition-property: transform;
  cursor: pointer;
  position: absolute;
  top: 5px;
}
.playlist__close_btn:hover i {
  transform: scale(1.2);
  background-color: #eeeeee;
}
.playlist__close_btn:active i {
  transform: scale(0.9);
}
.playlist__track_list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
  align-content: flex-start;
  scroll-behavior: smooth;
  -ms-scroll-snap-type: y mandatory;
      scroll-snap-type: y mandatory;
  transform: translateX(20px);
}
.playlist__track_list:focus {
  border: 0;
  outline: 0;
  stroke: 0;
  box-shadow: 0;
}
.playlist__track {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 90%;
  height: 150px;
  background-color: #f9fcff;
  margin: 9px auto;
  padding: 10px;
  border-radius: 15px;
  scroll-snap-align: center;
}
.playlist__track:hover {
  background-color: #e5eff9;
  cursor: pointer;
}
.playlist__track--current {
  background: bisque;
}
.playlist__cover {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  padding: 0;
  margin: 0;
  width: 130px;
  height: 130px;
  border-radius: 9px;
}
.playlist__meta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: calc(100% - $--cover-size);
  height: 100%;
  align-items: flex-start;
  justify-content: space-between;
  align-content: flex-start;
  padding: 9px;
}
.playlist__title, .playlist__artist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

.music__title{
font-family: Rothek; font-size: 14px; font-weight: 700; line-height: 16px;  padding-top:24px;
	}

.btn_play1{	border: 1px solid #000000;     width: 40px;
    height: 40px; flex-grow: 0; flex-shrink: 0;}

.music_left{ display:flex;}
.music_right{display:flex;}
.music_next{ margin-right:44px;}
