/******************************************************************
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!

******************************************************************/
/******************************************************************
IMPORTS & DEPENDENCIES
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.
******************************************************************/
/******************************************************************
Site Name:
Author:

Stylesheet: Variables

Here is where we declare all our variables like colors, fonts,
base values, and defaults. We want to make sure this file ONLY
contains variables that way our files don't get all messy.
No one likes a mess.

******************************************************************/
/*********************
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/
*/
/******************************************************************
Site Name:
Author:

Stylesheet: Typography

Need to import a font or set of icons for your site? Drop them in
here or just use this to establish your typographical grid. Or not.
Do whatever you want to...GOSH!

Helpful Articles:
http://trentwalton.com/2012/06/19/fluid-type/
http://ia.net/blog/responsive-typography-the-basics/
http://alistapart.com/column/responsive-typography-is-a-physical-discipline

******************************************************************/
/*********************
FONT FACE (IN YOUR FACE)
*********************/
/*  To embed your own fonts, use this syntax
  and place your fonts inside the
  library/fonts folder. For more information
  on embedding fonts, go to:
  http://www.fontsquirrel.com/
  Be sure to remove the comment brackets.
*/
/*  @font-face {
      font-family: 'Font Name';
      src: url('fonts/libraryfonts/libraryfonts/font-name.eot');
      src: url('fonts/libraryfonts/libraryfonts/font-name.eot?#iefix') format('embedded-opentype'),
             url('fonts/libraryfonts/libraryfonts/font-name.woff') format('woff'),
             url('fonts/libraryfonts/libraryfonts/font-name.ttf') format('truetype'),
             url('fonts/libraryfonts/libraryfonts/font-name.svg#font-name') format('svg');
      font-weight: normal;
      font-style: normal;
  }
*/
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on June 20, 2014 */
@font-face {
  font-family: 'dejaweb';
  src: url('fonts/dejaweb-italic-webfont-webfont.eot');
  src: url('fonts/dejaweb-italic-webfont-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/dejaweb-italic-webfont-webfont.woff2') format('woff2'), url('fonts/dejaweb-italic-webfont-webfont.woff') format('woff'), url('fonts/dejaweb-italic-webfont-webfont.ttf') format('truetype'), url('fonts/dejaweb-italic-webfont-webfont.svg#dejawebitalic') format('svg');
  font-weight: normal;
  font-style: italic; }

@font-face {
  font-family: 'dejaweb';
  src: url('fonts/dejaweb-regular-webfont-webfont.eot');
  src: url('fonts/dejaweb-regular-webfont-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/dejaweb-regular-webfont-webfont.woff2') format('woff2'), url('fonts/dejaweb-regular-webfont-webfont.woff') format('woff'), url('fonts/dejaweb-regular-webfont-webfont.ttf') format('truetype'), url('fonts/dejaweb-regular-webfont-webfont.svg#dejawebregular') format('svg');
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'dejaweb';
  src: url('fonts/dejaweb-bolditalic-webfont-webfont.eot');
  src: url('fonts/dejaweb-bolditalic-webfont-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/dejaweb-bolditalic-webfont-webfont.woff2') format('woff2'), url('fonts/dejaweb-bolditalic-webfont-webfont.woff') format('woff'), url('fonts/dejaweb-bolditalic-webfont-webfont.ttf') format('truetype'), url('fonts/dejaweb-bolditalic-webfont-webfont.svg#dejawebbold_italic') format('svg');
  font-weight: bold;
  font-style: italic; }

@font-face {
  font-family: 'dejaweb';
  src: url('fonts/dejaweb-bold-webfont-webfont.eot');
  src: url('fonts/dejaweb-bold-webfont-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/dejaweb-bold-webfont-webfont.woff2') format('woff2'), url('fonts/dejaweb-bold-webfont-webfont.woff') format('woff'), url('fonts/dejaweb-bold-webfont-webfont.ttf') format('truetype'), url('fonts/dejaweb-bold-webfont-webfont.svg#dejawebbold') format('svg');
  font-weight: bold;
  font-style: normal; }

@font-face {
  font-family: 'calendas_plus';
  src: url('fonts/calendas_plus_bold.eot');
  src: url('fonts/calendas_plus_bold.eot?#iefix') format('embedded-opentype'), url('fonts/calendas_plus_bold.woff2') format('woff2'), url('fonts/calendas_plus_bold.woff') format('woff'), url('fonts/calendas_plus_bold.ttf') format('truetype'), url('fonts/calendas_plus_bold.svg#calendas_plusbold') format('svg');
  font-weight: bold;
  font-style: normal; }

