@import url("bootstrap.min.css");
@import url("bootstrap-responsive.min.css");

/*.hero-unit {
	background: url(../img/Books-06-blurred.jpg) fixed no-repeat #000;
    background-size: cover;
	border-radius: 0;
	padding-bottom: 19px;
}
.hero-unit .container {
	padding:20px;
    background-color: rgba(0,0,0,.5);
*/    /*background: url(../img/bannerbackground.png);*/
/*    border-radius: 4px;
}

.hero-unit h1, .hero-unit p {
	color: #fff;
}
*/
h2, h3, h4, h5 {
	color: #005588;
}
h4, h5 {
	margin-bottom: 0;
}
h3.booksheader {
	font-size: 35px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 15px;
}
form * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
#scrolltotop {
	position: fixed;
	bottom: 10px;
	left: 20%;
	display: none;
	z-index: 999999;
	text-transform: uppercase;
	line-height: 2em;
}
#scrolltotop span {
	text-align: center;
	display: block;
	font-size: 2em;
}

.navbar-fixed-top .navbar-inner {
	background-color: #08c;
	background-image: none;
	border-width: 0px;
}
.navbar-fixed-top .container {
	position: relative;
}
.navbar .brand {
	background: url(../img/logo.png) no-repeat;
	text-indent: -9999px;
	height: 89px;
	width:100px;
	margin: 5px 0 10px 40px;
}
.nav {
	border-bottom: 1px solid #fff;
}
.navbar .nav>li>a {
	color: #fff;
	text-shadow: none;
}
#grangeid {
	position: absolute;
	bottom: 10px;
	left: 170px;
	float: left;
	padding: 0;
	color: #fff;
	font-size: 1em; 
	font-weight: lighter;
	letter-spacing: .1em;
}
#grangeid p {
	margin: 0;
}
.leadin {
	font-size: 1.5em;
}
.parklane {
	color: rgb(152, 171, 77);
	font-family: georgia, palatino;
}
.greenvale {
	font-family:Times;
	color: #007F00;
}
#grangeid a {
	color: #fff;
}
#main {
	position: relative;
}
.span12 {
	padding: 19px;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
.carousel {
	top:100px;
}
.carousel-inner {
	height: 350px;
	margin-bottom: 120px;
	width: 100%;
	background: url(../img/Books-06-blurred-letterbox.jpg);
}

.carousel-caption {
	top:30px;
	bottom: auto;
	margin: 0 auto;
	border-radius: 4px;
	background: rgb(255,255,255);
/*	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 80%, rgba(200,200,200,1) 81%, rgba(240,240,240,1) 87%, rgba(255,255,255,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(80%,rgba(255,255,255,1)), color-stop(81%,rgba(240,240,240,1)), color-stop(87%,rgba(240,240,240,1)), color-stop(100%,rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 80%, rgba(200,200,200,1) 81%, rgba(240,240,240,1) 87%, rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 80%, rgba(200,200,200,1) 81%, rgba(240,240,240,1) 87%, rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 80%, rgba(200,200,200,1) 81%, rgba(240,240,240,1) 87%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 80%, rgba(200,200,200,1) 81%, rgba(240,240,240,1) 87%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#bcdaeb',GradientType=0 );
*/
	padding: 40px;
}
.carousel-caption h1 {
	margin-top: 0;
}
.carousel-caption img {
	float: right;
	/*margin-right: 10%;*/
	height: 200px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 3px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 3px 5px 0px rgba(50, 50, 50, 0.75);
}
.carousel-caption p {
	color: #000;
}
.carousel-caption .btn {
	position: absolute;
	bottom: 20px;
}
.carousel-control {
	border: 0;
	border-radius: 0;
	font-size: 40px;
	background-color: transparent;
}
/* Fade transition for carousel items */
.carousel .item {
    left: 0 !important;
      -webkit-transition: opacity .4s; /*adjust timing here */
         -moz-transition: opacity .4s;
           -o-transition: opacity .4s;
              transition: opacity .4s;
}
.carousel-control {
    background-image: none !important; /* remove background gradients on controls */
}
/* Fade controls with items */
.next.left,
.prev.right {
    opacity: 1;
    z-index: 1;
}
.active.left,
.active.right {
    opacity: 0;
    z-index: 2;
}
.carousel-indicators {
	top:280px;
	right: 50%;
}
.carousel-indicators li {
	background-color: #ccc;
}
.carousel-indicators .active {
  background-color: #08c;
}
#search {
	background-color: #08c;
	background-image: -moz-linear-gradient(-45deg, rgba(0,0,0, .2) 25%, transparent 25%, transparent 50%, rgba(0,0,0, .2) 50%, rgba(0,0,0, .2) 75%, transparent 75%, transparent);
	background-image: -ms-linear-gradient(-45deg, rgba(0,0,0, .2) 25%, transparent 25%, transparent 50%, rgba(0,0,0, .2) 50%, rgba(0,0,0, .2) 75%, transparent 75%, transparent);
	background-image: -o-linear-gradient(-45deg, rgba(0,0,0, .2) 25%, transparent 25%, transparent 50%, rgba(0,0,0, .2) 50%, rgba(0,0,0, .2) 75%, transparent 75%, transparent);
	background-image: linear-gradient(-45deg, rgba(0,0,0, .2) 25%, transparent 25%, transparent 50%, rgba(0,0,0, .2) 50%, rgba(0,0,0, .2) 75%, transparent 75%, transparent);
	background-size: 4px 4px;
	color: #fff;
	border: 0px;
}
#catalog, #booklist, #basket, #about, #contact, #login, #confirmorder, #ordersent, #account {
	/*margin-top: 40px;*/
}
.btn-shadow {
	-webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 3px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 3px 5px 0px rgba(50, 50, 50, 0.75);	
}
.pdf, .xls {
	float: right;
	padding-left: 5px;
}
#columns {
	-webkit-column-count: 3;
	-webkit-column-gap: 10px;
	-webkit-column-fill: auto;
	-moz-column-count: 3;
	-moz-column-gap: 10px;
	-moz-column-fill: auto;
	column-count: 3;
	column-gap: 15px;
	column-fill: auto;
}
.book {
	line-height: auto;
	background: #FEFEFE;
	border: 2px solid #FAFAFA;
	box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
	margin: 0 2px 15px;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;
	padding: 15px;
	padding-bottom: 5px;
	background: -webkit-linear-gradient(45deg, #FFF, #F9F9F9);
	opacity: 1;
	
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
}
.book img {
	float: right;
	height: 200px;
	margin-bottom: 5px;
	margin-left: 5px;
}
.bookdetails {
	font-size: 0.8em;
	margin-bottom: 20px;
}
.bookdetails p {
	margin: 0;
}
.bookprice {
	display: inline-block;
	padding: 0 20px;
	margin-bottom: 10px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
.bookprice span {
	color: #ff0000;
	font-size: 1.5em;
}
.bookprice h5 {
	margin-top: 5px;
}
.bookprice p {
	margin-bottom: 5px;
}
.bookdetails, .hidebook, #confirmorder, #ordersent, .updbook, #emailerrors, #passworderrors {
	display: none;
}
.updbook, .qtyerror {
	position: fixed;
	position: absolute;
}
.qtyerror {
	padding: 3px;
}
.confirmorder {
	display: block;
}
#featbooks {
}
#featbooks .featbook {
	width: 190px;
	float: left;
	text-align: center;
	margin-bottom: 20px;
}
.featbook img {
	display: block;
	height: 150px;
	margin: 0 auto;
}
.featbook h5 {
	height: 4em;
	overflow: hidden;
	text-transform: capitalize;
	font-size: 0.8em;
	margin: 10px 0 0 0;
}
.featbook p.price {
	font-size: 1.2em;
	float: left;
	position: relative;
	top: 5px;
	margin-left: 4px;
}
.featbook .bookcontrols {
	display: inline-block;
}
.bookcontrols {
	clear: right;
	margin: 0 auto;
}
.bookcontrols .qty {
	float: left;
}
.nav-list ul {
	display: none;
}
.book.single img {
	height: 400px;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	-o-transition: all .4s ease;
	transition: all .4s ease;
}
.top {
	z-index:9999;
	position: relative;
}
#mask { 
	position:absolute; 
	z-index:9000; 
	background-color:#000; 
	display:none; 
	top:0; 
	left:0;"
}
#shopmenu {
	border-bottom: 0px;
}
.nav-list a {
	cursor: pointer;
}
.nav-list>li>ul {
	padding: 0;
	margin-left: 0;
}
.nav-list>li>ul>li {
	list-style: none;
	font-size: 0.9em;
	text-transform: uppercase;
}
.nav-list>li>ul>li>a {
	padding-left: 15px;
}
.nav-list .active a {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
	background-color: #08c;
	display: block;
}

