/*
Theme Name: Alleria
Theme URI: http://fbgm.eu/alleria/
Author: FB George
Author URI: http://fbgm.eu
Description: Alleria is a simple, responsive theme based on Underscores that uses masonry for a two columns post layout.
Version: 1.5.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alleria
Tags: responsive-layout, three-columns, custom-header, featured-images, translation-ready

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.

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

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
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 */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

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

body {
	background: #52585E; /* 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;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
h1 { font-size: 26px; font-size: 2.6rem; font-family: 'Lemon', cursive; }
h2 { font-size: 24px; font-size: 2.4rem; font-family: 'Lemon', cursive; }
h3 { font-size: 22px; font-size: 2.2rem; font-family: 'Lemon', cursive; }
h4 { font-size: 18px; font-size: 1.8rem; font-family: 'Lemon', cursive; }
h5 { font-size: 14px; font-size: 1.4rem; font-family: 'Lemon', cursive; }
h6 { font-size: 12px; font-size: 1.2rem; font-family: 'Lemon', cursive; }

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6em;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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

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

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

#colophon table{
    color: #848484;
}

tr:nth-child(odd) {
        background-color: #F2F2F2;
}

tr:nth-child(even) {
        background-color: #FAFAFA;
}

td {
        padding: 0.7rem;
        border: 1px solid #eee;
}

th {
        background-color: #515151;
        color: #fff;
        font-weight: bold;
        padding: 1rem;
        border: 1px solid #808080;
}

blockquote {
        margin: 0 2rem 1rem;
        background: #eee;
        padding: 1rem 2rem;
        border-radius: 1rem;
        color: #646464;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
.menu-toggle:hover {
        border-color: #ccc #bbb #aaa;
        box-shadow: inset 0 1px 0 rgba(60, 60, 60, 0.5), inset 0 15px 17px rgba(45, 45, 45, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
}

.menu-toggle {
        border: 0px solid;
        border-color: transparent;
        border-radius: 0px;
        background: #4d4d4d;
        box-shadow: none;
        color: rgba(0, 0, 0, .8);
        cursor: pointer;
        -webkit-appearance: button;
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 1;
        text-shadow: none;
}


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 */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}

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

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #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
--------------------------------------------------------------*/
.tothetop {
        margin: 10px 10px 15px 10px;
        margin: 1rem 1rem 1.5rem 1rem;
        padding: 15px 20px;
        padding: 1.5rem 2rem;
        text-align: center;
        vertical-align: middle;
        display: inline-block;
        border: 1px dashed #3D3D3D;
        cursor: pointer;
}

.loop-pagination {
        padding: 10px;
        padding: 1rem;
        margin: 0 0 10px;
        margin: 0 0 1rem;
        clear: both;
}

.page-numbers:hover {
		background: #28A5A5;
		color: #fff;
}
.page-numbers {
		padding: 1rem 2rem;
		padding: 1rem 2rem;
		background: #fff;
}
.current, .current:hover {
		background: #333;
		color: #fff;
}
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
        color: #28A5A5;
        text-decoration: none;
}
a:visited {
        color: #28A5A5;
        text-decoration: none;
}
a:hover,
a:focus,
a:active { color: #0ABAFF }

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
    position: relative;
    float: left;
    width: 100%;
    display: block;
    clear: both;
    background: #313131;
	z-index: 99;
}

.admin-bar .scroll-fix{
	top: 32px!important;
}

.menu-container {
        position: relative;
        max-width: 140rem;
        margin: auto;
}

.main-navigation ul {
    list-style: none;
    max-width: 140rem;
    margin: auto;
    min-height: 5rem;
    background: #313131;
    padding-left: 0;
    padding-right: 5rem;
}

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

.main-navigation a {
    display: block;
    padding: 1.8rem 1rem;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1;
    text-decoration: none;
    color: white;
}

.main-navigation ul ul {
    float: left;
    position: absolute;
    left: -999em;
    z-index: 99999;
    background: #4d4d4d;
    padding-right: 0;
}

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

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

.main-navigation ul ul a {
    min-width: 200px;
    min-width: 20rem;
    width: 100%;
}

