/* David Nixon Portfolio 
Copyright © 2005 David Nixon 
Blue Color: #000269 */

body {
	margin: 0;
	padding: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	background: url(../images/backgroundB.png) #CCCCCC fixed center top;
	text-align: center;
	}
	
h1 {
	font-size: 14px;
	padding: 0 0 10px 0;
	margin: 0;
	}

h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 22px;
	padding: 0 0 0 4px;
	margin: 0;
	color: #ffffff;
	}

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

p.footer {
	text-align: center;
	padding: 0 0 5px 0;
	color: #000000;
	}

/* ID's */

#main {	
	width: 750px;
	margin-right: auto;
	margin-left: auto; 	
	text-align: left;
	}

#mainstyle {	
	margin-left: 10px ;
	margin-right: 10px;
	margin-top: 10px;
	}
	
#topbanner {
	margin-bottom: 10px;
	width: auto;
	height: 220px;
	background-image: url(../images/bannerB.jpg);
	background-repeat: no-repeat;
	border: 1px solid #000000;
	}

#topbanner a {
	display: block;
	height: 124px;
	width: 142px;
	top: 22px; 
	margin: 5px 0 0 5px;
	text-decoration: none;
	}
 
#topbanner a i { visibility: hidden; }

#leftcontainer {
	float: left;
	width: auto;
	height: auto;
	}

#themes {
	margin: 0 0 10px 0;
	width: 140px;
	height: auto;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	}

#themecontent {
	padding: 5px 10px 5px 8px;
	}
	
#themecontent a {
	text-decoration: none;
	}

#rightcontainer {
	margin: 0 0 10px 152px;
	width: auto;
	height: auto;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	}
	
#content {
	padding: 10px;
	width: auto;
	height: auto;
	background-color: #FFFFFF;
	}

#footer { padding: 0 0 5px 0; }

/* Classes */

.thumbnailbox .header { width: 152px; }

.header {
	height: 2em;
	background-color: #000269;
	color: #FFFFFF;
	}

.headerleft { 
	padding: 5px 0 0 0; 
	text-align: center;
	cursor: default;
	}

.headerright { 
	padding: 5px 0 0 10px; 
	text-align: left;
	}

.module {
	margin: 0;
	padding: 0;
	background-color: #D7D7D7;
	font-size: 12px;
	}

.module2 {
	margin: 0;
	padding: 0;
	background-color: #FFFFFF;
	font-size: 12px;
	}

.modulepic {
	vertical-align: top;
	margin: 0;
	padding: 0;
	}

.moduletxt {
	vertical-align: top;
	margin: 0;
	padding: 0;
	}

.linksbg {
	margin: 0 auto 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	background-color: #ffffff;
	font-size: 12px;
	width: 552px;
	}

.gallerylinks {
	vertical-align: top;
	margin: 0;
	padding: 0 10px 10px 10px;
	text-align: left;
	list-style-type: square;
	}

.gallerylinks li {
	padding: 0.2em;
	}

.gallerypic {
	vertical-align: top;
	margin: 0;
	padding: 0 10px 10px 10px;
	}
	
.galleryfirst {	padding-top: 10px; }

.gallerylast {	padding-bottom: 10px; }

.gallerymid {	padding-bottom: 10px; padding-top: 10px; }

.gallery, .galleryfirst, .gallerylast, .gallerymid {
	margin: 0 auto 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	background-color: #D7D7D7;
	font-size: 12px;
	text-align: center;
	width: 552px;
	}

.galleryheader {
	background-color: #000269;
	margin: 0 auto 0 auto;
	width: 552px;
	height: 2em;
	color: #FFFFFF;
	cursor: default;
	}

.homecol {
	background-color: #000269;
	margin: 0 0 10px 13px;
	float: left;
	color: #FFFFFF;
	cursor: default;
	display: inline;
	}
	
.homeheaderright { 
	padding: 5px 10px 5px 10px; 
	text-align: center;
	}
	
.homeimg {
	background-color: #D7D7D7;
	}
	
