/* 
  ##Device = Desktops
*/
@media (min-width: 990px) {
	.contact_area {
		font-size: 14px;
	}
	.player_display {
       width: 480px;
	   height: 45px;
	   font-size: 14px;
    }
	.progress_bar_area {
	   height: 15px;
	   margin-top: 12.5px;
	}
	.play_button_area {
	   height: 15px;
	   padding: 9px 0px 0px 0px;
    }
	.play_button {
		height: 20px;
    }
	.progress_bar_inner_text {
		font-size: 14px;
		top: -16px; 
	}
	.video_carousel {
	    width: 780px;
	}
	.div_carousel  {
        width: 660px;
        height: 495px;
    }
    .story_player_display {
          width: 660px;
    }
    .container_area  {
        display: block;
    	width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .container_title {
      display: block;
      font-weight: bold;
      font-size: 18px;
      margin: auto;
      width: 100%;
      margin-top: 10px;
      margin-bottom: 10px;
    }

}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
*/
@media screen and (max-width: 989px) {
    #bg {
       margin: 5px 0px 0px 5px;
    }
	.player_display {
       width: 100%;
	   height: 60px;
	   font-size: 40px;
	   padding-left: 20px;
	   padding-right: 20px;
    }
	.mid_list {
	    height: 60px;
		font-size: 29px;
    }
	.contact_area {
		font-size: 40px;
		text-align: center;
	}
	.progress_bar_area {
	   height: 35px;
	   margin-top: 8px;
	}
	.play_button_area {
	   height: 25px;
	   padding: 15px 20px 0px 20px;
    }
	.play_button {
		height: 10px;
        width: 10px;
		margin-top: -6px;
		border-width: 15px 0 15px 30px !important;
    }
	.play_button.paused {
        border-width: 0 0 0 30px !important;
        height: 30px;
        margin-top: -5px;
    }
	.progress_bar_inner_text {
		font-size: 30px;
	    top: -35px; 
	}
	.video_carousel {
    	width: 96%;
    	margin: 0 auto;
    }
    .div_carousel  {
        width: 96%;
    	height: 680px;
    	margin: 0 auto;
    }
	.story_player_display {
        width: 100%;
        padding-left: 20px;
        padding-right: 30px;
    }
    .container_area  {
        display: block;
    	width: 100%;
        padding-left: 10px;
        padding-right: 20px;
    }
    .container_title {
      display: block;
      font-weight: bold;
      font-size: 30px;
      margin: auto;
      width: 100%;
      margin-top: 10px;
      margin-bottom: 10px;
      margin-left:30px;
    }
    #fileList {
      font-size: 30px;
    }
    .player_controls {
      font-size: 30px;
      padding-top: 10px;
    }
}


.header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.site_logo {
  height: 80px;
}


.player_display {
  display:flex;
}

.music_display_area {
    float: none;
    width: 50%;
	height: 70%;
    overflow: hidden;
    padding: 10px 10px 0px 10px;
	display:inline-block
	float: left;
}

.mid_list {
    width: 100%;
	height: 100%;
}

.play_button_area {
	float: left;
}

.play_button {
  border: 0;
  background: transparent;
  box-sizing: border-box;
  border-color: transparent transparent transparent #202020;
  transition: 100ms all ease;
  cursor: pointer;
  border-style: solid;
  border-width: 10px 0 10px 20px;
}

.play_button.paused {
  border-style: double;
  border-width: 0 0 0 20px;
}

.play_button:hover {
  border-color: transparent transparent transparent #D53232;
}

.progress_bar_area {
	background-color: #beeeaa;
	float:right;
	width: 44%; 
	border: 1px solid grey; 
	z-index: 1; 
	position: relative; 
	border-radius: 5px; 
	-moz-border-radius: 5px;
}

.progress_bar_inner {
	background-color: salmon;
	z-index: 2; 
	height: 100%; 
	width: 0%;
}
	
.progress_bar_inner_text {
	z-index: 3; 
	position: relative; 
	left: 0%; 
	text-align: center;
	color: black; 
	font-weight: bold; 
	text-align: center;
}

.contact_area  {
    padding: 40px 5px 25px 5px;
	font-size: 14px;
	color: gray;       
}

.flash_video  {
	width: 100%;
	height: 100%;
}

.carousel-control.control_height  {
    top: 20%;
	height: 60%;
}

.video_idicator {
	color: white; 
}

#waveform {
  border: 1px solid #ccc;
  padding: 4px 4px 4px 4px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  background: #376a65;
}

/* layout */
.player {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
}

/* controls */
.controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.audio_play_button {
  display: inline-block;   /* 👈 IMPORTANT */
  padding: 8px 14px;
  background: #007bff;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;       /* prevent text selection */
  text-align: center;
}

.audio_play_button:hover {
  background: #0056b3;
}

/* 👇 click feedback (very important for UX) */
.audio_play_button:active {
  transform: scale(0.97);
}

#fileList {
  border: 1px solid #ABE;     /* 👈 border */
  border-radius: 6px;         /* optional rounded corners */

  max-height: 200px;          /* 👈 controls height */
  overflow-y: auto;           /* 👈 vertical scroll */
  overflow-x: hidden;

  padding: 0;
  margin-top: 10px;
  list-style: none;
}

#fileList li {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

#fileList li:last-child {
  border-bottom: none;
}

#fileList li:hover {
  background: #f5f5f5;
}

#fileList li.active {
  background: #007bff;
  color: white;
}

/* status */
#audio_status {
  margin-left: 0px;
  color: #009999;
}

.player_controls {
  display: flex;
  align-items: center;
  justify-content: space-between; /* push left/right apart */
  width: 100%;
}

/* left side (buttons) */
.left_controls {
  display: flex;
  gap: 10px;
}

/* right side (time + status) */
.right_controls {
  display: flex;
  gap: 15px;
  align-items: center;
  color: #555;
}

.time_row {
  display: flex;
  align-items: center;
  gap: 2px;
}

#audio_time {
  color: #009999;
  letter-spacing: -0.3px; /* tighten numbers */
}

