/*
Theme Name: Gojoseon
Theme URI: http://www.jekkilekki.com
Author: Aaron Snowberger
Author URI: http://www.jekkilekki.com
Description: Gojoseon is a custom responsive theme based on _s and built on the Foundation framework. It was inspired by Korea's first dynasty.
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gojoseon
Domain Path: /languages/
Tags: green, white, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, full-width-template, theme-options, post-formats, sticky-post, threaded-comments, translation-ready

http://www.wordpress.org/themes/tag-filter/ for the Tags above

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.

Gojoseon is based on Underscores http://underscores.me/, (C) 2012-2015 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 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
                5.2.1 Quickmenu
                5.2.2 Primary Menu
                5.2.3 Social Menu
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
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: 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 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/ */
	box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
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 {
	outline: 0;
}

a img {
	border: 0;
}
.vcard {
    border: none!important;
    padding: 0!important;
    margin: 0!important;
}

/* Foundation and other custom resets */
#masthead,
#primary,
#secondary {
    background-color: #fff;
}

/* Change the default width of the Foundation rows */
.row {
    max-width: 100em!important;
    margin-left: 0px!important;
    background: white;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}
button {
    box-shadow: none!important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

a { color: #cd7f32; }
a:hover,
a:focus,
a:visited { color: #814001; }

b,
strong {
	font-weight: bold;
}

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

blockquote {
	margin: 0 1.5em;
}

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;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

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

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

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0!important;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}

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

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	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.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	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,
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 {
	border-color: #aaa #bbb #bbb;
	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"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	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: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #cd7f32;
}

a:visited {
	color: #a86018;
}

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

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

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

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

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a {
}

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

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

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


/* Small menu */
.menu-toggle {
	display: none;
}

.top-navigation {
    
}
.top-navigation ul{
    float: right;
}
.top-navigation ul li {
    margin: 0 0 0 15px;
    border-bottom: 1px dotted silver;
    text-transform: uppercase;
    font-size: 0.8rem;
    list-style-type: none;
    display: inline;
}
.top-navigation ul li a {
    color: #999;
}

/* At Foundation SMALL screen sizes */
@media only screen and (max-width: 40em) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}
/* At Foundation MEDIUM screen sizes */
@media only screen and (max-width: 64.063em) {
        .top-navigation .menu-toggle {
                display: block;
                float: right;
                font-size: 0.8rem;
                background: none;
                color: #555;
                padding: 5px;
                margin: 0;
                text-transform: uppercase;
                box-shadow: none;
                outline: none;
        }

        .top-navigation.toggled {
            position: relative;
        }
        .top-navigation.toggled .nav-menu {
                display: block;
                position: absolute;
                top: 60px;
                right: 0;
                z-index: 10;
                background: white;
                border: 1px solid silver;
                border-radius: 5px;
                box-shadow: 1px 1px 5px;
                width: 180px;
        }
        .top-navigation.toggled .nav-menu:after {
            content: "";
            width: 0;
            height: 0;
            position: absolute;
            right: 18px;
            bottom: 100%;
            border-left: 13px solid transparent;
            border-right: 13px solid transparent;
            border-bottom: 13px solid white;
            /*border-width: 0 20px 20px 20px;
            border-style: solid;
            border-color: white;*/
        }
        .top-navigation.toggled .nav-menu:before {
            content: "";
            width: 0;
            height: 0;
            position: absolute;
            right: 16px;
            bottom: 100%;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 15px solid silver;
            /*border-width: 0 22px 22px 22px;
            border-style: solid;
            border-color: silver;*/
        }
        .top-navigation.toggled .nav-menu li {
            list-style-type: none;
            padding: 7px 0px;
            display: block;
            width: 145px;
        }
        .top-navigation.toggled .nav-menu li:last-child {
            border: none;
        }
        .top-navigation.toggled .nav-menu li:last-child:hover {
            border-radius: 0 0 5px 5px;
        }
        .top-navigation.toggled .nav-menu li:first-child:hover {
            border-radius: 5px 5px 0 0;
        }
        .top-navigation.toggled .nav-menu li:hover {
            margin-left: 0px;
            margin-right: 0px;
            padding-left: 15px;
            padding-right: 15px;
            background: #eee;
            color: #333;
        }
        
        .top-navigation ul {
                display: none;
        }
}

/*--------------------------------------------------------------
5.2.X Quick Menu
--------------------------------------------------------------*/
#quickmenu-wrap {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #333;
    width: 64px;
    height: 100%;
    z-index: 1;
}
 .admin-bar #quickmenu {
    padding-top: 32px; 
}
#menu-quick-items a.left-off-canvas-toggle {
    display: block;
    top: 165px;
    height: 50px;
    width: 64px;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    font-size: 1.2rem;
}
.admin-bar #menu-quick-items a.left-off-canva-toggle {
    top: 197px;
}
/* Quick Menu Items styling */
#menu-quick {
    position: fixed;
    margin: 0;
    padding: 0;
    /*background: #555;*/
    /*height: 100%;*/
    /*left: -186px;*/
/*    width: 250px;*/
    /*padding-bottom: 0;*/
    z-index: 2;
    top: 165px;
}
.admin-bar #menu-quick {
    top: 197px;
}

