html, body {
    height: 100%;                                                                  
}

/* HTML5 tags */
header,hgroup,footer,nav,aside,section, article { 
	display: block; 
}

/* Typography */

*, body {
	margin: 0;
	padding: 0;
}

body {
	font-size: 100%;
	font-family: ff-tisa-web-pro, Georgia, Times, serif;
		/* font-family: etica, helvetica, arial, sans-serif; */
    line-height: 1.6;   
	background: #2d2d2d;
	color: #fff;
    margin: 0 5% 0 5%;
    padding: 200px 0 0 0;
}

/* h1, h2,  */h3, h4, .nav, .buy, .button, .posted,
.basket, .toolbar, .icon {
	font-family: etica, helvetica, arial, sans-serif;
}

h1 {
	color: #999;
	font-size: 2.25em;
	font-weight: 600;
}

h2 {
	font-size: 1.8em;
	margin: 0 0 1.4em 0;
	color: #fff;
	font-weight: 400;
}

h2 i {
	font-style: normal;
	font-family: Helvetica, Arial, sans-serif;
	color: #999;
	margin: 0 0.2em;
	font-size: 1em;
	font-weight: 400;
}

h2 a {
	font-weight: 400;	
	font-size: 0.8em;
}

h3 {
	font-size: 1.2em;
	margin: 0 0 0.5em 0;
	font-weight: 500;
	color: #999;
}

p+h3{
	margin: 2em 0 0.5em 0;
}

h3 span {
	color: #c6c6c6;
}

b, strong {
	font-weight: 700;
}

a {
	color: #ffd829;
	font-weight: 600;
	text-decoration: none;
}

ul {
	list-style-type: none;
}

p {
	margin: 0.5em 0;
	font-weight: 300;
}

p.intro {
	margin: 2em 0;
	font-size: 1.1em;
}

cite {
	text-align: right;
}

.posted {
	font-size: 0.8em;	
	color: #999;
}

code {
	font-family: Inconsolata, Consolas, Monaco, monospace;
	font-weight: normal;
	font-size: 1em;
}

.copyright {
	padding: 0 0 1.5em 0;
	font-size: 0.8em;
	color: #ccc;
}

/* End of Typography */

#fss-logo {
	position: absolute;
	top: 0;
	right: 8%;
	z-index: 1;
}


.logo a {
	position: absolute;
	top: 20px;
	left: 5%;
	right: 5%;
	height: 160px;
	display: block;
}

.logo img {
	display: block;
	height: 100%;
	width: auto;
	margin: 0 auto;
}

.nav ul {
	list-style-type: none;
	margin: 0 auto 2em auto;
 	max-width: 44em;
 }

.nav ul:before,
.nav ul:after {
    content:"";
    display:table;	
} 

.nav ul:after {
	clear: both;
}

.nav li {
	list-style-type: none;
	float: left;
	width: 25%;
}

.nav li a {
	display: block;
	font-size: 0.9em;
	line-height: 1;
	color: #B3B3B3;	
	text-align: center;
	width: 88%;
	max-width: 140px;
	margin: 0 auto 1.5em auto;
} 

.nav li a:hover {
	color: #fff;
}

.nav li a i {
	background-color: #ffd829;
	background-position: center center;
	display: block;
	border-radius: 50%;
	padding: 100% 0 0 0; /* maintains the aspect ratio! */
	margin: 0 0 0.45em 0;
}

.nav li a:hover i {
	background-color: #f1f1f1;
}

/* Highlight Current Section */

.book .icon-book i,
.reference .icon-reference i,
.blog .icon-blog i,
.downloads .icon-downloads i {
	background-color: #fff;
}

.book .icon-book,
.reference .icon-reference,
.blog .icon-blog,
.downloads .icon-downloads {
	color: #fff;
}

#content {
 	padding: 0 0 3em 0;  
 	max-width: 44em;
 	margin: 0 auto;
}
 
.footer {
	color: #bbb;
	text-align: center;
}

