/**
 * Theme Name: Audio Kajian v4
 * Version: 1.1;
 * Author: Tim Shaliheen;
 */

:root {
	--body-bg-color: #f5f5f5;
	--body-font-size: 13px;
	--body-font-color: #444444;
	--body-font-weight: 400;
	--panel-bg-color: #ffffff;
	--header-height: 60px;
	--side-width: 200px;
	--primary-color: #FE931E;
	--player-height: 60px;
	--plyr-range-thumb-height: 10px;
	--plyr-color-main: #FE931E;
}

body {
	background-color: var(--body-bg-color);
	font-family: 'Poppins', sans-serif;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	color: var(--body-font-color);
	letter-spacing: -0.01em;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	color: var(--primary-color);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
	color: #111111;
}

.h1, h1 {
	font-size: 2.5rem
}

.h2, h2 {
	font-size: 2rem
}

.h3, h3 {
	font-size: 1.5rem
}

.h4, h4 {
	font-size: 1.25rem
}

.h5, h5 {
	font-size: 1rem
}

.h6, h6 {
	font-size: .75rem
}

h1.title {
	font-weight: 600;
	letter-spacing: -0.02em
}

.btn-primary {
	color: #fff;
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-outline-primary {
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.btn-primary:hover, .btn-outline-primary:hover {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
}

.text-muted {
	color: #aaaaaa!important;
	letter-spacing: 0.02em
}

#header {
	min-height: 60px;
	background-color: var(--panel-bg-color);
}

#content {
	position: relative;
	z-index: 2;
	margin-top: var(--header-height);
	margin-left: var(--side-width);
	transition: .15s ease-in-out;
}

#content .container {
	max-width: 960px;
}

#aside {
	position: fixed;
	top: var(--header-height);
	min-width: var(--side-width);
	height: 100%;
	background-color: var(--panel-bg-color);
	left: 0;
	transition: .15s ease-in-out;
	z-index: 4;
}

#aside.aside-hide {
	left: calc(0px - var(--side-width));
}

#aside.aside-hide + #content {
	margin-left: 0;
}

.menu-item i {
	position: relative;
	top: 1px;
	color: var(--primary-color);
	font-size: 16px;
	margin-right: .35rem;
}

.menu-item a {
	padding: .35rem 0;
	display: block;
}

.sub-menu {
	display: none;
	list-style: none;
}

.admin-bar #header {
	top: 32px;
}

.admin-bar #content {
	margin-top: calc(32px + var(--header-height));
}

.admin-bar #aside {
	top: calc(32px + var(--header-height));
}

#audio-player {
	min-height: var(--player-height);
	background-color: #eee;
}

input[name="s"],
input[data-filter] {
	font-size: 13px;
	background-color: #eee;
}

input[data-filter] {
	background-color: #fff;
}

.cover, .inner {
	position: relative;
	overflow: hidden;
}

.loop .title h3 {
	margin: 0 0 4px 0;
	font-size: .9375rem;
	font-weight: 400;
	letter-spacing: 0;
}

.loop .meta {
	font-size: .7525rem;
	font-weight: 400;
	opacity: .7
}

.loop .title h3, .loop .meta {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.entry {
	padding: .75rem 1rem!important;
	background: #ffffff;
}

#featured .title h3 {
	color: #ffffff;
}

#featured .entry {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	color: #fff;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .95));
	display: none;
}

.loop .btn-play {
	display: none;
}

#featured .loop:hover .entry, .loop:hover .btn-play {
	display: block;
}

@media (min-width:992px) {
	.row.cols-5 .col-sm-3 {
		flex: 0 0 auto;
		width: 20%;
	}
}

.lec {
	width: 120px;
	height: 120px;
	background-color: #eee;
	font-size: 4rem
}

.loop .lec {
	margin: 0 auto;
}

#detail .lec {
	width: 50px;
	height: 50px;
	background-color: #fff;
	font-size: 1.25rem;
	margin: 0 1rem 0 0;
}

#tracks {
	padding-left: calc(50px + 1rem);
}

#tracks .btn-play {
	min-width: 25px;
	max-width: 25px;
	max-height: 25px;
	border-color: var(--primary-color);
	border-width: 1px;
	border-style: solid;
	color: var(--primary-color);
	font-size: 1rem;
}

.btn-play .bi {
	position: relative;
	top: 1px;
}

#tracks .btn-play:hover {
	color: #fff;
}

#lecturer .entry {
	padding-bottom: 0!important;
	padding-left: 0!important;
	padding-right: 0!important;
}

.single-audio-kajian header .cover {
	margin-top: -3.5rem;
	min-width: 250px;
	max-width: 250px;
	max-height: 250px;
}

.single-audio-kajian header .meta {
	color: #999;
	font-size: .9rem;
	margin-bottom: 5px;
}

.single-audio-kajian header button.btn-play {
	border-color: var(--primary-color);
	border-width: 2px;
	border-style: solid;
	min-width: 40px;
	min-height: 40px;
	max-width: 40px;
	max-width: 40px;
}

.actions button:not(.btn-play) {
	border: 0;
	background-color: transparent;
	margin-left: 1.5rem;
}

.actions button:not(.btn-play) i {
	font-size: 16px;
}

.archive .cover {
	min-width: 100px;
	min-height: 100px;
}

.archive .loop .title h3 {
	white-space: normal;
	line-height: 1.4
}

