/*!
 * 	Player
 * ----------------------------------------------- */
#player,
#player_info {
    -webkit-box-shadow: 0 1px 16px rgba(0,0,0, 0.25);
    box-shadow: 0 1px 16px rgba(0,0,0, 0.25);
}

#player {
    position: fixed;
    bottom: 0px;
    left: -100%;
    z-index: 99;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    height: auto;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -webkit-transition: left .25s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: left .25s cubic-bezier(0.075, 0.82, 0.165, 1);
}

#player.visible {
    left: calc(-1 * var(--player-control-width));
}

#player.show {
    left: 0;
}

#player_toggler {
    color: inherit;
    text-decoration: none;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    background-color: var(--player-bg);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#player.show #player_toggler {
    background-color: var(--bs-gray-100);
}

#player #player_toggler .arrow-left,
#player.show #player_toggler .arrow-right,
#player .mejs__play .icon-pause,
#player .mejs__pause .icon-play,
#player .mejs__unmute .volume,
#player .mejs__mute .mute {
    display: none;
}

#player.show #player_toggler .arrow-left {
    display: block;
}

#player .mejs__controls,
#player .mejs__container > * {
    height: 100%;
}

#player .mejs__container {
    color: #fbfbfb;
    min-height: var(--player-height);
    min-width: initial !important;
    width: initial !important;
    height: initial !important;
    flex: 1;
    font-family: inherit;
}

#player .mejs__controls {
    background: transparent;
    width: var(--player-control-width);
    position: relative;
    bottom: initial;
    -webkit-align-items: center;
    align-items: center;
    padding: 0 16px;
}

#player .mejs__button {
    width: 24px;
    height: 24px;
}

#player .mejs__button.mejs__playpause-button {
    margin-left: 12px;
    margin-right: 12px;
}

#player .mejs__time {
    color: inherit;
    padding: 0 16px 0 0;
    height: initial;
    font-size: 12px;
    font-weight: 600;
}

#player .mejs__button > button {
    width: 24px;
    height: 24px;
    background: transparent;
    outline: none;
    margin: 0;
    color: inherit;
    position: relative;
}

#player .mejs__button > button:disabled {
    opacity: 0.6;
    cursor: default;
}

#player .mejs__button > button [class^="ri-"],
#player .mejs__button > button [class*=" ri-"] {
    font-size: 24px;
}

#player .mejs__horizontal-volume-slider {
    width: 64px;
    height: initial;
    margin-left: 12px;
    margin-right: 24px;
}

#player .mejs__horizontal-volume-total {
    position: relative;
    top: initial;
    width: 100%;
    height: 4px;
    background: rgba(0,0,0, .3);
}

#player .mejs__horizontal-volume-current {
    color: var(--bs-gray-900);
    background-color: currentColor;
}

#player .mejs__horizontal-volume-current:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: currentColor;
    top: -3px;
    right: -2px;
}

#player .list-group .list-group__cover {
    width: 40px;
    height: 40px;
}

#player .list-group .list-group__content {
    width: 140px;
}

#player_info {
    position: absolute;
    left: 0;
    right: 20px;
    bottom: 100%;
    background-color: var(--player-bg);
    padding: 24px 24px 10px;
    flex-wrap: wrap;
    display: none;
}

#player_info.show {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
}

#player_info .cover {
    padding: 0;
    width: 200px;
    height: 200px;
    flex: 0 0 auto;
    border-radius: 4px;
}

#player_info .cover:hover img {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
}

.playlist {
    flex: 1;
    padding-left: 24px;
}

#playlist {
    line-height: 1.25;
    background-color: var(--bs-gray-100);
    counter-reset: number;
    max-height: 164px;
    overflow: auto;
}

#playlist::-webkit-scrollbar {
    width: 4px;
}

#playlist::-webkit-scrollbar-track {
    background: var(--bs-gray-400);
}

#playlist::-webkit-scrollbar-thumb {
    background: var(--bs-gray-900);
}

#playlist a {
    text-decoration: none;
    color: var(--bs-gray-900);
}

#playlist.list-group .list-group-item {
    counter-increment: number;
}

#playlist.list-group .list-group__cover {
    width: 36px;
    height: 36px;
}

#playlist .remove-radio,
#playlist [data-radio-id] {
    line-height: 16px;
    display: block;
    height: 16px;
}

#playlist .remove-radio {
    font-size: 16px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
}

#playlist [data-radio-id] {
    display: none;
}

#playlist [data-radio-id],
#playlist.list-group .list-group-item .list-group__number {
    width: 24px;
    text-align: right;
}

#playlist.list-group .list-group-item .list-group__number:before {
    content: "#" counter(number);
    font-size: 11px;
}

#playlist.list-group .list-group-item .active[data-radio-id],
#playlist.list-group .list-group-item:hover [data-radio-id] {
    display: block;
}

#playlist.list-group .list-group-item:hover .list-group__number,
#playlist.list-group .list-group-item .active[data-radio-id] + .list-group__number {
    display: none;
}

#playlist.list-group .list-group-item:hover .remove-radio {
    visibility: visible;
    opacity: 1;
}

#clear_playlist {
    text-decoration: none;
    color: var(--bs-gray-900);
    font-size: 12px;
    font-weight: 600;
}

#close_playlist {
    position: absolute;
    top: -6px;
    right: -6px;
    border-radius: 50%;
    background-color: var(--bs-gray-900);
    color: var(--bs-gray-100);
    display: block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    font-size: 18px;
    text-decoration: none;
}
