/******************************************************************
Site Name: 
Author: 

Stylesheet: IE Stylesheet

So instead of using the respond.js file to add media query support
to IE, we're going to use SASS to create an easily readable css file.
Here, we import all the styles the standard stylesheet gets, only
without the media queries. No need to worry about editing anything!

******************************************************************/
/*
Remember, all the BASE styles are called already since IE can
read those. Below, we need to import only the stuff IE can't 
understand (what's inside the media queries). We also need to
import the mixins file so SASS can understand the variables.
*/
/* import mixins */
/******************************************************************
Site Name:
Author:

Stylesheet: Mixins & Constants Stylesheet

This is where you can take advantage of Sass' great features:
Mixins & Constants. I won't go in-depth on how they work exactly,
there are a few articles below that will help do that. What I will
tell you is that this will help speed up simple changes like
changing a color or adding CSS3 techniques gradients.

A WORD OF WARNING: It's very easy to overdo it here. Be careful and
remember less is more.

******************************************************************/
/*********************
CLEARFIXIN'
*********************/
.clearfix {
  zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

/*********************
TOOLS
*********************/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.image-replacement {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/*********************
COLORS
Need help w/ choosing your colors? Try this site out:
http://0to255.com/
*********************/
/*
Here's a great tutorial on how to
use color variables properly:
http://sachagreif.com/sass-color-variables/
*/
/*********************
TYPOGRAPHY
*********************/
@font-face {
  font-family: 'aller_lightregular';
  src: url("../fonts/aller_lt-webfont.eot");
  src: url("../fonts/aller_lt-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/aller_lt-webfont.woff") format("woff"), url("../fonts/aller_lt-webfont.ttf") format("truetype"), url("../fonts/aller_lt-webfont.svg#aller_lightregular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'allerregular';
  src: url("../fonts/aller_rg-webfont.eot");
  src: url("../fonts/aller_rg-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/aller_rg-webfont.woff") format("woff"), url("../fonts/aller_rg-webfont.ttf") format("truetype"), url("../fonts/aller_rg-webfont.svg#allerregular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'aller_boldregular';
  src: url("../fonts/aller_bd-webfont.eot");
  src: url("../fonts/aller_bd-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/aller_bd-webfont.woff") format("woff"), url("../fonts/aller_bd-webfont.ttf") format("truetype"), url("../fonts/aller_bd-webfont.svg#allerregular") format("svg");
  font-weight: normal;
  font-style: normal;
}
/*
 * This is a bit of a hack but lets us specify styles that don't affect things upwards of 960
 */
/*******************
SIZING
Based on 100% font-size (assume 16px) w/ 1.5 line-height, means line = 24px
*******************/
.text-left {
  text-align: left;
}

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

.text-right {
  text-align: right;
}

.alert-help, .alert-info, .alert-error, .alert-success {
  margin: 10px;
  padding: 5px 18px;
  border: 1px solid;
}

.alert-help {
  border-color: #e8dc59;
  background: #ebe16f;
}

.alert-info {
  border-color: #bfe4f4;
  background: #d5edf8;
}

.alert-error {
  border-color: #f8cdce;
  background: #fbe3e4;
}

.alert-success {
  border-color: #deeaae;
  background: #e6efc2;
}

/*********************
TRANSITION
*********************/
/*
I totally rewrote this to be cleaner and easier to use.
You'll need to be using Sass 3.2+ for these to work.
Thanks to @anthonyshort for the inspiration on these.
USAGE: @include transition(all 0.2s ease-in-out);
*/
/*********************
CSS3 GRADIENTS
Be careful with these since they can
really slow down your CSS. Don't overdo it.
*********************/
/* @include css-gradient(#dfdfdf,#f8f8f8); */
/*********************
BOX SIZING
*********************/
/* @include box-sizing(border-box); */
/* NOTE: value of "padding-box" is only supported in Gecko. So
probably best not to use it. I mean, were you going to anyway? */
/*********************
BUTTONS
*********************/
.button, .button:visited {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border: 1px solid black;
  border-top-color: #090909;
  border-left-color: #090909;
  padding: 4px 12px;
  color: #fff;
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.75);
  cursor: pointer;
  margin-bottom: 20px;
  line-height: 21px;
  border-radius: 4px;
  background-color: #0e0e0e;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#1b1b1b), to(#0e0e0e));
  background-image: -webkit-linear-gradient(top, #1b1b1b, #0e0e0e);
  background-image: -moz-linear-gradient(top, #1b1b1b, #0e0e0e);
  background-image: -o-linear-gradient(top, #1b1b1b, #0e0e0e);
  background-image: linear-gradient(to bottom, #1b1b1b, #0e0e0e);
}
.button:hover, .button:focus, .button:visited:hover, .button:visited:focus {
  color: #fff;
  border: 1px solid black;
  border-top-color: black;
  border-left-color: black;
  background-color: #020202;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#0e0e0e), to(#020202));
  background-image: -webkit-linear-gradient(top, #0e0e0e, #020202);
  background-image: -moz-linear-gradient(top, #0e0e0e, #020202);
  background-image: -o-linear-gradient(top, #0e0e0e, #020202);
  background-image: linear-gradient(to bottom, #0e0e0e, #020202);
}
.button:active, .button:visited:active {
  background-color: #1b1b1b;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#0e0e0e), to(#1b1b1b));
  background-image: -webkit-linear-gradient(top, #0e0e0e, #1b1b1b);
  background-image: -moz-linear-gradient(top, #0e0e0e, #1b1b1b);
  background-image: -o-linear-gradient(top, #0e0e0e, #1b1b1b);
  background-image: linear-gradient(to bottom, #0e0e0e, #1b1b1b);
}

/******************************************************************
Site Name:
Author:

Stylesheet: Grid Stylesheet

I've seperated the grid so you can swap it out easily. It's
called at the top the style.scss stylesheet.

There are a ton of grid solutions out there. You should definitely
experiment with your own. Here are some recommendations:

http://gridsetapp.com - Love this site. Responsive Grids made easy.
http://susy.oddbird.net/ - Grids using Compass. Very elegant.
http://gridpak.com/ - Create your own responsive grid.

The grid below is a combination of the 1140 grid and Twitter Boostrap.
I liked 1140 but Boostrap's grid was way more detailed so I merged them
together, let's see how this works out. If you want to use 1140, the original
values are commented out on each line.

******************************************************************/
.onecol {
  width: 5.801104972%;
}

/* 4.85%;  } /* grid_1  */
.twocol {
  width: 14.364640883%;
}

/* 13.45%; } /* grid_2  */
.threecol {
  width: 22.928176794%;
}

/* 22.05%; } /* grid_3  */
.fourcol {
  width: 31.491712705%;
}

/* 30.75%; } /* grid_4  */
.fivecol {
  width: 40.055248616%;
}

/* 39.45%; } /* grid_5  */
.sixcol {
  width: 48.618784527%;
}

/* 48%;    } /* grid_6  */
.sevencol {
  width: 57.182320438000005%;
}

/* 56.75%; } /* grid_7  */
.eightcol {
  width: 65.74585634900001%;
}

/* 65.4%;  } /* grid_8  */
.ninecol {
  width: 74.30939226%;
}

/* 74.05%; } /* grid_9  */
.tencol {
  width: 82.87292817100001%;
}

/* 82.7%;  } /* grid_10 */
.elevencol {
  width: 91.436464082%;
}

/* 91.35%; } /* grid_11 */
.twelvecol {
  width: 99.999999993%;
}

/* 100%;   } /* grid_12 */
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol {
  display: block;
  position: relative;
  float: left;
  margin-left: 2.76243%;
}

.first {
  margin-left: 0;
}

.last {
  float: right;
}

/******************************************************************
Site Name: 
Author: 

Stylesheet: 481px and Up Stylesheet

This stylesheet is loaded for larger devices. It's set to 
481px because at 480px it would load on a landscaped iPhone.
This isn't ideal because then you would be loading all those
extra styles on that same mobile connection. 

A word of warning. This size COULD be a larger mobile device,
so you still want to keep it pretty light and simply expand
upon your base.scss styles.

******************************************************************/
/*********************
HEADER STYLES
*********************/
.header #inner-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.header #logo-container {
  width: 50%;
  padding-right: 30px;
  height: 90px;
  float: left;
}
.header #logo {
  padding: 12px 0 11px 0;
  text-align: left;
  height: 90px;
}
.header .motto {
  position: relative;
  transform: translateY(50%);
  width: 50%;
  float: left;
  text-align: right;
}

/*********************
NAVIGATION STYLES
*********************/
/* .menu is clearfixed inside mixins.scss */
.menu {
  /* end .menu ul */
}
.menu ul {
  /* end .menu ul li */
  /* highlight current page */
  /* end current highlighters */
}
.menu ul li {
  /*
  plan your menus and drop-downs wisely.
  */
}
.menu ul li a {
  /*
  you can use hover styles here even though this size
  has the possibility of being a mobile device.
  */
}

/* end .menu */
/*********************
POSTS & CONTENT STYLES
*********************/
/* entry content */
.entry-content {
  /* at this larger size, we can start to align images */
}
.entry-content .alignleft, .entry-content img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left;
}
.entry-content .alignright, .entry-content img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right;
}
.entry-content .aligncenter, .entry-content img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both;
}

/* end .entry-content */
/*********************
FOOTER STYLES
*********************/
/*
check your menus here. do they look good?
do they need tweaking?
*/
/* end .footer-links */
/******************************************************************
Site Name:
Author:

Stylesheet: Tablet & Small Desktop Stylesheet

Here's where you can start getting into the good stuff.
This size will work on iPads, other tablets, and desktops.
So you can start working with more styles, background images,
and other resources. You'll also notice the grid starts to
come into play. Have fun!

******************************************************************/
/*********************
GENERAL STYLES
*********************/
body {
  /* This doesn't really work below 960px */
  min-width: 960px;
}

/*********************
LAYOUT & GRID STYLES
*********************/
.wrap {
  max-width: 1140px;
}

.single-post #main, .single-post #related {
  position: relative;
}
.single-post #main {
  /* TODO - make these lines work!
  margin-left: ($column-margin / 2);
  padding-left: ($column-margin / 2);
  border-left: 1px solid $main-dark;
  margin-right: ($column-margin / 2);
  padding-right: ($column-margin / 2);
  border-right: 1px solid $main-dark;
  */
}

.sidebar {
  margin-left: 0;
}

/*********************
HEADER STYLES
*********************/
#header-top {
  display: none;
}

.header {
  margin-bottom: 0;
  background: #685B79 url(../images/header-bg-gradient.png) repeat-y center top;
  background: -moz-linear-gradient(left, #685d79 0%, #685d79 50%, #222245 51%, #222245 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #685d79), color-stop(50%, #685d79), color-stop(51%, #222245), color-stop(100%, #222245));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #685d79 0%, #685d79 50%, #222245 51%, #222245 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #685d79 0%, #685d79 50%, #222245 51%, #222245 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #685d79 0%, #685d79 50%, #222245 51%, #222245 100%);
  /* IE10+ */
  background: linear-gradient(to right, #685d79 0%, #685d79 50%, #222245 51%, #222245 100%);
  /* W3C */
}
.header #inner-header {
  height: 130px;
  background: url(../images/header-bg.png) no-repeat center bottom;
}
.header #logo-container {
  width: 22%;
}
.header #logo {
  width: 100%;
  float: none;
  padding-right: 0;
  padding-top: 12px;
}
.header .motto {
  width: 40%;
  padding-right: 10%;
  padding-left: 20px;
  position: relative;
  top: 30px;
  left: 50px;
  transform: none;
  text-align: left;
}
.header #search-container {
  position: relative;
  top: auto;
  color: #FFF;
}
.header #search-container a, .header #search-container a:link, .header #search-container a:hover, .header #search-container a:active, .header #search-container a:visited {
  color: #FFF;
  display: block;
  text-align: right;
}
.header #searchform {
  position: relative;
  top: 0;
  margin-top: 16px;
}
.header #searchform input[type="text"] {
  width: 70%;
}
.header #searchform input[type="submit"] {
  display: block;
  width: 30%;
}
.header .advanced-search-link {
  display: inline;
}
.header .sharing {
  display: block;
  position: relative;
  top: 5px;
}

/*********************
NAVIGATION STYLES
*********************/
.nav {
  border: 1px solid #ccc;
  border-bottom: 0;
  /* end .menu li */
  /* highlight current page */
  /* end current highlighters */
}
.nav #nav-title-link {
  display: none;
}
.nav li {
  /*
  so you really have to rethink your dropdowns for mobile.
  you don't want to have it expand too much because the
  screen is so small. How you manage your menu should
  depend on the project. Here's some great info on it:
  http://www.alistapart.com/articles/organizing-mobile/
  */
}
.nav li a {
  display: block;
  font-family: "aller_lightregular", Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 10px;
  border-bottom: 1px solid #ccc;
  /*
  remember this is for mobile ONLY, so there's no need
  to even declare hover styles here, you can do it in
  the style.scss file where it's relevant. We want to
  keep this file as small as possible!
  */
}
.nav li ul.children li a {
  padding-left: 30px;
}