@font-face {
  font-family: 'calendas_plus';
  src: url('fonts/calendas_plus_italic.eot');
  src: url('fonts/calendas_plus_italic.eot?#iefix') format('embedded-opentype'), url('fonts/calendas_plus_italic.woff2') format('woff2'), url('fonts/calendas_plus_italic.woff') format('woff'), url('fonts/calendas_plus_italic.ttf') format('truetype'), url('fonts/calendas_plus_italic.svg#calendas_plusitalic') format('svg');
  font-weight: normal;
  font-style: italic; }

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

/*
The following is based of Typebase:
https://github.com/devinhunt/typebase.css
I've edited it a bit, but it's a nice starting point.
*/
/*
 i imported this one in the functions file so bones would look sweet.
 don't forget to remove it for your site.
*/
/*
some nice typographical defaults
more here: http://www.newnet-soft.com/blog/csstypography
*/
h1, h2, h3, h4, h5, h6, a {
  -moz-font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "hlig" 1, "clig" 1;
  -moz-font-feature-settings: "kern=1, liga=1, dlig=1, hlig=1, clig=1";
  -ms-font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "hlig" 1, "clig" 1;
  -o-font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "hlig" 1, "clig" 1;
  -webkit-font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "hlig" 1, "clig" 1;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "hlig" 1, "clig" 1; }

p {
  word-wrap: break-word;
  /*
 -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;
  // sets a minimum number of characters before and after the break
  -webkit-hyphenate-before: 2;
   -webkit-hyphenate-after: 3;
           hyphenate-lines: 3;
*/
  -webkit-font-feature-settings: "liga", "dlig";
  -moz-font-feature-settings: "liga=1, dlig=1";
  -ms-font-feature-settings: "liga", "dlig";
  -o-font-feature-settings: "liga", "dlig";
  font-feature-settings: "liga", "dlig"; }

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

Stylesheet: Mixins Stylesheet

This is where you can take advantage of Sass' great features: Mixins.
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.

Helpful:
http://sachagreif.com/useful-sass-mixins/
http://thesassway.com/intermediate/leveraging-sass-mixins-for-cleaner-code
http://web-design-weekly.com/blog/2013/05/12/handy-sass-mixins/

******************************************************************/
/*********************
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? */
/******************************************************************
Site Name:
Author:

Stylesheet: IE Grid Styles

Since the example grid is based on media queries, so rather than
setup some js library that would make IE8 and below understand
media queries, let's just add some styles that serves a fixed grid.

Again, if you want to roll your own, just remove this junk and put
whatever you use in here.

******************************************************************/
body {
  font-family: georgia, serif !important; }

body, .wrap, .header {
  width: 960px;
  margin: 0 auto; }

.header .header-bar, .header #logo {
  width: 960px;
  margin: 0 auto;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc; }

.header #logo .logo-wrap {
  left: 12px;
  top: 2px; }

input#s {
  height: 49px;
  line-height: 50px; }

#inner-content {
  background: white;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  padding: 25px 0 0 269px !important;
  width: 960px; }

.post {
  background: transparent; }

.m-h {
  display: none; }

.header-nav.is-hidden {
  display: none; }

#content {
  margin-top: 49px; }

.header-nav {
  top: 50px;
  position: fixed;
  width: 320 -50px;
  background: transparent;
  border-left: 1px solid #ccc;
  z-index: 1; }

article {
  width: 960 -271px !important;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding-left: 25px;
  padding-right: 25px;
  margin: 0 !important; }

article header {
  width: 960 -350px; }

article .entry-content {
  width: 960 -350px; }

.header-nav .last {
  display: none; }

.header-nav ul {
  width: 320 -50px;
  background: white; }

.header-nav li {
  padding: 0 12px 0 13px;
  width: 100%; }

.get-the-images {
  float: none !important;
  padding: 0 !important;
  margin-top: 25px; }

.up, .article-background {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  top: 0 !important; }

table.portfolio .ascending:after {
  background: transparent url(../images/asc.gif) no-repeat center 8px; }
table.portfolio .descending:after {
  background: transparent url(../images/desc.gif) no-repeat center 8px; }

.header #logo-esad {
  background: #e8e8e8 url('../images/esad.gif') no-repeat center center; }

a.top {
  background: transparent url('../images/top.gif') no-repeat -20px bottom; }

a.home {
  background: transparent url('../images/home.gif') no-repeat -20px bottom; }

.header-bar .contact a {
  background: white url('../images/contact.gif') no-repeat 5px center; }

.btn-menu {
  background: white url('../images/menu.gif') no-repeat left 1px; }

.header-nav .btn-menu {
  background: white url('../images/close.gif') no-repeat center center; }

.btn-search {
  background: white url('../images/search.gif') no-repeat center center; }

/*
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 { ... }

*/