
body {
	font-family: arial, sans-serif;
	margin:0;
	padding:0;
	border:0;			/* This removes the border around the viewport in old versions of IE */
					/* The min-width property does not work in old versions of Internet Explorer */
	background-image: url(../images/body_bg.jpg);
	background-position:center 0px;
background-attachment:fixed;
	
text-align: center;
	font-size: 14px;
	
}
a {
	color:#1F242A;
}

a:hover {
	/*color:#fff;*/
	/*background:#369;*/
	text-decoration:none;
}


code {
	background-color: #EFEFEF;
	display: block;
	margin: 3px;
	padding: 5px;
	border:1px dashed #595959;
}

pre {
	background-color: #EFEFEF;
	margin: 3px;
	padding: 5px;
	border:1px dashed #595959;
}

a img { border: 0; }

h1, h2, h3 {
	margin:.8em 0 .2em 0;
	padding:0;
}
p {
	margin:.4em 0 .8em 0;
	padding:0;
}
img {
	margin:10px 0 5px;
} 

/* Header styles */
#header {
	clear:both;
	height:50px;
	background-color: #1F242A;
	border-bottom: 6px solid #FF5B00;
	width:100%;
}

#header_inner {
	margin: 0 auto;
	width: 1024px;
}

#header_inner h1 {
	float: left;
	margin-top: 13px;
	
}

#header_inner h1 a, #header_inner h1 a:hover {
	color: #FFFFFF;
	font-weight:bold;
	font-size: 42px;
	font-family:arial black;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: 1px 1px 1px #1F242A;
behavior: url(/style/css3pie/PIE.htc);
}


#header_inner h1 a:hover {
/*	text-shadow: 2px 2px 2px #FF5B00;*/
}

#icons {
	float: right;
}

div#search {
	float:right;
	margin-top:15px;
	margin-right: 25px;
}

form#search_form input {
	border: 1px solid #333333;	
}

form#search_form input#search_submit {
	margin-top:3px;
	border: none;
}

#titlebox a {
	text-decoration:none;
	color: #333333;
}


/* column container */
.colmask {
	position:relative;	/* This fixes the IE7 overflow hidden bug */
	clear:both;
	background: none;
	
	/*width:100%;*/			/* width of whole page */
	width: 1024px;
	margin: 25px auto;
	background-color: #FAFAFA;

-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
/* busts in IE behavior: url(/style/css3pie/PIE.htc);*/


}
/* common column settings */
.colright, 
.colmid,
.colleft {
	width:100%;
	position:relative;
}
.col1,
.col2{
	float:left;
	position:relative;
	padding:0 0 1em 0;
	overflow:hidden;
	text-align: left;
}
/* 2 Column (right menu) settings */

.rightmenu .colleft {
	right:25%;			/* right column width */
			/* left column background colour */
}
.rightmenu .col1 {
	width:71%;			/* left column content width (left column width minus left and right padding) */
	left:27%;			/* (right column width) plus (left column left padding) */
}
.rightmenu .col2 {
	width:21%;			/* right column content width (right column width minus left and right padding) */
	left:31%;			/* (right column width) plus (left column left and right padding) plus (right column left padding) */
}


.colmask h1 {
}

/** Menu **/
div#menu {
	border-right: 4px solid #4284d3;
	font-size:12px;
	margin-top: 25px;
}

div#menu div.top {
	text-transform: uppercase;
	text-align: right;	
}

div#menu div.top a {
	border-bottom: 1px solid #4284d3;
	color: #333333;
	font-weight:bold;
	text-decoration: none;
	display: block;
	padding: 10px;
}

div#menu div.top a:hover, div#menu div.active a {
	background-color: #4284d3;
	color: #FFFFFF;
}

div#menu div.submenu {
	display:none;
	text-align: right;
	background-color: #FFFFFF;
	text-transform: none;
	/*border: 1px solid #666666;
	border-width: 0 1px 1px 1px;*/
}

div#menu div.submenu a {
	border-bottom: 1px dashed #1F242A;
	background-color: #FFFFFF;
	color: #1F242A;
	padding-right:15px;
}

div#menu div.submenu a:last-child {
	border-bottom: 1px solid #4284d3;
}

div#menu div.submenu a:hover {
	background-color: #6899D3	
}

div#menu div.submenu a {
	display: block;
	padding-right: 10px;	
}


div#tagcloud {
	text-align:center;
	margin-top: 25px;
}	

span.tag {
	margin: 0 5px 0 5px;	
}

span.tag a {
	text-decoration: none;	
}

span.tag a:hover {
	text-decoration: none;
	color: #6899D3;	
}


/* Blog Entries */
div#grid_nav {
	margin-top:20px;
}

.blog_entry {
	margin-top: 25px;
}

