/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
body {
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.85em;
	line-height: 1em;
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}
/*default link styles*/
/* set all links to have underline and bluish color */
a, a:link, a:active {
       outline: none;
	text-decoration: none;
	background-color: inherit;
	color: #747e01;
}
a:visited {
	text-decoration: none;
	background-color: inherit;
	color: #747e01;
}
a:hover {
	text-decoration: none;
	background-color: inherit;
	color: #16140F;
}

/*****************basic layout *****************/
body {
	margin-left: -1px;
	padding: 0;
	color: #333;
	background: #16140f url(uploads/images/body_bg.gif) repeat-y scroll center 0;
        width: 100%;
        height: 100%;
}
.right_bg {
        width: 50%;
        height: 100%;
        position: absolute; 
        left: 50%;
        bottom: 0px; 
        top: 0px;
        background: transparent url(uploads/images/bg_right_grad.jpg) repeat-x scroll left 0;
        z-index: -1;
        padding: 0px;
}
div#pagewrapper {
	width: 900px;
	margin: 0px auto 20px auto;
	background: transparent url(uploads/images/bg_main.gif) repeat-y scroll 1px top;
	color: black;
        text-align: center;
        padding-bottom: 50px;
 

}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
	height: 168px;
	margin: 0;
	padding: 0;
        width: 450px;
	border-top: solid 15px #16140f;
float: left;
}
div#header h1 a {
	background: transparent url(uploads/images/paulridley_logo.gif) no-repeat left top;
	display: block;
	height: 100px;
	text-indent: -999em;
	text-decoration: none;
        padding: 0px;
        margin: 0px;
}
div#header h1 {
	padding: 0px;
	background: transparent url(uploads/images/paulridley_logo.gif) no-repeat left top;
        height: 100px;
        margin: 0px;
}
div#header h2 {
/* this is where the site name is */
	line-height: 1.5em;
/* this keeps IE6 from not showing the whole text */
	font-size: 1.5em;
/* keeps the size uniform */
	margin: 25px 65px 0px 0px;
/* adjust according your text size */
	color: #2f2d25;
}
div#content {
	margin: 0px;
	padding: 0px;
}
div#sidebar {
	float: left;
	width: 450px;
	display: inline;
	margin: 0px;
	padding: 0px;
}
div#sidebar_picture {
	float: right;
	padding: 0px;
	width: 420px;
        height: 280px;
	border-top: solid 10px #16140f;
}
div#sidebar_picture .thumb {
        float:left;
        line-height:normal;
        list-style-type:none;
        margin:0 4px 5px 0;
        padding:0;
        text-align:center;
        text-decoration:none;
        width:128px;
}
div#sidebar_picture .thumb a{
        border-color:#4b483b #16140F #16140F #4b483b;
        background-color:#4b483b;
        border-style:solid;
        border-width:1px;
        display:block;
        height:83px;
        margin:0;
        padding:4px;
        text-decoration:none;
        width:118px;
}
div#sidebar_picture .thumb a:hover{
        border-color:#98967a #16140F #16140F #98967a;
        background-color:#98967a;

}
div#sidebar_picture ul.picturelist {
        padding: 20px 0px;
        margin: 0px;
}
div#sidebar_picture2 {
	float: right;
	padding-bottom: 20px;
	width: 420px;
	border-top: solid 10px #16140f;
}
div#sidebar_picture2 .thumb {
        float:left;
        line-height:normal;
        list-style-type:none;
        margin:0 4px 5px 0;
        padding:0;
        text-align:center;
        text-decoration:none;
        width:128px;
}
div#sidebar_picture2 .thumb a{
        border-color:#4b483b #16140F #16140F #4b483b;
        background-color:#4b483b;
        border-style:solid;
        border-width:1px;
        display:block;
        height:83px;
        margin:0;
        padding:4px;
        text-decoration:none;
        width:118px;
}
.overf {
        width:117px;
        overflow: hidden;
}
div#sidebar_picture2 .thumb a:hover{
        border-color:#98967a #16140F #16140F #98967a;
        background-color:#98967a;

}
div#sidebar_picture2 ul.picturelist {
        padding: 20px 0px;
        margin: 0px;
}
div#sidebar_contact {
	padding: 0px;
	width: 420px;
        height: 70px;
	border-top: solid 10px #16140f;
	background-color: #22201a;
        font-size: 1.2em;
        color: #b6b095;
        float: right;
}
div#sidebar_contact2 {
	padding: 0px;
	width: 420px;
        height: 70px;
	background-color: #22201a;
        color: #b6b095;
        margin: 0px;
        float: left;
        font-size: 1.2em;
}
div#sidebar_contact div#email,
div#sidebar_contact2 div#email {
	width: 215px;
	margin: 0px;
        padding: 25px 20px 25px 25px;
	background: url(uploads/images/email_bg.jpg) no-repeat left top;
        float: left;
        text-align: left;
        font-size: 0.92em;
}
div#sidebar_contact div#email a,
div#sidebar_contact2 div#email a {
        color: #b6b095;
        text-decoration: none;
}
div#sidebar_contact div#email a:hover,
div#sidebar_contact2 div#email a:hover {
        text-decoration: underline;
}
div#sidebar_contact div#phone,
div#sidebar_contact2 div#phone {
	width: 140px;
	margin: 0px;
        padding: 25px 20px 25px 0px;
	background: url(uploads/images/phone_bg.jpg) no-repeat left top;
        float: right;
        text-align: left;
        font-size: 0.92em;
}

