/**** GENERIC ****/

html {
	overflow: -moz-scrollbars-vertical;
	}

body {
	position: relative;
	padding: 0;
	margin: 0;
	background: #eee no-repeat bottom center;
	}

#wrapper {
	margin: 0 auto;
	width: 980px;
	background: transparent url(g/wrapper-background.png) no-repeat top left;
	}

/**** IE6 PNG TRANSPARENCY FIX ****/

img, div { behavior: url(iepngfix.htc) }

/**** HEADER ****/

#header {
	margin: 0 auto;
	width: 900px;
	height: 340px;
	padding: 0 20px 0 20px;
	background: transparent url(g/header-image.gif) no-repeat top left;
	}

	#header h1 {
		margin: 0;
		padding: 0;
		position: relative;
		left: -99999px;
		}

/**** CUSTOM FONTS ****/

@font-face {
	font-family: 'Tertre';
	src: url('fonts/tertre-xbol.eot');
	src: local('Tertre Extra Bold'), local('Tertre-ExtraBold'), url('fonts/tertre-xbol.ttf') format('truetype'), url('fonts/tertre-xbol.svg#Tertre-ExtraBold') format('svg');
	}
 
/**** CONTAINER ****/
 
#container {
	margin: 0 auto;
	width: 900px;
	overflow: hidden;
	padding: 20px 20px 0 20px;
	background: #ece9e2 url(g/main-bg.jpg);
	/*background: #fff url(g/zone_top_shadow.png) no-repeat top center;*/
	font: normal 13px/19px arial, helvetica, sans-serif;
	color: #555;
	}

	/**** CONTENT ****/

	#content {
		width: 900px;
		padding: 10px 0 20px 0;
		overflow: hidden;
		}

		p.infobox {
			padding: 10px;
			background: #fff0f0;
			border: 1px #ddc0c0 dotted;
			margin-bottom: 30px;
			}
	
		b.invisible { color: #fff; }
	
		h2.section {
			font: bold 28px tertre, arial;
			color: #ee9900;
			color: #8c815d;
			12letter-spacing: -1px;
			margin: 0 0 20px 0;
			padding: 0;
			text-shadow: #fff 0 1px 0;
			}

		#content a,
		#content a:hover,
		#content a:visited,
		#content a:active {
			text-decoration: none;
			color: #000;
			border-bottom: 1px #888 dotted;
			}

		#content a:hover {
			color: #ee9900;
			border-bottom: 1px #ee9900 solid;
			}
			
		#content p {
			font: normal 14px/19px arial, helvetica, sans-serif;
			color: #555;
			text-shadow: #fff 0 1px 0;
			}

		#about, #follow {
			min-height: 200px;
			position: relative;
			}

		#about {
			float: left;
			width: 520px;
			padding-right: 20px;
			}

		#follow {
			width: 340px;
			float: right;
			font: normal 13px/19px arial, helvetica, sans-serif;
			color: #555;
			}

			#follow a,
			#follow a:hover,
			#follow a:visited,
			#follow a:active {
				text-decoration: none;
				color: #000;
				font-weight: bold;
				border-bottom: 1px #888 dotted;
				}
	
			#follow a:hover {
				color: #ee9900;
				border-bottom: 1px #ee9900 solid;
				}
				
			#follow div.left {
				width: 200px;
				padding: 0 20px 0 0;
				border-right: 1px #aaa dotted;
				float: left;
				}

			#follow div.right {
				width: 200px;
				padding: 0 0 0 20px;
				float: right;
				}
				
	/**** PORTFOLIO ****/

	#portfolio {
		height: 300px;
		overflow: hidden;
		margin: 0 0 20px 0;
		//height: auto;
		}

		#p-container { overflow: hidden; }

		.portfolio-item {
			width: 280px;
			height: 280px;
			margin: 5px;
			display: block;
			float: left;
			overflow: hidden;
			border: 5px #ddd solid;
			}

		.portfolio-item:hover { border: 5px #ee9900 solid; }

			.boxgrid {
				width: 280px;
				height: 280px;
				float:left;
				overflow: hidden;
				position: relative;
				}

			.boxgrid img {
				position: absolute;
				top: 0;
				left: 0;
				border: 0;
				width: 300px;
				height: 300px;
				opacity: 0.50;
				-moz-opacity: 0.50;
				filter: alpha(opacity=50);
				-ms-filter: "alpha(opacity=50)";
				}

/*				.boxgrid:hover img {
					opacity: 1;
					-moz-opacity: 1;
					filter: alpha(opacity=100);
					-ms-filter: "alpha(opacity=100)";
					} */

			span.ribbon-new,
			span.ribbon-wip {
				display: block;
				float: right;
				margin: 0;
				padding: 0;
				position: relative;
				width: 150px;
				height: 150px;
				background: transparent url(g/ribbon_new.png) no-repeat top left;
				margin-bottom: -150px;
				z-index: 99;
				}

			span.ribbon-wip { background: transparent url(g/ribbon_wip.png) no-repeat top left; }
				
			.boxcaption {
				float: left;
				position: absolute;
				top: 300px;
				background: #777;
				height: 100px;
				width: 100%;
				//opacity: 0.95;
				//-moz-opacity: 0.95;
				//filter: alpha(opacity=95);
				//-ms-filter: "alpha(opacity=95)";
				padding: 8px;
				}

			.captionfull .boxcaption {
				position: relative;
				top: 260;
				left: 0;
				}

				div.portfolio-item a {
					display: block;
					position: relative;
					width: 70px;
					height: 30px;
					background: transparent url(g/viewbutton.png) no-repeat top left;
					float: right;
					margin-top: -6px;
					margin-right: -10px;
					text-align: right;
					text-decoration: none;
					//margin-top: -30px;
					//margin-right: 0px;
					}

					div.portfolio-item a:hover { background: transparent url(g/viewbutton.png) no-repeat bottom left; }

				div.portfolio-item h3 {
					display: block;
					position: relative;
					top: -8px;
					left: -8px;
					background: #777;
					background: #ee9900;
					font: bold 15px arial,rockwell;
					text-transform: uppercase;
					color: #fff;
					padding: 6px 8px 6px 8px;
					margin: 0;
					}

				div.portfolio-item h4 {
					position: relative;
					font: bold 12px verdana,arial,sans-serif;
					color: #fff;
					padding: 0 0 4px 0;
					margin: 0;
					}

				div.portfolio-item p {
					font: normal 11px verdana;
					color: #ddd;
					padding: 0 15px 4px 0;
					margin: 0;
					}

		span.showmore {
			font: normal 13px arial;
			color: #555;
			cursor: pointer;
			letter-spacing: 0;
			position: relative;
			top: -3px;
			padding-left: 15px;
			text-shadow: #fff 0 1px 0;
			//display: none;
			}

		span.showmore:hover {
			color: #ee9900;
			}

	/**** footer ****/

	#footer {
		width: 940px;
		position: relative;
		left: -20px;
		padding: 20px 0 20px 0;
		text-align: center;
		font: normal 13px/19px arial, helvetica, sans-serif;
		color: #ddd;
		background: #625e51 url(g/zone_top_shadow_dk.png) no-repeat top center;
		}

		#footer a,
		#footer a:hover,
		#footer a:visited,
		#footer a:active {
			text-decoration: none;
			color: #ddd;
			font-weight: bold;
			border-bottom: 1px #888 dotted;
			}
	
		#footer a:hover {
			color: #fff;
			border-bottom: 1px #fff solid;
			}

/**** COLORS ****/

.teal { color: #4f9ce0; }
.red { color: #be2651; }
