/*
Theme Name: Full Frame
Theme URI: http://graphpaperpress.com/themes/full-frame
Author: Graph Paper Press
Author URI: http://graphpaperpress.com
Description: A single column theme that resizes with your browser. Big photos welcome.
Version: 10.0.7
License: GNU General Public License, V2
License URI: license.txt
Tags: black, gray, white, dark, one-column, flexible-width, custom-background, custom-header, custom-menu, editor-style,featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, photoblogging
*/

/* =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;
    word-wrap: break-word;
}

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,
hgroup,
nav,
section {
    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: #404040;
    font-family: helvetica, open-sans, sans-serif, arial;
    /* Google Fonts */
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.7;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    text-transform: uppercase;
}

h1 {
    font-size: 3em;
    line-height: 1;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2em;
    margin-bottom: 0.75em;
}

h3 {
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: 1em;
}

h4 {
    font-size: 1.2em;
    line-height: 1.25;
    margin-bottom: 1.25em;
}

h5 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1.5em;
}

h6 {
    font-size: 1em;
    font-weight: bold;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

/* Text elements */
p {
    margin-bottom: 2em;
}

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: 2em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 2em 2em;
}

b,
strong {
    font-weight: bold;
}

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

blockquote {
    margin: 2em;
}

address {
    margin: 0 0 2em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2em;
    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,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid #ccc;
    border-color: #ccc #ccc #bbb #ccc;
    border-radius: 3px;
    background: #e6e6e6;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, .8);
    cursor: pointer;
    /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button;
    /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 12px;
    font-size: 1.4rem;
    line-height: 1;
    padding: 1.12em 1.5em 1em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa #bbb;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

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 {
    border-color: #aaa #bbb #bbb #bbb;
    -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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 {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    color: #111;
}

input[type=text],
input[type=email] {
    padding: 3px;
}

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

.visible {
    visibility: visible !important;
    /* Fixes text jump with fittext */
}

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

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

/* Links */
a {
    color: #777;
}

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

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

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

/* Text meant only for screen readers */
.assistive-text,
.screen-reader-text {
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    display: none;
}

/* =Positioning
----------------------------------------------- */
.site-header,
.site-footer {
    position: relative;
    width: 100%;
}

.site-nav {
    width: 90%;
    padding: 0 5%;
    position: fixed;
}

.home .site-nav,
.archive .site-nav {
    width: 95%;
    padding: 0 0 0 5%;
}

/* =Site Header
----------------------------------------------- */
.site-header {
    display: table;
    background-size: cover;
    background-position: center center;
}

.not-home .site-header {
    height: 80px
}

.home.has-message .site-header,
.home.has-logo .site-header,
.home.has-header-image .site-header {
    height: 500px;
}

.has-message .site-intro {
    height: auto;
}

.site-intro {
    display: table-cell;
    padding: 0 5%;
    vertical-align: middle;
}

.site-header .site-logo {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.site-header .site-logo-icon {
    display: none;
    float: left;
    margin: 10px 20px 0 0;
    max-height: 35px;
    overflow: hidden;
}

.site-header .site-nav .site-logo-icon,
.not-home .site-header .site-nav .site-logo-icon {
    display: block;
}

.site-intro-text {
    color: rgba(255, 255, 255, .9);
    text-align: center;
    text-shadow: 0 0 2px #444;
    width: 100%;
}

.site-nav {
    background: rgba(0, 0, 0, .9);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .2);
    color: #aaa;
    height: 80px;
    z-index: 9999;
}

.has-header-image .site-nav {
    position: absolute;
    left: 0;
    bottom: 0;
}

.site-nav.fixed {
    position: fixed;
    top: 0;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover,
.menu-toggle:hover {
    color: #eee;
}

.site-title {
    clear: none;
    float: left;
    font-size: 1.75em;
    margin: 26px 0;
}

.site-description {
    font-size: .7em;
    margin: 0;
}

/* =Menu
----------------------------------------------- */
.main-navigation {
    display: block;
    float: right;
}

.main-navigation ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul:after {
    clear: both;
    content: "";
    display: table;
}

.main-navigation ul li {
    float: left;
    position: relative;
}

.main-navigation ul ul li {
    box-shadow: none;
}

.main-navigation ul li>a {
    color: #aaa;
    display: block;
    font-size: .9em;
    outline: 0;
    position: relative;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
    text-transform: uppercase;
    z-index: 9999;
    padding: 28px;
    letter-spacing: 1px;
}

.main-navigation a:hover {
    color: #eee;
    background: rgba(0, 0, 0, 1);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.main-navigation ul.main-menu>li:hover ul,
.main-navigation ul.main-menu>li:hover>a {
    display: block;
    background: #000;
    color: #fff;
}

.main-navigation ul ul {
    display: none;
    float: left;
    position: absolute;
    top: 79px;
    left: -1px;
    z-index: 99999;
    background: rgba(0, 0, 0, .9);
    width: 200px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, .1);
    padding-bottom: 16px;
}

.main-navigation ul ul li>a {
    text-transform: none;
}

.main-navigation ul ul ul {
    background: transparent;
    position: static;
    width: 100%;
}

.main-navigation ul.sub-menu ul.sub-menu li {
    padding-left: 10px;
}

.main-navigation ul ul li {
    clear: both;
    border: none;
    float: none;
}

.main-navigation ul li li>a {
    padding: .75em 2em;
}

.main-navigation li:hover>li {}

.main-navigation li:hover>a {}

.main-navigation ul ul :hover>a {}

.main-navigation ul ul a:hover {}

.main-navigation ul li:hover ul.sub-menu {}

.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {}

.main-navigation ul li:last-child ul {
    right: 0px;
    left: auto;
}

/* Small menu */
.menu-toggle {
    cursor: pointer;
    font-size: 1em;
    float: left;
    margin: 34px 0;
}

.main-small-navigation {
    position: absolute;
    top: 0;
    right: 0;
}

body.page .main-small-navigation,
body.single .main-small-navigation {
    right: 20px;
}

.main-small-navigation .main-menu {
    display: none;
    background: rgba(0, 0, 0, .9);
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
    padding: 10px 20px;
    position: absolute;
    top: 80px;
    right: 0px;
    margin: 0;
    width: 200px;
}

.main-small-navigation .main-menu li {
    list-style-type: none;
}

/* Searchform */
.site-navigation #searchform {
    float: right;
    font-size: 12px;
    margin: 27px 20px 0 6px;
}

.main-small-navigation #searchform {
    margin: 10px 0;
    float: none;
}

.site-navigation #s {
    background: transparent;
    border-radius: 22px;
    -webkit-transition-duration: 400ms;
    -webkit-transition-property: width, background;
    -webkit-transition-timing-function: ease;
    -moz-transition-duration: 400ms;
    -moz-transition-property: width, background;
    -moz-transition-timing-function: ease;
    -o-transition-duration: 400ms;
    -o-transition-property: width, background;
    -o-transition-timing-function: ease;
    border: none;
    background: #ccc url(images/sprite.png) -1px 0 no-repeat;
    width: 22px;
    height: 22px;
    opacity: 0.7;
    text-indent: 105%;
    overflow: hidden;
}

