/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/


/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0; }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
   .column,
  .columns {
    margin-left: 2%; }
  .row div:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222; }


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: -.1rem;font-weight: 700;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; font-weight: 700;}
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; font-weight: 700;}
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; font-weight: 700;}
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; font-weight: 700;}
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; font-weight: 700;}

/* Larger than phablet */
@media (min-width: 550px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 3rem; }
  h3 { font-size: 2.6rem; }
  h4 { font-size: 2.4rem; }
  h5 { font-size: 2.3rem; }
  h6 { font-size: 2.1rem; }
}

p {
  margin-top: 0; }


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #1EAEDB; }
a:hover {
  color: #0FA0CE; }


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #33C3F0;
  border-color: #33C3F0; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #1EAEDB;
  border-color: #1EAEDB; }


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: none; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; 
}

footer {
	display: flex;
	justify-content: center;
	color: #dedede;
	padding: 2.5rem 0 1rem;
	font-size: 1.3rem;
}
 /* Top navigation */
.topnav {
	overflow: hidden;
	display: flex;
	-webkit-align-items: center; /* Safari 7.0+ */
	padding-left: 5vw;
	padding-right: 5vw;
	margin: 3vw auto;
	font-family: 'Chivo', sans-serif;
	font-weight: 400;
	position: relative;
	z-index: 22;
}


/* Style the links inside the navigation bar */
.topnav a {
	text-align: center;
	padding: 14px 0px;
	position: relative;
	text-decoration: none;
	font-weight: 500;
	color: rgb(34, 34, 34);
}

.right-side > a:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #000;
	visibility: hidden;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.right-side > a:hover:before {
		visibility: visible;
		-webkit-transform: scaleX(1);
		transform: scaleX(1);
}


.left-side {
	flex: 1;
	font-size: 2rem;
}

.right-side {
	line-height: 2.5em;
	display: none
}

.right-side a {
	color: #a5a5a5;
	font-weight: 400;
}

.right-side .active {
	color: #333;
}
/* Change the color of links on hover */
.topnav a:hover {
	color: #333;
}

/* Mobile nav  */
.mobile-nav {
	height: 100vh;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	background: white;
	width: 100%;
	z-index: 21;
	transition: opacity .7s ease-in-out;
	-webkit-transition: opacity .7s ease-in-out;
}

.mobile-nav a {
	text-decoration: none;
	color: #333;
	padding: 5px;
	letter-spacing: 3px;
	font-size: 3rem;
	font-weight: 600;
	font-family: 'Chivo';
}

.mobile-nav {
	opacity: 0;
  visibility: hidden;
}


/* Change body position so mobile-nav remains fixed on screen */
body.show {
	overflow: hidden;
}

.mobile-nav.show {
	opacity: 100;
	visibility: visible;
	position: fixed;
}

.hero {
	height: 70vh;
	font-size: 3rem;
	padding-left: 2rem;
	display: flex;
	font-weight: 700;
	flex-direction: column;
	justify-content: center;
}

.hero a {
	color: #2D3EF8;
	text-decoration: none;
}

.hero a:hover {
	color: #2D3EF8;
	text-decoration: underline;
}
@media (min-width: 550px) {
	.hero {
		font-size: 5rem;
	}
}

.container.portfolios {
	padding: 0 13px;
}

.portfolios h2 {
	font-size: 2.3rem;
	margin-bottom: 5px;
	font-weight: 600;
	color: #293c3c;
}

.portfolios ul ul {
margin: 0 auto;
}

.portfolios .timeline {
	margin-top: 40px;
}

.portfolio .row {
	margin-top: 15px;
}

.portfolios h1 {
	margin-top: 3rem;
	text-align:center;
	font-size:3.5rem;
	margin-bottom: 4rem;
}

a.next-study {
	margin-top: 30px;
}
	
a.button {
	transition: box-shadow 0.2s linear;
}

a.button:hover {
	box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 5px 5px rgba(0,0,0,0.1);
}


/* Card when hovering over projects */

.hover-card{
	position: absolute;
	top: 0;
	left: 0;
	background: #FFF;
	width: 230px;
	margin: 10px;
	opacity: .90;
	padding: 5px;
}

.portfolios .hover-card h1, .portfolios .hover-card p {
	margin-bottom: 0.5rem;
	color: #1d1d1d;
}
.portfolios .hover-card h1 {
	font-size: 3rem;
}

@media (max-width: 550px) {
	.portfolios .hover-card h1 {
		font-size: 2.2rem;
		font-weight: 500;
	}
	.container {
		min-height: 85vh;
	}
}

.portfolios .hover-card  p {
	font-weight: 500;
	font-size: 1.3rem;
}

