/*
Theme Name: Adaption
Theme URI: http://adaptiondemo.wordpress.com/
Author: Automattic
Author URI: http://themes.wordpress.com/
Description: A theme that adapts to your content, making sure it looks good on any device. Full width featured images make your content stand out. This theme adapts as add widgets with a 3rd column added to the layout.
Version: 1.0.4-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adaption
Domain Path: /languages/
Tags: black, white, red, three-columns, two-columns, responsive-layout, fluid-layout, custom-colors, custom-header, custom-menu, editor-style, infinite-scroll, post-formats, rtl-language-support, sticky-post, translation-ready, photoblogging, photography, clean, contemporary, light, minimal, modern, simple, professional, custom-background, blog, journal

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Adaption is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Clearings
3.0 - Alignments
4.0 - Typography
5.0 - Elements
6.0 - Forms
7.0 - Media
8.0 - Navigation
9.0 - Accessiblity
10.0 - Widgets
11.0 - Content
12.0 - Infinite scroll
13.0 - Media
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 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: 55.0%;
  /* 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 centered 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/ */
}

*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box;
  /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
  -moz-box-sizing: border-box;
  /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
  box-sizing: border-box;
}

body {
  background: white;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -o-hyphens: none;
  hyphens: none;
  display: block;
}

ol, ul {
  list-style: none;
}

table {
  /* tables still need 'cellbaseline="0"' in the markup */
  border-collapse: separate;
  border-baseline: 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 {
  outline: 0;
}

a img {
  border: 0;
}

::selection {
  background: #cf000f;
  color: white;
}

::-moz-selection {
  background: #cf000f;
  color: white;
}

/*--------------------------------------------------------------
2.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: '';
  display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
3.0 Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 20px;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 20px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

img.alignright {
  margin-left: 10px;
}

img.alignleft {
  margin-right: 10px;
}

/*--------------------------------------------------------------
4.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
  color: #444444;
  font-family: "Arimo", sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: #111111;
  font-family: "Arimo", sans-serif;
  margin-bottom: 10px;
}

h1 {
  font-size: 25.6px;
  font-size: 2.56rem;
  font-weight: 700;
  line-height: 1.17188;
}

h2 {
  font-size: 20px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

h3 {
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.875;
}

h4 {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.14286;
}

h5 {
  font-size: 12.5px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2.4;
}

h6 {
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2.5;
}

h1.page-title {
  color: #777777;
}

h1.entry-title a,
h1.entry-title a:visited {
  color: #444444;
}

h1.entry-title a:hover {
  color: #cf000f;
  text-decoration: none;
}

h1.widget-title {
  font-size: 16px;
  font-size: 1.6rem;
  padding: 20px 0;
  text-transform: uppercase;
}

h1.site-title {
  font-size: 25.6px;
  font-size: 2.56rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1.site-title a:hover {
  color: #a00101;
}

h2.site-description {
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 200;
  opacity: 0.8;
}

h2.comments-title {
  font-size: 25.6px;
  font-size: 2.56rem;
  padding-bottom: 40px;
}

.widget {
  font-size: 14px;
  font-size: 1.4rem;
}

p {
  margin-bottom: 20px;
}

b, strong {
  font-weight: bold;
}

dfn, cite, em, i {
  font-style: italic;
}

.format-quote .entry-content,
blockquote {
  border-top: 2px solid #eeeeee;
  border-bottom: 2px solid #eeeeee;
  color: #777777;
  font-style: italic;
  padding: 40px 0 20px 0;
}

blockquote {
  margin: 20px 0;
}

.format-quote .entry-content blockquote {
  border-top: none;
  border-bottom: none;
  margin: 0;
  padding: 0;
}

address {
  margin: 0 0 20px;
}

pre {
  background: #eeeeee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 100%;
  overflow: auto;
  padding: 20px;
}

code, kbd, tt, var {
  font-size: 14px;
  font-size: 1.4rem;
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
  border-bottom: 1px dotted #777777;
  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%;
}

/*--------------------------------------------------------------
5.0 Elements
--------------------------------------------------------------*/
hr {
  background-color: #2f3134;
  border: 0;
  height: 1px;
  margin-bottom: 20px;
}

figure {
  margin: 0;
}

ul, ol {
  margin: 0 0 20px 40px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 20px;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 20px 20px;
}

table {
  margin: 0 0 20px;
  width: 100%;
}

th {
  font-weight: bold;
}

/*--------------------------------------------------------------
6.0 Forms
--------------------------------------------------------------*/
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 */
}

