/* Docs sample */
* {
    box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body {
    margin: 0 !important;
    padding: 20px 0;
    height: 100vh;
    height: var(--window-height);
    background: rgb(219 179 117 / 20%);
    overflow: hidden;
}

#canvas {    
    margin: 0 auto;
    position: relative;
}

#book-zoom{
	-webkit-transition: -webkit-transform 0.5s ease;
	-moz-transition: -moz-transform 0.5s ease;
	-ms-transition: -ms-transform 0.5s ease;
	-o-transition: -o-transform 0.5s ease;
    transition: transform 0.5s ease;
    z-index: 10;
    position: absolute;
    overflow: hidden;
}

.animated{
	-webkit-transition:margin-left 0.2s ease-in-out;
	-moz-transition:margin-left 0.2s ease-in-out;
	-o-transition:margin-left 0.2s ease-in-out;
	-ms-transition:margin-left 0.2s ease-in-out;
	transition:margin-left 0.2s ease-in-out;
}

.sample-docs {
    overflow: inherit !important;
}

.sample-docs .page{
	background:white;
	-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);
}

.sample-docs .even .gradient{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background: linear-gradient(to right, rgba(0,0,0,0) 94%,rgba(0,0,0,0.3) 100%);
	z-index: 9;
}

.sample-docs .odd .gradient{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background: linear-gradient(to right, rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 6%);
	z-index: 9;
}

.sample-docs .page-wrapper{
	-webkit-perspective:2000px;
	-moz-perspective: 2000px;
	-ms-perspective: 2000px;
	perspective: 2000px;
}


.sample-docs .loader{
	background-image:url(../images/loader.gif);
	width:30px;
	height:30px;
	position:absolute;
	top:50%;
	left:50%;
	margin-left: -15px;
	margin-top: -15px;
	background-size: cover;
}

.sample-docs .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;
}

.sample-docs .page.p1 .gradient {
    display: none;
}

.sample-docs .page-wrapper:last-child .gradient {
    display: none;
}

.turnjs-slider {
    margin: 12px auto 0;
}

.turnjs-slider .thumbnail {
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    width: 45px;
    height: 68px;
}

.turnjs-slider .thumbnail div {
    background-size: cover !important;
    background-position: center center !important;
    margin: 0;
    border: 2px solid #333;
    border-radius: 4px;
}

.flip_image {
    width: 100%;
    height: 100%;
    position: relative;
}

.sound_cloud_iframe {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    overflow: hidden;
    height: 25px;
    width: 262px;
}

.flip_image span {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.turnjs-slider .thumbnail div span {
    width: 28px;
    height: 43px;
    background-size: cover !important;
    background-position: bottom right !important;
    display: block;
    float: left;
}

.turnjs-slider .thumbnail div span:nth-child(2) {
	background-position: bottom left !important;
}

.turnjs-slider .thumbnail div span:nth-child(3) {
	background-position: top right !important;
}

.turnjs-slider .thumbnail div span:nth-child(4) {
	background-position: top left !important;
}

.turnjs-slider .ui-slider-horizontal .ui-slider-handle {
    margin-top: 0px;
}
.btn-controls {
    position: relative;
    margin: 10px auto;
    z-index: 11;
    font-size: 0.875rem;
}
.btn-controls .control {
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    background-color: #f7f7f7;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
.btn-controls .controls button {
    margin:0;font-family:inherit;font-size:inherit;line-height:inherit;text-transform:none;-webkit-appearance:button;cursor:pointer;border:none;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 1rem;
}
.pagi_page.disabled {
    opacity: 0.3;
}

#slider-bar {
    display: none;
}

.move-page {
    width: 50px;
    height: 24px;
    text-align: center;
    position: relative;
    background-color: #ddd;
    margin: 0 5px;
}

#move-page-input {
    width: 100%;
    height: 24px;
    background-color: transparent;
    margin: 0;
    padding: 0 !important;
    border: 1px solid #8f8f8f;
    text-align: center;
    vertical-align: top;
    font-size: 14px;
    box-sizing: border-box;
    display: inline-block;
    opacity: 0;
    color: #8f8f8f;
    outline: none;
    border-radius: 2px;
}

.move-page label {
    position: absolute;
    height: 24px;
    width: 100%;
    display: block;
    top: 0;
    line-height: 24px;
    color: #999;
    font-size: 13px;
    font-weight: normal;
    left: 0;
    cursor: pointer;
    background-color: transparent;
    z-index: 1;
}

.fullScreen {
    margin-left: 5px;
}

#move-page-input:focus {
    opacity: 1;
}

#move-page-input:focus + label {
    display: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.canvas-wrap {
    position: relative;
}

.mobile_control .pagi_page {
    position: absolute;
    top: calc(50% - 25px);
    margin-top: -15px;
    width: 30px;
    height: 30px;
    text-align: center;
    z-index: 99;
    color: #333;
    border: 1px solid;
    border-radius: 50%;
    line-height: 30px;
    left: 5px;
    background: #fff;
}

.mobile_control .pagi_page.next {
    left: auto;
    right: 5px;
}

.soundcloud_load {
    height: 25px;
    padding-top: 10px;
    width: 300px;
    margin: auto;
    position: relative;
}

.btn_play_soundcloud {
    position: absolute;
    bottom: 5px;
    font-size: 30px;
    width: 30px;
    height: 30px;
    line-height: 20px;
    text-align: center;
    left: calc(50% - 15px);
    color: #d44a46;
    z-index: 99;
    border: 2px solid;
    border-radius: 50%;
}

.btn_play_soundcloud i {
    font-size: 20px;
}

.btn_play_soundcloud.play {
    color: green;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 30%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.playlist_sticky {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
    padding: 40px 20px;
    max-width: 700px;
    width: 100%;
    transform: translateX(100%);
	-webkit-transition: -webkit-transform 0.3s ease;
	-moz-transition: -moz-transform 0.3s ease;
	-ms-transition: -ms-transform 0.3s ease;
	-o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.btn_show_playlist {
    position: absolute;
    right: -40px;
    background: #f50;
    color: #fff !important;
    border-radius: 6px;
}

.show_playlist .overlay {
    opacity: 1;
    visibility: visible;
}

.show_playlist .playlist_sticky {
    transform: translateX(0%);
}

.playlist_sticky .close {
    color: #f50;
    font-size: 25px;
    position: absolute;
    top: 5px;
    left: 20px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    text-decoration: none !important;
}

.playlist_sticky .close.bottom {
    top: auto;
    bottom: 5px;
}

.playlist_container {
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.playlist_container .item {
    width: 100%;
}

.playlist_container iframe {
    max-height: calc(100dvh - 95px);
}

/*.btn_play_soundcloud.play i:before {
    content: "\f28c";
}*/

.soundcloud_load .load_frame iframe {
    max-width: 100%;
    width: 100%;
}

.soundcloud_load .triggle_click {
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    z-index: -1;
    cursor: pointer;
}

.back_home {
    position: absolute;
    left: -40px;
}

.back_home img {
    width: 100%;
}

@media (min-width: 992px) {
    .mobile_control{
        display: none;
    }
}

@media (max-width: 991px) {
	#slider-bar {
		width: 100%;
	}

	.turnjs-slider .ui-slider-horizontal {
		width: 100%;
		margin: 0;
	}

    .canvas-wrap {
        width: 100%;
    }

}