body {
	font-size: 14px;
	line-height: 20px;
	color: #222222;
}

a,
a:visited,
a:hover,
a:focus {
	color: #222222;
}

h4 {
	font-size: 18px;
	line-height: 24px;
	font-weight: 500;
}

.fullColumn {
	width: 100%;
}

.btn-group>.btn {
	border-radius: 0 !important;
	font-size: 14px;
	padding: 10px 20px;
	box-shadow: none;
	border-color: #ccc;
}

.btn-group>.btn.active {
	background: #7d7d7d;
	border-color: #7d7d7d;
	color: #ffffff;
	box-shadow: none;
}

.form-control,
.btn,
input,
.textarea {
	border-radius: 0 !important;
}

.glyphicon {
	margin-right: 5px;
}

.thumbnail {
	margin-bottom: 20px;
	padding: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.grid-view .truncate {
	/* width: 220px; */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0 auto;
}

.book .book-cover img {
	/* box-shadow: 0 0 10px rgba(0, 0, 0, .2); */
	-webkit-filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, .2));
	filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, .2));
}


/*navbar*/

.navbar-default {
	position: fixed;
	width: 100%;
	z-index: 100;
	top: 0;
}

.navbar-brand {
	float: left;
	height: 60px;
	padding: 15px 15px 15px 57px;
	font-size: 18px;
	line-height: 30px;
	position: relative;
}

.navbar-brand img {
	position: absolute;
	top: 15px;
	left: 15px;
}

@media (max-width: 767px) {
	.navbar-header {
		height: auto;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		align-items: center;
	}
	.navbar-brand {
		height: auto;
		padding: 15px 0 15px 57px;
		max-width: calc(100% - 60px);
	}
	.navbar-default .navbar-toggle {
		margin-left: 15px;
	}
}

@media (max-width: 370px) {
	.navbar-brand {
		line-height: 20px;
	}
}

.navbar-header {
	height: 60px;
}

.navbar-default .navbar-brand img {
	display: inline-block;
	vertical-align: middle;
	padding-right: 15px;
}

.navbar-nav.nav {
	margin: 5px 0;
}

.navbar-nav.nav>li {
	position: relative;
}

@media (min-width: 768px) {
	.navbar-nav.nav>li:after {
		content: '';
		position: absolute;
		left: 0;
		top: 16px;
		height: 15px;
		width: 1px;
		background-color: #ddd;
	}
}

.navbar-nav.nav>li:first-child:after,
.navbar-nav.nav>li:hover:after,
.navbar-nav.nav>li.active:after {
	display: none;
}

.navbar-nav.nav>li>a {
	font-size: 16px;
	font-weight: 500;
	transition: all 0.2s ease;
	background-color: rgba(0, 0, 0, 0);
}

.navbar-nav.nav>li>a:hover {
	background: rgba(0, 0, 0, 0.05);
}

.navbar-nav.nav>li.active>a {
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
}

.navbar-right {
	margin: 5px 0;
	text-align: right;
}

#left-column .list-group.container-fluid {
	padding: 0;
}

#left-column .list-group {
	position: fixed;
	overflow-y: auto;
	width: 280px;
	margin-top: 42px;
	border-bottom: 1px solid #ddd;
}

#left-column .list-group-item.active:first-child {
	position: fixed;
	width: 280px;
	height: 42px;
	margin-top: -42px;
}
@media (max-width: 1024px) {
	#left-column .list-group-item.active:first-child {
	position: inherit;
	}
}
@media (max-width: 991px) {
	#left-column .list-group,
	#left-column .list-group-item.active {
		position: relative;
		margin-top: 0 !important;
		height: auto !important;
		width: auto !important;
	}
}


/*book*/

#booksView:not(.grid-view) .book.book-item {
	width: 100%;
}

.section {
	margin-top: 82px;
}

.book.img-thumbnail {
	width: 100%;
	text-align: center;
	margin-top: 30px;
	border-radius: 0;
}

.book.img-thumbnail h4 {
	margin-bottom: 10px;
	margin-top: 10px;
	/*text-transform: uppercase;*/
}

a.list-group-item {
	border: 0;
	border-radius: 0;
}

@media (min-width: 480px) {
	.grid-view .book.book-item {
		display: inline-block;
		margin-right: -4px;
		vertical-align: top;
		margin-bottom: 30px;
		float: none;
	}
}

