/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* library */

div#library_featured .box
{
	background-color: #eae8db;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 1.5rem;
	border: solid 1px #d0d0bc;
	padding: 1rem;
	margin-bottom: 1rem;
	font-size: 95%;
}

div#library_featured .box img
{
	background-color: white;
	padding: 2px;
	-moz-box-shadow: 0 0x 5px #555;
	-webkit-box-shadow: 0 0 5px #555;
	box-shadow: 0 0 5px #555;
	width: 7rem;
	height: auto;
}

div#library_featured .box .document
{
	display: grid;
	grid-template-columns: 8rem auto;
}

div#library_featured .box .document .title
{
	font-size: 105%;
	line-height: 115%;
}

div#library_featured .box .document .date
{
	font-size: 95%;
	font-family: Georgia, serif;
	font-style: italic;
	color: #666;
	margin-top: 5px;
}

@media (max-width: 1029px)
{
	div#library_featured
	{
		display: none;
	}
}

div#library_home_collections_list .collection,
div#library-subcollections .collection
{
	margin: 0.75rem 2rem 0.75rem 0;
	border-bottom: solid 1px #ccc;
	padding-bottom: 0.2rem;
}

div#library_home_collections_list .collection .title,
div#library-subcollections .collection .title
{
	font-size: 135%;
	letter-spacing: -0.03em;
	position: relative;
	top: 0.2rem;
	font-weight: bold;
	margin: 0.5rem 0;
}

div#library_home_collections_list .collection .count,
div#library-subcollections .collection .count
{
	font-size: 95%;
	color: #555;
	margin: 0 0 0.5rem 0;
}

/* animated library home page feature removed for now
div#library_home_collections_list .collection
{
	position: relative;
	margin: 0.75rem 2rem 0.75rem 0;
	border-bottom: solid 1px #ccc;
	padding-bottom: 0.2rem;
}

div#library_home_collections_list .collection input[type=checkbox]
{
	position: absolute;
	top: 0;
	left: -0.4rem;
	opacity: 0;
	z-index: 100;
	width: 2rem;
	height: 2rem;
	cursor: pointer;
}

div#library_home_collections_list .collection .icon-open,
div#library_home_collections_list .collection .icon-close
{
	position: absolute;
	top: 0.2rem;
	font-size: 180%;
	font-weight: bold;
	color: #06679a;
	font-family: courier;
}

div#library_home_collections_list .collection .icon-close
{
	display: none;
}

div#library_home_collections_list .collection .title
{
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 135%;
	letter-spacing: -0.03em;
	position: relative;
	left: 2rem;
	top: 0.2rem;
	font-weight: bold;
	margin: 0.5rem 0;
}

div#library_home_collections_list .collection .count
{
	font-size: 90%;
	color: #555;
	margin: 0 0 0.5rem 2rem;
}

div#library_home_collections_list .collection .samples
{
	display: none;
}

div#library_home_collections_list .collection input[type=checkbox]:checked ~ .samples
{
	margin-left: 2rem;
	padding-bottom: 0.5rem;
	display: block;
}

div#library_home_collections_list .collection input[type=checkbox]:checked ~ .icon-open
{
	display: none;
}

div#library_home_collections_list .collection input[type=checkbox]:checked ~ .icon-close
{
	display: block;
}

@media (max-width: 1029px)
{
	div#library_home_collections_list .collection
	{
		margin: 0.75rem 0;
	}

	div#library_home_collections_list .collection .title
	{
		left: 0;
	}

	div#library_home_collections_list .collection .count
	{
		margin: 0 0 0.5rem 0;
	}

	div#library_home_collections_list .collection input[type=checkbox],
	div#library_home_collections_list .collection .icon-open,
	div#library_home_collections_list .collection .icon-close
	{
		display: none;
	}
}
*/

div#library_search_inline
{
	margin: 2rem 0;
}

div#library_search_inline .df
{
	margin: 0.5rem 0;
}

div#library_search_inline input[type=text]
{
	height: 2rem;
	font-size: 100%;
}

div#library_search_inline select
{
	width: 100%;
	height: 2rem;
	font-size: 100%;
}

div#library_search_inline .buttons
{
	margin-top: 1rem;
	text-align: center;
}

div#library_search_inline .buttons input[type=submit]
{
	padding: 0.5rem;
}

@media (min-width: 1030px)
{
	div#library_search_inline
	{
		display: none;
	}
}

.results-header
{
	padding: 0.5rem 0;
}

#page_library-search .dv_list .criteria
{
	background-color: var(--mild-accent-color);
	padding: 0.5rem 1rem;
	border-radius: 6px;
	border-left: 4px solid rgba(0, 0, 0, 0.3);
	margin: 0.2rem 0;
}

#page_library-search .dv_list .document
{
	padding: 1rem 0;
	border-bottom: 1px solid #ccc;
}

#page_library-search .dv_list .document:last-child
{
	border-bottom: none;
}

