/****************************************************************************
   COPYRIGHT © 2009 Adam Mascherin
   ALL CONTENT HAS BEEN DESIGNED & PROGRAMMED BY ADAM MASCHERIN UNLESS
   OTHERWISE SPECIFIED. DO NOT REMOVE THIS COPYRIGHT.
   
****************************************************************************/


/*
#######################################################################
  Page Structure
#######################################################################
*/

/* forces h-scrollbar to display in Mozilla */
html {
	margin-bottom: 1px;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	text-align: center;
	font: 400 0.8em georgia, serif;
	line-height: 180%;
	
	background: url(http://www.adammascherin.com/images/wood_bg_1680x1200.jpg) repeat top center fixed;
	color: #6D6864;
}

#wrapper {
	width: 600px;
	height: 100%;
	margin: 0 auto;
	
	text-align: left;
}


#content { 
	float: left;
	width: 600px;
	height: 100%;
	min-height: 100%; 
	
	background: url(http://www.adammascherin.com/images/content.gif) repeat-y top center;
}


#content[id] {
	height: auto;  
	background: url(http://www.adammascherin.com/images/content_shadow.png) repeat-y top center;
}


/*
#######################################################################
  Header & Header Typesetting styles
#######################################################################
*/
#header h1,
#header h2 {
	margin: 0;
	padding: 0;  
	background: none;
}

#header h1 {
	font-size: 3.5em;
	font-family: georgia;
	letter-spacing: -3px;
	color: #404040; /*#6E310B*/
}

#header h2 {
	color: #86B517;
}

#header {
	padding: 30px 0 2em 49px;  
	background: url(http://www.adammascherin.com/images/green_splash.jpg) no-repeat top center;  
}

#header a {
	text-decoration: none;
	color: #404040;  
	border-bottom: none;
}

#header a:visited {
	background: none;
}

#header h1 a:hover {
	color: #000;
	background: none;
	border-bottom: none;
}

#header h1 a span {
	display:none;
	font-size: 0.58em;
	letter-spacing: -1px;
}

#header h1 a:hover span {
	display:inline;
}

 

/* Forces IE to set the hasLayout flag and show the header at the height of its contents \*/
* html #header {
	height: 1%;
}
/* End hide from IE-mac */


/*
#######################################################################
  Body
#######################################################################
*/

#main {  
	float: left;
	clear: both;   
	width: 502px !important;
	width: 100%;
	
	padding: 2em 49px;  
}

#main p {
	text-align: left;
}


/*
#######################################################################
  Body Typesetting Styles
#######################################################################
*/

.noMargin {   
	margin: 0;
}

h1, h2, h3, h4, h5, h6, p, dl {
	margin: 0;
	padding: 10px 0;
}

h1 {   
	margin: 50px 0 0 0;
	clear: both;
	font: 400 1.9em georgia, serif;
	color: #532406;
}

h2 {
	clear: both;
	font: 400 1.3em georgia, serif;
	color: #61804E;
	margin: 40px 0 0 0;
}

h3 {
	font: 700 1.1em georgia, serif;
	color: #8d5a3b;
}

h4 {
	font: 400 0.9em georgia, serif;
	text-transform: uppercase;
}

a {
	text-decoration: none;
	color: #5E9040;  
	border-bottom: 1px solid #B8E78B;
}


a:visited {
	background-color: #F1FFE3;
}

a:hover {
	color: #3C5D29;
	background-color: #F1FFE3;
	border-bottom: 1px solid #4A6E35;
}


ol {  
	margin: 10px 30px;
	padding: 0 30px;
	
	font-size: 1.4em;
	color: #532406;
	background-color: #FFF;
}

ol:hover {
	color: #884e29;
}

ol span {
	font-size: 0.7em;
	color: #6D6864;
}

ul {
	margin: 10px 30px;
	padding: 0 30px 0 5px;
	list-style: none;
}

