html {
	margin: 0;
	padding: 0;
	background: url(graphics/background.png) center top repeat;
}

body {
	margin: 0;
	padding: 0;
	background: url(graphics/background_header.png) center top repeat-x;
	font-family: "HelveticaNeue-Light", "helvetica neue light", "helvetica neue", helvetica, arial, sans-serif;
	font-size:62.5%;
	color: #a9cedf;
	padding-top: 20px;
}

img {
	border: none;
}

#wrapper {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.8em;
	line-height: 1.3em;
	text-shadow: 1px 1px 0px #123;
}

a {
	color: #60b9f9;
	text-decoration: none;
}

a:hover {
	color: #80d9ff;
}



/* header */

div#header {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
}

div#header > h1 {
	height: 32px;
	padding: 20px 0px 4px 80px;
	font-size: 30px;
	font-weight: normal;
	background-repeat: no-repeat;
	margin-left: -8px;
}
div#header > h1#home {
	background-image: url(graphics/icon_xscope.png);
}
div#header > h1#mirror {
	background-image: url(graphics/icon_mirror.png);
}
div#header > h1#dimensions {
	background-image: url(graphics/icon_dimensions.png);
}
div#header > h1#rulers {
	background-image: url(graphics/icon_rulers.png);
}
div#header > h1#screens {
	background-image: url(graphics/icon_screens.png);
}
div#header > h1#loupe {
	background-image: url(graphics/icon_loupe.png);
}
div#header > h1#guides {
	background-image: url(graphics/icon_guides.png);
}
div#header > h1#frames {
	background-image: url(graphics/icon_frames.png);
}
div#header > h1#crosshair {
	background-image: url(graphics/icon_crosshair.png);
}
div#header > h1#general {
	background-image: url(graphics/icon_general.png);
}
div#header > h1#smarttools {
	background-image: url(graphics/icon_smarttools_big.png);
}
div#header > h1#new {
	background-image: url(graphics/icon_xscope.png);
}
div#header > h1 a {
	float: right;
}


/* home */

body.home div#header h1 {
	width: 234px;
	height: 0px;
	padding: 48px 0px 0px 0px;
	background: url(graphics/header_home.png) left top no-repeat;
	overflow: hidden;
	margin-left: 0px;
	line-height: 2.0em;
}


body.home p {
	clear: both;
	margin: 0px 0px 19px 0px;
	padding: 0px;
	text-shadow: 1px 2px 0px #123;
	color: #fff;
}

body.home div.tools {
	width: 796px;
	height: 194px;
	background: url(graphics/background_tools.png) center top no-repeat;
	background-size: 796px;
	line-height: 1.0em;
}

body.home div.tools p {
	clear: both;
	padding: 24px 0px 2px 0px;
	margin: 0px;
	text-align: center;
	color: #576788;
	font-size: 0.8em;
}

ul.toolbar {
	list-style-type: none;
	margin: 0px;
	padding: 14px 0px 0px 0px;
}
div#details ul.toolbar li {
	margin: 0px 0px 0px 10px;
	padding: 0px 0px 0px 0px;
	width: 88px;
	height: 88px;
	float: left;
	font-size: 0.8em;
	text-align: center;
}
ul.toolbar li.mirror {
	background: url(graphics/icon_mirror.png) center 2px no-repeat;
}
ul.toolbar li.dimensions {
	background: url(graphics/icon_dimensions.png) center top no-repeat;
}
ul.toolbar li.rulers {
	background: url(graphics/icon_rulers.png) center top no-repeat;
}
ul.toolbar li.screens {
	background: url(graphics/icon_screens.png) center top no-repeat;
}
ul.toolbar li.loupe {
	background: url(graphics/icon_loupe.png) center top no-repeat;
}
ul.toolbar li.guides {
	background: url(graphics/icon_guides.png) center top no-repeat;
}
ul.toolbar li.frames {
	background: url(graphics/icon_frames.png) center top no-repeat;
}
ul.toolbar li.crosshair {
	background: url(graphics/icon_crosshair.png) center top no-repeat;
}
ul.toolbar li.general {
	background: url(graphics/icon_general.png) center top no-repeat;
}

ul.toolbar li:hover {
	background-position: center -88px;
}

ul.toolbar li.mirror:hover {
	background-position: center -86px;
}


ul.toolbar a, ul.toolbar a:visited, ul.toolbar a:active, ul.toolbar a:hover {
	display: block;
	padding: 68px 0px 0px 0px;
	width: 88px;
	height: 16px;
	color: #fff;
}





ul.extras {
	list-style-type: none;
	margin: 0px;
	padding: 10px 0px 0px 0px;
}
div#details ul.extras li {
	margin: 0px 0px 0px 29px;
	padding: 1px 0px 0px 26px;
	height: 24px;
	float: left;
	font-size: 16px;
	text-align: center;
}

ul.extras li.smarttools {
	background: url(graphics/icon_smarttools.png) left top no-repeat;
}

