/*
Theme Name: Frequency
Theme URI: http://frequency.tkdemos.com
Author: Themes Kingdom
Author URI: http://www.themeskingdom.com
Description: frequency blog theme
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: frequency
Tags: blog, portfolio, photography, news, translation-ready, theme-options, sticky-post, post-formats, footer-widgets, featured-images, custom-menu, custom-colors, custom-background, custom-logo, rtl-language-support, threaded-comments, left-sidebar, two-columns, three-columns, four-columns, grid-layout

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.

frequency is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Helpers
	## mCustomScrollbar
# Elements
# Layout
# Transitions
# Forms
# Header
# Footer
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Archive
	## Posts and pages
	## Posts
	## Pages
	## Search
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
	## Jetpack overwrites
		### Jetpack widgets
# IE specific
# Responsive
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 400;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

button:focus {
	outline: none;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

html,
body {
	font-family: "Helvetica Neue", Helvetica, 'Roboto', Arial, sans-serif;
}

.jp-carousel-titleanddesc-title {
	font-family: "Helvetica Neue", Helvetica, 'Roboto', Arial, sans-serif !important; /*sans-serif*/
}

body .jp-carousel-wrap,
.jp-carousel-wrap .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit,
.jp-carousel-wrap #jp-carousel-comment-form-button-submit,
.jp-carousel-wrap textarea#jp-carousel-comment-form-comment-field,
#sharing_email .sharing_send,
.sd-content ul li .option a.share-ustom,
.sd-content ul li a.sd-button,
.sd-content ul li.advanced a.share-more,
.sd-content ul li.preview-item div.option.option-smart-off a,
.sd-social-icon .sd-content ul li a.sd-button,
.sd-social-icon-text .sd-content ul li a.sd-button,
.sd-social-official .sd-content>ul>li .digg_button>a,
.sd-social-official .sd-content>ul>li>a.sd-button,
.sd-social-text .sd-content ul li a.sd-button {
	font-family: "Helvetica Neue", Helvetica, 'Roboto', Arial, sans-serif;
}

body,
.site-description,
body .jp-carousel-wrap,
.jp-carousel-wrap .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit,
.jp-carousel-wrap #jp-carousel-comment-form-button-submit,
.jp-carousel-wrap textarea#jp-carousel-comment-form-comment-field,
#sharing_email .sharing_send,
.sd-content ul li .option a.share-ustom,
.sd-content ul li a.sd-button,
.sd-content ul li.advanced a.share-more,
.sd-content ul li.preview-item div.option.option-smart-off a,
.sd-social-icon .sd-content ul li a.sd-button,
.sd-social-icon-text .sd-content ul li a.sd-button,
.sd-social-official .sd-content>ul>li .digg_button>a,
.sd-social-official .sd-content>ul>li>a.sd-button,
.sd-social-text .sd-content ul li a.sd-button,
.jp-carousel-titleanddesc-title,
h1,
h1>a,
h2,
h2>a,
h3,
h3>a,
h4,
h4>a,
h5,
h5>a,
h6,
h6>a,
.site-title,
.site-title a,
#site-navigation a,
.site-info,
.post-nav-title {
	font-style: normal;
}

@font-face {
  font-family: 'icomoon';
  src:  url('inc/icomoon/icomoon.eot?xbqgf9');
  src:  url('inc/icomoon/icomoon.eot?xbqgf9#iefix') format('embedded-opentype'),
	url('inc/icomoon/icomoon.ttf?xbqgf9') format('truetype'),
	url('inc/icomoon/icomoon.woff?xbqgf9') format('woff'),
	url('inc/icomoon/icomoon.svg?xbqgf9#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"],
.posts-navigation .nav-previous a:before,
.posts-navigation .nav-next a:after,
.post-navigation .nav-previous a:after,
.post-navigation .nav-previous a:before,
.post-navigation .nav-next a:before,
.post-navigation .nav-next a:after,
.entry-content .contact-submit:after,
label.checkbox:before,
input[type="checkbox"] + label:before,
label.radio:before,
input[type="radio"] + label:before,
body #infinite-handle span:before,
.related-holder .jp-relatedposts-post:after {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-search:before {
  content: "\e903";
}
.icon-dot:before {
  content: "\e902";
}
.icon-left:before,
.posts-navigation .nav-next a:after,
.post-navigation .nav-previous a:after,
.post-navigation .nav-previous a:before {
  content: "\e900";
}
.icon-right:before,
.posts-navigation .nav-previous a:before,
.post-navigation .nav-next a:before,
.post-navigation .nav-next a:after,
.entry-content .contact-submit:after,
body #infinite-handle span:before,
.related-holder .jp-relatedposts-post:after {
  content: "\e901";
}


/*end icons*/

body,
button,
input,
select,
textarea {
	line-height: 1.625;
}

/*font-sizes*/

html,
body {
	font-size: 16px;
}

.featured-image,
.entry-gallery,
.jp-relatedposts-items,
#TB_prev a,
#TB_next a {
	font-size: 0;
}

.entry-meta,
.entry-footer {
	font-size: 10px;
	font-size: 0.625rem;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-date,
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-context,
.sd-social-text .sd-content ul li a.sd-button .share-count,
.comment .reply {
	font-size: 11px;
	font-size: 0.6875rem;
}

.site-description,
.results-number,
.widget_recent_entries .post-date,
.rss-date,
div#eu-cookie-law,
.logged-in-as,
.comment-notes,
#eu-cookie-law input[type="submit"],
#eu-cookie-law input[type="submit"]:hover,
#eu-cookie-law input[type="submit"]:focus {
	font-size: 12px;
	font-size: 0.75rem;
}

blockquote cite,
blockquote + cite,
blockquote + p cite,
q cite,
q + cite,
q + p cite,
.format-quote blockquote cite,
.format-quote blockquote + cite,
.format-quote blockquote + p cite,
.format-quote q cite,
.format-quote q + cite,
.format-quote q + p cite,
.listing .format-link .entry-content *:last-child,
.search-results .page-header p,
.no-results .page-header p,
.error404 .page-header p,
.site-info {
	font-size: 13px;
	font-size: 0.8125rem;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
.twocolumn p.half-width,
.entry-content,
.author-info p,
.single .author-info p,
.comment-author,
.comment-metadata,
.widget .jetpack-display-remote-posts p,
.widget input[type="text"],
.widget input[type="email"],
.widget input[type="tel"],
.widget input[type="password"],
.widget input[type="url"],
.widget input[type="search"],
.widget textarea,
.widget select,
.moretag,
.author-name,
.entry-author .author-title,
.author-info p,
.widget,
.widget p,
.widget table,
body .slideshow-window div.slideshow-controls a:nth-of-type(2),
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt,
body div.sharedaddy h3.sd-title,
.jetpack-social-navigation {
	font-size: 14px;
	font-size: 0.875rem;
}

.comment-content,
.comment-content > p,
.comment-content table,
.pingback .comment-body,
.trackback .comment-body,
.wp-caption-text,
.wp-caption-dd,
.sharedaddy .sd-social-icon .sd-content ul li a.sd-button,
.sharedaddy .sd-social-text .sd-content ul li a.sd-button,
.sharedaddy .sd-content ul li a.sd-button,
.sharedaddy .sd-content ul li .option a.share-ustom,
.sharedaddy .sd-content ul li.preview-item div.option.option-smart-off a,
.sharedaddy .sd-content ul li.advanced a.share-more,
.sharedaddy .sd-social-icon-text .sd-content ul li a.sd-button,
.sharedaddy .sd-social-official .sd-content > ul > li > a.sd-button,
.sharedaddy #sharing_email .sharing_send,
.sharedaddy .sd-social-official .sd-content > ul > li .digg_button > a,
body .jetpack-social-navigation a:before {
	font-size: 15px;
	font-size: 0.9375rem;
}

.widget-title,
.search-results .entry-title,
.widget .jetpack-display-remote-posts h4 {
	font-size: 16px;
	font-size: 1rem;
}

table,
.entry-content,
.twocolumn p.half-width {
	font-size: 17px;
	font-size: 1.0625rem;
}

h6,
.entry-content,
.site-title,
.post-navigation,
.icon-search,
.icon-sidebar,
.listing .format-quote .entry-content:before,
.contact-form-submission p,
.blog .hentry .featured-content + .entry-header .entry-title,
.archive .hentry .featured-content + .entry-header .entry-title,
.page-template-portfolio-page .hentry .featured-content + .entry-header .entry-title,
.posts-navigation {
	font-size: 18px;
	font-size: 1.125rem;
}

.bypostauthor > .comment-body .comment-author b:after,
.comment-reply-title {
	font-size: 20px;
	font-size: 1.25rem;
}

h5,
.comments-title,
.comment-reply-title,
blockquote,
blockquote p,
q,
.entry-content blockquote,
.entry-content blockquote p,
.entry-content q,
.format-video .featured-image a:after,
body #jp-relatedposts h3.jp-relatedposts-headline,
body #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-title {
	font-size: 24px;
	font-size: 1.5rem;
}

.emphasis,
.error404 .entry-content {
	font-size: 28px;
	font-size: 1.75rem;
}

h4,
.page-search-again .search-form input[type="search"],
.page-name .page-title sup,
.format-quote blockquote,
.format-quote blockquote p,
.single .format-quote blockquote,
.single .format-quote blockquote p,
.widget-area .slideshow-controls a:first-of-type,
.widget-area .slideshow-controls a:last-of-type,
.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 30px;
	font-size: 1.875rem;
}

h3,
.page .contact-form,
.page .contact-form label span:after,
.page .contact-form input[type="text"],
.page .contact-form input[type="email"],
.page .contact-form input[type="url"],
.page .contact-form input[type="submit"],
.page .contact-form button[type="submit"],
.page .contact-form .contact-submit,
body #infinite-handle span:before,
.posts-navigation .nav-previous a:before {
	font-size: 36px;
	font-size: 2.25rem;
}

h2,
.blog .hentry .entry-title,
.archive .hentry .entry-title,
.page-template-portfolio-page .hentry .entry-title {
	font-size: 40px;
	font-size: 2.5rem;
}

.slideshow-controls a:first-of-type,
.slideshow-controls a:last-of-type,
.jp-carousel-next-button span:before,
.jp-carousel-previous-button span:before,
#TB_prev a:before,
#TB_next a:before {
	font-size: 42px;
	font-size: 2.625rem;
}

h1,
.page:not(.page-template-portfolio-page) article .entry-header {
	font-size: 48px;
	font-size: 3rem;
}

#primary-menu,
.page .emphasis,
body #infinite-handle span button,
body #infinite-handle span button:hover,
body #infinite-handle span button:focus,
.posts-navigation .nav-previous {
	font-size: 70px;
}

.page:not(.page-template-portfolio-page) article .entry-title,
.page-title,
.error404 .entry-title {
	font-size: 60px;
	font-weight: 300;
}

.primary-menu-wrapper ul ul {
	font-size: 20px;
}

.dropcap:before {
	font-size: 5em;
}

@media screen and (max-width: 1190px) {
	#primary-menu,
	.page:not(.page-template-portfolio-page) article .entry-title,
	.page-title,
	.error404 .entry-title {
		font-size: 48px;
	}

	.page-name .page-title sup {
		font-size: 24px;
	}

	.page .contact-form,
	.page .contact-form label span:after,
	.page .contact-form input[type="text"],
	.page .contact-form input[type="email"],
	.page .contact-form input[type="url"],
	.page .contact-form input[type="submit"],
	.page .contact-form button[type="submit"],
	.page .contact-form .contact-submit {
		font-size: 20px;
	}

	.blog .hentry .entry-title,
	.archive .hentry .entry-title,
	.page-template-portfolio-page .hentry .entry-title,
	body #infinite-handle span:before,
	.posts-navigation .nav-previous a:before {
		font-size: 28px;
	}

	.page .emphasis,
	body #infinite-handle span button,
	body #infinite-handle span button:hover,
	body #infinite-handle span button:focus,
	.posts-navigation .nav-previous {
		font-size: 40px;
	}
}

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

	.site-info {
		font-size: 10px;
	}

	.page-name .page-title sup,
	.bypostauthor > .comment-body .comment-author b:after,
	.blog .hentry .entry-title,
	.archive .hentry .entry-title,
	.page-template-portfolio-page .hentry .entry-title,
	.posts-navigation,
	.comment-reply-title {
		font-size: 16px;
	}

	.emphasis {
		font-size: 20px;
		font-size: 1.75rem;
	}

	body #infinite-handle span:before,
	.posts-navigation .nav-previous a:before {
		font-size: 22px;
	}

	h4,
	.page-search-again .search-form input[type="search"],
	.format-quote blockquote,
	.format-quote blockquote p,
	.single .format-quote blockquote,
	.single .format-quote blockquote p,
	.widget-area .slideshow-controls a:first-of-type,
	.widget-area .slideshow-controls a:last-of-type,
	.blog .hentry .entry-title,
	.archive .hentry .entry-title,
	.page-template-portfolio-page .hentry .entry-title {
		font-size: 24px;
		font-size: 1.875rem;
	}

	h3 {
		font-size: 28px;
		font-size: 2.25rem;
	}

	h2 {
		font-size: 30px;
		font-size: 2.5rem;
	}

	h1,
	.page:not(.page-template-portfolio-page) article .entry-header,
	#primary-menu,
	.page:not(.page-template-portfolio-page) article .entry-title,
	.error404 .entry-title,
	.page-title,
	.page .emphasis,
	body #infinite-handle span button,
	body #infinite-handle span button:hover,
	body #infinite-handle span button:focus,
	.posts-navigation .nav-previous {
		font-size: 32px;
	}

}

/* weght */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}

.single .entry-title {
	font-weight: 300;
}

.entry-content {
	font-weight: 300;
	letter-spacing: 0.01em;
}

/*colors*/

body {
	color: black;
}

a {
	color: black;
}

#secondary a {
	color: white;
}

#secondary a:hover {
	opacity: .7;
}

/* end colors */

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

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

.dropcap {
	display: inline-block;
	position: relative;
	vertical-align: bottom;
}

.dropcap:before {
	content: attr(data-dropcap);
	line-height: 0.8em;
	opacity: .1;
	text-transform: uppercase;
	font-weight: 400;
	position: absolute;
	left: 0;
	bottom: -90%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
}

::-moz-selection { /* Gecko Browsers */
	background: black;
	color: white;
}
::selection {  /* WebKit/Blink Browsers */
	background: black;
	color: white;
}

#secondary ::-moz-selection { /* Gecko Browsers */
	background: white;
	color: black;
}
#secondary ::selection {  /* WebKit/Blink Browsers */
	background: white;
	color: black;
}

/*--------------------------------------------------------------
# Helpers
--------------------------------------------------------------*/

/* VERTICALIZE */
/*  <div class="verticalize-container">
		<div class="verticalize">
			Content that needs to be vertically and horizontally centered
		</div>
	</div>
*/

/*VERTICALIZE CONTAINER*/
.verticalize-container {
	text-align: center;
}

.verticalize-container:before {
	content: "";
	display: inline-block;
	height: 100%;
	margin-right: -0.25em; /* Adjusts for spacing */
	vertical-align: middle;
}

/*VERTICALIZE BOX*/
.verticalize {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
}

/* ==========================================================================
   Scalable Elements - dedicate padding bottom to .scalable-wrapper in percents (%), which will be the height of scalable element. Precentage will keep aspect ratio with width.
   width(100%) : padding-bottom(50%) = 2:1;
   ========================================================================== */

.scalable-wrapper {
	height: 0;
	padding-top: 57.25%;
	position: relative;
}

.scalable-element {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/*--------------------------------------------------------------
## mCustomScrollbar
--------------------------------------------------------------*/

/*
CONTENTS:
	1. BASIC STYLE - Plugin's basic/essential CSS properties (normally, should not be edited).
	2. VERTICAL SCROLLBAR - Positioning and dimensions of vertical scrollbar.
	3. HORIZONTAL SCROLLBAR - Positioning and dimensions of horizontal scrollbar.
	4. VERTICAL AND HORIZONTAL SCROLLBARS - Positioning and dimensions of 2-axis scrollbars.
	5. TRANSITIONS - CSS3 transitions for hover events, auto-expanded and auto-hidden scrollbars.
	6. SCROLLBAR COLORS, OPACITY AND BACKGROUNDS
		6.1 THEMES - Scrollbar colors, opacity, dimensions, backgrounds etc. via ready-to-use themes.
*/



/*
------------------------------------------------------------------------------------------------------------------------
1. BASIC STYLE
------------------------------------------------------------------------------------------------------------------------
*/

	.mCustomScrollbar{ -ms-touch-action: pinch-zoom; touch-action: pinch-zoom; /* direct pointer events to js */ }
	.mCustomScrollbar.mCS_no_scrollbar, .mCustomScrollbar.mCS_touch_action{ -ms-touch-action: auto; touch-action: auto; }

	.mCustomScrollBox{ /* contains plugin's markup */
		position: relative;
		overflow: hidden;
		height: 100%;
		max-width: 100%;
		outline: none;
		direction: ltr;
	}

	.primary-menu-wrapper .mCustomScrollBox {
		width: 100%;
	}

	.mCSB_container{ /* contains the original content */
		overflow: hidden;
		width: auto;
		height: auto;
	}

	body > div > .mCSB_container {
		overflow: visible;
	}

/*
------------------------------------------------------------------------------------------------------------------------
2. VERTICAL SCROLLBAR
y-axis
------------------------------------------------------------------------------------------------------------------------
*/

	.mCSB_inside > .mCSB_container{ margin-right: 30px; }

	.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{ margin-right: 0; } /* non-visible scrollbar */

	.mCS-dir-rtl > .mCSB_inside > .mCSB_container{ /* RTL direction/left-side scrollbar */
		margin-right: 0;
		margin-left: 30px;
	}

	.mCS-dir-rtl > .mCSB_inside > .mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{ margin-left: 0; } /* RTL direction/left-side scrollbar */

	.mCSB_scrollTools{ /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
		position: absolute;
		width: 16px;
		height: auto;
		left: auto;
		top: 0;
		right: 0;
		bottom: 0;
	}

	.mCSB_outside + .mCSB_scrollTools{ right: -26px; } /* scrollbar position: outside */
	#secondary .mCSB_outside + .mCSB_scrollTools{
		right: 0;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.mCS-dir-rtl > .mCSB_inside > .mCSB_scrollTools,
	.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools{ /* RTL direction/left-side scrollbar */
		right: auto;
		left: 0;
	}

	.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools{ left: -26px; } /* RTL direction/left-side scrollbar (scrollbar position: outside) */

	.mCSB_scrollTools .mCSB_draggerContainer{ /* contains the draggable element and dragger rail markup */
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		height: auto;
	}

	.mCSB_scrollTools a + .mCSB_draggerContainer{ margin: 20px 0; }

	.mCSB_scrollTools .mCSB_draggerRail{
		width: 1px;
		height: 100%;
		margin: 0 auto;
		-webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px;
	}

	.mCSB_scrollTools .mCSB_dragger{ /* the draggable element */
		cursor: pointer;
		width: 100%;
		height: 30px; /* minimum dragger height */
		z-index: 1;
	}

	.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ /* the dragger element */
		position: relative;
		width: 3px;
		height: 100%;
		margin: 0 auto;
		-webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0;
		text-align: center;
	}

	.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,
	.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{ width: 12px; /* auto-expanded scrollbar */ }

	.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail,
	.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{ width: 8px; /* auto-expanded scrollbar */ }

	.mCSB_scrollTools .mCSB_buttonUp,
	.mCSB_scrollTools .mCSB_buttonDown{
		display: block;
		position: absolute;
		height: 20px;
		width: 100%;
		overflow: hidden;
		margin: 0 auto;
		cursor: pointer;
	}

	.mCSB_scrollTools .mCSB_buttonDown{ bottom: 0; }



