/*
 * Author:		Ronan Sprake [ronan.sprake@soak.co.uk]
 * Agency:		Soak Digital Ltd.
 * Client: 		I Am Nipper
 * Project: 	Main Site
 * Comment:		Base stylesheet

----------------------
Contents:

1. Font Sizing
2. Generic HTML styles
3. Parent layout styles
4. Page Titles
5. Navigation
6. Home
7. Details
8. Miscellaneous

*/

/*--------------------------------------------------------------------------
	Font Sizing
----------------------------------------------------------------------------*/

#page-container
{
	font-size:				0.688em; /* 16 x 0.688 = 11px */
}

h2,
.authored
{
	font-size:				1.09em; /* 11 x 1.09 = 12px */
}

.foot p
{
	font-size:				1.1em; /* 10 x 1.1 = 11px */
}


/*--------------------------------------------------------------------------
	Generic HTML styles
----------------------------------------------------------------------------*/

body
{
	background:				url(/media/images/bg-body.png) repeat top;
}

h2,
h3,
h4
{
	color:					#333;
	font-weight:			bold;
}

h1
{
	font-weight:			bold;
	margin-bottom:			14px;
}

ul,
p
{
	line-height:			1.45em;
	margin-bottom:			16px;
}

strong
{
	color:					#333;
	font-weight:			normal;
}

em
{
	font-style:				italic;
}

a
{
	color:					inherit;
	text-decoration:		underline;
}

a:hover
{
	text-decoration:		none;
}

img
{
	display:				block;
}

blockquote
{
	margin-bottom:			14px;
}

blockquote p
{
	margin-bottom:			5px;
}

cite
{
	color:					#45530C;
	font-style:				normal;
}

h1
{
	margin-bottom:			27px;
}

h2
{
	background:				url(/media/images/bg-rpx-divider-heading.png) repeat-x left bottom;
	margin:					27px 0 4px;
	padding-bottom:			9px;
}


/*--------------------------------------------------------------------------
	Parent layout styles
----------------------------------------------------------------------------*/

#page-container
{
	background:				url(/media/images/bg-rpy-page-container.png) repeat-y 0 0;
	color:					#666;
	font-family:			Arial, Helvetica, sans-serif;
	margin:					0 auto;
	padding:				0 2px;
	width:					1020px;
}

#wrapper
{
	background:				#FFF url(/media/images/bg-wrapper.png) repeat-x 0 0;
	padding:				209px 62px 10px;
	position:				relative;
}

#feature
{
	background:				url(/media/images/bg-rpx-divider.png) repeat-x left bottom;
	margin-bottom:			14px;
	padding-bottom:			37px;
}

#content
{
	float:					right;
	margin-bottom:			100px;
	width:					700px;
}

#sub-content
{
	background:				url(/media/images/bg-rpx-divider-list.png) repeat-x 0 0;
	float:					left;
	margin:					65px 26px 0 0;
	padding-top:			3px;
	width:					165px;
}

#sub-content em
{
	color:					#999;
}

#foot
{
	background:				url(/media/images/bg-rpx-divider-foot.png) repeat-x left top;
	clear:					both;
	color:					#CCC;
	padding:				8px 2px;
}

.gallery
{
	margin:					45px 0 0 -3px;
}

.gallery li
{
	background:				url(/media/images/bg-gallery-li.png) no-repeat left top;
	float:					left;
	min-height:				227px;
	margin:					0 33px 20px 0;
	padding:				0 3px 6px;
	width:					312px;
}


/*--------------------------------------------------------------------------
	Page Titles
----------------------------------------------------------------------------*/

#print-title
{
	background:				url(/media/images/bg-title-hello.png) no-repeat 0 0;
	height:					150px;
	margin-bottom:			0;
	position:				absolute;
	text-indent:			-9999px;
	top:					28px;
	width:					750px;
}

.details #print-title
{
	background:				url(/media/images/bg-title-details.png) no-repeat 0 0;
}

.other-bits #print-title
{
	background:				url(/media/images/bg-title-other-bits.png) no-repeat 0 0;
}

.work #print-title
{
	background:				url(/media/images/bg-title-work.png) no-repeat 0 0;
}


/*--------------------------------------------------------------------------
	= Navigation
----------------------------------------------------------------------------*/

#nav
{
	margin-bottom:			21px;
}

#nav .home img
{
	position:				absolute;
	top:					28px;
	right:					70px;
}

#nav li
{
	background:				url(/media/images/bg-nav-li.png) no-repeat right top;
	float:					left;
	margin-right:			8px;
	padding-right:			15px;
}

#nav li.blog
{
	background:				none;
	margin-right:			0;
	padding-right:			0;
}

#nav li a
{
	display:				block;
	height:					12px;
}

#nav li.home a
{
	background:				url(/media/images/bg-nav-home.png) no-repeat left top;
	width:					35px;
}

