/* indebted to these folks/sites for their css knowledge and generosity: meyerweb.com (because he can write simply and clearly), www.stopdesign.com (offset header), www.ftmdesigns.com and www.intensivstation.ch (framework elements), www.cssplay.co.uk (thumbnail grid), matthewjamestaylor.com (sticky footer)  */


/* global layout ---------------------------- */
html, body {
   	margin:0;
   	padding:0;
   	height:100%;
   	background: #e6e6e6 url(img/bg_edge_970.gif) repeat-y;
	background-position: 50% 0px;
}

#container {
   min-height:100%;
   position:relative;
   margin: 0 auto;
   width: 960px;
}

img, a img {border: none;} 


/* header and nav ---------------------------- */
#header {
   background: url("img/bg_topnav_1.png") no-repeat; 
   margin: 0;
   padding:0px;
   height: 103px
}
	
/* Douglas Bowman's offset header: www.stopdesign.com */
#logo {
  position:absolute; 
  top:66px; 
  left:95px; 
  width:206px;
  height:30px;
  margin:0;
  padding:0;
  border-width:0;
  text-decoration:none;
  }	
	
#nav_vpos {
	margin: 0;
	padding: 0;
	height: 73px;
	display: block;
	}

#nav {
	margin: 0 0 0 0;
	padding: 0 0 0 695px;
	height: 29px;
    list-style: none;
    overflow: hidden;
	}
	
#nav li {
	margin: 0; 
    padding: 0;
    display: inline;
    list-style-type: none;
    }

#nav a {
	float: left;
    padding: 29px 0 0 0;
    overflow: hidden;
    height: 0px !important; 
    height /**/:29px; /* for IE5/Win only */
    }
        
#nav a:hover {
    background-position: 0 -29px;
    }

#nav a:active, #nav a.selected {
    background-position: 0 -58px;
    }	
        
#thome a  { background: url("img/nav_home.png") no-repeat left top; width: 65px }   
              
#tclasses a  { background: url("img/nav_classes.png") no-repeat left top; width: 100px }
                 
#tgallery a  { background: url("img/nav_gallery.png") no-repeat left top; width: 100px } 

#tcontact a  { background: url("img/nav_contact.png") no-repeat left top; width: 100px }         


/* content ---------------------------- */
#content {
   	position: relative;
	margin-top: 30px;
	margin-left: 96px;
	margin-right: 86px;
	padding: 0px;
    padding-bottom:0px;   /* Height of the footer */
}

#view {
	float:right;
	padding: 0px;
	margin-top: 1px;
	height: 17px;
	font: 12px Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #383838;
	}

#view_more {
	float:right;
	margin: 0;
	padding: 0;
	}

#view_more_side {
	float:left;
	margin: 0 0 3px 0;
	padding: 0 0 5px 0;
	border-bottom: #e2e2e2 1px solid;
	}


#view_btm {
	float:right;
	margin: 0;
	padding: 0;
	} 
	
#view_btm_right {
	float:right;
	margin: -15px 0 0 0;
	padding: 0;
	} 	
	
#view_btm_left {
	float:left;
	margin: 0;
	padding: 0 0 20px 0;
	} 	
	
#main {
	margin: -80px 0 0 0;
	padding: 0px0;
	text-align:center;
	} 	

#col1 {
	float: left;
	margin: 0px;
	padding: 0px;
	width:250px;
	display: block;
	}

#col1_contact {
	float: left;
	margin: 0px;
	padding: 0px;
	width:375px;
	display: block;
	}

#col2 {
	float: right;
	margin: 0;
	padding: 6px 0 0 0;
	width:518px; /* left margin position */
	display: block;
	}

#col2_proj {
	float: right;
	margin: 0;
	padding: 6px 0 40px 0;
	width:518px; /* left margin position */
	display: block;
	}
	
#col2_contact {
	float: right;
	margin: 0;
	padding: 6px 0 0 0;
	width:369px; /* left margin position */
	display: block;
	}	

#mod1 {
	float: left;
	margin: 0px;
	padding: 10px 0 15px 0;
	width:372px;
	background: url("img/mod_top_right.png") no-repeat left top; width: 372px;
	display: block;
	}

#mod2 {
	float: right;
	margin: 0;
	padding: 10px 0 0 0;
	width:372px; /* left margin position */
	background: url("img/mod_top_right.png") no-repeat left top; width: 372px;
	display: block;
	}

#grid {width:518px; height:370px; margin:0px;}