.buy {
	text-align: center;
	display: inline-block;
	background: #ffd829;
	color: #000;
	line-height: 1.4;
	margin: 0.5em 0;
	padding: 0.4em 1em;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.8), inset 0 0 1px rgba(255,255,255,0.5);
}

h2 span {
	display: block;
}

/* ============ */
/* ! Examples   */
/* ============ */


section, article {
	padding: 2em 0;
	border-top: 1px solid #666;
	}

/* Shopping Basket example */

.basket {
	text-align: right;
}

.basket a {
	color: #f7c353;
}

/* Toolbar example */

.toolbar {
	font-weight: 600;
	list-style-type: none;
	background: #eee;
	background: -o-linear-gradient(#eee,#ddd); /* Opera */
	background: -moz-linear-gradient(top, #eee 0%, #ddd 100%); /* Firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#ddd)); /* Webkit */
	overflow: hidden;
	border-radius: 6px;
	border: 1px solid rgba(0,0,0,0.9);
	margin: 1em 0;
	text-align: center;
	box-shadow: inset 1px -1px 0 rgba(255,255,255,0.5),  inset 0 1px 0 #fff, 0 2px 4px rgba(0,0,0,0.3);
}

.toolbar.mask {
background-color: #e1e1e1;
background-image: -webkit-gradient(linear, left top, left bottom, from(#e1e1e1), to(#8d8d8d));
background-image: -webkit-linear-gradient(top, #e1e1e1, #8d8d8d);
background-image: -moz-linear-gradient(top, #e1e1e1, #8d8d8d);
background-image: -o-linear-gradient(top, #e1e1e1, #8d8d8d);
background-image: linear-gradient(top, #e1e1e1, #8d8d8d);
	box-shadow: inset 1px -1px 0 rgba(255,255,255,0.3),  inset 0 1px 0 #fff, 0 2px 4px rgba(0,0,0,0.05);
}

.toolbar.fake {
	background: #eee url(/reference/examples/imagemask/fake/grad.png) repeat-x left center;
}

.toolbar li,
.player li {
	display: inline-block;
}

.toolbar a{
	float: left:
	display: block;
	margin: 0 0.5em;
	color: #555;
	padding: 1em 0.5em;
	line-height: 2.5em;
	text-shadow: 0 1px 0 #fff;
}

.toolbar.mask a, .toolbar.fake a{
	line-height: 3em;
	padding: 1em;
	color: #333;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.toolbar a:hover {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666), color-stop(100%,#333)); /* Webkit */
	color: #fff;
	text-shadow: 0-1px 0 rgba(0,0,0,0.5);	
}

.player {
background: #404e6d; /* Old browsers */
background: -moz-linear-gradient(top, #404e6d 1%, #1f384f 50%, #192c3f 50%, #000000 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#404e6d), color-stop(50%,#1f384f), color-stop(50%,#192c3f), color-stop(100%,#000000)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #404e6d 1%,#1f384f 50%,#192c3f 50%,#000000 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #404e6d 1%,#1f384f 50%,#192c3f 50%,#000000 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #404e6d 1%,#1f384f 50%,#192c3f 50%,#000000 100%); /* IE10+ */
background: linear-gradient(top, #404e6d 1%,#1f384f 50%,#192c3f 50%,#000000 100%); /* W3C */

	border-radius: 6px;
	border: 1px solid rgba(0,0,0,0.9);
	padding: 3px 12px;
	position: relative;
	height: 28px;
	box-shadow: inset 1px -1px 0 rgba(255,255,255,0.2),  inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.3);
}

.right {
	position: absolute;
	right: 12px;
	top: 3px;
}

.bigass {
	overflow: hidden;
}

.button {
	height: 36px;
	font-weight: 600;
	background: -webkit-linear-gradient(top, #fff, #ddd); /* Opera */
	background: -moz-linear-gradient(top, #fff 0%, #ddd 100%); /* Firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#ddd)); /* Webkit */
	overflow: hidden;
	border-radius: 6px;
	border: 1px solid rgba(0,0,0,0.6);	
	padding: 0 1em;	
	width: 220px;	
	margin: 1em auto;
	box-shadow: inset 1px -1px 0 rgba(255,255,255,0.5),  inset 0 1px 0 #fff, 0 2px 4px rgba(0,0,0,0.3);}
		
.button a {
	display: block;
	padding: 0 36px 0 0;
	height: 36px;
	line-height:36px;
	color: #444;
	text-decoration: none;	
	font-size: 1em;
}

/* ============ */
/* ! Chart      */
/* ============ */


.used img {
	margin: 0.5em ;
	vertical-align: middle;
}


table {
	width: 100%;
	border-collapse: collapse;
	table-layout:fixed;
	margin: 0 0 3em 0;
}

td {
	padding: 0.25em 0.5em;
	vertical-align: top;
	font-size: 0.875em;
}

td h2 {
	margin: 0 0 3em 0;
	font-size: 24px;
	line-height: 1em;
}

tr+tr>td h2 {
	margin: 3em 0 0.5em 0;
}

td h3{
	color: #888;
	font-size: 1em;
	margin: 0.75em 0;
	border-bottom: 1px solid #666;
	padding: 0 0 0.5em 0;
	line-height: 16px;
}
 
td p {
	margin: 0 0 0.5em 0;
}

th {
	padding: 0.25em 0.5em;
	font-weight: bold;
	text-align: left;
	vertical-align: top;
	background: rgba(255,255,255,0.3);
	color: #000;
}

pre {
	overflow: auto;
	margin: 0.75em 0;
	padding: 0.75em;
	border-radius: 6px;
	background: rgba(0,0,0,0.2);
	border: 1px solid rgba(255,255,255,0.1);
}

span.guide {
	float: right;
	font-size: 0.875em;
	line-height: 16px;
	margin: 0 0 0 2em;
}

p.guide {
	margin: 0 0 1.5em 0;
	text-align: right;
}

.guide a{
	display: inline-block;
	background-position: left center;
	padding: 0 0 0 1.6em;
}

.book #content img {
	max-width: 100%;
	height: auto;
	margin: 1em 0;
	box-shadow: 0 1px 8px rgba(0,0,0,0.1), 0 0 1px rgba(0,0,0,0.1);
}

.home #content img {
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 10px 0 0 0;
}

.downloads {
	list-style-type: disc;
	padding: 0 0 0 2em;
}

.downloads li {
	margin: 0 0 0.5em 0;
}

/* ============ */
/* ! Blog       */
/* ============ */

.date {
	color: #666;
}

#followontumblr,
.submit,
#search-scope {
	display: none;
}

.query {
	background: #000;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.2);
	font-size: 0.875em;
	padding: 4px px;
	line-height: 1;
	color: #666;
}


.iconsizes {
	overflow: hidden;
	padding: 10px;
}

.icon {
	float: left;
	background: #fff;
	box-shadow: 0 1px 8px rgba(0,0,0,0.1), 0 0 1px rgba(0,0,0,0.1);
	margin: 0 10px 10px 0;
	font-size: 0.8em;
	padding: 10px;
	box-sizing: border-box;
}

.icon h3 {
	font-size: 0.875em;
	color: #000;
	font-weight: bold;
	margin: 0 0 6px 0;
	line-height: 1.2;
}

.icon p {
	margin: 0;
}

.icon span {
	display: block;
}

.icon sup {
	color: #999;
}



@media screen and (min-width: 720px) and (min-height:640px) {

body {
    margin: 60px 5% 0 32%;
    padding: 0;
}

.nav {
	position: fixed;
	top: 60px;
	width: 22%;
	max-width: 16em;
	left: 5%;
}

.nav li {
	width: 50%;
}

.logo a {
	position: static;
	height: auto;
	margin: 0 0 40px 0;
	height: auto;
	width: 100%;
}

.logo a img {
	height: auto;
	width: 100%;
	margin: 0;
}

.buy {
	display: block;
}

#content {
	margin: 0;
	position: relative;
}

.footer {
	position: fixed;
	left: 5%;
	width: 22%;
	max-width: 16em;
	bottom: 10px;
	text-align: left;
}

@media screen and (min-width: 1800px) {
body {
	font-size: 110%;
}}

}	