#nav li.work a
{
	background:				url(/media/images/bg-nav-work.png) no-repeat left top;
	width:					30px;
}

#nav li.other-bits a
{
	background:				url(/media/images/bg-nav-other-bits.png) no-repeat left top;
	width:					58px;
}

#nav li.details a
{
	background:				url(/media/images/bg-nav-details.png) no-repeat left top;
	width:					41px;
}

#nav li.blog a
{
	background:				url(/media/images/bg-nav-blog.png) no-repeat left top;
	width:					26px;
}

#nav li.current a,
#nav li a:hover
{
	background-position:	0 -12px;
}

#subnav
{
	background:				url(/media/images/bg-rpx-divider-list.png) repeat-x 0 0;
	float:					left;
	margin-right:			26px;
	padding-top:			3px;
	width:					165px;
}

#subnav li
{
	background:				url(/media/images/bg-rpx-divider-list.png) repeat-x left bottom;
	padding:				1px 0 8px;
}

#subnav li a
{
	color:					#999;
	font-weight:			bold;
	text-decoration:		none;
}

#subnav li a:hover
{
	text-decoration:		underline;
}

#subnav li.current a
{
	background:				url(/media/images/bg-li-current.png) no-repeat left center;
	color:					#F11;
	padding-left:			9px;
}

#subnav li.current a strong
{
	color:					#F11;
}

#subnav li strong
{
	color:					#999;
	font-weight:			bold;
}

#subnav li em
{
	font-weight:			normal;
}


/*--------------------------------------------------------------------------
	= Home
----------------------------------------------------------------------------*/


.home #feature
{
	padding-bottom:			13px;
}

.home #content,
.home #sub-content
{
	float:					left;
}

.home #content
{
	width:					540px;
	margin:					0 38px 30px 0;
}

.home #content p
{
	width:					515px;
}

.home #sub-content
{
	background:				none;
	margin:					0;
	padding:				0;
	width:					318px;
}

.home #sub-content strong
{
	font-weight:			bold;
}

.home #sub-content h2
{
	color:					#666;
}

.home #sub-content a,
.home #sub-content a.more:hover
{
	text-decoration:		none;
}

.home #sub-content a:hover,
.home #sub-content a.more
{
	text-decoration:		underline;
}


/*--------------------------------------------------------------------------
	= Details
----------------------------------------------------------------------------*/


.details #content
{
	background:				url(/media/images/bg-rpx-divider.png) repeat-x 0 0;
	float:					right;
	padding-top:			22px;
	width:					700px;
}

.details #sub-content
{
	background:				url(/media/images/bg-rpx-divider-list.png) repeat-x 0 0;
	float:					left;
	margin-top:				0;
	padding-top:			5px;
	width:					170px;
}

.details #sub-content .contracts li
{
	font-weight:			bold;
}

.details #sub-content .contracts
{
	background:				url(/media/images/bg-rpx-divider-list.png) repeat-x left bottom;
	margin-bottom:			5px;
	padding:				5px 0 30px;
}

.details #sub-content ul,
.details #sub-content li
{
	margin-bottom:			3px;
}

.details #sub-content h3
{
	background:				url(/media/images/bg-rpx-divider-list.png) repeat-x left bottom;
	margin-bottom:			5px;
	padding-bottom:			35px;
	color:					#FF0000;
}

.details #sub-content h4
{
	margin-bottom:			3px;
}

.details dl
{
	margin-bottom:			15px;
}

.details dt
{
	clear:					left;
	display:				block;
	float:					left;
	margin-bottom:			10px;
	width:					40px;
}

.details dd
{
	float:					left;
	font-weight:			bold;
}

.details dd strong
{
	color:					#666;
	font-weight:			bold;
}

.details #sub-content li,
.details #sub-content h4
{
	color:					#999;
}


/*--------------------------------------------------------------------------
	= Miscellaneous
----------------------------------------------------------------------------*/

a.more
{
	background:				url(/media/images/bg-more.png) no-repeat right 60%;
	font-weight:			bold;
	padding-right:			8px;
}

a.external
{
	background:				url(/media/images/bg-more-external.png) no-repeat right 60%;
	padding-right:			8px;
	text-decoration:		none;
}

a.external:hover
{
	text-decoration:		underline;
}

#nav em,
.w3c
{
	left:					-2000px;
	position:				absolute;
	top:					-2000px;
}

.gallery li a:focus
{
	outline:				none;
}

.gallery:after,
#wrapper:after,
#nav:after,
dl:after
{
	content:				".";
	display:				block;
	clear:					both;
	visibility:				hidden;
	line-height:			0;
	font-size:				0;
	overflow:				hidden;
}


/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.5.css
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.5
 * @date April 11, 2008
 * @category jQuery plugin
 * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 48%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}

