@font-face {
  font-family: 'icomoon';
  src:url('../fonts/icomoon.eot');
  src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.woff') format('woff'),
    url('../fonts/icomoon.ttf') format('truetype'),
    url('../fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-behance:before {
  content: "\e900";
  color: #fff;
}
.icon-dribble:before {
  content: "\e901";
  color: #fff;
}
.icon-facebook:before {
  content: "\e902";
  color: #fff;
}
.icon-google:before {
  content: "\e903";
  color: #fff;
}
.icon-instagram:before {
  content: "\e904";
  color: #fff;
}
.icon-linkedin:before {
  content: "\e905";
  color: #fff;
}
.icon-twitter:before {
  content: "\e906";
  color: #fff;
}
.icon-vimeo:before {
  content: "\e907";
  color: #fff;
}
.social-bar {
  /*float: left;*/
  text-align: center;
}
.social {
  position: relative;
  font-size: 1rem;
  top: 0px;
  padding-right: 0.5rem;
}
.social-list {
  box-sizing: border-box;
  padding: 0;
}
.social-list li {
  box-sizing: border-box;
  display: inline-block;
}
.social-list li span {
  font-size: 1.8rem;
  vertical-align: middle;
  padding: 0 0.15rem;
}


body {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: normal;
  background: #EEE;
  line-height: 1.5rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  color: #3F6494;
}
h2 {
  font-size: 2rem;
  margin: 1rem 0;
}
:focus {
  outline-color: transparent;
  outline-style: none;
}
h2 + p {
  margin: 0 0 2rem 0;
}
a {
  text-decoration: none;
  color: #616161;
  padding: 0 0 0.2rem 0;
  font-weight: bold;
}
a:hover {
  /*color: #007FFF;*/
}
pre {
  overflow-x: auto;
  padding: 1.25em;
  border: 1px solid #e6e6e6;
  border-left-width: 5px;
  margin: 1.6em 0;
  font-size: 0.875em;
  background: #fcfcfc;
  white-space: pre;
  word-wrap: normal;
}
code {
  color: #007FFF;
}

.bold {
  font-weight: bold;
}
.italic {
  font-style: italic;
}

.works h1, .works h2, .works h3, .works h4, .works p {
  text-align: left;
}
.works > div {
  margin-bottom: 1rem;
}

.smaller-works > div {
  margin-bottom: 1rem;
}
.smaller-works h2 {
  padding-bottom: 0.85rem;
}
.smaller-works h4 {
  margin: 1.2rem 0 0 0;
  padding-bottom: 0.8rem;
  line-height: 0.6rem;
}
.smaller-works p, .smaller-works h4 {
  text-align: left;
}

.blog-header .box h1 {
  font-size: 2rem;
  line-height: 2.4rem;
}

.blog-text h1, .blog-text p {
  text-align: left;
}

.text-align-center {
  text-align: center !important;
  color: #fff;
}

.quote h1 {
  font-size: 2rem;
  line-height: 3rem;
  font-weight: normal;
  font-style: italic;
  text-align: left;
}
.quote h1.right {
  text-align: right;
}

.downloads {
  margin-top: 1.4rem;
  margin-bottom: 1rem;
}
.downloads .box-row a {
  font-weight: normal;
  /*font-style: italic;*/
  line-height: 0.50rem;
}
.downloads .box-row a:hover {
  transition: color 0.2s ease-in;
  color: #3F6494;
}

.team-members .box-row p {
  color: #616161;
  font-weight: normal;
  line-height: 0.50rem;
}
.team-members .box-row a p:hover {
  transition: color 0.2s ease-in;
  color: #3F6494;
}

.organisations .box-row h1 {
  /*color: #616161;*/
}


/* Fonts */

.box .keywords {
  font-size: 0.8em;
  color: #888888;
  line-height: 1.2rem;
  font-weight: bold;
}


/* Theme Colors */
.white-background {
  background-color: #FFF;
}

.dark-grey-background{
  background-color: #333333;
}
.dark-grey {
  color: #616161;
}
.light-grey-background {
  background-color: #616161;
}
.light-grey {
  color: #616161;
}

.blue-background {
  background: #3F6494;
}
.blue-color {
  color: #3F6494;
}

.teal-background {
  background: #20B1BF;
}
.teal-color {
  color: #20B1BF;
}

.orange-background {
  background: #FFAC61;
}
.orange-color {
  color: #FFAC61;
}

.brown-background {
  background: #BD7F47;
}
.brown-color {
  color: #BD7F47;
}


/* General Layout */

.layout {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.page-nav {
  box-sizing: border-box;
  position: fixed;
  padding: 0.5rem;
  width: 100%;
  background: transparent;
}
.page {
  z-index: 0;
  background: #FFF;
}
.wrap {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}
.page-section {
  padding-top: 3rem;
  margin-bottom: 3rem;
}
.page-section-bottom {
  padding-top: 2rem;
  margin-bottom: 0;
}
.page-features {
  width: 100%;
  background: hsl(209, 100%, 10%);
  overflow: scroll;
}

.float-left {
  float: left;
}

.social-bar {
  padding: 0.65rem 0;
}
.social-bar .box {
  background: transparent;
  text-align: center;
}
.social-bar h3 {
  color: #FFF;
}


/* Menu Layout */

.menu-button {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  box-sizing: border-box;
  padding: 0.45rem;
  height: 3rem;
  width: 3rem;
  background: #FFF;
  border: 1px solid transparent;
  user-select: none;
}
.menu-button:hover {
  border: 1px solid #007FFF;
  border-radius: 2px;
}
.menu-button:active {
  background: #EEE;
  border: 1px solid transparent;
}
.open {
  transform: translate3d(-15rem, 0, 0);
}
.menu-button-icon {
  width: 2rem;
  height: 2rem;
}
.slide-menu {
  display: block;
  position: fixed;
  overflow: auto;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 250px;
}

/* Hero */
.hero {
  box-sizing: border-box;
  padding: 2rem;
  background: #FFF;
  border: 1px solid #FFF;
  border-radius: 2px;
}
.hero-headline {
  font-size: 2rem;
  white-space: nowrap;
  margin: 1.1rem 0 0 0;
}
.box .hero-copy {
  box-sizing: border-box;
  font-size: 1.4rem;
  line-height: 2rem;
  margin-bottom: 0;
  padding: 1rem 0 0 0;
  text-align: center;
  color: #616161;
}

/* Links */
.menu {
  box-sizing: border-box;
  /*padding-bottom: 2rem;*/
  padding: 1.2rem;
  /*background: hsl(209, 100%, 10%);*/
  background: #FFF;
  /*border-bottom: 3px solid rgba(0,0,0,0.1);*/
  /*box-shadow: 0 4px 4px rgba(0,0,0,0.1);*/
}
.menu-header {
  box-sizing: border-box;
  padding: 3rem 3rem 0 3rem;
  color: #eee;
}
.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-list-item {
  box-sizing: border-box;
  display: inline-block;
  height: 3rem;
  line-height: 3rem;
  font-size: 1rem;
  color: #616161;
  background: transparent;
  transition: all .2s ease-in;
}
.menu-link {
  box-sizing: border-box;
  /*padding-right: 3rem;*/
  padding: 0 2rem;
  display: block;
  color: #616161;
  transition: color 0.2s ease-in;
}
.menu-link:hover {
  border-bottom: none;
}

#author {
  padding-right: 0;
  /*padding-left: 3rem;*/
}
#author span {
  padding-bottom: 0.5rem;
  background-image: linear-gradient(to right, #3F6494 25%, #20B1BF 25%, #20B1BF 50%, #FFAC61 50%, #FFAC61 75%, #BD7F47 75%);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0% 100%;
  transition: color 0.2s ease-in;
}
#author span:hover {
  color: #3F6494;
}