/*
------------------------------------------------------------------------------------------------------------------------
3. HORIZONTAL SCROLLBAR
x-axis
------------------------------------------------------------------------------------------------------------------------
*/

	.mCSB_horizontal.mCSB_inside > .mCSB_container{
		margin-right: 0;
		margin-bottom: 15px;
	}

	.mCSB_horizontal.mCSB_outside > .mCSB_container{ min-height: 100%; }

	.mCSB_horizontal > .mCSB_container.mCS_no_scrollbar_x.mCS_x_hidden{ margin-bottom: 0; } /* non-visible scrollbar */

	.mCSB_scrollTools.mCSB_scrollTools_horizontal{
		width: auto;
		height: 16px;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		margin-left: 6px;
		margin-right: 6px;
	}

	.mCSB_scrollTools_vertical {
		margin-top: 6px;
		margin-bottom: 6px;
	}

	.mCustomScrollBox + .mCSB_scrollTools.mCSB_scrollTools_horizontal,
	.mCustomScrollBox + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal{ bottom: -40px; } /* scrollbar position: outside */

	.mCSB_scrollTools.mCSB_scrollTools_horizontal a + .mCSB_draggerContainer{ margin: 0 20px; }

	.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail{
		width: 100%;
		height: 2px;
		margin: 7px 0;
	}

	.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger{
		width: 30px; /* minimum dragger width */
		height: 100%;
		left: 0;
	}

	.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{
		width: 100%;
		height: 4px;
		margin: 6px auto;
		border-radius: 3px;
		-webkit-transition: .2s;
		-moz-transition: .2s;
		-ms-transition: .2s;
		-o-transition: .2s;
		transition: .2s;
	}

	.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar,
	.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{
		height: 12px; /* auto-expanded scrollbar */
		margin: 2px auto;
	}

	.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail,
	.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{
		height: 8px; /* auto-expanded scrollbar */
		margin: 4px 0;
	}

	.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft,
	.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{
		display: block;
		position: absolute;
		width: 20px;
		height: 100%;
		overflow: hidden;
		margin: 0 auto;
		cursor: pointer;
	}

	.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft{ left: 0; }

	.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{ right: 0; }



/*
------------------------------------------------------------------------------------------------------------------------
4. VERTICAL AND HORIZONTAL SCROLLBARS
yx-axis
------------------------------------------------------------------------------------------------------------------------
*/

	.mCSB_container_wrapper{
		position: absolute;
		height: auto;
		width: auto;
		overflow: hidden;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin-right: 30px;
		margin-bottom: 30px;
	}

	.mCSB_container_wrapper > .mCSB_container{
		padding-right: 30px;
		padding-bottom: 30px;
		-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
	}

	.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_vertical{ bottom: 20px; }

	.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_horizontal{ right: 20px; }

	/* non-visible horizontal scrollbar */
	.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden + .mCSB_scrollTools.mCSB_scrollTools_vertical{ bottom: 0; }

	/* non-visible vertical scrollbar/RTL direction/left-side scrollbar */
	.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden + .mCSB_scrollTools ~ .mCSB_scrollTools.mCSB_scrollTools_horizontal,
	.mCS-dir-rtl > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_scrollTools.mCSB_scrollTools_horizontal{ right: 0; }

	/* RTL direction/left-side scrollbar */
	.mCS-dir-rtl > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_scrollTools.mCSB_scrollTools_horizontal{ left: 20px; }

	/* non-visible scrollbar/RTL direction/left-side scrollbar */
	.mCS-dir-rtl > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden + .mCSB_scrollTools ~ .mCSB_scrollTools.mCSB_scrollTools_horizontal{ left: 0; }

	.mCS-dir-rtl > .mCSB_inside > .mCSB_container_wrapper{ /* RTL direction/left-side scrollbar */
		margin-right: 0;
		margin-left: 30px;
	}

	.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden > .mCSB_container{ padding-right: 0; }

	.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden > .mCSB_container{ padding-bottom: 0; }

	.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden{
		margin-right: 0; /* non-visible scrollbar */
		margin-left: 0;
	}

	/* non-visible horizontal scrollbar */
	.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden{ margin-bottom: 0; }



/*
------------------------------------------------------------------------------------------------------------------------
5. TRANSITIONS
------------------------------------------------------------------------------------------------------------------------
*/

	.mCSB_scrollTools,
	.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
	.mCSB_scrollTools .mCSB_buttonUp,
	.mCSB_scrollTools .mCSB_buttonDown,
	.mCSB_scrollTools .mCSB_buttonLeft,
	.mCSB_scrollTools .mCSB_buttonRight{
		-webkit-transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
		-moz-transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
		-o-transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
		transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
	}

	.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar, /* auto-expanded scrollbar */
	.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail,
	.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar,
	.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail{
		-webkit-transition: width .2s ease-out .2s, height .2s ease-out .2s,
					margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
					margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
					opacity .2s ease-in-out, background-color .2s ease-in-out;
		-moz-transition: width .2s ease-out .2s, height .2s ease-out .2s,
					margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
					margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
					opacity .2s ease-in-out, background-color .2s ease-in-out;
		-o-transition: width .2s ease-out .2s, height .2s ease-out .2s,
					margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
					margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
					opacity .2s ease-in-out, background-color .2s ease-in-out;
		transition: width .2s ease-out .2s, height .2s ease-out .2s,
					margin-left .2s ease-out .2s, margin-right .2s ease-out .2s,
					margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s,
					opacity .2s ease-in-out, background-color .2s ease-in-out;
	}



/*
------------------------------------------------------------------------------------------------------------------------
6. SCROLLBAR COLORS, OPACITY AND BACKGROUNDS
------------------------------------------------------------------------------------------------------------------------
*/

	/*
	----------------------------------------
	6.1 THEMES
	----------------------------------------
	*/

	/* default theme ("light") */

	.mCSB_scrollTools{ opacity: 0.75; filter: "alpha(opacity=75)"; -ms-filter: "alpha(opacity=75)"; }

	.mCS-autoHide > .mCustomScrollBox > .mCSB_scrollTools,
	.mCS-autoHide > .mCustomScrollBox ~ .mCSB_scrollTools{ opacity: 0; filter: "alpha(opacity=0)"; -ms-filter: "alpha(opacity=0)"; }

	#page > div > .mCSB_scrollTools {
		opacity: 0;
		visibility: hidden;
	}

	#page > .mCSB_horizontal.mCSB_inside > .mCSB_container {
		margin-bottom: 0;
	}

	.mCustomScrollbar > .mCustomScrollBox > .mCSB_scrollTools.mCSB_scrollTools_onDrag .mCSB_draggerContainer,
	.mCustomScrollbar > .mCustomScrollBox ~ .mCSB_scrollTools.mCSB_scrollTools_onDrag .mCSB_draggerContainer {
		opacity: 1;
		-webkit-transition: .2s ease-in-out;
		-moz-transition: .2s ease-in-out;
		-ms-transition: .2s ease-in-out;
		-o-transition: .2s ease-in-out;
		transition: .2s ease-in-out;
	}

	.mCustomScrollbar > .mCustomScrollBox > .mCSB_scrollTools.mCSB_scrollTools_onDrag,
	.mCustomScrollbar > .mCustomScrollBox ~ .mCSB_scrollTools.mCSB_scrollTools_onDrag,
	.mCustomScrollBox:hover > .mCSB_scrollTools,
	.mCustomScrollBox:hover ~ .mCSB_scrollTools,
	.mCustomScrollBox > .mCSB_scrollTools:hover,
	.mCustomScrollBox ~ .mCSB_scrollTools:hover,
	.mCS-autoHide:hover > .mCustomScrollBox > .mCSB_scrollTools,
	.mCS-autoHide:hover > .mCustomScrollBox ~ .mCSB_scrollTools { opacity: 1; filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)"; }

	.mCSB_scrollTools .mCSB_draggerRail{
		background-color: white; background-color: rgba(255,255,255,0.2);
		filter: "alpha(opacity=20)"; -ms-filter: "alpha(opacity=20)";
	}

	.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
		background-color: white; background-color: rgba(255,255,255,0.8);
		filter: "alpha(opacity=80)"; -ms-filter: "alpha(opacity=80)";
	}

	.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
	.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
	.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
		background-color: white; background-color: rgba(255,255,255,1);
		filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)";
	}

	.mCS-dark.mCSB_scrollTools .mCSB_draggerRail{
		background-color: #000; background-color: rgba(0,0,0,0.2);
		filter: "alpha(opacity=20)"; -ms-filter: "alpha(opacity=20)";
	}

	.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
		background-color: #000; background-color: rgba(0,0,0,0.8);
		filter: "alpha(opacity=80)"; -ms-filter: "alpha(opacity=80)";
	}

	.mCS-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
	.mCS-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
	.mCS-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
		background-color: #000; background-color: rgba(0,0,0,1);
		filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)";
	}

	.mCSB_scrollTools .mCSB_buttonUp,
	.mCSB_scrollTools .mCSB_buttonDown,
	.mCSB_scrollTools .mCSB_buttonLeft,
	.mCSB_scrollTools .mCSB_buttonRight{
		background-image: url(mCSB_buttons.png); /* css sprites */
		background-repeat: no-repeat;
		opacity: 0.4; filter: "alpha(opacity=40)"; -ms-filter: "alpha(opacity=40)";
	}

	.mCSB_scrollTools .mCSB_buttonUp{
		background-position: 0 0;
		/*
		sprites locations
		light: 0 0, -16px 0, -32px 0, -48px 0, 0 -72px, -16px -72px, -32px -72px
		dark: -80px 0, -96px 0, -112px 0, -128px 0, -80px -72px, -96px -72px, -112px -72px
		*/
	}

	.mCSB_scrollTools .mCSB_buttonDown{
		background-position: 0 -20px;
		/*
		sprites locations
		light: 0 -20px, -16px -20px, -32px -20px, -48px -20px, 0 -92px, -16px -92px, -32px -92px
		dark: -80px -20px, -96px -20px, -112px -20px, -128px -20px, -80px -92px, -96px -92px, -112 -92px
		*/
	}

	.mCSB_scrollTools .mCSB_buttonLeft{
		background-position: 0 -40px;
		/*
		sprites locations
		light: 0 -40px, -20px -40px, -40px -40px, -60px -40px, 0 -112px, -20px -112px, -40px -112px
		dark: -80px -40px, -100px -40px, -120px -40px, -140px -40px, -80px -112px, -100px -112px, -120px -112px
		*/
	}

	.mCSB_scrollTools .mCSB_buttonRight{
		background-position: 0 -56px;
		/*
		sprites locations
		light: 0 -56px, -20px -56px, -40px -56px, -60px -56px, 0 -128px, -20px -128px, -40px -128px
		dark: -80px -56px, -100px -56px, -120px -56px, -140px -56px, -80px -128px, -100px -128px, -120px -128px
		*/
	}

	.mCSB_scrollTools .mCSB_buttonUp:hover,
	.mCSB_scrollTools .mCSB_buttonDown:hover,
	.mCSB_scrollTools .mCSB_buttonLeft:hover,
	.mCSB_scrollTools .mCSB_buttonRight:hover{ opacity: 0.75; filter: "alpha(opacity=75)"; -ms-filter: "alpha(opacity=75)"; }

	.mCSB_scrollTools .mCSB_buttonUp:active,
	.mCSB_scrollTools .mCSB_buttonDown:active,
	.mCSB_scrollTools .mCSB_buttonLeft:active,
	.mCSB_scrollTools .mCSB_buttonRight:active{ opacity: 0.9; filter: "alpha(opacity=90)"; -ms-filter: "alpha(opacity=90)"; }


	/* theme: "minimal", "minimal-dark" */

	.mCSB_outside + .mCS-minimal.mCSB_scrollTools_vertical{
		right: 0;
		margin: 10px 0;
	}

	.mCustomScrollBox.mCS-minimal + .mCSB_scrollTools.mCSB_scrollTools_horizontal,
	.mCustomScrollBox.mCS-minimal + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal{
		bottom: 0;
		margin: 0 12px;
	}

	/* RTL direction/left-side scrollbar */
	.mCS-dir-rtl > .mCSB_outside + .mCS-minimal.mCSB_scrollTools_vertical{
		left: 0;
		right: auto;
	}

	.mCS-minimal.mCSB_scrollTools .mCSB_draggerRail,
	.mCS-minimal-dark.mCSB_scrollTools .mCSB_draggerRail{ background-color: transparent; }

	.mCS-minimal.mCSB_scrollTools_vertical .mCSB_dragger,
	.mCS-minimal-dark.mCSB_scrollTools_vertical .mCSB_dragger{ height: 50px; }

	.mCS-minimal.mCSB_scrollTools_horizontal .mCSB_dragger,
	.mCS-minimal-dark.mCSB_scrollTools_horizontal .mCSB_dragger{ width: 50px; }

	.mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
		background-color: #fff; background-color: rgba(255,255,255,0.2);
		filter: "alpha(opacity=20)"; -ms-filter: "alpha(opacity=20)";
	}

	.mCS-minimal.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
	.mCS-minimal.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
		background-color: #fff; background-color: rgba(255,255,255,0.5);
		filter: "alpha(opacity=50)"; -ms-filter: "alpha(opacity=50)";
	}


	/* theme: "minimal-dark" */

	.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
		background-color: black; background-color: rgba(0,0,0,0.2);
		filter: "alpha(opacity=20)"; -ms-filter: "alpha(opacity=20)";
	}

	.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
	.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
		background-color: black; background-color: rgba(0,0,0,0.5);
		filter: "alpha(opacity=50)"; -ms-filter: "alpha(opacity=50)";
	}



/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
	box-sizing: border-box;
}

*,
*: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 {
	/*
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-font-smoothing: grayscale;
	*/
	background: white;
}

body * {
	word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 50px 0 30px;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	line-height: 1.2;
}


h5,
h6 {
	line-height: 1.3;
}

.content-area .entry-content h1,
.content-area .entry-content h2,
.content-area .entry-content h3,
.content-area .entry-content h4,
.content-area .entry-content h5,
.content-area .entry-content h6 {
	margin-top: 4.4rem;
	margin-bottom: 3rem;
}

.content-area .entry-content h1:first-child,
.content-area .entry-content h2:first-child,
.content-area .entry-content h3:first-child,
.content-area .entry-content h4:first-child,
.content-area .entry-content h5:first-child,
.content-area .entry-content h6:first-child {
	margin-top: 0;
}

p {
	letter-spacing: 0.03em;
	line-height: 1.8em;
	margin: 0 0 22px;
}

.emphasis {
	line-height: 1.28em;
	letter-spacing: 0.01em;

	margin-top: 3.2rem;
	margin-bottom: 3.2rem;
}

.page .emphasis {
	letter-spacing: 0.005em;
	line-height: 1.1;
}

.emphasis:first-child {
	margin-top: 0;
}