.tax-pengajar .lec,
.tax-kategori_kajian .lec {
	margin: -4.5rem 0 0 0;
	min-width: 200px;
	min-height: 200px;
	max-height: 200px;
	max-width: 200px;
	font-size: 6.5rem;
	background-color: var(--primary-color);
	color: #fff;
}

.pagination .page-link {
	color: #000;
}

.pagination .current {
	background-color: var(--primary-color);
	color: #fff;
}

/**
 * Player
 */

#player-wrap {
	position: relative;
}

.plyr--audio .plyr__controls {
	padding: 0;
	background-color: transparent;
}

.plyr__col {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex: 1;
	flex: 1;
	width: 1%;
	padding: 0 1rem 0 1rem
}

.plyr__row {
	margin: 0 5px 0 0;
}

.plyr__title {
	font-size: .95rem;
	margin-right: 10px
}

.plyr__meta {
	color: #aaaaaa;
}

.plyr__progress {
	flex: 1;
	margin: 0 1rem;
	margin-left: 0;
	position: relative;
}

.plyr__control {
	padding-top: 0;
	padding-bottom: 0;
	background: none!important;
	color: #000!important;
}

.plyr__poster {
	position: static;
	opacity: 1;
	width: 2rem;
	height: 2rem;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	border-radius: 2px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-color: rgba(120, 120, 120, .1);
	margin-left: 1rem
}

.plyr__time+.plyr__time::before {
	margin: 0 5px!important;
}

.loop button.btn-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

button.btn-play {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	z-index: 999;
	border: 0;
	font-size: 1.45rem;
	background: #ffffff;
	color: var(--primary-color);
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .25s ease all
}

button.btn-play:hover {
	box-shadow: 1px 0 5px rgba(0, 0, 0, .3);
	background: var(--primary-color);
	color: #ffffff;
}

button[data-plyr="play"], button[data-plyr="pause"], button[data-plyr="play"] {
	font-size: 28px
}

button[data-plyr="rewind"], button[data-plyr="fast-forward"], button[data-plyr="mute"], button[data-plyr="playlist"] {
	font-size: 18px;
	font-weight: bold;
}

.plyr-list-wrap {
	background-color: inherit;
	position: relative;
}

.open .plyr-list {
	transform: translate3d(0, 0, 0);
	pointer-events: inherit;
	visibility: visible;
	opacity: 1;
}

.plyr-list {
	overflow: hidden;
	width: 480px;
	height: 600px;
	background-color: #f5f5f5;
	max-height: calc(100vh - 11rem);
	position: absolute;
	bottom: calc(var(--player-height) + 1rem);
	right: 1rem;
	border-radius: 3px;
	border: 1px solid rgba(120, 130, 140, .15);
	box-shadow: 0 2px 3px rgb(0 0 0 / 10%);
	background-clip: padding-box;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 1rem, 0);
	transition: opacity .2s, transform .2s cubic-bezier(.25, .8, .25, 1);
}

.plyr-list-content {
	overflow-y: scroll;
	height: 100%;
}

.plyr-item-poster {
	min-width: 32px;
	min-height: 32px;
	max-height: 32px;
	max-width: 32px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-color: rgba(120, 120, 120, .1);
}

.plyr-item-title {
	font-size: .85rem;
}

.plyr-item-author {
	font-size: .675rem;
}

.btn-play.pressed .bi-play-fill::before {
	content: "\f4c3";
}

#menu-toggle {
	cursor: pointer;
	font-size: 20px;
	margin-right: 5px;
}

@media screen and (max-width: 991px) {
	#aside {
		left: calc(0px - var(--side-width));
	}
	#aside.aside-hide {
		left: 0;
	}
	#content {
		margin-left: 0
	}
	.container {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}

@media screen and (max-width: 767px ) {
	.single-audio-kajian header .card-body .d-md-flex,
	articel.info-penceramah .card-body .d-md-flex,
	article.info-penceramah .description {
		text-align: center;
	}
	.single-audio-kajian header .cover,
	article.info-penceramah .lec {
		margin: -3.5rem auto 1.5rem !important;
	}
	.single-audio-kajian header .actions,
	article.info-penceramah .actions {
		justify-content: center;
	}
	.loop {
		margin-bottom: 1.5rem;
	}
	button[data-plyr="mute"],
	.plyr__volume,
	.plyr__timer {
		display: none !important;
	}
	.plyr__col {
		overflow: hidden;
		margin-right: 10px;
	}
	.plyr__title,
	.plyr__meta {
		display: block;
		text-align: left;
		white-space: nowrap;
		line-height: 1.3;
	}
	.plyr__title {
		font-size: .85rem;
	}
	.plyr__meta {
		font-size: 0.65rem;
	}
	.plyr__progress {
		display: none !important;
		position: absolute !important;
		top: 0;
		left: 0;
		width: 100%;
	}
	.plyr-list {
		width: 90%;
	}
}

.page-template-pengajar .lec, 
.page-template-kategori .lec {
	min-width: 60px;
	max-width: 60px;
	min-height: 60px;
	max-height: 60px;
	margin: 0;
	font-size: 2rem;
}

.page-template-pengajar .entry,
.page-template-kategori .entry,
.archive .entry {
	padding: 0 !important;
	background-color: transparent;
}

.page-template-pengajar .loop .title h3, 
.page-template-pengajar .loop .meta,
.page-template-kategori .loop .title h3,
.page-template-kategori .loop .meta,
.archive .loop .title h3, 
.archive .loop .meta {
    white-space: normal;
    overflow: initial;
    text-overflow: initial;
}