.site-navigation #s:hover {
    cursor: pointer;
    opacity: 1;
}

.site-navigation #searchform #s:focus {
    width: 150px;
    background: #ccc;
    color: #222;
    height: 20px;
    cursor: text;
    border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    text-indent: 0;
    padding: 4px 10px;
    outline: none;
}

/* .main-small-navigation li.search {
    margin: 1em 0;
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 1em;
    text-align: center;
    box-shadow: inset 0 1px -1px 1px #000;
}
.main-small-navigation li.search #searchform #s {
    background-position: 0 2px;
    width: 180px;
    height: 20px;
    padding: 5px 10px;
    -webkit-transition-duration: 0;
    -moz-transition-duration: 0;
    -o-transition-duration: 0;
}
.main-small-navigation li.search #searchform #s:focus {
    background: #ccc;
    color: #222;
} */

/* Social Icons */
/* @font-face {
    font-family: 'fullframe';
    src:url('images/fonts/fullframe.eot');
    src:url('images/fonts/fullframe.eot?#iefix') format('embedded-opentype'),
        url('images/fonts/fullframe.svg#fullframe') format('svg'),
        url('images/fonts/fullframe.woff') format('woff'),
        url('images/fonts/fullframe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

} */
/* .site-navigation li.twitter a,
.site-navigation li.youtube a,
.site-navigation li.feed a,
.site-navigation li.vimeo a,
.site-navigation li.google-plus a,
.site-navigation li.pinterest a,
.site-navigation li.wordpress a, */
.site-navigation li.facebook a,
.site-navigation li.flickr a,
.site-navigation li.instagram a {
    width: 17px;
    height: 20px;
    padding: 4px 4px 4px 7px;
    background: #999;
    border-radius: 50%;
    overflow: hidden;
    margin: 27px 6px;
}

