/* Base */
/* ----------------------------------------------------------*/

.mobile .permalink {
  display: none;
}

.mobile .social-set {
  display: none;
}
.mobile .social-resume {
  display: none;
}

.more-shit {
  opacity: 0.2;
  display: inline-block;
  padding: 30px;
  font-size: 30px;
  margin-top: 26px;
  margin-left: 3px;
  -webkit-transition: opacity 0.8s;
  -moz-transition: opacity 0.8s;
  -ms-transition: opacity 0.8s;
  -o-transition: opacity 0.8s;
  transition: opacity 0.8s;
  cursor: pointer;
}

.mobile .mobile-offset.icon-post-big {
  line-height: 1 !important;
  margin-top: -50px;
}
.mobile .project-links {
  font-size: 20px;
  display: block;
}

.project-links {
  font-size: 26px;
  line-height: 1;
}

.mobile .project-dates {
  margin: 0px;
  margin-top: -19px;
}

.project-dates {
  opacity: .85;
  font-style: italic;
  float: right;
  margin-top: 9px;
}
.zoom:hover .more-shit {
  opacity: 1;
}

.h2-span {
  letter-spacing: 2px;
}

.mobile .h2-span {
  letter-spacing: 0px;
}
.social-set {
  position: absolute;
  top: 10px;
  right: 10px;
}

.social-set-footer {
  margin: 4px 10px 10px;
  text-align: center;
  opacity: 0.8;
}
.social-set-footer a.social-icon,
.social-set-footer a.social-icon:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  padding: 6px 10px;
  color: #C44D58;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.social-set-footer a.social-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.social-set-footer a.social-icon svg {
  position: static;
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
  opacity: 1;
  z-index: auto;
  animation: none;
}
.social-set-footer a.social-icon svg path,
.social-set-footer a.social-icon svg rect {
  opacity: 1;
  fill: currentColor;
  stroke: none;
}
.social-set-footer a.social-icon-stroke svg {
  width: 26px;
  height: 26px;
}
.social-set-footer a.social-icon-stroke svg path,
.social-set-footer a.social-icon-stroke svg rect {
  fill: none;
  stroke: currentColor;
}
.mobile .social-set-footer a.social-icon-stroke svg {
  width: 24px;
  height: 24px;
}
.mobile .social-set-footer a.social-icon svg {
  width: 20px;
  height: 20px;
}

span.icon-post {
  display: none;
}
.mobile span.icon-post {
  display: inline-block;
}

.mobile div.posts.grid {
  text-align: center;
}
.mobile #timeline {
  display: none;
}
.lazy-hidden {
    opacity: 0;
}
.lazy-loaded {
    -webkit-transition: opacity 0.8s;
    -moz-transition: opacity 0.8s;
    -ms-transition: opacity 0.8s;
    -o-transition: opacity 0.8s;
    transition: opacity 0.8s;
    opacity: 1;
}

.views {
      position: absolute;
    top: 0;
    left: 22px;
    font-size: 30px;
  display: inline-block;
  margin-top: 22px;
}
.views:hover {
  opacity: 1;
}

.views span {
  display: inline-block;
}
.views a, .views a:visited {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  opacity: 0.6;
  color: #36393B;
  cursor: pointer;
  margin-right: -37px;
  display: inline-block;
}

.views a:hover {
  color: #C44D58;
}
.views:hover a {
  margin-right: -0px;
}


/*.mobile-top-button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    min-width: 39px;
    width: 58px;
    height: 61px;
    min-height: 30px;
    position: absolute;
    top: 63px;
    left: 0px;
    display: inline-block;
    z-index: 90;
}
*/
.mobile .views {
  display: none
}

.mobile .views a {
    margin-right: -33px;
    font-size: 27px;
    position: relative;
    margin-top: 6px;
}

