:root {
  --bookw: 600px;
  --bookh: 100px;
}

.browse-library {
	padding: 2.5rem;
	padding-top: 4rem;
}
.browse-library H2 {
	font-size: 1rem;
	letter-spacing: 0.2rem;
	font-weight: bold;
	margin-bottom: 2rem;
}

.library-container {
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0.2rem;
}
	.library-container LI {
		margin-bottom: 10px;
	}
	.library-container LI UL {
		margin-bottom: 3rem;
	}
	.library-container UL UL {
		margin-top: 6px;
	}
	.library-container UL LI {
		margin-bottom: 6px;
	}
	.library-container LI UL LI {
		margin-top: 1rem;
		margin-bottom: 10px;
	}
	.library-books {
		margin-top: 1rem;
		font-size: 0.8rem;
		margin-bottom: 3rem;
		line-height: 0.95rem;
	}
	.book-arrow {
		margin-left: 10px; margin-top: -2px;
	}
	
.library-container LI A {
	transition: color .15s ease-in-out;
	text-decoration: none;
	color: #000;
}
.library-container LI A.active {
	color: var(--main-active-color-dark);
	font-weight: bold;
}
.library-container LI A:hover {
	color: var(--main-active-color-dark);
	/* text-decoration: underline; */
}
.product-library-grid {
	height: 1025px;
	margin-left: auto;
	margin-right: auto;
	max-width: 2000px;
  display: grid;
  grid-template-columns: 360px 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "generic-grid-left generic-grid-right";
}
.generic-grid-left, .generic-grid-right {
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch; /* Lets it scroll lazy */
}
.generic-grid-left { grid-area: generic-grid-left;
	/* max-height: 800px; */
	/* overflow-y: auto; */

}

.generic-grid-right { grid-area: generic-grid-right;

}
.generic-grid-right-background {
	background-color: #EEE;
	background-image: url('./../img/product_library/concrete_bg.jpg');
	min-height: 100%;
}
.generic-grid-right {
	margin-right: 30px;
}
.generic-grid-right h2 { 
	color: #FFF;
	font-size: 2rem;
	margin-left: 3rem;
	letter-spacing: 0.2rem;
}
	.generic-grid-right .btn-order-folder {
		position: fixed;
		top: 220px;
		right: 0px;
		z-index: 1;
	}
	.generic-grid-left .btn-order-folder {
		display: none;
	}

@media (max-width: 720px) {
	.product-library-grid {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
	  grid-template-areas:
		"generic-grid-left";
	height: auto;
	}
	.generic-grid-right {
		display: none;
	}
	.generic-grid-left .btn-order-folder {
		margin-top: 2rem;
		display: block;
	}
	.generic-grid-left {
		overflow-y: auto;
	}
	.browse-library {
		padding: 5rem;
	}
}

/*
@media screen and (min-height: 950px) {
	.browse-library {
			position: fixed;
			max-height: 100%;
			overflow-y: auto;
			max-width: 400px;
	}
}
*/













		.book-box {
			width: 100%;
			height: 100%;
			position: relative;	
		}
.book-grid {
	border-radius: 0px 10px 10px 0px;
	width: var(--bookw);
	height: var(--bookh);
/*	background-color: #000; */





box-shadow: -15px 15px 10px rgba(0,0,0,0.4);


  display: grid;
	grid-template-columns: 0.6fr 1.5fr 0.5fr 1.4fr; 
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "book-img book-collection book-logo book-category";
			transform: rotate(-90deg);
	transform-origin: bottom left;
	position: absolute;
	bottom: 0px;
	left: var(--bookh);
}
.book-grid.bg-black {
	background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(89,89,89,1) 14%, rgba(0,0,0,1) 66%, rgba(48,48,48,1) 92%, rgba(0,0,0,1) 100%);
	color: #FFF;
}
.book-grid.bg-white {
background: rgb(223,223,223);
background: linear-gradient(0deg, rgba(223,223,223,1) 0%, rgba(255,255,255,1) 13%, rgba(241,241,241,1) 24%, rgba(251,251,251,1) 81%, rgba(215,215,215,1) 92%, rgba(236,236,236,1) 100%);
	color: #000;
}

.book-img {
	grid-area: book-img;
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  line-height: 1rem;
		padding: 5px;
}
	.book-img > div {
		background-size: cover;
		width: 100%;
		height: 100%;

		background-repeat: no-repeat;
	}
.book-collection { grid-area: book-collection;
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  line-height: 1rem;
}

.book-logo { grid-area: book-logo;
		  display: flex;
		  justify-content: center;
		  align-items: center;
}

.book-category { grid-area: book-category;
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  margin-left: 20px;
}

.book-logo IMG {
	height: auto;
	width: 100%;
}
	
		
.book {
	display: inline-block;
	width: var(--bookh);
	height: var(--bookw);
	transition: all 0.3s ease;
		position: relative;
			text-decoration: none;
			font-size: 1rem;


	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 134px;
	margin-top: 88px;

}
.book:hover,.book:active,.book:focus {
	transition: all 0.3s ease;
	transform: translateY(-3%);
}

.page-cat h2 {
	text-align: center;
	letter-spacing: 0.4rem;
}
.book-wrapper {
	margin: auto;
	max-width: 3000px;
	width: 100%;
	text-align: center;

	background-image: url('../img/product_library/shelf1.png');
	background-repeat: repeat-y;
	background-position: top left;
}
@media (max-width: 1344px) {
	.book-wrapper {
		background-position: top center;
		transform: scale(0.75);
		transform-origin: top left;
	}
}





.cat-laminate .book-category {
	border-left:  6px solid #43A147;
}
.cat-luxury-vinyl .book-category {
	border-left:  6px solid  #067B81;
}
.cat-ceramic-tile .book-category {
	border-left:  6px solid  #BBBBBB;
}
.cat-carpet-tile .book-category {
	border-left:  6px solid  #901D22;
}
.cat-hardwood .book-category {
	border-left:  6px solid  #FABA11;
}
.cat-eco-resilient .book-category {
	border-left:  6px solid  #448940;
}