#page_library-search .dv_list .document .title
{
	font-weight: bold;
	font-size: 110%;
	letter-spacing: -0.05rem;
}

#page_library-search .dv_list .document .author,
#page_library-search .dv_list .document .publisher,
#page_library-search .dv_list .document .date
{
	padding: 0.1rem 0;
	font-size: 90%;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* library collection */

#library-subcollections
{
	padding-top: 0.5rem;
}

/*
#library-subcollections .collection
{
	border-top: solid 1px #ccc;
	margin: 0.7rem 0;
	padding: 1rem 0 0.3rem 0;
	line-height: 130%;
}

#library-subcollections .title
{
	font-size: 115%;
	font-weight: bold;
}

#library-subcollections a:after
{
	content: ">";
	padding: 0 0.3rem;
	font-size: 85%;
	font-weight: bold;
	color: #9a0000;
}
*/

#library-collection-full .document
{
	clear: both;
	padding: 1.5rem 0 0.9rem 0;
	border-top: solid 1px #ddd;
	overflow: hidden;
}

#library-collection-full div.document a.cover
{
	float: left;
	margin-right: 1.1rem;
}

#library-collection-full div.document a.cover img
{
	width: 5rem;
}

#library-collection-full div.document ul.attachments li
{
	padding-top: 0.2rem;
	margin-left: 7.5rem;
}

#library-collections-sidebar
{
	background-color: #e6e6d6;
	padding: 0.5rem;
	font-weight: bold;
	font-size: 85%;
	line-height: 120%;
	margin-bottom: 2rem;
}

#library-collections-sidebar .collection
{
	border-bottom: solid 1px white;
	padding: 0.7rem 0.4rem;
}

#library-collections-sidebar .highlight
{
	background-color: white;
}

#library-collections-sidebar .collection:first-of-type
{
	padding-top: 0.5rem;
}

#library-collections-sidebar .collection:last-of-type
{
	border: none;
	padding-bottom: 0.5rem;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* library document */

.library-document-full .collection
{
	font-weight: bold;
	color: #808080;
}

.library-document-full div.header
{
	background-color: #e6e6d6;
	padding: 1.5rem;
	overflow: auto;
	position: relative;
}

.library-document-full div.header div.thumb
{
	float: left;
}

.library-document-full div.header div.thumb img
{
	margin-right: 1rem;
	background-color: white;
	padding: 2px;
	-moz-box-shadow: 0 0x 5px #555;
	-webkit-box-shadow: 0 0 5px #555;
	box-shadow: 0 0 5px #555;
	width: 125px;
	height: 166px;
}

.library-document-full div.header div.author
{
	color: #2f0000;
	font-weight: bold;
	font-size: 110%;
}

.library-document-full div.header div.publisher
{
	font-style: italic;
}

.library-document-full div.header div.pubdate
{
	font-weight: bold;
}

.library-document-full div.body
{
	margin-top: 20px;
}

.library-document-full .tags
{
	margin-top: 1.3rem;
}

.library-document-full .tag
{
	display: inline-block;
	font-size: 80%;
	background-color: #ddd;
	color: #333;
	border: solid 1px #ccc;
	border-radius: 0.4rem;
	padding: 0.1rem 0.3rem;
	margin: 0 0.05rem 0.3rem 0;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* video page */

#page_section_banners .library_video_banner
{
}

#page_section_banners div.search_banner form
{
	background-color: #e5e5e5;
	text-align: center;
	padding: 1.5rem 0;
}

#page_section_banners .search_banner form
{
	margin: 0 auto;
}

#page_section_banners .search_banner input[type=text]
{
	height: 2rem;
	background-color: white;
	width: 20rem;
	padding-left: 1rem;
	padding-right: 1rem;
	font-size: 120%;
}

#page_section_banners .search_banner input[type=submit]
{
	margin: 0 0.5rem;
}

@media (max-width: 1029px)
{
	#page_section_banners banner.carousel
	{
		display: none;
	}

	#page_section_banners .search_banner input[type=text]
	{
		width: 10rem;
	}
}

#page_library-videos #page_main
{
	background-image: none;
}

#smallvideolist_container
{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1rem;
}

#smallvideolist_container .video
{
	background-color: #1a4661;
	position: relative;
}

#smallvideolist_container .video .preview
{
	position: relative;
}

#smallvideolist_container .video .preview img
{
	width: 100%;
	display: block;
}

#smallvideolist_container .video .abstract
{
	color: white;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.95rem;
	line-height: 115%;
	padding: 0.75rem 1.25rem;
}

#smallvideolist_container .video .playvideo
{
	position: absolute;
	opacity: 0.85;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@media (min-width: 600px) and (max-width: 1029px)
{
	#smallvideolist_container
	{
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 599px)
{
	#smallvideolist_container
	{
		grid-template-columns: 1fr;
	}
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* sidebar list of peer subcollections */

nav.collection-peer-sidebar
{
	margin: 0 0 1.5rem 0;
}