.mobile .icon-one, .mobile .icon-two, .mobile .icon-three {
  -webkit-transition: top 0.3s;
     -moz-transition: top 0.3s;
          transition: top 0.3s;
          top: 0px;
          z-index: 30;
}
.mobile .popout .icon-one { top: -28px; }
.mobile .popout .icon-two { top: 0px; }
.mobile .popout .icon-three { top: 28px; }

* {
  margin: 0;
  padding: 0;
}

.dot {
  margin: -6px;
  opacity: .4;
  font-size: 20px;
  font-style: normal;
}

::-moz-selection {
  background-color: #36393B;
  color: #fff;
}

::selection {
  background-color: #36393B;
  color: #fff;
}

html { height: 100%; background-color: #D68F96; }
body { min-height: 100%; isolation: isolate; }

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #F2F2F2;
    color: #36393B;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; }

a {
  color: #C44D58;
  text-decoration: none;

  -webkit-transition:.2s;
     -moz-transition:.2s;
      -ms-transition:.2s;
       -o-transition:.2s;
          transition:.2s;

}
a:visited {
  color: #C44D58;
}

a:hover {
  color: #36393B;
  text-decoration: none;
  text-transform:;
}

/* Utility */
.site-nav .page-link:hover {
  color: #36393B;
}
.wrap:before,
.wrap:after { content:""; display:table; }
.wrap:after { clear: both; }
.wrap {
  max-width: 800px;
  padding: 0 30px;
  margin: 0 auto;
  zoom: 1;
}


/* Layout Styles */
/* ----------------------------------------------------------*/

/* Site header */

.site-header {
  border-top: 300px solid rgba(196,77,88,.6);
  margin-top: -294px;
  border-bottom: 0;
  min-height: 56px;
  background-color: transparent;
}

.site-footer-bar {
  height: 6px;
  background-color: rgba(196,77,88,.6);
}

.mobile .site-title,
.mobile .site-title:hover,
.mobile .site-title:visited {
  font-size: 26px;
}

.site-title,
.site-title:hover,
.site-title:visited {
  display: block;
  color: #36393B;
  font-size: 30px;
  letter-spacing: 3px;
  float: none;
  line-height: 56px;
  position: relative;
  z-index: 1;
  text-align: center;
  -webkit-transition:.2s;
     -moz-transition:.2s;
      -ms-transition:.2s;
       -o-transition:.2s;
          transition:.2s;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.site-nav {
  float: right;
  line-height: 56px;
  -webkit-transition:.2s;
     -moz-transition:.2s;
      -ms-transition:.2s;
       -o-transition:.2s;
          transition:.2s;
}

.site-nav .menu-icon { display: none; }

.site-nav .page-link, .view-desc {
  font-size: 16px;
  margin-left: 20px;
  color: #36393B;
  letter-spacing: -.5px;
  font-family: 'geometrialight';
}

.site-nav .page-link:hover {
   color: #C44D58;

}

.site-nav-fake-underline {
   border-bottom: 1px solid #36393B;
}

/* Page Content styles */
/* ----------------------------------------------------------*/

.page-content {
  padding: 30px 0;
  background-color: transparent;
  opacity: 0;

  -webkit-animation: fade ease .5s;
     -moz-animation: fade ease .5s;
          animation: fade ease .5s;

  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
          animation-fill-mode: forwards;

}


/* Home styles */
/* ----------------------------------------------------------*/

.home h1 { margin-bottom: 25px; }

.posts { list-style-type: none; }

.posts li { margin-bottom: 30px; }

.posts li.archive {
  list-style-type: thai;
}

.mobile .posts li.archive {
  list-style-type: none;
}

ol.posts {
  margin-left: 40px;
}

.posts .post-link {
  font-size: 24px;
  letter-spacing: -1px;
  line-height: 1;
}

.mobile .posts .post-link {
  font-size: 18px;
}
.posts .post-link:hover {
   color: #36393B;

}

.posts .post-date {
  display: block;
  font-size: 15px;
  color: #818181;
}


/* Post styles */
/* ----------------------------------------------------------*/

.post-header { margin: 10px 0 30px; }

.post-header h1 {
  color: #C44D58;
  font-size: 36px;
  letter-spacing: -1.75px;
  line-height: 1;
  font-weight: 300;
  display: inline-block;
}

.post-header .meta {
  display: inline-block;
  font-size: 15px;
  color: #818181;
  margin-left: 10px;
  opacity: 0.3;
  -webkit-transition: all .3s;
     -moz-transition: all .3s;
          transition: all .3s;
}
.post-header:hover .meta {
  opacity: 0.8;
}

.post-content { margin: 0 0 30px; }

.post-content > * {
  margin: 20px 0;
 // text-align: justify;
  word-wrap: break-word;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  line-height: 1;
  font-weight: 300;
  text-align: left;

}

.post-content h2 {
  font-size: 32px;
  letter-spacing: -1.25px;
}

.post-content h3 {
  font-size: 26px;
  letter-spacing: -1px;
}

.post-content h4 {
  font-size: 20px;
  letter-spacing: -1px;
}

.post-content blockquote {
  border-left: 4px solid #36393B;
  padding-left: 20px;
  font-size: 18px;
  opacity: .6;
  letter-spacing: -1px;
  font-style: italic;
  margin: 30px 0;
  padding: 20px;
}

.post-content ul,
.post-content ol {
  padding-left: 0px;
  margin-left: 40px;
  margin-right: 40px;
  list-style-type: thai;
}

.post-content li {
  margin-bottom: 10px;
}


.posts .post {
  margin-bottom: 60px;
  border-bottom: 1px solid #D2D2D2;
  padding-bottom: 30px;
}

.posts ul {
  margin-left: 40px;
  margin-right: 40px;
}
.posts li {
  margin-bottom: 10px;
  list-style-type: thai;
}

span.icon-post {
    line-height: 20px;
    font-size: 23px;
}

span.icon-post-black {
    line-height: 21px;
    font-size: 23px;
}
span.icon-post-big {
    margin-left: -26px;
    font-size: 44px;
    height: 36px;
    vertical-align: top;
    padding-top: 6px;
    padding-right: 20px;
    padding-left: 20px;
    line-height: 27px;
}

.btn-backwards {
  border: 2px solid #36393B;
  font-family: inherit;
  font-size: inherit;
  background-color: transparent;
  color: #36393B;
  cursor: pointer;
  padding: 15px 60px;
  display: inline-block;
  margin: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
          transition: all 0.3s;
}

a.btn-backwards {
  color: #36393B;
}

a.btn-backwards:hover, .btn-backwards:hover, .btn-backwardshover {
  color: white;
  background-color: #36393B;
}

a.btn-backwards:active, .btn-backwards:active {
  background-color: #36393B;
  color: white;
  -webkit-transition: all 0s;
     -moz-transition: all 0s;
          transition: all 0s;
}


.btn {
  border: 2px solid #36393B;
  font-family: inherit;
  font-size: inherit;
  color: white;
  background-color: #36393B;
  cursor: pointer;
  padding: 15px 60px;
  display: inline-block;
  margin: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
          transition: all 0.3s;
}

.btn:hover, .btnhover {
  background-color: transparent;
  color: #36393B;
}

.btn:active {
  background-color: #36393B;
  color: white;
  -webkit-transition: all 0s;
     -moz-transition: all 0s;
          transition: all 0s;
}

.small {
  font-size: 75%;
  padding: 5px 10px;
  float: right;
  margin: 0;
}

.center {
  text-align: center;
}

.helvetica {
  display: inline-block;
  background-color: #36393B;
  color: #F2F2F2;
  font-size: 2em;
  padding: 20px;
  font-family: Helvetica Neue, Helvetica;
  font-weight: 700;
  line-height: 35px;
  margin: 20px;
  margin-top: 0;
  float: right;
  position: relative;
  z-index: 2;
  margin-right: 0;
}

.helvetica a {
  color: #F2F2F2;
}

.helvetica a:hover {
  color: #C44D58;
}

/* iframe */

instagram-embed-0 {
  margin: 15px auto !important;
}
.instagram-media{
  margin: 15px auto !important;
}
iframe {
  background-color: transparent;
  border: 0;
  opacity: 1;
  max-width: 100%;

/*  -webkit-animation: fade linear 1.5s;
     -moz-animation: fade linear 1.5s;
          animation: fade linear 1.5s;

  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
          animation-fill-mode: forwards;

*/}

span.details {
  text-decoration: italic;
  opacity: 0.6;
}


/* https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet */
hr {
  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;
  border: 0 none;
  color: #ccc;
  height: 4px;
  padding: 0;
  margin: 15px 0;
}


/* Syntax highlighting styles */
/* ----------------------------------------------------------*/
/* https://gist.github.com/edwardhotchkiss/2005058 */

.highlight {
  background-color: #efefef;
  padding: 27px 27px 27px 30px;
  border: 1px solid #ddd;
  -moz-box-shadow: 3px 3px rgba(0,0,0,0.1);
  -webkit-box-shadow: 3px 3px rgba(0,0,0,0.1);
  box-shadow: 3px 3px rgba(0,0,0,0.1);
  margin: 20px 0 20px 0;
  overflow: hidden;
  overflow-x: auto;
  padding: 40px;
  max-width: 100%;
  display: inline-block;
  box-sizing: border-box;
}

code {
  font-family:'Bitstream Vera Sans Mono','Courier', monospace;
  border: 1px solid #ddd;
  padding: 2px;
  background-color: #eee;
  border-radius: 4px;
  color: #777;
  font-size: 16px;
}

.highlight .c { color: #586E75 } /* Comment */
.highlight .err { color: #93A1A1 } /* Error */
.highlight .g { color: #93A1A1 } /* Generic */
.highlight .k { color: #859900 } /* Keyword */
.highlight .l { color: #93A1A1 } /* Literal */
.highlight .n { color: #93A1A1 } /* Name */
.highlight .o { color: #859900 } /* Operator */
.highlight .x { color: #CB4B16 } /* Other */
.highlight .p { color: #93A1A1 } /* Punctuation */
.highlight .cm { color: #586E75 } /* Comment.Multiline */
.highlight .cp { color: #859900 } /* Comment.Preproc */
.highlight .c1 { color: #586E75 } /* Comment.Single */
.highlight .cs { color: #859900 } /* Comment.Special */
.highlight .gd { color: #2AA198 } /* Generic.Deleted */
.highlight .ge { color: #93A1A1; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #DC322F } /* Generic.Error */
.highlight .gh { color: #CB4B16 } /* Generic.Heading */
.highlight .gi { color: #859900 } /* Generic.Inserted */
.highlight .go { color: #93A1A1 } /* Generic.Output */
.highlight .gp { color: #93A1A1 } /* Generic.Prompt */
.highlight .gs { color: #93A1A1; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #CB4B16 } /* Generic.Subheading */
.highlight .gt { color: #93A1A1 } /* Generic.Traceback */
.highlight .kc { color: #CB4B16 } /* Keyword.Constant */
.highlight .kd { color: #268BD2 } /* Keyword.Declaration */
.highlight .kn { color: #859900 } /* Keyword.Namespace */
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
.highlight .kr { color: #268BD2 } /* Keyword.Reserved */
.highlight .kt { color: #DC322F } /* Keyword.Type */
.highlight .ld { color: #93A1A1 } /* Literal.Date */
.highlight .m { color: #2AA198 } /* Literal.Number */
.highlight .s { color: #2AA198 } /* Literal.String */
.highlight .na { color: #93A1A1 } /* Name.Attribute */
.highlight .nb { color: #B58900 } /* Name.Builtin */
.highlight .nc { color: #268BD2 } /* Name.Class */
.highlight .no { color: #CB4B16 } /* Name.Constant */
.highlight .nd { color: #268BD2 } /* Name.Decorator */
.highlight .ni { color: #CB4B16 } /* Name.Entity */
.highlight .ne { color: #CB4B16 } /* Name.Exception */
.highlight .nf { color: #268BD2 } /* Name.Function */
.highlight .nl { color: #93A1A1 } /* Name.Label */
.highlight .nn { color: #93A1A1 } /* Name.Namespace */
.highlight .nx { color: #555 } /* Name.Other */
.highlight .py { color: #93A1A1 } /* Name.Property */
.highlight .nt { color: #268BD2 } /* Name.Tag */
.highlight .nv { color: #268BD2 } /* Name.Variable */
.highlight .ow { color: #859900 } /* Operator.Word */
.highlight .w { color: #93A1A1 } /* Text.Whitespace */
.highlight .mf { color: #2AA198 } /* Literal.Number.Float */
.highlight .mh { color: #2AA198 } /* Literal.Number.Hex */
.highlight .mi { color: #2AA198 } /* Literal.Number.Integer */
.highlight .mo { color: #2AA198 } /* Literal.Number.Oct */
.highlight .sb { color: #586E75 } /* Literal.String.Backtick */
.highlight .sc { color: #2AA198 } /* Literal.String.Char */
.highlight .sd { color: #93A1A1 } /* Literal.String.Doc */
.highlight .s2 { color: #2AA198 } /* Literal.String.Double */
.highlight .se { color: #CB4B16 } /* Literal.String.Escape */
.highlight .sh { color: #93A1A1 } /* Literal.String.Heredoc */
.highlight .si { color: #2AA198 } /* Literal.String.Interpol */
.highlight .sx { color: #2AA198 } /* Literal.String.Other */
.highlight .sr { color: #DC322F } /* Literal.String.Regex */
.highlight .s1 { color: #2AA198 } /* Literal.String.Single */
.highlight .ss { color: #2AA198 } /* Literal.String.Symbol */
.highlight .bp { color: #268BD2 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #268BD2 } /* Name.Variable.Class */
.highlight .vg { color: #268BD2 } /* Name.Variable.Global */
.highlight .vi { color: #268BD2 } /* Name.Variable.Instance */
.highlight .il { color: #2AA198 } /* Literal.Number.Integer.Long */

/* gallery & lightbox */
/* ----------------------------------------------------------*/

figure {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  margin: 5px;
  width: 100px;
  background: #F2F2F2;
  border: 1px solid #36393B;
  padding: 0;
  text-align: center;
  cursor: pointer;
  -webkit-transition: all 0.0s ease;
          transition: all 0.0s ease;
  box-sizing: border-box;

  -webkit-box-shadow: 4px 4px 0px 0px rgba(50, 50, 50, 0.18);
-moz-box-shadow:    4px 4px 0px 0px rgba(50, 50, 50, 0.18);
box-shadow:         4px 4px 0px 0px rgba(50, 50, 50, 0.18);
/*
  -webkit-box-shadow: 4px 4px 0px 0px rgba(196,77,88,.6);
-moz-box-shadow:    4px 4px 0px 0px rgba(196,77,88,.6);
box-shadow:         4px 4px 0px 0px rgba(196,77,88,.6);*/
}
 figure.square {
  height: 122px;
  width: 85px;
}

 figure.square {
  background-color: #cdcdce;
}
.safari figure.square img {
  opacity: 0.3;
  -webkit-filter: opacity(1);
  filter: opacity(1);
}

/*.square img:hover {
  -webkit-filter: sepia(0) hue-rotate(360deg);
  -webkit-transition: .1s ease-in-out;
  -moz-filter: sepia(0) hue-rotate(360deg);
  -moz-transition: .1s ease-in-out;
  -o-filter: sepia(0) hue-rotate(360deg);
  -o-transition: .1 s ease-in-out;
}

.square img {
  -webkit-filter: sepia(0.9) hue-rotate(333deg) opacity(0.5);
  -moz-filter: sepia(0.9) hue-rotate(333deg) opacity(0.5);
  -o-filter: sepia(0.9) hue-rotate(333deg) opacity(0.5);
  filter: sepia(0.9) hue-rotate(333deg) opacity(0.5);
}
*/


figure:hover {
          box-shadow: none;
          margin-top: 7px;
          margin-left: 7px;
          margin-bottom: 3px;
          margin-right: 3px;
}

figure.wide {
  width: 100%;
  float: none;
}

figure.wide img {
  width: auto;
  display: inline;
}

.mobile figure.wide img {
   width: 100%;
   height: inherit;
}

.mobile .grid.absurd figure img {
  margin-top: -40%;
}

figure img {
  opacity: 1;
  width: 100%;
/*  top: -50%;*/
  -webkit-transition: all 0.15s ease-out;
          transition: all 0.15s ease-out;

  -webkit-transition: left 0s ease;
          transition: left 0s ease;

/*  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s ease;
          transition: opacity 0.35s, transform 0.35s ease;
*/
  position: relative;
  display: block;

}

.grid figure img {
  left: -40%;
}

figure:hover img {

}


.gallery {
  box-sizing: border-box;
  text-align: center;
}
/* http://www.positioniseverything.net/easyclearing.html */
.gallery:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


.freeze-scroll {
  max-height: 100%;
  overflow: hidden;
}
#lightbox {
  text-align: center;
  position: fixed;
  z-index: -100;
  min-width: 50%;
  max-height: 100%;
  max-width: 100%;
  height: 100%;
  overflow: auto;

  -webkit-transition: opacity 0.35s ease;
          transition: opacity 0.35s ease;
  opacity: 0;
  box-sizing: border-box;

  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 480px;
}

#lightbox.active {
  z-index: 100;
  opacity: 1;
}

#lightbox img {
  position: relative;
  max-height: 96%;
  max-width: 96%;
  border: 2px solid white;
  cursor: pointer;
}

#black {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -99;
  background-color: #36393B;
  opacity: 0;
  -webkit-transition: opacity 0.15s ease;
          transition: opacity 0.15s ease;
}

#black.active {
  z-index: 99;
  opacity: 1;
}


/* timeline */
/* ----------------------------------------------------------*/

.tl-container {
  display: block;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  padding: 100px;
  -webkit-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

.tl-line {
  height: 2px;
  width: 100%;
  background-color: #36393B;
}

.tl-event {
  height: 6px;
  /*width: 1px;*/
  background-color: #36393B;
  display: inline-block;
  cursor: pointer;
  margin: 4px;
  opacity: 0.6;
  position: absolute;
  -webkit-transition: width 0.5s ease;
          transition: width 0.5s ease;
}

.tl-event:hover {
  opacity: 1;
}

.tl-event.red:hover {
    background-color: #C44D58;
}

.tl-point {
  width: 10px;
  height: 10px;
  background: #36393B;
  border: 2px solid #F2F2F2;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  cursor: pointer;
  margin: 4px;
  z-index: 2;
  /*left: 100px;*/
  -webkit-transition: all 0.5s ease;
          transition: all 0.5s ease;

}

.tl-point:hover {
  background: #F2F2F2;
  border: 2px solid #36393B;
}

.tl-break {
  position: absolute;
  display: inline;
    -webkit-transform: skew(30deg,20deg);
            transform: skew(-26deg);
  background: #F2F2F2;
  border-left: 2px solid #36393B;
  border-right: 2px solid #36393B;
  width: 11px;
  height: 24px;
  width: 7px;
  height: 16px;
  margin-left: 26px;
  margin-top: -7px;
}


/* tooltip - http://www.cssportal.com/css-tooltip-generator/ */
/* ----------------------------------------------------------*/

.tooltip {
  -webkit-transition: opacity 0.25s ease;
          transition: opacity 0.25s ease;

  position: absolute;
  color: #36393B;
  background: #F2F2F2;
  line-height: 30px;
  text-align: center;
  opacity: 0;
  border-radius: 0px;
  border: 2px solid #36393B;
  padding: 6px 15px;
  max-width: 400px;
}
.tooltip:after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0; height: 0;
  border-bottom: 8px solid #36393B;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}
.tooltip:hover span {
  visibility: visible;
  opacity: 0.8;
  z-index: 999;
}

#tooltip.active {
  visibility: visible;
  opacity: 1;
}

.tooltip small {
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: -8px;
  font-size: 16px;
  opacity: .6;
  letter-spacing: -1px;
  font-style: italic;
}

/* progress bar */
/* http://getbootstrap.com/components/#progress */
.progress-striped .progress-bar, .progress-bar-striped {
  background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  background-image: -o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  -webkit-background-size: 40px 40px;
  background-size: 40px 40px;
  background-color: #d9534f;

  -webkit-animation: progress-bar-stripes .5s linear infinite;
  -o-animation: progress-bar-stripes .5s linear infinite;
  animation: progress-bar-stripes .5s linear infinite;
}
.progress-bar {
  display: inline-block;
  height: 100%;
  width: 100%;
  padding: 0px;
  font-family: 'geometrialight';
  text-shadow: 1px 1px 0px rgba(0,0,0,.6);
  font-size: 11px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);

  -webkit-transition: width .2s ease;
  -o-transition: width .2s ease;
  transition: width .2s ease;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.progress {
  text-align: center;
}


@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}
@-o-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

/* svg */
/* ----------------------------------------------------------*/

svg {
  position: absolute;
  top: -368px;
  height: 500px;
  width: 100%;
  z-index: -10;
  opacity: 0;

  -webkit-animation: fade linear .2s;
     -moz-animation: fade linear .2s;
          animation: fade linear .2s;

  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

svg path {
  opacity: .15;
  fill: none;
  stroke: #36393B;
  stroke-width: 1px;
  stroke-linecap: rounded;
  stroke-linejoin: round;
}

@keyframes fade {
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fade {
  100% {
    opacity: 1;
  }
}


/* media queries */
/* ----------------------------------------------------------*/

@media screen and (max-width: 540px) {

  span.icon-post-big {
    height: 25px;
    padding-top: 12px;
    font-size: 25px;
  }

}

@media screen and (min-width: 1900px) {
  .site-title,
  .site-title:hover,
  .site-title:visited {
    font-size: 30px;
  }

}
@media screen and (max-width: 750px) {

  .footer-col-1 { width: 50%; }

  .footer-col-2 {
    width: 45%; /*fallback*/
    width: -webkit-calc(50% - 10px);
    width: -moz-calc(50% - 10px);
    width: -o-calc(50% - 10px);
    width: calc(50% - 10px);
    margin-right: 0;
  }

  .site-footer .column.footer-col-3 {
    width: auto;
    float: none;
    clear: both;
  }

}

@media screen and (max-width: 600px) {

  .wrap { padding: 0 12px; }
  .site-nav {
    float: none;
    text-align: center;
    margin-right: 20px;
  }
  .post-header h1 { font-size: 24px; }
  .post-content h2 { font-size: 24px; }
  .post-content h3 { font-size: 22px; }
  .post-content h4 { font-size: 18px; }
  .post-content blockquote { padding-left: 10px; }
  .post-content ul,
  .post-content ol {
    margin: 0;
    margin-left: 15px;
    padding-left: 10px;
    text-align: left;
  }

  .btn {
    padding: 10px 30px;
  }
  span.icon-post-big {
    height: 25px;
    padding-top: 12px;
    font-size: 25px;
  }

  .small {
    padding: 5px 10px;
  }
  .helvetica {
    display: block;
    float: none;
    margin: 0;
    text-align: right;
  }
  .site-footer .column {
    float: none;
    clear: both;
    width: auto;
    margin: 0 0 15px; }

  .tl-container {
    //padding: 100px 10px;
  }

} /* /mediaquery 600px */

.rss-subscribe {
  text-align: center;
}
