body, html{	height: 100%; }

body{ background-color: #474848; margin-top:0px;
}

body#home .wrapper{ margin: 0 auto; width: 850px; border: 5px solid #ffffff; border-top: 0; background: #474848 url(../images/BG_homepage.jpg) center top no-repeat; 
}
body#viki .wrapper { margin: 0 auto; width: 850px; border: 5px solid #ffffff; border-top: 0; background: #686969 url(../images/BG_viki.jpg) bottom left no-repeat;  
}
body#contact .wrapper { margin: 0 auto; width: 850px; border: 5px solid #ffffff; border-top: 0; background: #686969 url(../images/BG_contact.jpg) bottom left no-repeat;  
}
body#resume .wrapper { margin: 0 auto; width: 850px; border: 5px solid #ffffff; border-top: 0; background: #686969 url(../images/BG_resume.jpg) bottom left no-repeat;  
}

body#demo .wrapper { margin: 0 auto; width: 850px; border: 5px solid #ffffff; border-top: 0; background: #686969 url(../images/BG_demo.jpg) bottom left no-repeat;  
}

#content
{margin: 30px 50px 50px 40px; font-family:'Trebuchet MS',Times, Georgia, Arial; color:#474848; font-size: 13px; }

body#viki #content, body#resume #content
{margin: 30px 225px 50px 40px; font-family:'Trebuchet MS',Times, Georgia, Arial; color:#474848; font-size: 13px; }

body#demo #contentBG {background: transparent url(../images/contentBG.gif) top left no-repeat; margin-left: 13px; padding-top: 1px; padding-right: 0px; margin-top:20px;}

#homepage { padding: 70px;
}
#subpage{ padding: 50px 0 50px 50px;
}

#contentBG {background: transparent url(../images/contentBG.gif) top left no-repeat; margin-left: 13px; padding-top: 1px; padding-right: 40px; margin-top:20px;}

#nav {
float:none;
font-family:'Trajan Pro',Times, Georgia, Arial;
font-size:13px;
list-style-type:none;
margin:0;
padding:10px 0 0 0;
width:750px;
font-weight: bold;
display: block;
}
#nav ul {
margin:0;
padding:0;
display: block;
}
#nav li {
display: inline;
list-style-type:none;
margin:0;
padding:0;
}
#nav a {
color:#FFFFFF;
line-height:26px;
padding:5px 6px;
text-align:center;
text-decoration:none;
text-transform: uppercase;
}
#nav a:hover {
color:#8ab5f4;
text-decoration:none;
}

body#home #nav_home a, body#viki #nav_viki a, body#resume #nav_resume a, body#demo #nav_demo a, body#contact #nav_contact a {
color:#8ab5f4;
text-decoration:none;
}

#nav_home a{ padding-left:0;
}

#homepage p { font-family:'Trebuchet MS',Times, Georgia, Arial; color:#474848; font-size: 14px; margin-top: 75px; padding: 25px 30px 30px; margin-right:360px;
background: transparent url(../images/BG_welcome.gif) left top no-repeat; line-height: 16px;}

div.quote { font-family:'Trebuchet MS',Times, Georgia, Arial; color:#474848; font-size: 14px; padding: 25px 30px 40px; background: transparent url(../images/BG_quote2.gif) left top no-repeat; line-height: 16px; float: right; width: 140px; margin-top: 35px;}

div.quote strong {color: #333333; font-size: 11px; }

#resume div.right {float: right; margin-top: 35px;}

#resume div.comment { font-family:'Trebuchet MS',Times, Georgia, Arial; color:#474848; font-size: 14px; padding: 25px 30px 40px; background: transparent url(../images/BG_quote.gif) left top no-repeat; line-height: 16px; width: 140px; }

#resume div.comment strong {color: #333333; font-size: 11px; }

#resume div.button { padding: 13px 0 20px; background: transparent url(../images/btn_side.gif) left top no-repeat; line-height: 16px; width: 200px; text-align: center;  }

#resume div.button a {font-family:'Trebuchet MS',Times, Georgia, Arial; color: #FFFFFF; font-size: 13px; text-decoration: none;}

#resume div.button a:hover {color: #CCCCCC;}

#demo div.button { padding: 13px 0 20px; background: transparent url(../images/btn_side.gif) left top no-repeat; line-height: 16px; width: 200px; text-align: center;  float: right;}

#demo div.button a {font-family:'Trebuchet MS',Times, Georgia, Arial; color: #FFFFFF; font-size: 13px; text-decoration: none;}

#demo div.button a:hover {color: #CCCCCC;}


#homepage p strong {color: #333333; font-size: 11px; }

#content h2 { color:#002157;font-size:17px; margin-top:8px; margin-bottom:0px;
}
#resume td h3 {
	color:#002157;
	font-size:15px;
	margin-top:5px;
	margin-bottom:0px;
	padding-bottom:0px;
}

#demo td h3 {
	color:#002157;
	font-size:15px;
	margin-top:10px;
	margin-bottom:0px;
	padding-bottom:0px;
}

#resume { font-family:'Trebuchet MS',Times, Georgia, Arial; color:#474848; font-size:11px; margin-left:45px;
}

#content h3 {
	font-family:'Trebuchet MS',Times, Georgia, Arial;
	color:#002157;
	font-size:17px;
	margin:0px;
}
#footer { font-family: 'Arial'; text-align: right; color:#999999; font-size:11px; width: 860px; margin: 5px auto;
}

#footer a {color: #999999;}

body#resume td {vertical-align: top; text-align: left; border-bottom: 1px #999999 solid;}


a {color: #002157;}

#content p {margin: 10px 0;}
