/* reset & basics (inspired by e. meyers)
================================================== */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, address, cite, code, em, img, small, strong, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, embed, figure, figcaption, footer, header, hgroup, menu, nav, section, summary, time, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, time, nav, section {
  display: block; }
html, body, .wrapper {
  min-height: 100%;
}


/* body
================================================== */
html, body {
  height: 100%;
}
.wrapper {
  min-height: 100%;
}
body {
  overflow-x: hidden;
 font: 17px/28px 'Nunito', sans-serif;
  color: #333;
  background: #e4e4e4;
}


/* typography
================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif; font-weight: 700;

  /* text-transform: uppercase; */
  /* font-weight: 700; */
  color: #000;
  text-rendering: optimizeLegibility;
}
p {
  margin: 0 0 28px 0;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}


/* links
================================================== */
a {
  color: #b20f1f;
  text-decoration: none;
  -webkit-transition: color .2s ease-in-out;
     -moz-transition: color .2s ease-in-out;
          transition: color .2s ease-in-out;
}
a:hover {
  color: #8d0d19;
}


/*  layout
================================================== */
/* white container that is the "page" */
.wrapper {
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
}
/* containers to keep content to a set width */
.nav,
.art-header-inner,
.footer,
.art-list,
.abt {
  width: 980px;
}
.nav,
.art-body-inner,
.footer,
.art-list,
.abt {
  position: relative;
  margin: 0 auto;
}


/*  nav
================================================== */
.nav {
  position: absolute;
  top: 0;
  left: 50%;
  height: 70px;
  padding-top: 40px;
  margin-left: -490px; /* half width of nav */
  border-bottom: 1px solid #000;
  z-index: 2;
}
.nav.fixed {
  position: fixed;
}
#logo {
  float: left;
}
.nav-primary {
  float: right;
}
.nav-primary li {
  display: inline-block;
  margin-left: 10px;
  font-weight: 500;
}
#logo h1,
.nav-primary li,
.nav-primary li a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 30px;
  color: #000;
  text-transform: uppercase;
}
#logo h1 {
  width: 40px;
  height: 30px;
  margin-left: -7px;
  font-size: 22px;
  text-indent: -9999px;
  letter-spacing: -3px;
  background: url('img/small-logo.png') bottom center;
}
.nav li:first-child {
  margin-left: 0; /* remove left margin from the first nav li */
}


/*  article
================================================== */
.art {
  margin-top: -131px;
}
/* header */
.art-header {
  height: 900px;
  /* background image is defined in the post */
  background-position: top center;
  background-attachment: fixed;
  overflow: hidden;
}
/* contains the time, title and subtitle for an article */
.art-header-inner {
  position: fixed;
  top: 300px;
  left: 50%;
  margin-left: -490px;
}
.art-time,
/* .art-title, */
.art-subtitle {
  text-align: center;
  text-transform: uppercase;
}
.art-time {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 4px;
}
.art-title {
  font-size: 100px;
  line-height: .9;
  letter-spacing: -2px;
  width: 100%;
}
.art-subtitle {
  margin-top: 1.8em;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 4px;
}

/* if small header, make few adjustments */
.small .art-title {
  font-size: 70px;
  line-height: 65px;
}
.small.art-header-inner {
  top: 320px;
}

/* body */
.art-body {
  position: relative;
  width: 100%;
  background: #fff;
  z-index: 100;
  -webkit-box-shadow: 0 -3px 3px rgba(0,0,0,.2);
     -moz-box-shadow: 0 -3px 3px rgba(0,0,0,.2);
          box-shadow: 0 -3px 3px rgba(0,0,0,.2);
}
.art-body-inner {
  max-width: 640px;
  padding: 80px 0 50px;
}
.art-body-inner ul,
.art-body-inner ol { /* for lists in the article body */
  margin-bottom: 26px;
}
.art-body-inner ul li {
  list-style: disc;
}
.dropcap { /* first character on articles */
  float: left;
  margin: 47px 10px 20px 0;
  font-size: 100px;
  line-height: 0;
}
.art-subhead { /* subheads are used to break up sections of an article */
  margin: 60px 0 15px;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 3px;
}
.callout { /* callouts are like large pullquotes */
  font-weight: bold; margin: 0 0 0px 0;
  font-size: 1.3em;
}
.art-body-inner img {
  max-width: 100%;
  max-height: 600px;
  margin-bottom: 26px;
}
.art-body-inner img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* for simple, white background posts */
.simple .art-body {
  background: none;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}


