/*
Theme Name: NMI Wordpress Theme
Theme URI: http://www.gcaptain.com/
Description: NMI Custom Theme
Version: 1.0
Author: gCaptain
Author URI: http://www.gcaptain.com
*/

body {
	margin: 0;
	padding: 0;
	font-family: Arial;
	color: #000;
	font-size: 12px;
	background: #9BAFC7 url(images/bg_website.jpg) repeat-x top left;
}

#wrapper {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 1000px;
}

#sitewrapper {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	background: #FFF;

}

a, a:visited { color: #2A3C48; text-decoration: none; }
a:hover { color: #252525; text-decoration: none; }

img { border: 0; }

/* HEADER WRAP CODES */

.headerwrap {
	position: relative;
	float: left;
	width: 1000px;
	padding: 0;
	height: 137px;
	background: #FFF url(images/bg_header.jpg) no-repeat top center;
}

.searchwrap {
	position: absolute;
	top: 14px;
	right: 80px;
	color: #FFF;
}

.search_input {width: 170px; padding-left: 5px; padding-top: 2px; color: #446176; border: 0; font-size: 13px; background: transparent; }

form { margin: 0; padding: 0; }

.topright img { margin-bottom: 8px; }

/* NAVIGATION CODES */

.navigationwrap {
	position: relative;
	float: right;
	margin: 0;
	padding-top: 5px;
	width: 1000px;
	height: 36px;
	background: #FFF url(images/bg_nav.jpg) no-repeat top center;
}

.navigationwrap ul {
	float:left;
	list-style-type:none;
	margin:0px;
	padding: 0;
} 

.navigationwrap ul li {
	float:left;
	margin-right:10px;
} 

.navigationwrap ul li:hover { 
	background:url(images/bg_navstart.jpg) no-repeat;
}

.navigationwrap ul li a {
	float:left;
	padding-left:10px;
	padding-right:10px;
	font-size: 12px;
	text-decoration:none;
	font-weight:bold;
	color:#FFF;
	line-height:41px;
} 

.navigationwrap ul li a:hover {
	background:url(images/bg_navend.jpg) no-repeat;
	background-position: 100% 0%;
	text-decoration:none;
	color: #252525;
}  

/* CONTENT WRAP CODES HERE */

.contentwrap {
	position: relative;
	float: left;
	width: 780px;
	margin: 0;
	padding: 10px;
	background: #FFF;
}

.postwrap {
	position: relative;
	float: left;
	margin-bottom: 40px;
	padding: 0;
	width: 780px;
}

.postheader { 
	position: relative;
	float: left;
	margin: 0;
	padding: 5px;
	width: 770px;
	background: url(images/bg_postheader.jpg) repeat-x bottom center;
}

.postheader h1 {
	padding: 0;
	margin: 0;
	font-weight: normal;
	font-family: Georgia, Times New Roman;
	font-size: 24px;
}

.homeheader { 
	position: relative;
	float: left;
	margin: 0;
	padding: 5px;
	width: 770px;
	background: url(images/bg_homeheader.jpg) repeat-x bottom center;
}

.homeheader h1 {
	padding: 0;
	margin: 0;
	font-weight: normal;
	font-family: Georgia, Times New Roman;
	font-size: 24px;
}

.postdate {
	position: absolute;
	bottom: 10px;
	right: 5px;
	font-weight: bold;
	font-size: 11px;
	color: #3D576A;
}

.postcontent {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 780px;
}

.postcontent p { padding-top: 5px; padding-bottom: 5px; margin: 0; }

.post-navigation {
	position: relative;
	float: left;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 0;
	width: 780px;
	color: #252525;
	font-size: 12px;
}

.post-navigation-next {
	position: relative;
	float: right;
	margin: 0;
	padding: 0;
	width: 365px;
	text-align: right;
}

.post-navigation-previous {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 365px;
}

.post-navigation-next a, .post-navigation-next a:visited { padding: 5px; color: #252525; font-weight: bold; font-size: 11px; line-height: 21px; text-decoration: none; border: 1px solid #B8B8B8; background-color: #F6F6F6;}
.post-navigation-next a:hover {color: #6BACED; text-decoration: none;}

.post-navigation-previous a, .post-navigation-previous a:visited { padding: 5px; color: #252525; font-weight: bold; font-size: 11px; line-height: 21px; text-decoration: none; border: 1px solid #B8B8B8; background-color: #F6F6F6;}
.post-navigation-previous a:hover {color: #6BACED; text-decoration: none;}


.borderblue img{
border: 3px solid #AEC1D3;
}

.borderblue:hover img{
border: 3px solid #c1c1c1;
}

.borderblue:hover{
color: red; /* irrelevant definition to overcome IE bug */
}

.bordertan img{
border: 3px solid #D9D4BB;
}

.bordertan:hover img{
border: 3px solid #c1c1c1;
}

.bordertan:hover{
color: red; /* irrelevant definition to overcome IE bug */
}


/* LEFTT SIDEBOX WRAP CODES */

.leftsidewrap {
	position: relative;
	float: left;
	margin: 0;
	padding: 10px;
	width: 180px;
	background: #FFF;
}

.leftaddress {
	position: relative;
	float: left;
	margin-bottom: 10px;
	padding-left: 40px;
	width: 140px;
	height: 40px;
	color: #3D576A;
	border-bottom: 1px solid #E2E0C6;
	background: url(images/icon_house.jpg) no-repeat top left;
	clear: both;
}

.leftaddress a, .leftaddress a:visited { color: #3D576A; text-decoration: none; }
.leftaddress a:hover { color: #252525; }

.leftcontact {
	position: relative;
	float: left;
	margin-bottom: 10px;
	padding-left: 40px;
	width: 140px;
	height: 40px;
	color: #3D576A;
	border-bottom: 1px solid #E2E0C6;
	background: url(images/icon_email.jpg) no-repeat top left;
	clear: both;
}

.leftsidelinks {
	position: relative;
	float: left;
	margin-bottom: 10px;
	padding: 0;
	width: 180px;
}

.leftsidewrap ul {
margin: 0;
padding: 0;
list-style-type: none;
}

.leftsidewrap ul a {
display: block;
padding: 5px;
width: 170px;
background: url(images/bg_category-off.jpg) no-repeat top center;
overflow: hidden;
}

.leftsidewrap ul li a:link, .leftsidewrap ul li a:visited {
color: #2A3C48;
font-weight: bold;
text-decoration: none;
border-bottom: 2px solid #FFF;
}

.leftsidewrap ul li a:hover {
background: url(images/bg_category-on.jpg) no-repeat top center;
overflow: hidden;
color: #fff;
font-weight: bold;
}

.warningbox {
	position: relative;
	float: left;
	margin-bottom: 20px;
	padding: 10px;
	width: 160px;
	color: #535353;
	background: url(images/bg_warningbox.jpg) repeat-y top center;
}

.warningbox h2 { color: #535353; padding: 0; margin: 0; text-decoration: none; font-weight: bold; }

.warningicon {
	position: absolute;
	top: 0;
	right: 0;
}

.warningboxtop {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 0;
	left: 0;
	width: 180px;
	height: 13px;
	background: url(images/bg_warningboxtop.jpg) no-repeat top center;
}

.warningboxbottom {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: 0;
	left: 0;
	width: 180px;
	height: 13px;
	background: url(images/bg_warningboxbottom.jpg) no-repeat top center;
}

/* FOOTER WRAP CODES */

.footerlarge {
        position: relative;
        float: left;
        width: 100%;
        height: 303px;
        background: url(images/bg_footerwrap.jpg) repeat-x top center;
}

.footerwrap {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 1000px;
	height: 303px;
	background: url(images/bg_footer.jpg) no-repeat top center;
}

.footerlocation { 
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 404px;
	height: 269px;
}

.footercontact { 
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 281px;
	height: 269px;
}

.footersearch { 
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 315px;
	height: 269px;
}

.footercopyright {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 1000px;
	text-align: center;
	line-height: 24px;
}