.menu-toggle:before {
    width: 17px;
    height: 20px;
    margin-right: 10px;
}

/* .site-navigation li.twitter a:hover,
.site-navigation li.youtube a:hover,
.site-navigation li.feed a:hover,
.site-navigation li.vimeo a:hover,
.site-navigation li.wordpress a:hover,
.site-navigation li.google-plus a:hover,
.site-navigation li.pinterest a:hover, */
.site-navigation li.facebook a:hover,
.site-navigation li.flickr a:hover,
.site-navigation li.instagram a:hover {
    background: #eee;
}

/* .main-small-navigation li.twitter a,
.main-small-navigation li.youtube a,
.main-small-navigation li.feed a,
.main-small-navigation li.vimeo a,
.main-small-navigation li.wordpress a,
.main-small-navigation li.google-plus a,
.main-small-navigation li.pinterest a,
.main-small-navigation li.twitter a:hover,
.main-small-navigation li.youtube a:hover,
.main-small-navigation li.feed a:hover,
.main-small-navigation li.vimeo a:hover,
.main-small-navigation li.wordpress a:hover,
.main-small-navigation li.google-plus a:hover,
.main-small-navigation li.pinterest a:hover, */
.main-small-navigation li.facebook a,
.main-small-navigation li.flickr a,
.main-small-navigation li.instagram a,
.main-small-navigation li.facebook a:hover,
.main-small-navigation li.flickr a:hover,
.main-small-navigation li.instagram a:hover {
    background: transparent;
    margin: 0;
    padding: 0;
}

/* .main-navigation ul.main-menu > li.twitter:hover > a,
.main-navigation ul.main-menu > li.youtube:hover > a,
.main-navigation ul.main-menu > li.feed:hover > a,
.main-navigation ul.main-menu > li.vimeo:hover > a,
.main-navigation ul.main-menu > li.wordpress:hover > a,
.main-navigation ul.main-menu > li.pinterest:hover > a,
.main-navigation ul.main-menu > li.google-plus:hover > a, */
.main-navigation ul.main-menu>li.facebook:hover>a,
.main-navigation ul.main-menu>li.flickr:hover>a,
.main-navigation ul.main-menu>li.instagram:hover>a {
    background: #eee;
}

/* li.twitter a:before,
li.youtube a:before,
li.feed a:before,
li.vimeo a:before,
li.wordpress a:before,
li.google-plus a:before,
li.pinterest a:before, */
li.facebook a:before,
li.flickr a:before,
li.instagram a:before,
.menu-toggle:before {
    /* font-family: 'fullframe'; */
    speak: none;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    color: #111;
    text-shadow: none;
}

/* .main-small-navigation li.twitter a:before,
.main-small-navigation li.facebook a:before,
.main-small-navigation li.youtube a:before,
.main-small-navigation li.feed a:before,
.main-small-navigation li.vimeo a:before,
.main-small-navigation li.wordpress a:before,
.main-small-navigation li.google-plus a:before,
.main-small-navigation li.pinterest a:before,
.main-small-navigation li.flickr a:before,
.main-small-navigation li.instagram a:before {
    color: #aaa;
    margin-right: 10px;
}
.main-small-navigation li.twitter:hover a:before,
.main-small-navigation li.facebook:hover a:before,
.main-small-navigation li.youtube:hover a:before,
.main-small-navigation li.feed:hover a:before,
.main-small-navigation li.vimeo:hover a:before,
.main-small-navigation li.wordpress:hover a:before,
.main-small-navigation li.google-plus:hover a:before,
.main-small-navigation li.pinterest:hover a:before,
.main-small-navigation li.flickr:hover a:before,
.main-small-navigation li.instagram:hover a:before {
    color: #eee;
} */
/* li.pinterest a:before {
    content: "\e001";
}
li.vimeo a:before {
    content: "\e002";
}
li.twitter a:before {
    content: "\e003";
}
li.facebook a:before {
    content: "\e004";
}
li.flickr a:before {
    content: "\e005";
}
li.feed a:before {
    content: "\e006";
}
li.google-plus a:before {
    content: "\e007";
}
.menu-toggle:before {
    content: "\e008";
    color: #444;
}
li.instagram a:before {
    content: "\e009";
}
li.youtube a:before {
    content: "\e00c";
}
li.wordpress a:before {
    content: "\e00b";
} */
.menu-toggle:hover:before {
    color: #666;
}

