/*
Theme Name: m1
Author: Scott Bolinger
Author URI: http://m1themes.com
Description: The m1 theme is a lightweight, responsive, fully customizable theme with beautiful typography. It is designed "mobile first" theme, meaning that it looks great on mobile devices such as iPhone, iPad, Android, and more. Every color is customizable with no coding in the theme customizer, add social icons, a homepage featured image, multiple custom menus, widget areas, layout options, custom logo uploader, and lots more!
Version: 1.1.2
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-width, custom-background, custom-colors, custom-header, flexible-header, featured-image-header, featured-images, light, white, full-width-template, theme-options, threaded-comments, translation-ready, one-column, two-columns, left-sidebar, right-sidebar

m1 WordPress Theme, Copyright 2013 Scott Bolinger
m1 is distributed under the terms of the GNU GPL

The Mono Social Icons font is under the Open Font License: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
Modernizer.js is used under the MIT license http://modernizr.com/license/
m1 is based on _s ("Underscores") WordPress Theme, Copyright 2013 Automattic, Inc.
Images included with the theme are under GPL license.

*/

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
picture {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #555;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1.5;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

body {
	background: #fafaf9;
	overflow: hidden;
}
::-moz-selection {
    background: #ff7dcd;
    color: #fff;
    text-shadow: none;
}
::selection {
    background: #ff7dcd;
    color: #fff;
    text-shadow: none;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	margin: 0 0 .6em 0;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1 {
	font-size: 42px;
	font-size: 4.2rem;
	font-weight: 200;
	line-height: 1.3em;
	clear: both;
}
h2 {
	font-size: 36px;
	font-size: 3.6rem;
	font-weight: 200;
}
h3 {
	font-size: 28px;
	font-size: 2.8rem;
}
h4, .widget-title {
	font-size: 18px;
	font-size: 1.8rem;
	margin-bottom: 1em;
	font-weight: bold;
	color: #acacac;
	text-transform: uppercase;
}
h5 {
	font-size: 14px;
	font-size: 1.4rem;
}
h6 {
	font-size: 12px;
	font-size: 1.2rem;
}
.entry-title {
	font-size: 36px;
	font-size: 3.6rem;
}
hr {
	background-color: #eee;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	clear: both;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	font: italic 1.8rem/1.8em "Georgia", Palatino, serif;
	color: #999;
	padding: 0 1em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
.button,
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.more-link,
.page-links a {
	background-color: #d94096;
	border: none;
	color: #fafafa !important;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1;
	padding: .8em 1.1em .7em;
}
.button {
	display: inline-block;
}
.secondary-button {
	background-color: #999;
}
.more-link {
	display: inline-block;
}
.page-links a {
	padding: .4em;
}
.button:hover,
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.more-link:hover,
.page-links a:hover {
	background-color: #eb52a8;
	color: #fff;
}
.button:focus,
.button:active,
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
.more-link:active {
	background-color: #eb52a8;
}
a.more-link:visited, .page-links a:visited {
	color: #fafafa;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type=text],
input[type=email],
textarea,
.widget input[type="search"] {
	background: rgba( 255, 255, 255, 0.3 );
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 6px;
}
.widget input[type="search"] {
	padding: 4px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
	background: #fff;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a,
a:visited {
	color: #444;
	text-decoration: none;
}
body a:hover,
a:focus,
a:active {
	color: #d94096;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
}

.nav-previous a,
.nav-next a {
	margin-top: 0;
	font-size: 13px;
	font-size: 1.3rem;
	color: #999;
	display: block;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.5em auto;
}
.alignnone {
	margin-bottom: 1.5em;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}


/* =Icon Font
----------------------------------------------- */

@font-face {
    font-family: 'Mono Social Icons Font';
    src: url('fonts/MonoSocialIconsFont-1.10.eot');
    src: url('fonts/MonoSocialIconsFont-1.10.eot?#iefix') format('embedded-opentype'),
         url('fonts/MonoSocialIconsFont-1.10.woff') format('woff'),
         url('fonts/MonoSocialIconsFont-1.10.ttf') format('truetype'),
         url('fonts/MonoSocialIconsFont-1.10.svg#MonoSocialIconsFont') format('svg');
    src: url('fonts/MonoSocialIconsFont-1.10.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.symbol, a.symbol:before {
    font-family: 'Mono Social Icons Font';
    -webkit-text-rendering: optimizeLegibility;
    -moz-text-rendering: optimizeLegibility;
    -ms-text-rendering: optimizeLegibility;
    -o-text-rendering: optimizeLegibility;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

a.symbol:before {
    content: attr(title);
    margin-right: 0.3em;
    font-size: 130%;
}

.m1-social-icons {
	float: right;
	font-size: 2.1rem;
}

.m1-social-icons a {
	color: #fff;
}


/* =Structure
----------------------------------------------- */
.site-branding,
.site-main,
.site-info,
.footer-widget-area {
	width: 90%;
	max-width: 1100px;
	margin: 0 auto;
}
#main {
	clear: both;
}
.archive #main, .search #main {
	padding-top: 2.7em;
}
#primary {
	float: left;
	margin: 0;
	padding: 0;
	width: 67%;
}
#primary.full-width {
	width: 100%;
	float: none;
}
#content {
	margin: 0;
}
.blog #content, .error404 #content {
	margin-top: 2.2em;
}
.page #content {
	margin-top: .5em;
}
#secondary {
	float: right;
	margin: 1.8em 0 0;
	padding: 0;
	font-size: 1.4rem;
	position: relative;
	width: 28%;
}
.blog #secondary, .error404 #secondary {
	margin-top: 3.2em;
}
.page-template-page-front-page-php #secondary {
	margin-top: 2.7em;
}
#tertiary {
	padding-top: 0;
}
.error404 #searchform {
	margin-bottom: 1.5em;
}


