/* Header */

#topbib_user_header {
	margin: 5px;
	padding: 0;
	box-sizing: border-box;
	display: flex;
}

#topbib_user_topbib_img {
	width: 87px;
	height: 87px;
}

#topbib_user_topbib_text {
	display: none;
}

#topbib_user_header_text {
	margin-left: 10px;
	margin-top: 10px;
	-ms-flex-grow: 1;
	-moz-flex-grow: 1;
	-webkit-flex-grow: 1;
	flex-grow: 1;
}

#topbib_user_header_maintitle {
	display: block;
	font-size: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #368;
}

#topbib_user_header_subtitle {
	display: block;
	font-size: 14px;
	color: #999;
	margin-top: 3px;
}

#topbib_user_header_griffith {
	margin-top: 3px;
	margin-right: 5px;
	outline: none;
}
	
#topbib_user_griffith_img {
	width: 198px;
	height: 65px;
}

#topbib_user_header_oxford {
	margin-right: 0px;
	outline: none;
}

#topbib_user_oxford_img {
	width: 87px;
	height: 87px;
}

@media only screen and (max-width: 800px) {
	#topbib_user_topbib_img {
		width: 40px;
		height: 40px;
	}
	#topbib_user_header_maintitle {
		font-size: 12px;
		letter-spacing: normal;
	}
	#topbib_user_header_subtitle {
		font-size: 12px;
		color: #999;
	}
	#topbib_user_griffith_img {
		width: 95px;
		height: 31px;
	}
	#topbib_user_oxford_img {
		width: 40px;
		height: 40px;
	}
}

@media only screen and (max-width: 600px) {
	#topbib_user_header {
		margin: 0;
	}
	#topbib_user_topbib_img {
		display: none;
	}
	#topbib_user_topbib_text {
		display: block;
		padding: 3px;
		background: #e99919;
		color: white;
		font-size: 90%;
	}
	#topbib_user_header_text {
		display: none;
	}
	#topbib_user_griffith_img {
		display: none;
	}
	#topbib_user_oxford_img {
		display: none;
	}
}

/* Links */
	
#topbib_user_links {
	margin: 5px;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	background: #368;
}

.topbib_user_link_padding {
	width: 10%;
}

.topbib_user_link {
	padding: 5px;
	color: white;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	width: 25%;
	max-width: 15em;
	font-size: 110%;
	border-top: 0;
	border-bottom: 0;
	border-right: 3px;
	border-left: 3px;
	border-style: solid;
	border-color: #368;
	text-align: center;
	text-decoration: none !important;
}
.topbib_user_link:hover {
	background: #e99919;
	border-color: white;
}
.topbib_user_link:focus {
	background: #d80;
	border-color: white;
	outline: none;
}

@media only screen and (max-width: 600px) {
	.topbib_user_link {
		font-size: 90%;
	}
}

#topbib_user_wrapper {
	flex: 1;
	display: flex;
	overflow: hidden;
}

.topbib_user_float {
	float: right;
	margin: 5px 0 10px 25px;
}

/* Record */

.topbib_user_record {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 5px;
	border: 3px;
	margin: 0 5px 0 5px;
	border-style: solid;
	border-color: gray;
	box-sizing: border-box;
	clear: both;
	overflow-x: auto;
	overflow-y: auto;
	min-height: 0;
}

.topbib_user_body {
	flex: 1;
	padding-left: 15px;
	padding-right: 15px;
	overflow-x: auto;
	overflow-y: auto;
	min-height: 0;
}

.topbib_user_body h1 {
	color: #368;
}

.topbib_user_body h2 {
	color: #f80;
}

.topbib_user_body p {
	margin-bottom: 0px;
}

#topbib_user_viewer_wrapper {
	flex: 2;
}

#topbib_user_viewer {
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	margin-right: 10px;
}

#topbib_user_pdf_viewer {
	z-index: 5;
}

/* Footer */

#topbib_user_footer {
	margin: 5px;
	padding: 5px;
	box-sizing: border-box;
	display: flex;
	flex-direction: row-reverse;
	background: #368;
	color: white;
	font-size: 90%;
}

#topbib_user_copyright {
	margin-right: 5px;
}