li.search a:before {
    content: "\e000";
}

/* Up Down Arrows */
#updownnav {
    float: right;
    padding-top: 13px;
    z-index: 9999;
}

#updownnav span {
    display: block;
    text-indent: -999em;
    background: url(images/arrows.png) 20px 7px no-repeat;
    width: 37px;
    height: 20px;
    cursor: pointer;
    opacity: 0.5;
    padding: 6px 15px 0;

}

#updownnav span:hover {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    opacity: 1;
}

#updownnav span#down {
    background-position: 20px -13px;
}

/* =Content
----------------------------------------------- */
.hentry {
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 795px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.hentry.imgcontain {
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

.entry-wrap {
    height: 100%;
    width: 90%;
    padding: 10% 5%;
}

.page .entry-wrap {
    position: relative;
}

a.infinity,
.home article a,
.archive article a {
    color: #fff;
    text-decoration: none;
}

a.infinity:hover,
.home article a:hover,
.archive article a:hover {
    color: #eee;
}

/* Background effects */
.dark .entry-wrap {
    background: url(images/bg-dark.png);
}

.diagonal .entry-wrap {
    background: url(images/bg-diagonal.png);
}

.noise .entry-wrap {
    background: url(images/bg-noise.png);
}

.home .entry-inner,
.archive .entry-inner {
    width: 30%;
    padding-top: 6em;
    margin-left: 7%;
}

.home.page .entry-inner {
    width: 100%;
}

.home.page .entry-content {
    color: #111;
}

.home .format-video .entry-inner,
.archive .format-video .entry-inner,
.home .format-gallery .entry-inner,
.archive .format-gallery .entry-inner {
    padding-top: 4em;
}

/* Text effects */
.home .text-left .entry-inner,
.archive .text-left .entry-inner {
    float: left;
}

.home .text-center .entry-inner,
.archive .text-center .entry-inner {
    margin: 0 auto;
}

.home .text-right .entry-inner,
.archive .text-right .entry-inner {
    float: right;
    margin: 0 7% 0 0;
}

.home .text-full .entry-inner,
.archive .text-full .entry-inner {
    margin: auto;
    width: 90%;
}

.archive .page-title {
    background: rgba(0, 0, 0, 0.5);
    color: #CCCCCC;
    font-size: 1em;
    margin-top: 20px;
    padding: 10px 20px;
    position: absolute;
    z-index: 999;
}

.entry-title {
    color: #fff;
    text-align: center;
    text-shadow: 0 0 2px #444;
}

.entry-title a {
    text-decoration: none;
    color: #fff;
}

.entry-title a:hover {
    color: #eee;
}

.home .entry-content,
.archive .entry-content {
    color: #fff;
    border-top: 2px solid #fff;
    padding: 20px 0 0;
}

.entry-content>p:first-child:first-letter {
    float: left;
    font-size: 365%;
    line-height: 0.7;
    padding-right: 8px;
    padding-left: 3px;
    font-family: Georgia, Times, "Times New Roman", serif;
    padding-top: 7px;
}

.entry-meta {
    clear: both;
    font-size: .7em;
    letter-spacing: 2px;
    margin-bottom: 2em;
    text-transform: uppercase;
    text-align: center;
}

.entry-meta a {
    color: #fff;
    text-decoration: none;
}

.sticky {}

.byline {
    display: none;
}

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

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

article ul,
article ol {
    margin-bottom: 2em;
}

article ul ul,
article ol ol {
    margin-bottom: 0em;
}

/* =Single Posts
----------------------------------------------- */
.single article.post {
    background-attachment: fixed;
}

.single .entry-inner,
.single #nav-below,
.single #comments,
body.page .entry-inner,
body.page #nav-below,
body.page #comments,
body.search .entry-wrap,
body.search #nav-below {
    max-width: 80%;
    margin: 2em auto;
}

.single .entry-wrap {
    position: relative;
}

.single header.entry-header,
body.page header.entry-header,
body.search header.page-header {
    background-size: cover;
    height: 500px;
}

.single .has-featured-image header.entry-header,
.page .has-featured-image header.entry-header {
    box-shadow: inset 0 -6px 12px -3px rgba(0, 0, 0, .2);
}

.single h1.entry-title,
body.page h1.entry-title,
body.page .page-title,
body.search .page-title {
    padding-top: 210px;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.single header.entry-header .entry-meta {
    margin-top: 30px;
}

.single .entry-content {
    padding-top: 0;
}

body.page .entry-content {
    padding-top: 3em;
    border: none;
}

.single .entry-inner,
body.page .entry-inner,
body.search .entry-wrap {
    margin: -5em auto 2em;
    background: var(--ff-theme-bg);
    position: relative;
    padding: 50px;
    box-shadow: 0 0 8px 6px rgba(0, 0, 0, .1);
}

.single .entry-inner .entry-meta,
.single .entry-inner .entry-meta a {
    color: #aaa;
}

.single .entry-inner .entry-meta a:hover {
    color: #666;
}

.single #nav-below {
    overflow: hidden;
}

.single .nobg header.entry-header,
body.page .nobg header.entry-header {
    background-attachment: fixed;
}

p {
    text-align: justify;
}

.page article.hentry,
.single article.hentry {
    margin-bottom: 3em;
}

.infinite-scroll #nav-below {
    display: none;
}

