html,body{
	height: 100%;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

html{
	font-family: sans-serif;
	-webkit-font-smoothing: antialiased;
}

body{
	margin: 0px;
}

.full-height, html, body{
	min-height: 100%;
}

.black{
	background: black;
}

.white{
	background: white;
}

.tWhite{
	color: white;
}

.center{
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
}

.horCenter{
	position: relative;
	left: 50%;
	transform: translate(-50%,0px);
	-webkit-transform: translate(-50%,0px);
	-ms-transform: translate(-50%,0px);
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.title-and-menu{
	text-align: center;
}

.main-title{
	color: black;
	background-color: white;
	padding: 10px;
	white-space: nowrap;
	font-size: 26pt;
}

@media (max-width: 400px){
	.main-title{
		font-size: 18pt;
	}
}

.menu-items{
	top: calc(50% + 80px);
	color: white;
	display: inline-block;
}

.menu-item{
	display: inline;
	margin: 0px 2px;
	border: 2px black solid;
	cursor: pointer;
	padding: 7px;
	background: black;
	transition: border 0.3s ease, background 0.1s ease, color 0.1s ease;
	-webkit-transition: border 0.3s ease, background 0.1s ease, color 0.1s ease;
}

.menu-item:hover{
	border: 2px white solid;
}

.menu-item:active{
	background: white;
	color: black;
}

.page-title{
	font-size: 25pt;
	top: 100px;
	text-align: center;
	margin: 0px;
	padding-top: 70px;
}

.page-content{
	text-align: center;
}

.page-subtext{
	max-width: 550px;
	margin: 20px auto 0px;
	padding: 0px 20px;
	color: gray;
	font-weight: normal;
}

@media (min-width: 690px){
	.page-content > p{
		max-width: 300px;
	}
}

.page{
	background-size: 100%;
	background-attachment: fixed;
}

.page-content > p {
	display: inline-block;
	vertical-align: top;
	margin: 20px;
	text-align: left;
}

.portfolio-wrapper{
	padding: 50px 0px 100px 0px;
}

.portfolio-container{
	white-space: nowrap;
}

.portfolio-container, .portfolio-box{
	font-size: 0px;
	text-align: center;
	max-width: 605px;
	min-height: 455px;
	overflow: hidden;
	/*margin: 200px 0px;*/
}

.portfolio-box{
	white-space: normal;
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 100%;
}

.portfolio-content{
	font-size: 30pt;
	color: white;
	text-align: left;
}

.portfolio-content-back{
	font-size: 15px;
	margin: 10px;
}

.portfolio-content-img{
	width: 200px;
	height: 200px;
	display: inline-table;
	float: left;
	margin: 0px 20px 20px 0px;
}

.portfolio-content-text{
	float: right;
	width: 385px;
}

@media (max-width: 690px){
	.portfolio-content-text{
		width: 100%;
		padding: 20px;
		box-sizing: border-box;
	}

	.portfolio-content-img{
		margin: 20px;
	}
}

.portfolio-content-text > h3{
	font-size: 20pt;
	display: inline-block;
	vertical-align: top;
	margin: 0px;
}

.portfolio-content-text > p{
	font-size: 16px;
	margin: 0px 0px 7px 0px;
}

.portfolio-item{
	display: inline-block;
	position: relative;
	left: -5px;
	width: 140px;
	height: 140px;
	margin: 10px 0px 0px 10px;
	transform: scale(1);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transition: transform 0.15s ease;
	-webkit-transition-property: transform;
	-webkit-transition-duration: 0.15s;
	-webkit-timing-function: ease;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	overflow: hidden;
}

.portfolio-item:hover{
	transform: scale(1.04);
	-webkit-transform: scale(1.04);
	-ms-transform: scale(1.04);
}

.portfolio-item:active{
	transform: scale(1.01);
	-webkit-transform: scale(1.01);
	-ms-transform: scale(1.01);
}

.portfolio-item:hover .portfolio-item-title{
	bottom: 5px;
	opacity: 1;
}

.portfolio-item:hover .portfolio-item-gradient{
	opacity: 1;
}

.portfolio-item-title{
	font-size: 18px;
	position: absolute;
	margin: 0px;
	padding: 0px;
	bottom: -30px;
	color: white;
	text-align: center;
	width: 100%;
	z-index: 200;
	opacity: 0;
	transition: all 0.15s ease;
	-webkit-transition-property: all;
	-webkit-transition-duration: 0.15s;
	-webkit-timing-function: ease;
}

.portfolio-item-gradient{
	width: 105%;
	height: 105%;
	left: -2.5%;
	top: -2.5%;
	position: relative;
	z-index: 100;
	opacity: 0;
	transition: all 0.15s ease;
	-webkit-transition-property: all;
	-webkit-transition-duration: 0.15s;
	-webkit-timing-function: ease;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+1,000000+99&0+58,0.61+100 */
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 1%, rgba(0,0,0,0) 58%, rgba(0,0,0,0.6) 99%, rgba(0,0,0,0.61) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(0,0,0,0)), color-stop(58%,rgba(0,0,0,0)), color-stop(99%,rgba(0,0,0,0.6)), color-stop(100%,rgba(0,0,0,0.61))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 1%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.6) 99%,rgba(0,0,0,0.61) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(0,0,0,0) 1%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.6) 99%,rgba(0,0,0,0.61) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 1%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.6) 99%,rgba(0,0,0,0.61) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 1%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.6) 99%,rgba(0,0,0,0.61) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#9c000000',GradientType=0 ); /* IE6-9 */
}

.contact-container{
	padding-bottom: 30px;
	margin: 20px auto;
	max-width: 600px;
}

.contact-container > textarea{
	resize: vertical;
	min-height: 150px;
}

.contact-container > input, .contact-container > textarea{
	display: block;
	width: calc(100% - 70px);
	border: none;
	margin: 5px 20px;
	padding: 15px;
	font-size: 16px;
	color: white;
	background: black;
	border-radius: 0px;
}

.contact-container > input:focus, .contact-container > textarea:focus{
	outline-width: 0;
}

.contact-container > input[type=submit]{
	width: calc(100% - 40px);
	background-color: hsl(0, 0%, 40%);
	transition: background-color 0.15s;
	-webkit-transition-property: background-color;
	-webkit-transition-duration: 0.15s;
	-webkit-appearance: none;
}

.contact-container > input[type=submit]:hover{
	width: calc(100% - 40px);
	background-color: hsl(0, 0%, 20%);
}