/* for player bar */
.player {
	position: fixed;
	bottom: 0px;
	left:0px;
	width: 100%;
	height:200px;
	z-index: 1000;
	color:#000;
	transition: height 0.5s ease;
	background:#fff;
	overflow: hidden;
}

.player.open {
    height: 170px !important; /* Desktop */
}
@media (max-width: 960px) { /* Mobile */
    .player.open {
        height: 120px !important; /* Ajustez pour les petits écrans */
    }
}

.player-bg {
	width: 100%;
	height:100%;
}

.logo-home {
	position: absolute;
    top: 66px;
    left: -10px;
    width: 150px;
    height: auto;
}

.player .onair-player {
	z-index: 1;
	position: absolute;
	top: 36px;
    left: 270px;
	width: 100%;
	height: 130px;
}

.playlist-radio-logo {
	position:absolute;
	top:60px;
	left:150px;
	width:100px;
	height:100px;
	overflow:hidden;
	text-align:center;
}

.playlist-radio-logo img {
	width:auto;
	height:100px;
}

.player .onair-player .cover-player {
	width: 120px;
    height: 120px;
    overflow: hidden;
    top: -50px;
    position: absolute;
    right: 550px;
}
.player .onair-player .cover-player img {
	width: auto;
	height:100%;
}

.player .playlist-radio-claim {
	text-transform: uppercase;
	font-family: 'Bebas Neue', arial;
	font-size: 38px;
    line-height: 12px;
    position: absolute;
    top: 20px;
    left: 150px;
	color:#153F61;
}

.player .onair-player div[class$="radio"] {
	display: none;

}
.player .onair-player div[class$="artist"] {
	line-height: 38px;
    font-size: 32px;
    font-weight: bold;
    margin-right: 30px;
    max-width: 300px;
    float: left;
    display: flex;
    align-items: center;
    height: 140px;
}

.player .onair-player div[class$="title"] {
	line-height: 38px;
    font-size: 32px;
    max-width: 300px;
    display: flex;
    align-items: center;
    height: 140px;
}

.player .onair-player .playlist-next {
	position: absolute;
    top: -24px;
    left: 670px;
    width: 330px;
    height: 124px;
    line-height: 30px;
    font-size: 20px;
}

.playlist-next-title2 {
	text-transform: uppercase;
	font-family: 'Bebas Neue', arial;
	font-size: 38px;
	color:#153F61;
	width:100%;
	margin-bottom:30px !important;
}

.player .onair-player [class$="artistnext"] {
	font-weight:bold;
	display: block;
}

.player-page div[class$="artist"] {
	font-weight: 700;
	line-height: 18px;
	font-size:20px;
}

.radio-picture {position: relative; z-index:1; width:70px; height:70px;float:left;margin-right:10px;}