.entry-content {
	margin-bottom: 1.5rem;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

blockquote {
	border: none;
	line-height: 1.6em;
	margin: 3rem 0;
}

blockquote:first-child {
	margin-top: 0;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

blockquote,
q {
	font-weight: 400;
	line-height: 1.5em;
	letter-spacing: .01em;
	font-style: normal;
	margin: 3rem 0 4rem 0;
}

blockquote p,
q p {
	line-height: 1.5em;
}


@media screen and (min-width: 601px) {
	blockquote + cite,
	blockquote + p cite,
	q + cite,
	q + p cite,
	blockquote,
	q {
		margin-left: 2rem;
	}
}

blockquote + cite,
blockquote + p cite,
q + cite,
q + p cite {
	margin-top: -1.5rem;
}

blockquote p:last-child {
	margin-bottom: 0;
}

cite,
blockquote cite,
blockquote + cite,
blockquote + p cite,
q cite,
q + cite,
q + p cite {
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 1;
	opacity: .6;
}

blockquote cite,
blockquote + cite,
blockquote + p cite,
q cite,
q + cite,
q + p cite {
	display: block;
}

blockquote + cite,
blockquote + p cite,
q + cite,
q + p cite {
	margin-bottom: 4rem;
}

blockquote.pull-left,
q.pull-left,
blockquote.pull-right,
q.pull-right {
	max-width: 500px;
	padding-bottom: 10px;
	position: relative;
}

blockquote.pull-left,
q.pull-left {
	float: left;
	margin: 0 1em 0 -80px;
}

blockquote.pull-right,
q.pull-right {
	float: right;
	margin: 0 -80px 0 1em;
}

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

code {
	background-color: #f4f4f4;
	font-size: 90%;
	padding: 2px 5px;
}

big {
	font-size: 125%;
}

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


address {
	font-style: normal;
	line-height: 1.5em;
	margin: 0 0 1.5em;
}

pre {
	background-color: #f4f4f4;
	font-size: 14px;
	border: none;
	display: block;
	font-family: "Courier 10 Pitch", Courier, monospace;
	line-height: 1.4;
	margin: 0 0 22px;
	max-width: 100%;
	overflow: auto;
	padding: 15px;
	text-align: left;
	word-break: break-all;
	word-wrap: break-word;
}

abbr,
acronym {
	border-bottom: 1px dashed #666;
	text-decoration: none;
	cursor: help;
}

mark,
ins {
	background: #f4f4f4;
	text-decoration: none;
	padding: 2px 5px;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	padding-left: 2px;
	padding-right: 2px;
	position: relative;
	vertical-align: baseline;
}

sup {
	vertical-align: super;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

hr,
.wp-block-separator {
	background-color: #000;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 1.5em;
}

.wp-block-separator {
	margin-top: 4vw;
	margin-bottom: 4vw;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100px;
}

figure {
	margin: 0;
}

ul,
ol {
	margin: 0 0 1.5em;
	padding-left: 0;
}

ul {
	list-style-type: circle;
}

ol {
	list-style: decimal;
}

.entry-content .wp-block-archives,
.entry-content .wp-block-categories,
.entry-content .wp-block-latest-posts {
	list-style: none;
	padding: 0;
}

li {
	list-style-position: inside;
	margin: 6px 0;
}

.entry-content li {
	margin: 10px 0;
}

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

dt {
	font-weight: 400;
	margin-bottom: 10px;
}

dd {
	line-height: 1.5em;
	margin: 0 1.5em 1.5em;
}

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

img:focus {
	outline: none;
}

img[src*="pixel.wp.com"] {
	display: none;
}

.featured-image img {
	display: block;
}

.single .featured-image img {
	margin-left: auto;
	margin-right: auto;
}

/*
@media screen and (min-width: 1191px) {
	body:not(.search) #post-load .featured-image.vertical-img img {
		width: auto;
		height: 100%;
		max-width: none;
	}

	body:not(.search) #post-load .featured-image.vertical-img img {
		max-height: 60vh;
		max-height: calc(100vh - 140px - 250px);
	}
}
*/

.gmnoprint img {
	max-width: inherit;
}

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

.comment-content table,
.entry-content table {
	border: 1px solid black;
}

.comment-content thead tr,
.entry-content thead tr {
	border-bottom: 1px solid black;
}

.comment-content tfoot tr,
.entry-content tfoot tr {
	border-top: 1px solid black;
}

.comment-content th,
.entry-content th,
.comment-content td,
.entry-content td {
	border-right: 1px solid black;
	padding: 10px 18px;
	text-align: left;
}

th {
	font-weight: 400;
}

td {
	font-weight: 300;
}

.emphasis {
	font-weight: 400;
}

.page .emphasis {
	font-weight: 300;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

/*Bootstrap Grid System*/


.container-small,
.container-medium,
.container-large {
	margin-left: auto;
	margin-right: auto;
}

.container-small {
	max-width: 600px;
}
.container-medium {
	max-width: 900px;
}
.container-large {
	max-width: 900px;
}

.container-aside {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 2;
}

@media screen and (min-width: 601px) {
	.container-aside {
		left: 60px;
		bottom: 50px;
	}
}

.container-push-left {
	position: absolute;
	left: 60px;
	top: 0;
}

.row {
	clear: both;
	margin-left: -10px;
	margin-right: -10px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-sm-tk-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	position: relative;
	min-height: 1px;
	padding-left: 10px;
	padding-right: 10px;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
	float: left;
}
.col-xs-12 {
	width: 100%;
}
.col-xs-11 {
	width: 91.66666667%;
}
.col-xs-10 {
	width: 83.33333333%;
}
.col-xs-9 {
	width: 75%;
}
.col-xs-8 {
	width: 66.66666667%;
}
.col-xs-7 {
	width: 58.33333333%;
}
.col-xs-6 {
	width: 50%;
}
.col-xs-5 {
	width: 41.66666667%;
}
.col-xs-4 {
	width: 33.33333333%;
}
.col-xs-3 {
	width: 25%;
}
.col-xs-2 {
	width: 16.66666667%;
}
.col-xs-1 {
	width: 8.33333333%;
}

@media (min-width: 900px) {
	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
		float: left;
	}
	.col-sm-12 {
		width: 100%;
	}
	.col-sm-11 {
		width: 91.66666667%;
	}
	.col-sm-10 {
		width: 83.33333333%;
	}
	.col-sm-9 {
		width: 75%;
	}
	.col-sm-8 {
		width: 66.66666667%;
	}
	.col-sm-7 {
		width: 58.33333333%;
	}
	.col-sm-6 {
		width: 50%;
	}
	.col-sm-5 {
		width: 41.66666667%;
	}
	.col-sm-4 {
		width: 33.33333333%;
	}
	.col-sm-3 {
		width: 25%;
	}
	.col-sm-2 {
		width: 16.66666667%;
	}
	.col-sm-1 {
		width: 8.33333333%;
	}
}

@media (min-width: 1190px) {

	.container-large {
		max-width: 60vw;
	}

	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
		float: left;
	}
	.col-md-12 {
		width: 100%;
	}
	.col-md-11 {
		width: 91.66666667%;
	}
	.col-md-10 {
		width: 83.33333333%;
	}
	.col-md-9 {
		width: 75%;
	}
	.col-md-8 {
		width: 66.66666667%;
	}
	.col-md-7 {
		width: 58.33333333%;
	}
	.col-md-6 {
		width: 50%;
	}
	.col-md-5 {
		width: 41.66666667%;
	}
	.col-md-4 {
		width: 33.33333333%;
	}
	.col-md-3 {
		width: 25%;
	}
	.col-md-2 {
		width: 16.66666667%;
	}
	.col-md-1 {
		width: 8.33333333%;
	}
}

@media (min-width: 1500px) {

	.container-large {
		max-width: 1100px;
	}

	.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
		float: left;
	}
	.col-lg-12 {
		width: 100%;
	}
	.col-lg-11 {
		width: 91.66666667%;
	}
	.col-lg-10 {
		width: 83.33333333%;
	}
	.col-lg-9 {
		width: 75%;
	}
	.col-lg-8 {
		width: 66.66666667%;
	}
	.col-lg-7 {
		width: 58.33333333%;
	}
	.col-lg-6 {
		width: 50%;
	}
	.col-lg-5 {
		width: 41.66666667%;
	}
	.col-lg-4 {
		width: 33.33333333%;
	}
	.col-lg-3 {
		width: 25%;
	}
	.col-lg-2 {
		width: 16.66666667%;
	}
	.col-lg-1 {
		width: 8.33333333%;
	}
}


/*end bootstrap grid*/

.twocolumn .half-width {
	display: inline-block;
	font-size: initial;
	vertical-align: top;
	width: 50%;
}

.twocolumn .half-width:nth-child(even) {
	padding-left: 20px;
}

.twocolumn .half-width:nth-child(odd) {
	padding-right: 20px;
}

/* main margins and padding */

.site-header {
	padding-top: 50px;
	padding-left: 60px;
	padding-right: 60px;
	width: 100%;
}

.site-content {
	padding: 60px;
}

#sidebar-toggle {
	right: 60px;
	bottom: 50px;
}

#sidebar-toggle .icon-search {
	position: relative;
	top: 0;
	left: 0;
}

@media screen and (max-width: 1500px) {
	.site-content {
		padding: 20px 40px;
	}
	.site-header {
		padding: 30px 40px 0;
	}
	#sidebar-toggle {
	    right: 40px;
	}
}

@media screen and (max-width: 1190px) {
	.site-header {
		padding-top: 30px;
	}
}

@media screen and (max-width: 600px) {
	.site-header {
		padding-left: 20px;
		padding-right: 20px;
	}

	.site-content {
		padding-left: 20px;
		padding-right: 20px;
	}

	#sidebar-toggle {
		position: fixed;
		right: 20px;
		bottom: 30px;
	}
}


/*--------------------------------------------------------------
# Transitions
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="url"],
input[type="search"],
textarea,
select,
.radio.checked:before,
input[type="radio"]:checked + label:before,
.menu-toggle span:before,
.menu-toggle span:after,
.listing .grid-wrapper > .hentry,
.main-navigation .nav-menu,
.main-navigation ul ul,
.search-wrap,
.close-sidebar:before,
.close-sidebar:after,
.edit-link,
.widget,
.widget .search-form input[type="submit"],
.widget_blog_subscription form input[type="submit"],
.widget_blog_subscription input[type="submit"],
.sd-social-icon a:before,
body .tb-close-icon,
.slick-arrow:before,
.jp-relatedposts-post .jp-relatedposts-post-a,
.entry-header a,
.jp-carousel-next-button span:before,
.jp-carousel-previous-button span:before,
#TB_prev a:before,
#TB_next a:before,
#post-load article .meta-arrow {
	-webkit-transition: .3s;
	-moz-transition: .3s;
	-ms-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
}

a {
	-webkit-transition: color .3s, border .3s, opacity .3s;
	-moz-transition: color .3s, border .3s, opacity .3s;
	-ms-transition: color .3s, border .3s, opacity .3s;
	-o-transition: color .3s, border .3s, opacity .3s;
	transition: color .3s, border .3s, opacity .3s;
}

.nav-links a,
.site-branding a,
.jetpack-social-navigation,
.masonry {
	-webkit-transition: opacity .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	-moz-transition: opacity .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	-ms-transition: opacity .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	-o-transition: opacity .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	transition: opacity .5s cubic-bezier(0.28, 0.12, 0.22, 1);
}

.site-header,
.site-content,
.sidebar-trigger,
.meta-line {
	-webkit-transition: .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	-moz-transition: .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	-ms-transition: .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	-o-transition: .5s cubic-bezier(0.28, 0.12, 0.22, 1);
	transition: .5s cubic-bezier(0.28, 0.12, 0.22, 1);
}

body #infinite-handle span {
	-webkit-transition: background .3s;
	-moz-transition: background .3s;
	-ms-transition: background .3s;
	-o-transition: background .3s;
	transition: background .3s;
}

button.menu-toggle,
body #infinite-handle span:before,
.related-holder .jp-relatedposts-post:after,
.posts-navigation .nav-previous a:before,
.posts-navigation .nav-next a:after,
.entry-content .contact-submit:after {
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}

.primary-menu-wrapper,
#primary-menu,
.main-navigation a:after {
	-webkit-transition: .2s ease-in;
	-moz-transition: .2s ease-in;
	-ms-transition: .2s ease-in;
	-o-transition: .2s ease-in;
	transition: .2s ease-in;
}

.entry-header .entry-meta a {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

:-webkit-autofill,
:-webkit-autofill:hover,
:-webkit-autofill:focus
:-webkit-autofill {
	transition: background-color 5000s linear 5000s, color 5000s linear 5000s !important;
	-webkit-text-fill-color: black !important;
}

#secondary :-webkit-autofill,
#secondary :-webkit-autofill:hover,
#secondary :-webkit-autofill:focus
#secondary :-webkit-autofill {
	-webkit-text-fill-color: white !important;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
body .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit,
body #jp-carousel-comment-form-button-submit,
#eu-cookie-law input[type="submit"] {
	background: transparent;
	border-radius: 20px;
	border: 1px solid rgba(0,0,0,.2);
	box-shadow: none;
	height: 40px;
	font-weight: 400;
	letter-spacing: 0.5px;
	line-height: initial;
	padding-left: 3em;
	padding-right: 3em;
	text-shadow: none;
}

#eu-cookie-law input[type="submit"] {
	padding-left: 2em;
	padding-right: 2em;
	color: black;
}

#eu-cookie-law.negative input[type="submit"] {
	background: transparent;
	border-color: rgba(255,255,255,.4);
	color: #fff;
}
body #eu-cookie-law.negative input:focus,
body #eu-cookie-law.negative input:hover {
	background: white;
	border-color: white;
	color: black;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
body .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit:focus,
body #jp-carousel-comment-form-button-submit:focus,
#eu-cookie-law input[type="submit"]:focus {
	background: #000;
	color: white;
}

#eu-cookie-law input[type="submit"]:hover,
#eu-cookie-law input[type="submit"]:focus {
	border-radius: 20px;
	display: inline-block;
	font-weight: 400;
	padding-left: 2em;
	padding-right: 2em;
}

button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
body .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit:active,
body #jp-carousel-comment-form-button-submit:active,
#eu-cookie-law input[type="submit"]:active {
	-webkit-transform: scale(0.99);
	-ms-transform: scale(0.99);
	-o-transform: scale(0.99);
	transform: scale(0.99);
}

.post-password-form label {
	display: inline-block;
}

.post-password-form label,
.post-password-form input[type="submit"] {
	margin-top: 20px;
	vertical-align: top;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	height: 40px;
}

input[type="search"] {
	-webkit-appearance: none; /*remove rounded corners in iOs*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	background-color: transparent;
	border: 0;
	border-bottom: 1px solid rgba(0,0,0,.2);
	border-radius: 0;
	letter-spacing: 0.5px;
	padding-left: 0;
	padding-right: 0;
}

.page-search-again .search-form input[type="search"]:hover,
.page-search-again .search-form input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
	border-color: #000;
	outline: none;
}

textarea {
	-webkit-box-shadow: none;
	box-shadow: none;
	line-height: 1.8em;
	min-height: 200px;
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-top: 18px;
	padding-bottom: 18px;
	resize: vertical;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background: url(inc/img/drop-arrow.png) no-repeat right 10px center;
	-webkit-background-size: 8px auto;
	background-size: 8px auto;
	cursor: pointer;
	min-height: 40px; /*no fixed height so select can span with text*/
	padding: 10px 50px 9px 22px;
	white-space: normal;
	-webkit-transition: border .3s;
	-moz-transition: border .3s;
	-ms-transition: border .3s;
	-o-transition: border .3s;
	transition: border .3s;
}

label {
	display: block;
	margin-bottom: 5px;
}

.post-password-form label {
	margin-right: 10px;
}

.post-password-form label,
.post-password-form input[type=submit] {
	display: inline-block;
	vertical-align: top;
}

.search-form,
.widget_blog_subscription form {
	position: relative;
}

.search-form:before {
	opacity: .3;
	position: absolute;
	bottom: 0;
	right: 0;
}

.search-form input[type="search"] {
	padding-right: 50px;
	width: 100%;
}

.widget_blog_subscription input[type="text"] {
	width: 100% !important;
	padding: 0 50px 0 0 !important;
}

.search-form {
	position: relative;
}

.search-form input[type="submit"] {
	background-color: transparent;
	border: 0;
	font-size: 0;
	height: 100%;
	width: 50px;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	cursor: pointer;
}

.search-form .search-submit {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	padding: 0;
	height: 100%;
	border:none;
	background: transparent;
	text-align: left;
	opacity: .4;
	cursor: pointer;
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	-ms-transition: .2s linear;
	-o-transition: .2s linear;
	transition: .2s linear;
}

.search-form .search-field:focus ~ .search-submit,
.search-form .search-field:active ~ .search-submit {
	opacity: 1;
}

.big-search .search-submit {
	font-size: 2.2em;
	width: 120px;
}

.widget_blog_subscription form > p:nth-of-type(3) input[type="submit"] {
	border-color: transparent;
	border-left: none;
	background-color: transparent;
	padding-left: 0;
	padding-right: 0;
}

.widget_blog_subscription input[type="submit"]:focus {
	opacity: .7;
}

/*Contact Form*/

.contact-form {
	margin-left: 0;
	margin-right: 0;
	margin-top: 60px;
}

.single .contact-form {
	margin-bottom: 2rem;
}

body:not(.page) .contact-form > div:not(:last-of-type) {
	margin-bottom: .3em;
}

body .contact-form label {
	font-weight: 300;
	padding-right: 0.5em;
	margin-bottom: 0.5em;
}

body .contact-form div > * {
	display: inline-block;
}

body .contact-form label span {
	font-size: 0;
}

body .contact-form label span:after {
	content: '*';
	opacity: .5;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"] {
	line-height: 1;
}

div .contact-form label.checkbox,
div .contact-form label.radio {
	float: left;
	margin-top: 20px;
	margin-bottom: 0;
}

.contact-form .contact-submit,
.comment-form .form-submit {
	clear: both;
}

.entry-content .contact-submit {
	margin-top: 0;
	position: relative;
	display: inline-block;
	line-height: 1;
	overflow: hidden;
}

.entry-content .contact-submit:after {
	font-size: 68%;
	position: absolute;
	z-index: -1;
	right: .1em;
	top: 24%;
}

body .contact-form input[type="submit"],
body .contact-form button[type="submit"] {
	height: auto;
	border-radius: 0;
	background: transparent;
	color: black;
	padding: 0;
	border: none;
	padding-right: 3.5em;
}

form.contact-form input[type=text],
.comment-form input[type=text],
form.contact-form input[type=email],
.comment-form input[type=email],
form.contact-form input[type=date],
form.contact-form select,
form.contact-form textarea,
.comment-form input[type=url] {
	width: auto;
	max-width: 100%;
	min-width: 12em;
	height: auto;
	min-height: initial;
	padding: 0;
	margin-bottom: 0;
	margin-top: 0;
	line-height: 1.2;
}

form.contact-form input[type=text],
form.contact-form input[type=email],
form.contact-form input[type=date],
form.contact-form select,
form.contact-form textarea {
	margin-bottom: 1.1em;
}

form.contact-form input[type=text],
.comment-form input[type=text],
form.contact-form input[type=email],
.comment-form input[type=email],
.comment-form input[type=url],
form.contact-form textarea,
.comment-form textarea,
.contact-form div.half-width input {
	border-width: 0 0 1px 0;
	padding-left: 0;
	padding-right: 0;
}

form.contact-form input[type=text],
.comment-form input[type=text],
form.contact-form input[type=email],
.comment-form input[type=email],
.comment-form input[type=url],
form.contact-form textarea,
.comment-form textarea {
	margin-top: 0;
}

.contact-form input[type=date]::-webkit-inner-spin-button,
.contact-form input[type=date]::-webkit-calendar-picker-indicator {
	-webkit-appearance: none;
	display: none;
}

.comment-form textarea {
	height: 1.7em;
	line-height: 1.2em;
	min-height: inherit;
	overflow: auto;
	padding-top: .1em;
	padding-bottom: .1em;
}

.contact-submit {
	margin-top: 23px;
}

.contact-submit:last-child {
	margin-bottom: 0;
}

.entry-content .contact-submit {
	margin-bottom: 0;
}

.grunion-field-label + * {
	margin-top: 14px;
}

body .contact-form textarea {
	height: 1.4em;
	min-height: 1.4em;
	line-height: 1.2;
	width: 100%;
	max-width: 900px;
	display: block;
	padding: 0;
	margin-top: -.5em;
}

body .contact-form-submission {
	font-size: initial;
	margin-top: 3rem;
	padding: 0;
}

/*checkbox and radio*/

input[type="checkbox"],
input[type="radio"],
.woocommerce form .form-row .input-checkbox {
	display: none;
}