.content {
	float: right;
	width: 450px;
	margin: 0px;
	padding: 0px;
	background: transparent url(uploads/images/content_grad.jpg) repeat-x right 182px;

        text-align: left;
}
.content2 {
	float: right;
	width: 450px;
	margin: 0px;
	padding: 0px;
	height: 182px;
        text-align: left;
}
#top_gallery{
        background: red url(uploads/images/top_gallery.gif) no-repeat left top;
        width: 840px;
        height: 10px;
	margin: 0px;
	padding: 0px;
	border:0;
        float: left;
}
#bottom_gallery{
        background: red url(uploads/images/bottom_gallery.gif) repeat-y left top;
        width: 840px;
        height: 10px;
	margin: 0px;
	padding: 0px;
	border: 0;
        float: left;
}
.image_clean {
	margin: 0px;
	padding: 0px;
        height: 10px;
}
.content_gallery {
        float: right;
	width: 870px;
	margin: 0px;
	padding: 0px;
	background: #cccbb9 url(uploads/images/content_grad.jpg) repeat-x right top;
	min-height: 333px;
        text-align: left;
}
.gallery_content {
	font-size: 0.9em;
	line-height: 1.2em;
        padding: 30px;
	border-top: solid 10px #dfdfd4;
        background-color:#f2f2ed;
        color: #69675d;
        min-height: 151px;
}
div#main_gallery {
	width: 840px;
	padding: 40px 0px 0 0;
	float: left;
	margin: 0px;
        background: url(uploads/images/content_leave.gif) no-repeat left 30px;
        min-height: 283px;
}

div#main {
	width: 360px;
	padding: 40px 20px 0 40px;
	border-top: solid 10px #ebe9e4;
	float: left;
        background: url(uploads/images/content_leave.gif) no-repeat left 30px;
        color: #272521;
        min-height: 333px;
}
div#main img {
        margin: 0 20px 5px 0;   
        padding: 5px 0 0 0;
}

.col1 {
	float: left;
        width: 130px;
        color: #272521;
        line-height: 1.3em;
}
.col2 {
	float: right;
        width: 210px;
        color: #272521;
        line-height: 1.3em;
}
div#main_home {
	width: 380px;
	padding: 50px 0px 0 40px;
	border-top: solid 10px #ebe9e4;
	float: left;
        background: url(uploads/images/content_leave.gif) no-repeat left 30px;
        height: 230px;
}


