html, body.demo {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 11px;
	color: #fff;
	overflow: hidden;
}

a {
	color: #444;
	text-decoration: none;
	
}

a:active {
	position: relative;
	top: 1px;
}

img {
	border: none;
}

p, ul {
	margin: 0;
	padding: 0;
	border:0;
	list-style:none;
}

.demo-table {
	width: 100%;
	height: 100%;
	border-collapse: collapse;
	table-layout: static;
}

.demo-table tr,
.demo-table td {
	margin: 0;
	padding: 0;
}

.demo-header {
	position: relative;
	padding: 0 10px;
	background: url(_i/bg-demo-bar.png) repeat-x left top;
}

.header-wrap {
	width: 960px;
	margin: 0 auto;
	padding-right: 10px;
}

/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	
	.header-wrap {
		width: 925px;
		padding-right: 35px;
	}	
	
}

/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {

	.header-wrap {
		width: 925px;
		padding-right: 35px;
	}
	
}

.demo-content {
	height: 100%;
	overflow: hidden;
	vertical-align: top;
}

.demo-iframe {
	width: 100%;
	height: 100%;
	margin-bottom: -1px;
	border-width: 0;
	background: #fff url(_i/bg-loading.gif) no-repeat center center;
}

.left {
	float: left;
}

.right {
	float: right;
}

.info {
	margin: 7px 5px 0 0;
}

.close {
	position: absolute;
	top: 20px;
	right: 15px;
}

.close a {
	display: block;
	width: 22px;
	height: 22px;
	text-indent: -9999px;
	background: url(_i/bg-close.png) no-repeat;
}

a.btn {
	display: block;
	width: 163px;
	height: 32px;
	padding: 0px;
	line-height: 32px;
	color: #fff;
	background: url(_i/bg-btn.png) no-repeat 0px 0px;
	font-size: 12px;
	text-decoration: none;
	text-shadow: -1px -1px 0px #000;
	text-transform: uppercase;
	text-align: center;
}

a.btn:hover {
	background-position: 0px -34px;
}

a.btn:active {
	position: relative;
	top: 1px;
	background-position: -0px -68px;
}

/*  ##################################
    SUPERFISH CSS
    ################################## */

/** ESSENTIAL STYLES */

.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}

.sf-menu {
	line-height:	1.0;
}

.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			200px; /* left offset of submenus need to match (see below) */
}

.sf-menu ul li {
	width:			100%;
}

.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}

.sf-menu li {
	display: 		inline;
	position:		relative;
	width: 			auto;
}

.sf-menu a {
	display:		inline-block;
	position:		relative;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0px;
	top:			0px; /* match top ul list item height */
	z-index:		99;
}

ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}

/** STYLES */

.ts-menu .sf-menu ul {
	width: 200px;
	height: auto;
	max-height: 350px;
	background: #f2f2f2;	
	-moz-box-shadow: 0px 0px 2px 0px #666;
	-webkit-box-shadow: 0px 0px 2px 0px #666;
	box-shadow: 0px 0px 2px 0px #666;
	z-index: 1;
	overflow-y: scroll;
	cursor: pointer;
}

.ts-menu .sf-menu li li {
	height: auto;
	margin: 0px;
	padding: 0px;
	background: none;
}

.ts-menu .sf-menu li li a,
.ts-menu .sf-menu li li a:visited {
	display: block;
	margin: 0px;
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
	border-top: 1px solid #f8f8f8;
	border-bottom: 1px solid #e4e4e4;
	font-size: 12px;
	text-decoration: none;
	cursor: pointer;
	clear: right;
}

.ts-menu .sf-menu li li a:hover {
	color: #663C07;
	background: #fefefe;
}

.ts-menu .sf-menu li li a:active {
	top: 0px;
}

.ts-menu .sf-menu li li a small {
	float: right;
	width: auto;
	color: #444;
	font-size: 9px;
	text-transform: uppercase;
}

#browse {
	display: block;
	width: 180px;
	height: 30px;
	margin: 8px 20px 0 0;
	padding: 0 10px;
	line-height: 30px;
	color: #fff;
	background: url(_i/bg-browse.png) no-repeat left top;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	font-size: 11px;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: -1px -1px 0px #000;
}

#browse:active {
	top: 0px;
}

li.sfHover #browse {
	background-position: left bottom;
	-moz-border-radius:5px 5px 0px 0px;
	-webkit-border-radius:5px 5px 0px 0px;
	border-radius:5px 5px 0px 0px;
}

#screenshot{
	position:absolute;
	width: 280px;
	height: 210px;
	padding: 5px;
	background: #fff url(_i/bg-loading.gif) no-repeat center center;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	display:none;
	z-index: 100;
}