/*
Theme Name: Undiscovered
Theme URI: http://www.themeshaker.com/blog/post/undiscovered-a-free-responsive-wordpress-blog-theme
Author: Themeshaker.com
Author URI: http://www.themeshaker.com/
Description: The Undiscovered theme for WordPress is a simple and elegant blogging suite, featuring a wide range of post formats. It is fully responsive and Retina-ready, so it has the ability to adapt to any screen size or resolution. It looks great on each and every web-enabled device from large desktop computers to smartphones. Interactive customization options have been added using Wordpress Theme Customization API. Theme Customizer allows users to make changes to the theme and see the results in real-time before them being applied to the live site. There are some styling options available, including a few color settings, logo upload and 20+ custom fonts. Colored icons are all vector images, so their appearance can also be tweaked via options panel. You don't need extensions to add links to your social media profiles, because it's a built-in feature of this theme with 18 networks to choose from.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: undiscovered
Domain Path: /languages/
Tags: black, gray, white, red, pink, light, one-column, fixed-layout, fluid-layout, responsive-layout, custom-colors, custom-menu, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, photoblogging

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.

 Undiscovered is based on Underscores http://underscores.me/, (C) 2012-2013 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/
*/


/* =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/ */
}
*,
*: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: #fff;
}
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 {
	text-decoration: none;
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	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;
}
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%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc;
	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 #bbb;
	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 #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;
}
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: 98%;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

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

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
.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;
}


/* =Global
----------------------------------------------- */
body {
	color: #555555;
}

.container {
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
}

.eta1x {
	display: inline-block;
}
.eta2x {
	display: none;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	.eta1x {
		display: none;
	}
	.eta2x {
		display: inline-block;
	}
}

/* =Site / Header
----------------------------------------------- */
.site {
	background: url(img/top_line.png) repeat-x left top;
}

.site-branding {
	margin: 4.625em 0 3.250em 0;
	text-align: center;
}

.site-about {
	float: left;
	width: 100%;
	padding: 1.250em 1em;
	text-align: center;
	border-bottom: 1px dashed #999999;
	border-left: 1px dashed #999999;
	border-right: 1px dashed #999999;
	margin-bottom: 3.750em;
}
.site-description {
	font-size: 1.250em;
}

.site-title .logotype-text {
	color: #fff;
	font-size: 2.9em;
	text-shadow: 2px -2px 0 #000;
}


