@font-face {
font-family: "jellyk Bold";
src: url("fonts/jellyka_estrya_handwriting-webfont.ttf");
src: 
url("fonts/jellyka_estrya_handwriting-webfont.woff") format("woff"),
url("fonts/jellyka_estrya_handwriting-webfont.woff2") format("woff2"),
}
*{
	box-sizing: border-box;
}

html{
	overflow-y: scroll;
}
.button{
	border: none;
	color: #fffffe;
	text-align: center;
	background-color: #cd7b00;
	border-radius: 15px;
	height: 40px;
	font-size: 1.25rem;
	text-transform: lowercase;
	padding: 0 20px;
	margin: 10px auto 0px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.button:hover{
	-webkit-box-shadow:none;
    box-shadow:none;
	color:#fffffe;
	background-color: #df9c39;
}
.button:focus{
	-webkit-box-shadow:none;
    box-shadow:none;
	color:#fffffe;
	background-color: #cd7b00;
}
.navbar {
	display: block;
	margin: 0 auto;
	background-color: #fffffe;
	padding: 0 10px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 998;
	text-align: center;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
	.linkContainer{
		max-width: 848x;
		width: 100%;
	}
	.nav {
		list-style: none;
		margin: 0;
		padding: 0;
		text-align: center;
		float: right;
	}
	.navContainer{
		display: block;
		max-width: 960px;
		margin: auto;
	}
	.site-branding{
		float: left;		
	}
	.site-title{
		color:#1240ab;
		font-family: 'jellyk Bold';
		font-weight: 400;
		font-size: 6rem;
		line-height: 56px;
	}
	.nav li {
		display: inline;
		line-height: 60px;
	}
	
	.nav a {
		display: inline-block;
		padding: 0 20px;
		color: #1240ab;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: 500;
	}
	.nav a:hover {
		color: #6c8cd5;
	}
	.row{
		display: flex;
		flex-wrap: wrap;
	}
	.col-lg-4{
		position: relative;
		box-sizing: border-box;
		width: 100%;
	}
	.col-lg-8{
		position: relative;
		box-sizing: border-box;
	}
	.col-lg-6{
		position: relative;
		box-sizing: border-box;
	}
	.col-lg-6 img{
		cursor: pointer;
		border: 1px solid #ebebeb;
		max-height: 205px;
	}
	.widget{
	background-color: #fffffe;
    padding: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	}
	max-width{
		margin: auto;
		width: 600px;
	}
	.postCard{
		max-width: 600px;
		margin:20px auto 0px;
	}
	.postCard img{
		width: 100%;
		margin: auto;
		display: block;
		border-radius: 15px;
		margin-bottom: 5px;
	}
	.postCard a:last-child{box-sizing: border-box;
		color: #cd7b00;
		font-size: 2rem;
		font-weight: 400;
		cursor: pointer;
		line-height: 1rem;
	}
	.postCard a:hover{
		color: #ffaa00;
	}
	.aboutPortrait{
		text-align: center;
	}
	.aboutPortrait img{
		width: 70%;
		max-width: 400px;
		margin: 0 auto;
	}
	.aboutP{
		max-width: 650px;
		margin:0 auto 10px;
	}
	.aboutH3{
		max-width: 650px;
		margin: auto;
		margin-top: 15px;
		font-weight: 400;
		font-size: 2.4rem;
	}
	.introText{
		margin-bottom: 0px;
		margin-top: 10px;
	}
	a.anchor {
		display: block;
		position: relative;
		top: -70px;
		visibility: hidden;
	}
	.modal{
		display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0, 0, 90%);
	}
	.modal-content {
		position: relative;
		background-color: #fffffe;
		margin: auto;
		padding: 0;
		width: 90%;
		max-width: 1200px;
	  }
	  .close {
		color: #fffffe;
		position: absolute;
		top: 10px;
		right: 25px;
		font-size: 35px;
		font-weight: bold;
	  }
	  .close:hover,
.close:focus {
  color: #303030;
  text-decoration: none;
  cursor: pointer;
}
.mySlides {
	display: none;
  }
.mySlides img{
	display: block;
	max-height: 80vh;
	margin: auto;
}
.darkBG {
	background-color: #ebebeb;
	padding-bottom: 10px;
}
.contactHead {
	background-color: #ebebeb;
	padding: 80px 0 10px;
}
.oddSection{
	background-color: #ebebeb;
	padding-bottom: 20px;
}	
#mainHeader {
	margin: 0px auto 10px;
	width: 100%;
}
	