ul li {
	padding-left: 25px;
	background: url(http://www.adammascherin.com/images/bullet.gif) no-repeat;
	background-position: 0 3px;
	color: #999999;
}

ul li:hover {
	background: url(http://www.adammascherin.com/images/bullethover.gif) no-repeat;
	background-position: 0 3px;
	color: #6D6864;
}

acronym {
	cursor: help;
	border-bottom: 1px solid #DDD;
}

blockquote {
	margin: 10px 0;
	background-color: #F1FFE3;
	border-bottom: 1px solid #B8E78B;
}

blockquote p {
	margin: 0.4em 0.8em;
}

del {
	color: #AAA;
}

code {
	margin: 15px 0;
	padding: 10px;
	display: block;
	overflow: auto;
	
	font: 400 1em courier, monospace;
	line-height: 120%;
	white-space: pre;
	
	background: #F4F4F4;
	border-bottom: 1px solid #D3D3D3;
}



/**************************************************************
   Tables
 **************************************************************/

table {
	width: 100%;
	margin-bottom: 10px;  
	
	font-size: 1em;
	border-collapse: collapse;
}

table caption {
	margin-top: 10px;
	padding: 0 0 0.5em 3px;
	
	font: 400 0.8em georgia, sans-serif;
	text-align: left;  
}

table th,
table td {
	text-align: left;
	vertical-align: top;
	padding: 4px 7px !important;
	padding: 6px 10px;
}


thead th {
	background-color: #F1FFE3;
	border-bottom: 1px solid #B8E78B;
}

tbody tr.dark {
	background-color: #F5F5F5;
}

tbody td {
	border-bottom: 1px solid #DDD;
}

tbody tr:hover {
	background-color: #FBFEDF;
}

/**************************************************************
   Form Elements
 **************************************************************/

label {
	float: left;
	text-align: right;
	width: 9em;
	padding-right: 1em;
  
}


input,
textarea,
select {
	padding: 4px;
	font: 400 1em georgia, sans-serif;
	
	color: #666;
	background: #FFF;
	border-width: 1px;
	border-style: solid;
	border-color: #888 #DDD #DDD #888;  
}

input:hover,
textarea:hover,
select:hover {
	padding: 4px;
	font: 400 1em georgia, sans-serif;
	
	color: #666;
	background: #e5feff;
	border-width: 1px;
	border-style: solid;
	border-color: #888 #DDD #DDD #888;  
}


input:focus,
textarea:focus,
select:focus {  
	padding: 3px;
	color: #000;
	background: #F1FFE3;
	border-width: 2px;
}

input.button {
	padding: 1px 10px;
	
	font: 400 1em georgia, sans-serif;
	cursor: pointer;
	
	color: #fff;
	background: #508231;
	border-width: 1px;
	border-style: solid;
	border-color: #B8E78B #2D5018 #2D5018 #B8E78B;
}

input.button:hover {
	background:#318182;
	border-color: #8be7df #18504b #18504b #8be7df;
}

.required {
	cursor: help;
	border-bottom: 1px solid #CCC;
}



/**************************************************************
   Images
 **************************************************************/

img.floatRight, canvas.floatRight {
	margin: 5px 0px 10px 15px;  
}

img.floatLeft, canvas.floatLeft {
	margin: 5px 15px 10px 0px;
}

a img, a canvas {  
	border: 4px solid #D5C9C2;
}

a:hover img, a:hover canvas {  
	border: 4px solid #BAAAA1;
}



/**************************************************************
   #menu: The top level site menu
 **************************************************************/

ul#menu {
	width: 502px;
	margin: 0 auto;  
	padding: 0 !important;
	padding: 0 0 0 10px;  
}

ul#menu li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#menu li a {
	float: left;  
	padding: 15px 0 5px 0;
	
	font: 400 1.54em georgia, serif;
	text-align: center;
	text-decoration: none;
	
	color: #61804E;
	border-bottom: 1px solid #D3F1B6;
}

ul#menu li a:visited {
	background-color: #FFF;
}

ul#menu li a:hover {
	color: #2E5F0F;
	background: url(http://www.adammascherin.com/images/menu.gif) repeat-x bottom left;
}

ul#menu li a.here {
	color: #8d5a3b;
	background: url(http://www.adammascherin.com/images/menu.gif) repeat-x bottom left;
}

/* helper classes to control width of links in topbar */
ul.two li a {
	width: 50%;
}

ul.three li a {
	width: 33%;
}

ul.four li a {
	width: 25%;
}

ul.five li a {
	width: 20%;
}


/**************************************************************
   .bigLinks: Large, clickable links
 **************************************************************/

ul.bigLinks {
	margin: 10px 0;
	padding: 0;
	list-style: none;
  
}

ul.bigLinks li {
	display: inline;
	margin: 0;
	padding: 0;
	background: none;
}

ul.bigLinks li a,
ul.bigLinks li a:visited {  
	display: block;
	
	margin: 10px 0;
	padding: 3px;
	
	text-decoration: none;
	background-color: #FFF;
	border: 0;  
}

ul.bigLinks li a:hover {
	padding-bottom: 2px;
	background-color: #F1FFE3;
	border-bottom: 1px solid #B8E78B;
}

ul.bigLinks li a span.title {
	color: #5E9040;  
	border-bottom: 1px solid #B8E78B;
}

