body {
	overflow: hidden;
	background-color: #000;
	margin: 0;
	padding: 0;
}
.loader-wrap {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	z-index: 9999;
}
.loader-wrap img {
	display: block;
	width: 800px;
}

#canvas {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.magazine-viewport .page {
	width: 1024px !important;
	height: 576px !important;
	aspect-ratio: 16 / 9;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.magazine .page {
	-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	-ms-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	-o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.magazine-viewport .page img {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin: 0;
	width: 100%;
	height: 100%;
}

.magazine .even .gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	border-left: 10px solid #00000010;
	background-image: -webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0, 0, 0, 0)), color-stop(1, rgba(0, 0, 0, 0.15)));
}

.magazine .gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-left: 10px solid #00000010;
	background-image: -webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0, 0, 0, 0)), color-stop(1, rgba(0, 0, 0, 0.15)));
}

.magazine-viewport .zoom-in .even .gradient,
.magazine-viewport .zoom-in .odd .gradient {

	display: none;

}

.magazine-viewport .loader {
	background-image: url(../pics/loader.gif);
	width: 22px;
	height: 22px;
	position: absolute;
	top: 280px;
	left: 219px;
}

.magazine-viewport .shadow {
	-webkit-transition: -webkit-box-shadow 0.5s;
	-moz-transition: -moz-box-shadow 0.5s;
	-o-transition: -webkit-box-shadow 0.5s;
	-ms-transition: -ms-box-shadow 0.5s;
	-webkit-box-shadow: 0 0 20px #ccc;
	-moz-box-shadow: 0 0 20px #ccc;
	-o-box-shadow: 0 0 20px #ccc;
	-ms-box-shadow: 0 0 20px #ccc;
	box-shadow: 0 0 20px #ccc;
}

.magazine-viewport .next-button,
.magazine-viewport .previous-button {
	width: 22px;
	height: 360px;
	position: absolute;
	top: 0;
	background-color: rgba(0, 0, 0, 0.2);
	display: none !important;
}

.magazine-viewport .next-button {
	right: -22px;
	-webkit-border-radius: 0 15px 15px 0;
	-moz-border-radius: 0 15px 15px 0;
	-ms-border-radius: 0 15px 15px 0;
	-o-border-radius: 0 15px 15px 0;
	border-radius: 0 15px 15px 0;
	background-image: url(../pics/arrows.png);
	background-position: -38px 284px;
	background-repeat: no-repeat;
}

.magazine-viewport .previous-button {
	left: -22px;
	-webkit-border-radius: 15px 0 0 15px;
	-moz-border-radius: 15px 0 0 15px;
	-ms-border-radius: 15px 0 0 15px;
	-o-border-radius: 15px 0 0 15px;
	border-radius: 15px 0 0 15px;
	background-image: url(../pics/arrows.png);
	background-position: -4px 284px;
	background-repeat: no-repeat;
}



.magazine-viewport .zoom-in .next-button,
.magazine-viewport .zoom-in .previous-button {
	display: none;
}

.animated {
	-webkit-transition: margin-left 0.5s;
	-moz-transition: margin-left 0.5s;
	-ms-transition: margin-left 0.5s;
	-o-transition: margin-left 0.5s;
	transition: margin-left 0.5s;
}

.exit-message {
	position: absolute;
	top: 10px;
	left: 0;
	width: 100%;
	height: 40px;
	z-index: 10000;
}

.exit-message>div {
	width: 140px;
	height: 30px;
	margin: auto;
	background: rgba(0, 0, 0, 0.5);
	text-align: center;
	font: 12px arial;
	line-height: 30px;
	color: white;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
}

.zoom-icon {
	position: absolute;
	z-index: 1000;
	width: 22px;
	height: 22px;
	top: 10px;
	right: 10px;
	background-image: url(../pics/zoom-icons.png);
	background-size: 88px 22px;
}

.zoom-icon-in {
	background-position: 0 0;
	cursor: pointer;
}

.zoom-icon-in.zoom-icon-in-hover {
	background-position: -22px 0;
	cursor: pointer;
}

.zoom-icon-out {
	background-position: -44px 0;
}

.zoom-icon-out.zoom-icon-out-hover {
	background-position: -66px 0;
	cursor: pointer;
}

.bottom {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
}