/* Image Template
----------------------------------------------- */
.single .hentry,
.page .hentry {
    height: auto;
}

/* =Quotes
----------------------------------------------- */
.home .format-quote .entry-inner,
.archive .format-quote .entry-inner {
    width: 50%;
    margin: auto;
    text-align: center;
}

.format-quote .entry-inner .entry-header {
    display: none;
}

.format-quote .entry-inner .entry-content {
    border: none;
    padding: 1px 0;
    background: url(images/quote.png) center 0 no-repeat;
    font-size: 30px;
}

.format-quote blockquote {
    padding: 3em 1em 1em;
    margin: 0;
}

.format-quote cite {
    display: block;
    font-size: 20px;
    padding-top: 3em;
}

.format-quote a.infinity {
    display: none;
}

.format-quote cite a.infinity {
    display: inline-block;
    padding-left: 8px;
    top: 2px;
    position: relative;
}

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

.format-aside .entry-content p:first-child:first-letter,
.entry-caption p:first-child:first-letter,
.error404 .entry-content p:first-child:first-letter,
.search .no-results .entry-content p:first-child:first-letter {
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    float: none;
}

.home .format-aside .entry-content,
.archive .format-aside .entry-content {
    border: 0;
}

.home .format-aside .entry-meta,
.archive .format-aside .entry-meta {
    text-align: left;
    margin-top: -10px;
}

/* =Image
----------------------------------------------- */
.entry-caption {
    font-style: italic;
    font-size: 14px;
}

article.attachment p {
    text-align: center;
}

#image-navigation {
    margin-bottom: 3em;
}

body.single-attachment div.attachment {
    text-align: center;
}

/* =Gallery
----------------------------------------------- */
.format-gallery {
    height: auto;
}

.home .format-gallery .entry-inner,
.home .format-video .entry-inner,
.archive .format-gallery .entry-inner,
.archive .format-video .entry-inner {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    margin: 0;
    padding-bottom: 3px;
}

.format-gallery .entry-content {
    border: none;
    clear: both;
}

.format-gallery .entry-wrap {
    height: 100%;
    width: 100%;
    padding: 0;
}

article.format-gallery .entry-content div.gallery .gallery-item {
    position: relative;
}

.single .gallery {
    margin-bottom: 2em;
}

/* =Video
----------------------------------------------- */
.format-video {
    height: auto;
}

.format-video .entry-header {
    padding: 0;
}

.format-video .entry-content iframe {
    border: 10px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}

.video-wrap {
    padding-top: 2em;
    max-width: 98%;
    margin: 10px auto;
    clear: both;
}

/* =Media
----------------------------------------------- */
.site-header img,
.entry-content img,
.comment-content img,
.widget img {
    max-width: 100%;
    /* Fluid images for posts, comments, and widgets */
}