/* end .nav */
.nav {
  margin: 10px 0;
  border: 0;
  font-size: 0;
  position: relative;
  /* end .menu ul li */
  /* highlight current page */
  /* end current highlighters */
}
.nav ul {
  padding: 0;
}
.nav > ul.top-level > li {
  width: 20%;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  padding: 0 10px 0 0;
}
.nav > ul.top-level > li a {
  font-size: 20px;
}
.nav li {
  /*
  plan your menus and drop-downs wisely.
  */
  /* showing sub-menus */
}
.nav li a {
  border-bottom: 0;
}
.nav li:last-child {
  padding: 0;
}
.nav li ul.sub-menu {
  background-color: transparent;
}
.nav li ul.sub-menu li {
  text-align: center;
  display: inline-block;
}
.nav li ul.sub-menu li a {
  font-size: 15px;
  padding: 6px 12px;
  border-right: 1px solid white;
}
.nav li ul.sub-menu li a:last-child {
  border-right: 0;
}
.nav li ul.sub-menu,
.nav li ul.children {
  display: none;
}
.nav li:hover > a, .nav li:focus > a, .nav li.current_page_item > a {
  background-color: #665e7a;
  color: white;
}
.nav li#language-switcher {
  position: relative;
  right: auto;
  top: auto;
}
.nav li#language-switcher ul {
  margin: 8px 0 0 0;
  padding: 0;
  text-align: right;
}
.nav li#language-switcher li {
  display: inline-block;
  padding: 0 2px;
}
.nav li#language-switcher li img {
  display: block;
  vertical-align: bottom;
}
.nav li#language-switcher li a {
  padding: 0;
}
.nav li#language-switcher li a:hover {
  background-color: white;
}

