/*
 * Chronus Pro CSS
 *
 * Copyright(C) 2020, ThemeZee.com - support@themezee.com
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 *
 * @package Chronus Pro
 */

/*--------------------------------------------------------------
# - CSS Variables
--------------------------------------------------------------*/
:root {
	--header-bar-background-color: #cc5555;
	--header-bar-text-color: #fff;
	--header-bar-text-hover-color: rgba(255, 255, 255, 0.5);
	--header-bar-border-color: rgba(255, 255, 255, 0.1);
}

/*--------------------------------------------------------------
# Header Bar
--------------------------------------------------------------*/
.header-bar-wrap {
	width: 100%;
	background-color: #cc5555;
	background-color: var(--header-bar-background-color);
}

.header-bar {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 0 1em;
	max-width: 1300px;
}

/* Social Icons */
.header-bar .social-icons-navigation {
	order: 2;
	margin-left: auto;
}

.header-bar .social-icons-menu {
	display: flex;
	flex-flow: row wrap;
	margin: 0;
	padding: 0;
	border: none;
	list-style: none;
}

.header-bar .social-icons-menu li {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: none;
	list-style: none;
}

.header-bar .social-icons-menu li a {
	display: block;
	margin: 0;
	padding: 0.7em;
}

.header-bar .social-icons-menu li a .icon {
	margin: 0;
	width: 24px;
	height: 24px;
	vertical-align: middle;
	fill: #fff;
	fill: var(--header-bar-text-color);
}

.header-bar .social-icons-menu li a:hover .icon {
	fill: rgba(255, 255, 255, 0.5);
	fill: var(--header-bar-text-hover-color);
}

/* Secondary Navigation */
.secondary-navigation {
	position: relative;
	width: 100%;
	order: 3;
}

/* Hide the menu on small screens when JavaScript is available. */
.top-navigation ul,
.top-navigation .menu-item-has-children > a > .icon,
.top-navigation ul a > .icon {
	display: none;
}

.top-navigation.toggled-on > ul.menu {
	display: block;
}

/* Top Navigation Toggle */
.secondary-menu-toggle {
	display: flex;
	margin: 0;
	padding: 0.75em;
	border: none;
	background: none;
	color: #fff;
	color: var(--header-bar-text-color);
	text-decoration: none;
	font-size: 17px;
	font-size: 1.0625rem;
	font-family: "Rambla", arial, helvetica, sans-serif;
	font-family: var(--navi-font);
	font-weight: normal;
	font-weight: var(--navi-font-weight);
	text-transform: none;
	text-transform: var(--navi-text-transform);
	text-align: left;
	align-items: center;
}

.secondary-menu-toggle .menu-toggle-text {
	margin-left: 0.75em;
}

.secondary-menu-toggle:focus {
	outline: thin dotted;
	color: #fff;
	color: var(--header-bar-text-color);
	background: none;
}

.secondary-menu-toggle:hover,
.secondary-menu-toggle:active {
	color: rgba(255, 255, 255, 0.5);
	color: var(--header-bar-text-hover-color);
	background: none;
	cursor: pointer;
}

.secondary-menu-toggle .icon {
	margin: 0;
	width: 22px;
	height: 22px;
	vertical-align: top;
	fill: #fff;
	fill: var(--header-bar-text-color);
}

.secondary-menu-toggle:hover .icon,
.secondary-menu-toggle:active .icon {
	fill: rgba(255, 255, 255, 0.5);
	fill: var(--header-bar-text-hover-color);
}

.secondary-menu-toggle[aria-expanded="true"] .icon-menu,
.secondary-menu-toggle[aria-expanded="false"] .icon-close {
	display: none;
}

.secondary-menu-toggle[aria-expanded="true"] .icon-close {
	display: inline-block;
}

/* Menu Items Styling */
.top-navigation ul {
	margin: 0;
	padding: 0;
	color: #fff;
	color: var(--header-bar-text-color);
	list-style: none;
	font-size: 17px;
	font-size: 1.0625rem;
	font-family: "Rambla", arial, helvetica, sans-serif;
	font-family: var(--navi-font);
	font-weight: normal;
	font-weight: var(--navi-font-weight);
	text-transform: none;
	text-transform: var(--navi-text-transform);
}

.top-navigation > ul {
	border-top: 1px solid;
	border-color: rgba(255, 255, 255, 0.1);
	border-color: var(--header-bar-border-color);
}

.top-navigation ul li {
	position: relative;
	margin: 0;
}