.site-header img,
.entry-content img,
img[class*="align"],
img[class*="wp-image-"] {
    height: auto;
    /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

.site-header img,
.entry-content img,
img.size-full {
    max-width: 100%;
    /*width: auto;*/
    /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/* Gallery Style */
.gallery {
    margin: 0;
}

.gallery:after {
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.gallery .gallery-item {
    float: left;
    margin: 0 1% 1% 0;
    text-align: center;
    width: 32%;
}

.gallery.gallery-columns-1 .gallery-item:first-child,
.gallery.gallery-columns-2 .gallery-item:first-child,
.gallery.gallery-columns-2 .gallery-item:nth-child(2),
.gallery.gallery-columns-3 .gallery-item:first-child,
.gallery.gallery-columns-3 .gallery-item:nth-child(2),
.gallery.gallery-columns-3 .gallery-item:nth-child(3),
.gallery.gallery-columns-4 .gallery-item:first-child,
.gallery.gallery-columns-4 .gallery-item:nth-child(2),
.gallery.gallery-columns-4 .gallery-item:nth-child(3),
.gallery.gallery-columns-4 .gallery-item:nth-child(4),
.gallery.gallery-columns-5 .gallery-item:first-child,
.gallery.gallery-columns-5 .gallery-item:nth-child(2),
.gallery.gallery-columns-5 .gallery-item:nth-child(3),
.gallery.gallery-columns-5 .gallery-item:nth-child(4),
.gallery.gallery-columns-5 .gallery-item:nth-child(5),
.gallery.gallery-columns-6 .gallery-item:first-child,
.gallery.gallery-columns-6 .gallery-item:nth-child(2),
.gallery.gallery-columns-6 .gallery-item:nth-child(3),
.gallery.gallery-columns-6 .gallery-item:nth-child(4),
.gallery.gallery-columns-6 .gallery-item:nth-child(5),
.gallery.gallery-columns-6 .gallery-item:nth-child(6),
.gallery.gallery-columns-7 .gallery-item:first-child,
.gallery.gallery-columns-7 .gallery-item:nth-child(2),
.gallery.gallery-columns-7 .gallery-item:nth-child(3),
.gallery.gallery-columns-7 .gallery-item:nth-child(4),
.gallery.gallery-columns-7 .gallery-item:nth-child(5),
.gallery.gallery-columns-7 .gallery-item:nth-child(6),
.gallery.gallery-columns-7 .gallery-item:nth-child(7),
.gallery.gallery-columns-8 .gallery-item:first-child,
.gallery.gallery-columns-8 .gallery-item:nth-child(2),
.gallery.gallery-columns-8 .gallery-item:nth-child(3),
.gallery.gallery-columns-8 .gallery-item:nth-child(4),
.gallery.gallery-columns-8 .gallery-item:nth-child(5),
.gallery.gallery-columns-8 .gallery-item:nth-child(6),
.gallery.gallery-columns-8 .gallery-item:nth-child(7),
.gallery.gallery-columns-8 .gallery-item:nth-child(8),
.gallery.gallery-columns-9 .gallery-item:first-child,
.gallery.gallery-columns-9 .gallery-item:nth-child(2),
.gallery.gallery-columns-9 .gallery-item:nth-child(3),
.gallery.gallery-columns-9 .gallery-item:nth-child(4),
.gallery.gallery-columns-9 .gallery-item:nth-child(5),
.gallery.gallery-columns-9 .gallery-item:nth-child(6),
.gallery.gallery-columns-9 .gallery-item:nth-child(7),
.gallery.gallery-columns-9 .gallery-item:nth-child(8),
.gallery.gallery-columns-9 .gallery-item:nth-child(9) {
    margin-top: 1%;
}

.gallery.gallery-columns-1 .gallery-item:nth-child(2n+1),
.gallery.gallery-columns-2 .gallery-item:nth-child(3n+1),
.gallery.gallery-columns-3 .gallery-item:nth-child(4n+1),
.gallery.gallery-columns-4 .gallery-item:nth-child(5n+1),
.gallery.gallery-columns-5 .gallery-item:nth-child(6n+1),
.gallery.gallery-columns-6 .gallery-item:nth-child(7n+1),
.gallery.gallery-columns-7 .gallery-item:nth-child(8n+1),
.gallery.gallery-columns-8 .gallery-item:nth-child(9n+1),
.gallery.gallery-columns-9 .gallery-item:nth-child(10n+1) {
    margin-left: 1%;
}

.gallery-columns-1 .gallery-item {
    width: 98%;
}

.gallery-columns-2 .gallery-item {
    width: 48.5%;
}

.gallery-columns-4 .gallery-item {
    width: 23.75%;
}

.gallery-columns-5 .gallery-item {
    width: 18.8%;
}

.gallery-columns-6 .gallery-item {
    width: 15.5%;
}

.gallery-columns-7 .gallery-item {
    width: 13.14%;
}

.gallery-columns-8 .gallery-item {
    width: 11.37%;
}

.gallery-columns-9 .gallery-item {
    width: 10%;
}

.gallery img {
    display: block;
}

.gallery-item .gallery-caption {
    background: rgba(0, 0, 0, 0.7);
    color: #ddd;
    font-size: 12px;
    width: 96%;
    bottom: 0;
    margin: 0;
    padding: 12px 2%;
    position: absolute;
    z-index: 9;
    opacity: 0;
}

.gallery-item .gallery-caption.show {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: block;
    opacity: 1;
}

.gallery-item .gallery-caption.hide {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    opacity: 0;
}

.wp-caption-text {
    font-style: italic;
    font-size: 12px;
}

.wp-caption {
    padding: 10px;
    margin-bottom: 20px;
}

.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}

.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}

.gallery dl,
.gallery dt {
    margin: 0;
}

.gallery br+br {
    display: none;
}

.single article.format-gallery p {
    margin-left: 10px;
    margin-right: 10px;
}

/* captions, smileys */
.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 #eee;
    max-width: 100%;
}