ul.extras li.access {
	background: url(graphics/icon_toolbarsetup.png) left top no-repeat;
}

ul.extras li.menubar {
	background: url(graphics/icon_menubaricons.png) left top no-repeat;
}

ul.extras li.hotkeys {
	background: url(graphics/icon_hotkeys.png) left top no-repeat;
}

ul.extras li.keyboard {
	background: url(graphics/icon_keyboardshortcuts.png) left top no-repeat;
}

ul.extras li a:hover {
	color: #80d9ff;
}



body.home div.tools + p {
	text-align: center;
	color: #8dbee0;
	font-size: 1.5em;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica-Light", "helvetica light", "helvetica neue", helvetica, arial, sans-serif;
	margin: 24px 0px 10px 0px;
}



ul.tasks {
	width: 810px;
	list-style-type: none;
	margin: 0px;
	padding: 10px 0px 0px 0px;
}
div#details ul.tasks li {
	width: 259px;
	height: 140px;
	margin: 0px 9px 0px 0px;
	padding: 0px;
	float: left;
}

ul.tasks li a {
	display: block;
	width: 259px;
	height: 0px;
	padding: 140px 0px 0px 0px;
	overflow: hidden;
}

ul.tasks li.measuring a {
	background: url(graphics/tasks_measuring.png) left top no-repeat;
	background-size: 259px;
}

ul.tasks li.inspecting a {
	background: url(graphics/tasks_inspecting.png) left top no-repeat;
	background-size: 259px;
}

ul.tasks li.testing a {
	background: url(graphics/tasks_testing.png) left top no-repeat;
	background-size: 259px;
}



div.retina p {
	text-align: center;
	padding-top: 20px;
}


/* retina page */

body.retina div#header {
	margin-bottom: 44px;
}

h2 {
	text-align: left;
	font-size: 1.4em;
	font-weight: normal;
	color: #fff;
	margin: 60px 0px 0px 40px;
}


/* overview section */

div#overview {
	font-size: 1.4em;
	width: 814px;
	margin-left: auto;
	margin-right: auto;
}


/* screenshot section */

div#screenshot {
	color: yellow;
}

div#screenshot img {
	border: 1px solid #000;
	box-shadow: 0px 4px 8px #234;
}




/* details section */

body:not(.home) div#details {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-top: 30px;
}

body:not(.home) div#details p, body:not(.home) div#details ol, body:not(.home) div#details ul {
	max-width: 740px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

body:not(.home) div#details p {
	max-width: 720px;
}

div#details ol li, div#details ul li {
	margin-left: 20px;
	margin-bottom: 14px;
}


span.menuitem { /* used for text that references a menu item */
	color: #fff;
	font-weight: bold;
}

span.button { /* used for text that references a button */
	color: #fff;
	font-weight: bold;
}


/* options box */

ul.options {
	background: url(graphics/blackbox_middle.png) center top repeat-y;
	background-size: 740px;
	padding: 0px 60px 0px 56px;
	margin: 30px 0px 30px 0px;
	list-style-type: none;
}

ul.options:before {
	display: block;
	content: "";
	background-image: url(graphics/blackbox_top.png);
	background-size: 740px;
	position: relative;
	width: 740px;
	height: 12px;
	top: -12px;
	left: -26px;
}

ul.options:after {
	display: block;
	content: "";
	background-image: url(graphics/blackbox_bottom.png);
	background-size: 740px;
	position: relative;
	width: 740px;
	height: 12px;
	top: 12px;
	left: -26px;
}

div#details ul.options li {
	padding: 0px 0px 0px 24px;
	margin: 0px 0px 40px 0px;
	background: url(graphics/icon_arrow.png) 0px 5px no-repeat;
}

ul.options li:last-child {
	margin-bottom: 14px;
}

ul.options h2 {
	font-size: 1.4em;
	font-weight: normal;
	margin: 10px 0px 0px 0px;
	color: #fff;
}

ul.options li p {
	margin: 8px 0px 14px 0px;
}



/* tip box */

div.tip {
	background: url(graphics/tipbox_middle.png) center top repeat-y;
	background-size: 740px;
	padding: 0px 60px 0px 56px;
	margin: 30px 0px 30px 0px;
}

div.tip:before {
	display: block;
	content: "";
	background-image: url(graphics/tipbox_top.png);
	background-size: 740px;
	position: relative;
	width: 740px;
	height: 12px;
	top: -12px;
	left: -26px;
}

div.tip:after {
	display: block;
	content: "";
	background-image: url(graphics/tipbox_bottom.png);
	background-size: 740px;
	position: relative;
	width: 740px;
	height: 12px;
	top: 12px;
	left: -26px;
}

div.tip h2 {
	font-size: 1.4em;
	font-weight: normal;
	margin: 10px 0px 0px 0px;
	color: #fff;
	text-align: left;
}


div#details div.tip ul li, div#details div.tip ol li {
	margin: 0px 0px 14px 0px;
}