select {
  width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
  /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  -moz-box-sizing: content-box;
  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"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #777777;
  border: 3px solid #eeeeee;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #333333;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 4px;
}

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%;
}

.search-form input.search-field {
  background: whitesmoke;
  border: 1px solid #dddddd;
  color: #444444 !important;
  padding: 5px 10px;
  width: 90%;
}

#secondary .search-form input.search-field {
  background: #cccccc;
}

.search-form input:focus {
  background: white;
  border: 1px solid #333333;
  box-shadow: none;
  outline: none;
}

button {
  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[type="button"],
input[type="reset"],
input[type="submit"] {
  background: white;
  border: 3px solid #2f3134;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  color: #2f3134;
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */
  display: inline-block;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 5px 10px;
  -webkit-appearance: button;
  /* Corrects inability to style clickable 'input' types in iOS */
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: white;
  border: 3px solid #cf000f;
  color: #cf000f;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  background: white;
  border: 3px solid #cf000f;
  color: #cf000f;
}

/*--------------------------------------------------------------
7.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.wp-caption {
  border: 1px solid #cccccc;
  margin-bottom: 20px;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 1.2% auto 0;
  max-width: 98%;
}
.wp-caption .wp-caption-text {
  margin: 10px 0;
}

.gallery-caption {
  font-size: 90%;
}

.wp-caption-text {
  font-size: 85%;
  text-align: center;
}

.site-main .gallery {
  margin-bottom: 20px;
}
.site-main .gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}
.site-main .gallery dd {
  margin: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  /* Make sure images with WordPress-added height and width attributes are scaled correctly */
  max-width: 100%;
}

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

img.alignleft {
  margin: 20px 20px 20px 0;
}

img.alignright {
  margin: 20px 0 20px 20px;
}

img.aligncenter {
  margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Navigation
--------------------------------------------------------------*/
.main-navigation {
  background: #cf000f;
  clear: both;
  font-weight: 700;
  padding: 0;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  background: #cf000f;
  color: white;
  display: none;
  margin: 0;
  padding: 0;
}
.main-navigation ul ul li:first-child a {
  padding: 10px 20px 10px 40px;
}
.main-navigation ul ul li:last-child a {
  padding: 10px 20px 10px 40px;
}
.main-navigation ul ul ul li:first-child a {
  padding: 10px 20px 10px 60px;
}
.main-navigation ul ul ul li:last-child a {
  padding: 10px 20px 10px 60px;
}
.main-navigation ul ul ul ul li:first-child a {
  padding: 10px 20px 10px 80px;
}
.main-navigation ul ul ul ul li:last-child a {
  padding: 10px 20px 10px 80px;
}
.main-navigation ul ul li a {
  opacity: 0.7;
  padding-left: 40px;
}
.main-navigation ul ul li a:hover {
  background: #a00101;
  opacity: 1;
}
.main-navigation ul ul ul li a {
  padding-left: 60px;
}
.main-navigation ul ul ul ul li a {
  padding-left: 80px;
}
.main-navigation ul ul {
  top: 0;
}
.main-navigation li a {
  background: #cf000f;
  padding: 10px 20px;
  position: relative;
}
.main-navigation li a:hover {
  background: #a00101;
  color: white;
}
.main-navigation a,
.main-navigation a:visited {
  color: white;
  display: block;
  opacity: 1;
  text-transform: uppercase;
}
.main-navigation a:hover {
  color: white;
  opacity: 1;
}

.main-navigation ul ul.sub-on {
  display: block;
}

.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
  color: #eeeeee;
}

.site-main [class*="navigation"] {
  margin: 0;
  overflow: hidden;
}

[class*="navigation"] .nav-previous {
  float: left;
  width: 50%;
}

[class*="navigation"] .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

.nav-links {
  overflow: hidden;
  padding: 20px;
}

.nav-previous a,
.nav-previous a:visited,
.nav-next a,
.nav-next a:visited {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

#social-links-wrapper {
  clear: both;
  display: block;
  padding: 40px 20px;
}

.social-links ul a:before,
#mobile-link:before,
.showsub-toggle,
#widget-link {
  -webkit-font-smoothing: antialiased;
  font-family: "Genericons";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  vertical-align: text-bottom;
}