#work {
  transition: color 0.2s ease-in;
}
#work span:hover {
  padding-bottom: 0.5rem;
  color: #3F6494;
  border-bottom: 2px solid #3F6494;
  transition: color 0.2s ease-in;
}
#about {
  transition: color 0.2s ease-in;
}
#about span:hover {
  padding-bottom: 0.5rem;
  color: #20B1BF;
  border-bottom: 2px solid #20B1BF;
  transition: color 0.2s ease-in;
}
#cv {
  transition: color 0.2s ease-in;
}
#cv span:hover {
  padding-bottom: 0.5rem;
  color: #FFAC61;
  border-bottom: 2px solid #FFAC61;
  transition: color 0.2s ease-in;
}
#contact {
  transition: color 0.2s ease-in;
}
#contact span:hover {
  padding-bottom: 0.5rem;
  color: #BD7F47;
  border-bottom: 2px solid #BD7F47;
  transition: color 0.2s ease-in;
}
.link-top {
  align-self: flex-end;
  color: #3F6494;
  /*padding-bottom: 3rem;*/
}

.case-link a {
  color: #3F6494;
  line-height: 1.4rem;
}

.copyright-link {
  font-weight: normal;
  text-decoration: underline;
}

/* Buttons */
.button {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  min-width: 11rem;
  padding: 0 4rem;
  margin: 1rem;
  height: 3rem;
  line-height: 3rem;
  border: 1px solid #007FFF;
  border-radius: 2px;
  color: #007FFF;
  font-size: 1.25rem;
  transition: background-color, 0.15s;
}
.button:hover {
  background: #3399FF;
  border-color: #3399FF;
  color: #FFF;
  text-shadow: 0 1px #007FFF;
}
.button:active {
  background: #007FFF;
  color: #FFF;
  border-top: 2px solid #0066CC;
}


