/*
Theme Name: CMOHF Web Interface
Theme URI: None
Description: The customized template of the Congressional Medal of Honor Foundation
Author: Phil Nicholas
Author URI: http://www.philnicholas.com
Version: 1.1
*/


/* ----------------------------- HTML Tage Overrdiing ----------------------------- */
/* The following override the inherent style of these HTML tags, no matter where they occur */
html,
body {
	font-family:Arial, Helvetica, sans-serif;
	font-size:11pt;
	background-color:#165c99;
	margin:0;
	padding:0;
	height:100%;
	background-image: url(/wp-content/themes/cmohf/header-grad-bg.gif);
	background-repeat: repeat-x;
	background-color:#FFFFFF;
}

a {
	color:#165c99;
}

form {
	margin:0;
	padding:0;
}


/* ----------------------------- Structural Layout Styles ----------------------------- */
#outer-wrapper {
	min-height:100%;
	position:relative;
}

#header-wrapper, #main-wrapper, #footer-wrapper {
	text-align:center;
}

#header-wrapper {
}
#header-wrapper img {
	border:0;
}
#main-wrapper {
	background-color:#FFFFFF;
	padding-bottom:45px;
}

#footer-wrapper {
	background-image: url(/wp-content/themes/cmohf/footer-grad-bg.gif);
	background-repeat: repeat-x;
	position:absolute;
	bottom:0;
	width:100%;
	height:45px;   /* Height of the footer */
}


#header, #main, #footer {
	clear:both;
	padding:0;
	margin: 0 auto;
	width: 960px;
	text-align:left;
}
#header {
}

#main {
	padding-top:0.5em;
}

#footer {
	padding-top:5px;
}

#container {
	width:700px;
	float:left;
}

/* ----------------------------- Home Page Styles ----------------------------- */
#homepage-container {
	width:960px;
	float:left;
}

#homepage-container img {
	border:0;
}

#homepage-sidebar {
	background: #fafafa url(/wp-content/themes/cmohf/sidebar-li-bg.gif) repeat-x top left;
	border: 1px solid #999999;
	margin-top:0.5em;
}

#homepage-sidebar table {
	width:100%;
}

/* ----------------------------- Sidebar Styles ----------------------------- */
#sidebar {
	margin: 0 0 0 710px;
	padding:0;
	border:1px solid #b3b3b3;
	background-color:#fafafa;
	background-image: url("/wp-content/themes/cmohf/subpages-li-bg.gif");
	background-repeat: no-repeat;
	background-position: top left;
}

/* Widget structure in sidebar is as follows
div.widget-area
	ul.widget-list
		li.widget-container
			h3.widget-title
				ul
					li
*/

	ul.widget-list {
		list-style:none;
		margin:0;
		padding:0;
	}

		li.widget-container {
			/* background: #fafafa url("/wp-content/themes/cmohf/sidebar-li-bg.gif") no-repeat left top; */
			border-top:1px solid #b3b3b3;
			margin:0px;
			font-size:9pt;
			padding:4px;
		}
		
			h3.widget-title {
				text-align:center;
				font-size:1.2em;
				margin:0px;
				padding:6px 0px;
				font-weight:bold;
				line-height:normal;
			}

				/* Set lists within widgets to have the starred bullets */
				li.widget-container ul {
					font-size:1em;
					margin: 0 4px 0 20px;
					padding:0px;
					list-style-position:outside;
					list-style-image: url("/wp-content/themes/cmohf/star-transparent.png");
					vertical-align: middle;
				}
				li.widget-container ul li {
					margin:0px;
					padding-bottom:0.6em;
					vertical-align: middle;
				}


/* Widget-specfic style */ 
li.widget_subpages {
}

li.widget_search {
	margin:0px;
	font-size:9pt;
	padding:4px;
}

/* Search titles */
#searchsubmit {
	font-family:Arial, Helvetica, sans-serif;
	background-color: #0d375b;
	color:#d8c653;
}
.widget_search label {
	display:none;
}
.widget_search input {
	border:1px solid #666666;
	background: #ffffff url("/wp-content/themes/cmohf/text-input-bg.gif") no-repeat left top;
	padding:4px;
	font-size:12px;
	color:#000000;
}
#searchsubmit {
	border:1px solid #666666;
	background-color:#CCCCCC;
	background-image:none;
	height:25px;
	font-weight:bold;
	color:#000000;
}





/* ----------------------------- Page Content Styles ----------------------------- */
h1.entry-title {
	color:#165c99;
	font-size:1.7em;
	font-weight:normal;
	margin:0;
	padding:0.7em 0 0.2em 0;
}

h1, h2, h3, h4 {
	color:#165c99;
}

h1 {
	font-size:140%;
	font-weight:bold;
}

h2 {
	font-size:120%;
	font-weight:bold;
}

h3 {
	font-size:110%;
	font-weight:bold;
}

h4 {
	font-size:100%;
	font-weight:bold;
}

div.edit-link-block {
	clear:both;
	background-color:#ffffcc;
	text-align:center;
	padding:4px;
}

.wp-caption,
table.wfm-table td {
	padding:6px 3px;
	text-align:center;
	border:1px solid #999999;
	background-color:#f2f2f2;
}
/* Set the style for images within captions and WordPress Flickr Manager galleries */
.wp-caption img,
table.wfm-table img {
	border:0;
}

.wp-caption-text {
	font-size:0.8em;
	padding:0;
	margin:0;
}
.alignright { float:right; margin-left:1em; }
.alignleft { float:left; margin-right:1em; }
.aligncenter { text-align:center; }

div.entry-content ul li {
	padding-bottom:0.5em;
}

/* ----------------------------- Gallery Styles ----------------------------- */
.gallery-item {

}
.gallery-item img {

}
.gallery-caption {
    font-size:85%;
}

/* --------------------------- WordPress Flickr Manager --------------------------- */
table.wfm-table {
	clear:both;
}



table.wfm-table td {
	vertical-align:top;
	padding:4px;
}

/* ----------------------------- Main navigation menu ----------------------------- */
#top-nav div {
	float:left;
	height:37px; 
}


/* ----------------------------- Footer navigation menu ----------------------------- */
#footer a {
	color:#FFFFFF;
	text-decoration:none;
	font-size:0.85em;
}
#footer a:hover {
	text-decoration:underline;
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding:0;
}
.footer-nav ul ul {
	display: none;
}
.footer-nav li {
	display: inline;
}
.footer-nav li a {
	display: block;
	float: left;
	padding: 0 1em;
}


#colophon {
	clear:both;
}
#site-info {
	margin-top:1em;
	text-align:center;
	font-size:0.75em;
	color:#739dc2;
}