/* Customizable value */

header .banner {
	background-color: #ffffff;
}

*,
.reset,
.reset * {
	color: #293645;
	font-family: sans-serif;
	font-family: Helvetica;
}
.reset {
	background: initial;
}

.themed-background,
nav.themed-background > div {
	background-color: #293645;
}
.themed-background,
.themed-background * {
	color: #edede9;
}
.themed-border {
	border-color: #293645;
}


.themed-background-highlight,
nav.themed-background-highlight > div,
.themed-background-when-hovered-highlight:hover,
.themed-background-when-selected-highlight.selected {
    background-color: #316b7d;
}
.themed-background-highlight,
.themed-background-highlight *,
.themed-background-when-hovered-highlight:hover,
.themed-background-when-hovered-highlight:hover *,
.themed-background-when-selected-highlight.selected,
.themed-background-when-selected-highlight.selected * {
	color: #edede9;
}
.themed-border-highlight {
	border-color: #316b7d;
}


/*************************/
/* Social Media Links */
input.social {
	display: block;
	width: 100%;
	height: 2rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	border: none;
	border-bottom: ridge 2px;
	outline: none;
}
input.social:focus {
	border-bottom-style: solid;
}

/*************************/

.table {
	display: table;
	height: 100%;
	width: 100%;
}
.table-row { 
	display: table-row; 
}
.table-cell { 
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
.table-content {
	display: inline-block;
}

.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-box;
    display: -ms-box;
    display: flex;
}
.inline-flex {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -webkit-inline-box;
    display: -ms-inline-box;
    display: inline-flex;
}

.no-select {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*************************/

main {
	position: absolute;
	overflow-x: hidden;
	overflow-y: auto;
	height: 100%;
	width: 100%;
}

header, nav {
	overflow: hidden;
}

nav a {
	color: inherit;
	cursor: pointer;
	text-decoration: inherit;
}
nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
nav li {
	display: inline-block;
	vertical-align: middle;
}

nav.secondary-nav li + li:before {
	content: '|';
	display: inline-block;
	text-align: center;
	width: 1em;
}

button {
	border: none;
	padding: 0.25rem 0.5rem;
}


/* Page layout */

body {
	margin: 0;
}
header {
	height: 6.2rem;
	overflow: visible;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1; /* higher than record-details multimedia elements */
}
header > .wrapper {
	height: 3rem;
}

nav {
	line-height: 3.2rem;
}
nav, nav li, #site-logo a {
	height: 3.2rem;
}

header .banner {
	box-sizing: border-box;
	height: 100%;
	padding: 0.5em 1em;
}
header .banner > * {
	display: block;
	position: relative;
}

#banner-search {
	display: none;
	height: 100%;
}

/* holder needs to be positioned absolute and it's parents
** positioned initial or absolute to allow
** alignment and overflow of drop down list.
** As such, holder needs to mimic the padding right
** set by it's ancestor.
*/
#banner-search > .holder {
	right: 1em;
}
#menu-search > .holder {
	height: 1.75em;
	margin: 0.5em 0;
	right: 0.25em;
	max-width: calc(75% - 0.25em);
}
#menu-search {
	display: inline-block;
	line-height: 1rem;
}

#department-logo {
	height: 100%;
}
#department-logo img {
	height: auto;
	display: block;
	max-height: 100%;
	width: auto;
}

body > .wrapper {
	margin-top: 6.2rem;
	min-height: calc(100vh - 6.2rem);
	overflow: hidden;
	position: relative;
}

#nav-hamburger-menu, #menu-search {
	box-sizing: border-box;
	padding: 0 0.25rem;
	vertical-align: middle;
}
#nav-hamburger-menu {
	text-align: left;
	width: calc(25% - 0.25rem);
}
#menu-search {
	height: 3.2rem;
	right: 0;
	width: calc(75% - 0.25rem);
}

.keyword-search {
	text-align: right;
}
#navlist li {
	display: inherit;
	display: list-item;
}

#lbImage #lbNextLink:hover
{
	background-image: url(../imu/request.php?request=Image&name=pager-right);
	background-size: 2em;
}
#lbImage #lbPrevLink:hover
{
	background-image: url(../imu/request.php?request=Image&name=pager-left);
	background-size: 2em;
}

@media screen and (min-width: 700px)
{
	nav {
		line-height: 2.8rem;
	}
	nav, nav li, #site-logo a {
		height: 2.8rem;
	}

	main {
		min-height: 100%;
	}
	header {
		height: 9.75rem;
	}
	header > .wrapper {
		height: 7rem;
	}

	body > .wrapper {
		margin-top: 9.75rem;
		min-height: calc(100vh - 9.75rem);
	}

	#nav-hamburger-menu {
		display: none;
	}

	header .banner > * {
		display: inline-block;
		vertical-align: middle;
		width: calc(50% - 0.25em);
	}

	#banner-search {
		display: inline-block;
	}
	#menu-search {
		display: none;
		height: 2.75rem;
	}

	#navlist li {
		display: inline-block;
	}
	#navlist a {
		line-height: 2.25rem;
	}
	
	#banner-search > .holder {
		top: calc(50% - 1em);
	}
}