/* =Site Header
----------------------------------------------- */

.site-header {
	background-color: #fff;
	border-bottom: 1px solid #eee;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #d94096;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}
.site-branding {
	padding: 2em;
}
.site-title-wrap {
	max-width: 35%;
	float: left;
	margin-right: 2%;
}
.site-title {
	font-size: 45px;
	font-size: 4.5rem;
	margin-bottom: 0;
	margin-top: .3em;
}
.site-title a {
	color: #d94096;
}
.site-description {
	color: #999;
	font-weight: 300;
}


/* =Menu
----------------------------------------------- */

.navigation-main {
	display: block;
	float: right;
	clear: right;
	width: auto;
	margin-top: 2em;
	max-width: 63%;
}
.top-menu-container {
	clear: both;
	display: block;
	background-color: #444;
	color: #fff;
	padding: 0 5%;
}
.top-menu-inside {
	max-width: 1100px;
	margin: 0 auto;
}
.top-menu a {
	color: #fff;
}
.top-menu-container:after {
	clear: both;
	content: "";
	display: block;
}
.navigation-main ul, .top-menu ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.top-menu ul:first-child {
	position: relative;
	left: -.7em;
}
.navigation-main li, .top-menu li {
	float: left;
	margin: 0;
	position: relative;
}
.navigation-main a {
    display: block;
    font-size: 1.4rem;
    font-weight: normal;
    padding: 1em;
    text-decoration: none;
    color: #999;
}
.navigation-main a:hover, .navigation-main .current_page_item a {
	color: #fff;
}
.top-menu a {
	font-size: 1.3rem;
	font-weight: normal;
	padding: .5em 1em;
	display: block;
	text-decoration: none;
}
.navigation-main ul ul, .top-menu ul ul {
	display: none;
	float: left;
	position: absolute;
	left: 0;
	z-index: 99999;
}
.navigation-main ul ul {
	top: 3em;
}
.top-menu ul ul, .navigation-main ul ul, .navigation-main li.sfHover:hover {
	background: #444;
}
.top-menu ul ul, .navigation-main ul ul {
	-moz-border-radius-bottomleft: 2px;
	-moz-border-radius-bottomright: 2px;
	-webkit-border-bottom-left-radius: 2px;
	-webkit-border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}
.navigation-main li.sfHover:hover {
	-moz-border-radius-topleft: 2px;
	-moz-border-radius-topright: 2px;
	-webkit-border-top-left-radius: 2px;
	-webkit-border-top-right-radius: 2px;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}
.navigation-main li.sfHover a {
	color: #fff;
}
.navigation-main ul ul ul, .top-menu ul ul ul {
	left: 100%;
	top: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}
.top-menu ul ul ul {
	left: 99%;
}
.navigation-main ul ul a, .top-menu ul ul a {
	padding: .5em 1em;
	color: #fff;
	width: 180px;
	display: block;
}
.navigation-main ul li:hover > ul, .top-menu ul li:hover > ul {
	display: block;
}
.top-menu li a:hover,
.top-menu li.current_page_item > a,
.top-menu li.current-menu-item > a,
.navigation-main li a:hover,
.navigation-main li.current_page_item > a,
.navigation-main li.current-menu-item > a {
	color: #d94096;
}
.navigation-image, .navigation-comment, .navigation-paging {
	overflow: hidden;
	margin: 1em 0;
}

/* =Superfish Drop Downs
----------------------------------------------- */

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #ccc; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(0,0,0,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: #ccc; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}


/* =Off Canvas Navigation
----------------------------------------------- */

.close-btn {
  display: block;
  width: 2.625em;
  height: 2.25em;
  padding: 0;
  margin: .5em 0 0 .4em;
  border: 0;
  position: relative;
  outline: none;
  background: url("images/close-btn.svg") center no-repeat;
  background-size: 1.875em 1.875em;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  opacity: 1;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.no-svg .close-btn {
  background-image: url("images/close-btn.png");
}
.close-btn:focus, .close-btn:hover {
  opacity: 1;
}

header .nav-btn {
  display: none;
  width: 2em;
  height: 2em;
  padding: 0;
  border: 0;
  cursor: pointer;
  outline: none;
  background: url("images/nav-icon.svg") left center no-repeat;
  background-size: 100%;
  overflow: hidden;
  z-index: 9999;
  white-space: nowrap;
  text-indent: 100%;
  opacity: .7;
}
.no-svg .nav-btn {
  background-image: url("images/nav-icon.png");
}
.nav-btn:hover {
  opacity: 1;
}
#site-navigation .close-btn {
  display: none;
}

@media screen and (max-width: 45em) {
  #site-navigation {
      overflow: hidden;
      position: absolute;
      top: 0;
      margin-top: 0;
      z-index: 999;
      width: 100%;
      background: #444;
  }
  #site-navigation, #page {
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .navigation-main ul ul, .navigation-main ul ul ul {
	  background: none;
	  display: block;
  }
  .sf-arrows ul .sf-with-ul:after {
	  content: '';
	  display: none;
  }
  #site-navigation a {
	  color: #fff;
  }
  .site-title-wrap {
	  padding: 0;
	  float: left;
  }
  .site-title {
  	  font-size: 35px;
	  font-size: 3.5rem;
  }
  header .nav-btn {
  	  display: block;
  	  float: right;
  	  margin: 2em 0 0 0;
  }
  .navigation-main ul:first-child {
	left: 0;
  }
  #site-navigation:not(:target) {
      z-index: 1;
      height: 0;
  }
  #site-navigation:target .close-btn {
      display: block;
  }
  #site-navigation:target {
	  border: none;
	  outline: none;
  }
  #site-navigation .close-btn {
      position: relative;
      margin-right: 0;
      margin-left: .4em;
      padding: 0;
      cursor: pointer;
  }
  .navigation-main li {
	  clear: both;
	  width: 100%;
  }
  .navigation-main ul ul {
	  display: block;
	  position: static;
	  width: 90%;
	  padding-left: 1em;
  }
  .navigation-main ul ul a {
	  padding: 1em;
	  width: auto;
  }
  .js-nav #site-navigation {
    height: 100%;
    width: 70%;
    -webkit-box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25);
    box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25);
  }
  .js-nav #site-navigation .menu {
    background: transparent;
  }
  .js-nav #site-navigation .close-btn {
    display: block;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
  }
  .js-nav #site-navigation .close-btn:focus, .js-nav #site-navigation .close-btn:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
  }
  
  .csstransforms3d.csstransitions.js-nav #site-navigation {
    left: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .csstransforms3d.csstransitions.js-nav #page {
    left: 0 !important;
    -webkit-transform: translate3d(70%, 0, 0) scale3d(1, 1, 1);
    -moz-transform: translate3d(70%, 0, 0) scale3d(1, 1, 1);
    -ms-transform: translate3d(70%, 0, 0) scale3d(1, 1, 1);
    -o-transform: translate3d(70%, 0, 0) scale3d(1, 1, 1);
    transform: translate3d(70%, 0, 0) scale3d(1, 1, 1);
    -webkit-transition: -webkit-transform 500ms ease;
    -moz-transition: -moz-transform 500ms ease;
    -o-transition: -o-transform 500ms ease;
    transition: transform 500ms ease;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .csstransforms3d.csstransitions.closeNav #site-navigation {
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .csstransforms3d.csstransitions.closeNav #page {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

}



