html, body {
	background-color: #ffffff;
	height: 100%;
	font-size: 16px;
}

.logo-image {
	max-height: 65px;
}

.top-bar {
	background-color: #1E2228;
	color: #ffffff;
	font-size: 0.675rem;
}

.top-bar .logo {
	max-width: 100px;
}

.top-bar .nav-link {
	color: #ffffff;
}

.text-small {
	font-size: 0.75rem;
}

.page-wrap {
	min-height: 100%;
	/* padding-bottom: 25px; */
	/* equal to footer height */
	margin-bottom: -250px;
}

.page-wrap:after {
	content: "";
	display: block;
}

header .nav-link {
	text-transform: uppercase;
	font-weight: bold;
}

footer, .page-wrap:after {
	min-height: 250px;
}

footer {
	background-color: #F6F6F6;
	color: #000000;
}

footer h5 {
	font-size: 1rem;
}

footer ul {
	padding-bottom: 1rem;
}

footer .nav-link {
	font-size: 0.875rem;
	padding: 0.15rem 0rem;
	color: #000000;
}

footer .nav-link:hover {
	text-decoration: underline;
}

footer .address-block {
	font-size: 0.875rem;
}

footer > .container {
	height: 100%;
}

footer small {
	font-size: 75%;
	line-height: 1rem;
}

footer img {
	max-width: 100px;
}

.index-search-block {
	border-radius: 4px;
}

.index-search-block:focus-within {
	box-shadow: 0 0 8px #dddddd;
}

/* book-detail */
.book-detail img {
	max-width: 200px;
}

.form-control-borderless {
	border: none;
}

.form-control-borderless:hover, .form-control-borderless:active, .form-control-borderless:focus {
	border: none;
	outline: none;
	box-shadow: none;
}

/* Override BS */
.navbar {
	padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link {
	color: #000000;
}

.carousel-indicators {
	position: absolute;
	bottom: 5px;
	margin: 0;
	left: 0;
	right: 0;
}

.carousel-indicators li {
	background-color: #333333;

	border: 1px solid #ffffff;
}

.carousel-control-prev, .carousel-control-next {
	width: 5%;
}

.open-modal {
	cursor: pointer;
}

.navbar {
	color: #1E2228 !important;
}

.school-link {
	color: #0b2e13;
	text-decoration: none;
}

.school-link:hover {
	color: #0b2e13;
	/*font-weight: bold;*/
	text-decoration: none;
	background-color: #CCCCCC;
}

.old-price {
	text-decoration: line-through;
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 75%;
	}
}

.custom-control-input:checked~.custom-control-label::before {
	/*color: #fff;*/
	border-color: #bd2130;
	background-color: #bd2130;
}

/* https://stackoverflow.com/a/31184284 */
.table td.fit, .table th.fit {
	white-space: nowrap;
	width: 1%;
}

/* https://mdbootstrap.com/snippets/standard/mdbootstrap/2964350 */
.btn-back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
}