#menu-quick-items {
    position: relative;
    margin-left: 0;
    height: 40px;
    width: 64px;
    width: 4rem;
    text-align: center;
    font-size: 1.2em;
    font-weight: 700;
    color: #777;
}
#menu-quick-items li {
    border-top: 1px solid #555;
    padding: 5px;
}
#menu-quick-items li:hover,
#menu-quick-items li.active {
    background-color: #000;
}
#menu-quick-items ul li.active:hover {
    background-color: #000;
    padding-left: 10px;
}
#menu-quick-items li:last-child {
    border-bottom: 1px solid #555;
}
#menu-quick-items li a {
    color: #777;
}
#menu-quick-items li a strong {
    display: none;
}
#menu-quick-items li ul {
    position: absolute;
    top: -165px;
    right: -256px;
    width: 256px;
    display: none;
    font-weight: normal;
    height: 2000px;
    background: #777;
}
#menu-quick-items li ul li:hover {
    background-color: #169A70;
    padding-left: 20px;
}
#menu-quick-items li ul li.has-dropdown::after {
    font-family: FontAwesome;
    content: ' \f0da';
    color: whitesmoke;
    float: right;
    padding-right: 5px;
}
#menu-quick-items li ul li.has-dropdown.active::after {
    content: ' \f0d7';
}
#menu-quick-items li ul li.has-dropdown .active::after,
#menu-quick-items li ul li.has-dropdown:hover::after {
    content: ' \f0d7';
    border-left: 1px solid #555;
    padding: 10px 16px;
    margin: -10px;
    z-index: 100;
}
#menu-quick-items li ul li.has-dropdown .active,
#menu-quick-items li ul li.has-dropdown:hover {
    backgroud-color: #169A70;
    background: linear-gradient( to right, #169A70 0%, #169A70 85%, #777777 85%, #777777 100% );
}
#menu-quick-items li ul li > a:only-child::after,
#menu-quick-items li ul li > a:only-child:hover::after {
    content: '';
}
#menu-quick-items li ul li {
    list-style-type: none;
    background-color: #777;
    font-size: 0.8em;
    text-align: left;
    padding: 10px;
    position: relative;
}
#menu-quick-items li ul li a {
    color: whitesmoke;
}
#menu-quick-items li ul li ul {
    position: absolute;
    right: 0px;
    top: 41px;
    width: 256px;
    overflow-y: scroll;
    max-height: 40rem;
    z-index: 20;
}
/* Custom scrollbars in webkit @link: http://css-tricks.com/custom-scrollbars-in-webkit/ */
#menu-quick-items li ul li ul::-webkit-scrollbar {
    width: 8px;
}
#menu-quick-items li ul li ul::-webkit-scrollbar-track {
    background-color: #777;
}
#menu-quick-items li ul li ul::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}
#menu-quick-items li ul li ul li:first-child {
    border-top: none;
}
#menu-quick-items li ul li ul li:last-child {
    /*padding-bottom: 50px;*/
}
@media only screen and (max-width: 780px) {
    .admin-bar #quickmenu,
    .admin-bar #search-container {
        padding-top: 46px;
    }
    .admin-bar #menu-quick {
        top: 206px!important;
    }
    .admin-bar #menu-quick-items li ul {
        top: -160px!important;
    }
    #primary-nav-button {
        top: 96px;
    }
}

/*--------------------------------------------------------------
5.2.X Primary Menu
--------------------------------------------------------------*/
#primary-nav-button {
    color: #777;
    border-bottom: 1px solid #555;
}
#primary-nav-button a {
    color: #777;
}
#primary-nav-button:hover a {
    color: white;
}
#primary-menu {
    margin-left: 64px;
    width: 256px;
    position: absolute;
}
.primary-nav {
    background-color: #eee; /* #f5f5f5 */
}
.primary-nav ul {
    margin: 0 0px;
    padding: 0 20px 50px;
}
.primary-nav ul li {
    list-style-type: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-top: 1px dotted silver;
}
.primary-nav ul li > a:hover {
/*    border-bottom: 3px solid #1ED3A4;
    padding-bottom: 7px;*/
    color: #169A70;
    font-weight: bold;
}
.primary-nav ul > li {
    padding: 10px 0;
}
.primary-nav ul li a {
    color: #555;
}
.primary-nav ul ul li { position: relative; }
.primary-nav ul li ul {
    padding: 10px 0 35px;
    margin: 0;
}
.primary-nav ul li ul li {
    margin: 0;
    padding: 10px 0;
    text-transform: capitalize;
}
.primary-nav ul li ul li a {
    color: #999;
}
.primary-nav ul ul li:hover {
/*    background-color: #777;
    margin: 0 -20px;
    padding: 10px 20px;*/
}
/*.primary-nav ul ul li:hover > a {
    color: whitesmoke;
}*/
.primary-nav ul li ul li > a:after { font-family: FontAwesome; content: ' \f0da'; padding-left: 5px; }
.primary-nav ul li ul li.active > a { font-weight: bold; color: #169A70; }
.primary-nav ul li ul li.active > a:after { font-family: FontAwesome; content: ' \f0d7'; }
.primary-nav ul li ul li > a:only-child:after { content: ''; }
.primary-nav ul ul ul {
    list-style-type: none;
    background-color: #eee;
    /*position: absolute;*/
    /*top: -1px;*/
    /*right: -200px;*/
    width: 216px;
/*    z-index: 5;*/
    display: none;
    padding: 0;
    margin-top: 10px;
}
.primary-nav ul ul ul li {
/*    background-color: #777;*/
    padding: 10px 20px;
}
.primary-nav ul ul ul li::before {
    font-family: "FontAwesome";
    content: "\f178";
    color: #999;
    padding-right: 5px;
}
.primary-nav ul ul ul li:last-child {
    margin-bottom: -10px;
}
/*.primary-nav ul ul li:hover > ul {
    display: list-item;
}*/
.primary-nav ul ul ul li a {
    color: #999;
}
.primary-nav ul ul ul li:hover {
/*    background-color: #169A70;
    margin: 0;
    padding-left: 20px;
    padding-right: 0px;*/
}

/*--------------------------------------------------------------
5.2.X Left Off-canvas Menu (Foundation)
--------------------------------------------------------------*/
.move-right .exit-off-canvas {
    box-shadow: none!important;
}
.left-off-canvas-menu {
    border-right: 1px solid #666;
}
.left-off-canvas-toggle {
    text-transform: uppercase;
    font-size: 0.8rem;
    text-align: center;
    height: 50px;
    width: 64px;
    position: fixed;
    left: 0;
    top: 50px;
    line-height: 1.2em;
    padding-top: 10px;
    z-index: 10;
    display: none;
}
.left-off-canvas-toggle:hover {
    background: black;
}
.left-off-canvas-toggle a,
.left-off-canvas-toggle a:visited {
    color: #777!important;
}
.left-off-canvas-toggle a:hover,
.left-off-canvas-toggle a:focus {
    color: white!important;
}
.left-off-canvas-menu ul {
    margin: 0;
    padding: 0;
}
.left-off-canvas-menu li {
    font-size: 0.8rem;
    font-weight: normal;
}
.left-off-canvas-menu li a {
    font-weight: normal;
    color: #ccc;
}
.left-off-canvas-menu label a {
    margin: -0.3rem -0.9375rem;
    border-bottom: none!important;
    font-weight: bold;
    padding: 0.5rem 0.66667rem!important;
}
.left-off-canvas-menu span {
    display: block;
    color: #777;
    padding: 0.66667rem;
}
.left-off-canvas-menu .no-link {
    background: #3a3a3a;
    padding: 0.2rem 0.35rem!important;
}
.left-off-canvas-menu label .no-link {
    padding: 0!important;
    background: #444;
}
.left-off-canvas-menu .no-link label {
        margin: -0.2rem -0.35rem;
}
.left-off-canvas-menu i {
    color: #666;
    padding-right: 10px;
}
@media only screen and (max-width: 780px) {
    .left-off-canvas-toggle {
        display: block; 
    }
}

/* Move-right */
.move-right #quickmenu {
    padding-top: 0;
}
.move-right #menu-quick {
    top: 150px!important;
}
.move-right #primary-nav-button {
    top: 50px;
}