#grid a.pics {float:right; padding:0px 0px 15px 15px; display:inline; color:#c0c0c0; text-decoration:none; width:153px; height:111px;}
#grid a.pics img.thumb {display:block; border:1px solid #c0c0c0;}

#grid a.pics span {display:none; border:0; width:580px; background:#bbb; border:1px solid #c0c0c0; text-align:center;}
#grid a.pics span img {margin:10px auto; border:1px solid #de399f;}

#grid a.pics:hover {white-space:normal;}
#grid a.pics:hover img.thumb {border:1px solid #de399f;}
#grid a.pics:hover span {display:block; position:absolute; left:9px; top:192px; z-index:10; height:500px;}

#grid a.pics:active img.thumb {border:1px solid #fc0;} 
#grid a.pics:active span {display:block; position:absolute; left:9px; top:192px; z-index:5; height:500px;}

#grid a.pics:focus {outline:0;}
#grid a.pics:focus img.thumb {border:1px solid #fc0}
#container a.pics:focus span {display:block; position:absolute; left:9px; top:192px; z-index:5; outline:0; height:500px;}

#grid span.info {clear:left; display:block; text-align:center; line-height:20px; margin:0; padding:200px 0 0 0; width:600px; text-align:center; color:#eee; z-index:1;}
#grid span.info a {color:#000;}
#grid span.info a:hover {text-decoration:none;}

#projimg {
	margin: 0px;
	padding: 5px 0 10px 0;
	background: no-repeat;
	}

#cont_projimg {
	margin: 0px;
	padding: 0px;
	background: no-repeat;
	}
	
#cont_projimg img {
	margin: 0 0 25px 12px;
	padding: 0px;
	border: #e2e2e2 1px solid;
	display:block;
	}

#cont_projimg object {
	margin: 0px;
	padding: 0px;
	width: 505px;
	height: 404px;
	border: #e2e2e2 1px solid;
	display:block;
	}
	
#flash {
	margin:  0 0 25px 12px;
	padding: 0px;
	}

#projdetails {
	margin: 0px;
	padding: 0px;
	}

#list {
	margin: 0px;
	padding: 0 0 25px 25px;
	}
	
.classlist {
	margin: 0px;
	padding: 0 0 20px 15px;
	}

#modlinks {
	margin: 0px;
	padding: 0 0 18px 25px;
	line-height: 12px;
	}

/* content_gallerycode ---------------------------- */
#gallery {padding:0; margin:0; list-style:none; position:relative; z-index:10; width:600px; height:800px; margin:10px auto; font-family:verdana, arial, sans-serif; font-size:12px;}
#gallery table {border-collapse:collapse; margin:-1px -10px;}

#gallery li {float:left; margin:5px 17px; display:inline; color:#000; text-decoration:none; width:85px; height:85px; cursor:default;}
#gallery li a.thumb {display:block; width:75px; height:75px; text-decoration:none; cursor:default; border:5px solid #fff;}
#gallery li a.thumb img {display:block; border:0;}

#gallery li div {position:absolute; left:-9999px; border:0; width:580px; text-align:center; z-index:-1; background:#fff;}
#gallery li div img {margin:10px auto;}

#gallery :hover {background:#fff;}
#gallery li a.thumb:hover {border-color:#ddd;}

#gallery li:hover > a {border-color:#ddd;}
#gallery :hover div {position:absolute; left:9px; top:0; padding:200px 0 50px 0; background:#fff;}
#gallery :hover div img {border:1px solid #888;}
#gallery :hover div p {width:580px; text-align:center; font-family:verdana, sans-serif; font-size:11px; line-height:20px;}
#gallery :hover div p a {padding:8px 0 8px 30px; background:url(gallery-images/enlarge.gif) no-repeat left center; text-align:center; cursor:pointer; text-decoration:none; color:#666;}
#gallery :hover div p a:hover {color:#000; text-decoration:underline;}


/* footer ---------------------------- */

#footer_clr {
	clear: both;
	height: 80px;}

#footer {
   position:absolute;
   bottom:0;
   width:100%;
   height:80px;   /* Height of the footer */
   background:url('img/bg_footer_1.png') no-repeat;
}
 
 #footer p {
	margin: 0;
	padding: 12px 85px 0 0;
	border: 0;
	color: #000;
	line-height: 1;
	text-align: right;
	font: 10px Arial, Helvetica, sans-serif;
	letter-spacing: 0.3pt;
	}
	
	#footer p a, #footer p a:visited {
	font: 10px Arial, Helvetica, sans-serif;
	color: #000;
	text-decoration: none;
	}
	
	#footer p a:hover {
	text-decoration: underline;
	}	