/* =Content
----------------------------------------------- */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.entry-meta {
	font-weight: 300;
	font-size: 14px;
	font-size: 1.4rem;
	color: #999;
}
.single .entry-meta, .search .entry-meta {
	margin: 1em 0;
}
.single footer.entry-meta, .search footer.entry-meta {
	margin: 1em 0 0;
}
.page footer.entry-meta {
	padding-top: 1.5em;
}

footer.entry-meta {
	border-top: 1px solid #eee;
	padding-top: 1.3em;
}
.entry-header {
	padding-bottom: 1.3em;
	border-bottom: 1px solid #eee;
}
.post {
	padding: .6em 0 1.3em 0;
	border-bottom: 1px solid #eee;
	margin-bottom: 2em;
}
.single .post {
	margin-bottom: 1.5em;
}
.page .entry-header, .single .entry-header {
	margin-top: 2.7em;
	padding-bottom: 0;
}
.entry-header .entry-title {
	margin-bottom: .3em;
}
.archive .entry-header .taxonomy-description p {
	margin-bottom: 0;
}
.archive .taxonomy-description {
	margin-top: 1em;
}
.archive #primary, .search #primary {
	margin-top: .8em;
}
.search .page-title, .archive .page-title {
	margin-bottom: 0;
}

/* =Custom Home Page
----------------------------------------------- */

