/* =CSS reset by Eric Meyer 
http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

hr {
	display: none;
}

img {
	display: block;
}


/* =Core setup */

html, body {
	background-color: #fcfcfd;
}

body {
	background: url('../img/body-bg.gif') fixed repeat-x;
	font-family: Verdana, Helvetica, Arial, sans-serif;
}

/* Core link styles */

a, 
#nav-info:hover a {
	text-decoration: none;
	color: #ff0080;
}

a:visited {
	color: #ff0080;
	/* color: #5986b3; */
}

#content a:hover, 
#nav-info:hover a:hover, 
#nav-info a:hover {
	color: black;
	background-color: #e9e9f1;
	border-bottom: 1px solid #7a7a99;
}



/* =Branding */

#branding {
	position: relative;
	background: #d9d8e6 url('../img/branding-tile-bg.jpg') repeat-x;
}

#branding .inner {
	background: url('../img/branding-bg.jpg') 50% 0 no-repeat;
}

#branding h1 {
	text-indent: -200em;
	background: url('../img/web-epics-video-marketing.png') no-repeat;
	width: 300px;
	height: 132px;
}

#branding h1 a {
	display: block;
	height: 121px;
}

#branding h2 {
	position: absolute;
	bottom: 0;
	right: 0;
	background: url('../img/branding-h2-br.gif') 100% 100% no-repeat;
	font-size: 150%;
	padding: 8px 17px;
	color: #5e5e82;
}


/***** =Colour *****/

body {
	color: #303040;
}

h1, #nav-sub h2, h3 {
	color: #7a7a99;
}


/***** =Typography *****/

body {
	font-size: 62.5%;
	line-height: 1.5;
}

#main {
	font-size: 120.01%;
	margin-top: 18px;
}

#main strong {
	font-weight: bold;
}

p {
	margin-top: 1em;
}

.uc {
	text-transform: uppercase;
}

#main h1, 
#main h2, 
#main h3, 
#main h4 {
	font-weight: bold;
}

#content h1, 
#content #process h2 {
	font-size: 166.7%;
}

#content h2, 
#location h2 {
	margin-top: 1.5em;
	border-top: 1px solid #e0e0e6;
	padding-top: 1.5em;
}

/* Image alignment */

.img-left 
{
float: left;
margin: 10px 10px 10px 0;
}

.img-right 
{
float: right;
margin-left: 10px 0 10px 10px;
}


/***** =Layout *****/

#container {
	max-width: 89.6em;
	background-color: white;
	margin: auto;
	padding: 0 32px 24px;
	min-height: 700px;
}

#top dt, /* =Accessibility options */
#top dd {
	position: absolute;
	top: -12em;
}

#main {
	position: relative;
}

#content {
	margin-left: 28%;
	padding-left: 5px;
	overflow: hidden;
}

#content li {
	margin-top: 0.5em;
}

.grid { /* Used for floated elements */
	overflow: hidden;
	width: 100%;
	margin-top: 1em;
}

#content .grid li {
	margin-bottom: 1.5em;
	border-top: 1px solid #e0e0e6;
	padding-top: 1.5em;
	margin-top: 0;
}

#process li, 
#marketing li, 
#testimonials li {
	float: left;
}

.two {
	/* Used for two columns */
}

.two li {
	width: 50%;
}

.three {
	/* Used for three columns*/
}

.three li {
	width: 33%;
}

/* Four columns on the home page*/
.home #content .four li {
	width: 24%;
	padding: 0;
	border-top: 0;
	margin: 0;
	float: left;
	display: inline; /* For Explorer */
}

.home #content .four li ul li {
	width: auto;
	margin-bottom: 0.5em;
	display: block;
}

.odd h2, 
.odd h3, 
.odd ul, 
.odd ol, 
.odd dl, 
.odd p, 
.odd blockquote {
	margin-right: 12px;
}

.mid h2, 
.mid h3, 
.mid ul, 
.mid ol, 
.mid dl, 
.mid p, 
.mid blockquote {
	margin-right: 12px;
	margin-left: 12px;
}

.even h2, 
.even h3, 
.even ul, 
.even ol, 
.even dl, 
.even p, 
.even blockquote {
	margin-left: 12px;
}

/* =Process */

#one, #two {
	height: 39em;
}

#marketing li {
	height: 23em;
}

#content #process h2 {
	padding-top: 116px;
}

/* Override global styles */
#content .grid h2 {
	padding-top: 0;
	margin-top: 0;
	border-top: 0;
}

#process #one h2 {
	background: url('../img/one.gif') no-repeat;
	color: #7a7a99;
}

#process #two h2 {
	background: url('../img/two.gif') 12px 0 no-repeat;
	color: #759470;
}

#process #three h2 {
	background: url('../img/three.gif') no-repeat;
	color: #51a72e;
}

#process #four h2 {
	background: url('../img/four.gif') 12px 0 no-repeat;
	color: #3db700;
}

