body
	{
	background: #2C2C2C;
	font: 12px/22px Helvetica,"Helvetica Neue",Arial,sans-serif;
	margin: 0px;
	padding: 0px;
	text-align: center;
	width: 100%;
	position: relative;
	}

a 	
    {
    text-decoration: none; 
    color: #2D4366;
    }

a:hover 
    {
    text-decoration: underline;
    }
    
br.clear
    {
    clear: both;
    height: 0;
    }

img 
    {
    display: block; 
    border:0; 
    padding: 0; 
    margin: 0;
    }

h1,h2 
    {
    color:#3e5277; 
    }

h2,h3 
{
     text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);   
}
  
   
h2 
    {    
    font-size: 23px;
    }
    
h3 
    {
    font-size: 20px;
    color: #3e5277; 
    padding-right: 10px; 
    text-shadow: 0 1px 0 #FFFFFF;
    }


p 
{
    padding-bottom: 10px;
    font-size: 1.1em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}


#side h2, #content h2 
    {
    font-weight: bold;
    }

#frame
	{
	background: #FFF;
	padding: 0;
    	width: 94%;
	min-width: 755px;
	margin: auto;
	voice-family: "\"}\""; /* Box Model Hack */
	voice-family:inherit;
	min-width: 751px;
	}

/* ---------- Header ---------- */
#title
	{
	background: #2c2c2c;
	float: left;
	clear: both;
	width: 100%;
	margin:0;
	padding:0;
	padding-top: 40px;
	padding-bottom: 10px;
	}

#title h1 {
	padding: 0;
	margin: 0;
}
	
#title h1 a
	{
	display: block;
	padding: 0;
	margin: 0;
	padding-top: 80px;
	height: 0;
	overflow: hidden;    
    background: url("../images/craig/title1.gif") no-repeat;
	text-decoration: none;	
	}

#title1
    {
	display: block;
	padding: 0;
	margin: 0;
	width: 33%;
	height: 79px;
	overflow: hidden;
	float: left;
	background: url("../images/craig/title1.gif") no-repeat;
    }

#title h2
	{
	display: block;
	padding: 0;
	margin: 0;
	padding-top: 80px;
	height: 0;
	overflow: hidden;
    	background: url("../images/craig/title2.gif") top right no-repeat;
	}

#title2
    {
	display: block;
	padding: 0;
	margin: 0;
	width: 67%;
	float: right;
    }

/* ---------- Menu ---------- */
#menu
	{
	border-top: 1px solid #28354B;
	border-bottom: 1px solid #FFFFFF;
	height: 35px;
	text-align: center;
	background: #5E7FB6 url("../images/craig/menu-back.jpg") repeat-x;
	width: 94%;
	position: absolute;
	top: 0;
	left: 0;
	padding-left: 3%;
	padding-right: 3%;
	}
	

#menu ul
	{
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
	height: 35px;
	display: block;
	width: auto;
	list-style: none;
	background: #5e7fb6 url("../images/craig/menu-back.jpg") repeat-x;
	}

#menu li
	{
	padding: 0;
	margin: 0;
	float: left;
    	display: block;
	}
	
#menu1 a
	{
	margin-left: 20px;	
	display: block;
	
	padding-top: 34px;
	width: 46px;

	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat 0 0;
	overflow: hidden;
	height: 34px;
	
	voice-family: "\"}\""; 
	voice-family:inherit; 
	height: 0;
	}

#menu1 a:hover
	{
	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat 0 -34px;
	}	
		

#menu2 a
	{
	display: block;
	
	padding-top: 34px;
	width: 44px;

	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -47px 0;
	overflow: hidden;
	height: 34px;
	
	voice-family: "\"}\""; 
	voice-family:inherit; 
	height: 0;
	}

#menu2 a:hover
	{
	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -47px -34px;
	}
	
#menu3 a
	{
	display: block;
	
	padding-top: 34px;
	width: 78px;

	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -91px 0;
	overflow: hidden;
	height: 34px;
	
	voice-family: "\"}\""; 
	voice-family:inherit; 
	height: 0;
	}
	
#menu3 a:hover
	{
	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -91px -34px;
	}	

#menu4 a
	{
	display: block;

	padding-top: 34px;
	width: 60px;

	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -169px 0;
	overflow: hidden;
	height: 34px;

	voice-family: "\"}\""; 
	voice-family:inherit; 
	height: 0;
	}