/* end .nav */
#sub-nav-container {
  margin-top: 0;
  border-top: 4px solid #665e7a;
  text-align: left;
  /* highlight sub-menu current page */
}
#sub-nav-container li {
  text-align: center;
  display: inline-block;
  margin-right: 1px;
  font-size: 14px;
}
#sub-nav-container li a {
  padding: 6px 8px;
  display: inline-block;
}
#sub-nav-container li a {
  background-color: #dbd7dc;
}
#sub-nav-container li a:hover, #sub-nav-container li a:focus {
  background-color: #665e7a;
}
#sub-nav-container li.current_page_item.no-link, #sub-nav-container li.current_page_item a {
  background: #665e7a;
  color: #FFF;
  text-transform: uppercase;
}
#sub-nav-container li.current_parent_item.no-link, #sub-nav-container li.current_parent_item a {
  background: #202146;
  color: #FFF;
  text-transform: uppercase;
}
#sub-nav-container li:last-child {
  padding-right: 0;
}
#sub-nav-container li.no-link {
  padding: 6px 8px;
}

**********
.nav li ul.sub-menu li {
  text-align: center;
  display: inline-block;
}
**********
.nav li ul.sub-menu li a {
  font-size: 15px;
  padding: 6px 12px;
  border-right: 1px solid white;
}
**********
.nav li ul.sub-menu li a:last-child {
  border-right: 0;
}

