/*
* Copyright 2014, Max Wihlborg
* www.maxwihlborg.com
*/
/* Table of Content
==================================================
  #Variables
  #Site Styles
  #Page Styles
  #Media Queries
  #Clearing */
/* #Variables
================================================== */
/* Color Variables */
/* #Site Styles
================================================== */
h1,
h2,
h3,
h4,
h5 {
  font-family: Verdana, Geneva, sans-serif;
  font-weight: normal;
}
h2 a {
  font-style: italic;
}
p {
  color: #363636;
  font-family: "Lucida Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  text-decoration: underline;
}
body,
html {
  height: 100%;
  min-height: 100%;
}
.fit {
  max-width: 100%;
  height: auto;
}
.content {
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 0;
}
.wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -100px;
}
#footer,
.push {
  height: 100px;
}
#footer {
  text-align: center;
  color: #222;
  overflow: hidden;
}
#footer p {
  padding: 0;
  margin: 0;
  font-weight: 100;
  color: #888;
  display: inline-block;
  margin-top: 20px;
}
hr {
  border: solid #ddd;
  border-width: 1px 0 0;
  clear: both;
  margin: 15px 0;
  height: 0;
}
#nav {
  position: fixed;
  background: #fff;
  width: 100%;
  width: 100vw;
  height: 50px;
  z-index: 10;
  box-shadow: 0px 0px 2px #999;
}
#nav a {
  text-decoration: none;
  font-weight: 100;
  font-size: 12px;
  line-height: 1;
  color: #888;
  text-transform: uppercase;
}
#nav .menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
#nav .menu ul {
  float: right;
  margin: 16px 0;
}
#nav .menu ul li {
  display: inline;
  list-style: none;
  padding: 0 25px;
}
#nav .menu svg {
  float: left;
  margin: 0px 10px 0px -40px;
  padding: 10px;
  border-right: 1px solid #e5e5e5;
  display: none;
}
#nav .menu .name {
  float: left;
  margin: 17px 7px;
}
#nav .menu .name img {
  float: left;
  width: 40px;
}
#nav .menu .name a {
  float: left;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  font-weight: 100;
  letter-spacing: 3px;
  font-size: 16px;
}
#nav .mob-menu {
  z-index: 20;
  position: fixed;
  background: #fff;
  height: 100%;
  height: 100vh;
  width: 240px;
  display: none;
  opacity: 0;
  box-shadow: 0px 0px 2px #999;
  border-right: 540px solid rgba(0,0,0,0.5);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  transition: opacity 0.2s;
}
#nav .mob-menu ul {
  padding: 0;
  margin: 0;
}
#nav .mob-menu ul li {
  list-style: none;
  border-bottom: 1px solid #e5e5e5;
  padding: 5px 10px;
}
#nav .mob-menu ul li a {
  color: #000;
}
/* #Page Styles
================================================== */
#hero {
  background: linear-gradient(#92d4ee, #a6dcf1);
  height: 100%;
  width: 100%;
  height: 100vh;
  width: 100vw;
}
#hero .text {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  margin-top: -83px;
  color: #fff;
  text-shadow: 5px 5px 1px rgba(0,0,0,0.05);
}
#hero .text h3 {
  font-size: 22px;
  font-weight: 100;
}
#hero .text h1 {
  font-family: "Lucida Sans", sans-serif;
  font-size: 80px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 4px;
}
#hero .text .roll-text {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
#hero .text .roll-text span {
  display: block;
  position: relative;
  top: 0;
  transition: top 1s;
}
#hero .text .roll-text span.hide {
  top: 35px;
}
#hero svg {
  position: absolute;
  margin: 0 auto;
  left: 0px;
  right: 0px;
  bottom: 20px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
