/*
Dom Conrad - Pylon Design Consultants Limited, London, UK
September 2009
Codex Pictures - CSS Styles
*/

* {
	margin: 0;
	padding: 0;
}

body {
	margin: 40px 0 20px;
	/*background: #202a34;*/
	background: #233548;
}

body, th, td, input, textarea {
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
	font-size: 12px;
	color: #666}

form {
}

fieldset {
}

input, textarea {
	font-weight: bold;
}

input.text {
	padding: 2px 5px;
	background: #F8FAEB;
	border-top: 1px solid #4D5719;
	border-left: 1px solid #4D5719;
	border-right: 1px solid #626456;
	border-bottom: 1px solid #626456;
}

input.button {
	background: #3C7BCF;
	border-top: 1px solid #3C7BCF;
	border-left: 1px solid #3C7BCF;
	border-right: 1px solid #3C7BCF;
	border-bottom: 1px solid #3C7BCF;
	color: #FFFFFF;
}

h1, h3 {
	margin-top: 1.5em;
	color: #626456;
}

h1 {
	letter-spacing: -.075em;
	font-size: 2em;
	color: #3c7bcf;
font-family: ""Lucida Grande"", ""Lucida Sans Unicode"", ""Lucida Sans"", ""DejaVu Sans"", ""Bitstream Vera Sans"", ""Liberation Sans"", Verdana, ""Verdana Ref"", sans-serif;
}


h2 {
	margin-top: 1.2em;
text-transform: uppercase;
	font-size: 1.3em;
	font-weight: bold;
	color: #4c4c4c;
	font-family: ""Lucida Grande"", ""Lucida Sans Unicode"", ""Lucida Sans"", ""DejaVu Sans"", ""Bitstream Vera Sans"", ""Liberation Sans"", Verdana, ""Verdana Ref"", sans-serif;
}

h3 {
	font-size: 1.2em;
	color: #333;
font-family: ""Lucida Grande"", ""Lucida Sans Unicode"", ""Lucida Sans"", ""DejaVu Sans"", ""Bitstream Vera Sans"", ""Liberation Sans"", Verdana, ""Verdana Ref"", sans-serif;
}

p, ul, ol {
	margin-top: 1.2em;
	line-height: 1.75em;
	font-size: 1.1em;
}

ul, ol {
	margin-left: 3em;
}

blockquote {
	margin-left: 3em;
	margin-right: 3em;
}

a:link, a:visited, a:active {
	text-decoration: none;
	color: #3C7BCF;
}

a:hover {
	border: none;
	text-decoration: underline;
}

h1 a, h2 a, h3 a {
	border: none;
	text-decoration: none;
	color: #3C7BCF;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	background: none;
	color: #3C7BCF;
}

hr {
	display: none;
}

/* Wrapper */

#wrapper {
}

/* Header */

#header {
	width: 820px;
	height: 80px;
	margin: 0 auto;
}

#menu {
	float: right;
	padding-right: 0;
	padding-top: 16px;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	float: left;
	height: 13px;
	margin-right: 0px;
	padding: 20px 30px 0 10px;
	text-decoration: none;
	color: #5381b1;
	border-left: 1px solid #5381b1;
	text-transform: uppercase;
	background-color: transparent;
	font: bold 11px Verdana, Arial, Sans-serif;
}

#menu a:hover {
	background: transparent;
	color: #fff;
		border-left: 1px solid #FFF;
}

#menu .current_page_item a {
	background: transparent;
	color: #a6cefd;
	border-left: 1px solid #a6cefd;
	}

#search {
	float: right;
	width: 260px;
	padding-top: 7px;
}

#search fieldset {
	border: none;
}

#search #s {
	width: 160px;
}

#search #x {
	width: 80px;
}

/* Logo */

#codexlogo {
	float: left;
	margin-left: 42px;
	background: url(images/codex_logo_1.gif) no-repeat left top;
	width: 276px;
	height: 51px;
	position: absolute;
}

#logo {
	width: 820px;
	height: 200px;
	margin: 0 auto;
	height: 163px;
	border: 20px solid #202a34;
}

#codexlogo h1, #logo h2 {
	float: left;
	margin: 0;
	padding: 0;
}

#logo h1 {
	padding: 100px 5px 0 20px;
	color: #2C2E22;
}

#logo h2 {
	padding: 115px 0 0 0;
	font-style: italic;
}

#logo p {
	clear: left;
	margin: 0;
	padding: 0 0 0 20px;
	line-height: normal;
	font-size: 1.2em;
	font-weight: bold;
	color: #C2C5B1;
}

#logo a {
	color: #FFFFFF;
}

/* Page */

