@charset "UTF-8";
/* CSS Document */


body {
background-color: #ad2c3e;
margin-left:0px;
margin-top: 100px;
text-align: center;
}

#wrapper {
width: 1020px;
margin: 0 auto;
text-align: left;
}

#header {
position:fixed;
width: 1020px;
height: 123px;
z-index: 2;
top: 100px;
}

#about {
width: 940px;
margin-left: 40px;
margin-top: 250px;
}


#portfolio {
margin-top: 210px;
margin-left: 40px;
width: 990px;
height: 1460px;
}

#contact {
clear: right;
margin-top: 208px;
margin-left: 40px;
width: 300px;
height:500px;
}

#links {
clear: right;
margin-top: 208px;
margin-left: 40px;
width: 300px;
}

#home {
position:absolute;
top: 0px;
left: 0px;
}

#blank {
width: 940px;
height:800px;
}

.work {
margin-right: 20px;
margin-bottom: 10px;
border: solid 2px #8b212d;
}

h1 {
font-size: 1.8em;
}

h2 {
font-size: 1em;
font-weight: bold;
line-height: 22px;
}

h3 {
font-size: 1em;
font-weight: bold;
}

.trans {
	filter:alpha(opacity=95);
	-moz-opacity:0.95;
	-khtml-opacity: 0.95;
	opacity: 0.95;
}

A:link {
color: #e43b26;
text-decoration: none;
}
A:visited {
text-decoration: none;
}
A:active {
text-decoration: none;
}
A:hover {
text-decoration: none;
color: black;
}

img { 
border: none; 
}


.zitem {
	width:220px;
	height:180px;	
	border:2px solid #8b212d;
	margin:0px 20px 10px 0;
	
	/* required to hide the image after resized */
	overflow:hidden;
	
	/* for child absolute position */
	position:relative;
	
	/* display div in line */
	float:left;
}

.zitem:hover {
	width:220px;
	height:180px;	
	border:2px solid #8b212d;
	margin:0px 20px 10px 0;
	
	/* required to hide the image after resized */
	overflow:hidden;
	
	/* for child absolute position */
	position:relative;
	
	/* display div in line */
	float:left;
}

.zitem .caption {
	width: 220px;
	height: 40px;
	background:#000;
	color: #ffffff;
	
	
		
	/* fix it at the bottom */
	position:absolute;
	bottom:-1px; /* fix IE issue */
	left:0;

	/* hide it by default */
	display:none;

	/* opacity setting */
	filter:alpha(opacity=70);    /* ie  */
	-moz-opacity:0.7;    /* old mozilla browser like netscape  */
	-khtml-opacity: 0.7;    /* for really really old safari */  
	opacity: 0.7;    /* css standard, currently it works in most modern browsers like firefox,  */

}

.zitem .caption a {
	text-decoration:none;
	color:#ffffff;
	/* add spacing and make the whole row clickable*/
	padding:5px;
	display:block;
}

.zitem img {
	border:0;
	
	/* allow javascript moves the img position*/
	position:absolute;
}


.clear {
	clear:both;	
}
