@font-face {
	font-family: "SF UI Display";
	src: url('SFUIDisplay-Bold.otf') format("truetype");
}
.audioplayer-wrapper {
	height: 132px;
	width: 440px;
	border: 1px solid #EBEBEB;
	background-color: #F5F5F5;
	padding-left: 18px;
	padding-right: 18px;
	border-radius:3px;
}

#audio-player {width: 440px;}

.buttons-line-wrapper {
	font-size: 0;
	padding-top: 18px;
}

.button {
	vertical-align: middle;
	display: inline-block;

	height: 40px;
	width: 50px;
	background-color: #EBEBEB;

	position: relative;

	user-select: none;
}

.buttons-line-wrapper .button{border: none; border-radius:3px;}

.show {
	visibility: visible;
}

.hide {
	visibility: hidden;
}

.volume-block-wrapper {
	display: inline-block;
}

.button g {
	fill: #3B393F;
}

.has-hover .button:not(.disabled):hover {
	cursor: pointer;
	background-color: #C4C4C6;
}

.has-hover .button:not(.disabled):active g {
	fill: #ffffff;
}

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

.img {
	width: 24px;
	height: 24px;
	opacity: 1;
	margin-right: 15px;
	vertical-align: middle;
}

.volume-icon {
	cursor: pointer;
	background: none;
	border: none;
}

.btn-prev-track {
	margin-left: 0;
	margin-right: 8px;
}

.btn-backwards {
	margin-left: 0;
	margin-right: 8px;
}

.btn-play {
	margin-left: 0;
	margin-right: 8px;
}

.btn-forward {
	margin-left: 0;
	margin-right: 8px;
}

.btn-next-track {
	margin-left: 0;
	margin-right: 21px;
}

.timeline-wrapper {
	padding-top: 27px;
	height: 40px;
}

.timer {
	height: 16px;
	color: #3B393F;
	font-family: Arial, serif;
	font-size: 14px;
	line-height: 16px;
}

.timer-played {
	float: left;
}

.timer-remained {
	width: 50px;
	text-align: right;
	float: right;
}

.timer-wrapper {
	padding-top: 10px;
}

.volumeslider-wrapper {
	font-size: 16px;
	display: inline-block;
	margin-top: 9px;
	vertical-align: top;
}
.volume-slider {
	/* height: 6px; */
	width: 50px;
	border-radius: 100px;
	border: none;
	cursor: pointer;
}

.current-chapter {
	height: 48px;
	width: 440px;
	border: 1px solid #EBEBEB;
	border-top: none;
	background-color: #F5F5F5;
	cursor: pointer;

	text-align: left;
	user-select: none;
	border-radius:0 0 3px 3px;
}

.chapter-wrapper {
	padding: 14px 18px;
	font-size: 0;
}
.chapter-wrapper:after{
	content: "";
	display: block;
	clear: both;
}

.list-icon {
	display: inline-block;
	margin-right: 14px;
	float: left;
}

.chapter-name {
	display: inline-block;
	font-family: Arial;
	font-size: 14px;
	line-height: 16px;
	vertical-align: bottom;
}