@media (max-width: 479px) {
	.grid-view .book.book-item {
		display: block;
		margin-bottom: 30px;
		float: none;
	}
	.grid-view .book-cover img {
		max-height: 200px;
	}
}

.grid-view .book-details {
	text-align: center;
}

.list-view .book.book-item {
	display: block;
	margin-right: 0;
	margin-bottom: 30px;
	width: 100%;
	float: none;
}

.list-view .inside {
	overflow: hidden;
	width: 100%;
	display: inline-block;
}

.list-view .book-cover {
	float: left;
	padding-right: 30px;
}

.list-view .book-cover img {
	width: 140px;
}

.grid-view .book-cover img {
	max-width: 170px;
	max-height: 170px;
}

.list-view .book-details {
	overflow: hidden;
	text-align: left;
}

.book.book-item .inside {
	border: 1px solid #ccc;
	padding: 15px;
	height: 300px;
}

#booksView.list-view .book.book-item .inside {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: center;
}

.book.book-item .inside .book-cover {
	display: block;
}

.book.book-item .book-title {
	margin-bottom: 10px;
}

.book-description {
	display: block;
	font-size: 12px;
	text-overflow: ellipsis;
	word-wrap: break-word;
	overflow: hidden;
	max-height: 12em;
	line-height: 2em;
}


/*pagination*/

.pagination {
	margin: 0 0 20px 0;
}

.pagination,
.pagination>li>a,
.pagination>li>span {
	border-radius: 0 !important;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
	color: #fff;
	background-color: #7d7d7d;
	border-color: #7d7d7d;
}

.pagination>li>a,
.pagination>li>a:hover,
.pagination>li>span {
	color: #222222;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
	color: #fff;
	background-color: #7d7d7d;
	border-color: #7d7d7d !important;
	border-radius: 0;
	font-size: 18px;
}

.left-column .authorindex .list-group-item,
.left-column .author .list-group-item {
	text-align: center;
}

.author.item {
	display: inline-block;
	margin-right: -4px;
	vertical-align: top;
	margin-bottom: 30px;
	float: none;
}

@media (max-width: 767px) {
	.author.item {
		display: block;
		margin-right: 0;
	}
}

.author .list-group-item img {
	margin-bottom: 25px;
	width: 64px;
	height: 64px;
}

.left-column {
	/* overflow-y: scroll; */
	/* max-height: 1000px; */
}

.left-column .list-group-item {
	text-align: left;
	border: 1px solid #ddd;
	margin-bottom: -1px;
}

.left-column .list-group-item img.icon {
	float: left;
	margin-right: 15px;
	max-width: 32px;
	max-height: 23px;
}

.left-column .list-group-item .list-group-item-heading {
	font-size: 22px;
	line-height: 28px;
	padding-top: 6px;
	overflow: hidden;
}

.left-column .list-group-item .list-group-item-heading.small {
	font-size: 18px;
	line-height: 22px;
	padding-top: 3px;
}

@media (min-width: 768px) {
	.col-lg-3.left-column {
		padding: 0;
	}
}


/*vew mode*/

.view-mode {
	margin: 10px 0 10px;
	float: right;
}

.view-mode.btn-group>.btn {
	padding: 5px 10px 4px 10px;
}

.view-mode .btn .glyphicon {
	margin-right: 0;
}


/*footer*/

.footer {
	margin-top: 30px;
	width: 100%;
	height: 40px;
	background-color: #f5f5f5;
	padding: 10px 0;
	text-align: center;
	font-size: 14px;
	line-height: 20px;
}

.modal-content {
	border-radius: 0;
	text-align: center;
}

.book-container {
	margin: 25px 0;
}

.book-container .thumbnail {
	padding: 20px;
}

.book-details {
	margin: 25px 0;
}

.book-container .list-group>.row {
	padding: 10px 0;
	position: relative;
	overflow: hidden;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: calc(100% + 30px);
	flex-wrap: wrap;
}

.book-container .list-group>.row>* {
	padding: 0 15px;
}

.book-container .list-group>.row .text-right {
	margin-left: auto;
}

.book-container .list-group>.row .text-right>a {
	margin-left: 10px;
}

.book-container .list-group>.row>*:first-child {
	max-width: 80px;
	margin-right: auto;
	margin-bottom: 10px;
}

.book-container .list-group>.row:after {
	content: '';
	border-bottom: 1px solid #ddd;
	height: 1px;
	width: calc(100% - 30px);
	position: absolute;
	left: 15px;
	bottom: 0;
}