﻿body, * {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	text-align: center;
}

h1, h4, h5, h6, p, ul {
	font-family: Arial, Helvetica, sans-serif;
}

h2, h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
}

#headerstrip {
	width: 100%;
	clear: both;
	margin-top: 26px;
	background: #fff url(../images/header_bg.jpg) no-repeat center top;
	text-align: center;
}

#logonav {
	margin: 12px auto 0;
	_padding-left: 1px;
	width: 740px;
	background: transparent;
	clear: both;
}

#logonav h1 a {
	float: left;
	margin-top: 12px;
	_margin-top: 0;
	_padding-top: 12px;
	width: 205px;
	line-height: 80px;
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 5px;
	color: #000;
	text-align: left;
	text-decoration: none;
	background: transparent url(../images/king_logo_web.gif) no-repeat left top;
	text-indent: -5000px;
}

#logonav ul {
	float: right;
	height: 100px;
	margin-top: 12px;
	_margin: 0;
	list-style: none;
	color: #333;
	font-size: 12px;
	display: inline;
	border-left: 1px solid #e4e4e4;
}

#logonav li {
	float: left;
	display:inline;
	height:100%;
	text-align: center;
	border-right: 1px solid #e4e4e4;
}

#logonav li a:link, #logonav li a:visited {
	float: left;
	height:130px;
	padding: 39px 16px 0 16px;
	display: inline;
	color: #333;
	text-decoration: none;
	background: transparent;
}

#logonav li a:hover {
	color: #4985b8;
	text-decoration: none;
	background: transparent url(../images/nav_bg.jpg) no-repeat center top;
}

#kingfoundation li#kingfoundation a { background: transparent url(../images/nav_bg.jpg) no-repeat center top; }
#aboutus li#aboutusnav a { background: transparent url(../images/nav_bg.jpg) no-repeat center top; }
#grants li#grantnav a { background: transparent url(../images/nav_bg.jpg) no-repeat center top; }
#grantwritinghelp li#grantwritinghelp a { background: transparent url(../images/nav_bg.jpg) no-repeat center top; }
#contactus li#contactnav a { background: transparent url(../images/nav_bg.jpg) no-repeat center top; }
#resources li#resnav a { background: transparent url(../images/nav_bg.jpg) no-repeat center top; }

#mainimage {
	margin: 0 auto;
	_padding-left: 1px;
	_margin-top: -30px;
	width: 740px;
	height: 100px;
}

#maincontent {
	margin: 3px auto 0;
	width: 740px;
	background: transparent url(../images/mainside_bg.jpg) repeat-y right;
	border-top: 1px solid #e4e4e4;
	text-align: center;
}

#maintext {
	float: left;
	width: 519px;
	background: transparent;
	border-right: 1px solid #e4e4e4;
	padding: 15px 0;
}

#maintext h2 {
	padding: 10px 18px 0 0;
	font-size: 22px;
	color: #4985b8;
	text-align: left;
}
#maintext h3 {
	padding: 10px 18px 0 0;
	font-size: 18px;
	color: #4985b8;
	text-align: left;
}
#maintext h4 {
	padding: 10px 18px 0 0;
	font-size: 16px;
	color: #4985b8;
	text-align: left;
}
#maintext h2 a:link, #maintext h2 a:visited, #maintext h3 a:link, #maintext h3 a:visited, #maintext h4 a:link, #maintext h4 a:visited {
	color: #4985b8;
	text-decoration: none;
}
#maintext h2 a:hover, #maintext h3 a:hover, #maintext h4 a:hover {
	color: #999;
	text-decoration: underline;
}

#maintext p {
	padding: 10px 18px 5px 0;
	font-size: 12px;
	color: #333;
	line-height: 1.5em;
	text-align: left;
}
#maintext p a:link, #maintext p a:visited {
	color: #4985b8;
	text-decoration: none;
}
#maintext p a:hover {
	color: #999;
	text-decoration: underline;
}

#maintext ul {
	margin: 10px 18px 5px 0;
	font-size: 12px;
	color: #333;
	list-style-type: square;
	line-height: 1.8em;
	text-align: left;
}
#maintext li {
	margin: 0 0 0 20px;
}
#maintext li a:link, #maintext li a:visited {
	color: #4985b8;
	text-decoration: none;
}
#maintext li a:hover {
	color: #999;
	text-decoration: underline;
}

#maintext img { margin: 10px; }

#mainside {
	float: left;
	width: 220px;
	background: transparent;
}

/* --------------- MAIN PAGE SIDEBAR BUTTON STYLES --------------*/

#mainside ul {
	font-size: 5px;
	color: #000;
	list-style: none;
}

#mainside li {
	width: 220px;
}

li#cats a:link, li#cats a:visited {
	width: 220px;
	height: 46px;
	display: block;
	color: #000;
	text-decoration: none;
	background: transparent url(../images/main_btn_grants.jpg) no-repeat left top;
	text-indent: -5000px;
}
li#cats a:hover {
	background: transparent url(../images/main_btn_grants_o.jpg) no-repeat left top;
}