.m1-home-banner {
	margin: 2.7em 0 0;
	padding: 2em;
	max-width: 1100px;
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid #eee;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.m1-home-banner-text {
	color: #fff;
	max-width: 65%;
	line-height: 1.4;
	text-shadow: 1px 1px 1px rgba(0,0,0, 0.4);
	background-color: #444;
	background-color: rgba(0,0,0,.4);
	margin-left: -2em;
	padding: 2em;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.m1-home-banner-text p {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 300;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
	height: auto;
}
.site-header img,
.entry-content img,
.widget-img,
img[class*="align"],
img[class*="wp-image-"],
.wp-caption img {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
.widget img,
img.size-full {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	max-width: 100%;
	text-align: center;
}
.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.alignnone {
	margin-bottom: 1.5em;
}
.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
#content .gallery {
	margin-bottom: 1.5em;
}
.wp-caption-text,
.gallery-caption,
.wp-caption {
	font-size: 12px;
	font-size: 1.2rem;
	color: #999;
}
#content .gallery a img {
	max-width: 90%;
}
#content .gallery a img, .attachment-post-thumbnail, .wp-caption {
	border: none;
	height: auto;
	padding: .2em;
	background: #fff;
	-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, .12);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .12);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, .12);
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
#content .gallery a img:hover {
	background: #ccc;
}
#content .gallery dd {
	margin: 0;
}
.attachment-post-thumbnail {
	margin-bottom: 1.3em;
}
.group-blog .attachment-post-thumbnail {
	margin-bottom: 1.5em;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-content .site-navigation {
	font-size: 13px;
	font-size: 1.3rem;
	font-style: italic;
	margin: 0 0 1.5em;
	overflow: hidden;
}
.site-content .nav-previous {
	float: left;
	max-width: 50%;
}
.site-content .nav-next {
	float: right;
	text-align: right;
	max-width: 50%;
}
.navigation-post {
	display: block;
	margin-bottom: 1.5em;
	overflow: hidden;
}


/* =Comments
----------------------------------------------- */

#comments {
	clear: both;
}
.page #comments {
	border-top: 1px solid #eee;
	padding-top: 1.5em;
}

.bypostauthor {
}
.comments-title,
#reply-title {
	font-size: 20px;
	font-size: 2rem;
	font-weight: 300;
	color: #999;
}
.comment-list li {
	list-style: none;
}
.comment-content ul, .comment-content ol {
	margin-bottom: 1.5em;
}
.comment-content ul li {
	list-style: disc;
}
.comment-content ol li {
	list-style: decimal;
}
ol.comment-list,
.children {
	list-style: none;
	margin: 0;
}
ol.comment-list {
	margin-bottom: .7em;
}
.children {
	margin: 0 0 0 6%;
}
.comment-list li.comment,
.comment-list li.pingback {
	padding: 1em 0;
}
.comment-list .children li,
.comment-list li:last-of-type {
	border: none;
}
article.comment,
li.pingback {
	overflow: hidden;
	padding: 2.5em 0 0.7em;
    position: relative;
}
.children article.comment,
.children li.pingback {
	padding-top: 1.0em;
}
.comment .avatar {
	float: left;
	margin-right: 1.25em;
}
.comment-author {
	font-size: 14px;
	font-size: 1.4rem;
}
.comment-meta {
	font-size: 12px;
	font-size: 1.2rem;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #eee;
	margin-bottom: 1.5em;
}
.comment-meta .fn {
	font-style: normal;
	font-weight: bold;
}
.comment-metadata a, .comment .reply a {
	color: #999;
}
.comment-content{
	margin: 1em 0 0;
}
.comment .reply {
	font-size: 12px;
	font-size: 1.2rem;
}
li.pingback {
	font-weight: bold;
}
li.pingback a {
	font-weight: normal;
}
#comments .form-allowed-tags {
	display: none;
}
#respond input[type="submit"] {
	margin-top: 0;
}
.comment-body {
	padding: 2em;
	background: #fff;
	-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, .12);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .12);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, .12);
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