@media (min-width: 750px) {
	.hover-card{
		height: 100%;
		width: 100%;
		top: 0;
		opacity: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		background-color: #FFF;
		position: absolute;
		margin-left: 1%;
		transition: opacity .7s ease;
	  -webkit-transition: opacity .7s ease-in-out;
	}

	.hover-card:hover, .hover-card:focus, .hover-card:active {
		opacity: 100;
	}

	.portfolios .six.columns {
		max-width: 500px;
	}
	.portfolios #portfolio>.row {
		width: 90%;
		margin: 0 auto;
	}
}

.port-image {
	height: 250px;
	width: 100%;
}

@media (min-width: 750px) {
	.port-image {
		width: 100%;
		height: 350px;
		padding: 10px;
	}
}

.row .six.columns {
	position: relative;
	overflow: hidden;
}
#lk-logo-desktop {
display: none;
}
/* Hide the link that should open and close the topnav on small screens */
@media (min-width: 750px) {
	#lk-logo-desktop {
display: inline;
}
	.topnav #nav-icon2 {
		display: none;
	} 

	.topnav a {
		padding: 15px;
	}

	.left-side {
		font-size: 2.2rem;
	}

	.right-side {
		line-height: 2.5em;
		display: flex;
	}

	.mobile-nav, .mobile-nav.show {
		display: none;
	}
}


/* Contacts page */

.container.contacts {
	margin-top: 10%;
}
/*
.container.contacts .six.columns:first-child {
	margin-left: 0;
}
*/
.contacts .header {
	text-align: center;
	margin-bottom: 15px;
}

.contacts .header h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
}

.contacts textarea {
	min-height: 150px;
}

.six.columns input {
	width: 100%;
}

.alert {
	padding: .75rem 1.25rem;
	border-radius: .25rem;
	border: 1px solid transparent;
	margin-bottom: 1rem;
	font-size: 1.3rem;
}

.alert.success {
	border-color: #3c763d;
	color: #3c763d;
}

.alert.error {
	border-color: #a94442;
	color: #a94442;
}

@media (min-width: 550px) {
	.container.contacts {
		max-width: 960px;
		display: flex;
		align-items: center;
		flex-direction: row-reverse;
	}

	.alert {
		margin-bottom: 2rem;
		font-size: 1.5rem;
	}
}

/* About page */



.about {
	display: flex;
	flex-direction: column-reverse;
}

.works ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.bio {
	margin-bottom: 3rem;
}

.about .six.columns {
	width: 100%
}

.about .six.columns:first-child  {
	margin-left: 0%;
}

.skyline {
	height: 250px;
	background: url('../images/skyline.jpg') no-repeat center / cover;
	margin-bottom: 2rem;
}

@media (min-width: 550px) {
	.works ul {
		padding-left: 2rem;
		flex-direction: row;
	}
}

@media (min-width: 750px) {
	.about {
		flex-direction: row;
	}

	.works ul {
		flex-direction: column;
	}

	.about .six.columns {
		width: 49%
	}
	
	.bio {
		margin-bottom: 1rem;
	}

	.skyline {
		height: 450px;
		max-width: 1200px;
		width: 85%;
		margin: 0 auto;
		margin-bottom: 5rem;
	}
}

.hexa{
  border: 0px;
  float: left;
  text-align: center;
  height: 35px;
  width: 60px;
  font-size: 22px;
  background: #f0f0f0;
  color: #3c3c3c;
  position: relative;
  margin-top: 15px;
}

.hexa:before{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-bottom: 15px solid #f0f0f0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  top: -15px;
}

.hexa:after{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 15px solid #f0f0f0;
  bottom: -15px;
}

.timeline {
  position: relative;
  padding: 0;
  width: 100%;
  margin-top: 40px;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: -10px;
  content: ' ';
  display: block;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: rgb(213,213,213);
  background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  z-index: 5;
}

.timeline li {
  padding: 2em 0;
	font-size: 1.3rem;
}

.desc li {
	margin-bottom: 0;
	padding: 0.5em 0;
	list-style: inside;
}

.timeline .hexa{
  width: 16px;
  height: 10px;
  position: absolute;
  background: #00c4f3;
  z-index: 5;
  left: 0;
  right: 0;
  margin-left:auto;
  margin-right:auto;
  top: -30px;
  margin-top: 0;
}