.container{
	width: 100%;
	margin: auto;
}
.container p{
	margin: 0px auto 2.5rem;
	max-width: 70ch;
}
	#secondarytitle {
		margin-top: 10px;
		text-align: center;
	}

#otherTitle{
	text-align: center;
}
h1{
	font-size: 36px;
	font-weight: 400;
	margin-top: 15px;
}

#title{
	display: none;
}

	.contact {
		background-color: #6c8cd5;
		border-radius: 15px;
		padding: 8px;
		text-align: center;
		-webkit-box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    	box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
		
	}
	
	.contact p {
		margin-bottom: 5px;
		font-size: 16px;
		color: #fffffe;
	}
	
	.social {
		width: 175px;
		margin: 20px auto;
		text-align: left;
		line-height: 1.2;
		font-size: 16px;
	}
.social svg{
	width: 40px;
	height: 40px;
	float: left;
	margin:0px 5px 0px 0px;
}

.social a{
	top: 4px;
	margin: auto;
	position: relative;
}

	i {
		margin-right: 10px;
	}
	
	.blue {
		background-color: #CAEBF2;
		border-radius: 8px;
		padding: 10px 20px;
		box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.20);
		margin-top: 40px;
		margin-bottom: 10px;
		text-align: left;
		list-style-position: inside;
	}
	
	.blue span {
		font-weight: 600;
	}
	
	#journey {
		margin-top: 40px;
		margin-bottom: 30px;
	}
	
	.timelineblock {
		width: 100%;
		background-image: url(../images/mobiletimeline.png);
		background-repeat: no-repeat;
		background-position: top;
		background-size: contain;
	}
	
	.timelineblock h6 {
		padding-top: 10%;
		font-size: 16px;
		text-align: left;
		padding-left: 18%;
	}
	
	.timelineblock p {
		padding: 3% 15%;
	}
	
	#hobbies {
		margin-bottom: 30px;
	}
	
	#workbox {
		padding-bottom: 30px;
	}
	
	.casestudy img:last-child {
		display: none
	}
	
	.casestudy img:first-child {
		display: block;
		margin: 0 auto;
	}
	
	.casestudy:hover img:first-child {
		display: none
	}
	
	.casestudy:hover img:last-child {
		display: block;
		margin: 0 auto;
	}
	
	.introWidget{
		margin-top: 30px;
		width: 100%;
	}
	.heyWidget{
		margin-top: 20px;
	}
	.projectWidget{
		margin-top: 15px;
	}
	.caseWidget{
		margin-top: 190px;
	}
	#contactblock {
		text-align: center;
		width: 85%;
		margin:10px auto;
	}
	#contactblock p {
		margin: 0px auto 5px;
		font-size: 16px;
		max-width: 70ch;
		text-align: center;
	}

	#contactblock p:first-child {
		margin: auto;
		text-align: left;
	}
	
	#contactblock a{
		color: #1240ab;
	}
	contactblock a:hover{
		text-shadow: 1px 1px 2px #000000;
	}
	#backToTop a{
		color: #1240ab;
		text-shadow: none;
	}
	h2 {
		position: relative;
		text-align: center;
		font-size: 3rem;
		margin: 0px auto;
		font-weight: 400;
		line-height: 1.5;
	}
	
	h2 span {
		position: absolute;
		top: -50px;
	}
	/* Case studies */
	
	.workimg {
		margin-bottom: 30px;
	}
	
	.casetitle {
		margin-top: 100px;
		text-align: center;
	}
	
	.casetitle2 {
		margin-top: 10px;
		text-align: center;
	}