/* =Menu
----------------------------------------------- */
.main-navigation {
	border-top: 5px solid black;
	clear: both;
	display: block;
	float: left;
	width: 100%;
	padding-left: 1.5%;
	padding-right: 1.5%;
}
.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;
	font-size: 1em;
	color: #ffffff;
	padding: 0.375em 1.563em 0.375em 1.563em;
	text-transform: uppercase;
}
.main-navigation ul ul {
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 2.25em;
	z-index: 99999;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 8em;
	text-shadow: none;
	background: #ffffff;
	color: #000;
}
.main-navigation ul ul li {
}
.main-navigation ul > li:hover, .main-navigation ul > li:hover a {
	text-shadow: none;
	background: #ffffff;
	color: #000;
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
	background: #ffffff;

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

/* =Search
----------------------------------------------- */
.site-header .search-form {
	position: relative;
	float: right;
	padding: 0 0.125em;
}
.site-header .search-form:before {
	display: block;
	background: url(img/search_icon.png) no-repeat 0 0;
	position: absolute;
	top: 0.625em;
	left: 0.625em;
	width: 1em;
	height: 1em;
	z-index: 20;
	content: " ";
}
.site-header .search-form .search-field {
	position: relative;
	z-index: 30;
	width: 1.5em;
	padding: 0.375em 0.188em 0.375em 1.875em;
	margin: 0.188em 0.063em 0 0;
	line-height: 1;
	color: #fff;
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;

	-webkit-box-shadow: none;
	box-shadow: none;

	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;

	-webkit-transition-duration: 400ms;
	-webkit-transition-property: width, background;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 400ms;
	-moz-transition-property: width, background;
	-moz-transition-timing-function: ease;
	-o-transition-duration: 400ms;
	-o-transition-property: width, background;
	-o-transition-timing-function: ease;
}
.site-header .search-form .search-field:focus {
	z-index: 10;
	color: #fff;
	width: 10em;
	cursor: text;
	border: 1px dashed #fff;
}
.site-header .search-form .search-field::-webkit-input-placeholder {
	color: #fff;
}
.site-header .search-form .search-field:-moz-placeholder {
	color: #fff;
}
.site-header .search-form .search-field::-moz-placeholder {
	color: #fff;
}
.site-header .search-form .search-field:-ms-input-placeholder {
	color: #fff;
}
.site-header .search-form .search-submit {
	display: none;
}


/* =Content
----------------------------------------------- */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-header {
	text-align: center;
}
.post-icon {
	margin-bottom: 0.250em;
}
.entry-date {
	font-size: 0.875em;
	text-transform: uppercase;
	color: #999999;
}
.entry-title a {
	color: #2a2a2a !important;
	font-size: 1.750em;
	text-decoration: none;
}
.entry-content p {
	font-size: 1.250em;
	color: #555555;
	text-align: justify;
}
.entry-content blockquote {
	border: 1px dashed #000000;
	padding: 1.625em 1.625em 1.425em 1.625em;
	quotes: "\201C""\201D""\2018""\2019";
	position: relative;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 1.5em;
}
.entry-content blockquote:before {
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
	margin-top: -0.2em;
	position: absolute;
}
.entry-content blockquote p {
	margin: 0;
}

.entry-content h1 {
	color: #2A2A2A;
	font-size: 1.750em;
	text-decoration: none;
}
.entry-content h2 {
	color: #2A2A2A;
	font-size: 1.650em;
	text-decoration: none;
}
.entry-content h3 {
	color: #2A2A2A;
	font-size: 1.550em;
	text-decoration: none;
}
.entry-content h4 {
	color: #2A2A2A;
	font-size: 1.450em;
	text-decoration: none;
}
.entry-content h5 {
	color: #2A2A2A;
	font-size: 1.350em;
	text-decoration: none;
}
.entry-content h6 {
	color: #2A2A2A;
	font-size: 1.250em;
	text-decoration: none;
}

.format-link .entry-content p:first-child {
	border: 1px dashed #000000;
	padding: 1.625em 1.625em 1.425em 1.625em;
	quotes: "\201C""\201D""\2018""\2019";
	position: relative;
	margin-bottom: 1.5em;
}

.cat-links img {
	vertical-align: -2px;
	margin-right: 5px;
}
.tags-links img {
	vertical-align: -4px;
	margin-right: 3px;
	margin-left: 15px;
}


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


/* =Comments
----------------------------------------------- */
.comment-respond {
	width: 100%;
	max-width: 38.750em;
	margin: 0 auto;
	padding-top: 5.5em;
}

#comments {
	border-top: 1px dashed #999999;
}
.comments-title {
	text-align: center;
	font-size: 1.750em;
	color: #000;
	border-bottom: 1px dashed #999999;
	padding: 1.071em 0 1.071em 0;
	margin-bottom: 2.071em;
}
.comment-reply-title {
	font-size: 1.750em;
	text-align: center;
	margin-bottom: 1.375em;
}

.comment-form .comment-notes {
	color: #999999;
	font-size: 1.125em;
	text-align: center;
	margin-bottom: 2.5em;
}
.comment-respond .required {
	color: #be3243;
}

.comment-form {}
.comment-form label {
	display: block;
	font-size: 1.250em;
	color: #000;
	margin-bottom: 0.313em;
}
.comment-form input, .comment-form textarea {
	border-color: #999999;
	width: 100%;
	max-width: 100%;
	padding: 0.3em 0.5em;
}
.form-allowed-tags {
	display: none;
}
.comment-form p {
	margin-bottom: 1em;
}
.comment-form .form-submit {
	text-align: center;
}
.comment-form .form-submit input {
	border: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	box-shadow: none;
	text-align: center;
	border-radius: 0;
	background: red;
	color: #ffffff;
	font-size: 0.875em;
	text-transform: uppercase;
	border-top: 0.313em solid #000000;
	padding: 0.85em 1.8em;
	width: auto;
	max-width: auto;
	margin-top: 2.188em;
}


