/* reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0;}
ol, ul {list-style-image:none; list-style-position:outside; list-style-type:none;}

/* html5 */
article, aside, dialog, figure, footer, header, legend, nav, section, time {display:block;}

/* General. */
html {
  background: #F1F1F1 url(/static/images/background.jpg);
}
body {
  max-width: 520px;
  margin: 0 auto;
  color: #000;
  font-family: proxima-nova, "proxima-nova-1","proxima-nova-2", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
}
p {
  margin: 17px 0;
}

/* Links. */
a, a:visited {
  color: #333;
}
header a, header a:visited {
  color: #000;
  text-decoration: none;
}

/* Main header. */
#blog-title {
  margin: 56px 0;
  margin-left: -4px;
  font: 84px adelle, "adelle-1","adelle-2", "Georgia", "Times New Roman", serif;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
}

/* Articles. */
.no-articles {
  margin: 0;
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid rgba(213, 213, 213, 1);
  -webkit-box-shadow: 0 1px 0 #FFF;
  -moz-box-shadow: 0 1px 0 #FFF;
  box-shadow: 0 1px 0 #FFF;
}
article {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(213, 213, 213, 1);
  -webkit-box-shadow: 0 1px 0 #FFF;
  -moz-box-shadow: 0 1px 0 #FFF;
  box-shadow: 0 1px 0 #FFF;
}
article h1 {
  margin: 34px 0 0;
  font: 26px adelle, "adelle-1","adelle-2", "Georgia", "Times New Roman", serif;
  font-weight: normal;
}
article h2 {
  margin-top: 30px;
  font-size: 20px;
}
time {
  font: 13px proxima-nova, "proxima-nova-1","proxima-nova-2", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}
article ul {
  padding-left: 40px;
  list-style-type: circle;
}
blockquote {
  margin: 15px 30px 0 10px;
  padding-left: 20px;
  color: #777777;
  border-left: 5px solid #CCCCCC;
}
figure{
  text-align: center;
}
figure img {
  border: none;
}
pre {
  margin: 0;
  padding: 10px;
  background-color: #F5F5F5;
  border: 1px solid silver;
  overflow: auto;
}
pre, code {
  color: #007000;
  font-family: monospace;
  font-size: 14px;
}
sup {
  position: relative;
  top: -5px;
  vertical-align: top;
}
sup a {
  text-decoration: none;
}

/* Images. */
.image {
  position: relative;
  line-height: 0;
}
.image img {
  width: 100%;
  border-radius: 5px;
}
.image .border {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  right: 1px;
  border-radius: 5px;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.38),
              0 0 20px rgba(0, 0, 0, 0.14),
              inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.38),
              0 0 20px rgba(0, 0, 0, 0.14),
              inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.38),
              0 0 20px rgba(0, 0, 0, 0.14),
              inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.big.image {
  margin: 17px 0;
}
.thumbnails {
  position: relative;
  width: 100%;
}
.small.image {
  display: inline-block;
  max-width: 170px;
  margin-bottom: 17px;
}

/* Archives. */
#archives {
  width: 100%;
  padding: 34px 0;
  border-bottom: 1px solid rgba(213, 213, 213, 1);
  -webkit-box-shadow: 0 1px 0 #FFF;
  -moz-box-shadow: 0 1px 0 #FFF;
  box-shadow: 0 1px 0 #FFF;
}
#archives h2 {
  text-align: center;
}
#archives a {
  text-decoration: none;
}
#archives article {
  border-bottom: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#archives h1 {
  margin: 0;
  font-size: 24px;
}