.main-navigation ul ul li {
   width: 100%;
}

.main-navigation li:hover > a {
    color: #fff;
    background: #4d4d4d;
}

.main-navigation ul ul a:hover {
    background: #6B6B6B;
}

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a:hover,
.main-navigation .current-menu-item > a:hover {
    background: white;
    color: #313131;
}

.main-navigation .current_page_ancestor {
    background: #4d4d4d;
}

.main-navigation ul ul .current_page_parent,
.main-navigation .current_page_parent .current_page_item > a {
    color: #fff;
    background: #313131;
} 
 
/* Menu Search Form */

.mm-search-form {
        background: #242424;
        padding: 2rem;
        clear: both;
        text-align: right;
        display: none;
}
.mm-search-form-inner {
        max-width: 140rem;
        margin: auto;
}

.search-toggle {
        float: right;
        width: 50px;
        height: 50px;
        padding: 7px;
        color: #fff;
        text-align: center;
        cursor: pointer;
        z-index: 999;
        position: absolute;
        right: 0;
        top: 0;
}

.search-toggle .dashicons-search {
        font-size: 36px;
        width: 36px;
        height: 36px;
}

.search-toggle:hover,
.search-toggle.active {
        background: #242424;
}

.mm-search-form .menu-search-field {
        padding: 1.25rem 2rem;
        border-radius: 0;
        font-size: 1.6rem;
        border-top-left-radius: 10rem;
        border-bottom-left-radius: 10rem;
        width: 80%;
        box-sizing: border-box;
}

.mm-search-form .search-submit {
        margin-left: -1rem;
        height: 5.1rem;
        border-radius: 0;
        padding: 0;
        font-size: 1.6rem;
        font-weight: bold;
        color: #7C7C7C;
        vertical-align: top;
        border-top-right-radius: 10rem;
        border-bottom-right-radius: 10rem;
        width: 20%;
        box-sizing: border-box;
}
  
.mm-search-form .menu-search-field:focus,
.mm-search-form .search-submit:focus {
        outline: none;
}

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

input.search-field {
        width: 65%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */

.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;
        padding: 1.5rem 2.3rem 1.4rem;
        text-decoration: none;
        top: 5px;
        width: auto;
        z-index: 100000; /* Above WP toolbar */
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

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

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

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
        border: 1px solid #ccc;
        padding: 10px;
        padding: 1rem;
        background: #fff;
        margin: 3rem 1rem;
        word-break: break-all;
}


h1.widget-title {
        margin-bottom: 1rem;
        border-bottom: 2px solid #D0D0D0;
        color: rgb(121, 121, 121);
        font-size: 2.2rem;
}
.widget ul{
        margin-left: 1.6rem;
        list-style: none;
}

.widget ul ul{
        border-bottom: 0.1rem solid #ccc;
        list-style: none;
        margin: 0.8rem 0 0 1.8rem;
}
.widget ul ul ul{
        border-bottom: 0;
        list-style: none;
        margin: 0.8rem 0 0 1rem;
}

.widget li {
        margin-bottom: 1rem;
}

/* Make sure select elements fit in widgets */
.widget select { max-width: 100% }
/* Search widget */
.widget_search .search-submit { display: inline-block; height: 32px; height: 3.2rem; }

.footer-widgets{
        margin: 1rem auto 3rem;
        max-width: 140rem;
        overflow: hidden;
        word-break: break-all;
}

.footer-widgets .widget{
        width: 100%;
        border: 1px solid #272727;
        padding: 1rem;
        margin: 1rem 0;
        background: rgba(42, 42, 42, 0.5);
        text-align: left;
}
.footer-widgets .widget ul{
        margin-left: 1.6rem;
        list-style: none;
        border-bottom: 1px solid #343434;
}

.footer-widgets .widget .widget-title {
        color: #B8B8B8;
        border-bottom: 2px solid #343434;
}

.footer-content-divider{
        content: "";
        display: block;
        clear: both;
}


