/******************************************************************
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: Choosing Wisely
Author: Creative MMS

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/
*********************/
/* main nav colors */
/* other colors */
.text-black {
  color: #323944;
}

/*
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)
*********************/
/*
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.
*/
/*
imported in the FUCNTIONS file
*/
/*
some nice typographical defaults
more here: http://www.newnet-soft.com/blog/csstypography
*/
p {
  /*
  -ms-word-break: break-all;
  -ms-word-wrap: break-all;
      word-break: break-word;
     word-break: break-word;
  // cleaning up the ragged lines and breaks
  -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? */
/*********************
CSS TRIANGLE
*********************/
/*
// Triangle
&:before {
@include triangle(
  $direction : bottom, 
  $position  : top 100% left 1em, 
  $color     : #3498db
);
}
*/
/******************************************************************
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.

******************************************************************/
/******************************************************************
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.

******************************************************************/
/*
IMPORTANT NOTE ABOUT SASS 3.3 & UP
You can't use @extend within media queries
anymore, so just be aware that if you drop
them in here, they won't work.
*/
#logo img {
  margin: 0;
}

/*********************
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 {
  margin: 0 0 166px;
  /* bottom = footer height */
}

.hidetablet {
  display: none;
}

.hideformobile {
  display: block;
}

/*********************
LAYOUT & GRID STYLES
*********************/
#inner-content {
  padding-left: 12px;
  padding-right: 12px;
}

/* custom grid */
#main {
  float: left;
  padding-right: 1.5em;
  width: 63.66%;
}
.fullwidth #main {
  width: 100% !important;
  float: none;
  padding-right: 0 !important;
}

.sidebar {
  float: right;
  padding-right: 0;
  width: 36.33%;
}

/*********************
HEADER STYLES
*********************/
.sub-header {
  position: relative;
  display: block;
  padding-top: 0;
}
.sub-header .wrap {
  padding-left: 12px;
  padding-right: 12px;
}
body.home .sub-header {
  display: block;
}
.sub-header .breadcrumbs {
  display: block;
  padding: 10px 0;
}

.hero-banner {
  min-height: 450px;
}
.hero-banner--mobile {
  display: none;
}
.hero-banner--tablet-up {
  display: block;
}
.hero-banner h1 {
  font-size: 80px;
  margin-bottom: 30px;
}
.hero-banner h2 {
  font-size: 28px;
}

.alert-box {
  padding: 20px 30px;
}

/*********************
CUSTOM POST TYPES
*********************/
/* PARTNERS */
body.single-partners article header .byline {
  display: none !important;
}

/* GENERAL ACCORDION STYLE */
.accordion article .excerpt .logoimg {
  float: left;
  display: inline-block;
  margin-bottom: 12px;
  margin-right: 16px;
}
.accordion article .excerpt .logoimg.widelogo {
  float: left;
  display: inline-block;
  margin-right: 16px;
}
.accordion article .excerpt a:hover > img.logoimg {
  opacity: 0.8;
}

.entry-content .logoimg {
  float: left;
  display: inline-block;
  margin-bottom: 12px;
  margin-right: 16px;
}
.entry-content .logoimg.widelogo {
  float: left;
  display: inline-block;
  margin-right: 16px;
}
.entry-content a:hover > img.logoimg {
  opacity: 0.8;
}

/* IN ACTION / GRANTEES / LISTS */
.list-column {
  float: left;
  width: 50%;
}

.list-left {
  padding-right: 2%;
  padding-bottom: 15px;
}

.list-right {
  padding-left: 2%;
  padding-bottom: 15px;
}

/* VIDEOS (BLOCK GRID) */
.blockgrid {
  margin-left: -0.8em !important;
}
.blockgrid > li {
  width: 50%;
  float: left;
  padding: 0 0.8em 2.0em !important;
}

/************************************************************************************************************************
NAVIGATION STYLES
*********************/
/*********************
SIDEBARS & ASIDES
*********************/
.sidebar {
  margin-top: 1.25em;
}

.widget {
  margin: 0 0 2.0em 0;
}

/* BE Subpages widget (plugin) */
.widget.widget_subpages {
  margin-bottom: 1.0em;
}
.widget.widget_subpages .widgettitle {
  display: none;
}
.widget.widget_subpages ul {
  display: block;
}
.widget.widget_subpages ul li {
  border-color: #d3eaf4;
}