.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright {
    margin-bottom: 1.5em;
}

.wp-caption img {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}

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

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/* 404 */
article.error404 {
    padding: 10em;
    max-width: 1200px;
}

article.error404 p {
    text-align: center;
}

article.error404 #searchform {
    text-align: center;
    margin-bottom: 3em;
}

.error404 div.entry-content div.widget {
    width: 31.33333%;
    float: left;
    margin-left: 2%;
}

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

/* responsiveness */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Search Results */
body.search #primary {
    background-position: center 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

body.search #primary .page-title {
    text-align: center;
    margin-bottom: 2em;
    color: #fff;
}

body.search #primary article {
    background: #fff;
    padding: 5%;
    width: auto;
    height: auto;
}

body.search article.no-results {
    padding: 10%;
    text-align: center;
}

body.search article.no-results .entry-content p {
    text-align: center;
}

body.search .entry-title,
body.search .entry-title a,
body.search .entry-meta a {
    color: #333;
}

body.search .entry-title a:hover,
body.search .entry-meta a:hover {
    color: #111;
}

body.search .paging-navigation {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 3em;
    clear: both;
    padding: 2em;
}

/* =Navigation
----------------------------------------------- */
#primary .site-navigation {
    font-size: 12px;
    text-transform: uppercase;
}

#primary .nav-previous {
    float: left;
}

#primary .nav-next {
    float: right;
    text-align: right;
    border-left: 1px solid #333;
}

.home #primary,
.archive #primary {
    position: relative;
}

/* .home #primary {
    margin-top: 79px;
} */
.has-header-image #primary {
    margin-top: -1px;
}

/* Top Right Post Navigation */
.paging-navigation {
    margin-left: 0;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.nav-previous a,
.nav-next a {
    display: block;
    text-decoration: none;
    background: #111;
    padding: 5px 10px;
}

#infinite-handle,
.infinite-loader {
    background: #111;
    text-align: center;
    padding: 20px;
}

.infinite-loader .spinner div div {
    background: #fff !important;
}

.infinite-loader .spinner {
    margin: 0 auto;
}

#infinite-handle span {
    color: #777777;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    width: 100px;
}

.gallery p {
    overflow: hidden;
}

/* =Comments
----------------------------------------------- */
.bypostauthor {}

#respond {
    margin-top: 8em;
}

.single #comments {
    margin: 5em auto;
}

p.form-allowed-tags,
p.form-allowed-tags code {
    font-size: 12px;
}

#commentform label {
    margin-right: 2em;
}

#commentform .comment-form-comment label {
    margin-bottom: 0.8em;
    display: block;
}

.required {
    color: #c00;
}