li#elig a:link, li#elig a:visited {
	width: 220px;
	height: 46px;
	display: block;
	color: #000;
	text-decoration: none;
	background: transparent url(../images/main_btn_grantelig.jpg) no-repeat left top;
	text-indent: -5000px;
}
li#elig a:hover {
	background: transparent url(../images/main_btn_grantelig_o.jpg) no-repeat left top;
}

li#howto a:link, li#howto a:visited {
	width: 220px;
	height: 46px;
	display: block;
	color: #000;
	text-decoration: none;
	background: transparent url(../images/main_btn_howtoapply.jpg) no-repeat left top;
	text-indent: -5000px;
}
li#howto a:hover {
	background: transparent url(../images/main_btn_howtoapply_o.jpg) no-repeat left top;
}

li#president a:link, li#president a:visited {
	width: 220px;
	height: 46px;
	display: block;
	color: #000;
	text-decoration: none;
	background: transparent url(../images/main_btn_president.jpg) no-repeat left top;
	text-indent: -5000px;
}
li#president a:hover {
	background: transparent url(../images/main_btn_president_o.jpg) no-repeat left top;
}

/* --------------- FOOTER STYLES --------------*/

#footer {
	width: 100%;
	clear: both;
	margin-bottom: 26px;
	background: #fff url(../images/footer_bg.jpg) no-repeat center bottom;
}

#baseimg {
	margin: 0 auto;
	_padding-left: 1px;
	width: 740px;
	height: 104px;
	background: transparent url(../images/swooshblock.jpg) no-repeat left top;
	clear: both;
}

#foottext {
	margin: 0 auto;
	padding: 15px 0 30px;
	width: 740px;
	background: transparent;
}

#foottext p {
	padding: 10px 18px 5px;
	font-size: 11px;
	color: #666;
	text-align: center;
}
#foottext p a:link, #foottext p a:visited {
	color: #666;
	text-decoration: none;
}
#foottext p a:hover {
	color: #4985b8;
	text-decoration: underline;
}

/* --------------------- INTERIOR PAGE STYLES -----------------------*/

#inbuttons {
	clear: both;
	margin: 0 auto;
	padding-bottom: 3px;
	width: 740px;
	height: 39px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #e4e4e4;
	background: #fff;
	text-align: center;
}

#inbuttons ul {
	font-size: 12px;
	color: #fff;
	font-weight: bold;
	list-style: none;
	display: inline;
	text-align: center;
}

#inbuttons li {
	text-align: center;
	float: left;
}

#inbuttons li a:link, #inbuttons li a:visited {
	float: left;
	padding-left: 20px;
	padding-right: 19px;
	line-height: 39px;
	color: #fff;
	text-decoration: none;
	background: #82aace;
}

#inbuttons li a:hover {
	color: #4985b8;
	text-decoration: none;
	background: #e4e4e4;
}

li.firsttwo {
	border-right: 1px solid #fff;
}

#incontent {
	margin: 28px auto;
	width: 740px;
	background: transparent url(../images/incontent_bg.jpg) repeat-y right;
}

#intext {
	float: left;
	width: 494px;
	background: transparent;
	padding: 15px 0;
}

#intext h2 {
	padding: 0 18px 5px 0;
	font-size: 22px;
	font-weight: normal;
	color: #4985b8;
	text-align: left;
}
#intext h3 {
	padding: 10px 18px 0 0;
	font-size: 15px;
	color: #4985b8;
	text-align: left;
}


#intext h4 {
	padding: 10px 18px 0 0;
	font-size: 12px;
	color: #4985b8;
	text-align: left;
}



#intext h2 a:link, #intext h2 a:visited, #intext h3 a:link, #intext h3 a:visited, #intext h4 a:link, #intext h4 a:visited {
	color: #4985b8;
	text-decoration: none;
}
#intext h2 a:hover, #intext h3 a:hover, #intext h4 a:hover {
	color: #999;
	text-decoration: underline;
}

#intext p {
	padding: 10px 18px 5px 0;
	font-size: 12px;
	color: #333;
	line-height: 1.5em;
	text-align: left;
}
#intext p a:link, #intext p a:visited {
	color: #4985b8;
	text-decoration: none;
}
#intext p a:hover {
	color: #999;
	text-decoration: underline;
}

#intext a, #intext li a:link, #intext li a:visited {
	color: #4985b8;
	text-decoration: none;
}
#intext li a:hover {
	color: #999;
	text-decoration: underline;
}


#intext b {
	
	font-size: 12px;
	color: #4985b8;
}

#intext strong
{
	font-size: 12px;
	color: #4985b8;
}

.left {
	text-align: left;
}

#intext ul {
	margin: 10px 18px 5px 14px;
	font-size: 12px;
	color: #333;
	list-style-type: square;
	line-height: 1.8em;
	text-align: left;
}

