/* Start of CMSMS style sheet 'Calvary 2010 Stylesheet' */
/* 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: Verdana, Arial, Helvetica, sans-serif;
	font-size: 85%;
	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*/



a, a:link a:active {
/* set all links to have underline */
	text-decoration: none;
/* 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;
/* this is a bluish color, you change this for all default link colors */
	color: #18507C;
}
a:visited {
/* keeps the underline */
	text-decoration: underline;
	background-color: inherit;
/* a different color is used for visited links */
	color: #18507C;
}
a:hover {
/* remove underline on hover */
	text-decoration: none;
	background-color: inherit;
/* using a different color makes the hover obvious */
	color: #385C72;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #333;
/* you can set your own image and background color here */
	background: #E1D2D5;
}
div#container{
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
	max-width: 900px;
	min-width: 900px;
/* now that width is set this centers wrapper */
	margin: 0 auto;
	background: #5a393f;
	color: black;
        border: 1px solid #000000;
       /* overflow: hidden;*/
background: url(uploads/images/red-white-back.gif) repeat-y right top;
}



.clear { clear:  both; }




/* 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: 244px;
	margin: 0;
	padding: 0;
/* you can set your own image here, will go behind h1 a image */
	background: #f4f4f4 url(uploads/images/calvarybanner2010.gif) no-repeat;
/* border just the bottom */
	border-bottom: 0px solid #D9E2E6;
}
div#header h1 a {
/* you can set your own image here */
	background: ;
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 244px;
/* this hides the text */
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
}
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 */

}
div#header h2 {
/* this is where the site name is */
	float: right;
	line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
	font-size: 1.5em;
/* keeps the size uniform */
	margin: 35px 65px 0px 0px;
/* adjust according your text size */
	color: #f4f4f4;
}
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 */
	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;
}

.twoColFixLtHdr #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 161px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #5a393f; /* the background color will be displayed for the length of the content in the column, but no further */
	/*padding-bottom: 10000px;*/
       /*margin-bottom: -10000px;*/
}
.twoColFixLtHdr #mainContent {
	margin-top: 0px;
	margin-left: 161px;
	padding-top: 15px;
	padding-right: 15px;
	padding-left: 15px;
       background: #ffffff;
        /*padding-bottom: 10000px;*/
        /*margin-bottom: -10000px;*/
} 


.twoColFixLtHdr #footer {
	padding: 0px; 
	background:#64333C;
        clear: left;

} 
.twoColFixLtHdr #footer p {
	margin: 0 0 0 160px; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 10px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
        color: #ffffff;
}

div#whatsnewbox {
	float: right; /* since this element is floated, a width must be given */
	width: 250px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #e1d2d5 url(uploads/images/whatsnew.gif) no-repeat top left;
	margin-top: 5px;
	margin-right: 5px;
	border: thin solid #000000;
	padding-top: 45px;
	padding-right: 8px;
	padding-bottom: 5px;
	padding-left: 8px;
	margin-left: 15px;
         
}


/* 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;
}


.phototable {
padding: 5px;
}

/********************CONTENT STYLING*********************/
/* HEADINGS */
h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 200%;
	line-height: normal;
	font-weight: bold;
	color: #64333C;
	margin: 0px 0px .8em 0px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	top: 0px;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #64333C;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 150%;
        line-height: 120%;
	font-weight: bold;
	margin: 0px 0px .5em 0px;
	padding: 0px;
	color: #64333C;
}
h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 130%;
	font-weight: bold;
	margin: 0px 0px .5em 0px;
	padding: 0px;
	color: #64333C;
}
h4 {
font-family: Arial, Helvetica, sans-serif;
	font-size: 120%;
	font-weight: bold;
	margin: 0px 0px .3em 0px;
	padding: 0px;
	color: #64333C;
}
h5 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
	font-weight: bold;
	margin: 0px 0px .2em 0px;
	padding: 0px;
	color: #64333C;
}
h6 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: bold;
	margin: 0px 0px .1em 0px;
	padding: 0px;
	color: #64333C;
}
/* END HEADINGS */
/* TEXT */

.smallertext {
	font-size: 90%;
}

.homepagetext {
	line-height: 140%;
	list-style-image: url(images/arrow.gif);
}

p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 120%;
	color: #64333c;
	margin: 0 0 1.5em 0;
	padding: 0px;
	list-style-image: url(images/arrow.gif);
}
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 */


ul,
ol,
dl {
      font-family: Arial, Helvetica, sans-serif;	
      margin: 0 0 1em 0;
       font-size: 95%;
	line-height: 120%;
	color: #64333c;
}

ul li,
ol li {
	margin: 0 0 0.5em 2em;
}
/* definition lists topics on bold */
dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
dl dd {
	margin: 0 0 1em 1em;


/* END LISTS */
/* End of 'Calvary 2010 Stylesheet' */