label.checkbox,
input[type="checkbox"] + label,
#respond input[type="checkbox"] + label,
form.contact-form label.checkbox,
form.contact-form input[type="checkbox"] + label,
label.radio,
input[type="radio"] + label,
form.contact-form label.radio,
form.contact-form input[type="radio"] + label {
	cursor: pointer;
	padding-left: 40px;
	position: relative;
	font-weight: 400;
	line-height: 1;
	display: inline-block;
	margin-bottom: 16px;
	font-size: 14px;
}

.comment-subscription-form input[type="checkbox"] + label,
.comment-form-cookies-consent input[type="checkbox"] + label {
	margin-bottom: 0;
	display: inline-block !important; /*overwriting Jetpack*/
	font-weight: 300;
	line-height: 1.8em;
	margin-left: 0;
}

label.checkbox:before,
input[type="checkbox"] + label:before,
label.radio:before,
input[type="radio"] + label:before {
	border: 1px solid #000;
	color: black;
	font-size: 11px;
	height: 12px;
	border-radius: 7px;
	opacity: .5;
	text-align: left;
	width: 28px;
	position: absolute;
	left: 0;
	top: 1px;
}

label.checkbox:before,
input[type="checkbox"] + label:before {
	-webkit-transition: background-color .3s, opacity .3s;
	-moz-transition: background-color .3s, opacity .3s;
	-ms-transition: background-color .3s, opacity .3s;
	-o-transition: background-color .3s, opacity .3s;
	transition: background-color .3s, opacity .3s;
}

label.checkbox:before,
input[type="checkbox"] + label:before,
label.radio:before,
input[type="radio"] + label:before {
	content: "\e902";
}

.checkbox.checked:before,
input[type="checkbox"]:checked + label:before {
	background: #000;
	color: #fff;
	text-align: right;
}

.radio.checked:before,
input[type="radio"]:checked + label:before {
	border-width: 6px;
}

/*comment form*/

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="tel"],
.comment-form input[type="url"],
.comment-form input[type="password"],
.comment-form input[type="search"],
.comment-form textarea {
	background-color: transparent;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="tel"]:focus,
.comment-form input[type="url"]:focus,
.comment-form input[type="password"]:focus,
.comment-form input[type="search"]:focus,
.comment-form textarea:focus {
	border-color: #000;
}

.comment-form-comment ~ [class*="comment-form"] input {
	width: 100%;
}

.comment-form-url,
.comment-form input[type="submit"],
.contact-form input[type="submit"],
.contact-form button[type="submit"] {
	clear: left;
}

.comment-form input[type="submit"] {
	margin-top: 36px;
}

.comment-form input[type="submit"] {
	margin-bottom: 36px;
}

p.comment-subscription-form,
p.comment-form-cookies-consent {
	margin-bottom: 10px;
}

/*remove  clearfield button*/

::-ms-clear {
	width : 0;
	height: 0;
}

::-ms-reveal {
	width : 0;
	height: 0;
}

body .jp-carousel-close-hint span,
body #TB_closeWindowButton {
	margin-top: 50px;
	top: 0;
}

/*Widget Forms*/

#secondary button,
#secondary input[type="button"],
#secondary input[type="reset"],
#secondary input[type="submit"],
body #secondary .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit,
body #secondary #jp-carousel-comment-form-button-submit {
	border-color: rgba(255,255,255,0.2);
	color: white;
}

.widget input[type="text"],
.widget input[type="email"],
.widget input[type="tel"],
.widget input[type="password"],
.widget input[type="url"],
.widget input[type="search"],
.widget select {
	border-width: 0 0 1px 0;
	color: #fff;
	padding-left: 0;
}

.widget form,
.widget input[type="text"],
.widget input[type="email"],
.widget input[type="tel"],
.widget input[type="password"],
.widget input[type="url"],
.widget input[type="search"],
.widget select {
	max-width: 100%;
	width: 300px;
}

.widget input[type="text"],
.widget input[type="email"],
.widget input[type="tel"],
.widget input[type="password"],
.widget input[type="url"],
.widget input[type="search"],
.widget select,
.widget textarea {
	border-color: rgba(255,255,255,.2);
	font-weight: 700;
	height: 50px;
	letter-spacing: 0.6px;
}

.widget input[type="text"]:focus,
.widget input[type="email"]:focus,
.widget input[type="tel"]:focus,
.widget input[type="password"]:focus,
.widget input[type="url"]:focus,
.widget input[type="search"]:focus,
.widget select:focus,
.widget textarea:focus {
	border-color: white;
}

.widget input::-webkit-input-placeholder,
.big-search input::-webkit-input-placeholder {
	color: white;
	font-weight: 300;
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	-ms-transition: .2s linear;
	-o-transition: .2s linear;
	transition: .2s linear;
}

.widget input:-moz-placeholder,
.big-search input:-moz-placeholder {
	color: white;
	font-weight: 300;
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	-ms-transition: .2s linear;
	-o-transition: .2s linear;
	transition: .2s linear;
}

.widget input::-moz-placeholder,
.big-search input::-moz-placeholder {
	color: white;
	font-weight: 300;
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	-ms-transition: .2s linear;
	-o-transition: .2s linear;
	transition: .2s linear;
}


.big-search input:focus::-webkit-input-placeholder {
	opacity: .2;
}
.big-search input:focus:-moz-placeholder {
	opacity: .2;
}
.big-search input:focus::-moz-placeholder {
	opacity: .2;
}

div#eu-cookie-law {
	padding: 14px 28px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	z-index: 3;
}

.site-branding {
	float: left;
	max-width: 80%;
}
.main-navigation {
	float: right;
	max-width: 20%;
	margin-top: -7px;
}

.custom-logo-link {
	font-size: 0;
	line-height: 0;
	margin-right: 10px;
	-webkit-transform: translateY(calc(-50% + 0.9rem));
	-moz-transform: translateY(calc(-50% + 0.9rem));
	-ms-transform: translateY(-30%);
	-o-transform: translateY(calc(-50% + 0.9rem));
	transform: translateY(calc(-50% + 0.9rem));
}

.custom-logo-link img {
	max-height: 80px;
	width: auto;
}

.custom-logo-link,
.site-title,
.site-description {
	display: inline-block;
	vertical-align: baseline;
}

.custom-logo-link {
	vertical-align: top;
}

.site-title {
	line-height: 1.2em;
	margin-top: 0;
	margin-bottom: 0;
}

.site-description {
	letter-spacing: 0.05em;
	margin-bottom: 0;
	margin-left: 6px;
	font-weight: 300;
}

.primary-menu-wrapper {
	visibility: hidden;
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background: white;
	background: rgba(255,255,255, .95);
}
#primary-menu {
	-webkit-transform: scale(.9);
	-moz-transform: scale(.9);
	-ms-transform: scale(.9);
	-o-transform: scale(.9);
	transform: scale(.9);
	-webkit-transform-origin: center center;
	-moz-transform-origin: center center;
	-ms-transform-origin: center center;
	-o-transform-origin: center center;
	transform-origin: center center;
}

.nav-open .primary-menu-wrapper {
	visibility: visible;
	opacity: 1;
}
.nav-open #primary-menu {
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
}
.nav-open #sidebar-toggle {
	z-index: 1;
}
.nav-open .mCSB_scrollTools.mCSB_scrollTools_horizontal {
	opacity: 0 !important;
}

.main-navigation .mCustomScrollBox {
	overflow: visible;
}

.main-navigation .primary-menu-wrapper:not(.from-top) .mCustomScrollBox {
	max-height: none !important;
}

.main-navigation .primary-menu-wrapper:not(.from-top) .mCustomScrollBox:before {
	content:'';
	height: 100%;
	width: 0;
	display: inline-block;
	vertical-align: middle;
}
.main-navigation .primary-menu-wrapper:not(.from-top) .mCSB_container {
	display: inline-block;
	vertical-align: middle;
	width: 100%;
}

.primary-menu-wrapper .mCSB_container {
	padding: 100px 0 100px 120px;
}

.primary-menu-wrapper .mCSB_scrollTools {

}

.menu-toggle {
	background: none;
	border: none;
	display: inline-block;
	font-size: 0;
	height: 40px;
	padding: 0;
	margin-right: -7px;
	text-align: center;
	width: 40px;
	position: relative;
	z-index: 1001;
}

.menu-toggle:focus,
.menu-toggle:active {
	background: none;
}

.menu-toggle em {
	display: inline-block;
	font-size: 10px;
	letter-spacing: 1px;
	font-style: normal;
	text-indent: 0;
	text-transform: uppercase;
	position: absolute;
	top: calc(50% - 10px - 0.6em);
	right: 40px;
	padding: 10px 10px 10px 5px;
}

body:not(.nav-open) .menu-toggle em.text-close,
body.nav-open .menu-toggle em.text-open,
body .menu-toggle em.text-open-hover {
	display: none;
}

.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
	background-color: #000;
	height: 1px;
	position: absolute;
	width: 22px;
	-webkit-transition: .15s;
	-moz-transition: .15s;
	-ms-transition: .15s;
	-o-transition: .15s;
	transition: .15s;
}

.menu-toggle span {
	margin-top: -1px;
	top: 50%;
	right: 9px;
}

.menu-toggle span:before,
.menu-toggle span:after {
	content: "";
	right: 0;
}

.menu-toggle span:before {
	top: -5px;
}

.menu-toggle span:after {
	top: 5px;
}

.toggled .menu-toggle span,
.toggled .menu-toggle:hover span,
.nav-open .toggled .menu-toggle span,
.nav-open .toggled .menu-toggle:hover span {
	background-color: transparent;
}

.toggled .menu-toggle span:before,
.toggled .menu-toggle span:after {
	top: 0;
}

.toggled .menu-toggle span:before {
	-webkit-transform: rotate(45deg) translateZ(0);
	-moz-transform: rotate(45deg) translateZ(0);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg) translateZ(0);
	transform: rotate(45deg) translateZ(0);
}

.toggled .menu-toggle span:after {
	-webkit-transform: rotate(-45deg) translateZ(0);
	-moz-transform: rotate(-45deg) translateZ(0);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg) translateZ(0);
	transform: rotate(-45deg) translateZ(0);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	bottom: 50px;
	right: 60px;
	max-width: calc(100% - 120px);
	z-index: 101;
	text-align: right;
	-webkit-transition: .2s, visibility 0s;
	-moz-transition: .2s, visibility 0s;
	-ms-transition: .2s, visibility 0s;
	-o-transition: .2s, visibility 0s;
	transition: .2s, visibility 0s;
}

.nav-open .site-footer {
	opacity: 1;
	visibility: visible;
}

.site-info {
	color: rgba(0,0,0,.4);
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

.posts-navigation .nav-links {
	position: relative;
	height: 100%;
}

.posts-navigation .nav-previous,
.posts-navigation .nav-next {
	display: block;
	line-height: 1;
	position: relative;
}

#post-load .posts-navigation .nav-previous {
	position: absolute;
	top: 49%;
	left: 0;
	right: 0;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

body:not(.search) #post-load > .posts-navigation .nav-next,
#post-load .page-name .posts-navigation .nav-previous {
	display: none;
}

.posts-navigation a {
	display: block;
}

.posts-navigation .nav-previous a:before,
.posts-navigation .nav-next a:after {
	display: block;
}

.posts-navigation .nav-previous a:before {
	line-height: 1;
}
.posts-navigation .nav-next a:after {
	padding-top: .4em;
	padding-bottom: .2em;
	font-size: 11px;
}

/* single nav */

.post-navigation a:focus {
	outline: none;
}

.post-navigation .nav-next a:after {
	display: none;
}

@media screen and (min-width: 1191px) {

	.post-navigation .nav-previous,
	.post-navigation .nav-next {
		position: fixed;
		top: calc(50% - 15px);
		z-index: 1;
	}

	.post-navigation a {
		padding: 100px 60px;
		opacity: .3;
	}

	.post-navigation .nav-previous {
		left: 0;
	}
	.post-navigation .nav-next {
		right: 0;
		text-align: right;
	}

	.post-navigation .nav-previous a {
		padding-right: 20px;
	}
	.post-navigation .nav-next a {
		padding-left: 20px;
	}

	.post-navigation .nav-previous a:after,
	.post-navigation .nav-previous a:before,
	.post-navigation .nav-next a:before,
	.post-navigation .nav-next a:after {
		-webkit-transition: .2s;
		-moz-transition: .2s;
		-ms-transition: .2s;
		-o-transition: .2s;
		transition: .2s;
	}

	.post-navigation .nav-previous a:after {
		margin-left: 1em;
	}
	.post-navigation .nav-next a:before {
		margin-right: 1em;
	}

	.post-navigation .nav-previous a:before {
		display: none;
	}

	.post-navigation .post-nav-title {
		position: absolute;
		top: 0;
		width: 300px;
		padding: 40px 60px;
		font-weight: 400;
	}

	.post-navigation .nav-previous .post-nav-title {
		left: 0;
	}
	.post-navigation .nav-next .post-nav-title {
		right: 0;
	}

	.post-navigation .nav-previous a:after {
		opacity: 0;
	}
	.post-navigation .nav-next a:before {
		opacity: 0;
	}
	.post-navigation .nav-previous a:not(:hover):after {
		margin-left: 2em;
	}
	.post-navigation .nav-next a:not(:hover):before {
		margin-right: 2em;
	}

	.post-navigation .post-nav-title {
		visibility: hidden;
		opacity: 0;
		-webkit-transition: .2s, visibility 0s .2s;
		-moz-transition: .2s, visibility 0s .2s;
		-ms-transition: .2s, visibility 0s .2s;
		-o-transition: .2s, visibility 0s .2s;
		transition: .2s, visibility 0s .2s;
	}
	.post-navigation a:hover,
	.post-navigation .nav-previous a:hover:after,
	.post-navigation .nav-next a:hover:before {
		opacity: 1;
	}

	.post-navigation a:hover .post-nav-title {
		visibility: visible;
		opacity: 1;
		-webkit-transition: .2s, visibility 0s;
		-moz-transition: .2s, visibility 0s;
		-ms-transition: .2s, visibility 0s;
		-o-transition: .2s, visibility 0s;
		transition: .2s, visibility 0s;
	}
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	text-decoration: none;
}

a:focus,
button:focus {
	outline: thin dashed;
}

a:hover,
a:active {
	outline: 0;
}

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

.entry-content .wp-block-button__link {
	text-decoration: none;
}

