/*
Theme Name: NMC
Theme URI: http://nmc.co.za/
Description: Custom WP Theme for NMC.
Version: 1
Author: Jayx
Author URI: http://designsignature.co.za

Tags: theme

Loosely based on WordPress
*/

/* CSS Reset by http://meyerweb.com */

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: "" "";
}

/* End CSS Reset */

/* Common Elements */

body {
	background: #000;
	margin: 0;
	padding: 0;
	line-height: 1;
	color: black;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
}

h3.storytitle {
	width: 442px;
	margin-top: 5px;
	padding: 8px 0 5px 20px;
	float: right;
	clear: right;
	font-size: 2.3em;
	line-height: 1.2em;
	background: url(img/h3_bg.gif) no-repeat left center;
}
h4.posttitle {
	padding: 10px 0 8px;
	font-size: 1.4em;
	font-weight: bold;
	color: #77732d;
}
h5 {
	font-size: 1.4em;
	font-weight: bold;
	color: #dd6335; 
}
strong {
	font-weight: bold;
}
em {
	font-style: italic;
}
table {
	font-size:1.1em;
}

/* Common Classes */
.green {
	color: #77732d;
}
.red {
	color: #dd6335;
}
.hidden {
	display: none;
}
/***** Main Structure */

#header {
	height: 180px;
	width: 777px;
	margin:0 auto;
	background: url(img/head_bg.gif) no-repeat center bottom;
}

/***** End Main Structure */

/**** Header Content */

/*** Main Nav */

#nav {
	height: 35px;
}
ul#main-nav {
	margin: 0;
	list-style: none;
}
ul#main-nav li {
	float: left;
}
ul#main-nav li a {
	height: 35px;
	margin: 0;
	padding: 0;
	display: block;
	background-position: left top;
	text-indent: -5000px;
}
ul#main-nav li a:hover, ul#main-nav li.current_page_item a {
	background-position: left bottom;
	background-repeat:no-repeat;
}
ul#main-nav li.item-home a {
	width: 45px;
	background-image: url(img/home_nav.gif);
}
ul#main-nav li.item-engine a {
	width: 88px;
	background-image: url(img/engine_nav.gif);
}
ul#main-nav li.item-masterpiece a {
	width: 126px;
	background-image: url(img/masterpiece_nav.gif);
}
ul#main-nav li.item-soul a {
	width: 73px;
	background-image: url(img/soul_nav.gif);
}
ul#main-nav li.item-award a {
	width: 65px;
	background-image: url(img/awards_nav.gif);
}
ul#main-nav li.item-news-events a {
	width: 112px;
	background-image: url(img/news_nav.gif);
}
ul#main-nav li.item-recruit a {
	width: 88px;
	background-image: url(img/careers_nav.gif);
}
ul#main-nav li.item-contact a {
	width: 79px;
	background-image: url(img/contact_nav.gif);
}
ul#main-nav li.item-rss a {
	width: 16px;
	height: 16px;
	margin:15px 0 0 4px;
	background-image: url(img/rss.gif);
}

/*** Sub Nav */

#sub-nav {
	margin: 33px 0 0 44px;
	padding: 0;
}
#sub-nav ul#sub-page-nav {
	margin: 0;
	padding: 0;
}

#sub-nav ul#sub-page-nav li {
}

#sub-nav ul#sub-page-nav li a {
	height: 24px;
	margin: 0;
	padding: 0;
	display: block;
	background-position: left top;
	text-indent: -5000px;
}

#sub-nav ul#sub-page-nav li a:hover {
	background-position: left bottom;
}

#sub-nav ul#sub-page-nav li.item-alliance a {
	width: 170px;
	background-image: url(img/alliance_subnav.gif);
}

#sub-nav ul#sub-page-nav li.item-coastal a {
	width: 170px;
	background-image: url(img/coastal_subnav.gif);
}

#sub-nav ul#sub-page-nav li.item-brink-heath a {
	width: 170px;
	background-image: url(img/brink_subnav.gif);
}

/*** End Sub Nav */

/**** End Header Content */

/**** Main Content ****/

#content-wrap {
	width: 777px;
	height: 480px;
	margin: 0 auto;
	padding: 0;
	background: #fff;
	overflow: hidden;
}

#page-content {
	width: 777px;
	height: 480px;
	margin: 0;
	padding: 0;
}

.fp-img{
	float:right;
	margin:195px 40px 0 0;
}

.crumbs {
	width: 462px;
	padding-top: 16px;
	float: right;
	color: #999;
}
.crumbs a {
	color: #999;
}

ul.page-sub-nav {
	width: 462px;
	float: right;
	clear: right;
}
ul.page-sub-nav li {
	float: left;
}