.showsub-toggle {
  content: "";
  display: block;
  height: 41px;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 40px;
}

.showsub-toggle {
  opacity: 0.5;
}

.showsub-toggle:after {
  color: #eeeeee;
  content: "\f502";
  font-size: 16px;
  height: 16px;
  position: absolute;
  right: 11px;
  top: 14px;
  width: 16px;
}

.showsub-toggle:hover,
.showsub-toggle:focus,
.showsub-toggle.sub-on {
  opacity: 1;
}

.showsub-toggle:hover:after,
.showsub-toggle:focus:after {
  color: white;
}

.showsub-toggle.sub-on:after {
  content: "\f500";
  top: 6px;
}

.social-links {
  margin: 0 auto;
}

.social-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links ul li {
  display: inline-block;
  list-style: none;
  margin: 0 0 4px 0;
}

.social-links ul a {
  display: inline-block;
  text-decoration: none;
}

.social-links ul a:before {
  color: white;
  font-size: 28px;
  display: block;
  padding: 5px;
  text-align: center;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.social-links ul a:hover {
  text-decoration: none;
}

.social-links ul a:hover:before {
  background: #cf000f;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.social-links ul:last-of-type {
  margin-right: 0;
}

.social-links ul a[href*='wordpress.org']:before,
.social-links ul a[href*='wordpress.com']:before {
    content: '\f205';
}
.social-links ul a[href*='facebook.com']:before {
    content: '\f204';
}
.social-links ul a[href*='twitter.com']:before {
    content: '\f202';
}
.social-links ul a[href*='dribbble.com']:before {
    content: '\f201';
}
.social-links ul a[href*='plus.google.com']:before {
    content: '\f206';
}
.social-links ul a[href*='pinterest.com']:before {
    content: '\f209';
}
.social-links ul a[href*='github.com']:before {
    content: '\f200';
}
.social-links ul a[href*='tumblr.com']:before {
    content: '\f214';
}
.social-links ul a[href*='youtube.com']:before {
    content: '\f213';
}
.social-links ul a[href*='flickr.com']:before {
    content: '\f211';
}
.social-links ul a[href*='vimeo.com']:before {
    content: '\f212';
}
.social-links ul a[href*='instagram.com']:before {
    content: '\f215';
}
.social-links ul a[href*='codepen.io']:before {
    content: '\f216';
}
.social-links ul a[href*='linkedin.com']:before {
    content: '\f207';
}
.social-links ul a[href*='foursquare.com']:before {
    content: '\f226';
}
.social-links ul a[href*='reddit.com']:before {
    content: '\f222';
}
.social-links ul a[href*='digg.com']:before {
    content: '\f221';
}
.social-links ul a[href*='getpocket.com']:before {
    content: '\f224';
}
.social-links ul a[href*='path.com']:before {
    content: '\f219';
}
.social-links ul a[href*='stumbleupon.com']:before {
    content: '\f223';
}
.social-links ul a[href*='spotify.com']:before {
    content: '\f515';
}
.social-links ul a[href*='twitch.tv']:before {
    content: '\f516';
}
.social-links ul a[href*='dropbox.com']:before {
    content: '\f225';
}
.social-links ul a[href*='/feed']:before {
    content: '\f413';
}
.social-links ul a[href*='skype']:before {
    content: '\f220';
}
.social-links ul a[href*='mailto']:before {
    content: '\f410';
}
.social-links ul a:before {
  background: #666;
  content: "\f415";
}

#mobile-panel {
  background: #cf000f;
  overflow: hidden;
  padding: 0 0 10px 0;
  width: 100%;
}

#mobile-link {
  color: white;
  cursor: pointer;
  display: inline-block;
  float: left;
  height: 45px;
  padding: 10px;
  width: 50px;
}

#mobile-link:hover,
#mobile-link.active {
  background: rgba(0, 0, 0, 0.4);
}

#mobile-link:before {
  content: "\f419";
  font-size: 28px;
}

#mobile-panel h1.site-title {
  clear: none;
  float: right;
  font-size: 18px;
  font-size: 1.8rem;
  margin: 0;
  padding: 15px 10px 0 10px;
}

#mobile-panel h1.site-title a {
  color: white;
}

#mobile-block {
  border-top: 1px solid #fff;
  display: none;
  overflow: hidden;
}

#mobile-block.active {
  display: block;
}

#mobile-block {
  top: 0;
}

