/*
Theme Name: Rania
Theme URI: https://empressthemes.com/shop/rania-theme
Author: EmPress Themes
Author URI: https://empressthemes.com
Description: Our most content-rich theme, Rania offers flexibility to display your latest content alongside popular, evergreen posts, in a variety of feed formats and features. Showcase posts in an editorial style grid layout, or customize it to feel like a traditional blog with a sidebar.

Version: 1.0.8

Please refer to the readme.txt file for full licensing information.

Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, blog

Text Domain: rania

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

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Import Styles
# Typography
# Links
# Forms
# Layout
# Masthead
	## Site Branding
	## Primary Navigation
	## Mobile Navigation
	## Social Menu
	## Search
# Footer
	## Instagram
	## Footer Menu
# Blog post feed
	## Posts
	## Post Navigation
	## Sidebar
		### About Widget
		### Topics Widget
		### Shop Widget
		### Featured Posts Widget
# Single Post
	## Comments
	## Related Posts
# Archives
# Info Page
# Search Form
# 404 / Not Found
# Plugins
	## EmPress Shop the Post
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000;
	font: 13px/1.538 'Work Sans', sans-serif;
	letter-spacing: .02em;
}

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

h1 {
	font: 30px 'CMU Serif', serif;
	letter-spacing: .025em;
	font-weight: normal;
}

h2 {
	font: 30px 'CMU Serif', serif;
	letter-spacing: .025em;
	font-weight: normal;
}

h3 {
	font: 24px 'CMU Serif', serif;
	font-style: italic;
	letter-spacing: .05em;
	font-weight: normal;
}

h4 {
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
}

h5 {
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
}

h6 {
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.entry-title,
.em-fonts-primary {
	font: 30px 'CMU Serif', serif;
	letter-spacing: .025em;
	text-transform: none;
	font-weight: normal;
}

.em-fonts-primary-small {
	font-size: 20px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-bottom: .5em;
}

.entry-content h2 {
	margin-top: .5em;
}

.em-fonts-secondary,
.em-fonts-secondary-small {
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .125em;
}

.em-fonts-tertiary {
	font: 24px 'CMU Serif', serif;
	font-style: italic;
	font-weight: normal;
	text-transform: lowercase;
	letter-spacing: .025em;
}

p {
	margin-bottom: 1.928em;
}

	p:last-of-type {
		margin-bottom: 0;	
	}

blockquote {
	margin: 3em 1.928em;
	border-left: 4px solid #f1f1f1;
	padding-left: 20px;
	font-style: italic;
}

.wp-caption {
	margin-bottom: 1.928em;
	max-width: 100%;
	position: relative;
}

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

.wp-caption .wp-caption-text {
	position: absolute;
	padding: 15px;
	background: #fff;
	bottom: 40px;
	left: 0;
	max-width: 170px;
	transform: translateX(-50%);
	border: 2px solid #F1F1F1;
}

.wp-caption-text {
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	line-height: 2.25em;
	text-align: left;
}

.gallery {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
}

.gallery .gallery-item {
	width: 48.571429%; /* 340/700 */
}

@media screen and (max-width: 1024px) {
	
	.wp-caption .wp-caption-text {
		transform: translateX(0);
	}

}

@media screen and (max-width: 767px) {
	.gallery {
		display: block;
	}

	.gallery .gallery-item {
		width: 100%;
		margin-bottom: 1.5em;
	}

}

.animate {
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
	color: #000;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.post-single .entry-content a,
.info-page .entry-content a {
	font-weight: bold;
	border-bottom: 1px solid transparent;
}

.post-single .entry-content a:hover,
.info-page .entry-content a:hover {
	border-color: #000;
}

.post-single .entry-content .gallery a,
.post-single .entry-content a.has-image,
.info-page .entry-content .gallery a,
.info-page .entry-content a.has-image {
	border: none;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	outline: none;
	cursor: pointer;
	border: none;
	background: #F1F1F1;
	color: #000;
	font: 10px/1em 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	padding: 15px 25px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.button {
	display: inline-block;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
	background: #000;
	color: #fff;
}

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 {
	color: #000;
	font: 13px/1.538 'Work Sans', sans-serif;
	box-sizing: border-box;
	width: 100%;
	border: 3px solid #F1F1F1;
	padding: 15px;
	background: #fff;
}

select {
	border: 2px solid #F1F1F1;
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #000000;
}

label {
	display: block;
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #000000;
	margin-bottom: 5px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #000;
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #000;
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
}
:-ms-input-placeholder { /* IE 10+ */
	color: #000;
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
}
:-moz-placeholder { /* Firefox 18- */
	color: #000;
	font: 10px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
}

/*--------------------------------------------------------------
# Gutenberg
--------------------------------------------------------------*/

p.is-small-text {
    font-size: 80%;
	line-height: 1.5em;
}

p.is-regular-text {
    font-size: inherit;
}

p.is-large-text {
    font-size: 120%;
	line-height: 1.5em;
}

p.is-larger-text {
    font-size: 125%;
	line-height: 1.5em;
}

p.has-drop-cap:not(:focus):first-letter {
    font-size: 525%;
    font-style: normal;
    font-weight: inherit;
    line-height: 80%;
}

.has-small-font-size {
    font-size: 85%;
	line-height: 1.5em;
}

.has-normal-font-size,.has-regular-font-size {
    font-size: inherit;
}

.has-medium-font-size {
    font-size: 125%;
	line-height: 1.5em;
}

.has-large-font-size {
    font-size: 150%;
	line-height: 1.5em;
}

.has-huge-font-size,.has-larger-font-size {
    font-size: 200%;
	line-height: 1.5em;
}

.wp-block-button .wp-block-button__link {
	/* border-radius: 0; */
	font-size: 85%;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.entry-content .wp-block-button a.wp-block-button__link:hover {
	-webkit-box-shadow: none;
    box-shadow: none;
}

.wp-block-pullquote blockquote {
	padding: 0;
	margin: 0;
	border: none;
}

.wp-block-pullquote p,
.wp-block-pullquote.is-style-solid-color blockquote p {
	font-size: 150%;
	line-height: 1.5em;
	text-align: center;
}

.wp-block-pullquote cite {
	display: block;
	text-align: center;
	margin-top: 10px;
}

.wp-block-image {
	position: relative;
}

.wp-block-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
	position: absolute;
	padding: 15px;
	background: #fff;
	color: #000;
	bottom: 40px;
	left: 0;
	max-width: 170px;
	transform: translateX(-50%);
	border: 2px solid #F1F1F1;
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	line-height: 2.25em;
	text-align: left;
}

.wp-block-gallery .blocks-gallery-item figcaption {
	transform: translate(0);
	border: none;
}

.wp-block-gallery {
	margin-left: 0;
	list-style: none;
}

.blocks-gallery-caption {
	display: block;
	width: 100%;
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	line-height: 2.25em;
	text-align: center;
	padding: 20px 35px;
	border: 2px solid #F1F1F1;
}


@media screen and (max-width: 1024px) {
	
	.wp-block-image figcaption {
		transform: translateX(0);
	}

}

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

.wrap {
	width: 90%;
	max-width: 1040px;
	margin: 0 auto;
}

.flex {
	display: flex;
	justify-content: space-between;
}

.flex-wrap {
	flex-wrap: wrap;
}

#content {
	margin-bottom: 150px;
}

#content.side-social-active {
	position: relative;
	max-width: 1100px;
	padding: 0 30px;
}