.top-navigation ul a {
	display: block;
	margin: 0;
	padding: 0.75em 1em;
	border-bottom: 1px solid;
	border-color: rgba(255, 255, 255, 0.1);
	border-color: var(--header-bar-border-color);
	text-decoration: none;
}

.top-navigation ul a,
.top-navigation ul a:link,
.top-navigation ul a:visited {
	color: #fff;
	color: var(--header-bar-text-color);
	text-decoration: none;
}

.top-navigation ul a:hover,
.top-navigation ul a:active,
.top-navigation ul a:focus {
	color: rgba(255, 255, 255, 0.5);
	color: var(--header-bar-text-hover-color);
}

.top-navigation ul li.current-menu-item > a {
	text-decoration: underline;
}

/* Submenus */
.top-navigation ul ul {
	font-size: 15px;
	font-size: 0.9375rem;
}

.is-amp-page .top-navigation ul button.toggled-on + ul,
.top-navigation ul ul.toggled-on {
	display: block;
}

.top-navigation ul ul a {
	padding-left: 2em;
}

.top-navigation ul ul ul a {
	padding-left: 3em;
}

.top-navigation ul ul ul ul a {
	padding-left: 4em;
}

/* Submenu Dropdown Toggles */
.top-navigation .dropdown-toggle {
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	padding: 0.85em 1em;
	background: none;
	border: none;
}

.top-navigation .dropdown-toggle:focus {
	outline: thin dotted;
	background: none;
}

.top-navigation .dropdown-toggle:hover,
.top-navigation .dropdown-toggle:active {
	background: none;
}

.top-navigation .dropdown-toggle .icon {
	margin: 0.3em 0 0;
	width: 20px;
	height: 20px;
	vertical-align: top;
	fill: #fff;
	fill: var(--header-bar-text-color);
}

.top-navigation .dropdown-toggle:hover .icon,
.top-navigation .dropdown-toggle:active .icon {
	fill: rgba(255, 255, 255, 0.5);
	fill: var(--header-bar-text-hover-color);
}

.top-navigation .dropdown-toggle.toggled-on .icon {
	-ms-transform: rotate(-180deg); /* IE 9 */
	-webkit-transform: rotate(-180deg); /* Chrome, Safari, Opera */
	transform: rotate(-180deg);
}

.top-navigation ul ul .dropdown-toggle {
	padding: 0.65em 0.8em;
}

.top-navigation ul ul .dropdown-toggle .icon {
	width: 18px;
	height: 18px;
}

@media only screen and (min-width: 40em) {
	.header-bar {
		padding-left: 1.5em;
		padding-right: 1.5em;
	}
}

@media only screen and (min-width: 60em) {
	.secondary-menu-toggle,
	.top-navigation .dropdown-toggle {
		display: none;
	}

	.top-navigation ul,
	.top-navigation ul ul {
		display: block;
	}

	.secondary-navigation {
		display: flex;
		width: auto;
		align-items: center;
		order: 1;
	}

	#header-bar .top-navigation > ul.menu {
		display: flex;
		flex-flow: row wrap;
		margin: 0;
		border-bottom: none;
	}

	.top-navigation > ul,
	.top-navigation > ul > li > a {
		border: none;
	}

	/* Dropdown Menus */
	.top-navigation ul ul {
		position: absolute;
		left: -999em;
		top: 100%;
		z-index: 99999;
		border-top: 2px solid;
		border-color: rgba(255, 255, 255, 0.1);
		border-color: var(--header-bar-border-color);
		background-color: #cc5555;
		background-color: var(--header-bar-background-color);
		font-size: 16px;
		font-size: 1rem;
	}

	.top-navigation ul li:hover > ul,
	.top-navigation ul li.focus > ul {
		right: auto;
		left: 0;
	}

	.top-navigation ul ul li a {
		width: 16rem;
	}

	.top-navigation ul ul ul {
		left: -999em;
		margin-top: -2px;
		top: 0;
	}

	.top-navigation ul ul li:hover > ul,
	.top-navigation ul ul li.focus > ul {
		right: auto;
		left: 100%;
	}

	.top-navigation ul ul li a,
	.top-navigation ul ul ul li a,
	.top-navigation ul ul ul ul li a {
		padding: 0.75em 1em;
	}

	/* Dropdown Icons */
	.top-navigation .menu-item-has-children > a > .icon {
		position: relative;
		display: inline-block;
		left: 0.5rem;
		top: 0.1rem;
		width: 13px;
		height: 13px;
		fill: #fff;
		fill: var(--header-bar-text-color);
	}

	.top-navigation ul ul .menu-item-has-children > a > .icon {
		position: absolute;
		left: auto;
		right: 1em;
		top: 50%;
		margin-top: -0.4rem;
		-webkit-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}

	.top-navigation ul .menu-item-has-children > a:hover > .icon {
		fill: rgba(255, 255, 255, 0.5);
		fill: var(--header-bar-text-hover-color);
	}
}