a {
  color: #cf000f;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: #cf000f;
}

.entry-summary a,
.entry-summary a:hover,
.entry-content a,
.entry-content a:hover {
  text-decoration: underline;
}

.entry-summary a:hover,
.entry-content a:hover {
  color: #a00101;
}

/*--------------------------------------------------------------
9.0 Accessibility
--------------------------------------------------------------*/
/* 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;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  color: #cf000f;
  clip: auto !important;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 20px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar */
}

/*--------------------------------------------------------------
10.0 Widgets
--------------------------------------------------------------*/
.widget {
  border-top: 2px solid #eeeeee;
  border-bottom: 1px solid white;
  color: #333333;
  padding: 20px;
}
.widget .widget select {
  max-width: 100%;
}
.widget h1 {
  color: #333333;
}

.widget a,
.widget a:link {
  color: #333333;
}

.widget a:hover {
  color: #cf000f;
}

/* Search widget */
.widget_search .search-submit {
  display: none;
}

.widget-areas {
  padding: 0 0 10px 0;
}

.widget ul {
  margin: 0;
  padding: 0;
}

.widget li {
  font-weight: 700;
  list-style: none;
  padding: 10px 0;
}

.tagcloud a,
.tags-links a,
.wp_widget_tag_cloud a {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  border: 3px solid #2f3134;
  color: #2f3134 !important;
  font-size: 14px !important;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 5px;
  padding: 0 10px;
}

.tagcloud a:hover,
.tags-links a:hover,
.wp_widget_tag_cloud a:hover {
  border: 3px solid #cf000f;
  color: #cf000f !important;
}

.widget .sub-menu {
  padding-left: 10px;
}

#widget-block {
  background: #f2f1ef;
  overflow: hidden;
  width: 100%;
}

#widget-link {
  color: white;
  cursor: pointer;
  display: inline-block;
  float: left;
  height: 45px;
  padding: 10px;
  width: 50px;
}

#widget-link:hover,
#widget-link.active {
  background: rgba(0, 0, 0, 0.4);
}

#widget-link:before {
  content: "\f445";
  font-size: 26px;
}

#widget-block {
  display: none;
  overflow: hidden;
}

#widget-block.active {
  display: block;
}

#widget-block {
  top: 0;
}

.widget_recent_comments td {
  vertical-align: top;
}

#widget-block .widget-areas {
  margin: 0 auto;
  max-width: 580px;
}

/*--------------------------------------------------------------
11.0 Content
--------------------------------------------------------------*/
body {
  background: #fafafa;
  margin: 0;
  padding: 0;
  width: 100%;
}

#page {
  background: white;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#comments,
.entry-meta,
.entry-content,
.entry-summary,
.entry-header,
.entry-meta {
  margin: 0 auto;
  max-width: 680px;
}

#content {
  padding: 0;
}

.entry-thumbnail {
  margin-right: -20px;
  margin-left: -20px;
}

#masthead,
#secondary {
  display: none;
}

.site-branding {
  margin: 0;
  padding: 20px;
}

#header-image.custom-header {
  border-bottom: none;
}

#header-image.no-header {
  background: #cf000f;
  border-bottom: 1px solid #a00101;
  height: 240px;
}

#colophon {
  border-top: 4px solid #444444;
  clear: both;
  font-size: 14px;
  font-size: 1.4rem;
  margin: 0 20px;
  padding: 20px 0;
}

#colophon a {
  color: #333333;
}

#colophon a:hover {
  color: #cf000f;
}

.hentry,
.page-header {
  border-bottom: 1px solid #eee;
  margin: 0;
  padding: 0 20px;
}

.hentry:last-child {
  border-bottom: none;
}

