body {
	/*background: url(grid.png) repeat-y center top;*/
	font: 16px/1.5 'Droid Sans', sans-serif;
	width: 940px;
	margin: 0 auto;
}

/*---headings---*/

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 24px;
    font-weight: bold;
}

h1 {
	font-size: 4.5em; /*72px → 72px ÷ 16px = 4.5em*/
	line-height: 1em;
}

h2 {
	font-size: 3em; /*48px → 48px ÷ 16px = 3em*/
	line-height: 1em;

}

h3 {
	font-size: 1.5em; /*24px → 24px ÷ 16px = 1.5em*/
	line-height: 1em;
}

p, ul, ol, pre, table, .section {
    margin-bottom: 24px;
}

.section p + p {
    text-indent: 1em;
    margin-top: -24px;
}

h2 + .section {
	margin-left: 60px
}

h3 + .section {
	margin-left: 60px
}

h4 + .section {
	margin-left: 60px;
}

h5 + .section {
	margin-left: 60px;
}

ol {
	list-style: decimal outside;
}

a:link {
	color: #FF5C43;
}

a:visited {
	color: #FF2019;
}

a[href]:hover {
	color: #FF2019;
}

a:active {
	color: #FF2019;
}

pre {
	font-family: 'Droid Sans Mono', monospace;
	font-size: 14px;
	line-height: 24px;
	background-color: #E5E5E5;
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap !important; /* Mozilla */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word;    /* IE 5.5+*/
}

code {
	font-family: 'Droid Sans Mono', monospace;
	font-size: 14px;
	line-height: 24px;
	background-color: #E5E5E5;
}

strong {
	font-weight: bold;
}

table {
	border: 0;
	border-collapse: collapse;
}

thead {
	background-color: #E5E5E5;
}

tr:nth-child(2n) {
	background-color: #E5E5E5;
}

th, td {
	text-align: center;
	vertical-align: middle;
}

th {
	height: 48px;
}

td {
	border-right: 1px solid;
	padding: 24px 5px;
}

td:last-child {
	border: 0;
}

#themes a[id^=theme], #examples a {
	cursor: pointer;
	text-decoration: none;
	display: block;
	float: left;
	margin: 0 3px 24px 0;
	text-align: center;
	line-height: 0;
}

#themes a[id^=theme] > img {
	border: 3px solid transparent;
}

#themes a > img, #examples a > img {
    margin: 0;
    padding: 0;
}

#themes span {
	display: block;
	line-height: 24px;
}

#themes a[id^=theme]:hover > img, #themes a[id^=theme].active > img {
	border: 3px solid #FF2019;
}

#browsers li {
    position: relative;
    background-image: expression(this.runtimeStyle.backgroundImage="none", this.innerHTML = '<img alt="" src="documentation/img/doc/browsers.png">'+this.innerHTML);
}

#browsers li:before, #browsers li img {
    content: url(../img/doc/browsers.png);
    position: absolute;
    top: 4px;
    clip: rect(0 16px 16px 0);
    left: -20px;
	line-height: 0;
}

#browsers .chrome:before, #browsers .chrome img {
    clip: rect(0 32px 16px 16px);
    left: -36px;
}

#browsers .ie:before, #browsers .ie img {
    clip: rect(0 48px 16px 32px);
    left: -52px;
}

#browsers .opera:before, #browsers .opera img {
    clip: rect(0 64px 16px 48px);
    left: -68px;
}

#browsers .safari:before, #browsers .safari img {
    clip: rect(0 80px 16px 64px);
    left: -84px;
}

.clear {
	clear: both;
}