/*green: #68D035
blue: #5ACBF2
yellow: #F9B732
purple: #C17AF4
light green: #A4E386
lighter green: #D5FAC3*/

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	border-top: 10px solid #68D035;
	font-family: Helvetica, sans-serif;
}

img {
	border-style:none;
}

#main-wrapper {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	position: relative;
	padding: 0 10px;
	color: #3f4245;
	-webkit-overflow-scrolling: touch;
}

a {
	text-decoration: none;
	color: #68D035;
}



/* SIDEBAR CONTAINER STYLES */

#sidebar-container {
	width: 275px;
	float: left;
	padding: 1em;
	text-align: center;
	display: inline;
}

#profile-photo {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 5px solid #68D035;
	overflow: hidden;
	margin: 0 auto;
	margin-bottom: 1em;
}

#profile-photo img {
	width: 100%;
}

#profile-text-container {
	width: 100%;
}

#profile-name {
	font-size: 2em;
	font-weight: 100;
}

#profile-description {
	font-weight: 100;
	color: #4D4D4D;
	margin-top: 1em;
	line-height: 1.3em;
}

#profile-print-contact {
	display: none;
}

#navigation-container {

}

.nav-block {
	background: #A4E386;
	text-align: left;
	padding: 0.5em 1em;
	margin: 1em 0;
	display: inline-block;
}

a .nav-block {
	color: #4D4D4D;
}

.nav-block.active,
a .nav-block:hover {
	color: black;
	background: #68D035;
}

#social-container {
	margin: 1em 0 2em 0;
}

.social-button {
	display: inline-block;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	border: 3px solid #68D035;
	padding: 5px;
	position: relative;
	color: #999;
}

.social-button:hover {
	color: #68D035;
}

.social-button#social-twitter {
	margin: 0 1em;
}

.social-button#social-twitter:hover {
	color: #55ACEE;
}

.social-button#social-linkedin:hover {
	color: #4875B4;
}

.social-button span {
	font-size: 1.1em;
	position: absolute;
	position: absolute;
	left: 5px;
	top: 6px;
}

/* CONTENT CONTAINER STYLES */

#content-container {
	width: 100%;
	padding: 0 1em 1em 320px;
	display: block;
}

#content-container h1 {
	font-size: 3em;
	font-weight: 100;
}


/* PORTFOLIO FILTER ITEM STYLES */
#portfolio-filters {
	width: 100%;
	padding-bottom: 2em;
}

#filter-label {
	font-weight: 100;
	text-transform: uppercase;
	color: #666;
	font-size: 0.8em;
	margin-right: 10px;
}

.filter-item {
	border-radius: 10px;
	padding: 5px 10px;
	border: 3px solid #ccc;
	display: inline-block;
	font-size: 0.8em;
	color: #666;
	margin-right: 5px;
	margin-bottom: 5px;
	cursor: pointer;
	background: white;
	-webkit-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
}

.filter-item:hover {
	background: white;
}

.filter-item.active {
	background: #efefef;
}

.filter-item.active:hover {
	background: #efefef;
}


/* PORTFOLIO ITEM STYLES */

#portfolio-items {
	width: 100%;
}

.portfolio-item {
	width: 100%;
	padding-bottom: 2em;
	border-bottom: 1px solid #CCC;
	margin-bottom: 2em;
}

.portfolio-item:last-of-type {
	border-bottom: none;
}

.portfolio-item .headline {
	font-size: 1.5em;
	font-weight: 100;
	color: black;
}

.portfolio-item a:hover .headline {
	text-decoration: underline;
}

.portfolio-item .metadata {
	color: #4D4D4D;
	text-transform: uppercase;
	font-size: 0.7em;
	margin: 0.5em 0;
}

.portfolio-item .metadata span.date {
	margin-right: 1em;
}

.portfolio-item .metadata span.organization {
	margin-left: 1em;
}

.portfolio-item img {
	width: 100%;
	margin-top: 0.5em;
	border: 1px solid #68D035;
}

.portfolio-item .description {
	font-weight: 100;
	color: #4d4d4d;
	margin-top: 1em;
	line-height: 1.3em;
	margin-bottom: 1em;
}

.portfolio-item .tags {
	margin-left: 1em;
	font-size: 0.8em;
	font-weight: 100;
	color: #666;
}


/* RESUME STYLES */

.resume-section h3 {
	margin-top: 2em;
}

.resume-section:first-of-type h3 {
    margin-top: 0;
}

#resume-items {
	font-weight: 100;
	line-height: 1.3em;
	margin-bottom: 2em;
	float: left;
}

.resume-text {
	margin-top: 2em;
}

.resume-description:before {
	content: "• ";
}


@media (max-width: 926px) {

	#sidebar-container {
		width: 245px;
		padding: 1em 1.5em;
	}

	#profile-photo {
		width: 125px;
		height: 125px;
	}

	#profile-name {
		font-size: 1.8em;
	}

	#profile-description {
		font-size: 0.8em;
	}

	#content-container {
		padding: 0 1em 1em 255px;
	}

}

@media (max-width: 720px) {

	#main-wrapper {
		width: 100%;
		max-width: 600px;
	}

	#sidebar-container {
		width: 100%;
		padding: 0;
		margin-top: 2em;
	}

	#profile-photo-container {
		display: inline;
		float: left;
		width: 125px;
	}

	#profile-photo {
		float: left;
	}

	#profile-text-container {
		width: 100%;
		padding-left: 145px;
		display: block;
		float: none;
		margin-bottom: 2em;

		float: none;
		clear: right;
		text-align: left;
	}

	#social-container {
		margin-top: 0;
	}

	#content-container {
		padding: 0;
	}

	#content-container h1 {
		display: none;
	}

	#portfolio-filters {
		display: none;
	}
}

@media (max-width: 360px) {

	#profile-photo-container {
		display: block;
		float: none;
		text-align: center;
		width: 100%;
	}

	#profile-photo {
		float: none;
	}

	#profile-text-container {
		padding-left: 0;
		text-align: center;
	}	

}

@media print {

	body {
		border-top: 3px solid #68D035;
		font-size: 12px;
	}

	a {
		color: inherit;
	}

	u {
		text-decoration: none;
	}

	#main-wrapper {
		max-width: none;
	}

	#sidebar-container {
		margin-top: 1em;
		margin-bottom: 0;
	}

	#navigation-container,
	#social-container {
		display: none;
	}

	#profile-photo-container {
		width: 50px;
		margin-top: 5px;
	}

	#profile-photo {
	    width: 50px;
	    height: 50px;
	    border: 1px solid #68D035;
	}

	#profile-text-container	{
		padding-left: 65px;
	}

	#profile-description {
		font-size: 0.9em;
		margin-top: 0.5em;
	}	

	#profile-print-contact {
		display: block;
	}

	.portfolio-item .metadata {
		margin-bottom: 2em;
	}

	.portfolio-item img {
		width: 30%;
		display: inline;
	}

	.portfolio-item .description {
		display: inline-block;
		vertical-align: top;
		width: 70%;
		padding-left: 20px;
		margin-top: 0.5em;
	}

	.resume-section:first-of-type h3 {
		margin-top: 0.5em;
	}

	.resume-section#contact {
		display: none;
	}

	.resume-section#affiliations {
		display: none;
	}

	#resume-items {
		margin-bottom: 0;
		font-size: 0.95em;
	}

	.resume-text {
		margin-top: 1em;
	}
}