.casetitle2 img{
	border-radius: 15px;
	max-width: 90%;
}
.casetitle2 h2{
	font-size: 2.3rem;
	font-weight: 500;
	text-align: left;
	margin: 20px auto 0px;
	max-width: 750px;
}
.casetitle2 p{
	text-align: left;
	margin: 5px auto 0px;
	max-width: 750px;
}
.casetitle2 h5{
	font-size: 2rem;
	color: #303030ab;
}
.casetitle2 ul{
	display: inline-block;
	max-width: 750px;
	margin: 5px auto 0px;
	line-height: 14px;
}
.casetitle2 li{
	text-align: left;
}
.thumbs{
	width: 100%;
	max-width: 600px;
	margin: 10px auto 0px;
}

	.centerfull {
		margin: 0 0 30px;
		text-align: left;
	}
	
	h5 {
		text-align: center;
	}
	
	.centerimage {
		display: block;
		margin: 10px auto;
	}
	
	h6 {
		text-align: center;
		font-weight: 600;
	}
	
	blockquote {
		text-align: center;
	}
	
	.strong {
		font-weight: 600;
	}
	
	.workSample {
		border: 2px solid #ddd;
		background-color: white;
		padding: 0px;
		text-align: left;
		margin-bottom: 20px;
		border-radius: 8px;
		box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
		transition: all 0.25s cubic-bezier(.25,.8,.25,1);
		overflow: hidden;
	}
	
.workSample:hover{
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#moreWork{
	text-align:center;
	margin: 0px auto 2.5rem;
}
	.heyH2{
		text-align: center;
	}
