.grid-item { 
    width: 25%;
    background-color: #1579dd; 
    color: black;
}
.grid-item--width2 { 
    width: 50%; 
    background-color: #15dd30;
}

/* ---- search ---- */

.quicksearch {
	background-clip: padding-box;
	background-color: rgb(255, 255, 255);
	border-bottom-color: rgb(167, 168, 170);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-image-outset: 0px;
	border-image-repeat: stretch;
	border-image-slice: 100%;
	border-image-source: none;
	border-image-width: 1;
	border-left-color: rgb(167, 168, 170);
	border-left-style: solid;
	border-left-width: 1px;
	border-right-color: rgb(167, 168, 170);
	border-right-style: solid;
	border-right-width: 1px;
	border-top-color: rgb(167, 168, 170);
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-top-style: solid;
	border-top-width: 1px;
	box-sizing: border-box;
	color: rgb(73, 80, 87);
	cursor: text;
	display: block;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-stretch: 100%;
	font-style: normal;
	font-variant-caps: normal;
	font-variant-east-asian: normal;
	font-variant-ligatures: normal;
	font-variant-numeric: normal;
	font-weight: 400;
	height: 38px;
	letter-spacing: normal;
	line-height: 24px;
	margin-bottom: 1em;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	overflow-x: visible;
	overflow-y: visible;
	padding-bottom: 6px;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 6px;
	text-align: start;
	text-indent: 0px;
	text-rendering: auto;
	text-shadow: none;
	text-size-adjust: 100%;
	text-transform: none;
	transition-delay: 0s, 0s;
	transition-duration: 0.15s, 0.15s;
	transition-property: border-color, box-shadow;
	transition-timing-function: ease-in-out, ease-in-out;
	width: 580px;
	word-spacing: 0px;
	writing-mode: horizontal-tb;
	-webkit-appearance: none;
	-webkit-rtl-ordering: logical;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-border-image: none;
}

#clearSearch {
	opacity: .3;
	transition: all .3s;
}

#clearSearch:hover{
	opacity: 1;
}

/* ---- button ---- */

.button {
	background-color: rgba(0, 0, 0, 0);
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 0px;
	border-left-color: rgba(0, 0, 0, 0.07);
	border-left-style: solid;
	border-left-width: 1px;
	border-top-left-radius: 4px;
	border-top-right-radius: 0px;
	box-sizing: border-box !important;
	color: rgb(102, 102, 102);
	cursor: pointer !important;
	display: block !important;
	font-family: Lato, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	height: 39px !important;
	line-height: 15px !important;
	list-style-image: none !important;
	list-style-position: outside !important;
	list-style-type: none !important;
	padding-bottom: 12px !important;
	padding-left: 18px;
	padding-right: 18px;
	padding-top: 12px !important;
	position: relative !important;
	text-align: left !important;
	text-decoration-color: rgb(102, 102, 102) !important;
	text-decoration-line: none !important;
	text-decoration-style: solid !important;
	text-size-adjust: 100% !important;
	width: auto;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	transition: all .3s;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.category li {
	padding-left: 7px !important;
	padding-right: 7px !important;
}
  
.button:hover {
	background-color: #7F9CB2;
	color: white !important;
}

.button:active,
.button.is-checked {
	background-color: #4e6c84;
}

.button:hover,
.button.is-checked {
	color: rgb(102,102,102)
}
  
.button.is-checked {
	color: white;
	text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
/*    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);*/
}
  
/* ---- button-group ---- */

.inline {
	display: inline-block !important;
	float: right;
	margin-right: 51px;
}

.button-group:after {
	content: '';
	display: block;
	clear: both;
}

.button-group .button {
	float: left;
	border-radius: 0;
	margin-left: 0;
	margin-right: 1px;
}

.list-buttons {
	border-bottom-color: rgba(0, 0, 0, 0.07);
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-image-outset: 0px;
	border-image-repeat: stretch;
	border-image-slice: 100%;
	border-image-source: none;
	border-image-width: 1;
	border-left-color: rgba(0, 0, 0, 0.07);
	border-left-style: solid;
	border-left-width: 1px;
	border-right-color: rgba(0, 0, 0, 0.07);
	border-right-style: solid;
	border-right-width: 1px;
	border-top-color: rgba(0, 0, 0, 0.07);
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-top-style: solid;
	border-top-width: 1px;
	box-sizing: border-box;
	color: rgb(85, 85, 85);
	display: block;
	float: left;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 400;
	height: 41px;
	line-height: 21px;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin-block-end: 40px;
	margin-block-start: 0px;
	margin-bottom: 40px;
	margin-inline-end: 0px;
	margin-inline-start: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-inline-start: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	position: relative;
	text-align: left;
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ---- Pub Grid Items ---- */

.pub-grid { margin-bottom: 10em }
.pub-container {
	width: 24% !important;
	height: auto;
	text-align: center;
	margin-bottom: 20px;
}

.pub-container img {
	height: 200px;
	width: auto;
	margin: 0 auto;
	padding: .5em;
	display: block;
	transition: all .3s;
}

.pub-container img:hover {
	opacity: .2;
}

.pub-container .image-container:hover {
	background-image: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-right-128.png');
	background-position: 50%;
	background-repeat: no-repeat;
	opacity: 1;
}

span.title {
	font-weight: bold;
	font-size: 1em;
}

#book-desc-text p {
	font-size: 1.3em;
	line-height: 1.5em;
	margin-top: 1em;
}

/* ---- Modal Layout Responsive ---- */

#desc-modal {
	min-width: 70vw;
}

#desc-modal #parent {
	display: grid; 
	grid-template-columns: 66% 34%;
	grid-template-rows: auto auto auto;
}

#desc-modal #parent #book-title {
	grid-column: 1 / span 2;
	grid-row: 1 / span 1;
}

#desc-modal #parent #book-desc-text {
	grid-column: 1 / span 1;
	grid-row: 2 / span 1;
	padding-right: 15px;
	padding-top: 0;
}

#desc-modal #parent #book-cover-image {
	grid-column: 2 / span 1;
	grid-row: 2 / span 1;
	justify-self: center; 
	align-self: center;
}

#desc-modal #parent #book-cover-image img{
	width: auto;
}

@media all and (max-width: 1060px) and (min-width: 901px) {
	#desc-modal {
		max-width: 90vw;
	}
}

@media all and (max-width: 900px) and (min-width: 1px){
	#desc-modal {
		width: 150vw !important;
	}
	
	#desc-modal #parent {
		display: grid; 
		justify-self: center;
		text-align: center;
		grid-template-columns: 100%;
		grid-template-rows: auto auto auto;
	}
	
	#desc-modal #parent #book-title {
		grid-column: 1;
		grid-row: 1 / span 1;
	}
	
	#desc-modal #parent #book-cover-image {
		grid-column: 1;
		grid-row: 2 / span 1;
		justify-self: center; 
		align-self: center;
	}
	
	#desc-modal #parent #book-desc-text {
		grid-row: 3 / span 1;
		padding-right: 0;
	}
}

.oos {
	background-color:rgba(190,190,190,1.00);
}