#page {
	width: 820px;
	margin: 0 auto;
	padding: 36px 0px 0;
	background: #FFF;
	/*border: 20px solid #F3F3F3;*/
	border-top: none;
}

/* Content */

#content {
	float: left;
	width: 760px;
	padding: 0px 0px 0px 30px;
    min-height:500px;
    height:auto !important;
    height:500px; 
}

#contentnarrow {
	float: left;
	width: 520px;
	padding: 0px 0px 0px 30px;
    min-height:500px;
    height:auto !important;
    height:500px; 
}

.post {
}

.post .title {
	margin: 0 0 0 0px;
	font-weight: normal;
}

.post h1.title {
	padding: 10px 0 0 15px;
	background: url(images/img18.gif) no-repeat left top;
	/*border-bottom: 1px solid #626456;*/
	height: 40px;
	font-size: 2em;
	color: #3c7bcf;
}

.post .entry {
	padding: 0 10px 30px 15px;
}

.post .meta {
	margin: 0;
	padding: 5px 0px 0px 15px;
	text-transform: uppercase;
	font-size: 10px;
	color: #5780af;
}

.post .meta a {
	color: #CFCFCF;
}

.post .entry .meta {
	padding: 5px 0px 0px 0;
}

.post .links {
	margin: 0;
}

.post .tags {
	margin: 0;
	text-transform: uppercase;
	font-size: .8em;
	font-weight: bold;
	/*background: url(images/img04.gif) repeat-x; */
}

.post .links a, .post .tags a {
	border: none;
}

/* Recent Posts */

#recent-posts {
}

#recent-posts h2 {
	margin: 0;
	/* background: url(images/img13.gif) no-repeat left top; */
	padding: 15px 0  0 15px;
	height: 30px;
}

#recent-posts h3 {
	margin: 0;
	font-size: 13px;
	padding: 15px 0  0 15px;
	/* background: url(images/img04.gif) repeat-x left bottom; */
}

#recent-posts p {
	margin: 0 0 10px 0;
	padding: 15px 0  0 15px;
	line-height: 22px;
	font-size: 13px;
}

/* Image placement */

#content img, #contentnarrow img {
	padding: 6px;
	border: 1px solid #e6e6e6;
}
.picright {
	float:  right;
	margin: 0 0 10px 20px;
}

.picleft {
	float:  left;
	margin: 0 20px 10px 0px;
}

/* Sidebars */

.sidebar {
	float: left;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar li {
	margin-bottom: 2em;
}

.sidebar li ul {
}

.sidebar li li {
	margin: 0;
}

.sidebar li h2 {
	margin: 0 0 1em 0;
}

#sidebar1 {
	width: 230px;
	padding: 0px 0px 0px 20px;
}

#sidebar2 {
	width: 220px;
	padding: 0px 20px 0px 20px;
}

#sidebar2 li h2 {
	margin: 0 0 1em 0;
	background: url(images/img18.gif) no-repeat left top;
	padding: 15px 0  0 15px;
	height: 34px;
	font-size: 1.2em;
	color: #5780af;
}

#sidebar2 li ul {
	line-height: normal;
	/* background: url(images/img04.gif) repeat-x; */
}

#sidebar2 li li {
	padding: 5px;
	/* background: url(images/img04.gif) repeat-x left bottom; */
	font-size: .8em;
}

#sidebar2 li a {
	border: none;
	padding-left: 10px;
}

#sidebar2 li a:hover {
	border: none;
	padding-left: 10px;
}


/* Calendar */

#calendar {
	margin: 0 auto;
}

#calendar caption {
	font-weight: bold;
}

#calendar table {
	width: 220px;
	text-align: center;
	border-collapse: collapse;
}

#calendar thead th {
	background: #CCCCCC;
	color: #FFFFFF;
}

#calendar tbody td {
	background: #EEEEEE;
}

#calendar #today {
	background: #5780af;
	font-weight: bold;
	color: #FFFFFF;
}

#calendar a {
	font-weight: bold;
}

#calendar #prev {
	text-align: left;
}

#calendar #next {
	text-align: right;
}

/* Footer */

#footer {
	text-align: center;
	font-size: 10px;
	color: #416489;
}

#footer a:link, a:visited, a:active {
		font-weight: normal;
		text-decoration: none;
		color: #5381b1;
		}
		
#footer a:hover {
		text-decoration: none;
		color: #a6cefd;
		}
		
.post td {
	padding: 5px;
	vertical-align: top;
	}
	
div.photo {
	float: left;
	}
	
div.team-member {
	clear: both;
	margin: 10px 10px 0 0;
	}
	
div.text {
	margin-left: 10px;
	float: left;
	}