/*--------------------------------------------------------------
5.2.X Social Menu
--------------------------------------------------------------*/
.social-media-icons a,
#menu-social-items a,
#search a {
    color: #777;
}
#menu-social {
    z-index: 2;
    position: absolute;
    bottom: 29px;
    margin-bottom: 0;
    padding-bottom: 0;
}
#menu-social,
#menu-social-items {
    margin-left: 0px;
}
#menu-social-items li {
    padding: 5px;
    border-top: 1px solid #555;
    width: 64px;
    width: 4rem;
    text-align: center;
    font-size: 0.8em;
    position: relative;
}
#menu-social-items li:last-child {
    border-bottom: 1px solid #555;
}
#menu-social-items li:hover {
    background-color: #000;
}
.menu-social li a:before {
    display: inline-block;
    padding: 0 5px;
    vertical-align: top;
    font-family: 'FontAwesome';
    font-size: 1.4em;
    color: #777;
    -webkit-font-smoothing: antialiased;
}

.social-media-icons li:hover {
    background-color: #444;
}
.social-media-icons li:hover > a {
    color: #1ED3A4;
}

.menu-social li a[href*="facebook.com"]::before { content: '\f09a'; }
.menu-social li a[href*="twitter.com"]::before { content: '\f099'; }
.menu-social li a[href*="github.com"]::before { content: '\f09b'; }
.menu-social li a[href*="linkedin.com"]::before { content: '\f0e1'; }
.menu-social li a[href*="wordpress.com"]::before, 
.menu-social li a[href*="wordpress.org"]::before { content: '\f19a'; }
.menu-social li a[href*="tumblr.com"]::before { content: '\f173'; }
.menu-social li a[href*="plus.google.com"]::before { content: '\f0d5'; }
.menu-social li a[href*="dribbble.com"]::before { content: '\f17d'; }
.menu-social li a[href*="instagram.com"]::before { content: '\f16d'; }
.menu-social li a[href*="vimeo.com"]::before { content: '\f194'; }
.menu-social li a[href*="youtube.com"]::before { content: '\f167'; }
.menu-social li a[href*="pinterest.com"]::before { content: '\f0d2'; }
.menu-social li a[href*="flickr.com"]::before { content: '\f16e'; }
.menu-social li a[href*="bitbucket.com"]::before { content: '\f171'; }
.menu-social li a[href*="digg.com"]::before { content: '\f1a6'; }
.menu-social li a[href*="reddit.com"]::before { content: '\f1a1'; }
.menu-social li a[href*="codepen.io"]::before { content: '\f1cb'; }
.menu-social li a[href*="behance.com"]::before { content: '\f1b4'; }
.menu-social li a[href*="slideshare.net"]::before { content: '\f1e7'; }
.menu-social li a[href*="/feed"]::before { content: '\f413'; }
.menu-social li a[href*="subscribe"]::before { content: '\f410'; }

