﻿/* This template is by NFX Web Design Australia
	Web Address: http://www.nfxwebdesign.com.au

	Colors
	light grey: #C2C2C2
	light light grey (content bg); #F6F6F6;
	border grey: #D2D2D2;
	*/



/* Compatibility fix, margin and padding clearer */

body, h1, h2, h3, h4, form, input, p, ul, li, a, a:hover {
	padding: 0;
	margin: 0;
	border: 0;
	list-style-type: none;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	text-decoration: none;
	}

body {
	background: url('../contentwrapperbg.gif') repeat-y center center;
	}

div#floatclearer {
	clear: both;
	height: 20px;
	color: white;
	}


div#contentwrapper a {
	text-decoration: none;
color:#0066ff;
	}





div#contentwrapper a:hover {
	text-decoration: none;
color:#ff3300;
	}




/* font content formatting */

h1, h2, h3, h4 {
	font-family: Verdana, Geneva, sans-serif;
	}

h1, h2 {
	font-size: 15px;

	}

h3 {
	font-size: 14px;
	color: #33334c;
	font-weight: lighter;
	}

/* styling for anything in the masthead div */

div#mastheadwrapper {
	background: black;
	color: white;
	}


div#masthead {
	width: 785px;
	margin: 0 auto;
	height: 125px;
	}

div#masthead h1 {
	font-size: 32px;
	font-weight: lighter;
	padding-top: 10px;
	}

div#masthead ul#smallnav {
	float: right;
	margin-top: 5px;
	}

div#masthead ul#smallnav li {
	float: left;
	padding-left: 5px;
	color: #C2C2C2;
	}

div#masthead ul#smallnav li a {
	color: #C2C2C2;
	font-weight: normal;
	}

div#masthead ul#smallnav li a:hover {
	color: white;
	}

div#masthead p.slogan {
	float: right;
	clear: right;
	margin-top: 5px;
	font-weight: bold;
	}

div#masthead p.slogan a {
	color: white;
	}

div#masthead ul#mainnav {
	float: left;
         position: relative;
	top: 28px; left: -1px;
	}

div#masthead ul#mainnav li {
	float: left;
	background: white;
	text-align: center;
         font-family: Verdana, Geneva, sans-serif; bold 14px;
	}

div#masthead ul#mainnav li a {
	width: 85px;
	height: 19px;
	display: block;
	background: url('../mainnav.gif') no-repeat top left;
	padding-top: 5px;
	color: black;
	}

body.home div#masthead ul#mainnav li.home a {
	background: url('../mainnavcurrent.gif') no-repeat top left;
	color: black;
	}

div#masthead ul#mainnav li a:hover {
	background: url('../mainnavhover.gif') no-repeat top left;
	color: white;
	}

div#masthead div#searchbar {
	float: right;
	clear: right;
	width: 196px;
	height: 28px;
	background: white url('../searchbar.gif') no-repeat top left;
         position: relative;
	top: 24px; right: 1px;
	}

div#masthead div#searchbar input {
	float: left;
	margin: 5px 0 0 10px;
	border: 1px solid #D2D2D2;
	}

div#masthead div#searchbar input.button {
	float: right;
	margin: 3px 5px 0 0;
	width: 60px;
	height: 22px;
	border: 0;
	background: blue url('../searchbutton.gif') no-repeat top left;
	color: white;
	font-weight: bold;
	padding-bottom: 3px;
	}

div#masthead h3 {
	color: #C2C2C2;
	}

/* main content formatting */

div#contentwrapper {

         width: 750px;
	margin: 0 auto;
	padding-top: 20px;
	}

div#maincontent {
	margin-bottom: 20px;
         float: left;
	background: #F8F8F8 url('../maincontentbg.gif') repeat-y top left;
	width: 485px;
	}

div#maincontent .first {
	background: url('../maincontenttopbg.gif') no-repeat top left;
	}

div#maincontent .last {
	background: url('../maincontentbottombg.gif') no-repeat bottom left;
	}

div#contentwrapper p {
	line-height: 18px;
	}

/* subcontent formatting */

div#subcontent {
	float: right;
	}

