@import "compass";
@import "solarized";
@import "normalize";
$fontAwesomePath: "../fonts";
@import "fontawesome";
//@import "compass-holmes"; // css-based debugging
@import "susy";

// Setting up the Magic Grid
$total-columns: 12; // 12 columns
$column-width: 4em; // columns are 4em wide
$gutter-width: 1em; // with 1em gutters
$grid-padding: 1em; // and 1em padding on the grid container
$container-style: magic;
$container-width: 50em;

h1 {
  font-family: 'Lobster', Georgia, Times, serif;
  font-size: 2em;
  font-weight: 600;
  line-height: 1em;
}
h2 {
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1em;
}

@include at-breakpoint(40em) {
  .span3 { @include span-columns(3,9); }
  .span3_omega { @include span-columns(3 omega,9); }
  .clear { clear: both; }
  h1 {
    font-size: 3em;
  }
}

body {
  font-family: 'Vollkorn', Helvetica, Arial, sans-serif;
  line-height: 1.3em;
}

a { text-decoration:none; }

header {
  position: fixed;
  line-height: 1.8em;
  top: 0px;
  right: 0px;
  display: inline;
  width: 100%;
  padding: 0px;
  z-index: 1;
  li {
    display: inline;
    list-style: none;
    padding: 5px;
    text-align: center;
  }
  ul {
    float: right;
    margin: 0px;
    padding: 0px;
  }
  box-shadow: 0 2px 3px #b8b8b8;
}

footer {
  padding: 0.3em 1em 0.3em;
  box-shadow: 0 2px 3px #b8b8b8;
  p {
    margin: 0;
  }
}

.amp, abbr[title="and"] {
  font-family: Baskerville,Palatino,"Book Antiqua",serif;
  //font-family: 'Lobster', Georgia, Times, serif;
  font-style: italic;
  font-weight: normal;
  line-height: 1em;
  margin: 0 0 0.2em;
}

.container {
  @include accentize($yellow);
  @include container;

  #main {
    margin-top: 50px;
    @include clearfix;
  }
  a:hover {
    color: darken($yellow, 10%);
  }
}

.navlink {
  @include border-radius(3px);
  &:hover {
    text-decoration: none;
  }
  @include transition-duration(.2s);
  @include transition-timing-function(ease-in);
}

@include at-breakpoint(40em) {
  .span3 { @include span-columns(3,9); }
  .span3_omega {
    @include span-columns(3 omega,9);
    @include clearfix;
  }
  dd { margin-left: 0;}
}
@include at-breakpoint(45em) {
  dd { margin-left: 1em;}
}

#sitelink {
  float: left;
  font-size: 1.1em;
  padding-right: 0.1em;
  padding-left: 0.1em;
  font-family: 'Lobster', Georgia, Times, serif;
  letter-spacing: -0.07em;
  &:hover {
    text-decoration: none;
  }
  vertical-align: 0.2em;
  padding-top: 0.2em;
  line-height: 1em;
  span {
    vertical-align: -0.2em;
    line-height: 1em;
  }
}

#pagetitle {
  @include text-shadow(0px, -1px, 1px, rgb(255,255,255), 0px, 1px, 1px, rgb(102,102,102));
}

.icons {
  dd {
    display:block;clear:both;
  }
}

.overview {
  span { font-size: 1.8em; };
}