/* mediaElementJS Player */
.player .audio-player,
.player .audio-player div,
.player .audio-player h1,
.player .audio-player a,
.player .audio-player img,
.player .audio-player span,
.player .audio-player button {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

.player .mejs__offscreen, .player .mejs__time, .player .mejs__time-rail {
	display: none;
}

.player div.audio-player {
  position: relative;
  height: 100%;
  width: 100%;
  margin-left: 100px;
  z-index: 3000;
  position: relative;
}

.player .mejs__container {height:100% !important; background: transparent;}
.player .mejs__controls:not([style*="display: none"]) {
	background: none;
}

.player .mejs__controls {height:100%;}

/* Buttons */
.player .mejs__button.mejs__playpause-button {
    width: 70px !important;
    height: 70px !important;
    top: 74px;
    left: 160px;
    position: absolute;
    background: #000;
    border-radius: 50%;
}
.player .mejs__controls .mejs__button button {
	cursor: pointer;
	display: block;
	text-indent: -9999px;
	background: transparent;
}

/* Play & Pause */
.player .mejs__controls .mejs__play button,
.player .mejs__controls .mejs__pause button {
	width:24px !important;
	height:24px !important;
    position: relative;
    cursor: pointer;
	background: transparent;
}

.player .mejs__controls .mejs__play button:before {
content: "";
    position: absolute;
    top: 18px;
    left: 24px;
    border-style: solid;
    border-width: 18px 0 18px 30px;
    border-color: transparent transparent transparent #fff;
}

.player .mejs__controls .mejs__pause button:before {
	content: "";
	position: absolute;
    width: 30px;
    height: 30px;
    top: 22px;
    left: 20px;
	background-color: #fff;
}

/* Mute & Unmute */
.player .mejs__button.mejs__mute, .player .mejs__button.mejs__unmute {
	width: 30px !important;
	height: 30px !important;
	position: absolute;
	top: 130px;
    left: 880px;
    z-index: 10;
}

.player .mejs__controls .mejs__mute button,
.player .mejs__controls .mejs__unmute button {
	width: 100% !important;
	height: 100% !important;
	background-position: 0px 0px;
	background-size: 30px 30px;
	z-index: 15;
    position: relative;
}
.player .mejs__controls .mejs__mute button {
	background-image: url('images/mute-black.svg');
}
.player .mejs__controls .mejs__unmute button {
	background-image: url('images/unmute-black.svg');
}

.mejs__volume-slider {
	position: absolute;
	top: -80px;
    left: 0px;
	width:auto;
	height:auto;
	display: block !important;
}

.mejs__volume-total {
	background: #333;
    height: 150px;
    position: absolute;
    top: -40px;
    left: 14px;
    transform: translateX(-50%);
    width: 40px;
    border-radius: 10px;
    cursor: pointer;
	overflow: hidden;
}

.mejs__volume-current, .mejs__volume-handle {
	background: #ccc;
    position: absolute;
    border-radius: 0px 0 10px 10px;
}

.mejs__volume-current {
  left: 0;
  margin: 0;
  width: 100%;
}

.mejs__volume-handle {
  border-radius: 1px;
  cursor: ns-resize;
  height: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 1rem;
}

.rotate-left {
    transform: rotate(-90deg); /* Tourne l'image de 90° vers la gauche */
    transform-origin: center; /* Définit le point d'origine de la rotation */
}

@media screen and (max-width: 960px) {
	.player {
		height:120px;
	}

	.logo-home {display:none;}

	.player .playlist-radio-claim, .playlist-next-title2 {
		font-size: 16px;
		line-height: 12px;
		top: 10px;
		left:10px;
	}

	.playlist-radio-logo {
		position:absolute;
		top:30px;
		left:10px;
		width:80px;
		height:80px;
		overflow:hidden;
		text-align:center;
	}

	.playlist-radio-logo img {
		width:auto;
		height:80px;
	}

	.player .onair-player {
		top:10px;
		left:76px;
		height:120px;
		width:100%;
	}

	.player .playlist-radio-claim {
		left:10px;
	}

	.player div.audio-player {
		margin-left:76px;
	}

	.player .mejs__button.mejs__playpause-button {
		width:40px !important;
		height:40px !important;
		top: 40px;
		left: 26px;
	}

	.player .mejs__controls .mejs__play button:before {
		top: 34%;
		left: 50%;
		border-width: 12px 0 12px 20px;
	}

	.player .mejs__controls .mejs__pause button:before {
		width: 18px;
		height: 18px;
		top: 43%;
		left: 11px;
	}

	.player .mejs__button.mejs__mute, .player .mejs__button.mejs__unmute, .mejs__volume-slider {
		display: none;
	}

	.player .onair-player .cover-player {
		position: absolute;
        width: 70px;
        height: 70px;
        overflow: hidden;
        right: 10px;
        top: 10px;
	}

	.player .playlist-artist-title-container {
		height: 100px;
    	width: 150px;
    	overflow: hidden;
	}

	.player .onair-player div[class$="artist"] {
		margin-top: 25px;
        font-weight: 700;
        line-height: 18px;
        font-size: 18px;
        width: auto;
		height:auto;
        max-height: 36px;
        display: block;
        float: none;
        max-width: 180px;
		margin-right:0px;
        overflow: hidden;
	}

	.player .onair-player div[class$="title"] {
		margin-top: 5px;
		line-height: 16px;
		font-size:16px;
		float:none;
		display: block;
	}

	.player .onair-player .playlist-next {
		position: absolute;
		top: 0px;
		left: 160px;
		width: 100px;
		height: 100px;
		line-height: 14px;
		font-size: 12px;
		background-size: 20px 20px;
	}

	.playlist-next-title2 {
		left: auto;
		top: auto;
		margin-bottom: 15px !important;
	}
}