/* CHRISTIAN MISSIONARY SCHOLARSHIP FOUNDATION */

/* HYPERLINK COLORS */
a { text-decoration: underline; background-color: transparent; outline: none; cursor: pointer;} /* Turn off a link's dotted outline in Firefox */
a:link { color: #333366; text-decoration: underline; background-color: transparent;}
a:visited { text-decoration: underline; background-color: transparent;}
a:hover { color: #9999cc; text-decoration: underline; background-color: transparent;}
a:active { color: #666699; text-decoration: underline; background-color: transparent;}

#accessibility {
	position: absolute;
	top: -9000px; /* Move links off-screen */
}

#accessibility a:focus {
	display: block;
	position: absolute;
	top: 9001px;
	color: #666699;
	background: #ffffcc;
	padding: 1em;
	width: 100%;
	border: none;
	z-index: 300;
	white-space: nowrap;
}


/* NAVIGATION LINKS 
------------------------------------------------------------------------------------------------ */
#navbar a { text-decoration: none; display: block; width: auto;} /* Switched from width:100% to width:auto */
#navbar a:link { color: #000000;}
#navbar a:visited { }
#navbar a:hover  { color: #006633;}
#navbar a:active, a:focus { color: #666699;}

/* NAVIGATION LISTS
------------------------------------------------------------------------------------------------ */
#navbar ul { margin: 0; padding: 0; list-style-type: none; line-height: normal;}
#navbar ul li { margin: 0; padding: 10px 0 10px 20px; background: url(/images/bg-border-navbar-test.gif) left bottom repeat-x; line-height: normal;} /* Switch text-indent: to be padding-left:20px. This prevents text wrap */
#navbar ul li:hover {}

#navbar ul li ul { margin: 0; padding: 0; list-style-type: none; line-height: normal;}
#navbar ul li ul li { margin: 0; padding: 10px 5px 10px 20px; font-weight: normal; background: none; line-height: normal;}
#navbar ul li ul li:hover {}

#navbar ul li ul li ul { margin: 0; padding: 0; list-style-type: square; line-height: normal; font-size: 85%;}
#navbar ul li ul li ul li { margin: 0; margin-left: 20px; padding: 5px 5px 0 0; font-weight: normal; line-height: normal;}
#navbar ul li ul li ul li:hover {}


/* AUTO-SELECTING NAVIGATION http://24ways.org/advent/auto-selecting-navigation */
body.home #navbar li.home,
body.quickfacts #navbar li.quickfacts,
body.apply #navbar li.apply,
body.give #navbar li.give,
body.about #navbar li.about,
body.contact #navbar li.contact,
body.layout #navbar li.layout { font-weight: bold; background-color: #d7dac3; border-right: 1px solid #000000;}


/* REDEFINED HTML TAGS */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
	background-color:#d7dac3;
	padding: 0;	
	margin: 0 auto;
	text-align: center;
}

td { font-family: Arial, Helvetica, sans-serif}
p { font-family: Arial, Helvetica, sans-seri; line-height: 150%;}
ol,ul,li { font-family: Arial, Helvetica, sans-seri; line-height: 150%;}
b { font-weight: bold;}
strong { font-weight: bold;}
i { font-style: italic;}
em { font-style: italic;}
img {
	border: none;
	margin: 0;
}


.img-right {
	float: right;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 10px;
	border: none;
}

.img-left {
	float: left;
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 0;
	border: none;
}

.table-right, .div-right {
	font-family: Arial, Helvetica, sans-seri;
	background: #d7dac3;
	border: 1px solid #cc9966;
	padding: 5px;
	float: right;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 10px;
}

.table-right th {
	font-weight: bold;
	color: #FFFFFF;
	background-color: #cc9966;
	text-align: left;
}

.table-left, div-left {
	font-family: Arial, Helvetica, sans-seri;
	background: #d7dac3;
	border: 1px solid #660000;
	padding: 5px;
	float: left;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
}

