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

html, body{
		text-align: center;
}

p {
		text-align: left;
		font-size: 13px;
		padding-left:5px;
}

body {	color:#FFF;
		background-color: #474d54;
    background-image:url(../images/bg.gif);
    background-position:center top;
    background-repeat:no-repeat;
		font-family: Tahoma,Arial,Helvetica,sans-serif;
}

h1{
		background:transparent url(../images/head_line.gif) repeat-x scroll center bottom;
		font-size: 22px;
		padding-bottom: 10px;
}

h2{
		background:transparent url(../images/head_line.gif) repeat-x scroll center bottom;
		font-size: 20px;
}

h3{
		font-size: 18px;
}

h4{
		font-size: 16px;
}

h5{
		font-size: 14px;
}


h2,h3,h4,h5{
		padding-bottom: 5px;
}

.hr { 
		display: block;
		width: 524px;
		height: 7px;
		text-align: center;
		background: url(../images/hr.gif) no-repeat center; 
		margin: 0 auto;
		padding-top: 5px;
		padding-bottom: 5px;
}


.wrapper{
		margin: 0 auto;
		width: 960px;
		min-height: 660px;
		background: #2b313a;
}

.header{
		background: url(../images/header.gif) no-repeat;
		height: 155px;
		border-bottom: 1px solid #000000;
}

.footer{
		padding-bottom: 5px;
}

.footer_bg{
  background: transparent url(../images/footer.gif) no-repeat scroll bottom center;
  min-height: 115px;
  bottom: 0;
}

.main{
		width: 660px;
		float: left;
		text-align: left;
		padding: 20px 20px 20px 30px;
		min-height: 600px;
}


.rightcol{
		background: transparent url(../images/rightbg.gif) no-repeat scroll top left;
		padding: 20px 5px 20px 5px;
		float:left;
		width:200px;
		text-align: center;
		min-height: 600px;
}

.footer{
}

#leftback{
    min-height: 700px;
    min-width: 300px;
    float: left;
    background: transparent url(../images/leftside.gif) no-repeat scroll left top;
}

/* Classes */

.wrapper_bg{
		background:transparent url(../images/topbg.gif) repeat-x scroll center top;
}

.wrapper_main{
    background: transparent url(../images/leftside.gif) no-repeat scroll 100px 170px;
}

ul{ 
  padding-bottom: 5px;
  padding-left: 20px;
  font-size: 13px;
}

li{
  list-style-type: square;
}
a:link {
  border: none;
  text-decoration: none;
  color: #3f5a83;
  font-weight: bold;
}
  
a:hover{
  border: none;
  text-decoration: none;
  color: #FFFFFF;
}
  
a:visited{
  border: none;
  text-decoration: none;
  color: #999999;
  font-weight: bold;
}

a:visited:hover{
  border: none;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
}
  
.nav{
		text-align: center;
		margin: 0 auto;
		width: 100%;
		margin-top: -35px;

}
#nav {
	width: 900px;
	height: 20px;
	clear: both;
	margin-right: auto;
	margin-left: auto;
	margin-top: -40px;
	padding-top: 15px;
	position: relative;
	overflow: visible;
}

#nav ul {
	margin-left: 25px;
	float: left;
	display: inline;
}

#nav li {
	height: 20px;
	overflow: hidden;
	float: left;
}

#nav li a {
	line-height: 19px;
	text-indent: -500px;
	overflow: hidden;
	display: block;
	background-position: center top;
}

#nav li a:hover {
	line-height: 20px;
	background-position: center -25px;
	display: block;
	overflow: hidden;
}

#nav li a.current, #nav li a.current:hover {
	background-position: center -25px;
}

#nav_home {
	background-image: url(../images/home_nav.png);
	background-repeat: no-repeat;
	width: 126px;
}

#nav_about {
	background-image: url(../images/about_nav.png);
	background-repeat: no-repeat;
	width: 147px;
}
#nav_portfolio {
	background-image: url(../images/portfolio_nav.png);
	background-repeat: no-repeat;
	width: 221px;
}
#nav_contact {
	background-image: url(../images/contact_nav.png);
	background-repeat: no-repeat;
	width: 179px;
}
#nav_resume {
	background-image: url(../images/resume_nav.png);
	background-repeat: no-repeat;
	width: 165px;
}
#bodytext{
		width: 950px;
		float: left;
		text-align: left;
		padding: 20px 5px 20px 5px;
		min-height: 600px;
}
#bodytext p {

   text-align : justify;
   padding-left:20px;
   padding-right:20px;

}

#box {
  float : left;
	width : 220px;
	height: 230px;
	margin-left: 13px;
	margin-top: 10px;
	padding-top: 10px;
	background-color: #474d54;
	position: inherit;
	left: auto;
	top: 55px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000000;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #000000;

}

#box a:link {
  border: none;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
  }
  
#box a:hover{
  border: none;
  text-decoration: none;
  color: #000000;
  }
  
#box a:visited{
  border: none;
  text-decoration: none;
  color: #999999;
  font-weight: bold;
  }
#box a:visited:hover{
  border: none;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  }
  
#form input{ 
	font-size:14px; 
	border:1px solid black; 
}

#form input:focus{ 
	background-color: #939393; 
	border:1px solid #FFF;
}
#form .submit {  
	font-size:16px; 
	border: 1px solid #000;
	width: 60px;
	height: 30px;
}
#form .submit:focus { 
	background-color: #eee; 
	border:1px solid #FFF;
}

#form textarea {
	border:1px solid #FFF;
	overflow:auto;
}
#form textarea:focus { 
	background-color: #939393; 
	border:1px solid #FFF;
}
#form select{ 

}
#form select:focus {
	background-color: #939393;
	border: 1px solid #FFF;
}
  
.boxthumb{
  border: none;
  margin:10px 10px 0px 10px;
  vertical-align:text-bottom;
}

.boxdesc{
	font-size : 11px;
	width: 208px;
	position: relative;
	z-index: 999;
	margin-top: -120px;
	color: #FFFFFF;
	background-color: #000000;
	border: 1px solid #FFFFFF;
	padding: 5px;
}  

.label{
  height:30px;
}

/* Other */
.clear{
		clear:both;
		font-size:0;
		height:0;
		line-height:0;
}
