/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* Start of CMSMS style sheet 'bt-mast layout' */
/* bt-mast layout */
/* 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;
}

#fadeshowWrapper{
width:380px;
overflow:hidden;
padding:0;
margin:0;
float:left;
}
#fadeshowSpacer{

width:220px;
margin:0;
padding:0;
float:left;
overflow:hidden;
}
#main #fadeshowSpacer img{
margin:0;
padding:0;
border:0;
}

/*Set initial font styles*/
body {
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1em;
	font-size: .95em;

}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
margin:1em;
}

/*default link styles*/
/* set all links to have underline and bluish color */
a, a:link a:active {
	text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
	color: #18507C;
}
a:visited {
/* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	background-color: inherit;
	color: gray;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #6C6753;
background-color:#004;
background-color:#9DA3CB;

/* you can set your own image and background color here */
background: #ADB5DE url(images/cms/bodyBG1.png) repeat-x left top;
background:none;
background:#080E4A;
background:#543;

background: #d6d1b0 url(images/cms/bodyBG.png) repeat-x left top;
background:#44240F;
}

/* Below deleting dotted line on click*/
:focus
{
  -moz-outline-style: none;/* moz */
  outline-style: none;/* ie8*/
}

div#pagewrapper {
	width:900px;
/* now that width is set this centers wrapper */
	margin: 0px auto;
	background-color: #fff;
        border:1px solid #555;
}
/* 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: 220px;
	margin: 0;
	padding: 0;
	/* you can set your own image here, will go behind h1 a image */
	background: url(images/cms/hbg1.jpg) repeat-x left top;  
font-family: "Lucida Grande", "Trebuchet MS", HelveticaNeue, "Helvetica Neue", Verdana, sans-serif;
}
div#header h1 a {
/* you can set your own image here */
	 
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 220px;
width:190px;
/* this hides the text */
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
background: url(images/cms/mast44.gif) no-repeat 14px 14px;
}
div#header h1 {
	margin: 0;
	padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
	line-height: 0;
	font-size: 0;
/* this will keep IE6 from flickering on hover */
	/* background: url(uploads/ngrey/logoCMS.png) no-repeat left top;  */
background: url(images/cms/hbg1.jpg) no-repeat left top;	

}
div#header h2 {
/* this is where the site name is */

	float: left;
        line-height:36px;
font-size:32px;
/* keeps the size uniform */
	margin: 0px 65px 0px 20px;
/* adjust according your text size */
}
div#headerContact, div#headerAnnouncement{
float:right;
margin:0px;
margin-right:80px;
padding:0px;
color:#ddd;
background:#003;
height:25px;
padding-right:5px;
padding-left:5px;
overflow:hidden;
}

div#header p{
padding:0;
margin:0;
width:100%;
font-weight:normal;
font-size:1em;
text-align:center;
}


div#header p a{
padding:0;
margin:0;
text-decoration:none;
color:#ddd;
}
div#headerAnnouncement p a:hover{

text-decoration:underline;
}



span.red{
color:#B3131D;
}

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;  */
}
div#content {
/* some air above and under menu and content */
	margin: 1.5em auto 2em 0;
	padding: 0px;
}
/* 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 */
	width:74%;
/* and some air on the right - was 2 */
	margin-left: 24%;
	margin-right: 0%;
/* 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: left;
	width: 74%;
/* 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;  */
}
div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
	padding: 30px 15px;

/* you can set your own image here */
	/* background: url(uploads/ngrey/rtup.gif) no-repeat right bottom;  */
}
div#main img{
border:5px solid #ddd;
        margin-left:2em; 
        margin-right:0em; 
        margin-bottom:1.5em; 
        margin-top:1.5em; 
}

div#main.contactForm table td{
padding-top:.25em;
padding-bottom:.25em;
padding-left:.1em;
}
div#sidebar {
border-right: 0px solid #ddd;
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: left;
text-align:right;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
	width: 21%;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: -23px 0px 20px;
	padding: 0px;
/* you can set your own image here */
	/* background: url(uploads/ngrey/mainrt.gif) no-repeat right top;  */
background: url(images/cms/sideBG.png) repeat-y top right;
border:1px solid #e5e5e5;

}
div#sidebarb {
	padding: 30px 15px 10px 20px;
/* this one is for sidebar with content and no menu */
	/* background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;  */
}
div#sidebarb div#news {
/* less margin surrounding the news, sidebarb has enough */
	margin: 2em 0 1em 0em;
}
div#sidebara {
	padding: 10px 15px 15px 0px;
/* this one is for sidebar with menu and no content */
	/* background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;  */
}


div#sidebar img{
margin:0;
}

div#sidebar2 {
/* set sidebar2 left. Change to right, float: right; instead, but you will need to change the margins. */
	float: right;
/* sidebar2 width, if you change this change div.back and/or div.back1 margins */
        width:1%;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 0px 0px 20px;
	padding: 0px;
/* you can set your own image here */
	/* background: url(uploads/ngrey/mainrt.gif) no-repeat right top;  */
}
div#sidebar2b {
	padding: 10px 15px 10px 20px;
/* this one is for sidebar2 with content and no menu */
	/* background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;  */
}
div#sidebar2b div#news {
/* less margin surrounding the news, sidebar2b has enough */
	margin: 2em 0 1em 0em;
}
div#sidebar2a {
	padding: 10px 15px 15px 0px;
/* this one is for sidebar2 with menu and no content */
	/* background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;  */
}