.table-left th {
	font-weight: bold;
	color: #FFFFFF;
	background-color: #660000;
	text-align: left;
}


.skip { font-size: 65%; color: #FFFFFF; text-decoration: none; background-color: transparent;}
.bodycopy-small { font-family: Arial, Helvetica, sans-seri; font-size: 75%;}

/* Application Forms */

form {
margin: 0;
padding: 0;
}

fieldset {
	margin: 1em 10px 20px 0;
	padding: 2em;
	border: 1px solid #cccc99;
}

legend {
font-weight: bold;
color: #003300;
font-size: 120%;
margin: 0;
padding: 0.5em;
}

label {
display: inline;
}

form table {
	width:100%;
}
td.formlabel {
	text-align:right;
	vertical-align:top;
	padding:4px 2px;
	width:33%;
}
td.forminput {
	text-align:left;
	vertical-align:middle;
	padding:4px 2px;
	width:67%;
}

/* HEADINGS */

h1 {
	font-size: 160%;
	font-weight: normal;
	color: #000000;
	border-bottom: 1px solid #999999;
}
h2 {
	font-size: 150%;
	font-weight: bold;
	color: #003300;
}
h3 {
	font-size: 130%;
	font-weight: normal;
	color: #003300;
	text-align: left;
	padding-left: 0;
	margin-left: 0;
}
h4 {
	font-size: 120%;
	font-weight: normal;
}
h5 {
	font-size: 110%;
	font-weight: bold;
	color: #000000;
	margin: 0;
	padding: 0;
}
h5 span { /* See: About the Campaign */
	color: #554A46; /* Warm Gray */
	display: block;
	font-weight: normal;
	margin-bottom: -1em;
	font-size: 90%;
}
h6 { font-size: 100%; font-weight: bold; color: #006633;}


/* PAGE STRUCTURE
----------------------------------------------------------------------------------------- */

#header {
	width: 1040px;
	height: 160px;
	padding: 0;
	margin: 0 auto;
	clear: both;
	background-color: #d7dac3; 
	background-image: url(/images/bg-header.jpg);
	background-repeat: no-repeat;
	z-index: 100;
	position: relative;
	
}

#wrap {
	padding: 0;
	margin: 0 auto;
	width: 100%;
	text-align: center;
	background: transparent;
	background-image: url(/images/bg.gif);
	overflow: auto;
	background-repeat: repeat-y;
	background-position: 50% 0;
}

#wrapper {
	width: 960px;
	text-align: left;
	background: transparent;
	margin: 0 auto;
	padding: 0;
}


#sidebar {
	padding: 0;
	margin: 0;
	float: left;
	width: 240px;
}

#content {
	width: 720px;
	float: right;
	padding: 0;
	margin: 0;
	z-index: 300;
	position: relative;
	height: 1%; /* 'hasLayout' trigger for IE6, see DIV tag for display: inline */
	overflow: hidden;	
}

#content dt {
	font-weight: bold;
	color: #000000;
	margin: 0;
	padding: 0;
}
#content dd {
	margin: 0 0 1em 0;
	padding: 0 0 .5em 0;
}

#nameplate-dept {
     width: 400px;
     height: 120px;
     padding: 0;
     margin: 40px 0 0 20px;
     text-indent: -9999px; /* Push text off screen */
     }

#nameplate-dept a {
     width: 400px;
     height: 120px;
     padding: 0;
     margin: 0;
     display: block;
     }


/* GUTTERS
----------------------------------------------------------------------------------------- */

#header .gutter {
	padding: 0 0 0 20px;
	width: 920px;
	float:left;
	height: 65px;
}


#sidebar #navbar { /* Similar function to .gutter */
	padding-top: 0; /* Align the first link with the page heading <h2> */
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

#footer-custom .gutter {
	padding: 40px 0 20px 0;
	margin: 70px 0 70px 0;
	text-align: center;
}

/* FOOTER */