div#subcontent p {
	padding: 0;
	padding-left: 10px;
	clear: left;
	}
div#subcontent form, div#subcontent div#links {
	margin-bottom: 20px;
	width: 252px;
	background: url('../subcontentbg.gif') repeat-y top left;
	}

div#subcontent form input {
	border: 1px solid #D2D2D2;
	}

div#subcontent form input.button {
	border: 0;
	background: url('../loginbutton.gif') no-repeat top left;
	float: right;
	margin-right: 5px;
	padding-bottom: 3px;
	height: 18px;
	width: 59px;
	font-weight: bold;
	color: white;
	}

div#subcontent form p.login {
	width: 200px;
	padding-left: 30px;
	height: 30px;
	line-height: 15px;
	}

div#subcontent form p strong {
	float: left;
	clear: left;
	}

div#subcontent form p input {
	float: right;
	clear: right;
	}

div#subcontent h2 {
	padding-bottom: 10px;
	}

div#subcontent h2.first {
	background: url('../subcontenttopbg.gif') no-repeat top left;
	}

div#subcontent p.last {
	background: url('../subcontentbottombg.gif') no-repeat bottom left;
	}

div#subcontent p.forgotpass {
	float: left;
	}

div#subcontent ul li {
	list-style-image: url('../28.gif');
	margin-left: 50px;
	line-height: 10px;
	padding-bottom: 12px;
	padding-left: 5px;
	}

div#subcontent p.last, div#subcontent div#links p.last {
	color: white;
	height: 10px;
	padding: 0;
	}

div#subcontent div#links p {
	padding: 10px 10px;
	}

	/* site wide content formatting */

h1, h2 {
	padding-top: 10px;
	padding-left: 10px;
	}

h3 {
	padding-left: 10px;
	}

p {
	padding-top: 5px;
	padding-left: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	}


div#footer {
	clear: both;
	border-top: 1px solid #D2D2D2;
	}

div#footer p {
	float: left;
	}

div#footer p.nfx {
	float: right;
	}

.entryphoto{

float:left;
padding:3px;
border:1px solid #fff;
background-color:#ddd;
color:#333;
}
.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid white;
margin:5px;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid white;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #E5E5FF;
padding: 5px;
left: -1000px;

visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

/* design boxes declaration start
-----------------------------------*/

/* Design box #1 */
.db1
{
	position:relative;
}
.db1 .db1_title
{
	float:none;
	background:#fff url('../db1_title_bg.png') repeat-x;
	border-right:1px solid #E8E8E8;
	height:34px;
}

.db1 .db1_title h3
{
	height:27px;
	background:url('../db1_title_bg_left.png') no-repeat scroll top left;
	display:block;
	padding-top: 7px;
	padding-left: 20px;
	color:#004FA2;
}

.db1 .db1_content
{
	background:#fff url('../db1_content_bg.png') no-repeat scroll top right;
}
.db1  .db1_container
{
	background: url('../db1_content_bg.png') no-repeat scroll top left;
	padding: 10px;
	position:relative;
}


/* design box 2*/

.db2
{
	margin:10px 0;

}
/**/
.db2_content
{
	background:#fff url('../db2_content_bg_right.png') repeat-y scroll right;
	position:relative;
}

.db2_content_container
{
	background:url('../db2_content_bg_left.png') repeat-y scroll left;
	padding: 0px 10px 0px 10px;
	position:relative;
}



.db2_content h3
{
border-bottom:1px solid #E0E1E1;
margin:0  5px 10px 5px;
padding:0px 5px 5px 10px;
}

.bd2_top
{
	background:url('../db2_bg_right.png') no-repeat scroll right top;
	height:10px;
	line-height:0;
	font-size:1px;
}
.bd2_top_content
{
	background:url('../db2_bg_left.png') no-repeat scroll left top;
	height:10px;
	line-height:0;
	font-size:0px;
}
.bd2_bot
{
	background:url('../db2_bg_right.png') no-repeat scroll right bottom;
	height:10px;font-size:1px;
}

.bd2_bot_content
{
	background:url('../db2_bg_left.png') no-repeat scroll left bottom;
	height:10px;font-size:1px;
	line-height:0;
}