/* 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 */
/*********************
FOOTER STYLES
*********************/
.footer {
  height: 166px;
}
.footer .footer2 {
  margin-top: 0;
}

/******************************************************************
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.

******************************************************************/
.wrap {
  width: 980px;
}

a > .icon {
  transition: 0.3s ease;
}

a > .icon:hover {
  opacity: 0.8;
}

a, a:visited {
  /* on hover */
}
a:hover, a:focus, a:visited:hover, a:visited:focus {
  color: #004368;
  text-decoration: none;
}

/* custom grid */
#main {
  float: left;
  padding-right: 1.75em;
  width: 69%;
}

.sidebar {
  float: right;
  padding-right: 0;
  width: 31%;
}

#inner-content {
  padding-left: 38px;
  padding-right: 38px;
}

/*********************
HEADER STYLES
*********************/
.sub-header .breadcrumbs {
  padding: 0 12px;
  margin-top: 14px !important;
}
.sub-header .breadcrumbs a:hover {
  border-bottom: 1px solid #ffffff;
}

#inner-header {
  padding-left: 12px;
  padding-right: 12px;
}

/*********************
NAVIGATION STYLES
*********************/
#inner-header {
  position: relative;
  height: auto;
  padding-top: 10px;
  padding-bottom: 0px;
}

.openmenu {
  display: none;
}

.mobile-nav-holder,
.logo-wrap {
  position: relative;
  top: auto;
  height: auto;
  width: auto;
  padding: 0;
  overflow: visible;
  z-index: 9;
  transition: none;
  background: none;
  border: 0;
}

.logo-wrap {
  z-index: 9999;
}

.nav,
.utility-nav {
  text-align: right;
}
.nav .menu-item,
.utility-nav .menu-item {
  display: inline-block;
  margin-left: 10px;
}
.nav .menu-item:first-child,
.utility-nav .menu-item:first-child {
  margin-left: 0;
}

.nav {
  border-top: 2px solid #e1e1e1;
  padding-right: 70px;
  margin-top: 50px;
}
.nav .menu-item a {
  padding: 0 10px;
}
.nav .menu-item a span {
  padding: 18px 0 14px;
  font-size: 14px;
  display: inline-block;
  border-bottom: 4px solid transparent;
}
.nav .menu-item a:hover {
  background: #f2f2f2;
  color: #323232;
}
.nav .menu-item.current-menu-item a span {
  border-bottom: 4px solid #00649b;
}

.desktop-nav-wrap {
  position: relative;
}

.utility-nav {
  position: absolute;
  top: 10px;
  right: 0;
  height: 40px;
  padding: 0 15px 0 0;
  border-top: 0;
}
.utility-nav .menu-item.current-menu-item a {
  border-bottom: 1px solid #323944;
  text-decoration: none;
}
.utility-nav .menu-item a {
  padding: 0;
}
.utility-nav .menu-item a:hover {
  color: #323944;
}

.utility-wrap {
  float: none;
  height: 50px;
  position: relative;
  margin-left: auto;
}

/* end .nav */
#mobile-search {
  display: none;
}

#desktop-search {
  background: #A1A8B0;
}
.search-open #desktop-search {
  height: 50px;
}
#desktop-search .input-wrap {
  margin: 0;
  padding: 0;
  top: 0;
}
#desktop-search .txt {
  appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  color: #fff;
  max-width: 100%;
  height: 65px;
  font-size: 28px;
  line-height: 65px;
}
#desktop-search .txt::-webkit-input-placeholder {
  color: #fff;
  opacity: 0.5;
}
#desktop-search .txt:-moz-placeholder {
  color: #fff;
  opacity: 0.5;
}
#desktop-search .txt::-moz-placeholder {
  color: #fff;
  opacity: 0.5;
}
#desktop-search .txt:-ms-input-placeholder {
  color: #fff;
  opacity: 0.5;
}
#desktop-search .submit {
  height: 65px;
}
#desktop-search .search-icon {
  width: 28px;
  height: 40px;
}
#desktop-search .search-icon .i--icon-search {
  fill: #fff;
}