#footer-custom {
	clear: both;
	float: left;
	padding: 0;	
	margin: 0;
	width: 100%;
	color: #000000; 
	font-size: 80%;
	background: #d7dac3; 
	background-image: url(/images/bg-footer-custom.gif);
	background-repeat: no-repeat;
	background-position: center top;
}

#footer-custom a {
	text-decoration: none;
	border-bottom: 1px dotted #000000;
	color: #000000; 
}

#footer-custom a:hover {
	text-decoration: none;
	border-bottom: 1px dotted #9999cc;
	color: #9999cc;
}


/* TWO COLUMNS
---------------------------------------------------------------------------------------- */

.columns {
	float: left;
	clear: both;
	width: 99%;
	background-color: transparent;
	margin-bottom: 1em; /* IE fix at end of document */
}

.columns-1 {	
	float: left;
	clear: left;
	width: 48%;
	padding: 0;
	margin: 0;
}
.columns-2 {
	float: right;
	clear: right;
	width: 48%;
	padding: 0;
	margin: 0;
}

.columns h4 {
	border-bottom: 1px dotted #999999;
}


/* PROFILE SPOTLIGHTS
----------------------------------------------------------------------------------------- */
.spotLight a, .spotLightHover a { color: #000000; text-decoration: none;}
.spotLight a:hover  { color: #000000;}
.spotLight a:active, a:focus { background-color: transparent;}

.spotLight, .spotLightHover { text-align: center; text-decoration: none; margin-bottom: 2em; vertical-align: top;}
.spotLight { background-color: #ffffff;	border: 1px solid #C79571;}
.spotLightHover { background-color: #FDBC5F; border: 1px solid #C79571;}
.spotLight div, .spotLightHover div {height: 110px; width: 100%; overflow: hidden; margin-bottom: 4px; background: top left no-repeat transparent;}
.spotLight strong, .spotLightHover strong { text-transform: uppercase;}


/* BOXES - Dan Cederholm's Indestructible Boxes
----------------------------------------------------------------------------------------------- */

.box {
	background: #FFFFFF url(/images/bg-box-bottom.gif) no-repeat left bottom;
	width: 240px;
	margin: 0;
}

.box h3 {
	background: url(/images/bg-box-top.gif) no-repeat; 
	background-position: 10px 10px; /* x y */
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #993333;
	color: #BC6D50;
	font-size: 120%;
}

.box ul {
	margin: 0;
	padding: 1em;
	list-style: none;
}

.box ul li {
	margin-bottom: 1em;
	list-style: none;
}

.box img {
	padding: 1em 1em 0 1em;
}


/* Data Tables
-------------------------------------------------------------------------------------------- */
.data-table {
	border: 1px solid #999999;
	border-collapse: collapse;
	width: 100%;
}

.data-table td {
	border: 1px solid #999999;
	padding: 0.5em;
	color: #000000;
}

.data-table th {
	border: 1px solid #999999;
	padding: 0.5em;
	color: #333333;
	background-color: #EEEEEE;
}

.data-table tr.altrow {
	background-color: #F7EDD4;
}

.data-table td.altcolumn {
	background-color: #F7EDD4;
}
/* PAGE LAYOUTS
-------------------------------------------------------------------------------------------- */

#headingContent h1 { /* Padding for H1 (no padding for images or flash) */
	margin-top: 30px; /* Use margins to be nice to IE */
	margin-right: 20px;
	margin-bottom: 20px;
	margin-left: 20px;
}
#headingContent p, #headingContent h2, #headingContent h3, #headingContent h4, #headingContent h5, #headingContent h6 { /* Padding for Headings (no padding for images or flash) */	
	margin-left: 20px; /* Use margins to be nice to IE */
	margin-right: 20px;
}
#headingContent .img-caption {
	color: #E9E0C8;
	background-color: #333333;
	text-align: left;
	margin: 0;
	padding: 0;
	clear: both;
	border-top: 5px solid #660000;
	border-bottom: 5px solid #660000;
	font-size: 85%;
}
#headingContent .img-caption .gutter{
	margin: 0;
	padding: 5px;
}