#noBullet li
{
	list-style-type: none;
}

#intext ol {
	margin: 10px 18px 5px 14px;
	font-size: 12px;
	color: #333;
	line-height: 1.8em;
	text-align: left;
}

#intext li {
	margin: 0 0 0 20px;
	font-family: Arial, Helvetica, sans-serif;
	
}

#intext ol {
	margin: 0 0 0 20px;
	font-family: Arial, Helvetica, sans-serif;
}
	


#intext li a:link, #intext li a:visited {
	color: #4985b8;
	text-decoration: none;
}
#intext li a:hover {
	color: #999;
	text-decoration: underline;
}

#intext img { margin: 10px; }


/* ------------------------ IMAGE STYLES --------------------------*/
.rightimage { float: right; }
.leftimage { float: left; }
.borderimg { padding: 2px; border: 1px solid #ccc; }
/* ------------------------ END IMAGE STYLES --------------------------*/

#sidebar {
	float: left;
	width: 246px;
	background: transparent;
}

#sidebar ul {
	margin: 10px 0 5px 18px;
	font-size: 12px;
	color: #333;
	list-style-type: square;
	line-height: 1.8em;
	text-align: left;
}
#sidebar li {
	margin: 0 0 0 10px;
}
#sidebar li a:link, #sidebar li a:visited {
	color: #4985b8;
	text-decoration: none;
}
#sidebar li a:hover {
	color: #999;
	text-decoration: underline;
}

#sidebar p {
	padding: 10px 0 5px 25px;
	font-size: 12px;
	color: #333;
	line-height: 1.5em;
	text-align: left;
	background: transparent url(../images/sidebar_note_bg.jpg) no-repeat left top;
}
#sidebar p a:link, #sidebar p a:visited {
	color: #4985b8;
	text-decoration: none;
}
#sidebar p a:hover {
	color: #999;
	text-decoration: underline;
}

/* ------------------------ FORM Styling ------------------------ */
form 
{
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
}

.textbox
{
	width: 175px;
}

select
{
	width: 140px;
}

#login input
{
	width: 200px;
	
}

button
{
	width: 60px;
}

input#btnSubmit
{
	width: 60px;
}

table#Primary
{
	font-family: Arial, Helvetica, sans-serif;
}

table#Primary td
{
	padding:1px;
	text-align: left;
	width: 485px;
	vertical-align: top;
}

.tableAdmin
{
	padding:1px;
	text-align: left;
	width: 485px;
}

#TableRowHeader
{
	background-color: #82AACD;
	color: White;
}

#rightTD
{
	text-align: right;
}

#Width100TD
{
	width: 100px;
}

#Width400TD
{
	width: 400px;
}

#leftTD
{
	text-align: left;
}

#leftTopTD
{
	text-align: left;
	vertical-align: top;
}

#TableData
{
	width: 425px;
}

#TableData td
{
	height: 20px;
}

#TableData p 
{
	padding: 2px;
	text-align: left;
}

#TableData h4
{
	font-size: 14px;
	line-height: 20px;
	color: #FFF;
}

#RowHeader
{
	background-color: #82AACD;
}

p#folder 
{
	padding: 0 0 0 5px;
	/*background: transparent url(../images/folder_small.jpg) no-repeat left;*/
}

p.folder 
{
	padding: 0 0 0 5px;
	/*background: transparent url(../images/folder_small.jpg) no-repeat left;*/
}

p#doc 
{
	margin: 0 0 0 15px;
	padding: 0 0 0 5px;
	/*background: transparent url(../images/text_small.jpg) no-repeat left top;*/
}

.left 
{
	width: 350px;
	text-align: left;
	padding: 0 0 0 5px;
	margin: 0;
	vertical-align: top;
}

p.doc
{
	margin: 0 0 0 15px !important;
	padding: 0 0 0 5px !important;
	/*background: transparent url(../images/text_small.jpg) no-repeat left top !important;*/
}

.right 
{
	width: 50px;
	text-align: left;
	padding: 0 0 0 3px;
	margin: 0 0 0 0;
	vertical-align: top;
}

.right p
{
	text-align: right !important;
}

#cf
{
	width: 450px;
}

#cf div
{
	padding: 3px 3px 3px 3px;
	font-family: Arial;
	font-size: 12px;
}

#cf input
{
	height: 20px;
}

#cf textarea
{
	height: 60px;
}

#cfLeft
{
	float: left;
	width: 150px;
	text-align: right;
}

#cfRight
{
	float: left;
	width: 250px;
}

#smLeft
{
	float: left;
	width: 247px;
}

#smRight
{
	float: left;
	width: 247px;
}

/* ------------------------ END OF FORM Styling / TABLE STYLEING ------------------------ */

/* --------------- FIX FOR DIVS WITH FLOATED CONTENT --------------*/
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */