/**
 * Modern Style Pack
 *
 * colors: background #ffffff, accent #5f4b8b
 */

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/* Former serif */
body,
button,
input,
select,
textarea,
.site-description,
body.archive .archive-description,
body.search-results .page-title span,
.menu-wrapper .main-navigation .site-header-cart ul.sub-menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
}

/*--------------------------------------------------------------
# Colour
--------------------------------------------------------------*/
/* Former #3455db */
mark,
ins,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.hentry.color-1,
.bypostauthor > .comment-body .fn,
.widget_akismet_widget .a-stats,
.widget_akismet_widget .a-stats a,
.widget_eventbrite .eb-calendar-widget .simpleTabsNavigation a:focus,
.widget_eventbrite .eb-calendar-widget .simpleTabsNavigation a:hover,
.widget_eventbrite .eb-calendar-widget .simpleTabsNavigation a.current,
.widget_eventbrite .eb-calendar-widget .simpleTabsNavigation a.current:focus,
.widget_eventbrite .eb-calendar-widget .simpleTabsNavigation a.current:hover,
.milestone-widget .milestone-header,
ul.products li.product .button,
ul.products li.product .added_to_cart,
.wc-proceed-to-checkout .checkout-button,
.woocommerce-info,
.demo_store,
.widget_shopping_cart .button,
.widget_price_filter .ui-slider .ui-slider-range,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: #5f4b8b;
}

.required,
.search-form .search-submit:focus,
.search-form .search-submit:hover,
.site-title a:hover,
.site-title a:focus,
a,
.menu-toggle:focus,
.menu-toggle:hover,
.widget-title a:hover,
.widget-title a:focus,
.widgettitle a:hover,
.widgettitle a:focus,
.entry-author .author-link a,
.page-links .page-number,
.comment-author a:hover,
.comment-author a:focus,
.site .wp-playlist-light .wp-playlist-playing,
.site-content .contact-form label span,
.site-main .infinite-loader,
.infinite-scroll #infinite-footer .blog-info a:focus,
.infinite-scroll #infinite-footer .blog-info a:hover,
.site-footer .jetpack-social-navigation a:hover,
.site-footer .jetpack-social-navigation a:focus,
.widget_goodreads div[class^="gr_custom_title"] a,
.widget_goodreads div[class^="gr_custom_container"] a,
.widget-grofile .grofile-meta h4 a:hover,
.widget-grofile .grofile-meta h4 a:hover,
.widget_eventbrite .eb-calendar-widget .calendar .calendar-navigation a,
.widget_authors > ul > li > a:focus,
.widget_authors > ul > li > a:hover,
.star-rating span:before,
p.stars:hover a:before,
p.stars.selected a.active:before,
p.stars.selected a:not(.active):before,
.woocommerce-password-strength.good {
	color: #5f4b8b;
}