/*********************
POSTS
*********************/
/*
 * An explanation:
 * - we want 24px gap between even and odd elements (down the middle)
 * - the full-width main news column is 750px
 * - 24px is 3.2% of 750px
 * - so each article needs to be 50% wide
 * - even numbered articles need a 6.4% padding-left (double the 3.2 because it's in a 50% width box)
 * - odd numbered articles need a 6.4% padding-right
 */
.article-list a {
  display: block;
  float: left;
  width: 50%;
  padding-left: 3.2%;
}
.article-list a.odd {
  padding-left: 0;
  padding-right: 3.2%;
  clear: left;
}
.article-list a:hover article {
  background-color: #f0f0f0;
}
.article-list article {
  margin: 0 0 12px 0;
}

.feature-box article {
  width: 38%;
  margin-left: 62%;
  margin-bottom: 0;
  float: left;
  height: 116px;
}
.feature-box article.featured-image {
  width: 62%;
  margin-left: 0;
  float: none;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  height: 348px;
}
.feature-box article.featured-image a.linked-image, .feature-box article.featured-image header {
  position: absolute;
}
.feature-box article.featured-image a.linked-summary {
  display: block;
}
.feature-box article.featured-image:first-child {
  display: block;
}

.article-author .article-image {
  float: left;
  width: 78%;
  margin-right: 2%;
}
.article-author .author-image {
  display: block;
  width: 100%;
}
.article-author .author-name {
  font-size: smaller;
  line-height: 1;
}

