html, body {
	background-color: #F6F6F6;
	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: -150px;
}

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

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

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

footer {
	background-color: #F0F0F0;
	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;
}

/* frontpage-news-block */
.frontpage-news-block {
}

.frontpage-news-block h1 {
	/*font-size: 1.125rem;*/
	font-size: 1.0625rem;
}

.frontpage-news-block h2 {
	/*font-size: 1rem;*/
	font-size: 0.9375rem;
}

.frontpage-news-block a {
	color: #000000;
	text-decoration: none;
}

/* search-catalog-result */
.search-catalog-result {
	border-radius: 4px;
	background-color: #DDDDDD;
}

.search-catalog-result a {
	text-decoration: none;
	color: #000000;
}

.search-catalog-result img {
	max-width: 175px;
}

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

.book-detail-search-results {
	background-color: #DDDDDD;
}

.book-detail-results {
	background-color: #ffffff;
	border-radius: 4px;
}

.book-detail-search-results .btn-outline-secondary {
	background-color: #ffffff;
}

.book-detail-search-results .btn-outline-secondary:hover {
	background-color: #6c757d;
}

.book-detail-results h5 {
	font-size: 1em;
	margin-top: -0.65em;
	margin-left: 10px;
	margin-right: 10px;
	background: white;

	border-radius: 4px;

	padding-left: 10px;
	padding-right: 10px;

	width: fit-content;
}

.book-detail-results b {
	/*
	background-color: #fffb81;
	font-weight: normal;
	*/
	color: #ff7300;
}

.form-control-borderless {
	border: none;
    outline: none;
    box-shadow: 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;
}

.voucher-form h6 {
	margin-top: 1.125em;
	border-bottom: 1px #CCCCCC solid;
}

.loading-modal .modal-dialog{
	display: table;
	position: relative;
	margin: 0 auto;
	top: calc(50% - 24px);
}

.loading-modal .modal-dialog .modal-content{
	background-color: transparent;
	border: none;
}