blockquote {
	border-color: #5f4b8b;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
.button: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 {
	outline-color: #5f4b8b;
}

/* Former #d91e18 */
.hentry.color-2,
.product .onsale,
table.shop_table_responsive tr td.product-remove a,
ul.product_list_widget > li .remove {
	background-color: #8b66da;
}

/* Former #8a2be2 */
.hentry.color-3 {
	background-color: #3f2180;
}

/* Former #db0a5b */
.hentry.color-4 {
	background-color: #330f80;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.content-area,
.site-header-wrapper,
.site-footer .jetpack-social-navigation,
.site-info {
	margin-left: auto;
	margin-right: auto;
	max-width: 1180px;
}

.site-header {
	padding: 0 0.75em 0.75em;
}

.site-header-wrapper {
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: inherit;
	-ms-flex-wrap: inherit;
	flex-wrap: inherit;
	-webkit-justify-content: inherit;
	-ms-justify-content: inherit;
	justify-content: inherit;
	width: 100%;
}

.site-description {
	display: none;
}

.layout-grid.archive .content-area,
.layout-masonry.archive .content-area,
.layout-grid.blog .content-area,
.layout-masonry.blog .content-area,
.layout-grid.search-results .content-area,
.layout-masonry.search-results .content-area {
	max-width: 1228px;
	max-width: calc(1180px + 3em);
}

.site-footer {
	border-bottom: 0;
	display: block;
}

@media screen and (min-width: 768px) {
	.site-header {
		padding: 0.75em 1.5em 1.5em;
	}

	.site-description {
		display: block;
	}

	.site-info {
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (min-width: 1024px) {
	.widget-area {
		padding-left: 1.5em;
		padding-right: 1.5em;
	}

	.widget-area-wrapper {
		max-width: 1180px;
	}

	.widget-area-wrapper.widget-count-3 {
		-webkit-justify-content: space-between;
		-ms-justify-content: space-between;
		justify-content: space-between;
	}

	.widget-count-3 .widget-column {
		width: calc(33.3333% - 3em);
	}
}

/*--------------------------------------------------------------
# Hero Area
--------------------------------------------------------------*/
.hero-area {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	padding-bottom: 0;
}

.hero-area .post-thumbnail {
	margin: 1.5em 0 0;
	max-width: 1180px;
	order: 2;
}

.square-area .entry-header {
	background: transparent;
}

.hero-area img:not(.emoji) {
	display: block;
	height: auto;
	left: auto;
	max-width: 100%;
	min-height: 0;
	position: relative;
	top: auto;
}

.hero-area .emoji,
.square-area .emoji {
	max-height: 100%;
	max-width: 100%;
	min-height: 0;
	min-width: 0;
	position: inherit;
}

@supports ( object-fit: cover ) {
	.hero-area img {
		-o-object-fit: inherit;
		object-fit: inherit;
	}
}

.hero-area .entry-header {
	background-image: none;
	bottom: auto;
	color: inherit;
	left: auto;
	max-width: 1180px;
	order: 1;
	position: relative;
	text-shadow: none;
}

body.page .hero-area .entry-header,
body.single .hero-area .entry-header {
	padding-bottom: 0;
}

@media screen and (min-width: 568px) {
	.hero-area {
		height: auto;
	}
}

@media screen and (min-width: 768px) {
	.admin-bar .hero-area,
	.hero-area {
		height: auto;
	}

	.hero-area .post-thumbnail {
		margin-left: auto;
		margin-right: auto;
		margin-top: 4.5em;
	}

	.hero-area .menu-scroll-down {
		display: none;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.post-thumbnail {
	position: relative;
}

body.archive .entry-header,
body.blog .entry-header,
body.search-results .entry-header {
	bottom: 50%;
	-webkit-transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	transform: translateY(50%);
}

body.archive .hentry.has-post-thumbnail .entry-header,
body.blog .hentry.has-post-thumbnail .entry-header,
body.search-results .hentry.has-post-thumbnail .entry-header {
	opacity: 0;
	-webkit-transition: opacity 125ms ease-out;
	-moz-transition: opacity 125ms ease-out;
	-o-transition: opacity 125ms ease-out;
	transition: opacity 125ms ease-out;
}

body.archive .hentry.has-post-thumbnail:hover .entry-header,
body.archive .hentry.has-post-thumbnail.hover .entry-header,
body.blog .hentry.has-post-thumbnail:hover .entry-header,
body.blog .hentry.has-post-thumbnail.hover .entry-header,
body.search-results .hentry.has-post-thumbnail:hover .entry-header,
body.search-results .hentry.has-post-thumbnail.hover .entry-header {
	opacity: 1;
}

body.archive .hentry.has-post-thumbnail.hover .entry-link,
body.blog .hentry.has-post-thumbnail.hover .entry-link,
body.search-results .hentry.has-post-thumbnail.hover .entry-link {
	opacity: 0.5;
}

body.archive .hentry.has-post-thumbnail .entry-link:focus,
body.archive .hentry.has-post-thumbnail.hover .entry-link:focus,
body.blog .hentry.has-post-thumbnail .entry-link:focus,
body.blog .hentry.has-post-thumbnail.hover .entry-link:focus,
body.search-results .hentry.has-post-thumbnail .entry-link:focus,
body.search-results .hentry.has-post-thumbnail.hover .entry-link:focus {
	opacity: 0.75;
}

/* Fullbleed Images */
.hentry img.fullbleed,
.hentry div.fullbleed,
.hentry figure.fullbleed {
	left: 50%;
	max-width: 100vw;
	position: relative;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 100vw;
}

@media screen and (min-width: 768px) {
	.hentry img.fullbleed,
	.hentry div.fullbleed,
	.hentry figure.fullbleed {
		margin-left: 0;
		margin-right: 0;
		max-width: 1180px;
		width: 100vw;
	}
}

@media screen and (min-width: 1180px) {
	.hentry img.fullbleed,
	.hentry div.fullbleed,
	.hentry figure.fullbleed {
		width: 1180px;
	}
}

.archive .hentry:last-of-type:before,
.archive .hentry:last-of-type:after,
.blog .hentry:last-of-type:before,
.blog .hentry:last-of-type:after,
.search-results .hentry:last-of-type:before,
.search-results .hentry:last-of-type:after,
ul.products .product:last-of-type:before,
ul.products .product:last-of-type:after {
	display: none;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comments-area {
	border-top: 0;
	padding-top: 0;
}

/*--------------------------------------------------------------
# Post Navigation
--------------------------------------------------------------*/
.post-navigation {
	overflow: inherit;
	z-index: 1;
}

.post-navigation .nav-links {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    position: relative;
    width: 50%;
}

.post-navigation .nav-previous + .nav-next {
	border: 0;
}

.post-navigation .nav-links a {
	background: #fff;
	border: 0 solid #d9d9d9;
	display: inline-block;
	height: 4.5em;
	outline: 4px solid transparent;
	outline-offset: inherit;
	text-align: center;
	width: 4.5em;
}

.post-navigation .nav-links a:focus {
	outline-color: #5f4b8b;
}

.post-navigation .nav-links .nav-previous a {
	border-right-width: 1px;
}

.post-navigation .nav-links .nav-next a {
	border-left-width: 1px;
}

@media screen and (min-width: 768px) {
	.post-navigation {
		border: 0;
	}

	.post-navigation .nav-previous:before,
	.post-navigation .nav-next:before {
		display: none
	}

	.post-navigation .nav-links a {
		border-bottom-width: 1px;
		border-top-width: 1px;
		position: fixed;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
		z-index: 2;
	}

	.post-navigation .nav-links a:focus,
	.post-navigation .nav-links a:hover {
		width: 6em;
	}

	.post-navigation .nav-links .nav-previous a {
		left: 0;
	}

	.post-navigation .nav-links .nav-next a {
		right: 0;
	}

	.widget-area,
	.site-footer {
		position: relative;
		z-index: 3;
	}
}

/*--------------------------------------------------------------
# Jetpack
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Infinite Scroll
--------------------------------------------------------------*/
#infinite-handle {
	padding: 1.5em 0;
}

#infinite-handle span button,
#infinite-handle span button:focus,
#infinite-handle span button:hover {
	border: 0;
}

#infinite-handle span button {
	background: #5f4b8b;
	color: #fff;
}

#infinite-handle span button:focus,
#infinite-handle span button:hover {
	background: #f2f2f2;
	color: #5f4b8b;
}

.site-main .infinite-loader {
	border-top: 0;
	height: 120px;
	height: 7.5em;
}

/*--------------------------------------------------------------
## Related Posts
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
	.hentry div#jp-relatedposts div.jp-relatedposts-items-visual {
		display: grid;
		grid-auto-rows: 1fr;
		grid-gap: 1.5em;
		grid-template-columns: repeat(2, 1fr);
		overflow: hidden;
	}

	.hentry div#jp-relatedposts div.jp-relatedposts-items-visual:before,
	.hentry div#jp-relatedposts div.jp-relatedposts-items-visual:after {
		display: none;
	}

	.hentry div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-of-type(3) {
		display: none;
	}
}

/*--------------------------------------------------------------
## Social Navigation
--------------------------------------------------------------*/
.site-footer .jetpack-social-navigation:before {
	display: none;
}

.site-footer .jetpack-social-navigation ul {
	margin: 0 0 -0.75em;
	padding: 0.75em 0.75em 0;
}

.site-footer .jetpack-social-navigation li {
	border: 0;
	margin: 0 0.375em 0.75em;
}

.site-footer .jetpack-social-navigation a {
	border-radius: 50%;
	border: 1px solid #d9d9d9;
}

.site-footer .jetpack-social-navigation a:focus {
	border-color: #111;
}

.site-footer .jetpack-social-navigation .icon {
	left: 11px;
	top: 11px;
}

/*--------------------------------------------------------------
# WooCommerce
--------------------------------------------------------------*/
.woocommerce .content-area .woocommerce-breadcrumb {
	background: transparent;
	border: 0;
	padding-bottom: 0;
	padding-top: 24px;
	padding-top: 1.5rem;
}

ul.products li.product .woocommerce-loop-product__header,
ul.products li.product .woocommerce-loop-category__title {
	background: none;
	bottom: 50%;
	left: 0;
	opacity: 0;
	padding: 0;
	position: absolute;
	-webkit-transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	transform: translateY(50%);
	-webkit-transition: opacity 125ms ease-in-out;
	-moz-transition: opacity 125ms ease-in-out;
	-o-transition: opacity 125ms ease-in-out;
	transition: opacity 125ms ease-in-out;
	width: 100%;
	z-index: 5;
}

ul.products li.product.hover .woocommerce-loop-product__header,
ul.products li.product.hover .woocommerce-loop-category__title {
	opacity: 1;
}

.layout-default ul.products .product:last-of-type:before,
.layout-default ul.products .product:last-of-type:after,
.layout-grid ul.products .product:last-of-type:before,
.layout-grid ul.products .product:last-of-type:after,
.layout-masonry ul.products .product:last-of-type:before,
.layout-masonry ul.products .product:last-of-type:after {
	display: none;
}

ul.products li.product.hover img {
	opacity: 0.5;
}

ul.products li.product.hover > .woocommerce-LoopProduct-link:focus {
	opacity: 0.75;
}

.single-product div.product .products {
	margin-bottom: 1.5em;
}

@media screen and (min-width: 568px) {
	.layout-grid.woocommerce-page #infinite-handle {
		padding-left: 1.5em;
		padding-right: 1.5em;
	}
}

@media screen and (min-width: 768px) {
	.single-product div.product .products {
		margin-bottom: 4.5em;
	}
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.masonry-wrapper {
	padding: 0;
}

.layout-grid.archive .hentry,
.layout-grid.blog .hentry,
.layout-grid.search-results .hentry {
	margin-left: 0;
	margin-right: 0;
	padding-bottom: 100%;
	width: 100%;
}

.layout-masonry.archive .hentry,
.layout-masonry.blog .hentry,
.layout-masonry.search-results .hentry {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

.layout-grid ul.products .product,
.layout-masonry ul.products .product {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

@media screen and (min-width: 568px) {
	.masonry-wrapper {
		margin-left: -0.75em;
		width: calc(100% + 1.5em);
	}

	.rtl .masonry-wrapper {
		margin-left: 0;
		margin-right: -0.75em;
	}

	.layout-grid.archive:not(.woocommerce-page) .site-main,
	.layout-grid.blog .site-main,
	.layout-grid.search-results .site-main,
	.layout-grid.woocommerce .site-main ul.products,
	.layout-grid.woocommerce-page .site-main ul.products,
	.layout-masonry.woocommerce .site-main ul.products,
	.layout-masonry.woocommerce-page .site-main ul.products {
		margin-left: -0.75em;
		padding-left: 0;
		padding-right: 0;
		width: calc(100% + 1.5em);
	}

	.rtl.layout-grid.archive:not(.woocommerce-page) .site-main,
	.rtl.layout-grid.blog .site-main,
	.rtl.layout-grid.search-results .site-main,
	.rtl.layout-grid.woocommerce .site-main ul.products,
	.rtl.layout-grid.woocommerce-page .site-main ul.products,
	.rtl.layout-masonry.woocommerce .site-main ul.products,
	.rtl.layout-masonry.woocommerce-page .site-main ul.products {
		margin-left: 0;
		margin-right: -0.75em;
	}

	.layout-grid.archive .hentry,
	.layout-grid.blog .hentry,
	.layout-grid.search-results .hentry {
		margin-left: 0.75em;
		margin-right: 0.75em;
		padding-bottom: calc(50% - 1.5em);
		width: calc(50% - 1.5em);
	}

	.layout-masonry.archive .hentry,
	.layout-masonry.blog .hentry,
	.layout-masonry.search-results .hentry {
		margin-left: 0.75em;
		margin-right: 0.75em;
		width: calc(50% - 1.5em);
	}

	.layout-grid ul.products .product,
	.layout-masonry ul.products .product {
		margin-left: 0.75em;
		margin-right: 0.75em;
		width: calc(50% - 1.5em);
	}
}

@media screen and (min-width: 1024px) {
	.masonry-wrapper {
		margin-left: 0;
		padding-left: 0.75em;
		padding-right: 0.75em;
		width: 100%;
	}

	.rtl .masonry-wrapper {
		margin-right: 0;
	}

	.layout-grid.archive:not(.woocommerce-page) .site-main,
	.layout-grid.blog .site-main,
	.layout-grid.search-results .site-main,
	.layout-grid.woocommerce:not(.single) .site-main ul.products,
	.layout-grid.woocommerce-page:not(.single) .site-main ul.products,
	.layout-masonry.woocommerce:not(.single) .site-main ul.products,
	.layout-masonry.woocommerce-page:not(.single) .site-main ul.products {
		margin-left: 0;
		padding-left: 0.75em;
		padding-right: 0.75em;
		width: 100%;
	}

	.rtl.layout-grid.archive:not(.woocommerce-page) .site-main,
	.rtl.layout-grid.blog .site-main,
	.rtl.layout-grid.search-results .site-main,
	.rtl.layout-grid.woocommerce:not(.single) .site-main ul.products,
	.rtl.layout-grid.woocommerce-page:not(.single) .site-main ul.products,
	.rtl.layout-masonry.woocommerce:not(.single) .site-main ul.products,
	.rtl.layout-masonry.woocommerce-page:not(.single) .site-main ul.products {
		margin-right: 0;
	}

	.layout-grid.archive .hentry,
	.layout-grid.blog .hentry,
	.layout-grid.search-results .hentry {
		padding-bottom: calc(33.3333% - 1.5em);
		width: calc(33.3333% - 1.5em);
	}

	.layout-masonry.archive .hentry,
	.layout-masonry.blog .hentry,
	.layout-masonry.search-results .hentry {
		width: calc(33.3333% - 2em);
	}

	.style-pack-modern.layout-grid ul.products .product {
		width: calc(33.3333% - 1.5em);
	}

	.style-pack-modern.layout-masonry ul.products .product {
		width: calc(33.3333% - 2em);
	}
}

.layout-grid #infinite-handle,
.layout-masonry #infinite-handle {
	margin: 0;
	padding-top: 0;
	padding-left: 1.5em;
	padding-right: 1.5em;
	width: 100%;
}

@media screen and (min-width: 568px) {
	.layout-grid #infinite-handle {
		padding-left: 0.75em;
		padding-right: 0.75em;
	}
}