/* Spectacle Design
http://spectacledesign.ca

Light Red #a23a30
Red #8d271d
Light Grey #bbb6ae
Grey #79716a
BG Grey #bfbfbf
TXT Grey: #d6d3ce
NAV Grey: #dab0ac

 */
 
html {
	overflow-y: scroll;
}

div#header div.container_12 div#tabs.grid_7.ui-tabs.ui-widget.ui-widget-content.ui-corner-all div#fragment-1.ui-tabs-panel.ui-widget-content.ui-corner-bottom p {
	-webkit-text-size-adjust: none;
}

body {
	background: white;
	font-size: 14px;
	line-height: 150%;
	color: #79716a;
	padding: 0 0 40px;
	text-rendering: optimizeLegibility;
}

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

a:hover {
	text-decoration: underline;
}

h1 {
	font-weight: normal;
	text-align: center;
}

h2 {
	padding: 20px 0 0;
	text-align: center;
}

p {
}

span.highlight {
	color: #a23a30;
	text-transform: uppercase;
}

li {
	list-style-type: none;
	margin-left: 0;
}

div#header {
	background-color: #a23a30;
	width: 100%;
	height: 140px;
}

div#header div.grid_4, div#header div.suffix_1, div#header div.grid_7 {
	margin: 0;
}

div#header div.grid_4 img {
	width: 320px;
	height: 140px;
}

div#header div.grid_4 {
	width: 320px;
	padding-right: 0;
	height: 140px;
}

div#header div.grid_1 {
	width: 70px;
	margin: 0;
	height: 140px;
}

div#header div.grid_7 {
	width: 570px;
	height: 134px;
	overflow: hidden;
}

div#topnav {
	background-color: #8d271d;
	width: 100%;
	height: 38px;
	margin-bottom: 38px;
}

div#topnav div.container_12 {
	background-color: #8d271d;
}

div#topnav div.grid_12 {
	width: 960px;
	height: 38px;
	margin: 0 auto;
}

div#topnav div.container_12 div.grid_12 a, div#topnav div.container_12 div.grid_12 img {
	float: left;
}

a#page97 {
	background: url(img/what_off.png) no-repeat;
	width: 110px;
	height: 38px;
}

a#page97.active {
	background: url(img/what_on.png) no-repeat;
}

a:hover#page97 {
	background: url(img/what_on.png) no-repeat;
}

a#page101 {
	background: url(img/work_off.png) no-repeat;
	width: 107px;
	height: 38px;
}

a:hover#page101 {
	background: url(img/work_on.png) no-repeat;
}

a#page101.active {
	background: url(img/work_on.png) no-repeat;
}

a#page91 {
	background: url(img/who_off.png) no-repeat;
	width: 121px;
	height: 38px;
}

a:hover#page91 {
	background: url(img/who_on.png) no-repeat;
}

a#page91.active {
	background: url(img/who_on.png) no-repeat;
}

a#page90 {
	background: url(img/clients_off.png) no-repeat;
	width: 110px;
	height: 38px;
}

a:hover#page90 {
	background: url(img/clients_on.png) no-repeat;
}

a#page90.active {
	background: url(img/clients_on.png) no-repeat;
}

a#page98 {
	background: url(img/contact_off.png) no-repeat;
	width: 110px;
	height: 38px;
}

a:hover#page98 {
	background: url(img/contact_on.png) no-repeat;
}

a#page98.active {
	background: url(img/contact_on.png) no-repeat;
}

img#star98 {
	display: none;
}

div#tabs p {
	font-size: 11px;
}

div#tabs ul {
	margin-top: 30px;
	margin-bottom: 15px;
}

div#tabs div.ui-tabs-panel p {
	color: #dab0ac;
	font-size: 11px;
	padding-left: 3px;
}

div#tabs li#driven, div#tabs li#driven a, div#tabs li#driven a div {
	width: 136px;
	height: 17px;
}

div#tabs li#driven a div {
	background: url(img/driven_off.png) no-repeat;
}


div#tabs li#driven a:hover div {
	background: url(img/driven_hover.png) no-repeat;
}


div#tabs li#driven.ui-state-active a div {
	background: url(img/driven_on.png) no-repeat;
}