.edit-link,
.entry-meta .edit-link {
	display: none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.nav-open {
	overflow: hidden;
}

.site-header .nav-menu {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li,
.main-navigation a {
	line-height: 1.5;
}

.main-navigation li {
	display: block;
	position: relative;
	margin: 0;
	padding-right: 20px;
	float: left;
	clear: left;
}

.main-navigation a {
	display: inline-block;
	font-weight: 300;
	letter-spacing: 0.5px;
	text-decoration: none;
	line-height: 1.2;
	position: relative;
}

.main-navigation a:after {
	content: '';
	width: 100%;
	height: 3px;
	background: black;
	display: block;
	position: absolute;
	bottom: .1em;
	left: 0;
	opacity: 0;
}

.main-navigation ul ul a:after {
	display: none;
}

.main-navigation ul ul {
	margin-left: 1em;
	margin-top: 1.8em;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 100%;
	width: 250px;
	z-index: 1;
}

.main-navigation ul ul ul {
	margin-top: 0;
}

.main-navigation ul ul a {
	display: inline-block;
	line-height: 1.4em;
	vertical-align: middle;
	word-wrap: break-word;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	font-weight: 400;
}

.dropdown-toggle {
	display: inline-block;
	line-height: 10px;
	margin-left: 30px;
	height: 1em;
	position: relative;
	top: 1px;
	width: 1em;
	text-align: right;
	cursor: pointer;
}

.dropdown-toggle:focus {
	outline: none;
}

.dropdown-symbol,
.dropdown-symbol:before,
.dropdown-symbol:after {
	height: 1px;
	background: black;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}

.dropdown-symbol {
	display: block;
	position: relative;
	top: 70%;
	-webkit-transform-origin: right center;
	-moz-transform-origin: right center;
	-ms-transform-origin: right center;
	-o-transform-origin: right center;
	transform-origin: right center;
	width: 100%;
}

.dropdown-symbol:before,
.dropdown-symbol:after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: .4em;
	-webkit-transform-origin: center right;
	-moz-transform-origin: center right;
	-ms-transform-origin: center right;
	-o-transform-origin: center right;
	transform-origin: center right;
}

.dropdown-symbol:before {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.dropdown-symbol:after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.main-navigation .toggle-on > span > .dropdown-symbol {
	width: 0;
}

.main-navigation .toggle-on > span > .dropdown-symbol:before,
.main-navigation .toggle-on > span > .dropdown-symbol:after {
	right: -0.7em;
	width: .8em;
}

.main-navigation .toggle-on > span > .dropdown-symbol:before {
	top: 0.25em;
}
.main-navigation .toggle-on > span > .dropdown-symbol:after {
	top: -0.3em;
}

.main-navigation .toggle-on > a ~ ul {
	opacity: 1;
	visibility: visible;
	margin-left: 0;
}

.site-header ul.nav-menu > li {
	-webkit-transition: .3s;
	-moz-transition: .3s;
	-ms-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
}

.main-navigation  li {
	padding-top: .1em;
	padding-bottom: .1em;
}

.site-header ul.nav-menu.dropdown-toggled > li:not(.toggle-on) {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: .3s, visibility 0s .3s;
	-moz-transition: .3s, visibility 0s .3s;
	-ms-transition: .3s, visibility 0s .3s;
	-o-transition: .3s, visibility 0s .3s;
	transition: .3s, visibility 0s .3s;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

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

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

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignnone,
.aligncenter {
	clear: both;
	margin: 60px auto;
}

p:first-child .aligncenter {
	margin-top: 0;
}

.alignleft,
.alignright {
	margin-bottom: 40px;
}

.alignleft {
	clear: left;
	float: left;
	margin-right: 3.5em;
}

.alignright {
	clear: right;
	float: right;
	margin-left: 3.5em;
}

img.alignleft,
img.alignright {
	max-width: 50%;
}

@media screen and (min-width: 1190px) {
	.single .alignleft,
	.page:not(.page-template-portfolio-page) .alignleft {
		margin-left: -150px;
	}

	.single .alignright,
	.page:not(.page-template-portfolio-page) .alignright {
		margin-right: -150px;
	}
}

.aligncenter {
	clear: both;
	margin-left: auto;
	margin-right: auto;
}

.widget .aligncenter,
.widget .alignnone {
	margin: 0;
}

.content-area img.aligncenter, .content-area figure.aligncenter {
	opacity: 0;
	-webkit-transition: opacity .4s;
	-moz-transition: opacity .4s;
	-ms-transition: opacity .4s;
	-o-transition: opacity .4s;
	transition: opacity .4s;
}

@media screen and (min-width: 1190px) {
	.single .content-area .aligncenter {
		max-width: 900px !important;
	}

	.single div.gallery-size-full {
		width: 900px;
	}
}

.single div.gallery-size-full {
	opacity: 0;
	-webkit-transition: .3s;
	-moz-transition: .3s;
	-ms-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.row:before,
.row:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.grid-wrapper:before,
.grid-wrapper:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.menu-items:before,
.menu-items:after,
.contact-form:before,
.contact-form:after,
#jp-relatedposts .jp-relatedposts-items:before,
#jp-relatedposts .jp-relatedposts-items:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.row:after,
.entry-content:after,
.comment-content:after,
.grid-wrapper:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.menu-items:after,
.contact-form:after,
#jp-relatedposts .jp-relatedposts-items:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

@media screen and (min-width: 1191px) {

	.widget > * {
		-webkit-transition: .2s linear;
		-moz-transition: .2s linear;
		-ms-transition: .2s linear;
		-o-transition: .2s linear;
		transition: .2s linear;
	}

	.widget:not(.widget_eu_cookie_law_widget) .widget-title {
		opacity: .7;
	}

	.widget:not(.widget_eu_cookie_law_widget) > *:not(.widget-title) {
		opacity: .3;
	}
	.widget:hover .widget-title,
	.widget:hover > *:not(.widget-title) {
		opacity: 1;
	}
}

.widget,
.widget p {
	letter-spacing: 0.7px;
}

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

.widget,
.widget p {
	line-height: 1.4rem;
}

.widget > ul {
	margin-bottom: 0;
}

.widget li {
	list-style: none;
}

.widget > ul > li {
	margin-top: 8px;
}

.widget > ul > li:first-of-type {
	margin-top: 0;
}

.widget-title {
	letter-spacing: 0.01em;
	margin-top: 0;
	margin-bottom: 3rem;
}

/*calendar widget*/

.widget_calendar table {
	margin: -5px 0 0;
	max-width: 300px;
}

.widget_calendar thead,
.widget_calendar tbody {
	text-align: center;
}

.widget_calendar tbody {
	border-bottom: 1px solid rgba(0,0,0,.05);
	font-weight: 300;
}

.widget_calendar caption {
	text-align: left;
}

.widget_calendar caption {
	font-weight: 400;
}
.widget_calendar th,
.widget_calendar td {
	font-weight: 300;
}

.widget_calendar th {
	padding-top: 18px;
	padding-bottom: 13px;
}

.widget_calendar tbody td {
	padding-top: 5px;
	padding-bottom: 5px;
}

.widget_calendar tbody tr:last-of-type td {
	padding-bottom: 14px;
}

.widget_calendar tbody a {
	border-bottom: 1px solid rgba(255,255,255,.4);
}

#today {
	position: relative;
	z-index: 0;
	text-decoration: underline;
}

.widget_calendar tfoot td {
	padding-top: 10px;
}

.widget_calendar #next {
	text-align: right;
}

/*Recent comments - posts widget*/

.widget_recent_comments ol,
.widget_recent_entries ol {

}

.widget_recent_comments li,
.widget_recent_entries li {
	padding-bottom: 24px;
	padding-left: 60px;
	min-height: 3em;
	position: relative;
}

.widget_recent_entries .post-date {
	display: block;
}

.widget_recent_comments ul,
.widget_recent_entries ul {
	counter-reset: term;
}
.widget_recent_comments li:before,
.widget_recent_entries li:before {
	content: counter(term);
	counter-increment: term;

	font-size: 2.5em;
	padding-bottom: .5em;
	line-height: 1;
	position: absolute;
	left: 0;
	width: 50px;
	font-weight: 300;
}

.widget_recent_entries .post-date {
	font-size: 80%;
	font-weight: 300;
}

/*Rss widget*/

.widget_rss .widget-title a:first-of-type {
	margin-right: 5px;
}

.widget_rss_links .widget-title:before {
	margin-right: 10px;
}

.widget_rss .widget-title a:before {
	display: inline-block;
}

.widget_rss .widget-title a:first-of-type img {
	display: none;
}

.rss-date {
	display: block;
	margin-bottom: 20px;
}

.widget_rss ul li {
	margin-top: 32px;
}

.widget_rss li > a {
	font-weight: 700;
}

.widget_rss cite {
	display: block;
	margin-top: 10px;
}

/*Tag cloud*/

.tagcloud a {
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 10px;
}

/*Custom menues*/

.widget_nav_menu li {
	display: block;
}

/*Jetpack widgets*/

/*contact*/

.widget_contact_info .contact-map {
	margin-bottom: 20px;
}

.widget_contact_info .confit-address a {
	font-weight: 700;
}

/*recent posts*/

.widget .jetpack-display-remote-posts h4 {
	margin-top: 34px;
	margin-bottom: 14px;
}

.widget .jetpack-display-remote-posts p {
	line-height: 1.4rem !important;
	margin: 0 0 22px !important;
}

.jetpack-display-remote-posts img {
	margin-bottom: 12px;
}

body .widgets-list-layout li {
	margin-bottom: 2em;
}

/* subscribe */

.jetpack_subscription_widget {

}

/*gallery*/

.widget .slideshow-window .slideshow-controls {
	width: 80px;
}

body .widget .slideshow-window div.slideshow-controls a:first-of-type,
body .widget .slideshow-window div.slideshow-controls a:last-of-type {
	width: 30px !important;
	margin-top: 0 !important;
}

/*goodreads*/

.widget div[class^=gr_custom_container] {
	background: transparent;
	border: none;
	border-radius: 0;
	color: inherit;
	padding: 0;
}

.widget div[class^="gr_custom_book_container"] {
	float: left;
	margin-right: 20px;
	margin-bottom: 2px;
	margin-left: 0;
}

.widget div[class^=gr_custom_each_container] {
	border-bottom: none;
	padding-bottom: 20px;
}

.widget div[class^=gr_custom_title] {
	font-weight: 700;
}

.widget div[class^=gr_custom_review] {
	margin-top: 0.6rem;
}

/*social*/

.widget-area .widget_wpcom_social_media_icons_widget li {
	display: inline-block;
	margin-right: 18px;
	margin-top: 0;
	margin-bottom: 12px;
}

.widget-area .widget_wpcom_social_media_icons_widget li:last-child {
	margin-right: 0;
}

/*gravatar*/

.widget.widget-grofile .grofile-thumbnail {
	max-width: 100%;
}

.grofile-links li {
	margin: 2px 0;
}

.grofile-full-link {
	display: block;
	margin-top: 15px;
}

/*RSS links*/

.widget_rss_links a:first-child {
	margin-right: 5px;
}

/* akismet spam block */

body .widget .a-stats a {
	background: #000;
	color: #fff;
	border: none;
	border-radius: 0;
}

body .widget .a-stats a:hover {
	background: #000;
	color: #fff;
	opacity: .7;
}

/* authors */

.widget_authors > ul > li {
	position: relative;
	margin-bottom: 20px;
}

.widget_authors img {
	border-radius: 100%;
}

.widget_authors strong {
	margin-top: 14px;
	display: inline-block;
}

.widget_authors ul ul {
	margin-left: 0;
	margin-top: 10px;
}

/* tag cloud */
.wp_widget_tag_cloud > div,
.widget_tag_cloud > div {
	overflow: visible !important;
	letter-spacing: 0;
}

/* contact info */

.widget_contact_info .contact-map-container {
	margin-bottom: 20px;
}

/* flick */

.widget_flickr #flickr_badge_wrapper {
	background: transparent !important;
	border: none !important;
}

#flickr_badge_wrapper td {
	text-align: left;
}

/* blog subscription */

.widget_blog_subscription form p:nth-child(3) {
	margin-bottom: 15px;
}

.widget_blog_subscription input[type="submit"] {
	padding-left: 1.5em;
	padding-right: 1.5em;
}

/* instagram */

.widget_wpcom_instagram_widget .wpcom-instagram-columns-3 img {
	max-width: 31%;
}

/* social media icons */

.widget_wpcom_social_media_icons_widget .genericon-linkedin,
.widget_wpcom_social_media_icons_widget .genericon-googleplus {
	font-size: 18px;
}

/* milestone */

.widget .milestone-content {
	max-width: 100% !important;
}

.widget .milestone-header {
	background-color: white;
	color: #000;
	font-size: 14px;
}

.widget .milestone-countdown,
.widget .milestone-message {
	background-color: transparent;
	border-color: #fff;
	color: #fff;
}

.widget .milestone-countdown .difference {
	font-size: 300%;
	padding-top: .2em;
}

/* jetpack my community */

.widget_jetpack_my_community img {
	border-radius: 100%;
}

/* mailchimp */

#mc_subheader,
.mc_merge_var {
	margin-bottom: 15px;
}

.mc_header,
#mc_display_rewards {
	font-size: 14px;
	opacity: .7;
}

.mc_header_email {
	display: none;
}

#mc_display_rewards {
	text-align: left;
}

/* EU cookie law */

body .widget_eu_cookie_law_widget.widget {
	bottom: 20px;
	left: 120px;
	right: 120px;
}

div#eu-cookie-law form {
	float: right;
}

body #eu-cookie-law input,
body #eu-cookie-law input:focus,
body #eu-cookie-law input:hover,
body #eu-cookie-law.negative input,
body #eu-cookie-law.negative input:focus,
body #eu-cookie-law.negative input:hover {
	font-size: 12px;
	font-weight: 700;
	line-height: inherit;
}

body #eu-cookie-law input:focus,
body #eu-cookie-law input:hover {
	background: black;
	color: white;
}
body #eu-cookie-law {
	background-color: #eee;
	border: 1px solid rgba(0,0,0,.2);
	color: black;
	padding: 15px;
	border-radius: 0;
}

body #eu-cookie-law.negative {
	background-color: #000;
	border: none;
	color: #fff;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/


.leaving-page #page {
	opacity: 0;
}

#page {
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}

/*--------------------------------------------------------------
## Archive
--------------------------------------------------------------*/

.blog,
.archive,
.search,
.page-template-portfolio-page,
.blog #page,
.archive #page,
.search #page,
.page-template-portfolio-page #page {
	overflow: hidden;
}

@media screen and (max-width: 1190px) {
	.blog #page,
	.archive #page,
	.search #page,
	.page-template-portfolio-page #page {
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.blog .site-header,
.archive .site-header,
.search .site-header,
.page-template-portfolio-page .site-header {
	position: fixed;
	top: 0;
	left: 0;
}

.blog .site-content,
.archive .site-content,
.search .site-content,
.page-template-portfolio-page .site-content {
	padding-right: 0;
	padding-top: 140px;
	height: 100vh;
}

.page-name,
#post-load .hentry,
#post-load .posts-navigation,
#infinite-handle,
#post-load section.no-results {
	height: calc(100vh - 140px);
}

body .infinite-loader {
	height: calc((100vh - 140px ) /2);
}


.admin-bar.blog .site-header,
.admin-bar.archive .site-header,
.admin-bar.search .site-header,
.admin-bar.page-template-portfolio-page .site-header {
	top: 15px;
}

.admin-bar.blog .site-content,
.admin-bar.archive .site-content,
.admin-bar.search .site-content,
.admin-bar.page-template-portfolio-page .site-content {
	padding-top: 110px;
	height: calc(100vh - 32px);
}

.admin-bar .page-name,
.admin-bar #post-load .hentry,
.admin-bar #post-load .posts-navigation,
.admin-bar #post-load section.no-results {
	height: calc(100vh - 110px - 32px);
}

.admin-bar #infinite-handle {
	height: calc(100vh - 110px );
}
body.admin-bar .infinite-loader {
	height: calc((100vh - 110px) /2);
}

.blog .site-main,
.archive .site-main,
.search .site-main,
.page-template-portfolio-page .site-main,
#post-load {
	white-space: nowrap;
}

.page-name,
#post-load .hentry,
#post-load .posts-navigation,
#infinite-handle,
body .infinite-loader,
#post-load section.no-results {
	padding-bottom: 40px;
	display: inline-block;
	vertical-align: top;
	white-space: normal;
}

#post-load .posts-navigation,
#infinite-handle,
body .infinite-loader,
.blog .hentry,
.archive .hentry,
.page-template-portfolio-page .hentry {
	max-width: 470px;
	width: 35vw;
	padding-right: 120px;
}

.hentry .meta-line {
	display: block;
	position: absolute;
	width: 1px;
	height: 140px;
	background: #000;
	opacity: .15;
	left: -60px;
	top: 0;
}

#post-load article:first-child .meta-line {
	display: none;
}

.page-name {
	max-width: 400px;
	width: 40vw;
	padding-right: 5vw;
	white-space: normal;
}

.page-name .page-top,
.page-name .page-bottom {
	right: 5vw;
}

.blog #post-load .hentry.sticky,
.archive #post-load .hentry.sticky,
.page-template-portfolio-page #post-load .hentry.sticky {
	max-width: 920px;
	width: 50vw;
}

#post-load img {
	width: auto;
}

#post-load .entry-header {
	max-width: 400px;
}

.search #post-load .hentry {
	width: 300px;
	padding-right: 80px;
}

.search .hentry .meta-line {
	left: -40px;
}

/* wide */

.blog_layout_wide.blog .hentry:not(.jetpack-portfolio),
.blog_layout_wide.archive .hentry:not(.jetpack-portfolio),
.portfolio_layout_wide.blog .hentry.jetpack-portfolio,
.portfolio_layout_wide.archive .hentry.jetpack-portfolio,
.portfolio_layout_wide.page-template-portfolio-page .hentry {
	max-width: 920px;
	width: 50vw;
}

.blog_layout_wide.blog #post-load .hentry.sticky:not(.jetpack-portfolio) .posted-on:before,
.blog_layout_wide.archive #post-load .hentry.sticky:not(.jetpack-portfolio) .posted-on:before,
.portfolio_layout_wide.blog #post-load .hentry.sticky.jetpack-portfolio .posted-on:before,
.portfolio_layout_wide.archive #post-load .hentry.sticky.jetpack-portfolio .posted-on:before,
.portfolio_layout_wide.page-template-portfolio-page #post-load .hentry.sticky .posted-on:before {
	content: "\e902";
	font-family: 'icomoon';
	font-size: 0.8em;
	padding-right: 8px;
}

.blog_layout_wide #post-load .hentry:not(.jetpack-portfolio) .entry-header,
.portfolio_layout_wide #post-load .hentry.jetpack-portfolio .entry-header {
	max-width: 600px;
}

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

	#post-load .posts-navigation,
	#infinite-handle,
	body .infinite-loader,
	.blog .hentry,
	.archive .hentry,
	.page-template-portfolio-page .hentry {
		max-width: 450px;
	}

	.blog #post-load .hentry.sticky,
	.archive #post-load .hentry.sticky,
	.page-template-portfolio-page #post-load .hentry.sticky {
		max-width: 900px;
	}

	#post-load .posts-navigation,
	#infinite-handle,
	body .infinite-loader,
	.blog .hentry,
	.archive .hentry,
	.page-template-portfolio-page .hentry {
		padding-right: 100px;
	}

	.hentry .meta-line {
		left: -50px;
	}

	/* wide */

	.blog_layout_wide.blog .hentry:not(.jetpack-portfolio),
	.blog_layout_wide.archive .hentry:not(.jetpack-portfolio),
	.portfolio_layout_wide.blog .hentry.jetpack-portfolio,
	.portfolio_layout_wide.archive .hentry.jetpack-portfolio,
	.portfolio_layout_wide.page-template-portfolio-page .hentry {
		max-width: 900px;
	}
}

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

	#post-load .posts-navigation,
	#infinite-handle,
	body .infinite-loader,
	.blog .hentry,
	.archive .hentry,
	.page-template-portfolio-page .hentry {
		padding-right: 6vw;
	}

	.hentry .meta-line {
		left: -3vw;
		height: 70px;
	}
}

@media screen and (orientation: portrait) and (max-width: 1300px) {
	#post-load .posts-navigation,
	#infinite-handle,
	body .infinite-loader,
	.blog .hentry,
	.archive .hentry,
	.page-template-portfolio-page .hentry {
		width: 50vw;
	}

	.page-name {
		width: 70vw;
	}

	.blog #post-load .hentry.sticky,
	.archive #post-load .hentry.sticky,
	.page-template-portfolio-page #post-load .hentry.sticky {
		width: 80vw;
	}

	/* wide */

	.blog_layout_wide.blog .hentry:not(.jetpack-portfolio),
	.blog_layout_wide.archive .hentry:not(.jetpack-portfolio),
	.portfolio_layout_wide.blog .hentry.jetpack-portfolio,
	.portfolio_layout_wide.archive .hentry.jetpack-portfolio,
	.portfolio_layout_wide.page-template-portfolio-page .hentry {
		width: 80vw;
	}
}

@media screen and (orientation: portrait) and (max-width: 600px) {
	.search #post-load .hentry {
		width: 60vw;
		padding-right: 40px;
	}

	.search .hentry .meta-line {
		left: -20px;
	}

	#post-load .posts-navigation,
	#infinite-handle,
	body .infinite-loader,
	.blog .hentry,
	.archive .hentry,
	.page-template-portfolio-page .hentry {
		width: 75vw;
	}

	.blog #post-load .hentry.sticky,
	.archive #post-load .hentry.sticky,
	.page-template-portfolio-page #post-load .hentry.sticky {
		width: 90vw;
	}

	/* wide */
	.blog_layout_wide.blog .hentry:not(.jetpack-portfolio),
	.blog_layout_wide.archive .hentry:not(.jetpack-portfolio),
	.portfolio_layout_wide.blog .hentry.jetpack-portfolio,
	.portfolio_layout_wide.archive .hentry.jetpack-portfolio,
	.portfolio_layout_wide.page-template-portfolio-page .hentry {
		width: 90vw;
	}
}


/* search archive */

.search .page-name:before {
	content: '';
	width: 0;
	margin-left: -5px;
	height: 100%;
	display: block;
}

.search .page-name:before,
.page-name .page-search-again {
	display: inline-block;
	vertical-align: middle;
}

.page-name .page-search-again {
	width: 100%;
	margin-top: -100px;
}

.page-search-again .search-form input[type="search"] {
	height: 2em;
}

.page-name .page-bottom {
	position: absolute;
	bottom: 40px;
	left: 0;
	z-index: 2;
}

.page-name .page-title {
	margin-top: 0;
	margin-bottom: 0;
	display: inline-block;
	line-height: 1;
}