.current-chapter-title,
.list-chapter-name,
.list-chapter-name .active-chapter-name {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.current-chapter-title {
	width: 330px;
	float: left;
}

.list-chapter-name,
.list-chapter-name .active-chapter-name{
	width: 300px;
	text-align: left;
}

.list-chapter-name {
	float: left;
	font-family: Arial;
	font-size: 14px;
	line-height: 16px;
	vertical-align: bottom;
}

.current-chapter-name {
	color: #767579;
}

.active-chapter-name {
	color: #000000;
	font-weight: bold;
}

.disactive-chapter-name {
	color: #000000;
}

.down-icon {
	float: right;
	margin-top: 6px;
}

.download-icon {
	float: right;
	margin: -2px 0 0 26px;
	background: url("/static/litres/modules/audioplayer-main/img/download.svg") no-repeat 0 0;
	width: 16px;
	height: 18px;
}


.chapter {
	border-radius: 0;
	cursor: pointer;
	width: 440px;
	border: none;
	background-color: #FFFFFF;
}

.chapter:active {
	color: #000000;
}

.vert-flip {
	transform: scale(1, -1);
}

.chapters-list-wrapper {
	transition: height .5s;

	overflow: hidden;
	height: 0;

	border: 1px solid #EBEBEB;
	border-top: none;
	border-bottom: none;
}

.chapter-duration {
	height: 16px;
	font-family: Arial;
	font-size: 14px;
	line-height: 16px;
	vertical-align: bottom;
	float: right;
}

.chapter-title-wrapper {
	cursor: pointer;
}

.chapters-list-footer {
	height: 48px;
	width: 440px;
	border: none;
	border-bottom: 1px solid #EBEBEB;
	background-color: #FFFFFF;

	cursor: pointer;

	user-select: none;
	border-radius:0 0 3px 3px;
}

.chapters-list-footer .down-icon{
	margin-top: 19px;
	margin-right: 19px;
}

.footer-wrapper {
	vertical-align: middle;
	line-height: 48px;
}

.footer-text {
	margin-top: 9px;
	margin-left: 15px;
	display: inline-block;
	color: #767579;
	font-family: Arial;
	font-size: 16px;
	line-height: 18px;
}

.disabled {
	opacity: 0.5;
	cursor: default;
}

.hidden {
	display: none;
}

.player-margin {
	margin-top: 10px;
}

.catalit-popup {
	z-index: 100;
	position: absolute;
	height: 180px;
	width: 440px;
	background-color: rgba(0,0,0,0.8);
	opacity: 1;
}

.popup-text-wrapper {
	padding-top: 20px;
	text-align: center;

}

.popup-text {
	opacity: 1 !important;
	color: #FFFFFF;
	font-family: Arial;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
}

.popup-agree-button {
	margin: 20px auto;
	height: 40px;
	width: 152px;
	background-color: #FF4C00;
	text-transform: uppercase;
	text-align: center;
	vertical-align: middle;
	line-height: 40px;
	color: #ffffff;
	cursor: pointer;
	font-family: Arial;
	font-size: 14px;
}

.popup-cancel-button {
	width: 175px;
	margin: 20px auto;
	text-align: center;
	vertical-align: middle;
	color: #ffffff;
	cursor: pointer;
	font-size: 14px;
}

.catalit-popup:not(.popup-enabled) {
	display: none;
}

.timeline-slider input {
	width: 100%;
}

/* общие стили для слайдеров */
.audioplayer-wrapper input[type=range] {-webkit-appearance: none;width: 100%;background: transparent;margin: 0;}
.audioplayer-wrapper input[type=range]::-webkit-slider-thumb {-webkit-appearance: none;}
.audioplayer-wrapper input[type=range]:focus {outline: none;}
.audioplayer-wrapper input[type=range]::-ms-track {width: 100%;cursor: pointer;background: transparent;border-color: transparent;color: transparent;}

.slider-wrapper {position: relative;}
.slider-wrapper .slider-background-wrapper, .slider-wrapper .slider-input {top: 0; position: absolute;}
.slider-wrapper .slider-background-wrapper {width: 100%;}
.slider-wrapper .slider-background {width: 100%; height: 6px; display: block;}

.timeline-wrapper .slider-wrapper .slider-background-wrapper {padding: 0 10px; box-sizing: border-box;}
.timeline-wrapper .slider-wrapper .slider-background {border-radius: 100px}
.volume-control-wrapper {display: inline-block;}
.volume-control-wrapper.hidden {display: none;}
.volumeslider-wrapper .slider-wrapper .slider-background {border-radius: 100px}

/* слайдер таймлайна */
.timeline-slider input[type=range]::-webkit-slider-thumb {background: #FF4C00;width: 20px;height: 20px;border-radius: 50%;cursor: pointer;margin-top: -7px;}
.timeline-slider input[type=range]::-moz-range-thumb {background: #FF4C00;width: 20px;height: 20px;border-radius: 50%;cursor: pointer; border: none;margin-top: -7px;}
.timeline-slider input[type=range]::-ms-thumb {background: #FF4C00;width: 20px;height: 20px;border-radius: 50%;cursor: pointer; padding: 0; border: none;}

.timeline-slider input[type=range]::-webkit-slider-runnable-track {height: 6px;width: 100%;cursor: pointer;background: transparent;}
.timeline-slider input[type=range]::-moz-range-track {height: 6px;width: 100%;cursor: pointer;background: transparent;}
.timeline-slider input[type=range]::-moz-focus-outer {border: 0;}

.timeline-slider input[type=range]::-ms-track {height: 6px;width: 100%;cursor: pointer;background: transparent;border-color: transparent;border-width: 16px 0;color: transparent;}
.timeline-slider input[type=range]::-ms-fill-lower {background: transparent;}
.timeline-slider input[type=range]::-ms-fill-upper {background: transparent;}

.timeline-slider input[type=range] {width: 100%;cursor: pointer; padding: 0; outline: none;}
.timeline-slider input[type=range]::-ms-tooltip {display: none;}

/* слайдер громкости */
.volume-slider input[type=range]::-webkit-slider-thumb {background: #3b393f;width: 20px;height: 20px;border-radius: 50%;cursor: pointer;margin-top: -7px;}
.volume-slider input[type=range]::-moz-range-thumb {background: #3b393f;width: 20px;height: 20px;border-radius: 50%;cursor: pointer; border: none;margin-top: -7px;}
.volume-slider input[type=range]::-ms-thumb {background: #3b393f;width: 20px;height: 20px;border-radius: 50%;cursor: pointer;box-shadow: none; border: none;}

.volume-slider input[type=range]::-webkit-slider-runnable-track {height: 6px;width: 100%;cursor: pointer;background: transparent;}
.volume-slider input[type=range]::-moz-range-track {height: 6px;width: 100%;cursor: pointer;background: transparent;}
.volume-slider input[type=range]::-moz-focus-outer {border: 0;}

.volume-slider input[type=range]::-ms-track {height: 6px; width: 100%; cursor: pointer; background: transparent; border-width: 16px 0;}
.volume-slider input[type=range]::-ms-fill-lower {background: transparent;}
.volume-slider input[type=range]::-ms-fill-upper {background: transparent;}

.volume-slider input[type=range] {width: 100%;cursor: pointer;background: none;}

.volume-slider input[type=range]::-ms-tooltip {display: none;}

/* IE11 */
@media all and (-ms-high-contrast:none) {
	.timeline-slider input[type=range] {margin-top: -16px;}
	.volume-slider input[type=range] {margin-top: -16px;}
}

/* MS Edge */
@supports (-ms-ime-align:auto) {
	.timeline-slider input[type=range] {margin-top: -17px;}
	.volume-slider input[type=range] {margin-top: -17px;}
}

/*  Firefox */
@-moz-document url-prefix() {
	.slider-wrapper .slider-input {top: -4px; position: absolute;}
}