/*********************
SIDEBARS & ASIDES
*********************/
/* links widget */
/* meta widget */
/* pages widget */
/* recent-posts widget */
/* archives widget */
/* tag-cloud widget */
/* calendar widget */
/* category widget */
/* recent-comments widget */
/* search widget */
/* text widget */
/* Display the left-hand bar with publication info and related resources - hide the footer equivalent */
.article-info-bar {
  display: block;
}
.article-info-bar .article-publication {
  font-size: 0.8em;
  font-style: italic;
}
.article-info-bar .article-publication img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #555555;
  margin-bottom: 4px;
}
.article-info-bar .article-publication a:hover, .article-info-bar .article-publication a:active {
  text-decoration: none;
}
.article-info-bar .date,
.article-info-bar .publisher {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}

#footer-related-resources,
#footer-related-articles {
  display: none;
}

/*********************
PUBLICATION STYLES
*********************/
#publication-details {
  height: 109px;
}
#publication-details .publication-strapline {
  position: absolute;
  bottom: 0;
}

#publication-cover {
  display: block;
  position: relative;
}
#publication-cover img {
  position: absolute;
  /* Removes from flow */
}

.publication-meta {
  margin-bottom: 30px;
  width: auto;
  float: none;
}
.publication-meta ul li {
  display: inline-block;
}

/*********************
FOOTER STYLES
*********************/
/*
you'll probably need to do quite a bit
of overriding here if you styled them for
mobile. Make sure to double check these!
*/
.footer .widget {
  float: left;
  width: 19%;
  margin-left: 3%;
}

.footer-links ul li {
  /*
  be careful with the depth of your menus.
  it's very rare to have multi-depth menus in
  the footer.
  */
}

/* end .footer-links */
/******************************************************************
Site Name:
Author:

Stylesheet: Desktop Stylsheet

This is the desktop size. It's larger than an iPad so it will only
be seen on the Desktop.

******************************************************************/
.header .motto {
  font-size: 1em;
  left: 0;
  padding-right: 0;
}
.header .sharing {
  top: 8px;
}

/* 
you can call the larger styles if you want, but there's really no need 
*/
/******************************************************************
ADDITIONAL IE FIXES
These fixes are now ONLY seen by IE, so you don't have to worry
about using prefixes, although it's best practice. For more info
on using Modernizr classes, check out this link:
http://www.modernizr.com/docs/
******************************************************************/
/*
For example, you can use something like:

.no-textshadow .class { ... }

You can also target specific versions by using the classes applied to
the html element. These can sometimes change, so take a look inside the
header.php file to see what they are:


.lt-ie8 .class { ... }

*/

/*# sourceMappingURL=ie.css.map */