/* TODO: Fix the hover colors here */
.menu-social li a[href*="facebook.com"]:hover::before { color: #3b5998; }
.menu-social li a[href*="twitter.com"]:hover::before { color: #33ccff; }
.menu-social li a[href*="github.com"]:hover::before { color: #171515; }
.menu-social li a[href*="linkedin.com"]:hover::before { color: #0e76a8; }
.menu-social li a[href*="wordpress.com"]:hover::before, 
.menu-social li a[href*="wordpress.org"]:hover::before { color: #21759b; }
.menu-social li a[href*="tumblr.com"]:hover::before { color: #34526f; }
.menu-social li a[href*="plus.google.com"]:hover::before { color: #dd4b39; }
.menu-social li a[href*="dribbble.com"]:hover::before { color: #ea4c89; }
.menu-social li a[href*="instagram.com"]:hover::before { color: #3f729b; }
.menu-social li a[href*="vimeo.com"]:hover::before { color: #1AB7EA; }
.menu-social li a[href*="youtube.com"]:hover::before { color: #c4302b; }
.menu-social li a[href*="pinterest.com"]:hover::before { color: #c8232c; }
.menu-social li a[href*="flickr.com"]:hover::before { color: #ff0084; }
.menu-social li a[href*="bitbucket.com"]:hover::before { color: #1f5182; }
.menu-social li a[href*="digg.com"]:hover::before { color: #2169A8; }
.menu-social li a[href*="reddit.com"]:hover::before { color: #fff; }
.menu-social li a[href*="codepen.io"]:hover::before { color: #fff; }
.menu-social li a[href*="behance.com"]:hover::before { color: #005cff; }
.menu-social li a[href*="slideshare.net"]:hover::before { color: #00a8aa; }

.menu-social li a span::before {
    width: 20px;
    height: 20px;
    color: #999;
    border-radius: 20px;
}

/*--------------------------------------------------------------
5.2.X Back to Top Button
--------------------------------------------------------------*/
.topbutton {
    height: 50px;
    width: 64px;
    width: 4rem;
    position: fixed;
    bottom: 0;
    z-index: 1;
    color: #777;
    text-align: center;
    vertical-align: bottom;
    border-top: 1px solid #555;
    clear: left;
    padding-top: 5px;
}
.topbutton a {
    font-size: 0.7em;
    color: #777;
}
.topbutton i {
    font-size: 2em;   
}
div.topbutton:hover {
    background-color: #1ED3A4;
}
div.topbutton:hover > a {
    color: white;
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	overflow: hidden;
        clear: both;
        font-size: 1rem;
        margin-bottom: 2em;
        max-width: 780px;
        margin-left: auto;
        margin-right: auto;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.post-navigation {
    margin: 2em auto!important;
    background: #eee;
    padding: 1em;
}
.post-navigation a {
    color: #555;
}
.post-navigation a:hover {
    
}
.post-navigation h2 {
    font-size: 1.1rem;
    color: #000;
}
.post-nav-link {
    clear: both;
}
.post-nav-link p {
    margin: 5px 0;
}
.nav-links-left i {
    padding-right: 5px;
}
.nav-links-right i {
    padding-left: 5px;
}
.nav-links-left {
    width: 45%;
    float: left;
}
.nav-links-right {
    width: 45%;
    float: right;
}
.nav-links-right h2,
.nav-links-right p {
    text-align: right;
}
.nav-links-right p,
.nav-links-left p {
    font-size: 0.8em;
    padding: 0;
}
/* Nice modification of object-fit: cover; to make this work. I used two links: 
 * @link: https://medium.com/@chrisnager/center-and-crop-images-with-a-single-line-of-css-ad140d5b4a87
 * @link: http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/ 
 */
.post-nav-thumb {
    width: 100%;
    height: 150px;
    background: gainsboro;
    text-align: center;
    margin-bottom: 10px;
    overflow: hidden;
}
.post-nav-thumb img {
    width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.nav-links-left .post-nav-thumb {
    float: left;
}
.nav-links-right .post-nav-thumb {
    float: right;
}

/* Comment navigation */
.comment-navigation {
    padding: 1.5em;
    margin: 3em 0;
    background: #eee;
}
.comment-navigation a {
    color: #555;
    font-size: 0.8rem;
}

/* Paging Navigation */
.paging-navigation ul {
    margin: 0;
    background: #eee;
    padding: 2em 1em;
}
.paging-navigation li { display: inline; }

a.page-numbers,
span.page-numbers {
    padding: 0.3em 0.7em;
    color: #333;
}
a:hover.page-numbers {
    color: #000;
}
.paging-navigation .current {
    font-weight: bold;
    color: #000;
}
/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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-size: 1.4rem;
	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 */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.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;
}
/* Alignment responsive */
@media screen and (min-width: 1520px) {
    .alignleft {
        margin-left: -60px!important;
    }
}
@media screen and (min-width: 1520px) {
    .alignright {
        margin-right: -60px!important;
    }
}

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

/*--------------------------------------------------------------
X.X Header
--------------------------------------------------------------*/
.header-image-row {
    height: 160px;
}
.header-image,
.header-image-pattern {
    width: 100%;
    height: 160px;
    margin-bottom: -160px;
}
.header-image {
    background: no-repeat center;
    background-position: center;
    background-size: cover!important;
    -moz-background-size: cover!important;
    -webkit-background-size: cover!important;
}
.header-image-pattern {
    background-repeat: repeat;
}
#site-logo { /* @link: http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/ */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 2em;
}

.site-branding,
.site-description,
.top-navigation {
    margin: 0;
    padding: 0;
}
.site-description,
.top-navigation {
    height: 60px;
    padding-top: 15px;
}
.site-branding {
    height: 160px;
    background-color: #169A70;
    position: relative;
}
.site-title {
    font-weight: 200;
    text-transform: lowercase;
    font-size: 2rem;
    position: absolute;
    bottom: 0px;
    padding: 0 20px;
}
.site-title a {
    color: white;
}
.site-description {
    font-size: 1rem;
    font-style: italic;
    color: #999!important;
}
.logo {
    
}
.google-ad-space { /* This is for Google Ad Space */
    max-width: 100%;
    height: 90px;
    /*border: 1px dashed #999;*/
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: center;
}

/* Search Boxes */
input[type="search"] {
    box-sizing: border-box;
    width: 100%;
}
.search-box-wrapper {
    z-index: 50;
    width: 320px;
    position: fixed;
    left: 4rem;
    display: none;
    
}
.search-box {
    padding: 5px;
    background: #1ED3A4;
}
.admin-bar .search-box {
    /*margin-top: 32px;*/
}
.search-box .search-field {
    background-color: #fff;
    border: 0;
    font-size: 1.2em;
    margin: 0;
    height: 40px;
}
.search-box .search-submit,
.error404 .search-submit,
.archive .search-submit {
    display: none;
}
.search-toggle { 
    z-index: 2;
    margin-left: 0px;
    color: #777;
    border-top: none;
    border-bottom: 1px solid #555;
    height: 50px;
    width: 64px;
    width: 4rem;
    text-align: center;
    font-size: 1.2em;
    padding-top: 10px;
    cursor: pointer;
}
.search-toggle:hover,
.search-toggle.active {
    color: white;
    background-color: #1ED3A4;
    border-bottom: 1px solid #1ED3A4;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 3em;
        color: #777;
}
.widget-title {
    margin-bottom: 1em;
    font-size: 1.2rem;
    border-bottom: 3px solid #1ED3A4;
    padding-bottom: 5px;
    font-weight: bold;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    color: #333;
}
.widget ul,
.widget table,
.widget p {
    font-size: 0.9rem;
}
.widget a {
    color: #333;
    border-bottom: 1px dotted silver;
}
.widget ul,
.widget ol {
    padding: 0;
    margin: -1em 0 0;
    list-style-type: none;
}
.widget ul ul,
.widget ol ol,
.widget ul ol,
.widget ol ul {
    margin-top: 0;
}
.widget li {
    padding: 1em 0 0;
}
.widget li ul,
.widget li ol {
    margin-top: 0;
}
.widget li li {
    margin-left: 1.5em;
}
.widget_recent_entries li:before,
.widget_recent_comments li:before,
.widget_archive li:before,
.widget_categories li:before {
    display: block;
    float: left;
    margin-top: -1px;
    margin-left: -2em;
    font-family: 'FontAwesome';
    font-size: 1rem;
    color: #333;
}
.widget_recent_entries li,
.widget_recent_comments li {
    margin: 0 0 .5em 2.5em;
}
.widget_recent_entries li:before {
    content: '\f036';
}
.widget_recent_comments li:before {
    content: '\f086';
}
.widget_archive li,
.widget_categories li {
    margin: 0 0 0 2.5em;
}
.widget_archive li:before {
    content: '\f187';
}
.widget_categories li:before {
    content: '\f07c';
}
.widget_categories li li:before {
    
}
.widget_nav_menu a,
.widget_pages a {
    display: block;
    margin: -1em 0 0;
    padding: 10px 0;
}
.widget_nav_menu li,
.widget_pages li {
    
}

.widget_nav_menu li,
.widget_pages li {

}
.widget_rss ul {
    margin-top: 1em;
}
.widget_rss li {
    margin: 1em 0;
    border: 1px solid #ccc;
    padding: 1em;
}
.widget_rss .rss-date,
.widget_rss cite {
    display: block;
    font-size: 85%;
}
.widget_rss .rssSummary {
    margin: 1em 0;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}
#footer-widgets { width: 100%!important; }
.footer-widgets {
    margin: 0 auto;
}
.footer-widgets .widget-title,
.footer-widgets .widget a:hover {
    
}
.footer-widgets .widget {
    float: left;
    width: 30%;
    margin: 0 1.5% 3%;
}

/* Footer widgets responsive */
@media screen and (max-width: 40em) {
    #footer-widgets { width: 100%!important; }
    
    .footer-widgets .widget {
        float: none;
        width: 100%;
        margin: 0 0 3rem;
    }
}
@media screen and (min-width: 40.063em) and (max-width: 64.063em) {
    #footer-widgets { width: 100%!important; }
    
    .footer-widgets .widget {
        width: 47%;
    }
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/

.primary-nav,
#main,
#secondary {
    padding-top: 3em;
    border-top: 5px solid #1ED3A4;
}

#breadcrumbs {
    position: absolute;
    top: 15px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}
#breadcrumbs li {
    color: #999;
}
#breadcrumbs li::before {
    font-family: FontAwesome;
    content: "\f105";
}
#breadcrumbs li:first-child::before {
    content: "";
    padding-right: 0;
}
#breadcrumbs li a {
    color: #777;
}

#main article,
#main .post-navigation,
#main #comments {
    max-width: 780px;
    margin: 0 auto;
}
.entry-title {
    font-size: 30px;
    font-size: 3rem;
    line-height: 1.2em;
    margin-top: 0;
}
.entry-title a {
    color: #333;
}
.entry-content {
    clear: both;
    margin: 2em auto 1em;
}
.entry-content a {
    border-bottom: 1px dotted;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-bottom: 0.5em;
}
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.5em;
}
.entry-content h5,
.entry-content h6 {
    text-transform: uppercase;
}
.entry-content h6 {
    letter-spacing: 1px;
}
.entry-content p,
.entry-content ul,
.entry-content ol {
    font-size: 1.1rem;
    line-height:1.6;
}
.entry-content ul li,
.entry-content ol li {
    line-height: 1.8em;
    margin-left: 1em;
}

/* Blockquotes */
.entry-content blockquote {
    border: 1px dashed #cd7f32;
    border-left: 5px solid #cd7f32;
    background: whitesmoke;
    margin: 2em;
    font-style: italic;
}
.entry-content blockquote p {
    padding: 0.5em 0.5em;
    color: #999;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.5em;
}
.entry-content blockquote em {
    font-style: normal;
    font-weight: 300;
}
.entry-content cite {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-size: 0.8rem;
    line-height: 1.5em;
}
.entry-content blockquote cite {
    display: block;
    margin-top: 2em;
    margin-left: 40%;
    font-weight: normal;
}
.entry-content blockquote.alignleft {
    width: 50%;
    float: left;
    padding: 1em 0 0 1em;
    margin-right: 2em;
    margin-left: 0;
}
.entry-content blockquote.alignright {
    width: 50%;
    float: right;
    padding: 1em 0 0 1em;
    margin-left: 2em;
    margin-right: 0;
}
.entry-content blockquote.alignleft p,
.entry-content blockquote.alignright p {
    margin-bottom: 0;
}
.entry-content address {
    color: #999;
    font-style: italic;
    font-size: 1rem;
}
.entry-content address p {
    font-size: 1rem;
    margin: 0;
    padding: 0;
}
.entry-content pre, 
.entry-content code, 
.entry-content kbd {
    font-size: 1rem;
}
.entry-content pre {
    background: #333;
    color: whitesmoke;
    padding: 20px 30px;
    margin-bottom: 1.5em;
}
.entry-content q {
    color: #999;
    font-style: italic;
    font-weight: 100;
    font-size: 1.5rem;
}

/* Smaller fonts for smaller screens */
@media screen and ( max-width: 680px ) {
    .entry-title {
        font-size: 2rem;
    }
    .entry-content {

    }
    .entry-content a {

    }
    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6 {

    }
    .entry-content h5,
    .entry-content h6 {

    }
    .entry-content h6 {

    }
    .entry-content p,
    .entry-content ul,
    .entry-content ol {
        font-size: 1rem;
    }
    .entry-content blockquote p {
        font-size: 1.2rem;
    }
    .entry-content blockquote cite {
        
    }
}
/* Meta */
.entry-meta {
    position: relative;
    margin: 1em 0 4em;
}
#header-meta {
    border-bottom: 1px solid silver;
    position: relative;
    height: 22px;
    margin-right: 80px;
    margin-top: 15px;

}
.posted-on, 
.comments-link,
.byline {
    font-size: 0.7rem;
    font-family: "Roboto Slab", serif;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 10px;
    margin-right: 50px;
    float: left;
}
.comments-link {
    margin-right: 0;
}
.posted-on {
    /*margin-top: 1px;*/
}

.byline {
    float: right;
    margin-right: 0;
    margin-top: -4px;
}
.byline .vcard {
    border: none;
    margin: -4px 0 0;
    padding: 0;
}
.author-image {
    position: absolute;
    right: -80px;
    top: -10px;
    width: 64px;
}
.author-image img {
    border-radius: 80px;
}
.author-image img:hover {

}
.posted-on a,
.comments-link a,
.byline a {
    color: #555;      
}
.comments-link i {
    padding-right: 5px;
    font-size: 1rem;
}
@media only screen and (max-width: 480px) {
    .byline {
        text-align: left;
        border-bottom: 1px solid silver;
        float: left;
        width: 100%;
        padding-bottom: 2px;
    }
    .comments-link {
        padding-top: 5px;
    }
    /* @TODO: At this size, also change the post navigation size*/
    /* @TODO: But footer-met and post-navigation inside the Foundation grid */
}

/* Footer Meta */
.entry-footer {
    background: #eee;
    padding: 0 1em;
}
.cat-links,
.tag-links,
.share-links {
    min-height: 40px!important;
    padding: 2px 0;
}
.cat-link i,
.tag-links i,
.share-links i {
    padding-right: 5px;
}
.tag-links,
.share-links {
    border-top: 1px dotted silver;
}
.cat-links h1,
.tag-links h1,
.share-links h1 {
    font-size: 0.9rem;
    width: 120px;
    float: left;
    margin-right: 10px;
    border-right: 1px solid silver;
    margin-top: 10px;
}
.cat-links ul,
.tag-links ul {
    margin: 0 0 0 130px;
}
.cat-links li,
.tag-links li {
    list-style-type: none;
    display: inline-block;
    padding: 0 10px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.cat-links li:hover,
.tag-links li:hover {
    border-color: #cd7f32;
}
.cat-links li:hover a,
.tag-links li:hover a,
.cat-links a:hover,
.tag-links a:hover {
    color: #cd7f32;
}
.cat-links a, 
.tag-links a {
    font-size: 0.8em;
    color: #777;
}
.tag-links li i {
    color: #777;
    font-size: 0.8rem;
}
.share-links div {
    float: left;
    
}
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

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

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

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

/* Edit buttons */
.edit-link {
    float: right;
    font-size: 0.8rem;
    background-color: #eee;
    border: 1px solid #eee;
    text-transform: uppercase;
    padding: 0 10px;
    border-radius: 5px;
    font-family: Roboto, sans-serif;
}
.top-edit-link {
    position: absolute;
    top: 25px;
    right: 79px;
}
.bottom-edit-link {
    margin-top: -28px;
    margin-right: -1.5em;
}
.edit-link a {
    color: #777;
}
.edit-link:hover {
    background-color: white;
    border: 1px solid silver;
}

/* ShareDaddy Custom Styling (if enabled) */
.entry-meta .sd-title {
    display: none!important;
}
.entry-meta .sd-block {
    margin-right: 80px!important;
}
.entry-footer .sd-block {
    min-height: 45px;
    padding: 10px 0;
    border-top: 1px dotted silver;
}
.entry-footer .sd-title {
    font-size: 0.9rem!important;
    font-weight: normal!important;
    width: 120px;
    float: left;
    margin-right: 10px!important;
    border-right: 1px solid silver;
    line-height: inherit!important;
}
.entry-footer .sd-title::before {
    font-family: "FontAwesome";
    content: "\f1e0"!important;
    display: inline!important;
    border: none!important;
    min-width: 0!important;
    padding-right: 10px;
}
.entry-footer .sd-content {
    margin-left: 130px;
}
.entry-footer .sd-content li:hover {
    border-color: #cd7f32!important;
}

/* My custom sharing buttons */
.social-sharing {
    height: 40px;
    clear: both;
}
.social-sharing div {
    float: left;
    padding-right: 15px;
}
#tweetthis {
    width: 86px;
}
#likethis {
    margin-top: 2px;
}
#plusonethis {
    width: 64px;
}

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

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
#comments {
    margin-top: 3em!important;
}
.comments-title, 
.comment-reply-title {
    margin-bottom: 1em;
    font-size: 1.2rem;
    border-bottom: 3px solid #cd7f32;
    padding-bottom: 5px;
    font-weight: bold;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    color: #555;
}
.comments-area > ol {
    padding: 0;
    margin: 2em 0;
    list-style-type: none;
}

ol.children { list-style-type: none; }
ol.children .vcard img {
    width: 64px;
}

.comment-list ol { margin-left: 50px; }
.comment-list li { padding-bottom: 1em; }
/*.comment::after {
    font-family: "FontAwesome";
    content: '\f175';
    font-size: 2rem;
    color: #e1e1e1;
    text-align: center;
    margin: -2em auto;
}*/
.children .comment { margin-top: -1em; }
.children .comment::after { display: none; }

.comment-meta { margin-bottom: 2em; }
.comment-metadata { margin-top: -45px; padding-left: 74px; padding-top: 5px; border-top: 1px solid silver;  }
ol.children .comment-metadata { padding-left: 54px; margin-top: -29px; padding-top: 2px; }
.comment-metadata time {
}
.comment-meta,
.comment-author {
    font-family: "Roboto Slab", serif;
    text-transform: uppercase;
    font-size: 0.7rem;
}
.comment-meta a {
    color: #555;
}
.comment-author .avatar {
    width: 84px;
    border-radius: 50px;
    display: block;
    float: left;
    margin-left: -10px;
    margin-top: -10px;
    border: 10px solid white;
}
.comment-meta .vcard {
    border: none;
    padding: 0;
}
.comment-content, 
.reply {
    padding-left: 74px;
}
ol.children .comment-content,
ol.children .reply {
    padding-left: 54px;
}
.comment-body {
    margin-bottom: 2em!important;
    border: 1px solid #ddd;
    padding: 1em;
}
.comment-content a {
	word-wrap: k-word;
}
.comment-content ol { margin-left: 1.5em; }
.reply {
    font-size: 0.8rem;
    font-weight: bold;
}
.reply a {
    color: #333;
}
.reply::before {
    font-family: "FontAwesome";
    content: '\f112';
    color: #333;
    padding-right: 5px;
}
.bypostauthor > .comment-body {
	position: relative;
        padding: 1em;
        margin-bottom: 2em!important;
        border: none;
        background: whitesmoke;
}
.bypostauthor > .comment-body .avatar {
    border-color: whitesmoke;
}
.bypostauthor > .comment-body .avatar::before { /* @TODO: not currently working */
    font-family: "FontAwesome";
    content: "\f212";
    color: #cd7f32;
}

/* Comment Reply Form */
.comment-reply-title { }
.comment-form textarea {
    font-family: "Roboto Slab", serif;
    font-size: 1.1rem;
}
.comment-form-label {
    margin-bottom: 5px;
}
.comment-form input {
    width: 50%!important;
}
.required { color: red; }
.comment-awaiting-moderation { /* Green background color to make moderation seem less aggressive */
    padding: 0.5rem 1rem;
    margin: 20px 0;
    color: #fff;
    background: #84bd68;
    text-transform: capitalize;
    font-family: Roboto, sans-serif;
}
/* Comments responsive */
@media screen and ( max-width: 600px ) {
    .comment-list ol { margin-left: 0; }
    .comment-content ol { margin-left: 1.5em; }
    .comment-content, 
    .reply { margin-left: 0; }
    .comment-form input {
        width: 100%!important;
    }
}

/*--------------------------------------------------------------
10.4 Index Pages
--------------------------------------------------------------*/
.featured article {
    width: 100%;
}
.continue-reading {
    padding: 1em 2em;
    /*margin: 0 -2em -1em;*/
    clear: both;
}
.continue-reading i {
    margin-left: 5px;
}
.continue-reading a {
    color: #333;
    font-size: 0.8rem;
}
ul#index {
    margin-left: 0;
}
ul#index li {
    list-style-type: none;
}
.index-box {
    /*padding: 1em 2em;*/
    border: 1px solid silver;
    margin-bottom: 3em;
}
.index-box .small-index-thumbnail {
    border-bottom: 1px solid silver;
}
.index-box .first-image {
/*    position: relative;
    top: 50%;
    transform: translateY(-50%);*/
}
.index-box .entry-header {
    /*float: right;*/
    /*width: 70%;*/
    padding: 1.5em 2em 0;
}
.index-box .entry-title {
    font-size: 2rem;
}
.index-box .entry-meta, 
.featured-post .entry-meta {
    height: 75px;
    margin-bottom: 0;
}
.index-box #header-meta,
.featured-post #header-meta {
    margin-right: 0;
}
.index-box .entry-content {
    margin: -2em 0 0;
    /*float: right;*/ 
    /*width: 70%;*/
    /*clear: none;*/
    padding: 0 2em;
}
.index-box p,
.index-box ol,
.index-box ul {
    font-size: 1rem;
}
.index-box .top-edit-link,
.featured-post .top-edit-link {
    top: -2px;
    right: 0;
}
.no-thumb .entry-header,
.no-thumb .entry-content {
    width: 100%;
}

/* Sticky Posts */
.featured-title,
.blog-title {

}
.thick {
    border-color: #cd7f32;
    margin-top: 4em;
}
#featured-slider {
    background: #ccc;
}
#featured-slider .first-image {
    max-height: 500px;
}
.slick-prev {
    /*left: 0!important;*/
}
.slick-next {
    /*right: 0!important;*/
}
.slick-prev:before,
.slick-next:before {
    color: #333!important;
}
.featured-post article {
    position: relative;
    max-width: 100%!important;
    margin: 0!important;
}
.featured-article {
    /*max-width: 780px;*/
    margin: 0 auto;
}
.featured-post .single-post-thumbnail {
    /*height: 500px;*/
    margin: 1em;
    background: transparent;
}
.featured-post .single-post-thumbnail img {
    /*max-height: 500px;*/
    /*overflow-y: hidden;*/
    border-radius: 10px;
}
/*.featured-post 
#count {
    position: absolute;
    background: #cd7f32;
    padding: 5px 15px;
    color: whitesmoke;
    text-transform: uppercase;
    font-size: 0.8rem;
    top: 20px;
    left: 0;
    font-family: "Roboto Slab", serif;
}
#count i {
    font-size: 1.1rem;
    padding-right: 10px;
}*/
.featured-post .featured-article {
    padding: 1em;
    background: #eee;
    color: #333;
    /*position: absolute;*/
    /*margin: 0!important;*/
    /*opacity: 0;*/
    min-height: 60px;
    /*bottom: 0;*/
    /*overflow-y: hidden;*/
    /*right: 50%;*/
    /*transform: translateX(50%);*/
    /*width: 100%;*/
    border: 1px solid #ccc;
}
.featured-post a {
    color: #333;
}
.featured-post .entry-header {
    position: absolute;
    /*bottom: 0;*/
    left: 0;
    padding: 0 1em;
    width: 100%;
}
.featured-post .entry-title {
    font-size: 1.1rem;
    padding-right: 70px;
}
.featured-post #header-meta,
.featured-post .entry-meta {
    margin-top: 0;
}
.featured-post .posted-on {
    margin-right: 0;
}
.featured-post .comments-link {
    /*float: right;*/
}
.featured-post .entry-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    padding: 2em 1em;
    opacity: 0;
    background: #333;
    margin: -2em 0 0;
    clear: none;
    color: whitesmoke;
}
.featured-post .entry-content a {
    border-bottom: none;
    color: whitesmoke;
}
.featured-post .entry-content p {
        font-size: 1rem;
        margin-bottom: 0;
}
.featured-post .continue-reading {
    padding: 2px 10px 5px;
    border: 1px solid #999;
    border-radius: 5px;
    line-height: 1;
    margin-top: 1em;
    max-width: 130px;
}
.featured-post .continue-reading:hover {
    background: black;
}
.featured-post .edit-link {
    right: 2rem;
    top: 0;
}
/*.featured-post .edit-link i {
    padding-left: 5px;
}*/
.featured-post article:hover .featured-article {
    background: #ccc;
}
.featured-post article:hover .entry-content {
    opacity: 0.8;
}
.featured-post article:hover img {
    /*opacity: 0.5;*/
}
@media only screen and (min-width: 64.063em) and (max-width: 1245px) {
    .featured-post #header-meta {
        padding-bottom: 38px;
    }
}
@media only screen and (max-width: 64.063em) {
    .featured-post #header-meta {
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .featured-post .posted-on {
        margin-right: 50px;
    }
    .featured-post .entry-content {
        padding: 1em;
    }
}

/* Asides */
.aside {
    position: relative;
    background: #eee;
}
.aside .entry-content {
    margin: 0;
    float: none;
    padding-left: 7em;
}
.aside .author-image {
    left: 1.5em;
    top: 1.5em;
}
.aside .entry-footer {
    margin-left: 7em;
}
.aside .entry-footer,
.aside .entry-meta {
    padding: 0;
    height: 35px;
    margin-top: -1em;
}
.aside #header-meta {
    margin-right: 2em;
    border: none;
}
.aside .edit-link {
    margin-right: 2rem;
}