/* Default Layout: Sidebar Right */

#content,
.post-feed-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.blog #content,
.single #content,
.search-no-results #content,
.error404 #content {
	display: block;
}

#primary,
.post-feed {
	width: 62.019231%; /* 645/1040 */
}

#secondary,
.post-feed-sidebar {
	width: 28.846154%; /* 300/1040 */
}

/* Layout: Sidebar Left */

#content.sidebar-left #primary,
#content.sidebar-left .post-feed {
	order: 2;
}

#content.sidebar-left #secondary,
#content.sidebar-left .post-feed-sidebar {
	order: 1;
}

/* Layout: One Column */

#content.one-column,
#content.one-column .post-feed-container {
	display: block;
}

#content.one-column #primary,
#content.one-column .post-feed {
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
}

@media screen and (max-width: 767px) {
	.flex {
		flex-wrap: wrap;
	}
	
	#content,
	.post-feed-container {
		display: block;
	}
	
	#content.side-social-active {
		padding: 0;
	}
	
	#primary,
	.post-feed {
		width: 100%;
		margin-bottom: 80px;
	}

	#secondary,
	.post-feed-sidebar {
		width: 100%;
		max-width: 350px;
		margin: 0 auto;
	}

}

/*--------------------------------------------------------------
# Masthead
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Site Branding
--------------------------------------------------------------*/

#masthead {
	margin: 55px auto 70px;	
	text-align: center;
}

#site-branding {
	margin-bottom: 50px;
}

.site-title-image {
	text-align: center;
}

.site-title-text {
	font: 64px 'CMU Serif', serif;
	font-style: italic;
	letter-spacing: .025em;
	text-transform: none;
	font-weight: normal;
}

.site-description {
	font: 13px 'CMU Serif', serif;
	text-transform: uppercase;
	letter-spacing: .15em;
	margin-top: 8px;
}

/*--------------------------------------------------------------
## Top Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
### Top Menu
--------------------------------------------------------------*/

#top-navigation {
	padding: 15px 0;
	background: #000;
}

#top-navigation .flex {
	align-items: center;
}

#top-right-menu {
	margin-left: auto;
}

.top-menu li,
.top-menu a {
	color: #fff;
}

.top-menu a {
	border-bottom: 1px solid transparent;
}

.top-menu a:hover {
	border-color: #fff;
}

.top-menu i {
	margin-left: 5px;
}

.top-menu > li {
	display: inline-block;
	margin: 0 15px;
}

.top-menu > li:first-of-type {
	margin-left: 0;
}

.top-menu > li:last-of-type {
	margin-right: 0;
}

.top-menu > li > a {
	display: inline-block;
	padding: 5px 0 4px;
}

.sf-menu > li > .sub-menu {
	width: 160px;
	padding-bottom: 15px;
	background: #000;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}

.sf-menu > li > .sub-menu > li {
	padding: 15px 10px 0 10px;
}

.sf-menu > li > .sub-menu > li > a {
	display: inline-block;
	padding: 5px 0 4px;
	color: #fff;
	border-bottom: 1px solid transparent;
}

.sf-menu > li > .sub-menu > li > a:hover {
	border-color: #fff;
}

.sf-menu > li > .sub-menu > li > .sub-menu {
	width: 160px;
	background: #000;
	padding-bottom: 15px;
	text-align: center;
}

.sf-menu > li > .sub-menu > li > .sub-menu > li {
	padding: 15px 10px 0 10px;
}

.sf-menu > li > .sub-menu > li > .sub-menu > li > a {
	display: inline-block;
	padding: 5px 0 4px;
	color: #fff;
	border-bottom: 1px solid transparent;
}

.sf-menu > li > .sub-menu > li > .sub-menu > li > a:hover {
	border-color: #fff;
}

/*--------------------------------------------------------------
### Social Menu
--------------------------------------------------------------*/

.social-menu.top-menu {
	margin-left: auto;
}

.social-menu.top-menu > li {
	margin: 0 5px;
	font-size: 12px;
}

.social-menu.top-menu > li:first-of-type {
	margin-left: 0;
}

.social-menu.top-menu > li:last-of-type {
	margin-right: 0;
}

.social-menu.top-menu > li > a {
	padding: 4px 0;
	border-bottom: none;
}

.social-menu.top-menu > li > a:hover {
	color: #ccc;
}

.social-menu.side-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	right: -15px;
	top: 0;
	text-align: center;
}

.social-menu.side-menu li {
	font-size: 13px;
	margin-bottom: 15px;
}

.social-menu.side-menu li a {
	color: #000;
}

.social-menu.side-menu li a:hover {
	color: #C5C5C5;
}

.social-menu.scroll-menu > li {
	display: inline-block;
	margin-left: 15px;
	font-size: 12px;
}


@media screen and (max-width: 767px) {
	.social-menu.side-menu {
		display: none;
	}
}

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

#primary-menu > li {
	font-size: 115%;
}

#primary-menu .sub-menu {
	font-size: 10px;
}

.primary-menu > li {
	display: inline-block;
	margin: 0 20px;
}

.primary-menu > li:first-of-type {
	margin-left: 0;
}

.primary-menu > li:last-of-type {
	margin-right: 0;
}


.primary-menu > li > a {
	color: #000;
	display: inline-block;
	padding: 5px 0 4px;
	border-bottom: 1px solid transparent;
}

.primary-menu > li > a:hover {
	border-color: #000;
}

.primary-menu i {
	margin-left: 5px;
}

@media screen and (max-width: 767px) {
	#primary-menu {
		display: none;
	}
}


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

.slicknav_menu {
	display: none;
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .15em;
}

.slicknav_btn {
	display: block;
}

.slicknav_nav li {
	margin-top: 10px;
}

.slicknav_nav i {
	margin-left: 5px;
}

@media screen and (max-width: 767px) {
	.slicknav_menu {
		display: block;
	}
}

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

#scroll-navigation {
	background: #000;
	padding: 20px 0;
	position: fixed;
	top: -100%;
	left: 0;
	width: 100%;
	z-index: 99999;
}

#scroll-navigation .flex {
	align-items: center;
}

#scroll-navigation.aligncenter .flex {
	justify-content: center;
	align-content: center;
	text-align: center;
}

#scroll-navigation a {
	color: #fff;
}

@media screen and (max-width: 1024px) {
	#primary-menu-scroll {
		display: none;
	}
	
	#scroll-navigation .slicknav_menu {
		display: block;
	}
}

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

	#scroll-navigation .social-menu {
		display: none;
	}
	
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Footer Widget Area
--------------------------------------------------------------*/

#footer-widget-area {
	padding: 25px 0;
	margin: 0;
}

#footer-widget-area .widget {
	margin-bottom: 35px;
}

#footer-widget-area .widget:last-of-type {
	margin-bottom: 0;
}


/*--------------------------------------------------------------
## Instagram Widget
--------------------------------------------------------------*/

#footer-widget-area .instagram-pics {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.interstitial #sb_instagram {
	width: 100vw !important;
	margin-left: calc(50% - 50vw);
}

.instagram-pics {
	display: flex;
	justify-content: space-between;
}

	.instagram-pics li {
		margin-right: 10px; 
	}

	.instagram-pics li:last-of-type {
		margin-right: 0; 
	}

	.instagram-pics a,
	.instagram-pics img {
		display: block;
		position: relative;
	}

	.instagram-pics a:before {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 2;
		background: rgba(0,0,0,.5);
		opacity: 0;
		-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-ms-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
		-webkit-backface-visibility: none;
		backface-visibility: none;
	}

	.instagram-pics a:after {
		content: '\f16d';
		display: block;
		font: 24px "Font Awesome 5 Brands";
		color: #fff;
		position: absolute;
		top: 50%;
		left: 50%;
		z-index: 3;
		transform: translate(-50%,-50%);
		opacity: 0;
		-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-ms-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
		-webkit-backface-visibility: none;
		backface-visibility: none;
	}

	.instagram-pics a:hover:before,
	.instagram-pics a:hover:after {
		opacity: 1;
	}

	.null-instagram-feed p.clear {
		font: 11px 'Work Sans', sans-serif;
		text-transform: uppercase;
		letter-spacing: .1em;
		text-align: center;
		margin-top: 30px;
	}

@media screen and (max-width: 767px) {
	.instagram-pics {
		flex-wrap: wrap;
	}

		.instagram-pics li {
			width: 49%;
			margin-bottom: 10px;
			margin-right: 0;
		}

		.instagram-pics li:last-of-type {
			margin-bottom: 0;
		}
}

@media screen and (max-width: 400px) {
	.instagram-pics li {
		width: 100%;
	}

}


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

#footer-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 0;
}

#footer-menu li,
.copyright {
	display: inline-block;
	margin: 0 10px;
	font-size: 9px;
}

	#footer-menu li a,
	.copyright {
		color: #9B9B9B;	
	}

	#footer-menu li a:hover {
		color: #000;	
	}
	
#empress-credit {
	display: inline-block;
	margin-left: 10px;
	color: #9B9B9B;
	font-size: 9px;
}

#empress-credit .icon-emlogo {
	font-size: 8.5px;
}

#empress-credit:hover {
	color: #000;
}

@media screen and (max-width: 767px) {
	#footer-navigation {
		display: block;
		text-align: center;
	}

	#footer-menu li {
		display: block;
		margin: 10px 0;
	}

	#empress-credit {
		display: block;
		margin-left: 0;
		margin-top: 10px;
	}

}

/*--------------------------------------------------------------
# Blog post feed
--------------------------------------------------------------*/

.post-feed-title {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 36px;
	text-transform: none;
	margin-bottom: 45px;
	flex-shrink: 0;
}

.post-feed-title:before {
	content: '';
	display: block;
	height: 1px;
	background: #979797;
	flex-grow: 1;
	margin-right: 30px;
}

.post-feed-title:after {
	content: '';
	display: block;
	height: 1px;
	background: #979797;
	flex-grow: 1;
	margin-left: 30px;
}

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

.post-home {
	margin-bottom: 40px;
	overflow: hidden;
}

.post-home:last-of-type {
	margin-bottom: 0;
}

.post-home .featured-image {
	width: 33.33333333%; /* 215/645 */
}

.featured-image img,
.featured-image a {
	display: block;
}

.featured-image img {
	margin: 0 auto;
}

.post-home .entry-content {
	width: 62.790698%; /* 405/645 */
	margin-top: 15px;
	position: relative;
}

.post-home .entry-header {
	margin-bottom: 10px;
}

.post-home .entry-title {
	font-size: 22px;
}

.post-home .excerpt {
	margin-bottom: 15px;
}

.entry-meta {
	margin-bottom: 10px;
	position: relative;
}

.entry-meta > div {
	display: inline-block;
}

.entry-meta > i {
	margin: 0 5px 0 10px;
	font-size: 3px;
	vertical-align: middle;
}

.entry-meta .em-shop-the-post:before {
	content: 'Shop';
	display: block;
	vertical-align: middle;
	cursor: pointer;
}

.entry-meta .em-shop-code {
	position: absolute;
	width: 100%;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	background: #fff;
	z-index: -1;
	opacity: 0;
	padding-bottom: 30px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.entry-meta .em-shop-the-post:hover .em-shop-code {
	opacity: 1;
	transform: translate(-50%, -10px);
	z-index: 3;
}

.post-home .entry-meta .em-shop-code {
	left: 0;
	transform: translate(0, 0);
}

.post-home .entry-meta .em-shop-the-post:hover .em-shop-code {
	transform: translate(0, -10px);
}

.entry-meta .share {
	position: relative;
}

.entry-meta .share ul {
	position: absolute;
	top: 0;
	width: 80px;
	margin: 0;
	padding: 0;
	opacity: 0;
	list-style: none;
}

.entry-meta .share:hover ul {
	opacity: 1;
}

.entry-meta .share:hover span {
	opacity: 0;
}

.entry-meta .share ul li {
	display: inline-block;
	font-size: 12px;
	margin: 0 5px 0 0;
}

.entry-meta .share ul li:last-of-type {
	margin-right: 0;
}

@media screen and (max-width: 767px) {
	.post-home .featured-image {
		width: 100%;
	}
	
	.post-home .entry-content {
		width: 100%;
	}

}


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

.posts-navigation,
.post-navigation {
	margin-top: 70px;
}

.nav-links {
	display: flex;
	justify-content: space-between;
}

.nav-links .nav-next {
	margin-left: auto;
}

.nav-links a {
	display: block;
	padding: 10px 15px;
}

.nav-previous a {
	border-left: 2px solid #F1F1F1;
}

.nav-next a {
	border-right: 2px solid #F1F1F1;
}

.nav-links a span {
	text-transform: lowercase;
	font-size: 16px;
}

.nav-links a:hover {
	border-width: 5px;
}


/*--------------------------------------------------------------
## Featured Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
### Featured Post
--------------------------------------------------------------*/

.featured-posts {
	margin-bottom: 50px;
}

.post-featured-landscape {
	border: 2px solid #F1F1F1;
	background: #fff;
	overflow: hidden;
}

.post-featured-landscape .featured-image {
	width: calc(100% + 4px);
	margin-left: -2px;
	margin-top: -2px;
	margin-bottom: 20px;
}

.post-featured-landscape .entry-content {
	padding: 0 25px 25px 25px;
}

.post-featured-landscape .entry-header {
	max-width: 900px;
	margin: 0 auto 15px;
	text-align: center;
}

.post-featured-landscape .excerpt {
	max-width: 900px;
	margin: 0 auto 20px;
}

.post-featured-landscape .read-more-button {
	text-align: center;
}

.post-featured-portrait {
	width: 47.596154%; /* 495/1040 */
	border: 2px solid #F1F1F1;
	text-align: center;
	position: relative;
	padding-bottom: 80px;
	overflow: hidden;
}

.post-featured-portrait .featured-image {
	width: calc(100% + 4px);
	margin-left: -2px;
	margin-top: -2px;
	margin-bottom: 20px;
}

.post-featured-portrait .entry-content {
	padding: 0 25px;
}

.post-featured-portrait .read-more-button {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
}

@media screen and (max-width: 767px) {
	.post-featured-portrait {
		width: 100%; /* 495/1040 */
		margin-bottom: 25px;
	}
}


/*--------------------------------------------------------------
### Post Grid
--------------------------------------------------------------*/

.featured-grid {
	padding-top: 75px;
	margin: 75px 0;
	position: relative;
}

.featured-grid:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100vw;
	background: #F1F1F1;
	margin-left: calc(50% - 50vw);
	z-index: -1;
}

.featured-grid.interstitial-1-active {
	padding-top: 0;
	margin: 0;
}

.featured-grid.interstitial-2-active {
	padding-top: 0;
	margin-bottom: 0;
}

.featured-grid.interstitial-1-active:before,
.featured-grid.interstitial-2-active:before {
	display: none;
}

.featured-grid .post-featured-landscape {
	margin-bottom: 75px;
}

.featured-grid .post-feed-title {
	width: 100%;
}

.post-grid {
	width: 31.25%; /* 325/1040 */
	margin-bottom: 75px;
	border: 2px solid #F1F1F1;
	text-align: center;
	position: relative;
	padding-bottom: 80px;
	background: #fff;
	overflow: hidden;
}

.featured-grid.post-count-2 .post-grid,
.featured-grid.post-count-4 .post-grid {
	width: 47.596154%; /* 495/1040 */
}

.post-grid .featured-image {
	width: calc(100% + 4px);
	margin-left: -2px;
	margin-top: -2px;
	margin-bottom: 20px;
}

.post-grid .entry-content {
	padding: 0 25px;
}

.post-grid .entry-title {
	font-size: 22px;
}

.post-grid .read-more-button {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
}


@media screen and (max-width: 767px) {
	.post-grid {
		width: 100%; /* 325/1040 */
		margin-bottom: 25px;
	}

	.featured-grid.post-count-2 .post-grid,
	.featured-grid.post-count-4 .post-grid {
		width: 100%; /* 495/1040 */
	}
}


/*--------------------------------------------------------------
## Sidebar
--------------------------------------------------------------*/

.sidebar .widget {
	margin-bottom: 40px;
}

.sidebar .widget-title {
	margin-bottom: 10px;
	font-size: 16px;
	text-transform: uppercase;
}

@media screen and (max-width: 767px) {
	.sidebar.hide-mobile {
		display: none;
	}
}


/*--------------------------------------------------------------
## Interstitials
--------------------------------------------------------------*/

.interstitial {
	margin: 75px 0;
	padding: 50px 0;
	position: relative;
}

#interstitial-1.interstitial-2-active:not(.post-grid-active) {
	margin-bottom: 0;
	padding-bottom: 10px;
}

#interstitial-2.interstitial-1-active:not(.post-grid-active) {
	margin-top: 0;
	padding-top: 10px;
}

#interstitial-2.post-grid-active {
	margin-top: 0;
}

#interstitial-featured {
	padding: 0;
	margin: 0 0 50px 0;
}

.interstitial:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100vw;
	background: #F1F1F1;
	margin-left: calc(50% - 50vw);
	z-index: -1;
}

#interstitial-featured:before {
	display: none;
}

.interstitial .widget {
	margin-bottom: 25px;
}

.interstitial .widget:last-of-type {
	margin-bottom: 0;
}

.interstitial .widget-title {
	text-align: center;
	margin-bottom: 15px;
}

@media screen and (max-width: 767px) {
	.interstitial.hide-mobile {
		display: none;
	}
}


/*--------------------------------------------------------------
### About Widget
--------------------------------------------------------------*/

.rania_about_widget {
	text-align: center;
	border: 2px solid #F1F1F1;
}

	.rania_about_widget .widget-image {
		width: calc(100% + 4px);
		margin-left: -2px;
		margin-top: -2px;
	}

		.rania_about_widget .widget-image img,
		.rania_about_widget .widget-image a {
			display: block;
		}

	.rania_about_widget .widget-content {
		padding: 25px;
		background: #fff;
	}

	.rania_about_widget .widget-text {
		margin-bottom: 20px;
		font-size: 90%;
		line-height: 2em;
	}

	.rania_about_widget .widget-links {
		font: 11px 'CMU Serif', serif;
		font-style: italic;
	}

		.rania_about_widget .widget-links li {
			display: inline-block;
		}

		.rania_about_widget .widget-links li:after {
			content: '\b7';
			display: inline-block;
			margin: 0 10px;
		}

		.rania_about_widget .widget-links li:last-of-type:after {
			display: none;
		}

		.rania_about_widget .widget-links li a {
			border-bottom: 1px solid transparent;
		}

		.rania_about_widget .widget-links li a:hover {
			border-color: #000;
		}

/*--------------------------------------------------------------
### Highlight Widget
--------------------------------------------------------------*/

.rania_highlight_widget {
	text-align: center;
	border: 2px solid #F1F1F1;
}

.rania_highlight_widget .widget-image {
		width: calc(100% + 4px);
		margin-left: -2px;
		margin-top: -2px;
}

	.rania_highlight_widget .widget-image img,
	.rania_highlight_widget .widget-image a {
		display: block;
	}

	.rania_highlight_widget .widget-image a:hover {
		opacity: .7;
	}

	.rania_highlight_widget .widget-cta a {
		display: block;
		padding: 25px;
		background: #fff;
		line-height: 195%;
	}

	.rania_highlight_widget .widget-cta a:hover {
		background: #F1F1F1;
	}

	.sidebar .rania_highlight_widget .widget-cta a {
		position: relative;
		z-index: -1;
		margin: 0 -2px -2px -2px;
	}

	.sidebar .rania_highlight_widget:hover .widget-cta a {
		z-index: 2;
	}

.interstitial .rania_highlight_widget {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-top: -50px;
	position: relative;
	border: none;
}

#interstitial-featured .rania_highlight_widget {
	margin-top: 0;
}

.interstitial .rania_highlight_widget:last-of-type {
	margin-bottom: -50px;
}

#interstitial-featured .rania_highlight_widget:last-of-type {
	margin-bottom: 0;
}

.interstitial .rania_highlight_widget img {
	margin: 0 auto;
}

.interstitial .rania_highlight_widget .widget-cta {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 90%;
	max-width: 430px;
	font: 12px 'Work Sans', sans-serif;
}


/*--------------------------------------------------------------
### Social Widget
--------------------------------------------------------------*/

.rania_social_widget {
	padding: 25px;
	border: 2px solid #F1F1F1;
}

.rania_social_widget .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.rania_social_widget .widget-title:after {
	content: '';
	display: block;
	height: 2px;
	background: #cfcfcf;
	flex-grow: 1;
	margin-left: 15px;
	margin-right: -60px;
}

.rania_social_widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rania_social_widget ul li {
	width: 50%;
	margin-bottom: 15px;
}

.rania_social_widget ul li i {
	font-size: 15px;
	width: 15px;
	margin-right: 5px;
	text-align: center;
	vertical-align: text-bottom;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.interstitial .rania_social_widget {
	padding: 0;
	border: none;
}

.interstitial .rania_social_widget ul li {
	width: auto;
	flex-grow: 1;
	text-align: center;
	padding: 0 15px;
	margin: 0;
}

.interstitial .rania_social_widget .widget-title {
	display: block;
	text-align: center;
	margin-bottom: 15px;
}

.interstitial .rania_social_widget .widget-title:after {
	display: none;
}


@media screen and (max-width: 767px) {
	.interstitial .rania_social_widget ul li {
		width: 50%;
		margin: 10px 0;
	}
}


/*--------------------------------------------------------------
### Subscription Widget
--------------------------------------------------------------*/

.rania_subscription_widget {
	border: 2px solid #F1F1F1;
}

.rania_subscription_widget .widget-image {
	width: calc(100% + 4px);
	margin-left: -2px;
	margin-top: -2px;
}

.rania_subscription_widget .widget-image img {
	display: block;
}

.rania_subscription_widget .widget-content {
	text-align: center;
	padding: 25px;
}

.rania_subscription_widget .widget-text {
	margin-bottom: 20px;
	font-size: 90%;
	line-height: 2em;
}

.rania_subscription_widget input:not([type="submit"]) {
	text-align: center;
	margin-bottom: 10px;
	background: #f1f1f1;
	padding: 10px;
}

.rania_subscription_widget input[type="submit"],
.rania_subscription_widget button {
	padding: 0;
	background: none;
	color: #000;
	font: 14px 'CMU Serif', serif;
	font-style: italic;
	font-weight: normal;
	text-transform: lowercase;
	letter-spacing: .05em;
}

.interstitial .rania_subscription_widget {
	border: none;
}

.interstitial .rania_subscription_widget .widget-container {
	display: flex;
}

.interstitial .rania_subscription_widget .widget-container > div {
	width: 50%;
	margin: 0;
}

.interstitial .rania_subscription_widget .widget-content {
	display: flex;
	flex-direction: column;
	padding: 25px;
	background: #fff;
	justify-content: center;
	align-items: center;
}

#interstitial-featured .rania_subscription_widget {
	border: 2px solid #F1F1F1;
}

#interstitial-featured .rania_subscription_widget .widget-image {
	margin: -2px 0 -2px -2px;
}

.interstitial .rania_subscription_widget .widget-form-code {
	width: 100%;
}

@media screen and (max-width: 767px) {
	
	.interstitial .rania_subscription_widget .widget-container {
		display: block;
	}
	
	.interstitial .rania_subscription_widget .widget-container > div {
		width: 100%;
	}
	
	#interstitial-featured .rania_subscription_widget .widget-image {
		width: calc(100% + 4px);
	}

}

/*--------------------------------------------------------------
### Shop Widget
--------------------------------------------------------------*/

.rania_shop_widget {
	text-align: center;
}

.rania_shop_widget .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.rania_shop_widget .widget-title:after {
	content: '';
	display: block;
	height: 2px;
	background: #cfcfcf;
	flex-grow: 1;
	margin-left: 15px;
	margin-right: -30px;
}

.rania_shop_widget img,
.rania_shop_widget a {
	display: block;
}

.rania_shop_widget .shop-links li {
	padding: 15px 15px 25px 15px;
	border: 2px solid #f1f1f1;
	margin-bottom: 15px;
}

.rania_shop_widget .shop-links li:last-of-type {
	margin-bottom: 0;
}

.rania_shop_widget .shop-cta {
	margin-top: 25px;
	font: 11px 'CMU Serif', serif;
	font-style: italic;
}

.interstitial .rania_shop_widget {
	padding: 0;
	border: none;
}

.interstitial .rania_shop_widget .widget-title {
	display: block;
	margin-bottom: 15px;
}

.interstitial .rania_shop_widget .widget-title:after {
	display: none;
}

.interstitial .rania_shop_widget .shop-links {
	display: flex;
}

.interstitial .rania_shop_widget .shop-links li {
	padding: 25px;
	background: #fff;
	border: none;
	margin-bottom: 0;
	margin-right: 10px;
	text-align: center;
	width: 0;
	flex-grow: 1;
}

.interstitial .rania_shop_widget .shop-links li:last-of-type {
	margin-right: 0;
}

.interstitial .rania_shop_widget .shop-cta {
	text-align: right;
	text-transform: none;
	letter-spacing: .05em;
}

@media screen and (max-width: 767px) {	
	.interstitial .rania_shop_widget .shop-links {
		display: block;
	}

	.interstitial .rania_shop_widget .shop-links li {
		width: 100%;
		margin-bottom: 10px;
		margin-right: 0;
	}

	.interstitial .rania_shop_widget .shop-links li:last-of-type {
		margin-bottom: 0;
	}
	
	.interstitial .rania_shop_widget .shop-cta {
		text-align: center;
	}
}

/*--------------------------------------------------------------
### Topics Widget
--------------------------------------------------------------*/

.sidebar .rania_topics_widget .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.sidebar .rania_topics_widget .widget-title:after {
	content: '';
	display: block;
	height: 2px;
	background: #cfcfcf;
	flex-grow: 1;
	margin-left: 15px;
	margin-right: -30px;
}

.rania_topics_widget .widget-links li {
	position: relative;
	margin-bottom: 20px;
}

		.rania_topics_widget .widget-links li:last-of-type {
			margin-bottom: 0;
		}

	.rania_topics_widget .widget-links li img,
	.rania_topics_widget .widget-links li a {
		display: block;
		-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-ms-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
	}

		.rania_topics_widget .widget-links li:hover img {
			opacity: .8;
		}

	.rania_topics_widget .widget-links .category-title {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		width: 90%;
		max-width: 205px;
		background: #fff;
		padding: 20px;
		text-align: center;
		font: 12px 'Work Sans', sans-serif;
		-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-ms-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
	}

.interstitial .rania_topics_widget .widget-links {
	display: flex;
}

.interstitial .rania_topics_widget .widget-links li {
	width: 0;
	flex-grow: 1;
	margin-bottom: 0;
	margin-right: 10px;
}

.interstitial .rania_topics_widget .widget-links li:last-of-type {
	margin-right: 0;
}

@media screen and (max-width: 767px) {
	.interstitial .rania_topics_widget .widget-links {
		display: block;
	}

	.interstitial .rania_topics_widget .widget-links li {
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}
	
	.interstitial .rania_topics_widget .widget-links li:last-of-type {
		margin-bottom: 0;
	}
}

/*--------------------------------------------------------------
### Featured Posts Widget
--------------------------------------------------------------*/

.sidebar .rania_featured_posts_widget .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.sidebar .rania_featured_posts_widget .widget-title:after {
	content: '';
	display: block;
	height: 2px;
	background: #cfcfcf;
	flex-grow: 1;
	margin-left: 15px;
	margin-right: -30px;
}

.rania_featured_posts_widget ul li {
	display: flex;
	align-items: center;
	border: 2px solid #f1f1f1;
	margin-bottom: 15px;
}

.rania_featured_posts_widget ul li:last-of-type {
	margin-bottom: 0;
}

.rania_featured_posts_widget .featured-image {
	width: 95px;
	flex-shrink: 0;
	margin: -2px 0 -2px -2px;
}

.rania_featured_posts_widget .entry-title {
	font-size: 85%;
	padding: 10px 15px;
	flex-grow: 1;
}

.interstitial .rania_featured_posts_widget ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.interstitial .rania_featured_posts_widget ul li {
	width: 31.25%;
	background: #fff;
	border-color: #fff;
	margin-bottom: 15px;
}

#interstitial-featured .rania_featured_posts_widget ul li {
	border-color: #f1f1f1;
}

@media screen and (max-width: 767px) {
	.interstitial .rania_featured_posts_widget ul li {
		width: 100%;
	}

}


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

.sidebar .widget_search .widget-title {
	text-align: center;
}

.search-form .input-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 45px;
	height: 49px;
	border: 2px solid #F1F1F1;
	position: relative;
	margin-bottom: 15px;
}

.search-form .input-group i {
	position: absolute;
	top: 0;
	left: 0;
	width: 45px;
	height: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 13px;
	line-height: 16px;
}

.search-form .search-text {
	text-align: center;
	padding: 0;
	border: none;
	background: none;
	font-size: 11px;
}

.search-form button {
	display: block;
	width: 100%;
	text-align: center;
	background: none;
	border: none;
	color: #000;
    font: 14px 'CMU Serif', serif;
    font-style: italic;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: .05em;	padding: 0;
}

.search-form button:hover {
	background: none;
	color: #000;
}


/*--------------------------------------------------------------
### Text Widget
--------------------------------------------------------------*/

.sidebar .widget_text {
	padding: 25px;
	border: 2px solid #f1f1f1;
}

.sidebar .widget_text .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.sidebar .widget_text .widget-title:after {
	content: '';
	display: block;
	height: 2px;
	background: #cfcfcf;
	flex-grow: 1;
	margin-left: 15px;
	margin-right: -60px;
}

.widget_text li {
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: 15px;
	line-height: 170%;
}

.widget_text li:last-of-type {
	margin-bottom: 0;
}

.widget_text p {
	font-size: 90%;
	line-height: 2em;
}

.widget_text a {
	border-bottom: 1px solid #000;	
}

.widget_text li a {
	border-color: transparent;
}

.widget_text li a:hover {
	border-color: #000;
}

.interstitial .widget_text:not(.widget_custom_html) .textwidget {
	padding: 10px;
	background: #fff;
}

/*--------------------------------------------------------------
### Menu Widget
--------------------------------------------------------------*/

.sidebar .widget_nav_menu {
	padding: 25px;
	border: 2px solid #f1f1f1;
}

.sidebar .widget_nav_menu .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.sidebar .widget_nav_menu .widget-title:after {
	content: '';
	display: block;
	height: 2px;
	background: #cfcfcf;
	flex-grow: 1;
	margin-left: 15px;
	margin-right: -60px;
}

.widget_nav_menu li {
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: 10px;
}

.widget_nav_menu li:last-of-type {
	margin-bottom: 0;
}

.widget_nav_menu a {
	border-bottom: 1px solid transparent;	
}

.widget_nav_menu a:hover {
	border-color: #000;	
}


/*--------------------------------------------------------------
### Archives Widget
--------------------------------------------------------------*/

.sidebar .widget_archive {
	padding: 25px;
	border: 2px solid #f1f1f1;
}

.sidebar .widget_archive .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.sidebar .widget_archive .widget-title:after {
	content: '';
	display: block;
	height: 2px;
	background: #cfcfcf;
	flex-grow: 1;
	margin-left: 15px;
	margin-right: -60px;
}

.widget_archive li {
	font: 11px 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: 10px;
}

.widget_archive li:last-of-type {
	margin-bottom: 0;
}

.widget_archive a {
	border-bottom: 1px solid transparent;
}

.widget_archive a:hover {
	border-color: #000;
}

.widget_archive select {
	width: 100%;
	background: #F1F1F1;
	padding: 10px;
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/

.post-single .entry-header {
	text-align: center;
	margin-bottom: 25px;
}

.post-single .entry-meta > i {
	margin: -3px 10px 0 10px;
}

.rania .post-single .em-shop-the-post {
	padding-top: 15px;
	margin-top: 35px;
	border-top: 2px solid #F1F1F1;
}

.rania .post-single .em-shop-title {
	text-transform: lowercase;
	letter-spacing: .025em;
}

.post-single .entry-footer {
	margin-top: 35px;
	padding-top: 25px;
	border-top: 2px solid #F1F1F1;
	justify-content: space-around;
}

.post-single .entry-footer > div {
	padding: 0 10px;
}

.post-single .entry-footer > div:first-of-type {
	padding-left: 0;
}

.post-single .entry-footer > div:last-of-type {
	padding-right: 0;
}

.post-single .entry-footer .entry-meta {
	margin: 0;
}

.post-single .entry-footer .share ul {
	display: inline;
	margin: 0 0 0 5px;
	padding: 0;
	list-style: none;
}

.post-single .entry-footer .share ul li {
	display: inline-block;
	margin-right: 5px;
}

.post-single .entry-footer .share ul li:last-of-type {
	margin-right: 0;
}

@media screen and (max-width: 540px) {
	.post-single .entry-footer > div {
		width: 100%;
		text-align: center;
		padding: 5px 0;
	}
}


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

#related-posts {
	margin-top: 100px;
}

#related-posts .section-title {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 36px;
	text-transform: none;
	margin-bottom: 25px;
	flex-shrink: 0;
}

#related-posts .section-title:before {
	content: '';
	display: block;
	height: 1px;
	background: #979797;
	flex-grow: 1;
	margin-right: 30px;
}

#related-posts .section-title:after {
	content: '';
	display: block;
	height: 1px;
	background: #979797;
	flex-grow: 1;
	margin-left: 30px;
}

#related-posts .post-grid .entry-meta {
	display: none;
}

#related-posts .post-grid {
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	#related-posts .post-grid {
		margin-bottom: 25px;
	}
}


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

#comments {
	max-width: 630px;
	margin: 100px auto 0;
}