/* Comment Form */
.comment-notes,
#commentform .form-allowed-tags,
p.nocomments,
p.logged-in-as,
#commentform label {
	font-size: 13px;
	font-size: 1.3rem;
}
.required {
	color: #880000;
}

#commentform .form-allowed-tags,
#commentform .form-allowed-tags code {
	font-size: 11px;
	font-size: 1.1rem;
}
p.nocomments {
	margin: 2.5em;
}
p.comment-form-author {
	margin-bottom: 1em;
}
#commentform label {
	display: block;
	margin-bottom: .5em;
}


/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}
.widget ul {
	list-style: none;
	margin: 0 0 1.5em 0;
}
.widget ul li {
	padding-bottom: .5em;
	margin-bottom: .5em;
	border-bottom: 1px solid #eee;
}
.widget ul.sub-menu {
	padding: 0;
	margin: 1em;
}
.widget ul ul.children {
	margin: 1em 0 0 1em;
}
.widget ul ul ul.sub-menu {
	margin: 1em 0;
}
.widget ul ul li {
	border-bottom: none;
	padding: 0;
	margin: 0 0 1em 0;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .submit {
	display: none;
}

#header-widget-area {
	padding: 0;
	float: right;
	max-width: 63%;
	margin-top: .2em;
}

#header-widget-area .widget {
	margin: 0;
}

#header-widget-area .widget input[type="search"] {
	background: #eee;
	font-size: 1.4rem;
}


/* =Site Footer
----------------------------------------------- */

.footer-widget-area {
	margin-top: 2em;
	clear: both;
	overflow: hidden;
	border-bottom: 1px solid #eee;
}
.site-footer {
	clear: both;
	width: 100%;
	margin-top: 1em;
	background: #fff;
	border-top: 1px solid #eee;
}
.site-footer .widget {
	float: left;
	width: 22.5%;
	margin-left: 5%; 
}
.site-footer .widget:first-child {
	margin-left: 0;
	width: 45%;
}
.site-info {
	font-size: 12px;
	font-size: 1.2rem;
	padding: 1.5em 0;
	text-align: center;
}
.site-info, .site-info a {
	color: #999;
}


/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .navigation-paging, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}


/* =Responsive Structures
----------------------------------------------- */

@media only screen and (max-width: 45em) {
	
	.site-branding {
		padding: 0 5%;
	}
	#content,
	#primary,
	#secondary,
	#tertiary {
		float: none;
		width: auto;
		margin: 0;
	}
	
	#secondary {
		margin-top: 1.5em;
	}
	
	.blog #secondary, .error404 #secondary {
		margin-top: 1em;
	}
	
	#header-widget-area {
		float: none;
		clear: both;
		margin: 1em 0;
		max-width: 100%;
	}
	
	#header-widget-area .widget input[type="search"] {
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	#site-logo img {
		margin: 1.5em 0 1em 0;
	}
	
	.alignright,
	.alignleft {
		float: none;
		display: block;
		margin: 0 auto 1.5em auto;
	}
	
	.wp-caption {
		display: block;
	}
	
	.site-footer .widget, .site-footer .widget:first-child {
		float: none;
		width: 100%;
		margin-bottom: 1.5em;
		margin-left: 0;
	}
}

@media only screen and (max-width: 56em) {
	.navigation-main {
		margin-top: 0;
		float: none;
		clear: both;
		max-width: 100%;
		position: relative;
		left: -.9em;
	}
	.site-title-wrap {
		max-width: 70%;
	}
	#site-logo img {
		margin-bottom: 1em;
	}
	#header-widget-area {
		margin-top: 1.8em;
	}
}

@media only screen and (max-width: 64em) {

	.m1-home-banner {
		margin: 0 -4em;
		padding: 2em 4em;
	}

	.m1-home-banner-text {
		max-width: 100%;
		margin-left: 0;
		text-align: center;
	}
	
}


/* =IE Styles
----------------------------------------------- */

#ie8 .site-header img,
#ie8 .entry-content img,
#ie8 img.size-full,
#ie8 .entry-thumbnail img,
#ie8 .widget img,
#ie8 .wp-caption img {
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}