/* Archive Index pages */
.page-header {
    margin: 0 auto 3em;
    padding: 1em;
    background: #eee;
    max-width: 780px;
}
.page-title {
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
}
.taxonomy-description {
    font-style: italic;
    margin: 0;
    padding: 0.5em 0 0;
}
.taxonomy-description p {
    margin-bottom: 0;
}

/* Search & 404 Pages */
.entry-content-no-results,
.entry-content-error-404 {
    float: none;
    margin-top: 0;
}
.no-results .page-header,
.error-404 .page-header {
    background: white;
    padding: 1em 0 0;
    margin-bottom: 0;
}
.no-results .page-title,
.error-404 .page-title {
    border-bottom: 3px solid #cd7f32;
    padding: 0 0 5px;
    max-width: 780px;
    margin: 1em auto 2em;
    font-size: 1.2rem;
}

/* Full-width pages */
.full-width #primary,
.full-width article,
.full-width .post-navigation,
.full-width #comments,
.full-width .featured-article,
.full-width .page-title,
.full-width .featured-post,
.full-width .paging-navigation,
.full-width .comment-navigation,
.full-width .post-navigation,
.full-width .comments-list {
    max-width: 900px!important;
    margin: 0 auto;
}
.full-width .featured-title,
.full-width .blog-title {
    max-width: 1000px!important;
    margin: 0 auto 20px;
}
.full-width #primary {
    margin-bottom: 3em;
}

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

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

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

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.alignleft .wp-caption-text,
.alignright .wp-caption-text,
.aligncenter .wp-caption-text {
    margin: 0 5px;
}
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

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

