/*******************
----GENERAL---------
*******************/

*{
	margin:0;
	padding:0;
}

img{
	border:0;
}

:link,:visited{
	text-decoration:none
}

body{
	background-color: #fff;
	font-family: "Times New Roman", Times, serif;
}

/*******************
----HTML5----------
*******************/

section, header, footer, aside, article, nav{
	display: block;
}

/*******************
------FONTS---------
*******************/

h1,h2,h3,h4{
	font-family: "Times New Roman", Times, serif;
}

header h1, header small{
	display:block;
	text-indent:-9999px;
	float: left;
}

h2{
	padding-top: 80px;
	font-size: 30px;
	line-height: 34px;
	color: #404040;
	font-weight: bold;
}

h3{
	font-size: 16px;
	line-height: 20px;
	font-style: italic;
	font-weight: bold;
	color: #404040;
}

h4{
	text-align: center;
	color: #ae0000;
	font-weight: bold;
	font-size: 22px;
	margin-top: 30px;
}

span.redfont{
	color: #ae0000;
}

span.bold20{
	font-size: 20px;
	font-weight: bold;
}

/*******************
----HEADER----------
*******************/

#headerwrapper{
	background-color: #fff;
}

header{
	background-image: url(../images/logo.png);
	background-repeat: no-repeat;
	width: 940px;
	margin: 50px auto 60px;
}

header .rightfloat{
	float:right;
}

/*******************
----PORTFOLIO-------
*******************/

#portfoliowrapper{
	background-image: url(../images/bg_darkpat.png);
	background-repeat: repeat;
}

section#portfolio{
	background-image: url(../images/bg_portfolio.png);
	background-repeat: no-repeat;
	width: 940px;
	margin: 0 auto;
	padding: 100px 0 45px;
}

#portlist{
	width: 880px;
	margin: 0 auto;
}

section#portfolio ul{

}

section#portfolio li{
	display: inline;
}

section#portfolio li.marginitem{
	margin-left: 100px;
}

section#portfolio ul a img{
	border: 1px solid #fff;
	padding: 9px;
}

section#portfolio ul a:hover img{
	border: 1px solid #ae0000;
}

#portlist a:active, a:focus, input {
    outline: 0;
    outline-style:none;
    outline-width:0;
}

/*******************
------ABOUTME-------
*******************/

#aboutmewrapper{
	background-color: #fff;
}

section#aboutme{
	background-image: url(../images/bg_aboutme.png);
	background-repeat: no-repeat;
	width: 940px;
	margin: 0 auto;
	padding: 100px 0 45px;
	font-family: "Times New Roman", Times, Serif;
	font-size: 18px;
	color: #404040;
}

section#aboutme p{
	margin-bottom: 27px;
}

/*******************
----CONTACT---------
*******************/

#contactwrapper{
	background-image: url(../images/bg_darkpat.png);
	background-repeat: repeat;
}

section#contact{
	background-image: url(../images/bg_contact.png);
	background-repeat: no-repeat;
	width: 940px;
	margin: 0 auto;
	padding: 100px 0 45px;
	color: #fff;
	font-size: 18px;
}

section#contact ul{
	margin-top: 45px;
}

section#contact a{
	color: #fff;
	text-decoration: underline;
}