/* =Gallery */

#gallery .video {
	/* 
	For 5 column version
	width: 10.6em; */
	width: 13.3em;
	float: left;
}

#gallery .video-category {
	clear: left;
}

/* Override global h2 styles */
#gallery h2 {
	margin-top: 0;
	border-top: 0;
	padding-top: 0;
}

#content #gallery .video, 
#content #gallery .video li {
	border-top: 0;
}

#content #gallery .video h3 {
	position: absolute;
}

#content #gallery .video h3 a {
	display: block;
	/* 
	For 5 column version 
	width: 118px;
	height: 117px; */
	width: 150px;
	height: 149px;
	/* background: transparent url('../img/gallery-mask-sprite.png') 0 0 no-repeat; */
	background: transparent url('../img/gallery-mask-4col.png') 0 0 no-repeat;
	text-indent: -200em;
}

#content #gallery .video h3 a:hover {
	/* background: transparent url('../img/gallery-mask-sprite.png') 0 -234px no-repeat; */
	background: transparent url('../img/gallery-mask-4col.png') 0 -298px no-repeat;
	border-bottom: 0;
}

#content #gallery .video img {
	/* 
	For 5 column version 
	width: 118px;
	height: 117px; */
	width: 150px;
	height: 149px;
}

/* Counter to WordPress auto-insertion of p tag around img tag */
#content #gallery .video p {
	margin-top: 0;
}


#content #gallery .video li {
	color: #7a7a99;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	font-size: 91.7%;
}


/* =Blockquotes */

blockquote {
	padding: 0 0 12px 12px;
	background: white url('../img/blockquote-bg.png') no-repeat;
}

blockquote cite {
	color: #7a7a99;
	font-size: 91.7%;
}

blockquote cite .fn, 
blockquote cite .title, 
blockquote cite .org {
	display: block;
}

blockquote cite .fn {
	font-weight: bold;
}

blockquote cite .delimiter {
	display: none;
}

blockquote p, 
.odd blockquote p {
	margin-top: 0.5em;
	margin-right: 0;
	padding-right: 1em;
}

blockquote p:first-child {
	margin-top: 0;
	padding-top: 12px;
	background: transparent url('../img/blockquote-tr.gif') 100% 0 no-repeat;
}

#testimonials .row1 blockquote {
	height: 11em;
}

#testimonials .row2 blockquote {
	height: 12.5em;
}

#testimonials .row3 blockquote {
	height: 27.5em;
}

#testimonials .row4 blockquote {
	height: 23em;
}



/***** =nav-main *****/

#nav-main {
	margin-top: 3px;
	line-height: 1;
	font-size: 110.01%;
	font-weight: bold;
	background: #7a7a99 url('../img/nav-main-bg.gif') 0 50% repeat-x;
	}	
	
#nav-main .inner {
	border-top: 1px solid #dcdce4;
	border-bottom: 1px solid #3f3f4e;
	margin: 0 5px; 
	padding: 7px;
	position: relative;
	}
	
#nav-main ul {
	width: 100%;
	overflow: hidden;
	}
	
#nav-main li {
	float: left;
	padding-right: 3px;
}

#nav-main #journal {
	float: right;
}

/* Nav link styling */

#nav-main li a {
	display: block;
	color: white;
	padding: 5px 6px;
}

#nav-main li a:hover {
	background-color: #9595ac;
}

#nav-main .current_page_item a, 
#nav-main .current_page_item a:hover {
	background-color: #d7d7e0;
	color: #303040;
	cursor: default;
}

/* Gloss bar end curves */

#curve-left, 
#curve-right {
	position: absolute;
	top: 50%;
	width: 11px;
	height: 9px;
	margin-top: -8px;
}

#curve-left {
	background: transparent url('../img/nav-main-left.gif') no-repeat;
	margin-left: -12px;
}

#curve-right {
	left: 100%;
	background: transparent url('../img/nav-main-right.gif') no-repeat;
	margin-left: -7px;
}


/* =nav-info */

#nav-info {
	margin-top: 72px;
	margin-left: 28%;
	border-left: 5px solid white;
	overflow: hidden;
	font-size: 110.01%;
	padding: 1em 0;
	border-top: 1px solid #e0e0e6;
}

#nav-info li {
	float: left;
	margin-right: 1.5em;
}

#nav-info a {
	color: #7a7a99;
}

#kinura {
	margin-left: 28%;
	padding-bottom: 1em;
}

#kinura a {
	display: block;
	text-indent: -200em;
	background: transparent url('../img/kinura.gif') no-repeat;
	width: 152px;
	height: 31px;
}

#kinura a:hover {
	background: transparent url('../img/kinura.gif') 0 -60px no-repeat;
}


/***** =Home *****/

#home-video {
	position: absolute;
	left: -200em;
}


/***** =Content *****/