.storycontent {
	width: 420px;
	height: 350px;
	margin-right: 32px;
	padding-right:10px;
	float: right;
	clear: right;
	overflow: auto;
}
.storycontent.long {
	height: 400px;
}
.storycontent.brink {
	background:url(img/bhlogo.gif) right bottom no-repeat;
}
.storycontent p {
	margin: 1.1em 0;
	padding-right: 5px;
	font-size: 1.1em;
	line-height: 1.2em;
	text-align: justify;
}
.storycontent a {
	color: #dd6335; 
}
.storycontent ul, .storycontent ol {
	font-size: 1.1em;
	line-height: 1.2em;
	list-style-position: inside;
}
.storycontent ul {
	list-style-type: square;
}
.storycontent ol {
	list-style-type: decimal;
}
.storycontent dl {
	width: 180px;
}
.storycontent dl a {
	text-decoration: none;
	display: block;
}
.storycontent dl dt a {
	padding: 5px 0 10px 5px;
	font-size: 1.4em;
	font-weight: bold;
	color: #77732d;
	text-transform: uppercase;
}
.storycontent dl dd a {
	padding: 3px 0 3px 5px;
	font-size: 1.1em;
	color: #000;
}
.storycontent dl dd a:hover {
	color: #fff;
	background: #77732d;
}

#prev-next {
	text-align: right;
}
#prev-next a {
	text-decoration: none;
	font-size: 1.1em;
	font-weight: bold;
	color: #dd6335; 
}

.wide-col {
	width: 420px;
	height: 340px;
	margin-bottom: 10px;
	overflow: auto;
}

.left-col {
	width: 210px;
	float: left;
}
.the-story {
	height: 310px;
	overflow: auto;
}

.right-col {
	width: 210px;
	float: left;
}
.the-details {
	height: 310px;
	overflow: auto;
}
.right-col ul#job-details {
	list-style: none;
	margin: 10px 0 0 20px;
	font-size: 1em;
}
.right-col ul#job-details li {
	padding: 2px 0;
}

#side-image, #side-image img {
	margin: 0;
	padding: 0;
}

.ap-number {
	width: 30px;
	color: #fff;
	background: #000;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	line-height: 1.5em;
	padding: 1px 5px;
	border-bottom: 3px solid #77732d;
	float: left;
}
.line-under {
	border-bottom: 2px solid #77732d;
}
.ap-link {
	padding: 15px 0 0 10px;
	float: left;
	font-size: 1.1em;
	font-weight: bold;
}

.gallery {
	margin: 20px 0 0 20px;
}

img.thumb-75 {
	width: 75px;
	padding: 0 5px 5px 0;
}
/*** Page Specific Elements ***/

#index-nav {
	width: 320px;
	margin: 0;
	padding: 12px 0 0 55px;
}
#engine-front {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	clear: left;
}
#masterpieces-front {
	margin: 15px 0 0 0;
	padding: 0;
	list-style: none;
	float: left;
	clear: left;
}
#soul-front {
	margin: 15px 0 0 0;
	padding: 0;
	list-style: none;
	float: left;
	clear: left;
}
#engine-front ul, #masterpieces-front ul, #soul-front ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	clear: left;
	background: url(img/front-nav-hvr.png);
}
#engine-front li,
#masterpieces-front li,
#soul-front li
{
	position: relative;
	float: left;
}
#engine-front li ul li,
#masterpieces-front li ul li,
#soul-front li ul li
{
	width: 160px;
	clear: left;
}
#engine-front li ul,
#masterpieces-front li ul,
#soul-front li ul,
#engine-front li ul li ul,
#engine-front li:hover ul li ul
{
	position: absolute;
	left: -999em;
	height:138px;
	margin-left: 106px;
	border-top:1px solid #fff;
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
}
#engine-front li ul li a,
#masterpieces-front li ul li a,
#soul-front li ul li a
{
	width: 140px;
	display: block;
	padding: 6px 10px;
	color: #fff;
	text-decoration: none;
}
/*#engine-front li ul li a{
	padding: 5px 10px 4px !important;
}*/
#engine-front li ul li a:hover,
#masterpieces-front li ul li a:hover,
#soul-front li ul li a:hover
 {
	background: url(img/front-nav-hvr.png);
}

#engine-front li:hover ul,
#masterpieces-front li:hover ul,
#soul-front li:hover ul
{
	top: 0;
	left: auto;
}
#engine-front li ul li:hover ul{
	top:-58px;
	left:55px;
}
/*** End Page Specific Elements ***/

/**** End Main Content ****/

/**** Footer Content ****/

#custom-footer {
	margin-top: 10px;
	text-align: center;
}
#custom-footer p {
	padding: 10px 0;
	font-size: 1.1em;
	line-height: 1.2em;
	color:#6d6e71;
}
/**** End Footer Content ****/

