body {
	background-image:  url(gradient.jpg);
	background-position: top left;
	background-attachment: fixed;
	margin: 0;
	padding: 0;
}
h1 {
	font: bold 140% "Trebuchet MS", verdana, sans serif;
	color: #3333cc;
	font-weight: bolder;
}
h4 {
	font: 120% verdana, sans serif;
	color: #3333cc;
	font-weight: bolder;
}
h3 {
	font: 110% verdana, sans serif;
	font-style: italic;
	color: #ff9d08;
}
h2 {
	color: black;
	font: bold 120% "Trebuchet MS", verdana, san serif;
}
p {
	font: 100% verdana, sans serif;
	color: #333;
	text-align: left;
}
#wrapper {
	text-align: left;
	width: 800px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px 0 0 0;
	background-image: url(checker.jpg);
	border: 2px solid #fff;
}
#top {
	top: 0px;
	width: 800px;
	background-repeat: no-repeat;
	background-position: top left;
	background-color: #ffffff;
	font: 10pt verdana, sans serif #336699;
	padding: 0px;	
}
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

#cfnavbar{
margin: 0;
padding: 0;
}

#cfnavbar ul{
background: url(o-bg.gif) repeat-x;
padding: 0;
margin: 0;
float: right;
font: bold 100% "Trebuchet ms";
}

#cfnavbar ul li{
display: inline;
}

#cfnavbar ul li a, #cfnavbar ul li span{
float: left;
color: black;
font-weight: bold;
padding: 8px 13px 5px 6px;
text-decoration: none;
background: url(o-divider.gif) top right no-repeat;
}

#cfnavbar ul li span{ /*Targets span tag to the right of #leftcorner below*/
padding-left: 0px;
}

#cfnavbar ul li a#leftcorner{
float: none;
padding-left: 10px;
padding-right: 0px;
background: url(o-leftcorner.gif) top left no-repeat;
}

#cfnavbar ul li a#rightcorner{
padding-right: 10px;
background: url(o-rightcorner.gif) top right no-repeat;
}

#cfnavbar ul li a:hover{
text-decoration: underline;
color: #fff;
}

#cfnavbar:after{ /*Add margin between menu and rest of content in Firefox*/
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}
#content {
	float: left;
	top: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 5px;
	width: 525px;
	padding: 5px;
	font: 10pt "Trebuchet MS", verdana, sans serif;
	background-color: #fff;
	border: 1px dotted #ff9d07;
}
#content a:link, a:visited {
	text-decoration: underline;
	color: #33c;	
}
#content a:hover, a:active {
	text-decoration: underline;
	color: #33c;
}
#content h1 {
	font: 160% verdana, sans serif;
	padding-left: 10px;
}
 #right {
	top: 10px;
	width: 200px;
	float: right;
	font: 8pt verdana, sans serif;
	font-style: italic;
	text-align: center;
	color: #000000;
	padding: 10px;
	background-image: url(portfolio-box.png);
	background-repeat: no-repeat;
}


.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid orange;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
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: 100px;
left: 290px; /*position where enlarged image should offset horizontally */
z-index: 2;
}
.gallerycontainer2{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0px;
left: 290px; /*position where enlarged image should offset horizontally */
z-index: 2;
}

/* set the image to use and establish the lower-right position */ 
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2 {
    background: transparent url(rightbox.png) no-repeat bottom right; 
} 
.cssbox { 
    width: 220px !important; /* intended total box width - padding-right(next) */
    width: 205px; /* IE Win = width - padding */
    padding-right: 15px; /* the gap on the right edge of the image (not content padding) */
    margin-right: 20px auto;/* use to position the box */ 
} 

/* set the top-right image */ 
.cssbox_head { 
    background-position: top right; margin-right: -15px; /* pull the right image over on top of border */
    padding-right: 40px; /* right-image-gap + right-inside padding */ 
} 

/* set the top-left image */ 
.cssbox_head h2 { 
    background-position: top left; 
    margin: 0; /* reset main site styles*/ 
    border: 0; /* ditto */ 
    padding: 25px 0 15px 40px; /* padding-left = image gap + interior padding ... no padding-right */ 
    height: auto !important; height: 1%; /* IE Holly Hack */ 
} 

/* set the lower-left corner image */ 
.cssbox_body { 
    background-position: bottom left; 
    margin-right: 15px; /* interior-padding right */ 
    padding: 15px 0 15px 20px; /* mirror .cssbox_head right/left */ 
}

#footer {
	clear: both;
	font: 9pt verdana, sans serif;
	text-align: center;
	text-color: #000033;
}
.footer {
	text: 10pt verdana, sans serif;
	text-color: #000033;
}

.redspan {
	font: 110% verdana, sans serif;
	font-style: italic;
	color: #bf3535;
}
.logo {
	position:absolute;
	top: 110px;
	left: -30px;
	z-index: 1;
} 