.page-name .page-numeration {
	display: inline-block;
	font-size: 24px;
}

.page-name .page-title + .page-numeration {
	margin-left: 20px;
}

.search #post-load .featured-content {
	position: absolute;
	bottom: 40%;
	left: 0;
	top: 0;
	overflow: hidden;
	width: 170px;
}

.search #post-load .format-video .featured-content {
	top: auto;
}

.search #post-load .featured-content:before {
	content: '';
	width: 0;
	height: 100%;
}

.search #post-load .featured-content:before,
.search #post-load .featured-content > a,
.search #post-load .featured-content > .gallery {
	display: inline-block;
	vertical-align: bottom;
}

.search #post-load .entry-header {
	position: absolute;
	left: 0;
	right: 0;
	top: 60%;
}

/* end search archive */

.page-name {
	position: relative;
}

.page-name .page-bottom {
	opacity: .2;
}

.page-name .page-top {
	position: absolute;
	top: 0;
	left: 0;
}

.page-name .page-title {
	margin-top: 0;
	margin-bottom: 0;
	display: inline-block;
}

.page-name .page-numeration {
	display: inline-block;
	font-size: 24px;
}

#post-load {
	display: inline-block;
}

#post-load article > div {
	position: relative;
	height: 100%;
}

#post-load article {
	opacity: 0;
	-webkit-transform: translateX(50px);
	-moz-transform: translateX(50px);
	-ms-transform: translateX(50px);
	-o-transform: translateX(50px);
	transform: translateX(50px);
	-webkit-transition: .2s cubic-bezier(.22,.58,.69,.98);
	-moz-transition: .2s cubic-bezier(.22,.58,.69,.98);
	-ms-transition: .2s cubic-bezier(.22,.58,.69,.98);
	-o-transition: .2s cubic-bezier(.22,.58,.69,.98);
	transition: .2s cubic-bezier(.22,.58,.69,.98);
}

#post-load article.animate {
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
}
.page-top, #post-load .posts-navigation, #infinite-handle {
	opacity: 0;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}
.page-top.animate,
#post-load .posts-navigation.animate,
#infinite-handle.animate {
	opacity: 1;
}

.blog article .featured-content,
.archive article .featured-content,
.page-template-portfolio-page article .featured-content {
	max-height: 60vh;
	max-height: calc(100vh - 140px - 250px);
}

.blog article .featured-content,
.archive article .featured-content,
.page-template-portfolio-page article .featured-content {
	margin-bottom: 60px;
	overflow: hidden;
}

.search article .featured-content {
	margin-bottom: 40px;
}

#post-load .hentry .entry-title {
	margin-bottom: 0;
}

@media screen and (min-width: 1191px) {
	#post-load .entry-title,
	#post-load .entry-meta {
		opacity: .3;
		-webkit-transition: opacity .6s .2s;
		-moz-transition: opacity .6s .2s;
		-ms-transition: opacity .6s .2s;
		-o-transition: opacity .6s .2s;
		transition: opacity .6s .2s;
	}
	#post-load .hentry > div:hover .entry-title,
	#post-load .hentry > div:hover .entry-meta {
		opacity: 1;
		-webkit-transition: opacity .1s;
		-moz-transition: opacity .1s;
		-ms-transition: opacity .1s;
		-o-transition: opacity .1s;
		transition: opacity .1s;
	}
}

#post-load article .entry-meta {
	position: absolute;
	bottom: 0;
	left: 0;
}

#post-load article .cat-links {
	max-height: 4.7em;
	overflow-y: auto;
}

#post-load article .entry-meta > *:not(.posted-on):not(.cat-links):not(.meta-arrow):not(.meta-line) {
	display: none;
}

#post-load article .entry-meta .meta-text {
	display: none;
}

.entry-meta  .posted-on {
	font-weight: 500;
}

#post-load article .meta-arrow {
	position: absolute;
	opacity: 0;
	bottom: calc(100% + 7px);
	display: none;
	font-size: 11px;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}

.hentry {
	margin: 0;
}

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

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

.page-links a {
	border: none;
	font-weight: 400;
	margin-left: 5px;
	margin-right: 5px;
	opacity: .4;
}

.site-title {
	font-weight: 400;
}

.entry-meta {
	text-transform: uppercase;
}

.entry-meta > * {
	display: block;
}

.grid-sizer {
	opacity: 0;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

.featured-image a,
.format-video .featured-image a {
	display: inline-block;
	position: relative;
	width: 100%;
}


/*--------------------------------------------------------------
## Posts
--------------------------------------------------------------*/

.single .hentry > *:not(.featured-content-wrapper):not(.attachment-content),
.single .site-main > *:not(.hentry):not(.related-holder) {
	-webkit-transition: .4s ease-out, visibility 0s 0s;
	-moz-transition: .4s ease-out, visibility 0s 0s;
	-ms-transition: .4s ease-out, visibility 0s 0s;
	-o-transition: .4s ease-out, visibility 0s 0s;
	transition: .4s ease-out, visibility 0s 0s;
}
.single .featured-content-wrapper,
.attachment-content {
	-webkit-transition: .4s .2s ease-out, visibility 0s .2s;
	-moz-transition: .4s .2s ease-out, visibility 0s .2s;
	-ms-transition: .4s .2s ease-out, visibility 0s .2s;
	-o-transition: .4s .2s ease-out, visibility 0s .2s;
	transition: .4s .2s ease-out, visibility 0s .2s;
}

.tk-theme-frontend.single .featured-content-wrapper,
.tk-theme-frontend.single .hentry > *:not(.featured-content-wrapper):not(.attachment-content),
.tk-theme-frontend.single .site-main > *:not(.hentry):not(.related-holder),
.tk-theme-frontend .attachment-content {
	opacity: 0;
	visibility: hidden;
}
.show-load.single .featured-content-wrapper,
.show.single .hentry > *:not(.featured-content-wrapper):not(.attachment-content),
.show.single .site-main > *:not(.hentry):not(.related-holder),
.show-load .attachment-content,
.no-js.single .featured-content-wrapper,
.no-js.single .hentry > *:not(.featured-content-wrapper):not(.attachment-content),
.no-js.single .site-main > *:not(.hentry):not(.related-holder),
.no-js .attachment-content {
	visibility: visible;
	opacity: 1;
}

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

.single article:not(.vertical-img) .featured-content-wrapper {
	margin-bottom: 100px;
}

.attachment-content {
	margin-bottom: 60px;
	text-align: center;
}

.attachment.single .vertical-img .entry-header {
    display: block;
}

.single .vertical-img .featured-content-wrapper {
	max-width: 900px;
	display: inline-block;
	vertical-align: middle;
	width: 50%;
}

.single .vertical-img .featured-content-wrapper .featured-content {
	max-width: 50%;
	margin-left: auto;
	margin-right: auto;
}

.single .vertical-img .entry-header {
	display: inline-block;
	vertical-align: middle;
}

.single .vertical-img .entry-title {
	margin-top: 60px;
	margin-bottom: 60px;
}

.single .entry-content {
	margin-bottom: 120px;
	margin-top: 180px;
}

.single  article:not(.vertical-img) .entry-meta {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 180px;
	margin-top: 1em;
}

.single .entry-meta > *:not(.posted-on):not(.cat-links),
.single .entry-meta .meta-text {
	display: none;
}

.entry-footer {
	text-transform: uppercase;
}

.entry-footer > *:not(.byline):not(.tags-links) {
	display: none;
}

.entry-footer > span {
	margin-bottom: 10px;
	display: block;
}

.entry-footer .meta-text {
	font-weight: 700;
	margin-bottom: 0;
}

/*quote and link formats*/

.format-quote blockquote,
.format-quote blockquote p,
.listing .format-quote blockquote p,
.format-quote q,
.single .format-quote blockquote p,
.single .format-quote q,
.listing .format-link .entry-content > *:first-child {
	line-height: 1.4em;
}

.format-link .entry-content a {
	font-weight: 400;
}

.listing .format-quote blockquote,
.listing .format-link .entry-content > *:first-child {
	margin-bottom: 1.5rem;
}

.listing .format-quote .entry-content:before,
.listing .format-link .entry-content > p a:before,
.listing .format-link .entry-content > a:before {
	position: absolute;
	top: -2.1em;
	left: 0;
}

.listing .format-quote .entry-header,
.listing .format-link .entry-header {
	padding-left: 36px;
}

.single .format-quote blockquote {
	max-width: inherit;
	margin-left: 0;
}

.single .format-quote blockquote:first-of-type {
	margin-top: 0;
}

.single .format-quote blockquote + cite,
.single .format-quote blockquote + p cite,
.single .format-quote q + cite,
.single .format-quote q + p cite {
	padding-left: 0;
}

/*Thickbox pop-up*/

body #TB_overlay {
	opacity: 0.9;
}

body #TB_window {
	box-shadow: none;
	background: none;
}

body #TB_window img#TB_Image {
	border: none;
	margin: 9px 0 0;
	width: 100%;
}

#TB_closeWindow,
#TB_closeWindowButton,
body .tb-close-icon {
	line-height: inherit;
	height: auto;
	width: auto;
}

#TB_closeWindowButton:focus .tb-close-icon {
	opacity: .7;
}

#TB_closeWindow {
	padding: 0;
	position: fixed;
	top: 5%;
	right: 50px;
}

#TB_closeWindowButton,
body .tb-close-icon {
	position: static;
}

body .tb-close-icon {
	color: #000;
}

.entry-content .wp-block-video video {
	width: 100%;
}

body #TB_caption,
.format-video #TB_ajaxWindowTitle {
	color: #000;
	font-weight: 400;
	letter-spacing: 1.3px;
	text-align: center;
}

body #TB_caption {
	padding: 15px 0 0;
	width: 100%;
}

.format-video #TB_ajaxWindowTitle {
	width: calc(100% - 40px);
}

#TB_secondLine {
	text-indent: -9999px;
}

#TB_prev,
#TB_next {
	overflow: hidden;
	text-align: center;
	text-indent: 0;
	width: 82px;
	position: fixed;
	top: 0;
	bottom: 0;
}

#TB_prev {
	left: 0;
}

#TB_next {
	right: 0;
}

#TB_prev a,
#TB_next a {
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
}

#TB_prev a:before,
#TB_next a:before {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

#TB_load {
	display: none !important;
}

/*video format*/

.entry-video,
.jetpack-video-wrapper {
	height: 0;
	overflow: hidden;
	padding-top: 55.85%;
	position: relative;
	width: 100%;
}

.has-img {
	height: auto;
	overflow: hidden;
	padding-top: 0;
	width: auto;
}

.entry-video iframe,
.jetpack-video-wrapper > *,
.jetpack-video-wrapper iframe {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.jetpack-video-wrapper iframe {
	height: 100% !important;
	width: 100% !important;
}

/*single*/

.single .entry-title {
	margin-top: 0;
}

/*--------------------------------------------------------------
## Pages
--------------------------------------------------------------*/

.page:not(.page-template-portfolio-page) .site-main,
.error404 .site-main {
	margin-bottom: 110px;
}

.page:not(.page-template-portfolio-page) article .entry-header,
.error404 article .entry-header {
	width: 100%;
	background: white;
	box-shadow: 0 0 40px 30px white;
	padding-bottom: 28px;
	margin-bottom: -50px;
	margin-left: -60px;
	margin-right: -60px;
	padding-left: 60px;
	padding-right: 60px;
}

.page:not(.page-template-portfolio-page) article .entry-title,
.blog .page-title,
.error404 article .entry-title {
	margin-bottom: 0;
	margin-right: 40px;
	display: inline-block;
	vertical-align: bottom;
}

.page:not(.page-template-portfolio-page) article .entry-title,
.error404 article .entry-title {
	opacity: .2;
}

/*--------------------------------------------------------------
## Search
--------------------------------------------------------------*/

#post-load section.no-results {
	max-width: 580px;
	white-space: normal;
	padding-right: 20px;
}


@media screen and (min-width: 900px) {
	#post-load section.no-results:before {
		content: '';
		width: 0;
		margin-right: -5px;
		height: 100%;
	}

	#post-load section.no-results:before,
	#post-load section.no-results > div {
		display: inline-block;
		vertical-align: middle;
	}

	#post-load section.no-results .search-form input[type="search"] {
	    width: 550px;
	    min-width: 100%;
	    max-width: 100%;
	}
}

#post-load section.no-results .page-title {
	font-weight: 400;
	margin-bottom: 40px;
}

#post-load section.no-results .page-content > p {
	opacity: .5;
	line-height: 1.2;
	margin-bottom: 50px;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/

#sidebar-toggle {
	position: fixed;
	margin-right: -10px;
	margin-bottom: -22px;
	z-index: 4;

	border: none;
	background-color: transparent;
	height: 40px;
	width: 40px;
	font-weight: 400;
	padding-left: 0;
	padding-right: 0;
}

.admin-bar #sidebar-toggle {
	margin-bottom: -28px;
}

#sidebar-toggle .arrow,
#sidebar-toggle .arrow:before,
#sidebar-toggle .arrow:after {
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-ms-transition: .2s;
	-o-transition: .2s;
	transition: .2s;

}

#sidebar-toggle .arrow {
	position: relative;
	left: 50%;
	top: 0;
	height: 7px;
	width: 0;
	display: block;
}

#sidebar-toggle .arrow {
	top: -2px;
}

#sidebar-toggle .arrow:before,
#sidebar-toggle .arrow:after {
	content: '';
	display: block;
	width: 12px;
	height: 1px;
	background: black;
	position: absolute;
	top: 0;
}

#sidebar-toggle .arrow:before {
	left: 0;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transform-origin: left top;
	-moz-transform-origin: left top;
	-ms-transform-origin: left top;
	-o-transform-origin: left top;
	transform-origin: left top;
}

#sidebar-toggle .arrow:after {
	right: 0;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: right top;
	-moz-transform-origin: right top;
	-ms-transform-origin: right top;
	-o-transform-origin: right top;
	transform-origin: right top;
}

.sidebar-open #sidebar-toggle .arrow:before,
.sidebar-open #sidebar-toggle .arrow:after {
	background: white;
}

.sidebar-open #sidebar-toggle .arrow:before {
	left: -8px;
}

.sidebar-open #sidebar-toggle .arrow:after {
	right: -8px;
}

.sidebar-open #sidebar-toggle {
	color: white;
}

.sidebar-open {
	overflow: hidden;
}

.sidebar-open .menu-toggle {
	display: none;
}

#secondary {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 3;
	height: 100%;
	overflow: auto;
	background: black;
	color: white;
	padding: 0 60px;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	-o-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: .2s, transform 0s .2s;
	-moz-transition: .2s, transform 0s .2s;
	-ms-transition: .2s, transform 0s .2s;
	-o-transition: .2s, transform 0s .2s;
	transition: .2s, transform 0s .2s;
}

#secondary h1,
#secondary h2,
#secondary h3,
#secondary h4,
#secondary h5,
#secondary h6 {
	color: inherit;
}

.sidebar-open #secondary {
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
	-webkit-transition: .2s .1s, transform 0s 0s;
	-moz-transition: .2s .1s, transform 0s 0s;
	-ms-transition: .2s .1s, transform 0s 0s;
	-o-transition: .2s .1s, transform 0s 0s;
	transition: .2s .1s, transform 0s 0s;
}

.big-search {
	height: 65vh;
}

.no-sidebar .big-search {
	height: 90vh;
}

.big-search:before {
	content: '';
	width: 0;
	height: 100%;
	margin-left: -5px;
}

.big-search:before,
.big-search > form {
	display: inline-block;
	vertical-align: middle;
}

.big-search > form {
	width: 100%;
	position: relative;
}


.big-search .search-form input[type="search"] {
	padding-right: 120px;
	font-size: 72px;
	padding-left: 4px;
	height: auto;
	width: 100%;
	border-bottom: 1px solid rgba(255,255,255,.4);
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	-ms-transition: .2s linear;
	-o-transition: .2s linear;
	transition: .2s linear;
}
.big-search .search-form input[type="search"]:hover,
.big-search .search-form input[type="search"]:focus {
	border-bottom-color: white;
}

.big-search .search-form input[type="submit"] {
	width: 120px;
}



.widget-area .widget {
	padding-bottom: 100px;
	display: inline-block;
	vertical-align: top;
	overflow: hidden;
	white-space: normal;
	height: 100%;
	max-height: 100%;
	width: 300px;
}

.widget-area .widget.widget_nav_menu,
.widget-area .widget.widget_meta,
.widget-area .widget.widget_categories,
.widget-area .widget.widget_archive,
.widget-area .widget.widget_pages {
	width: 150px;
}

.widget-area .widget:not(:last-child) {
	margin-right: 80px;
}



/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comments-area {
	margin-top: 8rem;
	position: relative;
}

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

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

.bypostauthor {
	display: block;
}

.bypostauthor > .comment-body .comment-author b:after {
	display: inline-block;
	margin-left: 8px;
	opacity: .2;
	vertical-align: middle;
}

.comments-area,
.post-navigation,
.posts-navigation {
	position: relative;
}

.comments-title,
.comment-reply-title {
	margin-top: 0;
	opacity: .3;
}

.comment-reply-title {
	margin-bottom: 0;
}

.comment div#respond {
	margin-top: 4rem;
}

.comment div#respond h3 {
	margin-bottom: .5em;
}

.comment div#respond h3.container-push-left {
	position: relative;
	left: auto;
	top: auto;
}

.comments-area .comments-title {
	margin-top: 0.5rem;
}

.comments-area .comment,
.comments-area .pingback,
.comments-area .trackback,
.comments-title + .comment-navigation {
	margin-top: 4rem;
}

.comment-list .comment:first-of-type,
.comment-list .pingback:first-of-type,
.comment-list .trackback:first-of-type {
	margin-top: 2.4rem;
}

.pingback .comment-body > a,
.trackback .comment-body > a {
	display: block;
	margin-top: 1.3em;
}

.comment-author,
.comment-metadata,
.pingback .comment-body a,
.trackback .comment-body a {
	display: inline-block;
}

.comment-meta {
	position: relative;
	padding-top: 10px;
}

.comment-metadata {
	opacity: .5;
	font-size: 11px;
}

.comment-author {
	margin-right: 30px;
	font-size: 11px;
}

.comment-author b {
	font-weight: 700;
	opacity: .6;
}

.comment-author img {
	border-radius: 25px;
	height: 50px;
	width: 50px;
	position: absolute;
	left: 0;
	top: 0;
}

.comment-meta,
.comment-content,
.comment .reply,
.comment .comment-respond {
	padding-left: 80px;
}

.entry-author .author-title {
	margin-top: 0;
	color: rgba(0,0,0,.5);
}