.wp-caption .wp-caption-text,
.gallery-caption {
        padding: 0.5em 1em;
        font-size: 0.8rem;
        color: #555;
        background: #eee;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
        position: relative;
        overflow: hidden;
        margin-bottom: 0;
}
.gallery-item img {
    width: 100%;
}
.gallery-icon {
    background: gainsboro;
    margin-bottom: 0;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 60%;
    width: 100%;
    padding: 6px 8px;
    margin: 0;
    text-align: left;
    opacity: 0;
    background: #333;
    color: whitesmoke;
}
.gallery-item:hover .gallery-caption {
    opacity: 0.8;
}

.site-main .gallery a img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none;
}

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

.gallery-columns-3 .gallery-item {
	max-width: 32%;
}

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

/* Featured Images */
.single-post-thumbnail {
    background: #eee url(images/contemporary_china.png) repeat;
}
.single-post-thumbnail img {
    display: block;
    margin: 0 auto;
}
.small-index-thumbnail {
    /*margin: -1em -2em 0;*/
    /*height: 300px;*/
    overflow: hidden;
    width: 100%;
    max-height: 200px;
    /*float: left;*/
}
.small-index-thumbnail img {
    width: 100%;
}

/*--------------------------------------------------------------
13.0 Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: silver;
    clear: both;
    margin: 0 -0.9375rem;
    padding: 1.5rem;
    position: relative;
}
.site-footer,
.site-footer a {
    color: #333;
    border-bottom: 1px dotted gainsboro;
}
#footer-area {
    background-color: #777;
    margin: 0 -0.9375rem;
    padding: 1rem;
    clear: both;
    position: relative;
}
#footer-navigation ul {
    margin: 0;
}
#footer-navigation li {
    list-style-type: none;
    display: inline;
    padding-right: 10px;
    margin: 0;
}
#footer-navigation a {
    color: whitesmoke;
    border-bottom: 1px dotted silver;
    font-size: 0.8rem;
}
#footer-navigation a:hover {
    color: white;
}
.site-info {
    clear: both;
    background: #333;
    height: 49px;
    font-size: 0.6875rem;
    color: #777;
    text-transform: uppercase;
    z-index: 15;
    position: relative;
    padding-top: 18px;
    text-align: center;
    margin-left: 64px;
}
@media only screen and (min-width: 311px) and (max-width: 500px) {
    .site-info {
        padding-top: 10px;
    }
}
@media only screen and (max-width: 310px) {
    .site-info {
        padding-top: 2px;
    }
}
.site-info a {
    color: #999;
}
#copyright {
    color: #ccc;
    font-size: 0.8rem;
    text-align: right;
    padding-top: 4px;
}
@media only screen and (max-width: 64.063em) {
    #footer-navigation,
    #copyright {
        text-align: center;
    }
}

/* At Foundation SMALL screen sizes */
@media only screen and (max-width: 780px) {
	.primary-nav .menu-toggle,
	.primary-nav.toggled .nav-menu {
		display: block;
        }
	.primary-nav ul {
		display: none;
                position: fixed;
                top: 50px;
                left: 80px;
                z-index: 20;
                width: 200px;
                box-shadow: 1px 1px 5px;
                background: #eee;
	}
        .primary-nav ul li:last-child {
            padding-bottom: 0;
        }
        .primary-nav .menu-toggle {
            position: fixed;
            top: 50px;
            left: 0;
            width: 64px;
            height: 50px;
            padding: 5px;
            background: transparent;
            outline: none;
            border: none;
            border-bottom: 1px solid #555;
            box-shadow: none;
            text-shadow: none;
            color: #777;
            font-size: 0.8rem;
            text-transform: uppercase;
        }
        .primary-nav .menu-toggle:hover,
        .primary-nav .menu-toggle:active {
            background: black;
            color: white;
        }
        .padded-row {
            padding-left: 64px!important;
        }
        #menu-quick{
            top: 99px;
        }
        #menu-quick-items li ul {
            top: -99px;
        }
        #primary-menu {
            position: relative;
            width: 156px;
            float: left;
        }
        .site-branding {
            height: 100px;
        }
        .site-description {
            padding-bottom: 15px;
        }
        .site-title {
            font-size: 1.2rem;
            width: 136px;
            margin: 5px 10px;
            padding: 0;
        }
        .sidebar-top {
            width: 72%!important;
            float: right!important;
            margin-top: -100px;
        }
        .primary-nav {
            padding-top: 0px;
            border: none;
        }
        
}
@media only screen and (max-width: 600px) {
    #wpadminbar { /* for some reason this is changed to absolute? */
        position: fixed;
    }
    #primary-menu {
        width: 100%;
        text-align: center;
    }
    .site-branding, #site-logo {
        padding: 10px 0;
    }
    #site-logo img {
        height: 80px;
    }
    .sidebar-top {
        margin-top: 10px;
        width: 100%!important;
    }
}
@media only screen and (max-width: 520px) {
    .index-box .entry-content {
        margin-top: -1em;
    }
    .index-box .comments-link {
        padding-top: 5px;
    }
    .aside .entry-meta,
    .aside .entry-footer {
        height: 60px;
        
    }
    .index-box .posted-on,
    .aside .posted-on {
        border-bottom: 1px solid silver;
        padding-bottom: 5px;
/*        margin-bottom: 5px;*/
        width: 100%;
    }
    .index-box #header-meta,
    .aside #header-meta {
        border-bottom: none;
    }
    .featured .entry-content {
        max-height: 180px;
    }
    .featured .entry-content p {
        font-size: 0.7rem;
    }
    .featured .entry-title {
        font-size: 0.8rem;
    }
    .featured #header-meta {
        display: none;
    }
}