#menu4 a:hover
	{
	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -169px -34px;
	}	

#menu5 a
	{
	display: block;

	padding-top: 34px;
	width: 88px;

	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -229px 0;
	overflow: hidden;
	height: 34px;

	voice-family: "\"}\""; 
	voice-family:inherit; 
	height: 0;
	}

#menu5 a:hover
	{
	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -229px -34px;
	}


#menu6 {
	position: absolute;
	right: 3%;
}
	
#menu6 a
	{
	display: block;

	padding-top: 34px;
	width: 93px;

	background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -321px 0;
	overflow: hidden;
	height: 34px;

	voice-family: "\"}\""; 
	voice-family:inherit; 
	height: 0;

	margin-right: 20px;	
	}
	


#menu6 a:hover
    {
		background: #5e7fb6 url("../images/craig/menu.jpg") no-repeat -321px -34px;
    }
    
#main
    {
    background: url("../images/craig/side_back.gif") top left repeat;
    }    
 

/* ------ Banner ------ */
#banner {
	height: 40px;
	float: left;
	clear: left;
	background: #000 url("../images/craig/banner-back.jpg") 0 0 repeat;
	width: 100%;
	border-bottom: 1px solid #2c2c2c;
}

 
 
/* --------- Side --------- */

#side
	{
	background: none;
	float: left;
	text-align: left;
	height: 100%;
	min-height: 100%;
	font-size: 11px;
	margin-bottom: 10px;
	margin-top: 0px;
	padding: 2%;
	width: 21%;	
	}

#side a {color: #335467; font-weight: bold; font-size: 10px;}

#side ul
	{
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
	padding: 0;
	}

#side ul li
	{
	margin: 0;
	padding: 0;
        }

/* -------- Content ------- */

#main
    {
    width: 100%;
	background: #FFF;
  }

#content
	{
	background: none;
	float: left;
	text-align: justify;
	padding: 2%;
	margin: 0;
	color: #000;
	width: 70%;
	}
	
#content a 
	{
	color:#2D4366;
	font-weight: bold;
	}

#content img
	{
	padding: 5px;
	}

#content h2 img
    {
    display: inline;
    padding: 0;
    }

#content:after
    {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
    }	
	

#sidebar {
	width: 25%;
	float: right;
}

#sidebar ul {
	list-style: none;
	text-align: left;
}
	
#sidebar #searchform {
	padding: 15px 20px 12px;
	margin: 30px 0;
	background: #cdcfd1 url("../images/craig/gradient-background.png") repeat-x;
    border: 1px solid #333;
}


.screen-reader-text {
	display: none;
}

.post {
	width: auto;
	padding-left: 48px;
	position: relative;
}

.post .date {
        background: #3e5277;
        padding: 5px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
	color: #FFF;
	position: absolute;
	top: 0;	
	left: -45px;
	text-align: center;
	display: block;
	width: 70px;
        overflow: hidden;
}

.post .date .day {

    font-size: 2.4em;
}


.post .date .month {
	font-size: 1.3em;
        line-height: 1;
}

.post .date .year {
    font-size: 1.2em;
    margin-top: 2px;
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: -5px;
    border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    background: #232e43;
}
	
/* ---------- Footer ------- */

#footer .menu {
    width: 45%;
    float: right;
    color: #FFF;
    padding-right: 2%;
}

#footer .menu a {
    color: #FFF;
}


#footer .menu ul {
    padding-left: 0;
    text-align: left;
    list-style: none;
}

#footer .menu li {

    padding: 5px;
    border-bottom: 2px solid #232E43;
}


#footer .bottom {
    color: #B7B7B7;
    clear: both;
    width: auto;
    padding-top: 20px;
    text-align: left;
}

#footer .bio {
    float: left;
    width: 40%;
    color: #FFF;
    padding-left: 2%;
}

#footer .bio p {
    font-size: 1.1em;
    padding: 10px;
    display: block;
    text-align: left;
}

#footer .bio a {
    color: #FFF;
}

#footer .bio ul {
    list-style: none;
    text-align: left;
}

#footer .bio li.twitter {
    display: block;
    height: 26px;
    padding-left: 30px;
    background: transparent url("../images/twitter.png") no-repeat;
}

#footer .bio li.delicious {
    display: block;
    height: 26px;
    padding-left: 30px;
    background: transparent url("../images/delicious.png") no-repeat;
}