.search-toggle {
  display: inline-block;
  position: absolute;
  top: 2px;
  right: 0;
  padding: 19px 15px 21px;
  cursor: pointer;
  width: 59px;
  height: 56px;
}
.search-toggle:hover {
  background: #f2f2f2;
}
.search-toggle .i--icon-search,
.search-toggle .i--icon-close {
  width: 100%;
  height: 100%;
  fill: #323944;
}
.search-toggle .i--icon-close {
  display: none;
}

.pagination a:hover, .pagination a:focus, .pagination span:hover, .pagination span:focus {
  background-color: #004368;
  color: #ffffff !important;
}

#logo img {
  max-width: 150px;
}

#logo {
  padding: 5px 12px 0;
}

#header-search {
  position: absolute;
  right: 24px;
  top: 20px;
  clear: none;
  background: transparent;
  border-top: none;
}
#header-search .input-wrap {
  margin-top: 0;
  margin-bottom: 0;
}

/*********************
HOME / PAGES
*********************/
.sidebar {
  /* Newsletter signup */
}
.sidebar .newsletter input.button {
  -webkit-transition: background-color 0.14s ease-in-out;
  transition: background-color 0.14s ease-in-out;
}
.sidebar .newsletter input.button:hover,
.sidebar .newsletter input.button:focus {
  background-color: #004a72;
}

/* VIDEOS (BLOCK GRID) */
.blockgrid > li {
  width: 33.3%;
  float: left;
}

/*********************
POSTS & CONTENT STYLES
*********************/
.entry-content {
  /*padding-left:1.0em;*/
}

/*********************
SIDEBARS & ASIDES
*********************/
.sidebar .following p.social a:hover img {
  opacity: 0.8;
}

/*********************
FOOTER
*********************/
.footer .footer1 {
  float: left;
  width: 71.4285715%;
}
.footer .footer1 a:hover > img.logo-alt {
  opacity: 0.85;
}
.footer .footer2 {
  float: right;
  width: 28.5714286%;
}

/*
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 { ... }

*/
#logo img {
  width: 230px;
  height: auto !important;
}

.sub-header {
  padding-bottom: 0;
}

#header-search .txt {
  line-height: 26px;
}

.pagination a, .pagination span {
  padding-left: 0.37em;
}

/* GENERAL ACCORDION STYLE */
.accordion article .excerpt .logoimg {
  position: relative;
  width: 175px;
}
.accordion article .excerpt .logoimg.widelogo {
  width: 296px;
}

.entry-content .logoimg {
  position: relative;
  width: 175px;
}
.entry-content .logoimg.widelogo {
  width: 296px;
}

.xsearch-list-title-bar {
  position: relative;
}
.xsearch-list-title-bar .reccomendation-table-header {
  position: absolute;
  right: 30%;
}

.search-list-title-bar span.mobile {
  display: inline-block;
}
.search-list-title-bar .reccomendation-table-header {
  display: none;
}

.addthis_floating_style {
  position: absolute;
}
.addthis_floating_style .addthis_button_facebook {
  position: absolute;
  top: 0px;
  right: 10px;
}
.addthis_floating_style .addthis_button_twitter {
  position: absolute;
  top: 28px;
  right: 10px;
}
.addthis_floating_style .addthis_button_google_plusone_share {
  position: absolute;
  top: 56px;
  right: 10px;
}
.addthis_floating_style .addthis_button_email {
  position: absolute;
  top: 84px;
  right: 10px;
}
.addthis_floating_style .addthis_button_print {
  position: absolute;
  top: 112px;
  right: 10px;
}
.addthis_floating_style .addthis_button_compact {
  position: absolute;
  top: 138px;
  right: 10px;
}

body .addthis_toolbox {
  position: absolute;
}
body .addthis_toolbox .at-floatingbar-inner {
  position: fixed;
  right: 10px;
  top: 210px;
}

/* LARGER VIEWING SIZE BREAKPOINT (style.scss) */
/* ADDTHIS STYLES */
.addthis_floating_style,
.addthis_toolbox {
  top: 230px !important;
  display: block !important;
}

body.home .addthis_floating_style,
body.home .addthis_toolbox {
  top: 224px !important;
}

.select-arrow-swap .select-arrow {
  display: none;
}
.select-arrow-swap select {
  padding-right: 0 !important;
}