.magazine-nav {
	position: absolute;
	bottom: 5px;
	right: 5px;
	left: 5px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 5px;
	z-index: 99;
}
.magazine-nav span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background: #000;
	font-size: 13px;
	border: 1px solid rgba(255, 255, 255, .4);
	transition: all .2s ease-in-out;
}


input:focus,
input:focus-visible,
input:active {
	box-shadow: none;
	outline: none;
}

.magazine-nav span.page-numb {
	width: 70px;
}

.page-numb input {
	width: 100%;
	height: 100%;
	text-align: center;
	border: none;
}

.share a {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	color: #fff;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all .3s ease-in-out;
}

.share a:hover {
	background: rgba(0, 0, 0, 0.7);
}

#share .link {
	display: flex;
	align-items: center;
	white-space: nowrap;
	margin-top: 20px;
}

#share .link span {
	display: block;
	width: 170px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 30px;
	line-height: 30px;
	background: #f0f0f0;
	padding: 0 5px;
}

#share .link a {
	width: calc(100% - 170px);
	text-align: center;
	background: #000;
	color: #fff;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	transition: all .3s ease-in-out;
}

#share .link a:hover {
	background: rgba(0, 0, 0, 0.7);
}

.magazine audio {
	position: absolute;
	top: 15px;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	height: 40px;
	opacity: .6;
	transition: all .3s ease-in-out;
}

.magazine audio:hover,
.magazine audio:focus {
	opacity: 1;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
	display: none;
}

audio::-webkit-media-controls-panel {
	background-color: #ADADAD;
}

ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.mute-page .fa-volume-slash,
.mute-page.muted .fa-volume {
	display: none;
}

.mute-page.muted .fa-volume-slash,
.mute-page .fa-volume {
	display: block;
}

.preview-popup {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: none;
}

.preview-popup.opened {
	display: block;
}

.preview-list {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin: 0 50px;
	background: rgba(0, 0, 0, 0.8);
	border: 1px solid rgba(255, 255, 255, .4);
	z-index: 9999;
}

.preview-popup::before {
	content: '';
	background: rgba(0, 0, 0, 0.6);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9997;
}

.preview-popup img {
	width: 100%;
}

.preview-item {
	padding: 15px;
	cursor: pointer;
	transition: all .2s ease-in-out;
}

.preview-item:hover {
	background: rgba(255, 255, 255, 0.5);
}

.preview-item span {
	color: #fff;
	display: block;
	text-align: center;
	margin-top: 5px;
}

.close-preview {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	z-index: 9999;
}

.swiper-button-prev,
.swiper-button-next {
	color: #fff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	font-size: 18px;
}

.expand .fa-compress-wide,
.expand.fullscreen .fa-expand {
	display: none;
}

.expand .fa-expand,
.expand.fullscreen .fa-compress-wide {
	display: block;
}
.gif{
	width: 100%;
    position: absolute;
    left: 0;
    top: 20px;
    right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}
.gif img{
	width: 50px;
	height: auto;
}
@media only screen and (min-width: 1700px){
	.magazine,.magazine-viewport .page{
		width: 1366px !important;
		height: 768px !important;
	}
}
@media only screen and (max-width: 1199.98px){
	.magazine,.magazine-viewport .page{
		width: 960px !important;
		height: 540px !important;
	}
}
@media only screen and (max-width: 991.98px){
	.magazine,.magazine-viewport .page{
		width: 640px !important;
		height: 360px !important;
	}
	.loader-wrap img{
		width: 500px;
	}
}
@media only screen and (max-width: 767.98px) {

	.magazine-nav {
		justify-content: center;
	}

	.preview-item {
		padding: 5px;
	}

	.preview-list {
		margin: 0 20px;
	}

	.magazine-nav span.page-numb {
		width: 30px;
	}
	.magazine,.magazine-viewport .page{
		width: 426px !important;
		height: 240px !important;
	}
	.magazine audio{
		height: 30px;
	}
}
@media only screen and (max-width: 640.98px){
	.magazine, .magazine-viewport .page{
		width: 366px !important;
		height: 206px !important;
	}
	.magazine-nav.vertical{
		flex-direction: column;
		left: unset;
	}
}
@media only screen and (max-width: 575.98px){
	.loader-wrap img{
		width: 100%;
	}
}
@media only screen and (max-width: 480px){
	.magazine,.magazine-viewport .page{
		width: 302px !important;
		height: 170px !important;
	}
}