.entry-author .author-title span {
	color: initial;
}

.entry-author .author-link:before {
	content: '';
	display: block;
}

.entry-author .author-link:hover {
	opacity: .45;
}

.comment-author,
.comment-metadata,
.comment .reply {
	text-transform: uppercase;
}

.comment-metadata > * + *:before {
	content: "\00b7";
	margin: 0 5px;
}

.comment-author .says {
	display: none;
}

.comment-content {
	margin-top: 22px;
}

.comment .children,
.pingback .children,
.trackback .children {
	margin-left: 6%;
}

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

.comment-content > h1:first-child,
.comment-content > h2:first-child,
.comment-content > h3:first-child,
.comment-content > h4:first-child,
.comment-content > h5:first-child,
.comment-content > h6:first-child {
	margin-top: 0;
}

.logged-in-as,
.comment-notes {
	margin-bottom: 7rem;
	opacity: .5;
}

#email-notes {
	display: block;
}

.no-comments {
	margin-top: 5rem;
	margin-bottom: 0;
}

.comment-list .comment-respond {

}

.comment-form > p {
	position: relative;
	margin-bottom: 3em;
}

.comment-form p.comment-subscription-form,
.comment-form p.comment-form-cookies-consent {
	margin-bottom: 0.5em;
}

.comment-form p:not(.comment-subscription-form):not(.comment-form-cookies-consent) label {
	position: absolute;
	right: calc(100% + 30px);
	top: 4px;
}

.comment-form label span {
	position: absolute;
	top: 0;
	right: -7px;
}

/* .com comments */

div#respond {
	overflow: visible;
	margin-top: 10rem;
	margin-bottom: 3rem;
	position: relative;
}

div#respond h3 {
	margin-bottom: 2rem;
}

div#respond #comment-form-identity #comment-form-nascar,
div#respond #comment-form-comment.active,
div#comment-form-share-text-padder.active,
div#respond .comment-form-service {
	background: white;
	border: 1px solid #b2b2b2;
	border: 1px solid rgba( 0, 0, 0, 0.3 );
}

div#respond #comment-form-comment.active,
div#comment-form-share-text-padder.active {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

div#respond .comment-form-service,
div#respond #comment-form-identity #comment-form-nascar {
	border-top: none;
}

div#respond #comment-form-comment textarea,
div#comment-form-share-text-padder textarea {
	text-shadow: none;
}

div#respond .comment-form-fields div.comment-form-url {
	clear: left;
}

div#respond #comment-form-subscribe {
	padding-left: 0;
	margin-top: 22px;
}

div#respond .form-submit {
	padding: 12px 0;
}

div#respond .form-submit input,
div#respond .form-submit input#comment-submit,
div#respond .comment-form-fields input[type=submit],
div#respond p.form-submit input[type=submit],
div#respond input[type=submit],
div#commentform #submit {
	background: transparent !important;
	-moz-border-radius: 20px !important;
	-webkit-border-radius: 20px !important;
	border-radius: 20px !important;
	border: 1px solid rgba(0,0,0,.4);
	text-shadow: none !important;
	color: black !important;
	margin-top: 0;
	margin-bottom: 0;
	padding: 9px 2em !important;
	font-weight: 400 !important;
}

div#respond .form-submit input:hover,
div#respond .form-submit input#comment-submit:hover,
div#respond .comment-form-fields input[type=submit]:hover,
div#respond p.form-submit input[type=submit]:hover,
div#respond input[type=submit]:hover,
div#commentform #submit:hover {
	background: black !important;
	color: white !important;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll #post-load .posts-navigation { /* Older / Newer Posts Navigation (always hidden) */
	display: none;
}

.grid-wrapper:not(.masonry) .infinite-loader {
	margin-left: -14px;
	width: 28px;
	position: absolute;
	bottom: -6rem;
	left: 50%;
}

body #infinite-handle:before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 0;
}

body #infinite-handle span {
	display: inline-block;
	vertical-align: middle;
	padding: 0;
	-webkit-transform: translateY(-12px);
	-moz-transform: translateY(-12px);
	-ms-transform: translateY(-12px);
	-o-transform: translateY(-12px);
	transform: translateY(-12px);
}

body #infinite-handle span {
	background: none;
	border-radius: 0;
	color: inherit;
}

body #infinite-handle span:before {
	display: block;
	line-height: 1;
	margin-bottom: -.5em;
	position: relative;
}

body #infinite-handle span button,
body #infinite-handle span button:hover,
body #infinite-handle span button:focus {
	height: auto;
	letter-spacing: 0.02em;
}

body .infinite-loader {
	position: relative;
}

body .infinite-loader .spinner {
	position: absolute !important;
	bottom: 35px !important;
	left: 20px !important;
	top: auto !important;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .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%;
}

.author-box,
.entry-author {
	margin: 3rem 0;
	padding-top: 14px;
}

.author-name,
.entry-author .author-title {
	text-transform: uppercase;
	margin-top: 0;
}

.author-name span {
	opacity: .5;
	margin-left: 8px;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
	max-width: 100%;
}

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

.wp-caption-text,
.wp-caption-dd {
	letter-spacing: 0.5px;
	line-height: 1.5em;
	margin: 1.1em 0;
	opacity: .6;
	font-weight: 400;
}

.widget .wp-caption-text {
	opacity: 1;
}

.alignleft .wp-caption-text {
	text-align: left;
}

.alignright .wp-caption-text {
	margin-left: auto;
	text-align: right;
}

.aligncenter .wp-caption-text {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
}

.single .gallery {
	margin-bottom: 3.5em;
	margin-top: 3.5em;
}

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

.gallery-icon {
	padding: 0;
	text-align: left;
}

.gallery-icon a {
	border: none;
	display: block;
	font-size: 0;
}

.tiled-gallery-item {
	padding: 6px 6px 0 0;
}

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

.blog .gallery-caption,
.archive .gallery-caption,
.search .gallery-caption,
.page-template-portfolio-page .gallery-caption {
	display: none;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/*--------------------------------------------------------------
## Jetpack overwrites
--------------------------------------------------------------*/

/* sharedaddy & rating & like */

.sharedaddy.sd-sharing-enabled {
	margin-top: 60px;
}

#jp-post-flair .sd-rating,
#jp-post-flair .sharedaddy,
#jp-post-flair .sd-like {
	display: inline-block;
	width: 30%;
	margin-right: 3%;
	vertical-align: top;
	margin-bottom: 2rem;
}

#jp-post-flair .sharedaddy {
	width: 63%;
}

div#jp-post-flair.sharedaddy h3.sd-title {
	margin-bottom: 2em;
}

#jp-post-flair .sd-rating .rating-msg {
	clear: left;
}

#jp-post-flair .sharedaddy > div {
	margin-top: 0;
}

body.single .sd-social-text .sd-title,
body.single .sd-social .sd-content {
	display: block;
}

body .sd-content ul li a.sd-button span {
	font-size: 14px;
}

body .wpl-button a {
	border-radius: 0 !important;
}

body div.sharedaddy h3.sd-title:before {
	display: none;
}

div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget {
	position: static;
}

body .sd-social-icon .sd-content ul li a.sd-button:active,
body .sd-social-text .sd-content ul li a.sd-button:active,
body .sd-social-icon-text .sd-content ul li a.sd-button:active,
body .sd-social-official .sd-content>ul>li>a.sd-button:active,
body .sd-social-official .sd-content>ul>li .digg_button>a:active {
	box-shadow: none;
}

body .sd-social-icon .sd-content ul li a.sd-button:active,
body .sd-social-text .sd-content ul li a.sd-button:active,
body .sd-social-icon-text .sd-content ul li a.sd-button:active,
body .sd-social-official .sd-content>ul>li>a.sd-button:active,
body .sd-social-official .sd-content>ul>li .digg_button>a:active {
    background: transparent;
    border: none;
    -webkit-transform: translateY(1px);
    -moz-transform: translateY(1px);
    -ms-transform: translateY(1px);
    -o-transform: translateY(1px);
    transform: translateY(1px);
	opacity: .7;
}

/*JP slideshow gallery*/

body .slideshow-window,
body .carousel .slideshow-window {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
}

.single .entry-gallery > .slideshow-window {
	display: block;
}

.slideshow-window .slideshow-controls {
	background-color: rgba(0,0,0,.2);
	display: inline-block;
	height: 31px;
	opacity: 1;
	padding: 0 40px 0 10px;
	width: auto;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
}

body .slideshow-window div.slideshow-controls a,
body .slideshow-window div.slideshow-controls a:hover {
	background: none !important;
	border: none !important;
	height: auto !important;
	margin-top: -5px !important;
}

body .slideshow-window div.slideshow-controls a {
	color: #fff !important;
	vertical-align: middle;
}

body .slideshow-window div.slideshow-controls a:first-of-type,
body .slideshow-window div.slideshow-controls a:last-of-type {
	width: 45px !important;
}

body .slideshow-window div.slideshow-controls a:nth-of-type(2) {
	color: #fff !important;
	width: 16px !important;
	position: absolute;
	top: 6px;
	right: 10px;
}

body .slideshow-window div.slideshow-controls a:before {
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/*JP social*/

.single .sd-social:not(.sd-social-text),
.page .sd-social {
}

div.sharedaddy .sd-social h3.sd-title {
	font-weight: 400;
	margin-bottom: 1rem;
	margin-right: 10px;
	opacity: .35;
	text-transform: uppercase;
}

div.sharedaddy .sd-social h3.sd-title:before,
div#jp-relatedposts h3.jp-relatedposts-headline em:before {
	display: none;
}

body.single .sd-social-text .sd-title,
body.single .sd-social .sd-content {
	display: inline-block;
	white-space: normal;
}

div.sharedaddy .sd-social .sd-content {
	margin-top: -4px;
}

body .sd-content ul {
	margin-left: -10px !important;
}

body .sd-content ul li {
	margin-bottom: 0;
}

.sharedaddy .sd-social-text .sd-content ul li a.sd-button,
.sharedaddy .sd-social-text .sd-content ul li a.sd-button:hover {
	background: transparent;
	border: none;
}

.sharedaddy .sd-social-text .sd-content ul li a.sd-button {
	box-shadow: none;
	color: black !important;
	line-height: inherit;
	padding: 0;
}

.sd-social-text .sd-content ul li a.sd-button .share-count {
	line-height: 1;
	margin-top: -2px;
	margin-left: 3px;
	vertical-align: middle;
}


div .sd-content ul {
	margin: 0 !important;
}

div .sd-content ul li {
	margin: 0 10px 5px 0;
}

div .sd-content ul li.share-end {
	margin: 0;
}

div .sharing-hidden .inner {
	box-shadow: none;
	max-width: none;
	max-height: 40px;
	padding: 5px;
	left: auto !important;
	top: auto !important;
	bottom: -40px;
	right: 0;
}

div .sharing-hidden .inner:before,
div .sharing-hidden .inner:after {
	display: none;
}

div .sharing-hidden .inner li {
	display: inline;
	white-space: nowrap;
}



/*thickbox*/

body textarea#jp-carousel-comment-form-comment-field,
body .jp-carousel-titleanddesc,
body .jp-carousel-image-meta,
body .jp-carousel-buttons {
	border-color: rgba(0,0,0,.1);
}

body textarea#jp-carousel-comment-form-comment-field {
	border-radius: 0;
	box-shadow: none;
}

body textarea#jp-carousel-comment-form-comment-field,
body textarea#jp-carousel-comment-form-comment-field:focus,
body .jp-carousel-image-meta,
body .jp-carousel-buttons {
	background: #fff;
}

body textarea#jp-carousel-comment-form-comment-field:focus {
	border-color: #000;
}

body .jp-carousel-overlay,
body #TB_overlay {
	background-color: rgba(255,255,255,.9);
}

body div.jp-carousel-buttons a.jp-carousel-commentlink {
	background: none;
	padding-left: 14px !important;
}

body .jp-carousel-image-meta li {
	color: #000 !important;
}

body .jp-carousel-close-hint span {
	background: none;
	border-radius: 0;
	text-indent: -9999px;
}

/*Thickbox video*/

body #TB_window.format-video {
	background: transparent;
	box-shadow: none;
	margin-top: -21% !important;
	margin-left: 15% !important;
	width: 70% !important;
	left: 0;
}

body #TB_title {
	background-color: transparent;
	border: none;
	margin-bottom: 16px;
}

.format-video #TB_ajaxContent {
	height: 0 !important;
	margin: 0 auto;
	overflow: hidden;
	padding-top: 55.2%;
	position: relative;
	width: 100% !important;
}

.format-video #TB_ajaxContent iframe {
	height: 100% !important;
	width: 100% !important;
	position: absolute;
	top: 0;
	left: 0;
}

.format-video #TB_ajaxWindowTitle {
	padding: 0;
}

.format-video #TB_closeAjaxWindow {
	float: right;
	margin-top: 4px;
}

body #TB_closeWindowButton {
	height: 40px;
	width: 40px;
}

body #TB_closeWindowButton:focus .tb-close-icon {
	box-shadow: none;
}

/*JP popup gallery*/

.jp-carousel-wrap .jp-carousel-slide {
	opacity: 0.3;
}

.jp-carousel-wrap .jp-carousel-slide {
	background-color: transparent;
}

.jp-carousel-wrap .jp-carousel-slide img {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.jp-carousel-wrap .jp-carousel-next-button span,
.jp-carousel-wrap .jp-carousel-previous-button span {
	background-image: none;
	text-indent: 0;
}

.jp-carousel-wrap .jp-carousel-slide.selected,
.jp-carousel-wrap .jp-carousel-next-button span,
.jp-carousel-wrap .jp-carousel-previous-button span,
.jp-carousel-wrap .jp-carousel-next-button:hover span,
.jp-carousel-wrap .jp-carousel-previous-button:hover span {
	opacity: 1;
}

.jp-carousel-wrap .jp-carousel-close-hint,
.jp-carousel-next-button span:before,
.jp-carousel-previous-button span:before {
	color: #000;
}

.jp-carousel-next-button span:before,
.jp-carousel-previous-button span:before {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.jp-carousel-wrap .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit,
.jp-carousel-wrap #jp-carousel-comment-form-button-submit {
	background: #fff;
	border: none;
	border-radius: 0;
	color: #000;
	height: 50px;
	line-height: initial;
	padding-left: 3em !important;
	padding-right: 3em !important;
}

.jp-carousel-wrap textarea#jp-carousel-comment-form-comment-field {
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

body div.jp-carousel-fadeaway {
	background: none;
}

/*Related*/

.related-holder {
	padding-left: 60px;
	padding-right: 60px;
}

body .related-holder #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
	opacity: 0;
	visibility: hidden;
	position: relative;
	top: 40px;
	-webkit-transition: .6s ease-out, visibility 0s 0s;
	-moz-transition: .6s ease-out, visibility 0s 0s;
	-ms-transition: .6s ease-out, visibility 0s 0s;
	-o-transition: .6s ease-out, visibility 0s 0s;
	transition: .6s ease-out, visibility 0s 0s;
}

body .related-holder #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(2) {
	-webkit-transition: .6s .1s ease-out, visibility 0s 0s;
	-moz-transition: .6s .1s ease-out, visibility 0s 0s;
	-ms-transition: .6s .1s ease-out, visibility 0s 0s;
	-o-transition: .6s .1s ease-out, visibility 0s 0s;
	transition: .6s .1s ease-out, visibility 0s 0s;
}
body .related-holder #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3) {
	-webkit-transition: .6s .2s ease-out, visibility 0s 0s;
	-moz-transition: .6s .2s ease-out, visibility 0s 0s;
	-ms-transition: .6s .2s ease-out, visibility 0s 0s;
	-o-transition: .6s .2s ease-out, visibility 0s 0s;
	transition: .6s .2s ease-out, visibility 0s 0s;
}

body .related-holder.show-related #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
	top: 0;
	opacity: 1;
	visibility: visible;
}

.related-holder .jp-relatedposts-post:after {
	display: none;
	font-size: 12px;
}

body div#jp-relatedposts {
	margin-top: 5rem;
	margin-bottom: 5em;
}

body div#jp-relatedposts h3.jp-relatedposts-headline {
	opacity: .3;
	margin-bottom: 4rem;
	width: 100%;
}

body div#jp-relatedposts h3.jp-relatedposts-headline em {
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
}

body div#jp-relatedposts div.jp-relatedposts-items,
body div#jp-relatedposts div.jp-relatedposts-items-visual {
	margin-right: 0;
	text-align: center;
}

body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post,
body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
	display: inline-block;
	float: none;
	padding-right: 0;
	opacity: 1;
	text-align: left;
	vertical-align: top;
	width: 25%;
	max-width: 350px;
}

body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(1),
body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(1) {
	float: left;
}

body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3),
body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3) {
	float: right;
}

/* list */
body div#jp-relatedposts .jp-relatedposts-items.jp-relatedposts-list .jp-relatedposts-post {
	width: 30%;
}
body div#jp-relatedposts div.jp-relatedposts-list .jp-relatedposts-post {
	clear: none;
}
body #jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img {
	max-width: 30%;
	margin-right: 20px;
}
div#jp-relatedposts .jp-relatedposts-items.jp-relatedposts-list .jp-relatedposts-post .jp-relatedposts-post-title {
	margin-top: 0px;
}
div#jp-relatedposts .jp-relatedposts-items.jp-relatedposts-list .jp-relatedposts-post > *:not(.jp-relatedposts-post-a) {
	max-width: calc(60% - 20px);
}

div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title,
body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date,
div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context {
	max-width: 220px;
}

div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title {
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.5em;
	letter-spacing: .03em;
}

.jp-relatedposts-post .jp-relatedposts-post-a {
	border: none;
	display: block;
}

div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img {
	margin-bottom: 25px;
}

body div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
	letter-spacing: 0.2px;
	line-height: 1.5em;
}


body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
	border: none;
	font-weight: 300;
}

body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
	display: inline-block;
	margin: 0;
	letter-spacing: 0;
	opacity: 1;
}

body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
	margin-right: 5px;
}

body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs .jp-relatedposts-post-context,
body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs .jp-relatedposts-post-date {
	margin-top: 0;
}

div#jp-relatedposts div.jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt {
	display: none;
}

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover,
body #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a {
	text-decoration: none;
}

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context {
	opacity: 1;
}


/*--------------------------------------------------------------
### Jetpack widgets
--------------------------------------------------------------*/

/* remote posts */

.jetpack-display-remote-posts {
	margin: 0;
}

body .widget_jetpack_display_posts_widget h4 {
	font-size: 18px;
	margin: 0 0 10px;
}