#respond {
	margin-bottom: 80px;
}

	#reply-title {
		font-style: normal;
		text-align: center;
		margin-bottom: 15px;
	}

#commentform {
	display: grid;
	grid-template-columns: 38.75% 50%;
	grid-template-rows: auto auto auto auto;
	grid-column-gap: 11.25%;
}

	#commentform label {
		margin-bottom: 5px;
	}

	#commentform p {
		margin-bottom: 20px;
	}

	#commentform .comment-form-author {
		grid-column-start: 1;
		grid-row-start: 1;
	}

	#commentform .comment-form-email {
		grid-column-start: 1;
		grid-row-start: 2;
	}

	#commentform .comment-form-url {
		grid-column-start: 1;
		grid-row-start: 3;
		margin-bottom: 10px;
	}

	#commentform .comment-form-comment {
		grid-column-start: 2;
		grid-row-start: 1;
		grid-row-end: span 3;
		margin-bottom: 0;
	}

	#commentform .form-submit {
		grid-column-start: 2;
		text-align: right;
	}

	#commentform textarea {
		height: 242px;
	}

	#commentform input[type="submit"] {
		padding: 0;
		border: none;
		background: none;
		color: #000;
		font: 18px 'CMU Serif', serif;
		font-style: italic;
		letter-spacing: .05em;
		font-weight: normal;
		text-transform: lowercase;
	}

.comments-title {
	text-align: center;
	margin-bottom: 15px;
}

#comments-section {
	margin-bottom: 80px;
}

#comments-section ol,
#comments-section ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list > li {
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid #979797;
}

.comment-list > li:last-of-type {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}
	.comment-list .children li {
		padding-left: 60px;
		margin-top: 25px;
		position: relative;
	}

	.comment-list .children li:before {
		content: '';
		display: block;
		width: 45px;
		height: 1px;
		background: #000;
		position: absolute;
		top: 7px;
		left: 0;
	}

	.comment-author {
		margin-bottom: 15px;
	}

	.comment-meta {
		font-size: 9px;
		text-align: right;
		color: #9B9B9B;
		margin-top: 15px;
	}

	.comment-date {
		margin-right: 10px;
		padding-right: 10px;
		border-right: 1px solid #9B9B9B;
	}

	.comment-meta a {
		color: #9B9B9B;
	}

	.comment-meta a:hover {
		color: #000;
	}

#single .post-navigation {
	max-width: 630px;
	margin: 0 auto;
}

/*--------------------------------------------------------------
# Archives
--------------------------------------------------------------*/

.archive-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	font-size: 36px;
	text-transform: none;
	margin-bottom: 45px;
	flex-shrink: 0;
}

.archive-title:after {
	content: '';
	display: block;
	height: 1px;
	background: #979797;
	flex-grow: 1;
	margin-left: 30px;
}


/*--------------------------------------------------------------
# Info Page
--------------------------------------------------------------*/

.entry-content .page-title {
	text-align: center;
	margin-bottom: 25px;
}

.page-template-template-full-width #content.one-column #primary {
	max-width: none;
}

.page-template-template-full-width .page {
	max-width: 780px;
	margin: 0 auto;
}

.page-template-template-full-width .page.has-post-thumbnail {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.page-template-template-full-width .page.has-post-thumbnail .featured-image {
	width: 50%; /* 550/1100 */
}

.page-template-template-full-width .page.has-post-thumbnail .entry-content {
	width: 47.272727%; /* 520/1100 */
	margin-top: 35px;
}

.page-template-template-full-width .page.has-post-thumbnail .entry-content .page-title {
	text-align: left;
	margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
	.page-template-template-full-width .page.has-post-thumbnail .featured-image {
		width: 100%; /* 550/1100 */
	}

	.page-template-template-full-width .page.has-post-thumbnail .entry-content {
		width: 100%; /* 520/1100 */
	}

}

/*--------------------------------------------------------------
# 404 / Not Found
--------------------------------------------------------------*/

.not-found {
	max-width: 580px;
	margin: 80px auto;
	text-align: center;
}

.not-found .search-form {
	margin-top: 20px;
}


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

#search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255,0.95);
	z-index: 10001;
}

#search-modal {
	width: 90%;
	max-width: 490px;
	padding: 20px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 10002;
}

#search-modal h2 {
	margin-bottom: 30px;
	text-align: center;
}

#search-modal .search-form {
	display: flex;
	justify-content: space-between;
	padding-bottom: 10px;
	border-bottom: 1px solid #000;
	margin-bottom: 10px;
}

#search-modal input.search-text {
	order: 2;
	font-size: 13px;
	padding: 0 20px 0 0;
	width: 100%;
	flex-grow: 1;
}

#search-modal .search-form button {
	order: 1;
	width: 20px;
}

#search-close {
	font-size: 9px;
	float: right;
}


/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## EmPress Shop the Post
--------------------------------------------------------------*/

.rania .em-shop-the-post {
	padding: 0;
	border: none;
}

.rania .entry-meta .em-shop-title {
	display: none;
}

.rania .em-shop-title {
	font-size: 16px;
	text-align: center;
}


/*--------------------------------------------------------------
## EmPress Grid
--------------------------------------------------------------*/

.rania #template-em-grid {
	width: 100%;
	margin: 0 auto;
}

.rania #em-grid-header {
	margin-bottom: 30px;
	padding: 30px;
	background: #f7f7f7;
}

.rania #em-grid-header h1 {
	text-align: center;
	margin-bottom: 25px;
}

.rania #em-grid {
	align-items: stretch;
}

.rania #template-em-grid .posts-navigation {
	margin: 0;
}

@media screen and (max-width: 1280px) {
	.rania #template-em-grid {
		width: 100%;
	}
}

/*--------------------------------------------------------------
## EmPress Boutiques
--------------------------------------------------------------*/

.rania .template-em-boutiques {
	margin: 0 auto;
}

@media screen and (max-width: 1024px) {
	.rania .template-em-boutiques {
		width: 100%;
	}

}