.workSample a{
	color: #303030;
	text-decoration: none;
	text-shadow: none;
}
	.workSample h6 {
		margin: 5px auto;
		padding-bottom: 0px;
	}
	/* Larger than mobile */
	
	@media (min-width: 450px) {
		.calign {
			text-align: center;
		}
		.site-title{
			margin-left: 20px;
		}
	}
	/* timeline switch */
	@media (min-width: 325px) {
		.caseWidget{
			margin-top: 130px;
		}
		
	}
	@media (min-width: 480px) {
		.caseWidget{
			margin-top: 80px;
		}
	}

	@media (min-width: 700px) {
		#timelinelist {
			background: url(../images/UXtimeline2.svg) no-repeat;
			background-size: contain;
			background-position: center;
			max-height: 830px;
			text-indent: -9999px;
		}
		.timelineblock {
			width: 100%;
			background-image: none;
		}
	}
	/* Larger than tablet */
	
	@media (min-width: 770px) {
		.widget{
			padding: 30px;
		}
		.centerimage {
			margin: 0px auto;
		}
		.contact a{
			text-shadow: 1px 1px 2px #000000;
		}
		.centerfull {
			margin: 0 60px 30px;
		}
		.valign {
			margin-top: 10px;
		}
		.valignhalf {
			margin-top: 0px;
		}
		.valigndouble {
			margin-top: 50px;
		}
		#secondarytitle {
			display: none;
		}
		#title {
			display: inline;
			width: 44%;
			margin-top: 25px;
			margin: 40px auto 0;
			padding: 0px 5px;
			text-align-last: center;
		}
		#title h1{
			color:#6c8cd5;
		}
	}
	/* Larger than desktop */
	
	@media (min-width: 1000px) {
		.contact {
			height: 230px;
		}
		.heyH2{
			text-align: left;
			margin-top: 0px;
			line-height: 1;
		}
		.col-lg-4{
			flex: 0 0 33.333333%;
			max-width: 33.333333%;
			padding-right: 15px;
		}
		.col-lg-8{
			flex: 0 0 66.666667%;
			max-width: 66.666667%;
			padding-left: 15px;
		}
		.col-lg-6{
			flex: 0 0 50%;
			max-width: 50%;
		}
		.col-lg-6:first-child{
			padding-left: 30px;
			margin-top: 10px;
		}
		.col-lg-6:last-child{
			padding-right: 30px;
			margin-top: 10px;
		}
		.heyWidget{
			height: 230px;
			margin-top: 0px;
		}
		.workimg {
			margin-bottom: 0px;
		}
		.site-title{
			margin-left: 20px;
		}
	}
	/* custom desktop */
	
	@media (min-width: 1130px) {
		.valign {
			margin-top: 30px;
		}
		.valignhalf {
			margin-top: 15px;
		}
		.valigndouble {
			margin-top: 60px;
		}
	}
	/* Larger than Desktop HD */
	
	@media (min-width: 1400px) {
		.contact p {
			margin-bottom: 5px;
		}
		h4 {
			font-size: 2.6rem;
		}
		.valign {
			margin-top: 60px;
		}
		.valignhalf {
			margin-top: 35px;
		}
		.valigndouble {
			margin-top: 120px;
		}
	}
	
	.timeline {
		width: 100%;
		position: relative;
		list-style: none;
		padding: 30px 0;
		padding-bottom: 60px;
		overflow: hidden;
	}
	
	.timeline * {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	/*TIMELINE*/
	
	.timeline__title {
		display: block;
		padding: 5px 45px;
		margin-bottom: 5px;
		position: relative;
		border-bottom: 5px solid #91cad7;
		font-size: 18px;
		white-space: nowrap;
	}
	
	.timeline__title:after {
		content: '';
		display: block;
		position: absolute;
		-webkit-border-radius: 50px;
		-moz-border-radius: 50px;
		border-radius: 50px;
		background: #91cad7;
		height: 13px;
		width: 13px;
		bottom: -9px;
	}
	
	.timeline__number {
		display: block;
		height: 45px;
		width: 45px;
		background: #fe373b;
		color: #fff;
		border: 5px solid #CAEBF2;
		-webkit-border-radius: 50px;
		-moz-border-radius: 50px;
		border-radius: 50px;
		position: absolute;
		left: 50%;
		top: 44px;
		padding: 5px 0;
		text-align: center;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
		z-index: 100;
		font-weight: 300;
		font-size: 24px;
		line-height: 1rem;
	}
	
	.timeline__arc {
		display: block;
		-webkit-border-radius: 50px;
		-moz-border-radius: 50px;
		border-radius: 50px;
		height: 72px;
		width: 72px;
		border: 5px solid transparent;
		border-top-color: #91cad7;
		position: absolute;
		left: 50%;
		-webkit-transform: translateX(-50%) rotate(45deg);
		-moz-transform: translateX(-50%) rotate(45deg);
		-ms-transform: translateX(-50%) rotate(45deg);
		-o-transform: translateX(-50%) rotate(45deg);
		transform: translateX(-50%) rotate(45deg);
		z-index: 101;
		top: 32px;
		margin-left: -1px;
	}
	
	.timeline__arc--bottom {
		-webkit-transform: translateX(-50%) rotate(-135deg);
		-moz-transform: translateX(-50%) rotate(-135deg);
		-ms-transform: translateX(-50%) rotate(-135deg);
		-o-transform: translateX(-50%) rotate(-135deg);
		transform: translateX(-50%) rotate(-135deg);
		top: 30px;
	}
	
	.timeline__arc--bottom:before {
		content: '';
		display: block;
		position: absolute;
		-webkit-border-radius: 50px;
		-moz-border-radius: 50px;
		border-radius: 50px;
		background: #91cad7;
		height: 13px;
		width: 13px;
		left: 50%;
		top: 0;
		margin-left: 21px;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	
	.timeline:before {
		content: '';
		display: block;
		position: absolute;
		-webkit-border-radius: 50px;
		-moz-border-radius: 50px;
		border-radius: 50px;
		background: #91cad7;
		height: 13px;
		width: 13px;
		left: 50%;
		top: 0;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	
	.timeline:after {
		content: '';
		display: block;
		position: absolute;
		width: 5px;
		height: 100%;
		left: 50%;
		top: 0;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
		background: #91cad7;
	}
	
	.timeline li {
		width: 100%;
		padding: 30px 0;
		padding-bottom: 0;
		margin-bottom: -60px;
		position: relative;
	}
	
	.timeline li img {
		position: absolute;
		top: 20px;
		width: 100px;
		height: auto;
	}
	
	.timeline li:after {
		content: '';
		height: 60px;
		width: 60px;
		display: block;
		-webkit-border-radius: 50px;
		-moz-border-radius: 50px;
		border-radius: 50px;
		background: #fff;
		position: absolute;
		left: 50%;
		top: 37px;
		z-index: 99;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	
	.timeline li p {
		padding: 0 45px;
		font-size: 14px;
	}
	
	.timeline li p:last-of-type {
		margin-bottom: 0;
	}
	
	.timeline li:nth-of-type(2n-1) {
		padding-left: 50%;
		padding-right: 110px;
	}
	
	.timeline li:nth-of-type(2n-1) .timeline__title {
		padding-right: 20px;
	}
	
	.timeline li:nth-of-type(2n-1) .timeline__title:after {
		right: 0;
	}
	
	.timeline li:nth-of-type(2n-1) img {
		right: 0;
	}
	
	.timeline li:nth-of-type(2n-1) p {
		padding-right: 20px;
	}
	
	.timeline li:nth-of-type(2n) {
		padding-right: 50%;
		padding-left: 110px;
	}
	
	.timeline li:nth-of-type(2n) .timeline__title {
		padding-left: 20px;
	}
	
	.timeline li:nth-of-type(2n) .timeline__title:after {
		left: 0;
	}
	
	.timeline li:nth-of-type(2n) .timeline__arc {
		-webkit-transform: translateX(-50%) rotate(-45deg);
		-moz-transform: translateX(-50%) rotate(-45deg);
		-ms-transform: translateX(-50%) rotate(-45deg);
		-o-transform: translateX(-50%) rotate(-45deg);
		transform: translateX(-50%) rotate(-45deg);
		height: 70px;
		width: 70px;
		top: 33px;
		margin-left: 1px;
	}
	
	.timeline li:nth-of-type(2n) .timeline__arc--bottom {
		-webkit-transform: translateX(-50%) rotate(135deg);
		-moz-transform: translateX(-50%) rotate(135deg);
		-ms-transform: translateX(-50%) rotate(135deg);
		-o-transform: translateX(-50%) rotate(135deg);
		transform: translateX(-50%) rotate(135deg);
		top: 31px;
	}
	
	.timeline li:nth-of-type(2n) .timeline__arc--bottom:before {
		margin-left: -21px;
	}
	
	.timeline li:nth-of-type(2n) img {
		left: 0;
	}
	
	.timeline li:nth-of-type(2n) p {
		padding-left: 20px;
	}
	
	.timeline li:last-of-type .timeline__arc--bottom {
		display: none;
	}
	
	.timeline li:last-of-type:before {
		content: '';
		width: 50%;
		height: 100%;
		background: #fff;
		display: block;
		position: absolute;
		right: 0;
		top: 90px;
		-webkit-transform: translateX(-10px);
		-moz-transform: translateX(-10px);
		-ms-transform: translateX(-10px);
		-o-transform: translateX(-10px);
		transform: translateX(-10px);
		z-index: 100;
	}
	
	@media (max-width: 1169px) {
		.timeline:before {
			left: 20px;
			-webkit-transform: translateX(0);
			-moz-transform: translateX(0);
			-ms-transform: translateX(0);
			-o-transform: translateX(0);
			transform: translateX(0);
			margin-left: -4px;
		}
		.timeline:after {
			left: 20px;
			-webkit-transform: translateX(0);
			-moz-transform: translateX(0);
			-ms-transform: translateX(0);
			-o-transform: translateX(0);
			transform: translateX(0);
		}
		.timeline__number {
			left: 0;
			-webkit-transform: translateX(0);
			-moz-transform: translateX(0);
			-ms-transform: translateX(0);
			-o-transform: translateX(0);
			transform: translateX(0);
		}
		.timeline__arc {
			display: none;
		}
		.timeline li:after {
			display: none;
		}
		.timeline li:nth-of-type(2n) {
			padding-right: 0;
			padding-left: 135px;
			margin-bottom: 0;
		}
		.timeline li:nth-of-type(2n) img {
			width: 75px;
			left: 50px;
			top: 40px;
		}
		.timeline li:nth-of-type(2n-1) {
			padding-left: 0;
			padding-right: 135px;
			margin-bottom: 0;
		}
		.timeline li:nth-of-type(2n-1) img {
			width: 75px;
			right: 50px;
			top: 40px;
		}
		.timeline li:last-of-type:before {
			width: 10px;
			left: 27px;
			top: 70px;
			right: auto;
		}
	}
	
	@media (max-width: 480px) {
		.contactHead {
			padding: 120px 0 15px;
		}
		.nav{
			float:none;
		}
		.site-branding{
			width: 100%;
			margin: auto;
		}
		.timeline li p {
			padding: 0;
			font-size: 14px;
		}
		.timeline li img {
			display: none;
		}
		.timeline li:nth-of-type(2n) {
			padding-right: 0;
			padding-left: 45px;
			margin-bottom: 0;
		}
		.timeline li:nth-of-type(2n) p {
			padding-left: 0;
		}
		.timeline li:nth-of-type(2n-1) {
			padding-right: 0px;
			padding-left: 45px;
		}
		.timeline li:nth-of-type(2n-1) .timeline__title {
			padding-left: 0;
		}
		.timeline li:nth-of-type(2n) .timeline__title {
			padding-right: 20px;
			padding-left: 0;
		}
		.timeline li:nth-of-type(2n) .timeline__title:after {
			right: 0;
			left: auto;
		}
	}