
/**********************************************************************/

html {
  scroll-padding-top: 160px;
}

@media only screen and (min-width: 0px) and (max-width: 992px) {

body {	
	padding-top:80px;
	font-size:1em;
}

/*add and adjust the lines*/
.head-line:before, .head-line:after
{
	display:none;
}

/*add spacing between heading and lines*/
.head-line:after,
{
	 display:none;
}

.welcome {
	font-size:1.2em;
}

}

/**********************************************************************/

@media only screen and (min-width: 992px) {

.welcome {
	font-size:1.2em;
}
}

/**********************************************************************/

.sm-icons {
  flex-direction: row;
}
@media only screen and (max-width: 960px) {
  .sm-icons .nav-item {
    padding-right: 1em;
  }
}

/*default html*/

body {	
  font-family:"Crimson Pro", serif;
}

a {
	color:#2b397a;
}

h1, h2, h3 {
	color:#2b397a;
}

h1 {
  font-size:2.2rem;
}

h2 {
  font-size:2rem;
}

h3 {
  font-size:1.8rem;
}

h4 {
  font-size:1.6rem;
}

h5 {
  font-size:1.4rem;
}

/* hide the blue outline */
.form-control:focus {
    outline: 0 !important;
    border-color: initial;
    box-shadow: none;
}

/**********************************************************************/

/*Bootstrap overides*/

a.plain {
	color:rgb(33,37,41);
}

.btn-primary {
	background-color:#2b397a;	
	border-color:#2b397a;	
}

.nav-tabs .nav-link {
	border:1px solid #dee2e6 !important;
	background-color:#eee;
}

.breadcrumb {
	background:none;
	padding:0 0 0.5rem 0.2rem;
	border-bottom: 1px solid #ddd;
}

.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
    padding: 20px;
}

.nav-tabs {
    margin-bottom: 0;
}

.carousel .carousel-control-prev, .carousel .carousel-control-next { visibility: hidden; }
.carousel:hover .carousel-control-prev, .carousel:hover .carousel-control-next { visibility: visible; }

/**********************************************************************/

/*Site specific*/

.header {
	border-bottom: solid 2px #2b397a;
}

.tab-bar {
	background-color: #2b397a;	
	color: #fff;	
}

.tab-item  {
	color:#fff !important;
	padding-top:0 !important;
	padding-bottom:0 !important;
	padding-right:24px !important;
}

.head-line , .head-line-dark
{
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	text-align: center;
}

/*add and adjust the lines*/
.head-line:before, .head-line:after
{
	content: '';
	border-top: 1px solid #ddd;
	margin: 0 15px 0 0;
	flex: 1 0 15px;
	color: #666666;
}

/*add and adjust the lines*/
.head-line-dark:before, .head-line-dark:after
{
	content: '';
	border-top: 1px solid #aaa;
	margin: 0 15px 0 0;
	flex: 1 0 15px;
	color: #666666;
}

/*add spacing between heading and lines*/
.head-line:after, .head-line-dark:after
{	
	margin: 0 0 0 15px;
}

.subscribe {
	background-color:#666;
	color:#fff;
}

.book-list:hover{
	background-color:#f9f9f9;
}

.book-list img {
	max-height:160px;
	border:1px solid #ccc;
}

.cat-list img {
	max-height:100px;
	border:1px solid #ccc;
}

.book-list p, .cat-list p  {
	margin:0;
	padding:0;
	line-height:1.2rem;
}

.book-list h5  {
	margin:0;
	padding:0;
	line-height:1.3rem;
	font-size:1.1rem;
	color:#333;
}

.book-list a, .cat-list a  {
	color:#333;
}

.price {
	color:#333;	
	/*font-weight:bold;*/
}

.cover-img {
	border:1px solid #ccc;
}

.author {
	color:#6c757d;	
	font-size:0.8rem;
}

.price-list {
	border-top:1px solid #ccc;
}

.price-list:nth-of-type(even) {
    background-color: #eee;
}

ul.social {
	list-style:none;
}

ul.social li {
	display:inline;
}

ul.social li img {
	max-width:40px;
}

.welcome {
	/*border:2px solid #ccc;*/
	background-color:#e3b8b8;
}


.totm {
	/*background-color:rgb(204, 102, 0, 0.4);*/
	/*border:2px solid #cc6600;*/
	background-color:#b8e3de; /*90beb9;*/
	/*color:#fff;*/
}

.welcome:hover, .totm:hover {
	/*border:2px solid #8d75a1;*/
	background-color:#f5c9c9;
}

/*.btn-add {
	background-color:#cc6600;
	border-color: #cc6600;
	color:#fff;
}*/

.block-new {
	background-color:#eb9f88;
}

.block-forth {
	background-color:#b1cdde;
}

.block-auth {
	background-color:#90beb9;
}

.block-subj {
	background-color:#8abea0;
}

.btn-add:hover{
	color:#fff;
	background-color:#E67E22 ;
	border-color:#E67E22 
}

.btn-add.focus, .btn-add:focus{
	color:#fff;
	background-color:#E67E22 ;
	border-color:#E67E22 ;
	box-shadow:0 0 0 .2rem rgba(230,126,34,.5)
}

.row-bordered {
  position: relative;
}

.row-bordered:after {
  content: "";
  display: block;
  border-bottom: 1px solid #ccc;
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
}

#livesearch , #livesearchmob {
	position:absolute;
	z-index:9999;
	width:100%;
	background-color:#fff;
	text-align:left;
	overflow-y:scroll;
	overflow-x:hidden;
	max-height:500px;
}