#primaryContent #secondaryContent #sideContent {
	text-align: left;
	vertical-align: top;
	background: transparent;
	display: inline;
}
#primaryContent .gutter {
	padding: 0 10px 0 20px;
	margin: 0;
	line-height: 125%;
	background-color: #ffffff;
	}

	#primaryContent .img-caption li {
	margin: 0;
	padding: 0 15px;
	list-style: none;
	}


#secondaryContent .gutter {
	padding: 0 10px 0 10px;
	margin: 0;
	line-height: 125%;
	background-color: #ffffff;
}


#sideContent .gutter {
	padding: 0 20px 0 10px;
	margin: 0;
	line-height: 125%;
	background: transparent;
}


#primaryContent #secondaryContent #sideContent h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	line-height: normal;
}

#facts { 
	min-height:150px;
	height:auto !important;
	height:150px;
}

#factsPause { display:none; }



 
/* THREE COLUMN LAYOUT (#threeColLayout) */

#threeColLayout #primaryContent {
	float: left;
	width: 240px;
	margin: 0;
	padding: 0;
}

#secondaryContent { /* This column is used only in the Three Column Layout */
	float: left;
	width: 240px;
	margin: 0;
	padding: 0;
}

#sideContent {
	float: right;
	width: 240px;
	padding: 0;	
	margin: 0;
	_margin-right: -3px; /* Fix "IE 6 Duplicate Character Bug" with margin-right: -3px */
}


/* TWO COLUMN LAYOUT (#twoColLayout) */

#twoColLayout #primaryContent {
	float: left;
	width: 360px;
	margin: 0;s
	padding: 0;
}

#twoColLayout #sideContent {
	float: left;
	width: 360px;
	padding: 0;
	margin: 0;
	_margin-right: -3px; /* Fix "IE 6 Duplicate Character Bug" with margin-right: -3px */
}

.news#twoColLayout #sideContent,  .priorities#twoColLayout #sideContent{
	background: url(/images/bg-twocolumn-sidecontent.gif) repeat-y;
}

.news#twoColLayout #sideContent h2, .news#twoColLayout #sideContent h3, .priorities#twoColLayout #sideContent h2 {
	margin-top: 10px;
}


#twoColLayout #secondaryContent {
	display: none;
	margin: 0;
	padding: 0;
}


/* DEFAULT LAYOUT (#defaultLayout) */

#defaultLayout #primaryContent {
	float: left;
	width: 480px;
	margin: 0;
	padding: 0;
}

#defaultLayout #sideContent {
	float: right;
	width: 239px;
	padding: 0;
	margin: 0; 
	_margin-right: -3px; /* Fix "IE 6 Duplicate Character Bug" with margin-right: -3px */
	background: url(http://christianmissionaryscholarship.com/images/bg-sidecontent.gif) repeat-y top right; /* Faux-column color equals 220 pixels */
	border-left: 1px solid #cc9966;
}

#defaultLayout #sideContent .gutter {
	padding: 0 30px 5px 10px; /* Increase .gutter for faux-column effect with background graphic */
}

#defaultLayout #sideContent h2, #defaultLayout #sideContent h3 {
	margin-top: 10px;
}

#defaultLayout #sideContent ul {
	margin: 0;
	padding: 0 0 0 1em;
}

#defaultLayout #secondaryContent {
	display: none;
	margin: 0;
	padding: 0;
}


/* ONE COLUMN LAYOUT (#oneColLayout) */

#oneColLayout #primaryContent {
	float: left;
	width: 710px;
	margin: 0;
	padding: 0;
}

#oneColLayout #secondaryContent, #oneColLayout #sideContent {
	display: none;
	margin: 0;
	padding: 0;
}


/* Fix IE */
html .columns { margin-bottom: 0;} /* This fix is typically a star hack */