body .widget_jetpack_display_posts_widget h4:not(:first-of-type) {
	padding-top: 20px;
}

.jetpack-display-remote-posts > a:not(.read-more-link) {
	float: left;
	width: 30%;
}

.jetpack-display-remote-posts > a:not(.read-more-link) + p,
.jetpack-display-remote-posts > a:not(.read-more-link) + p + .read-more-link {
	float: right;
	width: 60%;
	text-align: left;
}

div .jetpack-display-remote-posts p {
	font-size: 100%;
}

.jetpack-display-remote-posts .read-more-link {
	margin-top: 10px;
	font-size: 12px;
	font-weight: 700;
}

body .widget-grid-view-image:nth-child(even) a {
	margin: 0 0 0 2px;
}

body .widget-grid-view-image a {
	display: block;
	margin: 0 2px 0 0;
}

/* authors */

body .widget.widget_authors img {
	margin-right: 15px;
	margin-bottom: 20px;
}

/*--------------------------------------------------------------
# IE specific
--------------------------------------------------------------*/

@media all and (min-width:0\0) and (min-resolution:.001dpcm){

	.main-navigation ul ul a {
		word-break: break-all;
	}

}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media only screen and (min-width: 1191px){

	/*Hover States*/
	button:hover,
	#sidebar-toggle:hover,
	input[type="button"]:hover,
	input[type="reset"]:hover,
	input[type="submit"]:hover,
	body .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit:hover,
	body #jp-carousel-comment-form-button-submit:hover,
	#eu-cookie-law input[type="submit"]:hover {
		color: white;
		background: black;
	}

	.menu-toggle:hover {
		color: black;
	}

	.menu-toggle:hover span,
	.menu-toggle:hover span:before,
	.menu-toggle:hover span:after {
		background-color: white;
	}

	body:not(.nav-open) .menu-toggle:hover em.text-open-hover {
		display: block;
	}
	body .menu-toggle:hover em.text-open {
		display: none;
	}

	#sidebar-toggle:hover .arrow:before,
	#sidebar-toggle:hover .arrow:after {
		background: white;
	}

	input[type="text"]:hover,
	input[type="email"]:hover,
	input[type="url"]:hover,
	input[type="password"]:hover,
	input[type="search"]:hover,
	input[type="number"]:hover,
	input[type="tel"]:hover,
	input[type="range"]:hover,
	input[type="date"]:hover,
	input[type="month"]:hover,
	input[type="week"]:hover,
	input[type="time"]:hover,
	input[type="datetime"]:hover,
	input[type="datetime-local"]:hover,
	input[type="color"]:hover,
	textarea:hover,
	select:hover,
	.entry-content a:hover,
	body .tb-close-icon:hover,
	body .tb-close-icon:focus,
	body .jp-carousel-close-hint:hover span {
		opacity: .6;
	}

	#secondary button:hover,
	#secondary input[type="button"]:hover,
	#secondary input[type="reset"]:hover,
	#secondary input[type="submit"]:hover,
	body #secondary  .jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit:hover,
	body #secondary  #jp-carousel-comment-form-button-submit:hover {
		color: black;
		background: white;
	}

	.search-form .search-submit:hover {
		color: black;
		opacity: 1;
	}

	#secondary .search-form .search-submit:hover {
		color: white;
		background: transparent;
	}

	.main-navigation a:hover:after {
		opacity: 1;
		bottom: .47em;
	}

	.main-navigation ul ul a:hover {
		opacity: .5;
	}

	.checkbox.checked:hover:before,
	input[type="checkbox"] + label:hover:before,
	.radio.checked:hover:before,
	input[type="radio"] + label:hover:before {
		opacity: 1;
	}

	.hentry > div:hover .meta-line {
		top: -14px;
	}

	#post-load article .meta-arrow {
		display: inline-block;
		bottom: calc(100% - 5px);
	}

	#post-load article > div:hover .meta-arrow {
		opacity: 1;
		bottom: calc(100% + 1px);
	}

	.entry-content .contact-submit:after {
		opacity: 0;
		-webkit-transform: translateX(-.7em);
		-moz-transform: translateX(-.7em);
		-ms-transform: translateX(-.7em);
		-o-transform: translateX(-.7em);
		transform: translateX(-.7em);
	}

	.entry-content .contact-submit:hover:after {
		opacity: 1;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
	}

	body #infinite-handle span:before {
		opacity: 0;
		-webkit-transform: translateX(-30%);
		-moz-transform: translateX(-30%);
		-ms-transform: translateX(-30%);
		-o-transform: translateX(-30%);
		transform: translateX(-30%);
	}
	body #infinite-handle:hover span:before {
		opacity: 1;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
	}

	.related-holder .jp-relatedposts-post:after {
		display: block;
		opacity: 0;
		-webkit-transform: translateY(-80%);
		-moz-transform: translateY(-80%);
		-ms-transform: translateY(-80%);
		-o-transform: translateY(-80%);
		transform: translateY(-80%);
	}

	.related-holder .jp-relatedposts-post:hover:after {
		opacity: 1;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
	}

	.posts-navigation .nav-previous a:before,
	.posts-navigation .nav-next a:after {
		opacity: 0;
	}
	.posts-navigation .nav-previous a:before {
		-webkit-transform: translateX(-1em);
		-moz-transform: translateX(-1em);
		-ms-transform: translateX(-1em);
		-o-transform: translateX(-1em);
		transform: translateX(-1em);
	}
	.posts-navigation .nav-next a:after {
		-webkit-transform: translateX(1em);
		-moz-transform: translateX(1em);
		-ms-transform: translateX(1em);
		-o-transform: translateX(1em);
		transform: translateX(1em);
	}
	.posts-navigation .nav-previous a:hover:before,
	.posts-navigation .nav-next a:hover:after {
		opacity: 1;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		-o-transform: none;
		transform: none;
	}
}

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


	.custom-logo-link img {
		max-height: 70px;
	}
	.admin-bar .custom-logo-link img {
		max-height: 60px;
	}
	.site-footer {
	    right: 40px;
	    bottom: 40px;
	    max-width: calc(100% - 80px);
	}
	.primary-menu-wrapper .mCSB_container {
	    padding: 60px 0 60px 80px;
	}

	.blog .site-content, .archive .site-content, .search .site-content, .page-template-portfolio-page .site-content {
		padding-top: 110px;
	}
	.page-name,
	#post-load .hentry,
	#post-load .posts-navigation,
	#infinite-handle,
	#post-load section.no-results {
		height: calc(100vh - 110px);
	}
	body .infinite-loader {
		height: calc((100vh - 110px ) /2);
	}
	.page-name, #post-load .hentry, #post-load .posts-navigation, #infinite-handle, body .infinite-loader,
	#post-load section.no-results {
		padding-bottom: 35px;
	}

	/* archive */

	.blog article .featured-content,
	.archive article .featured-content,
	.page-template-portfolio-page article .featured-content {
		margin-bottom: 40px;
	}

	body:not(.search) #post-load .featured-content.vertical-img {
		max-width: 85%;
	}

	/* single */

	.single .vertical-img .entry-header {
		max-width: 400px;
	}

	.single  article:not(.vertical-img) .entry-meta {
		left: -100px;
	}
}

@media only screen and (max-width: 1400px){
	body:not(.search) #post-load .featured-content.vertical-img {
		max-width: 70%;
	}

	.blog article .featured-content, .archive article .featured-content, .page-template-portfolio-page article .featured-content {
	    max-height: 60vh;
	    max-height: calc(100vh - 140px - 180px);
	}
}

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

	.custom-logo-link img {
		max-height: 60px;
	}

	#secondary {
		padding-top: 0;
		padding-bottom: 0;
	}

	/* single */

	.single  article:not(.vertical-img) .entry-meta {
		position: static;
		max-width: 600px;
		margin-top: 0;
		margin-bottom: 2em;
	}

	.single .entry-meta > * {
		display: inline-block;
		margin-right: 2em;
	}

	.single .vertical-img .featured-content-wrapper .featured-content {
		max-width: 75%;
	}

	.single .entry-content {
		margin-bottom: 60px;
		margin-top: 80px;
	}

	.container-push-left {
		left: 0;
	}

	.related-holder {
		padding-left: 0;
		padding-right: 0;
	}

	.container-push-left {
		position: static;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
	}

	/* single nav */
	.post-navigation {
		margin-top: 90px;
		margin-bottom: 20px;
	}

	.post-navigation .nav-previous,
	.post-navigation .nav-next {
		width: 50%;
		padding-right: 20px;
	}

	.post-navigation .nav-next {
		float: right;
	}
	.post-navigation .nav-previous {
		float: left;
	}

	.post-navigation .nav-previous a:after {
		display: none;
	}

	.post-navigation a:before {
		margin-right: 1em;
	}

	.post-navigation .post-nav-title {
	}

	/* archive */

	.page-name .page-bottom {
		bottom: 55%;
	}

	.search .page-name .page-bottom {
		bottom: 38%;
	}

	.page-name .page-search-again {
		margin-top: -20vh;
	}

	.blog .site-content,
	.archive .site-content,
	.search .site-content,
	.page-template-portfolio-page .site-content {
		padding-top: 90px;
		height: 100vh;
	}

	.page-name,
	#post-load .hentry,
	#post-load .posts-navigation,
	#infinite-handle,
	#post-load section.no-results {
		height: calc(100vh - 90px );
	}

	body .infinite-loader {
		height: calc((100vh - 90px) /2);
	}

	.admin-bar.blog .site-content,
	.admin-bar.archive .site-content,
	.admin-bar.search .site-content,
	.admin-bar.page-template-portfolio-page .site-content {
		padding-top: 70px;
		height: calc(100vh - 32px);
	}

	.admin-bar .page-name,
	.admin-bar #post-load .hentry,
	.admin-bar #post-load .posts-navigation,
	.admin-bar #infinite-handle,
	.admin-bar #post-load section.no-results {
		height: calc(100vh - 70px - 32px);
	}

	body.admin-bar .infinite-loader {
		height: calc((100vh - 70px) /2);
	}

	#post-load .hentry .entry-title {
		max-height: 5em;
	}

	#post-load article .entry-meta {
		display: none;
	}
}

@media only screen and (max-width: 900px){
	.site-description {
		display: none;
	}

	.blog article .featured-content,
	.archive article .featured-content,
	.page-template-portfolio-page article .featured-content {
		max-height: 50vh;
		max-height: calc(100vh - 140px - 300px);
	}

	.page-name,
	#post-load .posts-navigation,
	#infinite-handle,
	body .infinite-loader,
	.blog .hentry,
	.archive .hentry,
	.page-template-portfolio-page .hentry {
		padding-right: 80px;
	}

	.hentry .meta-line {
		left: -40px;
	}

	.page-name .page-top,
	.page-name .page-bottom {
		right: 80px;
	}

	/* main menu */
	.primary-menu-wrapper .mCSB_container {
		padding-left: 60px;
	}
	.dropdown-toggle {
		display: none;
	}
	.main-navigation ul ul {
		opacity: 1;
		visibility: inherit;
		position: static;
		width: auto;
	}
	.main-navigation ul ul ul {
		margin-top: 10px;
		padding-bottom: 20px;
	}


	/* single */

	.single .hentry {
		margin-top: 20px;
	}

	.single .vertical-img .featured-content-wrapper {
		max-width: 900px;
		display: block;
		width: 100%;
	}

	.single .vertical-img .featured-content-wrapper,
	.single article:not(.vertical-img) .featured-content-wrapper {
		margin-bottom: 60px;
	}

	.single .vertical-img .featured-content-wrapper .featured-content {
		max-width: 60%;
	}

	.single article .entry-meta {
		margin-bottom: 2em;
	}

	.single .vertical-img .entry-title {
		margin-top: 0;
		margin-bottom: 0;
	}
	.single .vertical-img .entry-header {
		max-width: none;
		display: block;
	}

	.comment-form p:not(.comment-subscription-form):not(.comment-form-cookies-consent) label,
	.comment-form label span {
		position: static;
	}

	body .contact-form textarea {
		height: 5em;
		min-height: 5em;
		margin-top: 0;
	}

	body div#jp-relatedposts div.jp-relatedposts-items,
	body div#jp-relatedposts div.jp-relatedposts-items-visual {
		margin-right: 0;
		white-space: nowrap;
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 10px;
		margin-left: -60px;
		margin-right: -60px;
	}

	body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post,
	body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,
	body div#jp-relatedposts .jp-relatedposts-items.jp-relatedposts-list .jp-relatedposts-post {
		float: none;
		width: 60vw;
		padding-right: 40px;
		padding-bottom: 20px;
		display: inline-block;
		vertical-align: top;
		white-space: normal;
	}

	body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:last-child,
	body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:last-child {
		padding-right: 0;
	}

	body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(1),
	body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(1) {
		float: none;
		margin-left: 60px;
	}
	body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3),
	body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3) {
		float: none;
		margin-right: 60px;
	}

	div#jp-relatedposts .jp-relatedposts-items.jp-relatedposts-list .jp-relatedposts-post > *:not(.jp-relatedposts-post-a) {
		max-width: 100%;
	}
	body #jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img {
		max-width: 100%;
		margin-right: 0;
	}

	body #jp-relatedposts .jp-relatedposts-items img {
		width: 100%;
	}

	form.contact-form input[type=text],
	form.contact-form input[type=email],
	form.contact-form input[type=date],
	form.contact-form select,
	form.contact-form textarea {
		margin-bottom: 2em;
	}
	body .contact-form label {
		margin-bottom: 0.4em;
	}
}

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

	.admin-bar.blog .site-header,
	.admin-bar.archive .site-header,
	.admin-bar.search .site-header,
	.admin-bar.page-template-portfolio-page .site-header {
		top: 30px;
	}

	.admin-bar.blog .site-content,
	.admin-bar.archive .site-content,
	.admin-bar.search .site-content,
	.admin-bar.page-template-portfolio-page .site-content {
		padding-top: 100px;
		height: calc(100vh - 46px);
	}

	.admin-bar .page-name,
	.admin-bar #post-load .hentry,
	.admin-bar #post-load .posts-navigation,
	.admin-bar #post-load section.no-results {
		height: calc(100vh - 100px - 46px);
	}

	.admin-bar #infinite-handle {
		height: calc(100vh - 100px );
	}
	body.admin-bar .infinite-loader {
		height: calc((100vh - 100px ) /2);
	}
}

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


	.custom-logo-link img {
		max-height: 45px;
	}

	.primary-menu-wrapper .mCSB_container {
		padding: 60px 0 60px 20px;
	}

	.menu-toggle em {
		top: calc(50% - 5px - 0.6em);
		padding: 5px;
	}

	/* archive */

	.page-name,
	#post-load .posts-navigation,
	#infinite-handle,
	body .infinite-loader,
	.blog .hentry,
	.archive .hentry,
	.page-template-portfolio-page .hentry {
		padding-right: 50px;
	}

	.hentry .meta-line {
		left: -25px;
	}

	.page-name .page-top,
	.page-name .page-bottom {
		right: 50px;
	}

	.page-name .page-bottom {
		bottom: 50%;
		-webkit-transform: translateY(50%);
		-moz-transform: translateY(50%);
		-ms-transform: translateY(50%);
		-o-transform: translateY(50%);
		transform: translateY(50%);
	}

	.blog article .featured-content,
	.archive article .featured-content,
	.page-template-portfolio-page article .featured-content {
		margin-bottom: 20px;
	}

	.blog article .featured-content, .archive article .featured-content, .page-template-portfolio-page article .featured-content, body:not(.search) #post-load .featured-image.vertical-img img {
		max-height: 80vh;
		max-height: calc(100vh - 200px);
	}

	body:not(.search) #post-load .featured-content.vertical-img {
		max-width: 90%;
	}

	#post-load article > div {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		flex-wrap: wrap;
		align-content: center;
	}

	#post-load .hentry .entry-title {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}

	/* single content */

	.twocolumn .half-width {
		width: 100%;
	}

	.twocolumn > .half-width:nth-child(odd) {
		padding-right: 0;
	}

	.twocolumn > .half-width:nth-child(even) {
		padding-left: 0;
	}

	.comment-content th,
	.entry-content th,
	.comment-content td,
	.entry-content td {
		padding: 8px 5px;
		text-align: center;
	}

	.comments-area {
		margin-top: 4rem;
	}

	.post-navigation .nav-previous,
	.post-navigation .nav-next {
		width: 100%;
		padding-right: 0;
		float: none;
	}

	.post-navigation .nav-previous {
		padding-bottom: 40px;
	}

	body div#jp-relatedposts div.jp-relatedposts-items,
	body div#jp-relatedposts div.jp-relatedposts-items-visual {
		margin-left: -20px;
		margin-right: -20px;
	}

	body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post,
	body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
		padding-right: 30px;
	}

	body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(1),
	body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(1) {
		margin-left: 20px;
	}
	body div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3),
	body div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3) {
		margin-right: 20px;
	}

	/* page */

	.page:not(.page-template-portfolio-page) article .entry-header,
	.error404 article .entry-header {
		box-shadow: 0 0 20px 20px white;
		padding-bottom: 15px;
		margin-bottom: -20px;
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}

	/* widgets */

	#secondary {
		padding-left: 20px;
		padding-right: 20px;
	}

	.search-form .search-submit {
		opacity: 1;
	}

	.big-search .search-form input[type="search"] {
		font-size: 40px;
		padding-right: 60px;
	}
	.big-search .search-submit {
		font-size: 1.1em;
		width: 60px;
	}

	.widget-area .widget_nav_menu:last-child {
		padding-right: 0;
	}

	.widget-area .widget {
		padding-bottom: 60px;
	}

	.widget-area .widget:not(:last-child) {
		margin-right: 0;
	}

	.widget-area .widget,
	.widget-area .widget.widget_nav_menu,
	.widget-area .widget.widget_meta,
	.widget-area .widget.widget_categories,
	.widget-area .widget.widget_archive,
	.widget-area .widget.widget_pages {
		width: 100%;
	}

	body .widget_eu_cookie_law_widget.widget {
		bottom: 0;
		left: 0;
		right: 0;
	}

	body #eu-cookie-law {
		padding-bottom: 60px;
	}

	body #eu-cookie-law input.accept {
		bottom: 10px;
		position: absolute;
		right: 50%;
		-webkit-transform: translateX(50%);
		-moz-transform: translateX(50%);
		-ms-transform: translateX(50%);
		-o-transform: translateX(50%);
		transform: translateX(50%);
	}

	/* footer */

	.site-footer {
		bottom: 10px;
		right: 20px;
		max-width: calc(100% - 40px);
	}

}