.page-header {
  border-bottom: 3px solid #777777;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.byline,
.updated {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin-top: 20px;
  margin-bottom: 20px;
}

.entry-content,
.entry-summary {
  padding-top: 20px;
}

.page-links {
  clear: both;
  margin: 0 0 20px;
}

.entry-header,
.page-title {
  padding: 20px 0 0 0;
}

.entry-meta {
  border-bottom: 3px solid #333333;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 40px 0 20px;
}

.entry-meta a {
  color: #333333;
}

.entry-meta a:hover {
  color: #cf000f;
}

footer.entry-meta {
  border-bottom: none;
  padding: 20px 0;
  margin-bottom: 80px;
}

.comments-link {
  float: right;
}

.edit-link {
  opacity: 0.8;
  padding: 0 0 0 20px;
}

.edit-link:hover {
  opacity: 1;
}

.entry-top span:after {
  content: "\5c0";
  margin: 0 5px;
}

.entry-top span:last-child:after {
  content: none;
}

.entry-top span.author:after,
.entry-top span.comments-link:after,
.entry-top span.edit-link:after {
  content: none;
  margin-left: 0;
}

.entry-meta .edit-link {
  padding: 0;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

.comment-content a {
  word-wrap: break-word;
}

ol.comment-list li.bypostauthor .comment-wrapper {
  border-bottom: none;
}

ol.comment-list li.bypostauthor article {
  border-bottom: 3px solid #a00101;
}

#comments {
  padding: 40px 20px;
}

p.no-comments {
  font-weight: 900;
  margin: 0 auto;
  max-width: 680px;
}

ol.comment-list li {
  list-style: none;
  position: relative;
  z-index: 9990;
}

li.pingback {
  font-size: 90%;
  font-style: italic;
  margin: 5px 0;
  opacity: 0.8;
}

li.pingback:last-child {
  padding-bottom: 10px;
}

ol.comment-list {
  margin: 0;
  padding: 0;
}

ol.comment-list li {
  margin: 0;
  padding: 20px 0;
}

ol.comment-list ol.children li {
  display: block;
}

.comment-list .comment-author img.avatar {
  float: left;
  margin: 0 10px 5px 0;
}

.comment-list .fn {
  margin: 0;
}

.comment-meta {
  font-size: 14px;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: bold;
}

.comment-meta a {
  color: #777777;
}

.comment-meta a:hover {
  color: #cf000f;
}

.sticky .entry-content {
  margin-bottom: 5px;
  padding: 10px 5px 0 5px;
}

.comment-meta {
  font-size: 14px;
  font-size: 1.4rem;
  padding: 0 0 5px 0;
}

.comment-wrapper {
  border-bottom: 2px solid #aaaaaa;
  margin-left: 70px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
}

.reply {
  float: right;
}

#respond {
  background: #333333;
  color: white;
  margin-top: 20px;
  padding: 20px;
}

h3#reply-title {
  color: white;
}