div.figure { /* used to show a screenshot (other than the main screenshot at the top of the page) */
	padding: 20px 0px 20px 0px;
}

div.figure img { /* the image for the figure */
	margin-left: auto;
	margin-right: auto;
	display: block;
	border: 1px solid #000;
	box-shadow: 0px 4px 8px #234;
}

div#details div.figure p { /* the caption for the figure */
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 0.8em;
	font-style: italic;
	margin-top: 4px;
	color: #a9cedf;
}

div.container { /* a container for a table of data -- see keyboard.html */
	margin: 20px;
	padding: 0;
}
div.container table {
	text-align: left;
	width: 100%;
	border: #667 solid 1px;
	border-spacing: 0;
	-webkit-border-radius: 12px;
	background-color: rgba(0,0,0,0.3);
}
div.container th {
	padding: 3px 10px 3px 10px;
	border-bottom: #667 solid 1px;
	background-color: rgba(0,0,0,0.2);
	-webkit-border-top-right-radius: 12px;
}

div.container th.key {
	text-align: center;
	-webkit-border-top-left-radius: 12px;
	-webkit-border-top-right-radius: 0px;
}

div.container  td  {
	padding: 3px 10px 3px 10px;
}
div.container td.key {
	text-align: center;
	width: 160px;
}
div.container tr.divider td {
	border-top: #667 solid 1px;
}


/* footer */

div#footer {
	background: url(graphics/background_footer.png) center top no-repeat;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 20px 0px 6px 0px;
}



/* retina background images for certain graphics that have fiddly small details */

@media screen and (-webkit-min-device-pixel-ratio: 2) {

	body.home div#header h1 {
		background: url(graphics/header_home_retina.png) left top no-repeat;
		background-size: 234px;
	}
	
	
	div#details ul.options li {
		background: url(graphics/icon_arrow_retina.png) 0px 2px no-repeat;
		background-size: 16px;
	}

	ul.extras li.smarttools {
		background: url(graphics/icon_smarttools_retina.png) left top no-repeat;
		background-size: 21px;
	}
	
	ul.extras li.access {
		background: url(graphics/icon_toolbarsetup_retina.png) left top no-repeat;
		background-size: 22px;
	}
	
	ul.extras li.menubar {
		background: url(graphics/icon_menubaricons_retina.png) left top no-repeat;
		background-size: 19px;
	}
	
	ul.extras li.hotkeys {
		background: url(graphics/icon_hotkeys_retina.png) left top no-repeat;
		background-size: 18px;
	}
	
	ul.extras li.keyboard {
		background: url(graphics/icon_keyboardshortcuts_retina.png) left top no-repeat;
		background-size: 18px;
	}



	div#header > h1#mirror {
		background-image: url(graphics/icon_mirror_retina.png);
		background-size: 76px;
	}
	div#header > h1#dimensions {
		background-image: url(graphics/icon_dimensions_retina.png);
		background-size: 76px;
	}
	div#header > h1#rulers {
		background-image: url(graphics/icon_rulers_retina.png);
		background-size: 76px;
	}
	div#header > h1#screens {
		background-image: url(graphics/icon_screens_retina.png);
		background-size: 76px;
	}
	div#header > h1#loupe {
		background-image: url(graphics/icon_loupe_retina.png);
		background-size: 76px;
	}
	div#header > h1#guides {
		background-image: url(graphics/icon_guides_retina.png);
		background-size: 76px;
	}
	div#header > h1#frames {
		background-image: url(graphics/icon_frames_retina.png);
		background-size: 76px;
	}
	div#header > h1#crosshair {
		background-image: url(graphics/icon_crosshair_retina.png);
		background-size: 76px;
	}
	div#header > h1#general {
		background-image: url(graphics/icon_general_retina.png);
		background-size: 76px;
	}
	div#header > h1#smarttools {
		background-image: url(graphics/icon_smarttools_big_retina.png);
		background-size: 76px;
	}
	
	
	
	
	
	ul.toolbar li.mirror {
		background: url(graphics/icon_mirror_retina.png) center 2px no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.dimensions {
		background: url(graphics/icon_dimensions_retina.png) center top no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.rulers {
		background: url(graphics/icon_rulers_retina.png) center top no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.screens {
		background: url(graphics/icon_screens_retina.png) center top no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.loupe {
		background: url(graphics/icon_loupe_retina.png) center top no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.guides {
		background: url(graphics/icon_guides_retina.png) center top no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.frames {
		background: url(graphics/icon_frames_retina.png) center top no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.crosshair {
		background: url(graphics/icon_crosshair_retina.png) center top no-repeat;
		background-size: 76px;
	}
	ul.toolbar li.general {
		background: url(graphics/icon_general_retina.png) center top no-repeat;
		background-size: 76px;
	}
	
	
	ul.toolbar li:hover {
		background-position: center -88px;
	}


}





/* TBD */

/*

div.section {
	margin: 20px 0 20px 0;
}

div.section h2 {
	font-size: 12px;
}
*/