#footer .bio li.rss {
    display: block;
    height: 26px;
    padding-left: 30px;
    background: transparent url("../images/rss.png") no-repeat;
}

#footer .bio li.google {
    display: block;
    height: 26px;
    padding-left: 30px;
    background: transparent url("../images/google.png") no-repeat;
}


#footer .bio .picture {
    width: 100px;
    border: 2px solid #232E43;
    float: left;
    margin-right: 20px;
}


#footer h2 {
    color: #FFF;
    padding-top: 0;
    text-align: left;
}


#footer
	{
	clear: both;
	width: auto;
	background: #1e1e1e;
	color: #949494;
        margin: -3%;
        padding: 3%;
        padding-top: 20px;
        border-top: 1px solid #FFF;
        }

	
/* ---------- Home ------- */
#side #recentActivity ul {
    list-style: none;
    margin-left: 0;
    border-top: 2px solid #EBEBEB;
    padding-top: 10px;
}

#side #recentActivity li.tweet {
    background: url('../images/twitter.png') no-repeat;
}

#side #recentActivity li.bookmark {
    background: url('../images/delicious.png') no-repeat;
}

#side #recentActivity li.google {
    background: url('../images/google.png') no-repeat;
}

#side #recentActivity li {
    margin-bottom: 10px;
    padding-left: 30px;
    padding-bottom: 4px;
    border-bottom: 1px solid #EBEBEB;
    overflow: hidden;
}

#side #recentActivity span.date {
    color: #999;
    display: block;
    font-size: 10px;
}

#side #recentActivity li.alt {
    
}

#recentPosts {
    margin-left: 45px;
}

/* ---------- Portfolio ------- */
.project 
    {
    float: left;
    background: url("../images/craig/shadow.gif") no-repeat bottom right;
    margin: 10px 0 0 10px !important;
    margin: 10px 0 0 5px;
    }

.project a 
    {
    display: block;
    padding: 0px 5px 5px 0px;
    }

.project img 
    {
    background-color: #fff;
    border: 1px solid #a9a9a9;
    padding: 4px;
    }

.project-screens
    {
    float: none;
    clear: both;
    width: 100%;
    height: 200px;
    overflow: auto;
    }

.screen-full
    {
    background: #FFF; 
    padding: 5px; 
    border: 2px solid #2D4366; 
    }

.project-screens:after
    {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
    }

.modalBackground 
    {
	background: #2c2c2c;
	filter:alpha(opacity=90);
	opacity:0.90;
    }


.grid
    {
    width: 100%; 
    border: 1px solid #5f80b6;
    border-bottom: 0;   
    }

.grid td img
    {
    padding: 0;
    margin: 0;   
    border: 0;
    display: inline;
    }

.grid, .grid tr
    {
    padding: 0;
    margin: 0;  
    }

.grid th
	{
	font-weight: bold;
	padding: 3px;
	padding-top: 5px;
	background: #c7d7f4;
	color: #000000;
	}

.grid td
	{ 
    border-bottom: 1px solid #5f80b6;      
	padding: 4px 3px 4px 3px;
	}
	
.grid thead th
    {
    border-bottom: 2px solid #5f80b6;
    }

.grid tfoot th
    {
    border-top: 1px solid #5f80b6;  
    border-bottom: 1px solid #5f80b6;
    }

.grid tr.alternating td
    {
    background: #f5f8fd;   
    }

.grid tbody tr:hover, .grid tbody tr.alternating:hover td
    { 
    background-color: #fffdd4; 
    }


/* ================== Pager Control Styles ================================== */
ul.pager
    {
    font-size: 11px;
    font-weight: bold;
    display: block;
    float: left;
    clear: both;
    list-style: none;    
    margin: 0;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #2C2C2C;
    }

ul.pager li
    {
    float: left;
    border: 1px solid #FFF;
    background: #eeeeee;
    }
    
ul.pager li a
    {
    padding: 2px;
    display: block;
    color: #a00724;
    text-decoration: none;
    }

ul.pager li.range
    {
    padding: 2px 4px 2px 3px;
    background: #374a6d;   
    color: #FFF;
    }

ul.pager li a:hover
    {
    background: #fbf5ed;   
    }
    
ul.pager li a.current
    {
    background: #fbe3aa;
    }    



