
* {
	margin: 0;
	padding: 0;
}

html {
overflow: -moz-scrollbars-vertical;
overflow-y: scroll; 
      }

table {
	border-collapse: collapse;
}

img {
	border: 0;
}

ul {
	margin-left: 20px;
}

hr {
	margin: 20px 0;
	height: 1px;
	border: 0;
	background-color: #999;
}

body, table, input, button, textarea, select, a {
	font-family: arial, sans-serif;
	font-size: 12px;
}

body, a {
	color: #848484;
}

body {
	padding: 10px 0 20px 0;
	/* padding: 30px 0 20px 0; */
}

h1 {
	margin: 0 0 10px 0;
	font-size: 24px;
	font-weight: bold;
	color: #595959;
}

h2 {
	margin: 5px 0 10px 0;
	font-size: 18px;
	font-weight: normal;
}

h3 {
	font-size: 12px;
}

#frontpage {
	position: relative;
	width: 605px;
	height: 605px;
	margin: 0 auto;
}

	#frontpage a {
		text-decoration: none;
	}

	#frontpage #bg {
		display: none;
		height: 605px;
		background: url('../images/frontpage_bg.jpg') no-repeat;
	}

	#frontpage #text {
		position: absolute;
		top: 360px;
		left: 530px;
		width: 183px;
		padding-top: 10px;
		border: 1px solid #DADADA;
		border-width: 1px 0;
		
		/* top: 440px;
		   left: 640px;
		*/
	}
	
	#frontpage #text h1 {
		margin: 0;
		padding: 0 3px;
		font-size: 26px;
		font-weight: bold;
		color: #000;
	}
	
	#frontpage #text h2 {
		margin: 0 0 10px 0;
		padding: 0 3px;
		font-size: 26px;
		font-weight: bold;
		color: #B7B8B8;
	}
	
	#frontpage #text div {
		display: block;
		padding: 5px 3px;
		border-top: 1px solid #DADADA;
		font-size: 14px;
		color: #B7B8B8;
	}
	
	#frontpage #text div:hover {
		color: #848585;
	}

#container {
	width: 998px;
	height: 500px;
	margin: 0 auto;
}

#top {
	border-bottom: 1px solid #DADADA;
	height: 120px;
}

#menu {
	float: left;
	padding-top: 95px;
}

	#menu a {
		margin-right: 25px;
		text-decoration: none;
		font-size: 14px;
		font-weight: bold;
		color: #888;		
	}
	
	#menu a:hover, #menu a.current {
		color: #B7B8B8;
	}

#logo {
	display: block;
	float: right;
}


#content {
	padding: 30px 0;
	border-bottom: 1px solid #DADADA;
}

#portfolio img {
	padding: 0 5px 35px 0;
}

#show_image {
	width: 700px;
	margin: 0 auto;
}

	#show_image img {
		display: block;
		margin: 0 auto 30px;
	}
	
		#show_image a {
			text-decoration: none;
			color: #5555DD;
		}
		
			#show_image a img {
				display: inline;
				margin: 0;
			}
		
		#show_image a:hover {
			text-decoration: underline;
		}

		#show_image .left {
			display: block;
			float: left;
			width: 18px;
			height: 18px;
			background: url('/images/arrow_left.jpg') no-repeat top left;
		}
		
			#show_image .left:hover {
				background-image: url('/images/arrow_left_hover.jpg');
			}
	
		#show_image .right {
			display: block;
			float: right;
			width: 18px;
			height: 18px;
			background: url('/images/arrow_right.jpg') no-repeat top left;
		}
		
			#show_image .right:hover {
				background-image: url('/images/arrow_right_hover.jpg');
			}

.clear {
	display: block;
	clear: both;
}

* html .png {
	behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.style.backgroundImage.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
        this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.style.backgroundImage + "', sizingMethod='image')",
        this.style.backgroundImage = "../images/transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
        this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
        this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)
    );
}

* html img {
	height: auto;
	width: auto;
    position:relative;
    behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
        this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
        this.src = "images/transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
        this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
        this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)
    );
}

