*, *:after, *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:before, .clearfix:after {
  display: table;
  content: '';
}

.clearfix:after {
  clear: both;
}

body {
  background: #090909;
  color: #8a8a8a;
  font-weight: 400;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  overflow-y: scroll;
  /* force scroll to appear */
}
::selection {
  background: #000000; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #000000; /* Gecko Browsers */
}

::selection {
  background: rgba(7,132,195,0.2) /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: rgba(7,132,195,0.2) /* Gecko Browsers */
}


html, body, .container, .main {
  height: 100vh;
}

/* helper class when showing content */
.noscroll {
  overflow: hidden;
}

a {
  outline: none;
  color: #0784c3;
  text-decoration: none;
}

a:hover,
a:focus {
  outline: none;
}

button:focus {
  outline: none;
}


/* Homepage */
.hero {
  background-color: #090909;
  background-image: url(../img/casper-odendaal2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-attachment: fixed;
}
.homewrap {
  width: 100%;
  max-width: 1920px;
  padding: 100px;
  margin: 0 auto;
  position: relative;
}
.topwrap {
  margin-top:10%;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative; 
}
.me {
  float: left;
  opacity: 0;
  font-size: 8em;
  line-height: 1;
  clear: left;
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: #323232;
  color: #4b4b4b;
  overflow: hidden;

  -webkit-animation: reveal 1.25s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
     -moz-animation: reveal 1.25s ease-in 1 normal forwards;
       -o-animation: reveal 1.25s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
          animation: reveal 1.25s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;

}
.animate-first {
  -webkit-animation-delay: 0ms;
     -moz-animation-delay: 0ms;
       -o-animation-delay: 0ms;
          animation-delay: 0ms;
}

.animate-second {
  -webkit-animation-delay: 200ms;
     -moz-animation-delay: 200ms;
       -o-animation-delay: 200ms;
          animation-delay: 200ms;
}
@-webkit-keyframes reveal {
  0% {
    opacity: 0;
    -webkit-transform: translateY(75%);
       -moz-transform: translateY(75%);
         -o-transform: translateY(75%);
            transform: translateY(75%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
  }
}

@-moz-keyframes reveal {
  0% {
    opacity: 0;
    -webkit-transform: translateY(75%);
       -moz-transform: translateY(75%);
         -o-transform: translateY(75%);
            transform: translateY(75%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
  }
}

@-o-keyframes reveal {
  0% {
    opacity: 0;
    -webkit-transform: translateY(75%);
       -moz-transform: translateY(75%);
         -o-transform: translateY(75%);
            transform: translateY(75%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes reveal {
  0% {
    opacity: 0;
    -webkit-transform: translateY(75%);
       -moz-transform: translateY(75%);
         -o-transform: translateY(75%);
            transform: translateY(75%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
  }
}
.whatido {
  float: right;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(-90deg);
  transform-origin: 40% 20%;
  font-size: 1.5em;
  padding-top: 100px;
  text-transform: uppercase;
  font-weight: 700;
  color: #4b4b4b;
}
.bottomwrap {
  position: absolute;
  bottom:80px;
  width: 100%;
  margin:0 auto;
}
.bottominner {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  height: auto;
  overflow: hidden;
  padding: 40px 100px;
}
.otherstuff {
  float: left;
  width: 70%;
  display: block;
  font-size: 16px;
  line-height: 22px;
  color: #4b4b4b;
}
.otherstuff span {
  padding: 0 5px;
}
.otherstuff a {
  color: #e02f32;
}
.work-wrap {
  float: right;
  text-align: right;
  margin-right: 10px;
}
.work {
  float: right;
  text-align: right;
  margin-right:10px;
  color: #e02f32;
}
.work a {
  color: #e02f32;
  transition: all 0.2s ease-in-out;
}
.work-bar {
    width: 200px;
    float: left;
    margin-top:10px;
    margin-right:20px;
}
.work-bar span {
    background: #e02f32;
    height: 1px;
    display: block;
}
.work-bar span {
    -webkit-animation: lineanimate 1s ease forwards;
}
.work-bar .lineanimate {
    width: 100%;
}
@-webkit-keyframes lineanimate {
    from { width: 0%; }
    to { width: 100%; }
}
.fadeDelay {
  animation-delay: 0.4s;
  -webkit-animation-delay: 0.4s;
}
.work a:hover {
  margin-left:5px;
}


/* Sidebar */
.sidebar {
  text-align: left;
  background: #0d0d0d;
  z-index: 1000;
  position: fixed;
  width: 300px;
  max-width: 100%;
  height: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 2em;
  border-right: solid 1px #2f2f2f;
  transition: all 0.3s;
}

.sidebar h1 {
    margin: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    /*opacity: 0.5;*/
    transform: rotate(270deg);
    transform-origin: 40% -16%;
    font-size: 60px;
    line-height: 60px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #0784c3;
    color: #4b4b4b;
}
.sidebar p {
    font-size: 18px;
    line-height: 28px;
    color: #6d6d6d;

}

.sidebar h1 span {
  display: block;
}

.sidebar h1 span:last-child {
  font-size: 0.35em;
  line-height: 1.8;
  font-weight: 300;
}
video {
  width: 100%    !important;
  height: auto   !important;
}
.footnote {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  padding: 40px 80px;
  width: 100%;
  font-weight: 300;
  font-style: italic;
}
/* Main content */
.main {
  position: relative;
  z-index: 50;
}

/* Grid container */
.grid {
  position: relative;
}

/* Overlay */
.grid::after {
  content: '';
  background: rgba(202, 202, 202, 0.4);
  opacity: 0;
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.view-single .grid::after {
  opacity: 1;
}

/* Top bar above the grid */
.top-bar {
  background: #fff;
  width: 100%;
  line-height: 1;
  padding: 15px 15px 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.top-bar__headline {
  margin: 0;
  font-size: 0.75em;
}

/* Menu button for toggling the sidebar (appears on small screen) */
.menu-toggle {
  position: fixed;
  z-index: 100;
  display: block;
  width: 25px;
  height: 25px;
  top: 18px;
  left: 20px;
  cursor: pointer;
  background: none;
  border: none;
  display: none;
  margin: -2px 15px 0 0;
  transition: all 0.3s;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  font-size: 0px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.menu-toggle span:before,
.menu-toggle span:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  content: '';
}

.menu-toggle span:before {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}

.menu-toggle span:after {
  -webkit-transform: translateY(7px);
  transform: translateY(7px);
}


/* Grid item */
.grid__item {
  padding: 45px 55px 30px;
  position: relative;
  color: inherit;
  background-color: #0d0d0d;
  min-height: 460px;
  cursor: pointer;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFFFFF;
  /*-webkit-filter: grayscale(0.9);
  -webkit-filter: grayscale(90%);
  filter: gray;
  filter: grayscale(90%);*/
  /*transition: all 1s ease-in-out;*/
}

.grid__item:hover {
  transition: all 0.25s ease-in-out;
  cursor: pointer !important;
  -webkit-filter: none;
  -webkit-filter: none;
  filter: none;
  filter: none;
}

/* Grid item "border" */
.grid__item::before {
  position: absolute;
  content: '';
  top: 0px;
  right: 55px;
  bottom: 0px;
  left: 55px;
  border-bottom: 1px solid rgba(74, 74, 74, 0.075);
}

.grid__item * {
  z-index: 10;
}

/* grid item element and full content element styles */
.title {
  margin: 0;
  font-size: 1.875em;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

.title--preview {
  /*-webkit-flex: 0.1;
  flex: 0.1;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;*/
  width: 100%;
}

.loader {
  height: 1px;
  width: 40%;
  margin: 2em auto;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
}

.loader::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #0784c3;
  left: 0;
  top: -1px;
  -webkit-transform: scale3d(0, 1, 1);
  transform: scale3d(0, 1, 1);
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
}

.grid__item--loading .loader::before {
  -webkit-transition: -webkit-transform 0.75s;
  transition: transform 0.75s;
  -webkit-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

.category {
  margin: 0;
  position: relative;
  font-size: 0.95em;
  line-height: 1.5;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  text-align: center;
  display: block;
}

.title--preview,
.loader,
.category {
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

/* closing (delays) */
.title--preview {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

.loader {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.grid__item .category {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

/* opening */
.grid__item--animate .title--preview {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  opacity: 0;
  -webkit-transform: translate3d(0, -20px, 0);
  transform: translate3d(0, -20px, 0);
}

.grid__item--animate .loader {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  opacity: 0;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

.grid__item--animate .category {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
  opacity: 0;
  -webkit-transform: translate3d(0, -40px, 0);
  transform: translate3d(0, -40px, 0);
}

.meta {
  font-size: 0.765em;
  text-align: left;
}

.meta .fa {
  margin-right: 4px;
}

.meta:before, .meta:after {
  display: table;
  content: '';
}

.meta:after {
  clear: both;
}

.meta__avatar {
  display: block;
  border-radius: 50%;
  margin: 2em auto;
}

.meta--preview .meta__avatar {
  -webkit-filter: grayscale(50%);
  filter: grayscale(50%);
}

.grid__item:hover .meta--preview .meta__avatar,
.grid__item:focus .meta--preview .meta__avatar {
  -webkit-filter: none;
  filter: none;
}

.meta__date,
.meta__reading-time {
  display: block;
  float: left;
  color: #aaa;
}

.meta__reading-time {
  text-align: right;
  float: right;
}

.meta__misc {
  display: block;
  clear: both;
  text-align: left;
  padding: 5px 0;
}

.meta__misc--seperator {
  padding: 20px 0 0;
  margin: 65px 0 0;
  border-top: 1px solid #f5f5f5;
}

.article-nav {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.article-nav button {
  border: none;
  color: #81c483;
  background: none;
}

.article-nav button:hover {
  color: #333;
}

.meta--preview .meta__avatar,
.meta--preview .meta__date,
.meta--preview .meta__reading-time {
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

/* Placeholder element (dummy that gets animated when we click on an item) */
.placeholder {
  pointer-events: none;
  position: absolute;
  width: calc(100% + 5px);
  height: calc(100vh + 5px);
  z-index: 100;
  top: 0;
  left: 0;
  background: #0d0d0d;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.placeholder.placeholder--trans-in {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.placeholder.placeholder--trans-out {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

/* main content */
.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  height: 0;
  /* Avoid second scroll bar in Chrome! */
  visibility: hidden;
  z-index: 400;
  overflow: hidden;
}
ul.list {
  margin: 5px 0;
  padding: 5px 0 0 30px;
  clear: both;
}
ul.list li {
  margin: 0 0 5px;
  font-weight: 300;
  padding: 0 0 4px;
  color: #0784c3;
}
ul.list li span {
  color: #8a8a8a;
}
.content.content--show {
  height: 100vh;
  pointer-events: auto;
  visibility: visible;
}
.mockwrap {
  /*width: 100%;*/
  height: auto;
  overflow: hidden;
  margin-top:60px;
  margin-right:-80px;
  margin-left:-80px;
  float: left;
}
.mockwrap img {
  width: 100%;
  height: auto;
  display: block;
  margin:0;
}



/* scroll helper wrap */
.scroll-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/* single content item */
.content__item {
  position: absolute;
  top: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  height: 0;
  opacity: 0;
  padding: 80px 80px 0;
  pointer-events: none;
  font-size: 0.85em;
  background: #0d0d0d;
}
.content__item p {
  margin: 1em auto 0.25em;
  text-align: left;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  width: 75%;
  float: left;
}

.content__item.content__item--show {
  height: auto;
  min-height: 100vh;
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
  background: #0d0d0d;
}

/* content elements */
.category--full {
  font-size: 1.1em;
  color: #0784c3;
  text-align: left;
}

.title--full {
  font-size: 4em;
  line-height: 1;
  margin: 5px 0 15px 0;
  font-weight: 700;
  color: #FFFFFF;
}

.meta--full {
  font-size: 1em;
  margin: 0 auto 2em;
  max-width: 1200px;
}

.meta--full .meta__category {
  float: left;
  margin: 0 5px;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
}
.meta--full .meta__category::before {
  content: "in ";
}
.meta--full .meta__avatar {
  margin: 1em auto;
}

.category--full,
.title--full,
.meta--full .meta__avatar,
.meta--full .meta__author,
.meta--full .meta__date,
.meta--full .meta__reading-time {
  opacity: 0;
}

.content__item p,
.content__item img, 
.content__item ul.list,
.content__item video {
  opacity: 0;
}

.category--full,
.title--full {
  -webkit-transform: translate3d(0, 40px, 0);
  transform: translate3d(0, 40px, 0);
}

.meta--full .meta__avatar,
.meta--full .meta__author,
.meta--full .meta__date,
.meta--full .meta__reading-time {
  -webkit-transform: scale3d(0.5, 0.5, 1);
  transform: scale3d(0.5, 0.5, 1);
}

.content__item--show .category--full,
.content__item--show .title--full,
.content__item--show .meta--full .meta__avatar,
.content__item--show .meta--full .meta__author,
.content__item--show .meta--full .meta__date,
.content__item--show .meta--full .meta__reading-time {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.content__item--show .category--full,
.content__item--show .title--full {
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.content__item--show .title--full {
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
}

.content__item--show .meta--full .meta__avatar {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.content__item--show .meta--full .meta__date {
  -webkit-transition-delay: 0.27s;
  transition-delay: 0.27s;
}

.content__item--show .meta--full .meta__reading-time {
  -webkit-transition-delay: 0.34s;
  transition-delay: 0.34s;
}

.content__item--show p, .content__item--show img, .content__item--show ul.list, .content__item--show video {
  opacity: 1;
  -webkit-transition: opacity 0.5s 0.25s;
  transition: opacity 0.5s 0.25s;
}

/* close button (for content and sidebar) */
.close-button {
  position: absolute;
  border: none;
  background: none;
  margin: 0;
  z-index: 100;
  top: 0px;
  left: 0px;
  background-color: #0784c3;
  background-image: url(../img/back-arrow.svg);
  background-size: 30px;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ddd;
  cursor: pointer;
  pointer-events: none;
  width: 60px;
  height: 60px;
  opacity: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.close-button span {
  display: none;
}

.close-button:hover {
  background-position: center left 10px;
}

/* show class for content close button */
.close-button--show {
  opacity: 1;
  pointer-events: auto;
}
.button-left {
  background-position: center left 18px !important;
}
.vio-bg {
  background-image: url(../img/work/vio/vio-bg2.jpg);
}
.siemens-bg {
  background-image: url(../img/work/siemenscalendar/siemens-bg.jpg);
}
.sendr-bg {
  background-image: url(../img/work/sendr/sendr-bg.jpg);
}
.fta-bg {
  background-image: url(../img/work/foodandtrees/fta-bg.jpg);
}
.ebuki-bg {
  background-image: url(../img/work/ebuki/ebuki-bg.jpg);
}
.elearning-bg {
  background-image: url(../img/work/visaelearning/elearning-bg.jpg);
}
.vca-bg {
  background-image: url(../img/work/visacards/vca-bg.jpg);
}
.exploreikasi-bg {
  background-image: url(../img/work/exploreikasi/exploreikasi-bg.jpg);
}
.lions-bg {
  background-image: url(../img/work/lionshockeyclub/lions-bg.jpg);
}
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}
.formwrap {
  background-color: #FFFFFF;
  width:340px;
  height: auto;
  overflow: hidden;
  margin: 15% auto 0;
  padding:20px;
  font-size: 20px;
  text-align: left;
  color: #0d0d0d;
  border-radius: 4px;
  box-shadow: 0px 10px 50px rgba(0,0,0,0.5)
}
.formwrap p {
  font-size: 14px;
  line-height: 18px;
  margin:10px 0 0;
  color: #666666;
}
.formwrap a {
  color: #0784c3;
  transition: all 0.2s;
  border-bottom: dotted 1px #ffffff; 
}
.formwrap a:hover {
  border-bottom: dotted 1px #0784c3;
}
.form-divide {
  width:100%;
  height: 1px;
  background-color: #dcdcdc;
  clear: both;
  margin:0 0 20px;
}
.pw-input {
  width: 80%;
  float: left;
  color: #0784c3;
  background-color: transparent;
  border:none;
  margin: 20px 0;
  padding: 20px 0;
  font-size: 2.2em;
  border-bottom: solid 1px #8a8a8a;
}
.form-wrap {
  width: 100%;
  margin-top:10%;
  font-size: 1.5em;
  height: auto;
  overflow: hidden;
}
:focus {
  outline: none;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #0784c3;
  /*opacity: 0.5;*/
}
::-moz-placeholder { /* Firefox 19+ */
  color: #0784c3;
  /*opacity: 0.5;*/
}
:-ms-input-placeholder { /* IE 10+ */
  color: #0784c3;
  /*opacity: 0.5;*/
}
:-moz-placeholder { /* Firefox 18- */
  color: #0784c3;
  /*opacity: 0.5;*/
}
/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: none;
  -webkit-text-fill-color: rgba(7,132,195,1);
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
  border-bottom: solid 1px #8a8a8a;

}
.pw-button {
  float: left;
  width: 20%;
  max-width: 120px;
  background-color: #0784c3;
  color: #FFFFFF;
  padding:20px 10px;
  border:none;
  display: block;
  margin: 40px 0 40px 40px;
  font-size: 24px;
  line-height: 30px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}
.pw-button:hover {
  background-color: #0784c3;
  cursor: pointer;
}
a.connect {
  display: block;
  width:100%;
  font-size: 16px;
  opacity: 0.5;
  margin:4px 0 0;
  transition: all 0.2s;
  color: #FFFFFF;
  padding-left:20px;
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center left;
}
a.email {
  background-image: url(../img/email.svg);
} 
a.facebook {
  background-image: url(../img/facebook.svg);
}
a.instagram {
  background-image: url(../img/instagram.svg);
}
a.twitter {
  background-image: url(../img/twitter.svg);
}
a.connect:hover {
  opacity: 1;
  padding-left:23px;
}


/* Viewport sizes based on column number and sidebar */
/* 1 column */
/* 2 columns */
/* 3 columns */
/* 4 columns */
/* 5 columns */
/* 6 columns */
@media screen and (min-width: 800px) {
  html,
  body,
  .container,
  .main {
    height: 100vh;
  }

  .main {
    height: 100%;
    margin-left: 300px;
  }

  .content__item {
    font-size: 1em;
  }

  .grid__item {
    padding: 45px 45px 30px;
  }

  
}
@media screen and (min-width: 900px) {
  .grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  /* 2 columns */
  .grid__item {
    width: 50%;
    border: none;
    transition: all 0.3s;
  }

  .grid__item::before {
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 1px solid rgba(74, 74, 74, 0.075);
    -webkit-transition: opacity 0.3s;
    transition: all 0.3s;
  }

  .grid__item:hover::before,
  .grid__item:focus::before {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border: 3px solid rgba(61, 161, 220, 1);
  }

  .grid__item--loading.grid__item::before {
    opacity: 0;
  }
}


@media screen and (min-width: 1500px) {
  /* 4 columns */
  .grid__item {
    width: 50%;
  }
}
@media screen and (min-width: 1800px) {
  .grid__item {
    width: 33.33333%;
    min-height: 500px;
  }
}
/*@media screen and (min-width: 2100px) {
   6 columns 
  .grid__item {
    width: 16.66%;
  }
}*/


@media screen and (max-width: 1400px) {
  .otherstuff {
    width: 70%;
    font-size: 14px;
  }
  .work-bar {
      width: 200px;
  }
  .homewrap {
    padding: 40px;
  }
  .bottominner {
    padding: 40px;
  }
  .topwrap {
    margin-top: 20%;
  }
}

@media screen and (max-width: 1280px) {
  .topwrap {
    margin-top: 24%;
  }
  .bottomwrap {
    position: relative;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
  }
  .me {
    font-size: 7em;
  }
  .whatido {
    transform-origin: 44% 20%;
    font-size: 1.3em;
  }
  .otherstuff {
    width: 100%;
    font-size: 16px;
    margin-top:40px;
  }
  .work-wrap {
    width: 100%;
    margin-right:0;
  }
  .work-bar {
      width: 200px;
  }
  .work {
    float: left;
    display: inline-block;
  }
}


@media screen and (max-width: 1200px) {
  .grid__item {
    min-height: 320px;
  }
  .content__item p {
    width: 100%;
  }
}

@media screen and (max-width: 940px) {
.me {
    font-size: 5em;
}
.whatido {
    float: left;
    width: 100%;
    transform-origin: 0;
    position: relative;
    right: 0;
    bottom: 0;
    transform: rotate(0deg);
    padding-top: 20px;
}
.bottominner {
    padding: 0 40px;
}
.pw-input {
  width: 100%;
}
.pw-button {
  width: 100%;
  max-width: 140px;
  float: right;
  background-color: #0784c3;
  padding: 20px;
  margin: 10px 0 80px;
}

}

/* small screen changes for sidebar (it becomes an off-canvas menu) */
@media screen and (max-width: 800px) {
  .sidebar {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    padding: 3em 2em;
  }

  .sidebar.sidebar--open {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  .sidebar.sidebar--open ~ .main {
    pointer-events: none;
  }

  .top-bar {
    padding: 22px 15px 10px 60px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .sidebar .close-button {
    opacity: 1;
    pointer-events: auto;
  }

  .title--full {
    font-size: 3em;
  }
  .content__item {
    padding: 80px 20px 0px;
  }
  .footnote {
    padding: 30px 20px;
    font-size: 12px;
  }
  
  .content .close-button {
    padding: 10px 20px;
  }

  .content .close-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 60px;
    pointer-events: none;
    z-index: -1;
  }
  .close-button {
    top: 0px;
    right: 0;
    left: 0px;
    background-position: left 15px center;
    width: 100%;
    height: 60px;
    background-color: #0d0d0d;
  }
  .close-button:hover {
    background-position: left 15px center;
  }
  .grid__item {
    width: 50%;
    float: left;
    min-height: 320px;
  }
  .mockwrap {
    margin-right: -20px;
    margin-left: -20px;
  }

}

@media screen and (max-width: 600px) {
  .grid__item {
    width: 100%;
    min-height: 380px;
  }
  .homewrap {
    padding: 20px;
  }
  .bottominner {
    padding: 20px;
  }
  .otherstuff span {
    display: none;
  }
  .otherstuff span.fullmob {
    width: 100%;
    display: block;
  }
  .me {
    font-size: 4em;
  }
  .pw-input {
    font-size: 1.8em;
  }
}


@media screen and (max-width: 430px) {
.me {
    font-size: 3em;
  }
  .pw-input {
    font-size: 1.2em;
  }
  .pw-button {
    font-size: 20px;
    padding: 15px;
    max-width: 120px;
  }
}


@media screen and (max-width: 400px) {
  .sidebar h1 {
    font-size: 70px;
    line-height: 70px;
  }
}

@media screen and (max-width: 360px) {
  .work-bar {
    width: 120px;
  }
  .me {
    font-size: 2.6em;
  }

}

@media screen and (max-width: 320px) {
  .sidebar h1 {
    font-size: 50px;
    line-height: 50px;
  }
  .topwrap {
    margin-top: 10%;
  }
}


body.view-single .sidebar {
  opacity: 0.3;
}


body.view-single .menu-toggle {
  display: none;
}