#content dt {
	font-weight: bold;
	margin-top: 0.5em;
}

#content dd p {
	margin-top: 0.5em;
	padding-left: 0;
	padding-right: 0;
}

#content h1 span, 
#content h2 span {
	display: block;
	font-size: 61.2%;
	line-height: 150%;
}

#content h1 .delimiter, 
#content h2 .delimiter {
	display: none;
}

#content h2 {
	font-size: 125%;
	font-weight: bold;
}

.home #content h2.first-child {
	margin-top: 1.5em;
	border-top: 0;
	padding-top: 0;
}

.home #content p {
	max-width: 37.33em;
}

/***** =nav-sub *****/

#nav-sub {
	position: absolute;
	top: 0.67em;
	left: 0;
	width: 26%;
}

#nav-sub h2 {
	margin-bottom: 3px;
	font-size: 108.34%;
}

#nav-sub ul, 
#nav-sub ol {
	margin-bottom: 18px;
}

#nav-sub li li {
	background: #f4f4f8 url('../img/nav-sub-a-bg.gif') repeat-y;
	border-top: 1px solid white;
	font-size: 91.7%;
}

#nav-sub a, 
#nav-sub li.tel {
	display: block;
	line-height: 1.18;
	padding: 6px 16px;
}

#nav-sub a:hover {
	background: transparent url('../img/nav-sub-a-hover-bg.gif') repeat-y;
	color: #303040;
}

#nav-sub .current_page_item a, 
#nav-sub .current_page_item a:hover {
	color: #7a7a99;
	cursor: default;
	background: transparent url('../img/nav-sub-a-current.gif') 6px 50% no-repeat;
}




/***** =Forms *****/

#content fieldset {
	width: 100%;
}

input.text, 
textarea, 
select {
  font-size: 10pt;
  color: #303040;
	font-family: Verdana, Helvetica, Arial, sans-serif;
  vertical-align: middle;
  background-color: #e4e4f0;
}

input.text, 
textarea {
  padding: 3px;
  /* border: 2px inset #7a7a99; */
}

input.text:focus, 
textarea:focus {
  border: 2px solid #ff0080;
  background-color: white;
  color: #303040;
}

input.submit {
  font-weight: bold;
	color: #ff0080;
  padding: 3px;
}

input.submit:hover {
  cursor: pointer;
  color: black;
}


/* Error reporting */

.invalid {
  font-weight: bold;
  color: #f03;
  margin-bottom: 1em;
}

#contact .error {
	color: #f03;
	display: block;
}

#contact .no-error {
	display: none;
}

/* Confirmation message */

#confirmation {
	background-color: #e4e4f0;
	padding: 12px;
}

/* iContact sign-up in nav-sub */

#nav-sub fieldset {
	background: #f4f4f8 url('../img/nav-sub-a-bg.gif') repeat-y;
	padding: 0 6px;
	margin-bottom: 18px;
}

#nav-sub fieldset ol {
	margin-bottom: 0;
}

#nav-sub fieldset li {
	padding: 0;
	border: 0;
}

#nav-sub #video-guide p {
	background: #f4f4f8 url('../img/nav-sub-a-bg.gif') repeat-y;
	padding: 6px;
	margin-top: 0;
	font-size: 91.7%;
}

#nav-sub label {
	font-weight: bold;
	display: block;
	margin-bottom: 2px;
}

#nav-sub input.text {
	width: 93%;
}

#nav-sub input {
	margin-bottom: 6px;
}




/***** =Contact *****/

/* vCard/hCard */

#nav-sub .delimiter {
	display: none;
}

#nav-sub .street-address-1, 
#nav-sub .street-address-2, 
#nav-sub .locality, 
#nav-sub .region, 
#nav-sub .postal-code, 
#nav-sub .country-name {
	white-space: nowrap;
}

#nav-sub .adr .delimiter {
	display: inline;
}

#nav-sub .adr {
	display: block;
}

#nav-sub .tel {
	margin-top: 0.5em;
}

#nav-sub .org {
	font-weight: bold;
}

/* Enquiry form */

#contact {
	margin-top: 1em;
}

#contact legend span {
	position: absolute;
	top: 0;
	left: -200em;
}

#contact li {
	margin-bottom: 1em;
}

#contact label {
	display: block;
	font-weight: bold;
  color: #7a7a99;
}

#contact label input, 
#contact label textarea, 
#contact label select, 
#contact #optin-subscribe {
  font-weight: normal;
  color: #303040;
}

#contact li.required label {
  color: #303040;
}

#contact label span {
  display: block;
  font-weight: normal;
	color: #a8a8bd;
}

#contact li.required span.required {
	display: inline;
	margin-left: 0.3em;
}


/* Layout */

#contact .half {
	width: 50%;
}

#contact input.text, 
#contact textarea {
	display: block;
	width: 96%;
}

#google-map {
	width: 100%;
	height: 200px;
}
