/*
Theme Name: MDS Custom
Theme URI: http://wordpress.org/
Description: Custom theme developed by LS Media.
Version: 1.0
Author: Nicholas Bernhard	
Author URI: http://www.lions-share.net/
Tags: custom

*/

p, h1, h2, h3, h4, h5 {margin-top:0}

table#icon_nav {position:relative; top:20px; left: 715px}
table#icon_nav td {text-align:center; vertical-align:middle; font-size:10px; padding:0 8px}
table#icon_nav a { text-decoration:none; color:#006699}

div#tab_nav {position:relative; top: 22px; padding-right:5px}
div#tab_nav ul {list-style:none; display:block; height:25px}
div#tab_nav ul li {display: inline-block; float:right; margin: 0 3px}
div#tab_nav ul li a {background:url(images/tabs-02.png); display:block; width:129px; height:30px; font-size:12px; text-align:center; padding-top:8px; text-decoration:none; color:#FFFFFF}
div#tab_nav ul li.current_page_item a {background:url(images/tabs.png)}

div#small_featured_image {border:#FFFFFF 2px solid; height:105px; width:70px; float:left; margin: 20px; overflow:hidden; }
	div#small_featured_image img {height: 100%}
div#small_featured_article {height:105px; width:110px; float:left; margin: 20px 20px 20px 0; color:#FFFFFF}

div#featured_image {border:#FFFFFF 5px solid; height:205px; width:205px; float:left; margin: 20px; overflow:hidden}
	div#featured_image img {width: 100%}
div#featured_article {height:215px; width:500px; float:left; margin: 20px 20px 20px 0; color:#FFFFFF}
div#featured_links {height:215px; width:195px; float:left; margin: 20px 20px 20px 0; color:#FFFFFF}

div#home_recent_image {border:#FAD989 3px solid; height:125px; width:205px; overflow:hidden;  margin-bottom:10px;}
	div#home_recent_image img {width: 100%}
div#home_recent_article {float:left; width:285px; margin: 0 15px}

.alignleft {margin-right: 10px; float:left}
.alignright {margin-left: 10px; float:right}

.navigation {display:none}

/* SECTION STYLES */

body {
	margin:0;
	background:#CCCCCC;
	font-family: Arial, Helvetica, sans-serif
	}

#page {
	width: 990px;
	margin: 0 auto;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
	background:#FFFFFF
	}

#header {
	background: url(images/header_bg.jpg);
	height:111px;
	overflow:hidden
	}

#subheader {
	background: url(images/background.jpg) repeat-x top;
	height:257px; overflow:hidden
	}

#content {
	background:url(images/background-02.jpg) top repeat-x #fff;
	padding:20px
	}
	
#footer {
	background:url(images/background-03.jpg) repeat-x top #fad989;
	padding: 20px 20px 60px 20px;
	border-top: 3px solid #2e4777;
	clear:both
	}
	
#footer p {
	margin: 0
	}

/* FLOATING BAR ELEMENTS */

#floating_bar {
	position:fixed;
	bottom:0;
	left: 0;
	right: 0;
	height: 38px;
	text-align:center
	}
	
.floating_bar_content {background:url(images/floating_bar_bg-02.png) repeat-x; padding-top: 4px; font-size:12px;}
	.floating_bar_content a { text-decoration:none; color:#000000}
	.floating_bar_content a:hover { text-decoration:underline}
	
iframe { padding:10px; background:#FFFFFF; border:#999999 1px solid}

div.entry, div#respond {width: 100%; }
div#sidebar {width:200px; float:right;display: none;}

div#subnav {text-align:right; clear:both}
div#subnav ul {margin:0; padding:0; margin-bottom:10px}
div#subnav ul li {display: block; float:right; margin-right: 8px; text-align:center}
div#subnav ul li a {display: block; background:url(images/tabs_secondary_03.png); width:128px; height:21px; padding-top:7px; font-size: 12px; text-decoration:none; color:#666666}
div#subnav ul li.current_page_item a {background:url(images/tabs_secondary_05.png)}

/* Style sidebar */

div#sidebar ul {margin:0; padding:0; list-style:none}
div#sidebar h1, div#sidebar h2 {text-align:center}
li.widget {padding: 10px; background:url(images/sidebar-02.png) repeat-x #FFF7E6; border:#ffd577 1px solid; margin-bottom:10px}