/*--------------------------------------------------------------
X.I Header
--------------------------------------------------------------*/
.header-background-image {
        background: no-repeat center;
        background-size: cover!important;
        -moz-background-size: cover!important;
        -webkit-background-size: cover!important;
}
.header-background-image .title-box {
        background: rgba(51, 51, 51, 0.50);
} 

.site-branding {
        position: relative;
        text-align: center;
        background: #2c86ba;;
        display: table;
        width: 100%;
        height: 40rem;
}

.sb-middle {
        display: table-cell;
        vertical-align: middle;
}

.site-title {
        font-weight: 700;
        font-size: 45px;
        font-size: 4.5rem;
        text-transform: uppercase;
        line-height: normal;
        padding-bottom: 1rem;
}

.site-description {
        font-weight: 100;
        font-size: 20px;
        font-size: 2rem;
}
                    
.title-box {
        width: 600px;
        width: 60rem;
        max-width: 75%;
        padding: 20px;
        padding: 2rem;
        margin: 0 auto;
        border: solid 1px #fff;
}
                    
.site-branding a { 
        text-decoration: none; 
}

.site-title a,
.site-description { 
        color: #fff;
}


/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
html,
body {
        height: 100%;
}

.site {
        position: relative;
        width: 100%;
        min-height: 100%;
}
.site-content {
        margin: 30px auto 0;
        margin: 3rem auto 0;
        max-width: 1400px;
        max-width: 140rem;
	word-wrap: break-word;
}

/* If there is no sidebar */
.no-sidebar .site-content {
        margin: 30px auto;
        margin: 3rem auto;
        max-width: 1080px;
		max-width: 108rem;
		padding: 0;
}

.no-sidebar .content-area {
        margin: auto;
        max-width: 1080px;
		max-width: 108rem;
        padding: 0;
}

.no-sidebar .archive .hentry:nth-child(2),
.no-sidebar .blog .hentry:nth-child(2),
.no-sidebar .archive .hentry,
.no-sidebar .blog .hentry {
        padding: 0 2% 2% 2%;
}
/* If there is no sidebar {end} */

.site-content:after{
        content: "";
        display: block;
}

footer#colophon {
        position: relative;
        text-align: center;
        width: 100%;
        background: url(inc/img/footer-bg.png) fixed;
        color: #fff;
        padding: 10px;
        padding: 1rem;
        margin-top: 30px;
        margin-top: 3rem;
        overflow: hidden;
}
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky .entry-header,
.sticky .entry-footer{
        background: #242424;
        color: #fff;
}

.sticky .entry-title:before {
        font-family: dashicons;
        content: "\f487";
        color: #33EAEA;
        vertical-align: bottom;
        margin-right: 1rem;
}


.hentry {
        width: 100%;
        margin: 0 auto 1.5em;
        padding: 0 0% 2%;
}

        .posted-on, .byline {
                font-size: 14px;
                color: #737373;
                FONT-STYLE: italic;
                border-top: 1px solid #C3C3C3;
                padding-top: 0.5rem;
        }

.archive .hentry:nth-child(2), .blog .hentry:nth-child(2) {
        width: 100%;
}

.featured-img img{
        margin: 0 auto;
        display: block;
}
.featured-img {
        background: #ccc;
}

.page-header{
        margin: 0 2% 1em 0%;
        padding: 10px;
        padding: 1rem;
        background: #333;
        color: #fff;
}

        .cat-links {
                padding: 1px 3px;
                padding: 0.1rem 0.3rem;
                background: #DFDFDF;
                color: #565656;
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 14px;
                font-size: 1.4rem;
                border-bottom: 1px solid #ccc;
        }
        .cat-links:before{
                font-family: dashicons;
                content: "\f318";
                margin-right: 5px;
                margin-right: 0.5rem;
                vertical-align: bottom;
        }

.entry-header,
.comment-meta {
        background: #eee;
        padding: 10px 20px;
        padding: 1rem 2rem;
        margin-bottom: 0px;
        margin-bottom: 0rem;
        overflow: hidden;
}

.entry-content, .entry-summary{
        background: #fff;
        padding: 20px;
        padding: 2rem 3rem;
}