/* Basket styles */
#menubasket {
	padding-right: 40px;
	background: url(../img/basket.png) right 10px top 8px no-repeat;
	position: relative;
}
#menubasket.full {
	background-color: #62c462;
	color: #fff;
	text-shadow:none;
}
#menubasketitems {
	position:absolute;
	background:#fff;
	border: 3px solid #62c462;
	display: none;
	width: 300px;
	right:0;
}
#menubasketitems a {
	margin: 0 5px 5px 0;
}
#menubasketitems .table {
	margin-bottom: 0;
}
#menubasketitems .table tbody tr td:nth-child(even) {
	text-align: center;
}
#menubasketcontainer {
	position: relative;
}
#basket td {
	line-height: normal;
	vertical-align: middle;
}
#basket td.text-right, #basket th.text-right, #confirmorder td.text-right, #confirmorder th.text-right {
	text-align: right;
}
#basket form {
	margin: 0;
}
#basket a {
	cursor: pointer;
}
button a {
	color: #fff;
}
button a:hover {
	color: #fff;
	text-decoration: none;
}
#menubasketitems button {
	margin: 5px;
}
.qty {
	width: 3em;
}
.basketimg img {
	height: 40px;
}
.viewdetailsform, .form-inline {
	display: inline;
	margin-right: 5px;
}
.addbook {
	margin-right: 5px;	
}
.table td.totalheader {
	text-align: right;
	font-weight: bold;
	font-size: 1.2em;	
}
#grandtotal {
	font-weight: bold;
	font-size: 1.2em;	
}
ol#checkoutlist {
    counter-reset:li; /* Initiate a counter */
    margin-left:0; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}