/* Comments  list */
.comment-list {
	margin: 0;
	border-bottom: 1px dashed #999999;
}
.comment-list li {
	list-style-type: none;
}
.comment-list .children {
	margin-left: 4.688em;
}


.comment {}
.bypostauthor {
}
.comment .comment-body {
	position: relative;
}
.comment .comment-right {
	float: left;
	margin-bottom: 3.125em;
	width: 80%;
	max-width: 38.750em;
}
.comment .avatar {
	float: left;
	margin-right: 3.125em;
}
.comment .comment-meta a {
	font-size: 0.875em;
	color: #999999;
	text-transform: uppercase;
}
.comment .comment-meta .comment-author {
	display: inline-block;
	font-size: 1.250em;
	line-height: 1;
	color: #000;
	margin-right: 1.875em;
}
.comment .comment-meta .comment-metadata {
	display: inline-block;
}
.comment .reply .comment-reply-link {
	background: url(img/reply_arrow.png) no-repeat left top;
	display: block;
	width: 15px;
	height: 9px;
	position: absolute;
	top: 0;
	right: 1.5em;
	line-height: 1;
	text-indent: -100%;
}
.comment .comment-content {
	margin-top: 0.813em;
	color: #555555;
	font-size: 1.125em;
	text-align: justify;
}
.comment .comment-content a {
	word-wrap: break-word;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.3075em 0;
	text-align: center;
	font-style: italic;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 100%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}

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

/* Gallery shortcode */
.entry-content img {
	max-width: 100%;
}
.bx-wrapper {
	margin-bottom: 1.5em !important;
}
.gallery {
	clear: both;
	overflow: hidden;
	margin: 0 auto;
}
.gallery br {
	display:none;
}
.gallery .gallery-item {
	overflow: hidden;
	float: left;
	margin: 0;
	text-align: center;
	list-style: none;
}
.gallery-caption {
	font-size: 11px;
}
 
/*
	Image sizes depending on the number of columns
	Based on Hybrid theme
*/
.gallery-columns-0 .gallery-item {
	width: 100%;
}
.gallery-columns-1 .gallery-item {
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-3 .gallery-item {
	width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery-columns-5 .gallery-item {
	width: 20%;
}
.gallery-columns-6 .gallery-item {
	width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	width: 11.11%;
}
.gallery-columns-10 .gallery-item {
	width: 10%;
}
.gallery-columns-11 .gallery-item {
	width: 9.09%;
}
.gallery-columns-12 .gallery-item {
	width: 8.33%;
}
.gallery-columns-13 .gallery-item {
	width: 7.69%;
}
.gallery-columns-14 .gallery-item {
	width: 7.14%;
}
.gallery-columns-15 .gallery-item {
	width: 6.66%;
}
.gallery-columns-16 .gallery-item {
	width: 6.25%;
}
.gallery-columns-17 .gallery-item {
	width: 5.88%;
}
.gallery-columns-18 .gallery-item {
	width: 5.55%;
}
.gallery-columns-19 .gallery-item {
	width: 5.26%;
}
.gallery-columns-20 .gallery-item {
	width: 5%;
}
.gallery-columns-21 .gallery-item {
	width: 4.76%;
}
.gallery-columns-22 .gallery-item {
	width: 4.54%;
}
.gallery-columns-23 .gallery-item {
	width: 4.34%;
}
.gallery-columns-24 .gallery-item {
	width: 4.16%;
}
.gallery-columns-25 .gallery-item {
	width: 4%;
}
.gallery-columns-26 .gallery-item {
	width: 3.84%;
}
.gallery-columns-27 .gallery-item {
	width: 3.7%;
}
.gallery-columns-28 .gallery-item {
	width: 3.57%;
}
.gallery-columns-29 .gallery-item {
	width: 3.44%;
}
.gallery-columns-30 .gallery-item {
	width: 3.33%;
}


/* =Navigation
----------------------------------------------- */

.site-main [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
.paging-navigation {
	margin-top: 3em;
	font-size: 1em;
}

#main #infinite-handle {
	text-align: center;
	margin-top: 5em;
	margin-bottom: 0.7em;
}
#main #infinite-handle span {
	text-align: center;
	border-radius: 0;
	background: red;
	color: #ffffff;
	font-size: 0.875em;
	text-transform: uppercase;
	border-top: 0.313em solid #000000;
	padding: 0.85em 1.8em;
}
.infinite-loader {
	padding: 2.5em 1.8em;
	margin-bottom: 2.25em;
}

.infinite-loader {
	text-align: center;
}
.infinite-loader .spinner {
	display: inline;
}


/* =Not found / No search results
----------------------------------------------- */
.not-found {
	text-align: center;
}
.not-found .entry-title {
	color: #2A2A2A !important;
	font-size: 1.750em;
	text-decoration: none;
}

/* =Widgets
----------------------------------------------- */

.widget-area {
	border-top: 1px dashed #999999;
	padding-top: 3.438em;
	width: 100%;
	max-width: 38.750em;
	margin: 6.250em auto 3.75em auto;
}
.sidebar-left {
	float: left;
	width: 100%;
	max-width: 19.375em;
	padding-right: 3.750em;
	border-right: 1px dashed #999999;
}
.sidebar-right {
	float: left;
	width: 100%;
	max-width: 19.375em;
	padding-left: 3.750em;
}

.widget {
	margin: 0 0 2.5em 0;
}
.widget ul {
	margin-left: 2em;
}
.widget select {
	max-width: 100%;
}
.widget-title {
	font-size: 1.375em;
	margin-bottom: 0.5em;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}
.widget .search-field {
	width: 90%;
	max-width: 90%;
}

/* Calendar widget */
.widget_calendar caption {
	font-size: 1.1em;
	margin-bottom: 0.4em;
}



/* =Footer
----------------------------------------------- */
.site-footer {
	text-align: center;
	margin-bottom: 4.500em;
}
.site-info {
	color: #999999;
	font-size: 0.875em;
	line-height: 1.9;
	text-transform: uppercase;
}

.social-icons {
	margin-bottom: 2.500em;
}
.social-icons .social-icon {
	display: inline-block;
	width: 2.125em;
	height: 2.125em;
	margin: 0 0.5em;
}


/* =Back to top link
----------------------------------------------- */
#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 2em;
	right: 2em;
	overflow: hidden;
	width: 2.563em;
	height: 2.563em;
	border: none;
	text-indent: 100%;
	background: url(img/back_to_top.svg) no-repeat left top;
	background-size: 2.563em 2.563em;
}