/* typography ---------------------------- */

a:link {
	color: #0082cd;
	font: 12px Arial, Helvetica, sans-serif;
	text-decoration: none;
	}
	
a:hover {
	color: #0082cd;
	text-decoration: underline;
	}
	
a:active {
	color:#0082cd;
	}
	
a:visited {
	color:#8504aa;
	}
	
a.anchor {
	text-decoration: none;
	}	

a.black {
	color: #000000;
	text-decoration: none;
	}

a.black:hover {
	color: #000000;
	text-decoration: underline;
	}

h1 {
	font: 16px Times New Roman, Times, Georgia, serif;
	color: #000000;
	font-weight: normal;
	padding: 0 0 3px 0;
	margin: 0px;}

h1.mod {
	font: 16px Times New Roman, Times, Georgia, serif;
	color: #000000;
	font-weight: normal;
	padding: 0 0 3px 15px;
	margin: 0px;}

h2 {
	font: 16px Times New Roman, Times, Georgia, serif;
	color: #000000;
	font-weight: normal;
	padding: 5px 0px;
	margin:0px;}
	
p {
	margin: 0px;
	padding: 0 0 10px 0;
	font: 12px Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	color: #282828;
	}
	
p.section {
	margin: 0px;
	padding: 3px 0 0 20px;
	font: 12px bold Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	color: #282828;
	}
	
.classdetails {
	margin: 0px;
	padding: 3px 0 15px 20px;
	font: 12px bold Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	color: #282828;
	}

ul {
	margin: 0;
	padding: 0 0 0px 25px;
	list-style-type: none;
	}
	
ul.btm0 {
	margin-top: 7px;
	margin-bottom: 0px;
	padding-bottom: 0px;
	list-style-type: none;
	}
	
li {
	margin-top:7px;
	font: 12px Arial, Helvetica, sans-serif;
	}	

.side {
	margin: 0px;
	padding: 6px 0 0 0;
	font: 12px Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	color: #282828;
	}

.title {
	color: #000000;
	font: 18px Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.subtitle {
	color: #000000;
	font: 12px Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.projtitle_side {
	color: #000000;
	font: 14px Arial, Helvetica, sans-serif;
	line-height: 1.35em;
	font-weight: bold;
}

.subtitle_side {
	color: #282828;
	font: 12px Arial, Helvetica, sans-serif;
	font-weight: bold;
}


.side_detail {
	margin: 10px 0 10px 0;
	padding: 0;
}

.bodytxt {
	font: 12px Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	color: #282828;
}

.bodytxt_2 {
	font: 12px Arial, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 1.5em;
	color: #282828;
}

/* resume layout ---------------------------- */

#vpos_20 {
	margin: 0;
	padding: 0;
	height: 20px;	
	}

.col1_res {
	text-align: right;
	width: 125px;
	margin: 0;
	float: left;
	margin-right: 12px;
	font: 12px Arial, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 1.5em;
	color: #282828;
}

.col2_res {
	width: 600px;
	display: block;
	float: left;
	margin: 0 0 10px 0;
	font: 12px Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	color: #282828;
}

div.row {
	clear: both;
	width: 750px;
}


div.classes {
	clear: both;
	width: 750px;
	border-top:#d1d1d1 1px solid;
	}

.section_graybg {
	clear: both;
	width: 753px;
	height: 100%;
	margin: 0;
	padding: 0px 10px 0px 15px;
	border-top:#d1d1d1 1px solid;
	background-color:#f4f4f4;
	}


/* form ---------------------------- */
#form_cont {
	position: relative;
	margin: 0;
	padding: 0;
	display: block;
	}

#form {
	margin-top: 10px;
	margin-left: 15px;
	vertical-align: middle;
}

.formTable {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
	margin: 0px;
	vertical-align: top;
	line-height: 11px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	padding: 4px;
}

.formTableGap {
	line-height: 4px;
}

.formContainer {
	text-align: center;
	vertical-align: middle;
	padding: 50px;
}
.submitPad {
	padding-top: 15px;
	padding-bottom: 5px;
	padding-left: 4px;
	text-align: left;
	vertical-align: middle;
	margin-left: 4px;
}
.tdSubjects {
	vertical-align: top;
	text-align: right;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
	padding-top: 2px;
	line-height: 24px;
}
.formCol1 {
	text-align: right;
	vertical-align: middle;
	padding: 0px;
}