/*--------------------------------------------------------------
12.0 Infinite Scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation,
.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;
}

#infinite-handle {
  padding: 80px 40px;
  text-align: center;
}

#infinite-footer {
  max-width: 1380px;
  z-index: 2;
}

body.secondary-sidebar #infinite-footer {
  max-width: 1080px;
}

#infinite-footer .container {
  border: none;
  height: 40px;
  line-height: 40px !important;
  padding: 0 40px;
  margin: 0;
}

span.infinite-loader {
  height: 80px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

span.infinite-loader .spinner {
  left: 50% !important;
  top: 0 !important;
  z-index: 9998 !important;
}

#infinite-footer .blog-info,
#infinite-footer .blog-credits {
  padding-top: 10px;
}

/*--------------------------------------------------------------
13.0 Mediaqueries
--------------------------------------------------------------*/
/* Define mobile styles */
/* max-width 640px, mobile-only styles, use when QAing mobile issues */
/* min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
  h1 {
    font-size: 40.96px;
    font-size: 4.096rem;
  }

  h2 {
    font-size: 32px;
    font-size: 3.2rem;
  }

  h3 {
    font-size: 25.6px;
    font-size: 2.56rem;
  }

  h4 {
    font-size: 20px;
    font-size: 2rem;
  }

  h5 {
    font-size: 16px;
    font-size: 1.6rem;
  }

  h6 {
    font-size: 12.5px;
    font-size: 1.25rem;
  }

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

  .entry-meta {
    padding: 40px 0;
  }

  .entry-header,
  .page-title {
    padding: 40px 0 0 0;
  }

  footer.entry-meta {
    margin-bottom: 80px;
  }

  #colophon {
    margin: 0 40px;
    padding: 80px 0;
  }

  .nav-links {
    overflow: hidden;
    padding: 40px;
  }

  .entry-thumbnail {
    margin-right: -40px;
    margin-left: -40px;
    margin-bottom: 40px;
  }

  #comments {
    padding: 40px;
  }

  .page-header{
    margin: 0 40px;
    padding: 0 0 60px 0;
  }
}
/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
@media only screen and (min-width: 64.063em) {
  #mobile-panel {
    display: none;
  }

  .hentry,
  .page-header {
    margin: 0;
    padding: 0 40px 60px;
  }

  h1 {
    font-size: 40.96px;
    font-size: 4.096rem;
  }

  h2 {
    font-size: 32px;
    font-size: 3.2rem;
  }

  h3 {
    font-size: 25.6px;
    font-size: 2.56rem;
  }

  h4 {
    font-size: 20px;
    font-size: 2rem;
  }

  h5 {
    font-size: 16px;
    font-size: 1.6rem;
  }

  h6 {
    font-size: 12.5px;
    font-size: 1.25rem;
  }

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

  .entry-meta {
    padding: 80px 0 40px;
  }

  .entry-header,
  .page-title {
    padding: 40px 0 0 0;
  }

  footer.entry-meta {
    margin-bottom: 80px;
  }

  #colophon {
    margin: 0 40px;
    padding: 80px 0;
  }

  .nav-links {
    overflow: hidden;
    padding: 40px;
  }

  #page {
    position: relative;
  }

  #page:before,
  #page:after {
    content: " ";
    display: table;
  }

  #page:after {
    clear: both;
  }

  #content, #content:before {
    width: 75%;
  }

  body.secondary-sidebar #content,
  body.secondary-sidebar #content:before {
    width: 60%;
  }

  #content {
    float: left;
  }

  #content:before {
    background-color: white;
    bottom: 0;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
  }

  #secondary, #secondary:before {
    width: 20%;
  }

  #secondary {
    display: block;
    float: right;
    font-size: 90%;
  }

  #secondary:before {
    background-color: #f2f1ef;
    bottom: 0;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }

  #masthead,
  #masthead:before {
    width: 25%;
  }

  body.secondary-sidebar #masthead,
  body.secondary-sidebar #masthead:before {
    width: 20%;
  }

  #masthead {
    display: block;
    float: left;
    font-size: 90%;
  }

  #masthead:before {
    background: #fafafa;
    bottom: 0;
    content: '';
    position: absolute;
    right: 75%;
    top: 0;
    z-index: -1;
  }

  body.secondary-sidebar #masthead:before {
    right: 80%;
  }

  #page {
    width: 80%;
  }

  body.secondary-sidebar #page {
    width: 90%;
  }

  .entry-thumbnail {
    margin-right: -40px;
    margin-left: -40px;
  }

  #comments {
    padding: 40px;
  }
  .page-header{
    margin: 0 40px;
    padding: 0 0 60px 0;
  }
}
/* min-width 1025px, large screens */
/* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */
@media only screen and (min-width: 90.063em) {
  .widget,
  .site-branding {
    padding: 20px 40px;
  }

  .main-navigation li a {
    padding: 10px 40px;
  }

  .main-navigation li:first-child a {
	padding: 20px 40px 10px 40px;
  }

  .main-navigation li:last-child a {
	padding: 10px 40px 20px 40px;
  }

  .main-navigation ul ul li a {
    padding-left: 60px;
  }

  .main-navigation ul ul li:first-child a {
    padding: 10px 20px 10px 60px;
  }

  .main-navigation ul ul li:last-child a {
    padding: 10px 20px 10px 60px;
  }

  .main-navigation ul ul ul li a {
    padding-left: 80px;
  }

  .main-navigation ul ul ul li:first-child a {
    padding: 10px 20px 10px 80px;
  }

  .main-navigation ul ul ul li:last-child a {
    padding: 10px 20px 10px 80px;
  }

  .main-navigation ul ul ul ul li a {
    padding-left: 100px;
  }

  .main-navigation ul ul ul ul li:first-child a {
    padding: 10px 20px 10px 100px;
  }

  .main-navigation ul ul ul ul li:last-child a {
  	padding: 10px 20px 10px 100px;
  }

  #social-links-wrapper {
    padding: 40px;
  }

  #page {
    width: 70%;
  }

  body.secondary-sidebar #page {
    width: 80%;
  }

  .entry-thumbnail {
    margin-right: -40px;
    margin-left: -40px;
  }

  #comments {
    padding: 40px 0;
  }
}
/* min-width 1441px, xlarge screens */
/* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */
@media only screen and (min-width: 120.063em) {
  #page {
    width: 65%;
  }

  body.secondary-sidebar #page {
    width: 80%;
  }
}
/* min-width 1921px, xlarge screens */