/*  list of articles
================================================== */
.art-list {
  padding: 120px 0 0;
}
.art-list-body {
  position: relative;
  overflow: hidden;
}
.art-list-item {
  padding: 40px 0;
  list-style: none;
  overflow: hidden;
  border-bottom: 1px solid #ccc;
}
.art-list-item:last-child {
  border-bottom: none;
}
.art-list-title {
  font-size: 26px;
  line-height: 26px;
  font-weight: 700;
}
.art-list-item-title-and-time {
  float: left;
  width: 30%;
  margin-bottom: 10px;
}
.art-list-time {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 2px;
  /* text-transform: uppercase; */
  color: #999;
}
.art-list-title a {
  color: #000;
}
.art-list-title a:hover {
  color: #b20f1f;
}
.art-list-item p {
  width: 65%;
  float: left;
  margin-left: 5%;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
}


/*  footer
================================================== */
.footer {
  padding: 30px 0 40px;
  overflow: hidden;
  border-top: 1px solid #ccc;
}
.footer,
.footer a {
  font-family: 'Nunito', sans-serif; font-weight: 300;
  font-size: 12px;
  /* text-transform: uppercase; */
  color: #777;
}
.footer a:hover {
  color: #000;
}
.back-to-top,
.footer-nav,
.offsite-links {
  width: 33.3%;
  float: left;
}
.footer-nav {
/*   text-align: center; */
}
.offsite-links {
  text-align: right;
}
.footer .twitter-link:hover {
  /* color: #0084B4; */
}
.footer .dribbble-link:hover {
  color: #c5376d;
}
.footer .rss-link:hover {
  color: #e85d24;
}
/* Remove prev & next links on loop */
.art-list + .footer .footer-nav,
.abt + .footer .footer-nav {
  text-indent: -9999px;
  text-align: left;
}


/*  white reverse theme
================================================== */
/* nav */
.nav.white  {
  border-bottom-color: #fff;
  border-bottom-color: rgba(255,255,255,.3);
}
.nav.white li a,
.nav.white li,
.nav.white #logo h1 {
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,.5);
}
.nav.white #logo h1 {
  background-position: top center;
}
/* art header */
.art-header.white {
  background-color: #111;
}
.art-header.white .art-time,
.art-header.white .art-title,
.art-header.white .art-subtitle {
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,.5);
}


/*  about page
================================================== */
.abt {
  padding: 200px 0 100px;
  list-style: none;
}
.abt .abt-header {
  font-size: 140px;
  line-height: 1;
  text-transform: none;
}
.abt .abt-subheader {
  font-size: 24px;
  font-style: italic;
  text-transform: none;
  color: #777;
}
.abt-body {
  -moz-column-count: 2;
  -moz-column-gap: 20px;
  -webkit-column-count: 2;
  -webkit-column-gap: 20px;
  margin-bottom: 28px;
}
.abt-signoff {
  line-height: 1.3;
  font-style: italic;
  color: #777;
}


/*  responsive
================================================== */
@media only screen and (max-width: 1080px) {
  /* Set all of the 980 containers to flexible width */
  .nav,
  .art-body-inner,
  .art-header-inner,
  .footer,
  .art-list,
  .abt {
    width: 90%;
  }
  .nav,
  .art-header-inner {
    margin-left: -45%;
  }
}

@media only screen and (max-width: 1024px) {
  /* everything becomes scrolling and non-fading */
  .nav,
  .nav.fixed {
    position: relative;
    opacity: 1 !important; /* important to override JS values */
  }
  .art-header-inner {
    position: relative;
    top: 0 !important; /* Important to override JS values */
    margin-top: 240px !important; /* Important to override JS values */
    opacity: 1 !important; /* Important to override JS values */
  }
  /* Articles no longer have fixed heights */
  .art-header {
    height: auto;
    padding-bottom: 100px;
    background-position: top center !important; /* Important to override JS values */
  }
  /* Remove bottom space out if articles doesn't have a background */
  .simple .art-header {
    padding-bottom: 0;
  }
  .art-list {
    padding-top: 0;
  }
  .abt {
    padding: 40px 0;
  }
}

@media only screen and (max-width: 780px) {
  .art-body-inner ul,
  .art-body-inner ol {
    margin-left: 20px;
  }
  .art-title {
    letter-spacing: 0;
  }
  .art-subtitle,
  .art-time {
    font-size: 12px;
  }
  .nav {
    padding-top: 25px;
    height: 55px;
  }
  .art-list-item-title-and-time,
  .art-list-item p {
    float: none;
    width: auto;
    margin-left: 0;
  }
  .abt-body {
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }
}

