@charset "utf-8";

@-webkit-keyframes newPulse {
	from {
		color: rgba(153, 0, 0, 0);
	}
	50% {
		color: #900;
	}
	to {
		color: rgba(153, 0, 0, 0);
	}
}

html {
	background: white;
}

body {
	margin: 50px 0;
	text-align: center;
	color: black;
	background: white;
	font: 11px Verdana, sans-serif;
}

h1 {
	color: #669;
	text-shadow: 0px 0px 3px #3f3f3f;
	font: bold 60px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin-bottom: 0;
}

div.thing {
	text-shadow: 0px 0px 2px #3f3f3f;
	font: bold 20px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin-bottom: 1em;
	font-variant: small-caps;
}

h2 {
	color: #666;
}

#error h1 {
	color: #900;
}

footer {
	display: block;
	font: 9px Verdana, sans-serif;
	color: #666;
	border-top: 1px solid #eee;
	width: 500px;
	padding-top: 10px;
	margin: 10px auto;
	clear: both;
}

:link {
	color: #669;
}

:visited {
	color: #666;
}

:link:hover {
	color: #336;
}

:visited:hover {
	color: #333;
}

:link:active, :visited:active {
	color: #900;
}

.button:link img, .button:visited img {
	border-width: 3px;
	border-style: double;
}

.button {
	display: inline-block;
	-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

#toc {
	list-style-type: none;
	margin: 0 auto 20px;
	padding: 5px 0;
	width: 500px;
}

#topborder {
	width: 500px;
	border-top: 1px solid #eee;	
	margin: 0 auto;
}

section, .section {
	font-size: 10px;
	margin: 10px 4px;
	padding: 5px 20px 10px;
	text-align: left;
	clear: both;
	display: block;
}

.column {
	width: 50%;
	float: left;
}

section:target, section:hover, .section:target, .section:hover {
	border: 1px solid #eee;
	background: #f8f8f8;
	padding: 4px 19px 9px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

section ul, .section ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

section h2, .section h2 {
	font: bold 16px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #666;
	margin: 0;
	text-align: center;
	margin-bottom: .5em;
}

.segmentsection h2 {
	font: bold 16px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #666;
}

/*.section li {
	display: inline;
}*/

section li:before, .section li:before {
	font-family: 'Hiragino Kaku Gothic Pro', 'Osaka', 'Zapf Dingbats';
	content: '★ ';
}

section li.new, .section li.new {
  	color: #900;
	-webkit-animation-name: newPulse;
	-webkit-animation-duration: 2s;
	-webkit-animation-iteration-count: infinite;
}

section li.new:before, .section li.new:before {
	text-decoration: blink;
}

/*.section li:first-child:before {
	content: '';
}*/

form {
	text-align: left;
	margin: auto;
	width: 600px;
}

form dt {
	margin-top: 1ex;
	font-weight: bold;
	color: #666;
}

form dd {
	margin-left: 1em;
	margin-top: 1px;
}

#errors {
	text-align: left;
	margin: auto;
	width: 400px;
}

/* presentation-only */

.colorcap {
	color: #669;
}

.notice {
	font-weight: bold;
	color: #c00 !important;
	text-decoration: blink underline;
}

label {
	text-align: right;
	width: 80px;
	float: left;
	margin-right: 1ex;
	margin-top: .5ex;
}

header {
	display: block;
	text-rendering: optimizeLegibility;
}

footer :link img, footer :visited img {
	vertical-align: middle;
}

/* SEGMENTS */

ul.segmented {
	clear: both;
	width: auto;
	list-style-type: none;
	padding: 0;
	margin: 0 auto;
	font: 13px 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	position: relative;
	margin-left: 50%;
	background-color: white;
	width: 356px;
	left: -178px;
}

ul.segmented li {
	height: 22px;
	display: inline;
	float: left;
	width: auto;
	line-height: 22px;
	padding: 0;
	vertical-align: center;
	background-color: #eee;
	background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd));
	background: -moz-linear-gradient(top, #eee, #ddd);
	border: 1px solid #777;
	border-width: 1px 0;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

ul.segmented li:active {
	background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#eee));
	background: -moz-linear-gradient(top, #ccc, #eee);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

ul.segmented li :link, ul.segmented li :visited {
	height: 22px;
	float: left;
	width: 100px;
	line-height: 22px;
	padding: 0 8px;
	vertical-align: middle;
	text-decoration: none;
}

ul.segmented li.first {
	float: left;
	width: auto;
	line-height: 22px;
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	border-left-width: 1px;
}

ul.segmented li.first :link, ul.segmented li.first :visited {
	padding-right: 8px;
	padding-left: 10px;
	margin-left: 0;
	margin-right: 0;
}

ul.segmented li.last {
	height: 22px;
	width: auto;
	line-height: 22px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-right-width: 1px;
}

ul.segmented li.last :link, ul.segmented li.last :visited {
	height: 22px;
	padding-left: 8px;
	padding-right: 10px;
	margin-left: 0;
	margin-right: 0;
}

ul.segmented li:after {
	display: inline;
	float: left;
	width: 1px;
	height: 22px;
	font-size: 1px;
	line-height: 22px;
	padding: 0;
	background-color: #666;
	content:' ';
}

ul.segmented li.last:after {
	width: 0;
}

.segmentsection {
	clear: both;
	text-align: center;
	width: auto;
	margin-bottom: 1em;
}

.clear {
	clear: both;
}

#erroricon {
	background-image: url(../images/error.png);
	width: 234px;
	height: 205px;
	margin: auto;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
	#erroricon {
		background-image: url(../images/error@2x.png);
		background-size: 234px 205px;
	}
}