#comment-nav-below {
    clear: both;
    padding: 10px 0;
    overflow: hidden;
    border-top: 1px solid #ccc;
    margin: 3em 0;
}

#respond {
    clear: both;
}

.commentlist {
    margin: 0;
}

.commentlist li.comment,
.commentlist li.pingback {
    list-style: none;
}

.commentlist .avatar {
    border: 7px solid #eee;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    float: left;
    margin-right: 20px;
}

.commentmetadata {
    font-size: 13px;
}

cite.fn {
    font-weight: bold;
    font-style: normal;
}

cite.fn a {
    color: #404040;
}

cite.fn a:hover {
    color: #666;
}

.comment-content {
    margin-left: 112px;
    margin-top: 5px;
}

.reply {
    margin-left: 112px;
    font-size: 13px;
    margin-bottom: 2.5em;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment ul.children {
    margin-left: 112px;
}

.form-allowed-tags {
    display: none;
}

/* Search widget */
#searchsubmit {
    display: none;
}

/* =Footer
----------------------------------------------- */
.site-info {
    font-size: 13px;
    padding: 1.2em 2.5%;
    clear: both;
    background: #000;
    text-align: center;
}

.single #colophon {
    margin-top: 5em;
}

/* =Widgets
----------------------------------------------- */
#footer-widgets {
    background: #111;
    overflow: hidden;
}

#footer-widgets .widget-area {
    width: 26.66667%;
    margin-left: 5%;
    float: left;
}

#footer-widgets .widget-area:last-child {
    margin-right: 5%;
}

#footer-widgets aside {
    padding: 3em 0;
    font-size: 14px;
}

#footer-widgets aside ul {
    margin-left: 0;
    list-style: none;
}

h1.widget-title {
    font-size: 1.5em;
    color: #444;
    margin-bottom: 1em;
}

#colophon {
    clear: both;
}

/* link colors for widgets and comments */
#colophon,
#colophon a,
#comments a {
    color: #777;
}

#colophon a:hover,
#comments a:hover,
#comments a:focus {
    color: #999;
}

/* Sell Media Template styling */
.sell-media {
    width: 90%;
    background: #fff;
    padding: 3em 5%;
}

.sell-media:before,
.sell-media:after {
    content: " ";
    display: table;
}

.sell-media:after {
    clear: both;
}

.sell-media {
    *zoom: 1;
}

.single .sell-media .entry-title {
    padding-top: 0px;
    text-align: left;
    width: 100%;
}

/* =Responsiveness: Readers
----------------------------------------------- */
@media screen and (max-width: 768px) {

    .home .entry-inner,
    .archive .entry-inner,
    .home .format-quote .entry-inner,
    .archive .format-quote .entry-inner {
        width: 90%;
        margin: 0 5%;
    }
}

@media screen and (max-width: 480px) {

    .single .entry-inner,
    body.page .entry-inner {
        padding: 5%;
    }

    .comment-content,
    .reply {
        clear: both;
        margin: 0;
    }

    #footer-widgets .widget-area {
        float: none;
        width: 100%;
    }

    .format-quote .entry-inner .entry-content {
        font-size: 22px;
        line-height: 30px;
    }
}

/* =Responsiveness: Mobile
----------------------------------------------- */
@media screen and (max-width: 520px) {

    .site-nav,
    .site-nav.fixed {
        height: auto;
        position: absolute;
        left: 0;
        bottom: auto;
    }

    hgroup.alignleft {
        display: block;
        float: none;
        margin: 0 auto;
        padding: 0;
    }

    .site-title,
    .menu-toggle {
        clear: both;
        float: none;
        text-align: center;
    }

    .main-small-navigation {
        position: relative;
    }

    .main-small-navigation .main-menu {
        padding: 1em 0;
        text-align: center;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
    }

    ul.main-menu ul,
    ul.main-menu ul ul {
        margin-left: 0;
    }

    .home .site-nav,
    .archive .site-nav {
        padding: 0 5%;
        width: 90%;
    }

    .archive .page-header {
        margin-top: 60px;
    }

    .home .active {
        margin-top: 140px;
    }

    .has-header-image .active {
        margin-top: 0px;
    }

    #updownnav {
        display: none;
    }

    #primary .nav-previous,
    #primary .nav-next {
        float: none;
        margin: 1em auto;
        text-align: center;
    }

}