/*+++ MEDIA CSS +++*/
.media-content {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  margin-top: -1px;
}

.media-info {
  height: 115px;
}

.media-item .img-container {
  margin-bottom: 0;
}

.track-content .img-container.with-image img {
  position: absolute;
  transform: translate(-50%, -50%);
  height: auto;
  width: 100%;
  top: 50%;
  left: 50%;
}

.media-item .img-container::before {
  content: url("data:image/svg+xml;utf-8, <svg width='50' height='50' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='40' cy='40' r='39.5' fill='%23E6E6E6' fill-opacity='0.73' stroke='white'/><path d='M52.75 40.2583L34 51.5166V29L52.75 40.2583Z' fill='white'/></svg>");
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
  .media-info {
    height: auto;
  }
}

.media-title {
  font-weight: 600;
}

.track-items .media-title {
  display: block;
}

@media (min-width: 1024px) {
  .bwPage.dark .media-title {
    color: white;
  }
}

.media-content:hover {
  cursor: pointer;
}

.media-content.active:hover {
  cursor: default;
}

.media-publisher {
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .bwPage.dark .media-publisher,
  .bwPage.black .media-publisher,
  .bwPage.dark .video-title,
  .bwPage.black .video-title,
  .bwPage.black .bwMediaPortal--stepper a,
  .bwPage.black .bwMediaPortal--stepper span,
  .bwPage.dark .bwMediaPortal--stepper a,
  .bwPage.dark .bwMediaPortal--stepper span {
    color: white;
  }

  .bwPage.dark .media-meta-data,
  .bwPage.black .media-meta-data {
    color: white;
  }
}

.media-meta-data {
  color: #727272;
}

@media (max-width: 991px) {
  .media-meta-data {
    position: relative;
    left: inherit;
    bottom: inherit;
  }

  .media-item .img-container::before {
    content: url("data:image/svg+xml;utf-8, <svg width='50' height='50' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='40' cy='40' r='39.5' fill='%23E6E6E6' fill-opacity='0.73' stroke='white'/><path d='M52.75 40.2583L34 51.5166V29L52.75 40.2583Z' fill='white'/></svg>");
    width: 50px;
    height: 50px;
  }
}


/*+++ VIDEOMODULE CSS +++*/

.video-preview
{
	margin-bottom: 20px;
}

.video-text
{
	margin-bottom: 30px;
}

.video-content:hover
{
	cursor: pointer;
}

video
{
	width: 100%;
	height: auto;
}

.video .video-preview {
    position: relative;
    height: auto;
    padding-bottom: 56.25%; /* 16:9 */  
}

	.video .video-preview[data-videohost="1"] {
		padding-bottom: 0;
	}

	.video .video-preview iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	
.video .video-preview.video-custom-height {
	padding-bottom: 0
}


@media (max-width: 767px)
{
	/*iframe,
	video
	{
		height: 200px;
	}*/
}

/* RemixDesign | woaichidapi@163.com | Redesigned by JimmyCheung */

.audioplayer {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    margin: 1em 0;
    padding: 0 24px;
    width: 100%;
    height: 96px;
    align-items: center;
    border: 1px solid #DDE2E6;
    border-radius: 4px;
    background: #fff;
}