div#qoute {
        width: 320px;
	padding: 25px 50px;
	border-top: solid 10px #b7b6a1;
	float: left;
        background: url(uploads/images/qoute_bg.gif) no-repeat left top;
        color: #5a554a;
        font-style: italic;
        font-size: 0.95em;
	line-height: 1.1em;
}
.author {
        color: #272521;
        font-style: normal;
        font-size: 0.95em;
	line-height: 1.2em;
	text-align: right;
        margin: 0;
        padding: 0;
}
div#main_home ul {
	list-style: none;
}
div#main_home ul li {
	margin: 10px 0;
padding-left: 15px;
	line-height: 1.2em;
       background: transparent url(uploads/images/list_arr.gif) no-repeat left top;
}

div#main ul li {
	margin: 15px 0;
	line-height: 1.4em;
}

.portfolio  {
	margin: 10px 0;
        padding-left: 16px;
	line-height: 1.3em;
       background: transparent url(uploads/images/list_arr2.gif) no-repeat left top;
}

div.crbk {
/* sets all to 0 */
	margin: 0;
	padding: 0;
/* you can set your own image here */
	background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
	padding: 1em 0em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
	font-size: 90%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
	margin: 0px;
/* you can set your own image here */
	background: url(uploads/ngrey/mainleftup.gif) no-repeat left bottom;
}
div.breadcrumbs span.lastitem {
	font-weight: bold;
}
div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
	width: 27em;
	text-align: right;
	padding: 0.5em 0 0.2em 0;
	margin: 0 1em;
}
/* a class for Submit button for the search input box */
input.search-button {
	border: none;
	height: 22px;
	width: 53px;
	margin-left: 5px;
	padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
	background: url(uploads/ngrey/search.gif) no-repeat center center;
}

/* this gets all the outside calls that were used on the div#main before  */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
	margin-left: 29%;
/* and some air on the right */
	margin-right: 2%;
/* you can set your own image here */
	background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
	float: right;
	width: 69%;
/* and we take this out or it will stop at the bottom  */
	margin-left: 0%;
/* and some air on the right */
	margin-right: 10px;
/* you can set your own image here */
	background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
div.back2 {
/* you can set your own image here */
	background: url(uploads/ngrey/mainleft1.gif) no-repeat left top;
}
div.back3 {
/* you can set your own image here */
	background: url(uploads/ngrey/wbtmleft.gif) no-repeat left bottom;
}
.clear {
	clear: both;
}
div.footback {
/* keep footer below content and menu */
	clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
	padding: 0px 10px 0px 0px;
/* you can set your own image here */
	background: url(uploads/ngrey/wfootrt.gif) no-repeat right top;
}
div#footer {
	width: 900px;
	margin: 0px auto;
	color: black;
        text-align: center;
        padding-bottom: 50px;
}

.leftfoot {
	float: left;
	width: 425px;
	padding-right: 25px;
       color:#494537;
       font-family:Arial,Helvetica,sans-serif;
       font-size:0.8em;
       text-align: right;
}
.rightfoot {
	float: right;
	width: 425px;
	padding: 4px 0 25px 0;
       color:#5A554A;
       font-family:Arial,Helvetica,sans-serif;
       font-size:0.8em;
       text-align: left;
}

div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #595959;
}
/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div.content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}

div.content h2,
div.content_gallery h2 {
	color: #e5520f;
	font-size: 2em;
	text-align: left;
	padding: 0px;
	margin: 0 0 35px 0;
        font-weight: normal;
        line-height: 1em;
        letter-spacing: -0.02em;
}
div.content h3,
div.content_gallery h3 {
	color: #272521;
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 20px 0;
}
div.content h4 {
	color: #294B5F;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div.content h5 {
	color: #294B5F;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #294B5F;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
.comment {
       color:#5A554A;
       font-family:Arial,Helvetica,sans-serif;
       font-size:0.9em;
}

/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
        text-align: justify;
}

.small {
       color:#5A554A;
       font-family:Arial,Helvetica,sans-serif;
       font-size:0.8em;
}


blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
.picturelist ul li
{
margin-right: 2px;

}
/* END LISTS */
/* End of 'Layout: Top menu + 2 columns' */