.thumbnailbox {
	float: right;
	width: 152px;
	padding: 10px;
	margin: 0 0 0 10px;
	background-color: #D7D7D7;
	}

.thumb {
	margin: 10px 0 0 0;
	display: block;
	}
	
.contact { margin: 0 auto 0 auto; }

.contactbox { 
	border: 1px solid black;
	}

table.contact input, table.contact textarea {border:1px solid #555;background:#fff;}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix { display: inline-table; }

/* \*/
* html #rightcontainer, .clearfix, .nofloat, #menu { height: 1% }
.clearfix { display: block; }
/*  */

/* Navigation */

#navcontainer {
	width: 140px;
	height: auto;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	margin-bottom: 10px;
}

#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	width: auto;
}

/* Level 1 */
#nav li {
	position: relative;
	line-height: 110%;
	margin-bottom: -1px;
}

* html #nav li {display:inline}

/* Level 2 */
#nav li ul {
	position : absolute;
	top: 0px;
	left: -999px;
	margin: 0 0 0 130px;
	width: 140px;
	background-color: #FFFFFF;
	border: 1px solid #000000;
}

/* Level 1&2 links */
#nav li a {
	display: block;
	color: #000000;
	text-decoration: none;
	padding: 5px;
	width: 130px;
}

/* Links mouseover style */
#nav li a:hover {
	width: 130px;
	color: #FFFFFF;
	background-color: #000269;
}

/* Level 2 CSS mouseover position */
#nav li:hover ul {
	left: auto;
}

/* Level 2 JS mouseover position */
#nav li:hover ul, #nav li.navhover ul {
	left: auto;
}

/* Links */

.header a:link { 
	color: #FFFFFF;
	text-decoration: underline;
	border: 0;
	}

.header a:visited { 
	color: #FFFFFF;
	text-decoration: underline;
	}

.header a:active, .header a:hover { 
	text-decoration: none;
	color: #000269;
	background-color: #FFFFFF;
	}

#footer a:link { 
	color: #000000;
	text-decoration: underline;
	border: 0;
	}

#footer a:visited { 
	color: #000000;
	text-decoration: underline;
	}

#footer a:active, #footer a:hover { 
	text-decoration: none;
	color: #FFFFFF;
	background-color: #000000;
	}

#themecontent a:link, #themecontent a:visited, #themecontent a:active, #themecontent a:hover, 
.thumbnailbox a:link, .thumbnailbox a:visited, .thumbnailbox a:active, .thumbnailbox a:hover,
.modulepic a:link, .modulepic a:visited, .modulepic a:active, .modulepic a:hover, 
.gallerypic a:link, .gallerypic a:visited, .gallerypic a:active, .gallerypic a:hover, 
.homeimg a:link, .homeimg a:visited, .homeimg a:active, .homeimg a:hover, 
#topbanner a:link, #topbanner a:visited, #topbanner a:active, #topbanner a:hover { background-color: transparent; }

a:link { 
	color: #000269;
	text-decoration: underline;
	border: 0;
	}

a:visited { 
	color: #000269;
	text-decoration: underline;
	}

a:active, a:hover { 
	text-decoration: none;
	color: #FFFFFF;
	background-color: #000269;
	}
	
.webroll { background: url(../images/home_web_down.jpg) no-repeat; }
.graphicroll { background: url(../images/home_graphic_down.jpg) no-repeat; }
.levelroll { background: url(../images/home_level_down.jpg) no-repeat; }
	
.webroll, .graphicroll, .levelroll {
	display: block;
	width: 168px;
	height: 320px;
	margin: 0;
	padding: 0;
	}

.webroll a, .graphicroll a, .levelroll a {
	display: block;
	width: 168px;
	height: 320px;
	display: block;
	float: left;
	}

.webroll img, .graphicroll img, .levelroll img {
	width: 168px;
	height: 320px;
	border: 0
	}

* html a:hover { visibility:visible	}

.webroll a:hover img, .graphicroll a:hover img, .levelroll a:hover img {
	visibility:hidden
	}
