:root {
	--bgcolor: #f1b040;
	--bookmodal-color: #333333;
}

.footer_link {
	margin: 0px;
	list-style: none;
	overflow: hidden;
	display: flex;
	padding-left: 0;
}

.footer_link li {
	margin: 0px;
	padding-left: 0;
	padding-right: 1em;
}

.footer_link li a {
	color: orange;
}

.modal {
	margin: auto;
	top: 5%;
	overflow: scroll;
}

.modal-content {
	background: #3a3a3a;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 0;
	text-align: left;
}

.modal-header {
	padding: 15px 15px 10px 15px;
	background: #333;
	border: 0;
	-moz-border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
	color: #888;
	text-align: center;
	display: flex;
}

.modal-title {
	margin: 0px auto;
	line-height: 1.5em;
	color: #eee;
}

.modal-body {
	padding: 5px 5px 5px 5px;
	background: #3a3a3a;
	text-align: left;
	margin-top: 15px;
	position: relative;
	width: 800px;
	height: 420px;
	line-height: 1.5em;
}

.modal.fade .modal-dialog {
	transform: translate(0px, -50%);
	/* Start 50px above its final position */
	transition: transform 0.5s ease-out;
}

.modal.show .modal-dialog {
	transform: translate(0, 0);
	transform-origin: top center;
}
 
.modal-book {
	/*content*/
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	/* Ensures it expands to fill the parent .modal-dialog width */
	color: var(--bookmodal-color);
	pointer-events: auto;
	/* Restores click interactions inside the modal dialog */
	background: var(--bgcolor);
	background-color: var(--bgcolor);
	background-clip: padding-box;
	border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
	border-radius: var(--bs-modal-border-radius);
	outline: 0;
}

.modal-book-body {
	position: relative;
	/* Enable `flex-grow: 1` so that the body take up as much space as possible */
	/* when there should be a fixed height on `.modal-dialog`. */
	flex: 1 1 auto;
	padding: var(--bs-modal-padding);
}

.modal-book-footer {
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-end;
	padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);
	background-color: var(--bgcolor);
	border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
	border-bottom-right-radius: var(--bs-modal-inner-border-radius);
	border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}

.modal-body video {
	z-index: 10;
	position: absolute;
	left: 0;
	top: 0;
	width: 800px;
	height: 400px;
	margin: 0 auto;
}

.lightbox .modal-book video {
	width: 1400px;
	height: auto;
}

.modal-body h3 {
	color: #198754;
}

@media screen and (max-width:1024px) {
	.modal-body {
		margin-top: 15px;
		width: 500px;
		height: 260px;
	}

	.modal-body video {
		width: 500px;
		height: 250px;
	}

	.loader {
		top: 100px;
		left: 225px;
	}
}
@media screen and (max-width:480px),
		screen and (max-height:480px) { 
	.modal{
		margin-top: -2em;
	}
	.modal-dialog{
		margin: 0 auto;
	}
	.modal-body {
		margin: 0 auto;
		width: 400px;
		height: 220px;
		overflow: scroll;
	}

	.modal-body video {
		width: 400px;
		height: 200px;
		
	}
	.modal-footer {
		font-size: small;
	}
	.loader {
		top: 100px;
		left: 225px;
	}
}

.modal-body canvas {
	z-index: 15;
	width: 100%;
	height: 100%;
	/* border:1px solid; */
	position: absolute;
	pointer-events: none;
	left: 0;
	top: 0;
}

.modal-footer {
	padding: 15px 15px 10px 15px;
	border-top: #888;
	border-style: solid none none none;
	border-width: 1px;
	-moz-border-radius: 0 0 8px 8px;
	-webkit-border-radius: 0 0 8px 8px;
	border-radius: 0 0 8px 8px;
	display: flex;
	justify-content: space-around;
}


.loader {
	animation: rotate 1s infinite;
	height: 50px;
	width: 50px;
	position: absolute;
	top: 175px;
	left: 375px;
}

.loader:before,
.loader:after {
	border-radius: 50%;
	content: '';
	display: block;
	height: 20px;
	width: 20px;
}

.loader:before {
	animation: ball1 1s infinite;
	background-color: #cb2025;
	box-shadow: 30px 0 0 #f8b334;
	margin-bottom: 10px;
}

.loader:after {
	animation: ball2 1s infinite;
	background-color: #00a096;
	box-shadow: 30px 0 0 #97bf0d;
}

@keyframes rotate {
	0% {
		-webkit-transform: rotate(0deg) scale(0.8);
		-moz-transform: rotate(0deg) scale(0.8);
	}

	50% {
		-webkit-transform: rotate(360deg) scale(1.2);
		-moz-transform: rotate(360deg) scale(1.2);
	}

	100% {
		-webkit-transform: rotate(720deg) scale(0.8);
		-moz-transform: rotate(720deg) scale(0.8);
	}
}

@keyframes ball1 {
	0% {
		box-shadow: 30px 0 0 #f8b334;
	}

	50% {
		box-shadow: 0 0 0 #f8b334;
		margin-bottom: 0;
		-webkit-transform: translate(15px, 15px);
		-moz-transform: translate(15px, 15px);
	}

	100% {
		box-shadow: 30px 0 0 #f8b334;
		margin-bottom: 10px;
	}
}

@keyframes ball2 {
	0% {
		box-shadow: 30px 0 0 #97bf0d;
	}

	50% {
		box-shadow: 0 0 0 #97bf0d;
		margin-top: -20px;
		-webkit-transform: translate(15px, 15px);
		-moz-transform: translate(15px, 15px);
	}

	100% {
		box-shadow: 30px 0 0 #97bf0d;
		margin-top: 0;
	}
}