.blog_date {
	/*background-image: url(../images/date_bg3.png);
	background-color: #FFFFFF;*/
	background-repeat: no-repeat;
	color: #4284d3;
	color: #FFFFFF;
	float: right;
	font-size: 14px;
	/*padding: 8px 2px 0px 0px;
	height: 25px;*/
	margin: 0px;
	margin-top: 3px;
	text-align: right;
	width: 138px;
	font-weight: bold;
}

.blog_body {
	padding: 10px;	
}
.blog_body a {
	color:#4284d3; 
    text-decoration:none;
    border-bottom: 1px dotted #4284d3;
}
.blog_body a:hover {
    text-decoration:none;
    border-bottom: 1px solid #4284d3;
}
.blog_body img {
	padding: 8px;	
}

.blog_heading, .col1 h1 {
	background-color: #1F242A;
	background-color: #4284d3;
	color: #FFFFFF;
	margin-top: 0px;
	height: 22px;
	padding:10px;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#71a8e9), to(#4284d3));
	background: -moz-linear-gradient(#71a8e9, #4284d3);
	-pie-background: linear-gradient(#71a8e9, #4284d3);
-webkit-box-shadow: #666 0px 2px 3px;
-moz-box-shadow: #666 0px 2px 3px;
box-shadow: #666 0px 2px 3px;
-pie-background: linear-gradient(#71a8e9, #4284d3);
/*-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;*/
/*behavior: url(/style/css3pie/PIE.htc);*/
}


 .col1 h1 {
 	margin-top: 25px;
 	margin-bottom: 25px;
	behavior: none;
 }

.blog_heading a {
	color: #1F242A;
	color: #FFFFFF;
	float: left;
	font-size: 20px;
	text-decoration: none;
	font-weight: bold;
text-shadow: 2px 2px 2px #000;
}

.blog_footer {
	background-color: #4284d3;
	color: #FFFFFF;	
	float:left;
	font-size:12px;
	padding: 5px;
	text-align: left;
	width: 100px;	
}

.blog_footer a {
	color: #FFFFFF;
	text-decoration: none;	
}

.blog_footer a:hover {
	color: #FFFFFF;
	text-decoration: underline;	
}


/** Picasa web album styling **/
div.picasa_album {
	margin: 15px 15px 0 0 ;
	border-bottom: 2px solid #BBB;
	height:110px;
}

div.picasa_album img {
	margin-right: 20px;
	border: 2px solid #BBB;
}

div.photo {
	float:left;
	height:150px;
	padding: 2px;
}

div#recent_images {
	text-align: center;
	padding:15px;
}

/* Footer styles */
#footer {
	background-color: #1F242A;
	border-top: 6px solid #FF5B00;
	clear: both;
	color: #EEEEEE;
	height: 180px;
	text-align: left;
}

#inner_footer {
	margin: 0 auto;
	padding-top: 10px;
	width: 1024px;	
}

#footer_info {
	float: left;
	width: 300px;	
}

#footer_links {
	float: right;
	width: 500px;
}

#footer_links .section {
	float: right;
	padding: 0 8px 0 8px;
}

#footer_links .section h3 {
	font-size:13px;
	margin-top: 0;
}

#footer_links .section a {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
}

#footer_links .section a:hover {
	text-decoration: underline;	
}

#footer p {
	padding:10px;
	margin:0;
}

#footer img {
	margin-right: 10px;
	margin-top: 1px;
-webkit-box-shadow: #000 2px 2px 3px;
-moz-box-shadow: #000 2px 2px 3px;
box-shadow: #000 2px 2px 3px;
}
div#mobile {
        background-color: #FFFFFF;
        margin: 0 auto;
        padding: 4px;
        text-align: left;
        overflow: hidden;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 300px;
}

div#mobile_header {
        background-color: #1F242A;
        border-bottom: 4px solid orange;
        color: #FFFFFF;
        font-weight:bold;
        font-size: 28px;
        font-family:arial black;
        height: auto;
        text-transform: uppercase;
        padding: 5px;

}

div#mobile .blog_heading, div#mobile .col1 h1 {
        display: block;
        font-size: 18px;
        margin-top: 0px;
        height: auto;
        padding:10px;
        padding-bottom:25px; /* hack for now */
}


div#mobile .blog_heading a {
        font-size: 18px;
        font-weight: bold;
        display: block;
}

div#mobile .blog_date {
        font-size: 12px;
        text-align: right;
}


.clear {
	clear: both;
}

/* sticky foooter */
html, body {height: 100%;}

#wrap {min-height: 100%;}

#main {overflow:auto;
	padding-bottom: 180px;
	background:none;
}  /* must be same height as the footer */

#footer {position: relative;
	margin-top: -181px; /* negative value of footer height */
	clear:both;} 

/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
  content:"";
  height:100%;
  float:left;
  width:0;
  margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}