/* Main footer. */
footer {
  padding-top: 17px;
}
.vcard {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(213, 213, 213, 1);
  -webkit-box-shadow: 0 1px 0 #FFF;
  -moz-box-shadow: 0 1px 0 #FFF;
  box-shadow: 0 1px 0 #FFF;
}
.bio {
  display: inline-block;
  width: 72%;
  padding-right: 7%;
  font-size: 14px;
}
.vcard img {
  display: inline-block;
  width: 20%;
  position: relative;
  top: 5px;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.vcard-more {
  display: none;
}
.search {
  padding: 40px;
  border-top: 1px solid rgba(213, 213, 213, 1);
  text-align: center;
}
.notice {
  font-size: 11px;
}

/* Full Screen Image. */
@-webkit-keyframes supersize {
  0% { -webkit-transform: scale(.9); }
  100% { -webkit-transform: scale(1); }
}
@-moz-keyframes supersize {
  0% { -moz-transform: scale(.9); }
  100% { -moz-transform: scale(1); }
}
@-o-keyframes supersize {
  0% { -o-transform: scale(.9); }
  100% { -o-transform: scale(1); }
}
@keyframes supersize {
  0% { transform: scale(.9); }
  100% { transform: scale(1); }
}


/* Full Screen Image. */
.image {
  -webkit-transform: scale(1);
  -webkit-transition: -webkit-transform 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.image:active {
  -webkit-transform: scale(0.98);
}

.gallery {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  background: black;
  text-align: center;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate(0, 0);
  transform: translate3d(0, 0, 0);

  -webkit-transition: -webkit-transform 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
  -moz-transition: -moz-transform 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
  -o-transition: -o-transform 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
  transition: transform 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
}
.galleryContainer {
  position: absolute;
  top: 0;
  bottom: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate(0, 0);
  transform: translate3d(0, 0, 0);

  -webkit-transition: -webkit-transform 1s cubic-bezier(0.0, 0.0, 0.2, 1);
  -moz-transition: -moz-transform 1s cubic-bezier(0.0, 0.0, 0.2, 1);
  -o-transition: -o-transform 1s cubic-bezier(0.0, 0.0, 0.2, 1);
  transition: transform 1s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.gallery .fullscreen {
  position: absolute;
  top: 0;
  bottom: 0;
}
.fullscreen .blur {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
}
.fullscreen .dimmer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, .6);
}
.fullscreen .imgWrapper {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 5%;
  right: 5%;
}
.fullscreen .imgContainer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate(0, 0);
  transform: translate3d(0, 0, 0);
}
.fullscreen img {
  margin: auto;
  top: 0;
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;

  max-width: 100%;
  max-height: 100%;
  border: 1px solid black;
  border-radius: 5px;
  opacity: 0;
}
.fullscreen .border {
  display: block;
  position: absolute;
  border-radius: 5px;
  opacity: 0;
  -webkit-box-shadow:
      0 10px 20px rgba(0, 0, 0, 0.38),
      0 0 20px rgba(0, 0, 0, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  -moz-box-shadow:
      0 10px 20px rgba(0, 0, 0, 0.38),
      0 0 20px rgba(0, 0, 0, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  box-shadow:
      0 10px 20px rgba(0, 0, 0, 0.38),
      0 0 20px rgba(0, 0, 0, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.fullscreen img.animate,
.fullscreen .border.animate {
  -webkit-transition: -webkit-transform .8s cubic-bezier(0.0, 0.0, 0.2, 1);
/*  -moz-transition: opacity 1.2s cubic-bezier(0,0,0,1), -moz-transform .8s cubic-bezier(0,0,0,1);
  -o-transition: opacity 1.2s cubic-bezier(0,0,0,1), -o-transform .8s cubic-bezier(0,0,0,1);
  transition: opacity 1.2s cubic-bezier(0,0,0,1), transform .8s cubic-bezier(0,0,0,1);*/

/*  -webkit-animation: supersize .8s cubic-bezier(0,0,0,1);
  -moz-animation: supersize .8s cubic-bezier(0,0,0,1);
  -o-animation: supersize .8s cubic-bezier(0,0,0,1);
  animation: supersize .8s cubic-bezier(0,0,0,1);*/
}

/* Responsive, yo. */
@media handheld and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 800px)  {
  body {
    padding: 0 10px;
  }
  #blog-title {
    margin: 28px 0;
    font-size: 48px;
    white-space: normal;
  }
  .small.image {
    max-width: 32%;
  }
  .bio {
    width: 100%;
    padding-right: 0;
  }
  .vcard img {
    display: none;
  }
}