@media only screen and (min-width: 80em) {
	.header-bar {
		padding-left: 2em;
		padding-right: 2em;
	}
}

/*--------------------------------------------------------------
# Header Search
--------------------------------------------------------------*/
.header-search .header-search-form {
	position: absolute;
	right: 0;
	display: none;
	margin: 0;
	padding: 1em;
	background-color: #fff;
	background-color: var(--page-background-color);
	border: 1px solid;
	border-color: rgba(0, 0, 0, 0.075);
	border-color: var(--light-border-color);
	z-index: 999;
}

.header-search .header-search-form.toggled-on {
	display: block;
}

.header-search .header-search-form .search-form {
	min-width: 300px;
}

.header-search .header-search-icon {
	padding: 1em;
	border: none;
	font-size: 20px;
}

.header-search .header-search-icon:hover {
	cursor: pointer;
}

.header-search .header-search-icon:focus {
	outline: none;
}

.header-search .header-search-icon .icon-search {
	display: block;
	margin: 0.05em 0 0;
	padding: 0;
	width: 24px;
	height: 24px;
	fill: #303030;
	fill: var(--navi-color);
}

.header-search .header-search-icon:hover .icon-search,
.header-search .header-search-icon:active .icon-search {
	fill: #cc5555;
	fill: var(--navi-hover-color);
}

@media only screen and (max-width: 57.5em) {
	.header-search .header-search-form {
		position: static;
		display: block !important;
		visibility: visible;
		margin: 0.5em 0 1.5em;
		padding: 0;
		background: none;
		border: none;
	}

	.header-search .header-search-form .search-form {
		margin: 0 auto;
		min-width: auto;
	}

	.header-search .header-search-icon {
		display: none;
	}
}

/*--------------------------------------------------------------
# Widget Areas
--------------------------------------------------------------*/
.before-header-widget-area {
	margin-top: 2.5em;
}

.before-header-widget-area .widget:last-child {
	margin-bottom: 0;
}

@media only screen and (max-width: 80em) {
	.before-header-widget-area {
		margin-top: 2em;
	}
}

@media only screen and (max-width: 40em) {
	.before-header-widget-area {
		margin-top: 1.5em;
	}
}

/*--------------------------------------------------------------
# Magazine Post Widgets
--------------------------------------------------------------*/