.entry-footer {
        background: #eee;
        color: #333;
        padding: 1px 3px;
        padding: 0.1rem 0.3rem;
        font-size: 14px;
        font-size: 1.4rem;
        border-top: 1px solid #ccc;
        overflow: hidden;
}
        .entry-footer-tags, .entry-footer-comments{
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
        }
        .tags-links:before{
                font-family: dashicons;
                content: "\f323";
                margin-right: 5px;
                margin-right: 0.5rem;
                vertical-align: bottom;
        }
        .comments-link:before{
                font-family: dashicons;
                content: "\f101";
                margin-right: 5px;
                margin-right: 0.5rem;
                vertical-align: bottom;
        }
        .entry-footer-tags a, .entry-footer-comments a {
                color: #109BFF;
        }

        .post-edit-link,
        .post-edit-link:visited,
        .post-edit-link:hover {
                float: right;
                color: #28A5A5;
        }
.nav-links {
        overflow: hidden;
        margin-bottom: 2rem;
}
.nav-previous a{
        display: block;
        padding: 10px 20px;
        padding: 1rem 2rem;
        margin: 10px 0;
        margin: 1rem 0;
        background: #eee;
        text-align: left;
}

.nav-next a{
        display: block;
        padding: 10px 20px;
        padding: 1rem 2rem;
        margin: 10px 0;
        margin: 1rem 0;
        background: #eee;
        text-align: right;
}



.updated { display: none }
.entry-date, .single .byline,
.group-blog .byline { display: inline }
.page-content,
.entry-content,
.entry-summary { margin: 0 }
.page-links {
        clear: both;
        margin: 0 0 1.5em;
}
.entry-attachment {
        margin: auto;
        text-align: center;
}
.entry-attachment img { border: 1px solid #ccc }
.feat-image {
        text-align: center;
        margin-bottom: -6px;
        margin-bottom: -0.6rem;
}

/*--------------------------------------------------------------

10.1.1 Search and 404 page

--------------------------------------------------------------*/
.search .page-content,
.error-404 .page-content {
        padding: 15px 10px;
        padding: 1.5rem 1rem;
        width: 100%;
        background: #fff;
}
.error-404 .page-header{
        margin: 0 0% 1em 0%;
        padding: 30px 15px;
        padding: 3rem 1.5rem;
        font-weight: bold;
        margin-bottom: 3em;
}

.search .page-header{
        margin: 0 0% 1em 0%;
}
.search .page-content{
        margin-bottom: 48px;
        margin-bottom: 4.8rem;
}
.random-posts img {
        float: left;
        margin: 0 16px 16px 0;
        margin: 0 1.6rem 1.6rem 0;
}
.random-posts {
        background: #fff;
        padding: 5px 15px;
        padding: 0.5rem 1.5rem;
        border-bottom: 4px solid #eee;
        overflow: hidden;
}

.random-posts-excerpt {
        padding: 1rem 3rem;
        font-size: 1.4rem;
        font-style: italic;
}
/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comments-area {
        background: #fff;
        padding: 15px;
        padding: 1.5rem;
        margin-bottom: 3rem;
}
.comments-area ol { 
        list-style: none;
        margin: 0;
}
.comment-body {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        margin-bottom: 1rem;
}
.avatar {
        float: left;
        margin: 0 15px 0 0;
        margin: 0 1.5rem 0 0;
}
.comment-content {
        overflow: hidden;
        padding: 10px 20px;
        padding: 1rem 2rem;
        color: #8A5633;
}
.depth-1 {
        border-bottom: 3px solid #2693C7;
        padding-bottom: 15px;
        padding-bottom: 1.5rem;
        margin-bottom: 15px;
        margin-bottom: 1.5rem;
}
.depth-2,
.depth-3,
.depth-4,
.depth-5 { padding-left: 20px; padding-left: 2rem; }
.reply a {
        display: block;
        padding: 3px 8px;
        padding: 0.3rem 0.8rem;
        text-align: center;
        background: #F8F8F8;
}
.comment-content a { word-wrap: break-word }

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

.bypostauthor {
	display: block;
}

#comment-nav-above {
        overflow: hidden;
}