/* Box Layout */

.box-row,
.box-first,
.box-nested,
.box-large,
.box {
  box-sizing: border-box;
  position: relative;
  box-sizing: border-box;
  min-height: 1rem;
  margin-bottom: 0;
  background: #FFF;
  overflow: hidden;
  /*text-align: center;*/
  color: white;
}
.box {
  padding: 0 1rem;
}
.box-row {
  margin-bottom: 1rem;
}
.full-height {
  height: 100%;
}
.works {
  margin-bottom: 1rem;
}
.smaller-works {
  padding: 2rem 0;
}
.blog-header {
  margin-bottom: 0;
}
.organisations .box-row {
  margin-top: 1.4rem;
  margin-bottom: 0.50rem; 
}
.organisation-logo {
  box-sizing: border-box;
  margin: 0 1rem;
}
.box-first {
  background: #0066CC;
  border-color: #007FFF;
}
.box-nested {
  background: #003366;
  border-color: #007FFF;
}
.box-large {
  height: 8rem;
}
.box-container {
  box-sizing: border-box;
  padding: 0.5rem;
}
.box-row .project-img img {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.box-row .project-img p {
  text-align: left;
  margin: 0;
  padding: 0;
  color: #616161;
  line-height: 0.95rem;
  font-size: 0.85rem;
}
.box p {
  color: #616161;
  font-size: 1.05em;
}

.video {
  width: 100%;
}
.video-description {
  margin-top: 0.55rem;
}
.box-row .project-img .image-description {
  margin-top: 0.25rem;
  font-style: italic;
}

.no-overflow {
  overflow: hidden;
  /*padding: 1rem 0;*/
}
.shadow {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: visible;
}
.page-footer {
  box-sizing: border-box;
  padding-bottom: 10rem;
}
.tag {
  color: #000;
  font-weight: normal;
}
.end {
  text-align: end;
}
.invisible-xs {
  display: none;
  visibility: hidden;
}
.visible-xs {
  display: block;
  visibility: visible;
}

#about-me p {
  font-size: 1.10rem;
  line-height: 1.7rem;
}

/* Form */

table tbody tr td {
  width: 100%;
  display: inline-block;
  text-align: left;
  color: #BD7F47;
  font-weight: bold;
  padding: 0.5rem 0 0.1rem 0;
}

input {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 1rem;
  border-style: none;
  border: 1px solid #61616138;
  font-size: 1rem;
}

.submit-button input {
  width: 10rem;
  padding: 0.7rem;
  line-height: 1.4rem;
  box-sizing: border-box;
  display: block;
  color: #fff;
  font-weight: bold;
  background-color: #616161;
  cursor: pointer;
  border-radius: 0.6rem;
}

.submit-button input:hover {
  transition: background-color 0.1s ease-in;
  background-color: #BD7F47;
}

textarea {
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
  padding: 1rem;
  border-style: none;
  border: 1px solid #61616138;
  font-size: 1rem;
}


/* Media Queries */

@media only screen and (min-width: 48rem) {
  body {
    font-size: 16px;
  }
  .slide-menu {
    width: 25%;
  }
  .open {
    transform: translate3d(0, 0, 0);
  }
  .hero-headline {
    font-size: 5rem;
    margin-bottom: 2rem;
  }
  .box .hero-copy {
    font-size: 1.25rem;
    padding: 2rem 2rem 1rem 2rem;
    line-height: 2.2rem;
    margin-bottom: 1rem;
  }
  .social {
    font-size: 1.17rem;
    top: 1px;
    padding-right: 0.5rem;
  }
  .social-list li span {
    font-size: 2rem;
    vertical-align: middle;
    padding: 0 0.15rem;
  }
  /*.box-row,*/
  .box-first,
  .box-nested,
  .box-large,
  .box {
    padding: 0 1rem;
  }
  .invisible-md {
    display: none;
    visibility: hidden;
  }
  .visible-md {
    display: block;
    visibility: visible;
  }
}