.audioplayer-playpause {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause {
    background: rgba(91, 130, 255, 0);
    border: 1px solid #5B82FF;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause:hover {
    background: rgba(91, 130, 255, 0.1);
}

.audioplayer-playing .audioplayer-playpause {
    background: rgba(253, 79, 26, 0);
    border: 1px solid #FD4F1A;
}

.audioplayer-playing .audioplayer-playpause:hover {
    background: rgba(235, 79, 26, 0.1);
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
    content: '';
    justify-content: center;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 7px solid transparent;
    border-right: none;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #0059FF;
}

.audioplayer-playing .audioplayer-playpause a {
    content: '';
    display: flex;
    justify-content: space-between;
    width: 12px;
    height: 14px;
}

.audioplayer-playing .audioplayer-playpause a::before, .audioplayer-playing .audioplayer-playpause a::after {
    content: '';
    width: 4px;
    height: 14px;
    background-color: #FD4F1A;
}

.audioplayer-time {
    display: flex;
    width: 40px;
    justify-content:center;
    font-size: 12px;
    color: rgba(51, 51 ,51, .6)
}

.audioplayer-time-current {
    margin-left: 24px;
}

.audioplayer-time-duration {
    margin-right: 24px;
}

.audioplayer-bar {
    position: relative;
    display: flex;
    margin: 0 12px;
    height: 12px;
    flex-basis: 0;
    flex-grow: 1;
    cursor: pointer;
}

.audioplayer-bar::before {
    content: '';
    position: absolute;
    top: 5px;
    width: 100%;
    height: 2px;
    background-color: #DDE2E6;
}

.audioplayer-bar > div {
    position: absolute;
    left: 0;
    top: 5px;
}
.audioplayer-bar-loaded {
    z-index: 1;
    height: 2px;
    background: #BEC8D2;
}

.audioplayer-bar-played {
    flex-direction: row-reverse;
    z-index: 2;
    height: 2px;
    background: -webkit-linear-gradient(left,#0059FF,#09B1FA);
}

.audioplayer-bar-played::after {
    display: flex;
    position: absolute;
    content: '';
    box-sizing: border-box;
    top: -5px;
    right: -1px;
    margin-right: -5px;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 6px;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-bar-played::after {
    border: 2px solid #BEC8D2;
}

.audioplayer-playing .audioplayer-bar-played::after {
    border: 2px solid #0059FF;

}

.audioplayer-volume {
    display: flex;
    align-items: center;
}

.audioplayer-volume-button {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.audioplayer-volume-button a {
    display: flex;
    width: 6px;
    height: 8px;
    background-color: #9A9FB0;
    position: relative;
}

.audioplayer-volume-button a:before, .audioplayer-volume-button a:after {
    content: '';
    position: absolute;
}

.audioplayer-volume-button a:before {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 9px solid #9A9FB0;
    border-bottom: 8px solid transparent;
    border-left: none;
    top: -4px;
}

.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after {
    left: 10px;
    top: -2px;
    width: 6px;
    height: 6px;
    border: 6px double #9A9FB0;
    border-width: 6px 6px 0 0;
    border-radius: 0 12px 0 0;
    transform: rotate(45deg);
}

.audioplayer-mute .audioplayer-volume-button a {
    background-color: #FD4F1A;
}

.audioplayer-mute .audioplayer-volume-button a:before {
    border-right: 9px solid #FD4F1A;
}

.audioplayer-volume-adjust {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.audioplayer-volume-adjust > div {
    position: relative;
    display: flex;
    width: 60px;
    height: 2px;
    cursor: pointer;
    background-color: #BEC8D2;
}

.audioplayer-volume-adjust div div {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background-color: #0059FF;
}

/* responsive | you can change the max-width value to match your theme */

@media screen and (max-width: 679px) {
    .audioplayer-volume-adjust {
        display: none;
    }
}


/* Audioplayer Styling */
.audioplayer {
  --var-audioplayer-maincolor: rgb(252, 192, 0);
  --var-audioplayer-secondarycolor: rgb(133, 133, 133);
  flex-wrap: wrap;
  min-height: 96px;
  height: auto;
  padding-top: 20px;
}

.audioplayer-title {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.audioplayer-title p {
  margin-bottom: 0;
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause:hover,
.audioplayer-playing .audioplayer-playpause:hover {
  background: rgba(133, 133, 133, 0.1);
}

.audioplayer-playing .audioplayer-playpause a::before,
.audioplayer-playing .audioplayer-playpause a::after,
.audioplayer-mute .audioplayer-volume-button a,
.audioplayer-volume-adjust div div {
  background-color: var(--var-audioplayer-maincolor);
}

.audioplayer-playing .audioplayer-bar-played::after,
.audioplayer-playing .audioplayer-playpause,
.audioplayer:not(.audioplayer-playing) .audioplayer-playpause {
  border-color: var(--var-audioplayer-maincolor);
}

.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a {
  border-left-color: var(--var-audioplayer-maincolor);
}

.audioplayer-mute .audioplayer-volume-button a:before {
  border-right-color: var(--var-audioplayer-maincolor);
}

.audioplayer-bar-played {
  /* background: -webkit-linear-gradient(left, rgb(190, 147, 4), rgb(252, 192, 0)); */
  background: var(--var-audioplayer-maincolor);
}

.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after {
  left: 13px;
  top: 1px;
}

.audioplayer-volume-adjust div div {
  top: 50%;
  z-index: 1;
}

.audioplayer-volume-adjust > div::after {
  position: absolute;
  content: '';
  display: flex;
  background-color: #dde2e6;
  height: 2px;
  width: 100%;
  top: 50%;
}

.audioplayer-volume-adjust > div {
  display: flex;
  height: 20px;
  background: none;
}


