/* Setup some defaults */
* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

html, body { }
body { background: url("../images/bg_alt.gif"); }
img { border: none; display: block; }

body, input {
    font-family: Helvetica, sans-serif;
	font-size: 15px;
}

.clearfix {
	clear: both;
}

/* Main elements */

#main-logo {
	width: 100%;
}

#page-wrap {
	position: relative;
	background-color: #FFFFFF;
    margin: auto;
	margin-bottom: 10px;
    max-width: 910px;
	min-width: 410px;
	border: 0px solid #000;
		box-shadow: 0px -10px 40px rgba(0, 0, 0, 0.30) inset;
		border-radius: 0px 0px 12px 12px;
		padding: 25px 25px 0 25px;
		min-height: 160px;
}

#header {
	margin: 0.6em 0.8em 0.8em 0.4em;
	overflow: hidden;
}
a.headerLink {
	float: left;
	color: #000;
	text-decoration: none;
	font-weight: bold;
}
a.headerLink img {
	padding-top: 5px;
	transition: 0.6s infinite;
	-moz-transition: 0.6s;
	-webkit-transition: 0.6s;
}
a.headerLink:hover img {
	transform: rotate(-1deg) scale(1.02);
	-moz-transform: rotate(-1deg) scale(1.02);
	-webkit-transform: rotate(-1deg) scale(1.02);
}
#header-desc {
	float: right;
	padding-top: 28px;
	color: #BBB;
}



/* MAIN NAV */

nav {
	position: relative;
    background-color: #505050;
	background: -moz-linear-gradient(top, #6a6a6a 0%, #505050 49%, #3e3e3e 51%, #555555 100%) repeat scroll 0 0 transparent;
	background: -webkit-linear-gradient(top, #6a6a6a 0%, #505050 49%, #3e3e3e 51%, #555555 100%) repeat scroll 0 0 transparent;
	background: linear-gradient(top, #6a6a6a 0%, #505050 49%, #3e3e3e 51%, #555555 100%) repeat scroll 0 0 transparent;
    border-radius: 4px 4px 4px 4px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    color: #FFF;
    display: block;
    overflow: hidden;
	clear: both;
}
nav li {
	float: left;
    list-style: none;
}

nav .navbar .active a {
    color: #50B0FF;
	font-weight: bold;
}
nav .inactive a:hover {
	text-decoration:line-through;
}
nav .navbar a {
    color: #FFF;
    display: block;
    font-weight: normal;
    padding: 7px 11px;
    text-decoration: none;
}
nav .navbar a:hover {
	text-decoration: none;
	background: #404040;
	box-shadow: 0 0 5px #000 inset;
}

/* PAGE CONTENTS */

#contents {
	position: relative;
	margin: 0.8em;
	overflow: hidden;
}
#contents ul {
	list-style-type: square;
	padding-left: 20px;
}

.resume {
	position: relative;
	float: right;
	right: 5px;
	top: 0px;
}

.resume li {
	position: relative;
	float: left;
	list-style: none;
	padding: 0 2px;
}
li.resume-text {
	padding: 8px 5px;
	font-style: italic;
	font-size: 12px;
}
.resume a {
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.resume a:hover {
	top: 1px;
}
.format-pdf { background: url("../images/format_pdf.png") no-repeat; }
.format-docx { background: url("../images/format_docx.png") no-repeat; }
.format-html{ background: url("../images/format_html.png") no-repeat; }
.format-linkedin { background: url("../images/linkedin.png") no-repeat; margin: 3px 0 0 2px; }


.mainList {
	padding-bottom: 10px;
}

hr {
	color: #000;
	height: 1px;
	margin-bottom: 5px;
}

h2{
	padding-top: 18px;
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: bold;
}
h3 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}
p {
	padding-left: 10px;
	padding-bottom: 15px;
}
p a {
	color: #178dee;
	text-decoration: none;
}
p a:hover {
	text-decoration: underline;
}

.p1 { font-weight: bold; color: #356a8e; }
.p2 { font-weight: bold; color: #358e7c; }
.p3 { font-weight: bold; color: #be7535; }

ul.skill-list li { padding-bottom: 5px; }



/* RECENT BLOCK */

.recent-block {
	float: left;
	position: relative;
	margin: 0 20px 10px 0;
	min-width: 200px;
}
.recent-block-first {
	margin-left: 0;
}
.recent-img {
	padding-bottom: 4px;
	border-bottom: 2px solid #fff;
	
	transition: 1.0s;
	-moz-transition: 1.0s;
	-webkit-transition: 1.0s;
}
.recent-img:hover {
	border-bottom: 2px solid #178dee;
}
.recent-img img {
	border: 1px solid silver;
}
.recent-linkto {
	color: #178dee;
	text-decoration: none;
}
.recent-linkto:hover{
	text-decoration: underline;
}



/* Projects Page */
.project-tooltip {
	padding-top: 5px;
	text-align: right;
	font-size: 10px;
}

.project-header {
	position: relative;
	float: left;
	font-size: 18px;
	font-weight: bold;
	padding-bottom: 10px;
	padding-top: 18px;
}
.project-archive {
	position: relative;
	float: right;
	font-size: 18px;
	padding-bottom: 10px;
	padding-top: 18px;
}
.project-archive a {
	color: #178dee;
	text-decoration: none;
}
.project-archive:hover {
	color: #178dee;
	text-decoration: underline;
}

.project-container {
	position: relative;
	margin-bottom: 10px;
	padding: 10px 10px;
	
	border-radius: 5px 5px 5px 50px;
	
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
}
.project-container:hover {
	background: #f2f2f2;
}
.project-info {
	float: left;
	max-width: 320px;
	margin-right: 30px;
}
.project-info ul {
	font-size: 14px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 20px;
}
.project-info p {
	padding: 0 0 15px 20px;
}
.project {
	float: left;
	position: relative;
	max-width: 466px;
	min-width: 100px;
}

.project-inner {
	position: relative;
	/*height: 350px;*/
	padding: 8px;
	background: #ddd url("../images/texture_bg.jpg") repeat;
}

.project-inner-mobile{
	position: relative;
	width: 466px;
	height: 350px;
	overflow: hidden;
	padding: 0;
	background: #000 url("../images/iphone_bg.jpg") top center no-repeat;
}

.project-scroll {
	max-width: 100%;
	max-height: 350px;
	/*height: 100%;*/
	overflow: hidden;
}
.project-container img {
	max-width: 100%;
	height: auto;
}

.project-inner-mobile .project-scroll {
	position: absolute;
	left: 80px;
	top: 118px;
	width: 320px;
	height: 232px;
}


/* FOOTER */

footer {
	position: relative;
    border-top: 1px solid #000000;
    display: block;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 35px;
    padding: 8px;
}
footer a {
	color: #000;
	text-decoration: none;
}
footer a:hover {
	color: #178dee;
	text-decoration: underline;
}
footer li {
	float: left;
	list-style: none;
	padding-right: 18px;
	padding-left: 24px;
	line-height: 24px;
	margin-bottom: 5px;
}
footer li.last {
	padding-right: 0px;
}
li.email {
	background: url("../images/icon_email.png") no-repeat left center;
}
li.email img {
	margin-top: 5px;
}
li.phone {
	background: url("../images/icon_phone.png") no-repeat left 40%;
}
li.world {
	background: url("../images/icon_world.png") no-repeat left center;
	margin-bottom: 15px;
}
li.fb-footer {
	display: block;
	width: 320px;
	height: 50px;
	padding: 0;
}