/* design box 3*/

.db3
{
	margin:10px 0;
}
.db3_content
{
	background:#ebf3fa;
	border-left:1px solid #b1c9d9;
	border-right:1px solid #b1c9d9;
	padding: 0px 10px;
}lative;
}

.db3_content h3
{
border-bottom:1px solid #b1c9d9;
margin:0  5px 10px 5px;
padding:0px 5px 5px 10px;
}

.bd3_top
{
	background:url('../db3_bg_right.gif') no-repeat scroll right top;
	height:10px;
	line-height:0;
	font-size:1px
}
.bd3_top_content
{
	background:url('../db3_bg_left.gif') no-repeat scroll left top;
	height:10px;
	line-height:0;
	font-size:1px
}
.bd3_bot
{
	background:url('../db3_bg_right.gif') no-repeat scroll right bottom;
	height:10px;font-size:1px
}

.bd3_bot_content
{
	background:url('../db3_bg_left.gif') no-repeat scroll left bottom;
	height:10px;font-size:1px
}

.db3_content
{
	background:#ebf3fa;
	border-left:1px solid #b1c9d9;
	border-right:1px solid #b1c9d9;

	padding: 0px 10px;
}

.db3_content h3
{
border-bottom:1px solid #b1c9d9;
margin:0  5px 10px 5px;
padding:0px 5px 5px 10px;
}

.bd3_top
{
	background:url('../db3_bg_right.gif') no-repeat scroll right top;
	height:10px;
	line-height:0;
	font-size:1px;	line-height:0;
}
.bd3_top_content
{
	background:url('../db3_bg_left.gif') no-repeat scroll left top;
	height:10px;
	line-height:0;
	font-size:1px;	line-height:0;
}
.bd3_bot
{
	background:url('../db3_bg_right.gif') no-repeat scroll right bottom;
	height:10px;font-size:1px;	line-height:0;
}

.bd3_bot_content
{
	background:url('../db3_bg_left.gif') no-repeat scroll left bottom;
	height:10px;font-size:1px;	line-height:0;
}

/* design box 4*/

.db4
{
	margin:10px 0;
}
.db4_content
{
	background:#FAFAFA;
	border-left:1px solid #E0E1E1;
	border-right:1px solid #E0E1E1;

	padding: 0px 10px;
}

.db4_content h3
{
border-bottom:1px solid #E0E1E1;
margin:0  5px 10px 5px;
padding:0px 5px 5px 10px;
}

.bd4_top
{
	background:url('../db4_bg_right.png') no-repeat scroll right top;
	height:10px;
	line-height:0;
	font-size:1px;
	line-height:0;
}
.bd4_top_content
{
	background:url('../db4_bg_left.png') no-repeat scroll left top;
	height:10px;
	line-height:0;
	font-size:1px;
	line-height:0;

}
.bd4_bot
{
	background:url('../db4_bg_right.png') no-repeat scroll right bottom;
	height:10px;font-size:1px;	line-height:0;
}

.bd4_bot_content
{
	background:url('../db4_bg_left.png') no-repeat scroll left bottom;
	height:10px;font-size:1px;
}

/* content area start
-----------------------*/
#content
{
	margin:20px 0;
	padding:0px;
	text-align:justify;
}
.left_col
{
	/*float:left;
	*/
	width:60%;
	min-height:300px;
	margin-left:0px;
}

.right_col
{
	float:right;
	min-height:200px;
	width:38%;
}

#top_menu
{
	background:#F1F4F8  url('../topmenu_bg.png') repeat-x scroll;
	height:26px;
	margin-left:515px;
	position:relative;
	color:#3F598B;
}

#top_menu ul
{
	background:url('../topmenu_bg_left.png') no-repeat scroll left;
	/*float:left;*/
    height: 26px;
    padding-left:10px;

}

#top_menu ul
{
	display:block;
	list-style-type:none;
	list-style-image:none;
	font-size:1em;
	margin:0px auto;
}
#top_menu li
{
	float:left;
	margin: 3px 5px;
}

#topmenu_container
{
	background:url('../topmenu_bg_right.png') no-repeat scroll right;
   	height:26px;
}
