/*
Theme Name: Drew Coughlan
Theme URI: http://drewcoughlan.com.au/
Author: Drew Coughlan + Christian Varga
Author URI: http://drewcoughlan.com.au/
Description: Dong.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: coughlan

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
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,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,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;vertical-align:baseline;font:inherit;font-size:100%;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-spacing:0;border-collapse:collapse;}

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

@font-face {
  font-family: 'Akkurat Mono';
  src: url('fonts/akkurat/Akkurat-Mono.eot'); /* IE9 Compat Modes */
  src: url('fonts/akkurat/Akkurat-Mono.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/akkurat/Akkurat-Mono.woff') format('woff'), /* Modern Browsers */
       url('fonts/akkurat/Akkurat-Mono.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/akkurat/Akkurat-Mono.svg#c8ec35f4572575e3068c7f7fce656efe') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  400;
}



body {
  font-family: 'Akkurat', helvetica, arial;
  font-size: 16px;
  color: #000;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

p {
  margin-bottom: 1em;
}

a {
  display: inline-block;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid transparent;
  transition: border 300ms;
}

a:hover {
  border-color: #000;
}

.content {
  padding: 40px;
  max-width: 1500px;
  margin: 0 auto;
}

.project-grid {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;

  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.project-grid a {
  border-bottom: none;
}

.project-grid h2 {
  display: inline-block;
  margin: 1em 0 2em;
  border-bottom: 1px solid transparent;
  transition: border 300ms;
}

.project-grid a:hover h2 {
  border-color: #000;
}

.image-gallery img, .image-gallery iframe {
  width: 100%;
  height: auto;
  margin-bottom: 1.5em;
}

.js img {
  opacity: 0;
}

.js img.js-loaded {
  opacity: 1;
  transition: opacity 300ms;
}

.entry-content p {
  padding-right: 2em;
}

.project-credits {
  padding-right: 2em;
}

#site-footer {
  margin-top: 4em;
}

.single-project article h1, .single-project article h2, .entry-title {
  margin-bottom: 1em;
}

/* mtc fade */
.project.post-28 img:first-child {
  -webkit-animation: hue-rotate 20s linear infinite;
  -moz-animation: hue-rotate 20s linear infinite;
}

@-webkit-keyframes hue-rotate {
  0% { -webkit-filter: hue-rotate(0deg); }
  100% { -webkit-filter: hue-rotate(360deg); }
}

@-moz-keyframes hue-rotate {
  0% { -moz-filter: hue-rotate(0deg); }
  100% { -moz-filter: hue-rotate(360deg); }
}


.os-journal-image {
  text-align: center;
  opacity: 0;

  transition: opacity 300ms 300ms;

  margin-bottom: 6em;
  font-family: "Akkurat Mono", monospace;
}

.os-journal-image.is-visible {
  opacity: 1;
}

.os-journal-image img {
  display: block;
  width: auto;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  max-height: 80vh;
}

.os-journal-image p {
  margin: 1em 0 0;
}



/* grid */ 
.row { margin-left: -40px; }

.row::after, .clearfix:after {
  display: block;
  clear: both;
  width: 0;
  height: 0;
  content: " ";
}

.col {
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 0px solid rgba(0, 0, 0, 0);
  border-left-width: 40px;
  background-clip: padding-box !important;
  -moz-background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
}

.col img {
  max-width: 100%;
  height: auto;
}

.span-1 { width: 25%; }
.span-2 { width: 50.0%; }
.span-3 { width: 75%; }
.span-4 { width: 100%; }

.prefix-1 { margin-left: 25%; }
.prefix-2 { margin-left: 50%; }
.prefix-3 { margin-left: 75%; }
/* end grid */

@media screen and (max-width: 660px) {
  body {
    font-size: 14px;
  }

  .row { margin-left: -20px; }
  .col { border-left-width: 20px; margin-bottom: 20px }
  .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11 {
    width: 100%;
    margin-left: 0;
  }

  .content {
    padding: 20px;
  }
}