div#tabs li#responsive, div#tabs li#responsive a, div#tabs li#responsive a div {
	width: 237px;
	height: 17px;
}

div#tabs li#responsive a div {
	background: url(img/responsive_off.png) no-repeat;
}


div#tabs li#responsive a:hover div {
	background: url(img/responsive_hover.png) no-repeat;
}


div#tabs li#responsive.ui-state-active a div {
	background: url(img/responsive_on.png) no-repeat;
}

div#tabs li#depth, div#tabs li#depth a, div#tabs li#depth a div {
	width: 197px;
	height: 17px;
}

div#tabs li#depth a div {
	background: url(img/depth_off.png) no-repeat;
}


div#tabs li#depth a:hover div {
	background: url(img/depth_hover.png) no-repeat;
}


div#tabs li#depth.ui-state-active a div {
	background: url(img/depth_on.png) no-repeat;
}

div#wrapper {
	min-height: 600px;
}

* html div#wrapper { 
height: expression( this.scrollHeight < 601 ? "600px" : "auto" ); /* sets min-height for IE */
}

div#description {
}

/* @group Feature */

/* get rid of those system borders being generated for A tags */

a img {
	border-width: 0;
	border-style: none;
}

a:active {
	outline: none;
}

:focus {
	-moz-outline-style: none;
}

/* DEPRECATED FILE */

/* this makes it possible to add next button beside scrollable */

.scrollable {
	float: left;
}

/* prev, next, prevPage and nextPage buttons */

a.prev, a.next, a.prevPage, a.nextPage {
	display: block;
	width: 18px;
	height: 18px;
	background: url(left.png) no-repeat;
	float: left;
	margin: 43px 10px;
	cursor: pointer;
	font-size: 1px;
}

/* mouseover state */

a.prev:hover, a.next:hover, a.prevPage:hover, a.nextPage:hover {
	background-position: 0px -18px;
}

/* disabled navigational button */

a.disabled {
	visibility: hidden !important;
}

/* next button uses another background image */

a.next, a.nextPage {
	background-image: url(right.png);
	clear: right;
}

div#feature {
	width: 940px;
	margin: 0 10px 38px;
	padding: 0;
	height: 340px;
}

/*********** navigator ***********/

/* position and dimensions of the navigator */

.navi {
	margin-left: 328px;
	height: 20px;
	display: none;
}

/* items inside navigator */

.navi a {
	width: 8px;
	height: 8px;
	float: left;
	margin: 3px;
	background: url(navigator.png) 0 0 no-repeat;
	display: block;
	font-size: 1px;
}

/* mouseover state */

.navi a:hover {
	background-position: 0 -8px;
}

/* active state (current page state) */

.navi a.active {
	background-position: 0 -16px;
}

/* main vertical scroll */

#main {
	position: relative;
	overflow: hidden;
	height: 340px;
	width: 620px;
	display: inline;
	float: left;
}

/* root element for pages */

#pages {
	position: absolute;
	height: 20000em;
}

/* single page */

.page {
	padding: 0px;
	height: 340px;
	background: #222 0 0 repeat-x;
}

/* root element for horizontal scrollables */

.scrollable {
	position: relative;
	overflow: hidden;
	width: 620px;
	height: 340px;
}

/* root element for scrollable items */

.scrollable .items {
	position: absolute;
	clear: both;
}

/* single scrollable item */

.item {
	float: left;
	cursor: pointer;
	width: 620px;
	height: 340px;
	padding: 0px;
}

/* main navigator */

#main_navi {
	padding: 0px !important;
	margin: 0px !important;
	float: right;

}

#main_navi li {
	background-color: #bbb6ae;
	border-top: 1px solid #79716a;
	clear: both;
	color: #FFFFFF;
	font-size: 12px;
	height: 59px;
	padding: 15px 10px 10px;
	*padding: 11px 10px 10px;
	width: 300px;
	cursor: pointer;
	margin-left: 0;
}


#main_navi li#top {
	border-top: 1px solid #bbb6ae;
}


#main_navi li#top.active {
	border-top: 1px solid #79716a;
}


#main_navi li:hover {
	background-color: #444;
}

#main_navi li.active {
	background-color: #79716a;
}

#main_navi p {
	display: inline;
	vertical-align: middle;
}