#hero svg:hover {
  opacity: 1;
}
#contact {
  background-color: #87ceeb;
  text-align: center;
  color: #fff;
  padding: 20px 0;
}
#contact img {
  margin: 20px 0;
  opacity: 0.8;
}
#contact img:hover {
  opacity: 1;
}
#contact .icon {
  width: 50px;
}
#contact .icon.mr {
  margin-right: 50px;
}
.back {
  text-transform: uppercase;
  color: #333;
  display: inline-block;
  padding: 20px 0;
  margin: 10px auto 0;
}
.back:hover {
  text-decoration: none;
}
.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
}
.swipe-wrap {
  overflow: hidden;
  position: relative;
}
.swipe-wrap > div {
  float: left;
  width: 100%;
  position: relative;
}
.swipe-ctrl {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #e5e5e5;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
}
.swipe-ctrl.active {
  background: #222;
}
.msnry {
  width: 1260px;
  margin: 0 auto;
}
.msnry .el {
  overflow: hidden;
  position: relative;
  width: 300px;
  height: 168px;
  border: 1px solid #aaa;
  margin: -1px;
  margin-bottom: 19px;
  box-shadow: 1px 1px 1px #e5e5e5;
}
.msnry .el .info {
  position: absolute;
  color: #fff;
  background: #87ceeb;
  width: 100%;
  height: 100%;
  display: block;
  bottom: -100%;
  left: 0;
  transition: bottom 0.5s;
}
.msnry .el .info h3,
.msnry .el .info p {
  margin: 10px;
}
.msnry .el img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  transition: top 0.5s;
}
.msnry .el:hover img {
  top: -50%;
}
.msnry .el:hover .info {
  bottom: 0px;
}
.msnry .el.w2,
.msnry .el.s2 {
  width: 620px;
}
.msnry .el.h2,
.msnry .el.s2 {
  height: 356px;
}
.msnry .el.h2 img {
  width: auto;
}
.msnry .el.w2 img {
  height: auto;
}
#about .avatar {
  position: absolute;
  right: 0;
}
#about .about-info {
  float: left;
  width: 660px;
}
.post-row {
  margin-right: -15px;
}
.post-row .post {
  width: 310px;
  margin-right: 15px;
  float: left;
}
.post-row .post .crop {
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  float: left;
}
.meta header h3 {
  margin: 0;
}
.meta .info {
  font-size: 0.8em;
}
.post-big img {
  display: block;
  float: left;
  width: 420px;
}
.post-big .meta {
  float: left;
  margin-left: 15px;
  width: 525px;
}
#swiper {
  margin: 0 -5px;
}
.swipe-experiment {
  margin: 0 5px;
}
.swipe-experiment img {
  display: block;
  float: left;
  width: 620px;
}
.swipe-experiment .meta {
  float: left;
  margin-left: 15px;
  width: 325px;
}
.blog-post {
  padding: 80px 0;
  max-width: 640px;
  margin: 0 auto;
}
.blog-post .info {
  font-size: 0.8em;
}
.blog-post .info a:hover {
  text-decoration: none;
}
.blog-post img {
  max-width: 100%;
  height: auto;
}
.blog-post .lead {
  font-weight: 600;
}
/* #Media Queries
================================================== */
@media only screen and (min-width: 960px) and (max-width: 1259px) {
  .msnry {
    width: 960px;
  }
}
/* Smaller than standard 960 (devices and browsers) */
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .content {
    width: 768px;
  }
  .msnry {
    width: 620px;
  }
  .swipe-experiment img {
    width: 428px;
  }
  .post-big .meta {
    width: 507px;
  }
  .post-big img,
  .post-row .post {
    width: 246px;
  }
  #about .about-info {
    width: 468px;
  }
}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
  .content {
    width: 300px;
  }
  .msnry {
    width: 300px;
  }
  .msnry .el.w2,
  .msnry .el.s2 {
    width: 300px;
  }
  .msnry .el.h2,
  .msnry .el.s2 {
    height: 168px;
  }
  .msnry .el.h2 img,
  .msnry .el.w2 img {
    width: 100%;
    height: 100%;
  }
  #nav .menu svg {
    display: block;
  }
  #nav .menu ul {
    display: none;
  }
  .swipe-experiment img {
    margin-bottom: 10px;
  }
  .swipe-experiment .meta {
    width: 100%;
    margin: 0;
  }
  .post-big .meta {
    margin-top: 10px;
    width: 100%;
    margin-left: 0;
  }
  .post-row {
    margin-right: 0;
  }
  .post-row .post {
    padding: 10px 0;
    width: 100%;
    border-top: 1px solid #aaa;
  }
  .post-row .post .crop {
    width: 80px;
    height: 100px;
    margin-bottom: 0;
    margin-right: 10px;
  }
  .post-row .post .crop img {
    height: 100px;
    margin-left: -43px;
    max-width: 310px;
  }
  #hero .text h1 {
    font-weight: 300;
    font-size: 40px;
  }
  #about .avatar {
    position: relative;
    display: block;
    margin: 0 auto;
  }
  #about .about-info {
    width: 100%;
    margin-top: 20px;
  }
  .hide-480 {
    display: none;
  }
}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .content {
    width: 420px;
  }
  .msnry {
    width: 420px;
  }
  .msnry .el {
    width: 200px;
    height: 112px;
  }
  .msnry .el.w2,
  .msnry .el.s2 {
    width: 420px;
  }
  .msnry .el.h2,
  .msnry .el.s2 {
    height: 244px;
  }
  .msnry .el.h2 img {
    width: auto;
  }
  .msnry .el.w2 img {
    height: auto;
  }
  .post-row .post .crop {
    width: 100px;
    height: 80px;
  }
  .post-row .post .crop img {
    height: 80px;
    margin-left: -17px;
  }
}
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
/* #Clearing
================================================== */
.content:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}
.row:after {
  clear: both;
}
.row {
  zoom: 1;
}