@-webkit-keyframes pulse {
  0% { box-shadow:0 0 8px 1px #1accf7, inset 0 0 8px #01c4f3; }
  50% { box-shadow:0 0 16px 4px #1accf7, inset 0 0 14px #01c4f3; }
  100% { box-shadow:0 0 8px 1px #1accf7, inset 0 0 8px #01c4f3; }
}

.hexa.glowing {
	box-shadow: 0 0 8px #21087f, inset 0 0 8px #01c4f3;
	-webkit-animation: pulse 2s linear 0.5s infinite;
}

.timeline .hexa:before {
  border-bottom: 4px solid #00c4f3;
  border-left-width: 8px;
  border-right-width: 8px;
  top: -4px;
}

.timeline .hexa:after {
  border-left-width: 8px;
  border-right-width: 8px;
  border-top: 4px solid #00c4f3;
  bottom: -4px;
}

.direction-l,
.direction-r {
  float: none;
  width: 100%;
  text-align: 1accf7;
}

.flag-wrapper {
  text-align: center;
  position: relative;
}

.flag {
  position: relative;
  display: inline;
  background: rgb(255,255,255);
  font-weight: 600;
  z-index: 15;
  padding: 6px 10px;
  text-align: left;
  border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  height: 0;
  width: 0;
  margin-left: -8px;
  border: solid transparent;
  border-bottom-color: rgb(255,255,255);
  border-width: 8px;
  pointer-events: none;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.time-wrapper {
  display: block;
  position: relative;
  margin: 4px 0 0 0;
  z-index: 14;
  line-height: 1em;
  vertical-align: middle;
  color: #fff;
}

.direction-l .time-wrapper {
  float: none;
}

.direction-r .time-wrapper {
  float: none;
}

.time {
  background: #00c4f3;
  display: inline-block;
  padding: 8px;
}

.desc {
  position: relative;
  margin: 1em 0 0 0;
  padding: 1em;
  background: rgb(254,254,254);
  -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
  -moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
  box-shadow: 0 0 1px rgba(0,0,0,0.20);
  z-index: 15;
	text-align: left;
}

.direction-l .desc,
.direction-r .desc {
  position: relative;
  margin: 1em 1em 0 1em;
  padding: 1em;
  z-index: 15;
}

.logo-image:hover {
	transform: scale(0.9);
	-webkit-transform: scale(0.9);
}

@media(min-width: 768px){
  .timeline {
    width: 660px;
    margin: 0 auto;
    margin-top: 40px;
  }

  .timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  
  .timeline .hexa {
    left: -28px;
    right: auto;
    top: 8px;
  }

  .timeline .direction-l .hexa {
    left: auto;
    right: -28px;
  }

  .direction-l {
    position: relative;
    width: 310px;
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 310px;
    float: right;
    text-align: left;
  }

  .flag-wrapper {
    display: inline-block;
  }
  
  .flag {
    font-size: 18px;
  }

  .direction-l .flag:after {
    left: auto;
    right: -16px;
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(254,254,254);
    border-width: 8px;
  }

  .direction-r .flag:after {
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(254,254,254);
    border-width: 8px;
    left: -8px;
  }

  .time-wrapper {
    display: inline;
    vertical-align: middle;
    margin: 0;
  }

  .direction-l .time-wrapper {
    float: left;
  }

  .direction-r .time-wrapper {
    float: right;
  }

  .time {
    padding: 5px 10px;
  }

  .direction-r .desc {
    margin: 1em 0 0 0.75em;
  }
}

@media(min-width: 992px){
  .timeline {
    width: 800px;
    margin: 0 auto;
    margin-top: 40px;
  }

  .direction-l {
    position: relative;
    width: 380px;
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 380px;
    float: right;
    text-align: left;
  }
}


/* Portfolio pages */

.mobile-hero {
	display: block;
	height: 360px;
	margin: 10px auto;
}

.port-header {
	font-family: "Work Sans", "Raleway";
	font-weight: 800;
	color: #2f3c3a;
	margin-bottom: 5rem;
}

.caption {
	text-align: center;
	color: #ababab;
	font-style: italic;
	font-size: 1.2rem;
}

.four.columns.wireframes, .three.columns.wireframes {
		margin-top: 1.5rem;
}

@media (max-width: 550px) {
	.four.columns.wireframes, .three.columns.wireframes {
		width: 48%;
	}
}

.four.columns.wireframes:nth-child(even), .three.columns.wireframes:nth-child(even) {
	margin-left: 2%;
}

.profile_anim {
	text-align: center;
}
@media (min-width: 550px) {
  .profile_anim {
	text-align: left;
	}
}
@media (min-width: 750px) {
	 .four.columns.wireframes {
		 width: 30.6666666667%;
	 }
	 .three.columns.wireframes {
		 width: 22%;
	 }
	 .caption {
		 font-size: 1.5rem;
	 }
}

/* Larger than phablet (also point when grid becomes active) */
@media (max-width: 550px) {
	.mobile-column { 
		width: 48%;
	}
	.mobile-column:nth-child(even) {
		margin-left: 2%;
	}

}
/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/


/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {
}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}