ul.bigLinks li a:hover span.title {
	color: #3C5D29;
	border-bottom: 1px solid #4A6E35;
}

ul.bigLinks li a span.desc {
	display: block;
	color: #6D6864;
}

ul.bigLinks li a:hover span.desc {
	color: #555;
}



/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
	width: 100%;
}

.width75 {
	width: 73%;
}

.width66 {
	width: 64%;
}

.width50 {
	width: 48%;
}

.width33 {
	width: 31%;
}

.width25 {
	width: 23%;
}



/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.alignLeft {
	text-align: left;
}

.alignRight {
	text-align: right;
}



/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
	clear: both;
}

.block {
	display: block;
}

.big {
	font-size: 1.3em;  
}

.small {
	font-size: 0.85em;  
}

.xsmall {
	font-size: 0.7em;  
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.grey {
	color: #AAA;
}

.green {
	color: #82C048;
}

.darkBrown {
	color: #512103;
}


.greenBg {
	padding: 0 10px;
	background-color: #F1FFE3;
	border-bottom: 1px solid #B8E78B;
}

.greenBg:hover {
	padding: 0 10px;
	background-color: #e3faff;
	border-bottom: 1px solid #8be7dd;
}

.highlight {
	padding: 1px 2px;
	background: #e5fcd0;
	border-top: 1px solid #d1ecb7;
}

.highlight:hover {
	padding: 1px 2px;
	background: #d3f1b6;
	border-top: 1px solid #c2e1a4;
}


/*
#######################################################################
  Footer
#######################################################################
*/

.footer {
	padding-top: 3em;
	font-size: 0.85em;
	line-height: 150%;
}

/*
#######################################################################
  jQuery lightbox gallery styles
#######################################################################
*/
.gallery {
	margin: 25px 0 0 0;
	padding: 0px;
	text-align: center;
}

.gallery p, .gallery blockquote, .gallery h1, .gallery h2, .gallery h3, .gallery h4 {
	text-align: left;
}

.gallery ul {
	border: none;
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.gallery ul li {
	border: none;
	display: inline;
	padding: 0px;
	background: none;
	background-position: 0;
}

.gallery ul li:hover {
	border: none;
	background: none;
	background-position: 0;
}

.gallery ul img, .gallery ul canvas {
	border: none;
	margin: 4px;
	border: 1px solid #49463D;
	/*border-width: 5px 5px 20px;*/
	/*opacity:0.4;
	filter:alpha(opacity=40);*/ /* IE */
}

.gallery ul a {
	border: none;
}

.gallery ul a:hover {
	color: #000;
	border: 0px;
	background-color: #fff;
}

.gallery ul a:hover img, .gallery ul a:hover canvas {
	border: none;
	border: 1px solid #777364;
	/*border-width: 5px 5px 20px;*/
	color: #fff;
}


#jquery-lightbox a {
	border-bottom: none;
}




#lbBottom a {
	border-bottom: none;
}

#lbImage a {
	border-bottom: none;
}

#lbImage a:visited, .gallery a:visited {
	background-color: transparent;
}

#lbImage {
	cursor:default;
}


/*
#######################################################################
  Social Networking images
#######################################################################
*/

#social {margin-top: 20px;}
#followme {vertical-align: text-bottom; padding-right: 5px;}

#social a img, #social a:hover img, #social a {
	margin-top: 5px;
	padding-right: 2px;
	border: none;
	border-bottom: none;
	background: none;
}

ul#social {
	margin: 0;
	padding: 0;
}

ul#social li {
	padding: 0;
	display: inline;
	background: none;
	background-position: 0;
	color: #6D6864;
}


/*
#######################################################################
  Skills list
#######################################################################
*/

ul.skills {
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	cursor: default;
}

ul.skills li {
	padding: 0;
	display: inline;
	background: none;
	background-position: 0;
	color: #6D6864;
}

ul.skills li:hover {
	padding: 0;
	display: inline;
	background: none;
	background-position: 0;
	color: #999999;
}

ul.skills li.lh {
	font-weight: bold;
	padding: 0 15px 0 0;
}

/*
#######################################################################
  Email no-javascript text
#######################################################################
*/

#em, #error {
	color: #6D6864;
}

#em:hover, #error:hover {
	color: #999999;
}

#error {
	margin: 0 60px;
}

div#download ul {
	margin: 0;
	padding: 10px 0;
	cursor: default;
}

div#download ul li {
	padding: 0;
	background: none;
	background-position: 0;
}

div#download ul li:hover {
	padding: 0;
	background: none;
	background-position: 0;
	color: #999999;
}