@media only screen and (max-width: 500px) {
  .nav-primary li {
    margin-left: 10px;
  }
  .nav #logo h1 {
    font-size: 16px;
    letter-spacing: -2px;
  }
  .nav li a {
    font-size: 12px;
  }
  .art-header {
    padding-bottom: 50px;
  }
  .art-header-inner {
    margin-top: 190px !important;
  }
  .art-body-inner {
    padding-top: 30px;
  }
  body {
    font-size: 15px;
    line-height: 24px;
  }
  p {
    margin-bottom: 24px;
  }
  .footer {
    padding: 10px 0 20px;
  }
  .back-to-top,
  .footer-nav {
    width: 50%;
  }
  .back-to-top {
    text-align: left;
  }
  .footer-nav {
/*     text-align: right; */
  }
  .FN-left {text-align: left;}


  .offsite-links {
    float: left;
    width: 100%;
    text-align: left;
  }
  .offsite-links a {
    font-size: 12px;
  }
  .art-list + .footer .footer-nav {
    display: none;
  }
  .abt .abt-header {
    font-size: 80px;
  }
  .abt .abt-subheader {
    font-size: 18px;
  }
}


/*  misc
================================================== */
::selection {
  background: #000;
  color: #fff;
}
::-moz-selection {
  background: #000;
  color: #fff;
}
img.left {
  float: left;
  margin-right: 20px;
}
img.right {
  float: right;
  margin-left: 20px;
}
/* Clearfixing pile */
.nav:before,
.art-body-inner:before,
.footer:before,
.art-list:before {
  content:"";
  display:table;
}
.nav:after,
.art-body-inner:after,
.footer:after,
.art-list:after {
  clear:both;
}
.nav,
.art-body-inner,
.footer,
.art-list {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}


@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(.95);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}
@-webkit-keyframes le-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fade-in {
  0% {
    opacity: 0;
    -moz-transform: scale(.9);
  }
  100% {
    opacity: 1;
    -moz-transform: scale(1);
  }
}
@-moz-keyframes le-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.art-header-inner {
  -webkit-animation: fade-in .5s 0s 1 ease-out;
  -moz-animation: fade-in .5s 0s 1 ease-out;
}

.art-list,
.nav,
.abt,
.art-body {
  -webkit-animation: le-fade .5s 0s 1 ease-out;
  -moz-animation: le-fade .5s 0s 1 ease-out;
}





/*

- Write a post about moving to wordpress
- Write a post about why a new site
- Publish video game poster post
- Write a post about CSS and T1
- Write email to one person post, cause otherwise it gets lost


*/

.art-error {
  font-size: 50px;
  line-height: .9;
  letter-spacing: -2px;
  width: 100%; text-align: center; margin-top: 50px;
}

.small .art-error {
  font-size: 50px;
  line-height: 65px;
}

.art-header.white .art-error {
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,.5);
}

.art-title {
  text-align: center;
}

.footer .twitter-link {
  color: #3a4b5d; font-weight: 700;
}

/* login slider */
#login-slider a.login {
	display: block;
	height: 10px;
	width: 10px;
	position: absolute;
	top: 10px;
	right: 10px;
	/* background: url(../img/icon-close.png) no-repeat 0 0 transparent; */
}

/*
div.register {
	float: left;
	width: 300px;
}
*/

/*
div.register h4 {
	margin: 5px 0 0 10px;
}
*/

/*
div.register p {
	margin: 4px 0 0 10px;
}
*/

div.login {
	float: left;
	/* padding: 10px 0 0 40px; */ padding: 90px 0 0 240px;
}

#loginForm {
	float: left;
	width: 450px;
}

#loginForm fieldset {
	float: left;
}

#loginForm p {
	float: left;
	margin-right: 10px;
}

#loginForm input {
	border: 0;
	background-color: #;
	background: url(../img/bg-input.jpg) repeat-x 0 0 transparent;
	border: 1px solid #dedede;
	height: 26px;
	color: #999999;
	padding-left: 10px;
	width: 140px;
	font-size: 11px;
	padding-top: 0;
}

#loginForm button {
	border: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #dedede;
	height: 26px;
	line-height: 13px;
	border: 0;
	height: 33px;

	font-size: 11px;
}

div.logintext {
	float: left;
	font-size: 20px;
	/* width: 125px; */ width: 100px;
	text-transform: uppercase;
	margin-top: 5px; color: #fff;
}