div#newsletterSignup{
padding-left:0;
margin:0 auto;
margin-top:40px;
padding-top:6px;
padding-bottom:6px;
overflow:hidden;
/*background:#fff url(images/cms/signupBG.png);*/
width:140px;
}



div#subNavHeading{
border-bottom:1px solid #D7CAA9;
text-align:center;
margin-bottom:.8em;
}

div#sidebarLinks,div#sidebarLinks2{
margin-top:0;
margin-bottom:3em;
padding-top:0em;
padding-bottom:0em;
margin-left:0px;
border-top:0px solid blue;
text-align:center;
font-weight:bold;
color:#555;
}
div#sidebarLinks p{
margin-top:.5em;
margin-bottom:.5em;
text-align:center;
}
div#sidebarLinks img{
margin:0;
}

div#logo{
background:url(images/cms/logo1.png) no-repeat bottom center;
height:100px;
width:100%;
padding:0;
margin:0;
}

div#portfolioWrapper{
width:800px;
height:700px;
margin:0 auto;
}
div#portfolio{

margin:0;

border:none;
}


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 {
/* this sets 10px on left to balance 10px right on last div */
	padding: 0px 0px 0px 10px;
/* color of text, the link color is set below */
	color: #444;
/* you can set your own image here */
	/* background: url(uploads/ngrey/wtopleft.gif) no-repeat left top;  */
}
div.leftfoot {
	float: left;
	width: 30%;
	margin-left: 20px
}
div#footer p {
/* sets different font size from default */
	font-size: 0.8em;
/* some air for footer */
	padding: .5em;
/* centered text */
	text-align: center;
	margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #888;

}

/* 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: 60%;
}
div.right49 {
	float: right;
	width: 19%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */


background: #E7E7EE url(images/cms/h1BG1.gif) no-repeat top left;
/* font size for h1 the higher the h number the smaller the font size, most times */
	font-size: 2em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 4px;
	padding-top: 0px;

background-color:#E7E7EE;
	color: #9D7244;
color:#181F58;
clear:right;

/* a larger than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}
h2 {
background-color:#E7E7EE;
	color: #9D7244;
color:#181F58;
background: #E7E7EE url(images/cms/h1BG1.gif) no-repeat top left;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.5em;
	text-align: left;
/* some air around the text */
	padding-left: 1em;
	padding-bottom: 4px;
	padding-top: 4px;
clear:right;

/* a larger than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 2em 1em 0;
}
div#content h3 {
	color: #6C6753;
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0.5em;
}
div#content h4 {
	color: #6C6753;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0.5em;
}
div#content h5 {
	color: #393F73;
        border-bottom:6px solid #ddd;
        
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 1em 0 0.25em .5em;
}
h6 {
	color: #6C6753;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0.5em;
}
/* 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 1em 2.5em;
	line-height: 1.4em;
	padding: 0;
width:80%;
text-align:justify;
}

p.intro{
font-size:1.2em;
color:#77a;
margin-left:2em;
}


#sidebarb p{
margin: 0;
float:none;
width:100%;
padding:0;
background:none;

}


blockquote {
	margin-left: 20px;
font-size:.9em;
color:#47689E;
font-weight:bold;

}
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;
width:80%;
text-align:justify;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 5em;
}
/* 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;
}
/* END LISTS */

div#storyIntros{
width:630px;
border:0px solid green;
height:600px;
}

div.storyIntro{
width:200px;
text-align:center;
background:#eee;
margin:4px;
padding:0px;
padding-top:5px;
float:left;
height:500px;
}
div.storyIntro h5{
width:200px;
clear:none;
}
#main div.storyIntro p{
padding-left:.5em;
padding-right:.5em;
margin-right:auto;
margin-left:auto;
}
#main div.storyIntro img{
margin:0;
}
#main .storyIntro a.read-more{
padding-left:1em;
}
div.bt-contact{
width:500px;
margin-left:auto;
margin-right:auto;
}

div#main div.bt-contact textarea{

}


div#main div.bt-contact input{

padding:0;
margin-left:1em;
margin-top:.5em;
margin-bottom:.5em;
margin-right:100px;
display:block;
}



div#main div.bt-contact form div label, div#main div.bt-contact form div.required label{
display:block;
width:6em;
text-align:right;
margin-top:.5em;
margin-bottom:.5em;
margin-right:1em;
border:0px solid blue;
clear:left;
float:left;
}

div.bt-contact fieldset{
padding:1em;
margin:0;
border:1px solid #ccc;
border-bottom:0;
}
div.bt-contact fieldset div{
border:1px solid white;
clear:left;
}


div#content div#main div.bt-checkbox input{
margin:0em;
float:left;
}
div#content div#main div.bt-checkbox label{
margin:0em;
float:left;
display:block;
}

div#main div.bt-contact form div.bt-checkbox label{
width:20em;
text-align:left;
border:0px solid green;
}









div.bt-contact div.captcha{
padding-left:1em;
padding-right:1em;
padding-top:0px;
padding-bottom:0px;
margin-top:0;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
}
#main img.captchapict{
border:0;
margin-top:0;
margin-right:400px;
}


div.bt-contact div.submit{
padding:1em;
padding-top:0px;
margin:0;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
}

#content div.shareStory{
border-top:1px dashed #999;
border-bottom:1px dashed #999;
width:195px;
padding:0;
background:#FCFBED;
text-align:center;
padding:0;
margin:0;
}
#content div.shareStory img{
margin:0;
padding:0;
border:0;
}

/* bt-mast layout */
/* End of 'bt-mast layout' */
/* End of 'bt-mast layout' */


/* End of 'bt-mast layout' */


/* End of 'bt-mast layout' */