ol#checkoutlist > li {
    position:relative; /* Create a positioning context */
    margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
    padding:4px 8px; /* Add some spacing around the content */
    list-style:none; /* Disable the normal item numbering */
    border-top:2px solid #666;
    background:#f6f6f6;
}
ol#checkoutlist > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    top:-2px;
    left:-2em;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:2em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:8px;
    padding:4px;
    border-top:2px solid #666;
    color:#fff;
    background:#666;
    font-weight:bold;
    font-family:"Helvetica Neue", Arial, sans-serif;
    text-align:center;
}
li ol,
li ul {margin-top:6px;}
ol ol li:last-child {margin-bottom:0;}

ol#checkoutlist > li.checkoutlistcurrent {
	background-color: #08c;
	color: #fff;
}

/* END basket styles */

/* SEARCH FORM styles */
#searchreslist {
	position: relative;
	display: inline-block;
}
#searchres {
	position: absolute;
	border: 1px solid #cccccc;
	list-style: none;
	margin: 0;
	/*top:-10px;*/
	white-space: nowrap;
	background: #F9F9F9;
	overflow: hidden;
	z-index: 9999999;
}
#searchres li {
}
#searchres li a:focus {
	background-color: #fff;
}
.searchinput {
	width:24%;
}
.searchinput:nth-child(even) {
	width:16%;	
}
/* END SEARCH FORM styles */

.span12 {
	margin-bottom: 20px;
}
#contact .span4 {
	margin-left: 0px;
	overflow: 
}
iframe {
	width: 100%;
}
#addfeatured, #addnewin {
	background: url(../img/plus.png);
    padding: 85px 20px 0 20px;
    float: left;
    background-position: top;
    background-repeat: no-repeat;
}
#addnewin:hover, #addfeatured:hover, #pdflink:hover, .pdf:hover {
    cursor: pointer;
}
.removefeatured, .removenewin {
	margin-top: 10px;
}
a.newinlink {
    color: red;
    font-size: 1.2em;
    padding: 10px;
}
#modalbackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
}
#modalpopup {
	background: #fff;
    border: 3px solid #ff0;
    width: 50%;
    padding: 20px 30px 30px 30px;
    margin: 0 auto;
    top: 30vh;
    position: relative;
}

@media (min-width: 1200px) {
	.carousel-caption {
		width:60%;
	}
}
@media (max-width: 979px) {
	.carousel {
		top:-20px;
	}
	#main {
		top: -140px;
	}
	.carousel-caption img {
		margin-right: 0%;
	}
}
@media (max-width: 979px) {
	.nav-collapse, .nav-collapse.collapse {
		height: auto;
		overflow: visible;
	}
	.nav-collapse {
		clear: none;
	}
	.navbar .btn-navbar {
		display: none;
	}
	.navbar .nav-collapse .nav.pull-right {
		float: right;
		margin-left: 0;
	}
	.nav-collapse .nav>li {
		float: left;
	}
	.nav-collapse .nav>li>a {
		margin-bottom: 0px;
	}
	.nav-collapse .nav>li>a, .nav-collapse .dropdown-menu a {
		padding: 10px 15px;
		font-weight: normal;
		color: #fff;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
	.navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
		padding: 0px;
	}
}

@media (max-width: 767px) {
	.carousel {
		display: none;
	}
	#main {
		top: 0px;
	}
	#grangeid {
		font-size: 0.7em;
		left: 140px;
		top: 35px;
		position: fixed;
	}
	#search span {
		display: none;
	}
	#isbn {
		display: none;
	}
	.navbar .brand {
		margin: 0 0 5px 20px;
	}
	#scrolltotop {
		display: none !important;
	}
	.nav-collapse, .nav-collapse.collapse {
		height: 0;
		overflow: hidden;
	}
	.nav-collapse {
		clear: both;
	}
	.navbar .btn-navbar {
		display: block;
	}
	.navbar .nav-collapse .nav.pull-right {
		float: none;
	}
	.nav-collapse .nav>li {
		float: none;
	}
	.nav-collapse .nav>li>a {
		margin-bottom: 2px;
	}
	.nav-collapse .nav>li>a, .nav-collapse .dropdown-menu a {
		padding: 9px 15px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}
}
@media (min-width: 767px) {
	#shopmenu {
		height: auto !important;
		overflow: visible !important;
	}
	.showcats {
		display: none;
	}
}