/* Magazine Posts Boxed Widget Horizontal Style */
.widget-magazine-posts .magazine-horizontal-box .large-post {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.widget-magazine-posts .magazine-horizontal-box .large-post .wp-post-image-link {
	box-sizing: border-box;
	margin: 0;
	padding-right: 1em;
	width: 50%;
}

.widget-magazine-posts .magazine-horizontal-box .large-post .post-content {
	box-sizing: border-box;
	padding-left: 1em;
	width: 50%;
}

.widget-magazine-posts .magazine-horizontal-box .large-post .wp-post-image {
	margin: 0;
}

.widget-magazine-posts .magazine-horizontal-box .medium-posts {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -2em;
}

.widget-magazine-posts .magazine-horizontal-box .medium-posts .post-column {
	box-sizing: border-box;
	padding-right: 2em;
	width: 33.33333333%;
}

/* Magazine Posts Boxed Widget Vertical Style */
.widget-magazine-posts .magazine-vertical-box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.widget-magazine-posts .magazine-vertical-box .large-post-wrap {
	box-sizing: border-box;
	padding-right: 1em;
	width: 50%;
}

.widget-magazine-posts .magazine-vertical-box .small-posts {
	box-sizing: border-box;
	padding-left: 1em;
	width: 50%;
}

/* Magazine Posts List */
.widget-magazine-posts .magazine-list .type-post {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.widget-magazine-posts .magazine-list .type-post .wp-post-image-link {
	box-sizing: border-box;
	margin: 0;
	padding-right: 1em;
	width: 50%;
}

.widget-magazine-posts .magazine-list .type-post .post-content {
	box-sizing: border-box;
	padding-left: 1em;
	width: 50%;
}

.widget-magazine-posts .magazine-list .type-post .wp-post-image {
	margin: 0;
}

@media only screen and (max-width: 70em) {
	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content p,
	.widget-magazine-posts .magazine-list .type-post .entry-content p {
		margin-bottom: 0;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .more-link,
	.widget-magazine-posts .magazine-list .type-post .more-link {
		display: none;
	}
}

@media only screen and (max-width: 65em) {
	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content,
	.widget-magazine-posts .magazine-list .type-post .entry-content {
		display: none;
	}
}

@media only screen and (max-width: 57.5em) {
	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content,
	.widget-magazine-posts .magazine-horizontal-box .large-post .more-link,
	.widget-magazine-posts .magazine-list .type-post .entry-content,
	.widget-magazine-posts .magazine-list .type-post .more-link {
		display: inline-block;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content p,
	.widget-magazine-posts .magazine-list .type-post .entry-content p {
		margin-bottom: 1.5em;
	}
}

@media only screen and (max-width: 50em) {
	.widget-magazine-posts .magazine-horizontal-box .large-post .more-link,
	.widget-magazine-posts .magazine-list .type-post .more-link {
		display: none;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content p,
	.widget-magazine-posts .magazine-list .type-post .entry-content p {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 45em) {
	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content,
	.widget-magazine-posts .magazine-list .type-post .entry-content {
		display: none;
	}
}

@media only screen and (max-width: 40em) {
	.widget-magazine-posts .magazine-horizontal-box .large-post,
	.widget-magazine-posts .magazine-vertical-box {
		display: block;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .wp-post-image-link,
	.widget-magazine-posts .magazine-vertical-box .large-post-wrap {
		padding-right: 0;
		width: 100%;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .post-content,
	.widget-magazine-posts .magazine-vertical-box .small-posts {
		padding-left: 0;
		width: 100%;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .wp-post-image {
		margin: 0 0 1.25em;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .more-link,
	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content {
		display: inline-block;
	}

	.widget-magazine-posts .magazine-horizontal-box .large-post .entry-content p {
		margin-bottom: 1.5em;
	}

	.widget-magazine-posts .magazine-horizontal-box .medium-posts {
		display: block;
		margin-right: 0;
	}

	.widget-magazine-posts .magazine-horizontal-box .medium-posts .post-column {
		padding-right: 0;
		width: 100%;
	}

	.widget-magazine-posts .magazine-list .type-post .wp-post-image-link {
		padding-right: 0;
		width: 40%;
	}

	.widget-magazine-posts .magazine-list .type-post .post-content {
		padding-left: 1.5em;
		width: 60%;
	}

	.widget-magazine-posts-list .magazine-list .large-post .entry-title {
		font-size: 20px;
		font-size: 1.25rem;
	}

	.widget-magazine-posts-list .magazine-list .large-post .entry-meta {
		font-size: 14px;
		font-size: 0.875rem;
	}
}

@media only screen and (max-width: 30em) {
	.widget-magazine-posts-list .magazine-list .large-post .entry-title {
		font-size: 18px;
		font-size: 1.125rem;
	}

	.widget-magazine-posts-list .magazine-list .large-post .entry-meta .meta-author {
		display: none;
	}

	.widget-magazine-posts-list .magazine-list .large-post .entry-meta .meta-date::after {
		display: none;
	}
}

@media only screen and (max-width: 20em) {
	.widget-magazine-posts-list .magazine-list .large-post .entry-title {
		font-size: 16px;
		font-size: 1rem;
	}

	.widget-magazine-posts-list .magazine-list .large-post .entry-meta {
		display: none;
	}
}

/*--------------------------------------------------------------
# Author Bio
--------------------------------------------------------------*/
.entry-author {
	margin: 0 0 1.5em;
	padding: 1.5em 0 1.35em;
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color: rgba(0, 0, 0, 0.075);
	border-color: var(--light-border-color);
}

.entry-author .author-avatar {
	float: left;
	margin: 0 1.5em 0.15em 0;
	max-width: 25%;
}

.entry-author .author-avatar img {
	vertical-align: top;
}

.entry-author .author-heading .author-title {
	display: inline-block;
	margin: 0 1em 0.25em 0;
	padding: 0;
	color: #303030;
	color: var(--widget-title-color);
	font-size: 20px;
	font-size: 1.25rem;
	font-family: "Rambla", arial, helvetica, sans-serif;
	font-family: var(--widget-title-font);
	font-weight: normal;
	font-weight: var(--widget-title-font-weight);
	text-transform: none;
	text-transform: var(--widget-title-text-transform);
	line-height: 1.4;
	line-height: var(--title-line-height);
}

.entry-author .author-heading .author-link {
	display: inline-block;
	margin: 0 0 0.5em;
	font-size: 16px;
	font-size: 1rem;
}

.entry-author .author-bio {
	margin: 0;
	font-size: 17px;
	font-size: 1.0625rem;
}

@media only screen and (max-width: 30em) {
	.entry-author .author-avatar {
		float: none;
		margin: 0 0 1em;
		max-width: 100%;
	}

	.entry-author .author-heading .author-title {
		display: block;
		margin: 0 0 0.25em;
	}

	.entry-author .author-heading .author-link {
		display: block;
	}
}

/*--------------------------------------------------------------
# Footer Widgets
--------------------------------------------------------------*/
.footer-widgets-background {
	padding: 2.5em 0 0;
	border-top: 1px solid;
	border-color: rgba(0, 0, 0, 0.075);
	border-color: var(--light-border-color);
}

.footer-widgets {
	display: flex;
	flex-wrap: wrap;
	margin-right: -2.5em;
}

.footer-widget-column {
	flex-grow: 1;
	box-sizing: border-box;
	padding-right: 2.5em;
	width: 25%;
}

@media only screen and (max-width: 80em) {
	.footer-widgets-background {
		padding: 2em 0 0;
	}

	.footer-widgets {
		margin-right: -2em;
	}

	.footer-widget-column {
		padding-right: 2em;
	}
}

@media only screen and (max-width: 65em) {
	.footer-widget-column:nth-child(1):nth-last-child(4),
	.footer-widget-column:nth-child(2):nth-last-child(3),
	.footer-widget-column:nth-child(3):nth-last-child(2),
	.footer-widget-column:nth-child(4):nth-last-child(1) {
		width: 50%;
	}
}

@media only screen and (max-width: 50em) {
	.footer-widget-column:nth-child(1):nth-last-child(3),
	.footer-widget-column:nth-child(2):nth-last-child(2),
	.footer-widget-column:nth-child(3):nth-last-child(1) {
		width: 100%;
	}
}

@media only screen and (max-width: 35em) {
	.footer-widgets {
		margin-right: 0;
	}

	#footer-widgets .footer-widget-column {
		padding-right: 0;
		width: 100%;
	}
}

/*--------------------------------------------------------------
# Footer Navigation
--------------------------------------------------------------*/
.footer-navigation {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	border-top: 1px solid;
	border-color: rgba(0, 0, 0, 0.075);
	border-color: var(--light-border-color);
}

.footer-navigation-menu {
	display: flex;
	flex-flow: row wrap;
	margin: 0;
	padding: 0;
	list-style-position: outside;
	list-style-type: none;
	font-size: 20px;
	font-size: 1.25rem;
	font-family: "Rambla", arial, helvetica, sans-serif;
	font-family: var(--navi-font);
	font-weight: normal;
	font-weight: var(--navi-font-weight);
	text-transform: none;
	text-transform: var(--navi-text-transform);
}

.footer-navigation-menu li {
	display: inline-block;
}

.footer-navigation-menu a {
	display: block;
	margin: 0;
	padding: 0.75em 1em;
	color: #303030;
	color: var(--navi-color);
	text-decoration: none;
}

.footer-navigation-menu a:link,
.footer-navigation-menu a:visited {
	color: #303030;
	color: var(--navi-color);
	text-decoration: none;
}

.footer-navigation-menu a:hover,
.footer-navigation-menu a:active {
	color: #cc5555;
	color: var(--navi-hover-color);
}

.footer-navigation-menu li.current-menu-item > a {
	text-decoration: underline;
}

@media only screen and (max-width: 40em) {
	.footer-navigation-menu {
		display: block;
		text-align: center;
	}

	.footer-navigation-menu li {
		display: block;
	}

	.footer-navigation-menu a {
		font-size: 18px;
		font-size: 1.125rem;
	}
}

/*--------------------------------------------------------------
# Scroll to Top Button
--------------------------------------------------------------*/
.scroll-to-top-button {
	position: fixed;
	right: 0.75em;
	bottom: 0.75em;
	z-index: 9999;
	display: inline;
	margin: 0 auto;
	padding: 0;
	width: 45px;
	height: 45px;
	background-color: #fff;
	background-color: var(--page-background-color);
	border: 1px solid;
	border-color: rgba(0, 0, 0, 0.075);
	border-color: var(--light-border-color);
	cursor: pointer;
	opacity: 0;
	-webkit-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.scroll-to-top-button.visible {
	opacity: 1;
}

.scroll-to-top-button .icon {
	margin: 0.15em 0 0;
	width: 22px;
	height: 22px;
	vertical-align: top;
	fill: #cc5555;
	fill: var(--button-color);
}

.scroll-to-top-button:hover .icon {
	fill: #303030;
	fill: var(--button-hover-color);
}
