/*  
Theme Name: MDI
Description: Custom Wordpress theme by IF marketing &amp; advertising
Version: 1.0
Author: IF marketing &amp; advertising
Author URI: http://www.yourifteam.com
Tags: clean, fixed width, widget-ready, widgets, two columns, valid XHTML, valid CSS
*/

body {
	font: 12px Arial, sans-serif;
	background: url(/images/background.gif);
	background-repeat:repeat-x;
	background-color: #fffefe;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #464646;
}
#container {
	width: 883px;
	margin: 0 auto;
	text-align: left;
}
#topleftcontainer {
	float: left;
	display:inline;
	width: 251px;
	height: 78px;
	margin-left: 5px;
}
#toprightcontainer {
	float: right;
	display:inline;
	width: 605px;
	height: 85px;	
}
div#googleSearch {
	float: right;
	display: inline;
	height: 19px;
	position: relative;
	top: -6px;
}
#subnav {
	clear: both;
	float: right;
	height: 29px;
	padding: 10px 0 0 0;
	color: #707070;
	font-size:12px;
	width: 605px;
	text-align: right;
}
#subnav a {
	color: #9c9c9d;
	text-decoration:none;
	padding: 0 10px;
}
#subnav a:hover {
	color:#1b429a;
}
#navigation {
	float: right;
	height: 26px;	
	padding: 20px 0 0 0;
	clear: both;
	color: #1b429a;
	font-size:18px;
}
#navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#navigation li.navspacer {
	margin: 0;
	padding: 0;		
}
#navigation li a {
	color: #1b429a;
	text-decoration: none;
	font-weight: bold;
	padding: 0 17px;
	margin: 0;
}
#navigation a:hover {
	color: #00b5cb;
}
#slideshow-int {
	position: relative;
	left: 28px;
	width: 855px;
	clear: both;
}
#footer {
	padding-top: 40px;
	text-align:center;
	font-size: 10px;
	color: #464646;
}
#footer a {
	color: #464646;
}
div.clearfix {
	clear: both;
	margin: 0;
	padding: 0;
}
img {
	border:0;
}


/*** Main ***/
#main
{
	width: 845px;
	margin-left: 35px;
}

#main #content
{
	float: right;
	width: 595px;
	margin-top: 10px;
	margin-right: 5px;
}

.post
{
	margin-bottom: 70px;
	line-height: auto;
}

.post a {
	color: #5b7dbe;
}

.post .postheader h2
{
	font-size: 17px;
	margin-bottom: 3px;
}

.post .postheader h2 a
{
	text-decoration: none;
	color: #525252;
}

.post .postheader h2 a:hover
{
	text-decoration: underline;
}

.post .postheader .postmeta
{
	width: 595px;
	font-size: 11px;
	border-bottom: solid 1px #ababab;
	padding-bottom: 5px;
}

.post img
{
	padding: 5px;
	border: 0px;
}.post img.alignleft { padding-left: 0px; }.post img.alignright { padding-right: 0px; }

/*** Sidebar ***/
#sidebar
{
	float: left;
	width: 220px;
	line-height: 23px;
	margin-top: 5px;
	padding: 5px 10px 0 0;
	border-right: dotted 1px #ababab;
}

#sidebar img
{
	border: none;
}

#sidebar ul
{
	list-style: none;
	margin-top: 0;			
	/*white-space: nowrap;*/
	margin-left: 0;
	padding-left: 10px;
	text-indent: -10px;

}

#sidebar ul li a {
	color: #5b7dbe;
}


#sidebar ul li a:hover {
	text-decoration: none;
}

#sidebar .sidebarbox
{
	margin-bottom: 30px;
}

#sidebar .sidebarbox h3
{
	color: #283891;
	font-size: 15px;
	margin-bottom: 2px;
}

/***  Search form ***/
.searchform form
{
	margin-top: 4px;
}
.searchform #search
{
	width: 160px;
}

/*** Comments ***/
.allcomments h3
{
	font-size: 15px;
}

.allcomments a {
	color: #5b7dbe;
}

.commentbox
{
	margin: 0 0 20px 0;
	padding: 10px;
	border: 1px solid #ababab;
	background: #f6f6f6;
}

.commentbox .avatar
{
	float: left;
	margin-right: 5px;
}

.commentbox small
{
	font-size: 11px;
}

.commentbox p {
	margin-bottom: 0px;
}

.commentbox .commentmeta
{
	width: 300px;
}

#commentform label
{
    display:block;
    margin: 0;
}

#commentform .text {
	width: 300px;
    margin: 0 0 15px 0;
}

#commentform strong
{
	font-size: 11px;
}

#commentform textarea
{
    width:450px;
    height:150px;
    margin:0;
    padding:5px;
}

/*** Wordpress ***/
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
   margin: 0 10px 10px 0;
}

.alignright {
   float: right;
   margin: 0 0 10px 10px;
}

.wp-caption {
   border: 1px solid #ccc;
   text-align: center;
   background-color: #f3f4f0;
   padding-top: 4px;
}

.wp-caption img {
   float: none;
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0px;
   margin: 0px;
}