#toTop:active, #toTop:focus {
	outline:none;
}


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


/* =Responsive things
----------------------------------------------- */
@media all and (max-width: 782px) {
	.site-branding {
		margin: 3.625em 0 2.25em 0;
	}

	.site-about {
		margin-bottom: 1.50em;
	}

	.container {
		padding: 1em;
	}

	.slicknav_menu {
		display: block;
	}
	.main-navigation {
		display: none;
	}

	.site-about {
		border-top: 1px dashed #999999;
	}

	.logged-out .site-branding {
		margin-top: 5.825em;
	}

	html { margin-top: 44px !important; }
	* html body { margin-top: 44px !important; }


	.comment .comment-meta .comment-metadata {
		display: block;
	}
	.comment .comment-right {
		float: right;
		margin-bottom: 1em;
		width: 83%;
	}
	.comment .avatar {
		margin-right: 0;
		width: 12%;
	}

	.widget-area {
		text-align: center;
		margin: 4.250em auto 2.15em auto;
	}
	.sidebar-left {
		display: inline-block;
		text-align: left;
		border: 0;
		padding: 0;
		float: none;
	}
	.sidebar-right {
		display: inline-block;
		text-align: left;
		padding: 0;
		float: none;
	}
	.widget {
		margin: 0 0 1.5em 0;
	}

	.site-footer {
		margin-bottom: 3.5em;
	}

	#toTop {
		bottom: 1em;
		right: 1em;
	}
}

/* retina images */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	#toTop {
		background: url(img/back_to_top@2x.png) no-repeat left top;
		background-size: 2.563em 2.563em;
	}

	.comment .reply .comment-reply-link {
		background: url(img/reply_arrow@2x.png) no-repeat left top;
		background-size: 15px 9px;
	}

	.site {
		background: url(img/top_line@2x.png) repeat-x left top;
		background-size: 2px 9px;
	}
}