#main div.navi {
	margin-left: 250px;
	cursor: pointer;
}

/* @end */

/* @group Footer */

div#footer {
	border-top: 1px solid #bbb6ae;
	text-align: center;
	font-size: 11px;
	color: #bbb6ae;
}

div#footer a {
	color: #bbb6ae;
}

div#footer a:hover {
	color: #79716a;
}

div#footer ul {
	margin-top: 15px;
}

div#footer ul li {
	display: inline;
	border-right: 1px solid #bbb6ae;
	margin-left: 0;
	padding-right: 15px;
	padding-left: 15px;
}

div#footer ul li.last {
	border-right: 0px;
}

/* @end */

/* @group Projects */

div#content {
	margin-left: 0;
	margin-right: 0;
	width: 680px;
}

div#content img.project {
	width: 640px;
	height: 360px;
}

embed#mpl {
	margin: 60px 157px 60px 155px;
}

object#mpl {
	*margin: 60px 157px 60px 155px;
}

div#projectvideo, div#player {
	display: inline;
}

div#buttons {
	height: 12px;
	width: 640px;
}

div#content h1, div#bio h1 {
	font-size: 14px;
	text-align: left;
	font-weight: bold;
}

div#content h1 {
	margin-top: 55px;
	padding-left: 10px;
	padding-right: 20px;
}

div#content p {
	padding-left: 10px;
	padding-right: 20px;
}

div#sidenav a:hover {
	text-decoration: none;
}

div#sidenav div.active a {
	color: #ebeae9;
}

div#sidenav div.active div.projectname a {
	color: #a23a30;
}

div#sidenav {
	
	display: block;
	width: 270px;
	margin: 0;
}

div#sidenav div.item {
	padding: 10px;
	border-left: 1px solid #ebeae9;
	border-right: 1px solid #ebeae9;
	border-bottom: 1px solid #ebeae9;
	display: block;
	width: 248px;
	height: 42px;
	float: right;
}

div#sidenav div.active {
	background: #ebeae9;
}

div#sidenav div.first {
	border-top: 1px solid #ebeae9;
}

div#sidenav div img {
	margin-right: 10px;
}

div#sidenav div div.thumb {
	width: 55px;
	height: 44px;
	float: left;
	padding-right: 10px;
}

div#sidenav div div.projectname {
	height: 44px;
	vertical-align: middle;
}

/* @end */

/* @group Clients */

#slideshow {
	width: 940px;
	height: 245px;
	margin-bottom: 38px;
}

/* @end */

/* @group Bio */

div#socmed img {
	float: right;
	padding-left: 3px;
}

div#portrait img {
	
}

body.template18 div.thumb img {
	visibility: hidden;
}

body.template18 div#sidenav {
	float: right;
	margin-right: 10px;
} 

/* @end */

body.template17 div#sidenav h1, body.template21 div#sidenav h1 {
	font-size: 16px;
	text-align: left;
	margin-bottom: 10px;
}

body.template17 div#content ul, body.template17 div#content ul li, body.template21 div#content ul, body.template21 div#content ul li {
	display: inline;
}

body.template17 div#content ul, body.template21 div#content ul {
}

body.template17 div#content a.next, body.template21 div#content a.next {
	float: none;
	display: inline;
	margin: 0;
}

body.template17 a.prev, body.template17 a.next, body.template17 a.prevPage, body.template17 a.nextPage, body.template21 a.prev, body.template21 a.next, body.template21 a.prevPage, body.template21 a.nextPage {
	display: block;
	width: 18px;
	height: 18px;
	background: none no-repeat;
	float: none;
	margin: 0;
	cursor: pointer;
	font-size: 15px;
}

body.template17 a.prev:hover, body.template17 a.next:hover, body.template17 a.prevPage:hover, body.template17 a.nextPage:hover. body.template21 a.prev:hover, body.template21 a.next:hover, body.template21 a.prevPage:hover, body.template21 a.nextPage:hover {
	background: none no-repeat;
}

body.template17 a.next, body.template17 a.nextPage, body.template21 a.next, body.template21 a.nextPage {
	background: none no-repeat;
	clear: none;
}

div#projectNav {
	margin-top: 50px;
}

img.projectPrev {
	margin-right: 8px;
}