.comment-metadata {
        font-size: 12px;
}
.comment-edit-link {
        float: right;
}
.says{display: none;}

/*--------------------------------------------------------------
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
--------------------------------------------------------------*/
.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 {
	margin: 0.8075em 0;
}

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

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

.header-image img {
        display: block;
        margin: 0 auto;
}


/*--------------------------------------------------------------
13.0 Media Queries
--------------------------------------------------------------*/

@media all and (min-width: 750px){
        .footer-widgets{
                margin: 3rem auto;
                max-width: 140rem;
                overflow: hidden;
        }

        .footer-widgets .widget{
                width: 47%;
                float: left;
                margin: 1rem 1%;
        }
        .archive .hentry,
        .blog .hentry {
                width: 49.99%;
                float: left;
                padding: 0 2% 2% 0%;
        }
        
}

@media all and (min-width: 960px) {
        .site-content {
                padding: 0 1%;
        }
        .content-area {
                width: 100%;
                margin-right: -300px;
                margin-right: -30rem;
                padding-right: 320px;
                padding-right: 32rem;
                float: left;
                overflow: hidden;
        }

        .widget-area {
                float: right;
                width: 300px;
                width: 30rem;
        }
        
        .widget{
                border: 1px solid #ccc;
                padding: 10px;
                padding: 1rem;
                background: #fff;
                margin: 0 0rem 3rem 1rem;
        }

        .footer-widgets{
                margin: 3rem auto;
                max-width: 140rem;
                overflow: hidden;
        }

        .footer-widgets .widget{
                width: 30%;
                float: left;
        }

        .nav-previous a{
                float: left;
        }

        .nav-next a{
                float: right;
        }
}

@media all and (max-width: 960px) {
        .archive .hentry,
        .blog .hentry,
        .archive .hentry:nth-child(2),
        .blog .hentry:nth-child(2) {
                padding: 0 1% 2% 1%;
        }
        
}

@media screen and (max-width: 750px) {
        .search-toggle {
                position: absolute;
                top: 0;
                right: 0;
                margin-right: 0;
        }

	.menu-toggle {
                display: block;
                height: 5rem;
                padding: 0 4rem;
                font-weight: normal;
                font-size: 14px;
                font-size: 1.4rem;
                text-decoration: none;
                line-height: 3.75em;
                color: white;
                cursor: pointer;
	}
        
	.main-navigation.toggled .nav-menu {
		display: block;
		border-top: 1px solid #fff;
	}
        
        .main-navigation ul ul li:hover > ul {
                left: 0%;
        }

        .main-navigation ul {
                display: none;
                padding-left: 0;
        }
   
	.main-navigation li { 
		float: none; 
	}

	.main-navigation li a { 
		padding: 1.3em 2em; 
                border-bottom: 1px solid #575757;
	}

	.main-navigation li li a { 
		padding-left: 4em; 
	}

	.main-navigation li li li a { 
		padding-left: 6em; 
	}

	.main-navigation li:hover > a {
		background: #313131;
	}
	
	.main-navigation ul ul,
	.main-navigation ul ul ul {
		position: relative;
		top: inherit;
		left: 0;
		display: block;
		float: none;
		background: #373737;
	}
	
	.main-navigation ul ul a { width: 100%; }

	.main-navigation ul a:hover,
	.main-navigation ul ul a:hover {
		background: #4d4d4d;
	}

	.main-navigation .current_page_ancestor { background: inherit; }

	.main-navigation ul ul .current_page_parent {
		color: inherit;
		background: inherit;
	}

	.main-navigation .current_page_item > a,
	.main-navigation .current_page_item > a:hover,
	.main-navigation .current_page_item li:hover,
	.main-navigation .current_page_parent .current_page_item > a  {
		color: #fff;
		background: #4d4d4d;
	}
        
        .site-branding {
                height: 0;
        }

        .title-box {
                padding: 4rem;
                width: 100%;
                max-width: 100%;
        }
        
        .archive .hentry,
        .blog .hentry,
        .archive .hentry:nth-child(2),
        .blog .hentry:nth-child(2) {
                padding: 0 0% 2%;
        }
}