#to-top {
	position: fixed;
	top: 85vh;
	right: 5vw;
	opacity: 0;
	transition: all .3s;
	z-index: 9999;
	background-color: white;
	border: 1px solid black;
	padding: 10px;
	padding-bottom: 15px;
	padding-top: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: bold;
}
#to-top:hover {
	cursor: pointer;
	top: 83vh;
}
#pi-body {
	width: 70vw;
	margin-right: auto;
	margin-left: auto;
	line-height: 1.7;
	margin-bottom: 180px;
	font-size: 18px;
}

/*-----------------------------------------------*/
.pi-intro {
	margin-bottom: 12vh;
}
#pi-title {
	margin-top: 40px;
	font-size: 80px;
	margin-bottom: 20px;
	text-align: center;
}
.pi-intro h3 {
	color: gray;
	margin-bottom: 0px;
	margin-top: 10px;
}
.pi-intro p {
	margin-bottom: 4vh;
}
.pi-introheader {
	margin-bottom: 10vh;
}
.pi-introheaderchunk {
	margin-top: 5vh;
	display: flex;
	flex-wrap: wrap;
}
.pi-introheaderchunk div {
	margin-bottom: 1vh;
}
.pi-thumb {
	height: 80vh;
}
.pi-flex {
	display: flex;
	flex-wrap: wrap;
/*	width: 75vw;*/
	position: relative;
	margin-top: 5vh;
	margin-bottom: 4vh;
}
.pi-flex-2 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8vh;
}

.pi-flex-2 div {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 5vh;
}
.pi-flex-2 div img {
	margin-left: 5vw;
}
.pi-flex-2 * span {
	margin-bottom: 3vh;
}
.pi-flex-3 {
	display: flex;
	flex-direction: column;
}
.pi-uiredesign-initial {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-top: 10vh;
	margin-bottom: 10vh;
}
.pi-uiredesign-initial div {
	text-align: left;
}
#uiredesign-title {
	margin-top: 3vh;
	margin-bottom: 7.2vh;
}
.pi-flex-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-right: 3vw;
	margin-left: 7vw;
}
.pi-flex-item div{
	text-align: center;
	width: 50vw;
	margin-top: 10px;
	line-height: 25px;
}
.pi-section > div:nth-child(3) {
	margin-bottom: 10vh;
}
.pi-flex-description{
	font-size: 15px;
	margin-top: 20px;
	margin-bottom: 15vh;
}
#pi-customfilter-bottom {
	margin-bottom: 15vh;
}
.pi-customfilter-item {
	display: flex;
	flex-wrap: wrap;
	align-items: top;
	margin-bottom: 10vh;
	margin-top: 8vh;
	justify-content: space-between;
}

.pi-customfilter-item img {
	margin-left: 5vw;
}
.pi-customfilter-item * {
	margin-right: 3vw;
}

.pi-customfilter-item p {
	font-size: 15px;
}
.pi-prevlink {
	width: 170px;
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: center;
	position: relative;
	left: 16vw;
	top: -6.5vh;
	font-size: 20px;
}
.pi-nextlink {
	width: 170px;
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
	left: 55vw;
	top: -15vh;
	font-size: 20px;
}

.pi-nextlink:hover {
	cursor: pointer;
}
.pi-nextlink div {
	margin-right: 5px;
	text-align: right;
}
.fa-angle-right, .fa-angle-left {
	font-size: 100px;
	transition: all 0.5s;
}

/*------------------------------------------------*/

@media screen and (min-width: 768px) {
	#pi-body {
		width: 50vw;
	}
	#pi-title {
		margin-top: 60px;
	}
	.pi-introheader {
		margin-bottom: 5vh;
		width: 40vw;
		margin-right: auto;
		margin-left: auto;
	}
	.pi-introheaderchunk div {
		width: 15vw;
		margin-right: 5vw;
		margin-bottom: 5vh;
	}
	.pi-introheader h3 {
		text-align: center;
	}
	.img-bigthumb {
		width: 30vw;
		margin-bottom: 3vh;
		height: 40vh;
	}
	.img-smallthumb {
		width: 50vw;
	}
	.img-fig3thumb {
		width: 15vw;
		left: -5vw;
		margin-right: .5vw;
	}
	.initial-fig3text {
		position: relative;
		right: 1vw;
	}
	.pi-section {
		margin-bottom: 15vh;
		display: flex;
		flex-direction: column;
	}
	.pi-section h1 {
		font-size: 70px;
	}
	.building-text h2 {
		font-size: 50px;
	}
	.finished-text h2 {
		font-size: 50px;
	}
	.pi-focus {
		margin-bottom: 25vh;
	}
	.pi-focus h1 {
		font-size: 60px;
		margin-right: 7vw;
	}
	.pi-myrole {
		display: flex;
	}
	.pi-myrole h1 {
		font-size: 60px;
		margin-right: 5vw;
	}
	.pi-role h2 {
		font-size: 45px;
	}
	.pi-initial {
		margin-top: 10vh;
		margin-bottom: 20vh;
	}
	.pi-initial h2 {
		font-size: 50px;
	}
	.pi-final h2 {
		font-size: 50px;
	}
	.initial-fig1 {
		display: flex;
		align-items: center;
		position: relative;
		left: 5vw;
	}
	.initial-fig1 div {
		width: 18vw;
	}
	.initial-fig {
		display: flex;
		align-items: center;
		position: relative;
		left: 5vw;
	}
	.initial-fig div {
		width: 18vw;
	}
	.flex-prototypes {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		width: 48vw;
		margin-left: auto;
		margin-right: auto;
		position: relative;
		left: 1.5vw;
	}
	.section-prototypes {
		width: 22vw;
		flex-direction: column;
		align-items: flex-start;
		text-align: center;
		margin-left: 0px;
		margin-right: 0px;
	}
	.img-prototype {
		width: 20vw;
		margin-left: 0px;
		margin-right: 0px;
		
	}
	/*-----------------------------------------*/
	.pi-flex {
		flex-wrap: nowrap;
		align-self: center;
	}
	.pi-flex-item div {
		width: 15vw;
	}
	.pi-customfilter-item {
		flex-wrap: nowrap;
	}
	.pi-customfilter-item img {
		margin-left: 0vw;
	}
	.pi-uiredesign-initial {
		flex-wrap: nowrap;
	}
	.pi-uiredesign-initial div {
		text-align: right;
		margin-left: 3vw;
		margin-right: 2vw;
	}
	.pi-customfilter-itemdetail {
		text-align: right;
		margin-right: 0vw;
		width: 50%;
	}
	.pi-flex-2 {
		flex-wrap: nowrap;
		width: 96%;
		margin-bottom: 2vh;
	}
	.pi-flex-2 div {
		margin-bottom: 2vh;
	}
	.pi-flex-2 div img {
		margin-left: 0vw;
	}
	.pi-flex-item {
		margin-left: 0vw;
	}
	
}