/*
 * Styles common across all devices and resolutions.
 */

/*resets, html5shims, and generic values*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dd, ul, li, 
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin:0; border:0; padding:0;
	vertical-align:baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display:block;
}
i,em     { font-style:italic;  font-weight:inherit; }
b,strong { font-style:inherit; font-weight:bold;    }

ul {
	margin-left:1em;
	padding-left:1.5em;
}

body {
	background:#fff;
	font:13px/18px Arial,'Droid Sans','Helvetica Neue',Helvetica,sans-serif;
	max-width:800px;
	margin:0 auto;
	padding:1em;
	color:#333;
}
body.narrow {
	max-width: 640px;
}
body.wide {
	max-width:1080px;
}
h1,p {
	margin: 1em 0;
}
#masthead {
	display:block;
	height:50px;
	overflow:hidden;
}
#qut {
	background:url(/img/logo-20170106) no-repeat scroll 0 0 transparent;
	width:280px; height:50px;
	display:block;
	float:left;
	text-indent:-99999px;
	outline:none; border:none;
}
#library {
	background:url(/img/librarylogo) no-repeat scroll 0 0 transparent;
	width:250px; height:50px;
	display:block;
	float:right;
	text-indent:-99999px;
	outline:none; border:none;
}
@media only screen and (max-width:573px) {
	body{padding:0.5em 0.25em}
	#qut{display:none}
	#library{background-image:url(/img/logo-20170106);width:250px;display:block;float:none}
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution:192dpi),
       only screen and (min-resolution:2dppx) {
	#qut{background-image:url(/img/logo-2x-20170106);background-size:250px 50px}
	#library{background-image:url(/img/librarylogo-2x-20141022);background-size:250px 50px}
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width:573px),
       only screen and (min-resolution:192dpi) and (max-width:573px),
       only screen and (min-resolution:2dppx) and (max-width:573px) {
	#library{background-image:url(/img/logo-2x-20170106);background-size:250px 50px}
}
