/*
 * Dynamico Pro CSS
 *
 * Copyright(C) 2021, 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 Dynamico Pro
 */

/*--------------------------------------------------------------
# - CSS Variables
--------------------------------------------------------------*/
:root {
	--dynamico--header-bar-background-color: #e84747;
	--dynamico--header-bar-text-color: #fff;
	--dynamico--header-bar-hover-color: #333;
	--dynamico--header-bar-hover-text-color: #fff;
	--dynamico--footer-widgets-background-color: #333;
	--dynamico--footer-widgets-overlay-color: rgba(255, 255, 255, 0.05);
	--dynamico--footer-widgets-text-color: #fff;
	--dynamico--footer-widgets-link-color: rgba(255, 255, 255, 0.6);
	--dynamico--footer-widgets-link-hover-color: rgba(255, 255, 255, 0.8);
	--dynamico--footer-widgets-title-color: rgba(255, 255, 255, 0.1);
	--dynamico--footer-widgets-border-color: rgba(255, 255, 255, 0.1);
}

/*--------------------------------------------------------------
# Header Bar
--------------------------------------------------------------*/
.header-bar-wrap {
	background-color: #e84747;
	background-color: var(--dynamico--header-bar-background-color);
}

.header-bar {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
}

.header-bar .social-menu-wrap {
	order: 2;
	margin-left: auto;
}

.secondary-navigation {
	position: relative;
	width: 100%;
	order: 3;
}

.top-navigation ul {
	margin: 0;
	padding: 0;
	color: #fff;
	color: var(--dynamico--header-bar-text-color);
	list-style: none;
	font-size: 14px;
	font-size: 0.875rem;
}

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

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

/* Menu Items Styling */
.top-navigation ul li {
	position: relative;
	margin: 0;
}

.top-navigation ul a {
	display: block;
	margin: 0;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
}

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

.top-navigation ul a:hover,
.top-navigation ul a:active,
.top-navigation ul a:focus {
	color: #fff;
	color: var(--dynamico--header-bar-hover-text-color);
	background-color: #333;
	background-color: var(--dynamico--header-bar-hover-color);
}

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

/* Submenus */
.top-navigation ul ul {
	background-color: #e84747;
	background-color: var(--dynamico--header-bar-background-color);
}

.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: 2.5rem;
}

.top-navigation ul ul ul a {
	padding-left: 3.75rem;
}

.top-navigation ul ul ul ul a {
	padding-left: 5rem;
}

/* Top Navigation Toggle */
.secondary-menu-toggle {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0.4rem 0.8rem;
	border: none;
	background: none;
	color: #fff;
	color: var(--dynamico--header-bar-text-color);
	text-decoration: none;
	font-size: 14px;
	font-size: 0.875rem;
	text-align: left;
	transition: all 0.15s ease;
}

.secondary-menu-toggle .menu-toggle-text {
	display: none;
}

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

.secondary-menu-toggle:hover,
.secondary-menu-toggle:active {
	color: #fff;
	color: var(--dynamico--header-bar-hover-text-color);
	background-color: #333;
	background-color: var(--dynamico--header-bar-hover-color);
	cursor: pointer;
}

.secondary-menu-toggle .icon {
	margin: 0;
	width: 18px;
	height: 18px;
	vertical-align: top;
	fill: currentColor;
}

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

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

/* Submenu Dropdown Toggles */
.top-navigation .dropdown-toggle {
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	padding: 0.75rem 1rem;
	background: none;
	border: none;
	font-size: 14px;
	font-size: 0.875rem;
}

.top-navigation .dropdown-toggle:focus {
	outline: thin dotted;
	color: #fff;
	color: var(--dynamico--header-bar-text-color);
	background: none;
}

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

.top-navigation .dropdown-toggle .icon {
	margin: 0.35em 0 0;
	width: 16px;
	height: 16px;
	vertical-align: top;
	fill: currentColor;
	transition: fill 0.15s ease;
}

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

@media only screen and (min-width: 400px) {
	.secondary-menu-toggle .menu-toggle-text {
		display: block;
		margin-left: 0.5rem;
	}
}
@media only screen and (min-width: 960px) {
	.header-bar {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	body.wide-theme-layout .site .header-bar {
		max-width: calc(1340px - 3rem);
		margin-left: auto;
		margin-right: auto;
	}

	.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-top .top-navigation > ul.menu {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-flow: row wrap;
		flex-flow: row wrap;
		margin: 0;
		padding: 0;
	}

	.top-navigation ul {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.top-navigation ul a {
		padding: 0.4rem 0.8rem;
	}

	/* Dropdown Menus */
	.top-navigation ul ul {
		position: absolute;
		left: -999em;
		top: 100%;
		z-index: 99999;
		padding: 0;
	}

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

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

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

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

	.top-navigation ul ul li a,
	.top-navigation ul ul ul li a,
	.top-navigation ul ul ul ul li a {
		padding: 0.4rem 0.8rem;
	}

	/* Dropdown Icons */
	.top-navigation .menu-item-has-children > a > .icon,
	.top-navigation .page_item_has_children > a > .icon {
		position: relative;
		display: inline-block;
		left: 0.3rem;
		top: 0.05rem;
		width: 10px;
		height: 10px;
		fill: currentColor;
		transition: fill 0.15s ease;
	}

	.top-navigation ul ul .menu-item-has-children > a > .icon,
	.top-navigation ul ul .page_item_has_children > a > .icon {
		position: absolute;
		left: auto;
		right: 1em;
		top: 50%;
		margin-top: -0.3rem;
		-webkit-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}
}
/*--------------------------------------------------------------
# Header Search
--------------------------------------------------------------*/
.header-search .header-search-icon {
	position: absolute;
	right: 0;
	display: inline-block;
	padding: 1.15rem 1.25rem;
	color: #fff;
	color: var(--dynamico--navi-text-color);
	background-color: #333;
	background-color: var(--dynamico--navi-background-color);
	z-index: 99;
	font-size: 16px;
	font-size: 1rem;
}
.header-search .header-search-icon:hover, .header-search .header-search-icon:active, .header-search .header-search-icon:focus {
	cursor: pointer;
	color: #fff;
	color: var(--dynamico--navi-hover-text-color);
	background-color: #e84747;
	background-color: var(--dynamico--navi-hover-color);
}
.header-search .header-search-icon:focus {
	outline: thin dotted;
}
.header-search .header-search-icon .icon-search {
	margin: 0;
	padding: 0;
	width: 24px;
	height: 24px;
	vertical-align: middle;
	fill: currentColor;
	transition: fill 0.15s ease;
}
.header-search .header-search-form {
	position: absolute;
	top: 4rem;
	right: 0;
	display: none;
	margin: 0;
	padding: 1.25rem;
	background-color: #fff;
	background-color: var(--dynamico--submenu-background-color);
	border-top: none;
	box-shadow: 0 0 2px #444;
	z-index: 999;
}
.header-search .header-search-form.toggled-on {
	display: block;
}
.header-search .header-search-form .search-form {
	min-width: 300px;
}

@media only screen and (max-width: 60em) {
	.header-search .header-search-icon {
		background: none;
	}

	.header-search .header-search-form {
		width: 100%;
	}

	.header-search .header-search-form .search-form {
		min-width: auto;
	}
}
/* Hide Header Search in Customizer for instant live preview */
.header-search-hidden .primary-navigation-wrap .header-search {
	display: none;
}

/*--------------------------------------------------------------
# Social Icons
--------------------------------------------------------------*/

/* Header Social Menu */
.header-bar-social-menu-wrap .social-icons-menu li a {
	display: flex;
	align-items: center;
	color: #fff;
	color: var(--dynamico--header-bar-text-color);
	padding: 0.67rem 0.8rem;
}

.header-bar-social-menu-wrap .social-icons-menu li a:hover,
.header-bar-social-menu-wrap .social-icons-menu li a:active {
	color: #fff;
	color: var(--dynamico--header-bar-hover-text-color);
	background-color: #333;
	background-color: var(--dynamico--header-bar-hover-color);
}

/* Footer Social Icons */
.footer-social-menu-wrap .social-icons-menu {
	margin-left: -0.5rem;
}

.footer-social-menu-wrap .social-icons-menu li a {
	display: flex;
	padding: 0.6rem;
	color: #fff;
	color: var(--dynamico--footer-link-color);
}

.footer-social-menu-wrap .social-icons-menu li a:hover,
.footer-social-menu-wrap .social-icons-menu li a:active {
	color: rgba(255, 255, 255, 0.6);
	color: var(--dynamico--footer-link-hover-color);
}

.footer-social-menu-wrap .social-icons-menu li a .icon {
	width: 17px;
	height: 17px;
}

@media only screen and (min-width: 960px) {
	.footer-social-menu-wrap .social-icons-menu {
		margin-left: 1.5rem;
		margin-right: -0.5rem;
		justify-content: flex-end;
	}
}
/*--------------------------------------------------------------
# Widget Areas
--------------------------------------------------------------*/
.before-header-widget-area,
.after-header-widget-area,
.before-footer-widget-area {
	padding: 1px 1.25rem;
	background-color: #fff;
	background-color: var(--dynamico--page-background-color);
}
.before-header-widget-area .widget:first-child,
.after-header-widget-area .widget:first-child,
.before-footer-widget-area .widget:first-child {
	margin-top: 1.25rem;
}

.before-header-widget-area,
.after-header-widget-area {
	border-bottom: 1px solid;
	border-color: rgba(0, 0, 0, 0.1);
	border-color: var(--dynamico--content-border-color);
}

.before-footer-widget-area {
	border-top: 1px solid;
	border-color: rgba(0, 0, 0, 0.1);
	border-color: var(--dynamico--content-border-color);
}

@media only screen and (min-width: 480px) {
	.before-header-widget-area,
	.after-header-widget-area,
	.before-footer-widget-area {
		padding: 1px 1.5rem;
	}

	.before-header-widget-area .widget:first-child,
	.after-header-widget-area .widget:first-child,
	.before-footer-widget-area .widget:first-child {
		margin-top: 1.5rem;
	}
}
/*--------------------------------------------------------------
# Author Bio
--------------------------------------------------------------*/
.entry-author {
	margin: 1.25rem 0 0;
	padding: 1rem;
	background-color: #eeeeee;
	background-color: var(--dynamico--post-meta-background-color);
	text-align: center;
}

.entry-author .author-avatar {
	margin: 0 auto 1rem;
	max-width: 128px;
}

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

.entry-author .author-heading .author-title {
	margin: 0 0 0.5rem;
	font-size: 18px;
	font-size: 1.125rem;
}

.entry-author .author-heading .author-link {
	display: inline-block;
	margin: 0 0 0.5rem;
}

.entry-author .author-bio {
	margin: 0;
}

@media only screen and (min-width: 480px) {
	.entry-author {
		display: flex;
		text-align: left;
		margin-top: 1.5rem;
		padding: 1.25rem;
	}

	.entry-author .author-avatar {
		margin-left: 0;
		margin-right: 1.25rem;
		margin-bottom: 0;
		width: 30%;
		max-width: 128px;
		min-width: 64px;
	}

	.entry-author .author-heading .author-title {
		display: inline-block;
		margin-right: 1rem;
	}
}
@media only screen and (min-width: 960px) {
	.entry-author .author-avatar {
		min-width: 128px;
	}
}
/* Hide Author Bio in Customizer for instant live preview */
.author-bio-hidden .type-post .entry-author {
	display: none;
}

/*--------------------------------------------------------------
# Footer Widgets
--------------------------------------------------------------*/
.footer-widgets-background {
	display: flex;
	padding: 1.25rem 1.25rem 0;
	color: #fff;
	color: var(--dynamico--footer-widgets-text-color);
	background-color: #333;
	background-color: var(--dynamico--footer-widgets-background-color);
}

.footer-widgets-wrap {
	width: 100%;
}

body.wide-theme-layout .site .footer-widgets-wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 1340px;
}

/* Footer Widget Styling */
.footer-widgets .widget {
	margin-bottom: 1.25rem;
	padding: 1.5rem;
	background-color: rgba(255, 255, 255, 0.05);
	background-color: var(--dynamico--footer-widgets-overlay-color);
}
.footer-widgets .widget .widget-title {
	margin: -0.5rem -0.5rem 1rem;
	padding: 0.5rem 0.75rem;
	color: #fff;
	color: var(--dynamico--footer-widgets-text-color);
	background-color: rgba(255, 255, 255, 0.1);
	background-color: var(--dynamico--footer-widgets-title-color);
	font-size: 15px;
	font-size: 0.9375rem;
	font-family: "Ubuntu", arial, helvetica, sans-serif;
	font-family: var(--dynamico--widget-title-font);
	font-weight: normal;
	font-weight: var(--dynamico--widget-title-font-weight);
	text-transform: uppercase;
	text-transform: var(--dynamico--widget-title-text-transform);
	line-height: 1.4;
	line-height: var(--dynamico--title-line-height);
}
.footer-widgets .widget a:link,
.footer-widgets .widget a:visited {
	color: rgba(255, 255, 255, 0.6);
	color: var(--dynamico--footer-widgets-link-color);
}
.footer-widgets .widget a:hover,
.footer-widgets .widget a:active {
	color: rgba(255, 255, 255, 0.8);
	color: var(--dynamico--footer-widgets-link-hover-color);
}
.footer-widgets .widget input[type=text],
.footer-widgets .widget input[type=email],
.footer-widgets .widget input[type=url],
.footer-widgets .widget input[type=password],
.footer-widgets .widget input[type=search],
.footer-widgets .widget input[type=submit],
.footer-widgets .widget textarea {
	border: 1px solid;
	border-color: rgba(255, 255, 255, 0.1);
	border-color: var(--dynamico--footer-widgets-border-color);
	color: rgba(255, 255, 255, 0.8);
	color: var(--dynamico--footer-widgets-link-hover-color);
}
.footer-widgets .widget input[type=text]:focus,
.footer-widgets .widget input[type=email]:focus,
.footer-widgets .widget input[type=url]:focus,
.footer-widgets .widget input[type=password]:focus,
.footer-widgets .widget input[type=search]:focus,
.footer-widgets .widget textarea:focus {
	color: #fff;
	color: var(--dynamico--footer-widgets-text-color);
}
.footer-widgets .widget button,
.footer-widgets .widget input[type=button],
.footer-widgets .widget input[type=reset],
.footer-widgets .widget input[type=submit] {
	color: rgba(255, 255, 255, 0.8);
	color: var(--dynamico--footer-widgets-link-hover-color);
}
.footer-widgets .widget button:hover,
.footer-widgets .widget input[type=button]:hover,
.footer-widgets .widget input[type=reset]:hover,
.footer-widgets .widget input[type=submit]:hover,
.footer-widgets .widget button:focus,
.footer-widgets .widget input[type=button]:focus,
.footer-widgets .widget input[type=reset]:focus,
.footer-widgets .widget input[type=submit]:focus,
.footer-widgets .widget button:active,
.footer-widgets .widget input[type=button]:active,
.footer-widgets .widget input[type=reset]:active,
.footer-widgets .widget input[type=submit]:active {
	color: rgba(255, 255, 255, 0.1);
	color: var(--dynamico--footer-widgets-border-color);
}
.footer-widgets .widget .tzwb-posts-list .tzwb-entry-meta,
.footer-widgets .widget .tzwb-posts-list .tzwb-entry-meta span::after,
.footer-widgets .widget .tzwb-posts-list .tzwb-entry-meta a:link,
.footer-widgets .widget .tzwb-posts-list .tzwb-entry-meta a:visited,
.footer-widgets .widget .tzwb-comments-list .tzwb-comment-date {
	color: rgba(255, 255, 255, 0.8);
	color: var(--dynamico--footer-widgets-link-hover-color);
}
.footer-widgets .widget .tzwb-posts-list .tzwb-entry-meta a:hover,
.footer-widgets .widget .tzwb-posts-list .tzwb-entry-meta a:active {
	color: #fff;
	color: var(--dynamico--footer-widgets-text-color);
}

@media only screen and (min-width: 480px) {
	.footer-widgets-background {
		padding: 1.5rem 1.5rem 0;
	}

	.footer-widgets .widget {
		margin-bottom: 1.5rem;
	}
}
@media only screen and (min-width: 560px) {
	.footer-widgets {
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-right: -1.5rem;
	}

	.footer-widget-column {
		display: flex;
		flex-grow: 1;
		box-sizing: border-box;
		padding-right: 1.5rem;
		width: 50%;
		flex-direction: column;
	}

	.footer-widget-column .widget:last-child {
		flex-grow: 0;
	}

	/* Three Column Footer Widgets */
	.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 (min-width: 800px) {
	/* Three Column Footer Widgets */
	.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: 33.3333333333%;
	}
}
@media only screen and (min-width: 1120px) {
	/* Four Column Footer Widgets */
	.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: 25%;
	}
}
/*--------------------------------------------------------------
# Footer Menu
--------------------------------------------------------------*/
.footer-menus {
	margin: 0 0 2rem;
}

.footer-navigation-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-navigation-menu li {
	margin: 0;
}

.footer-navigation-menu a {
	display: block;
	margin: 0;
	padding: 0.5rem 0;
	text-decoration: none;
}

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

@media only screen and (min-width: 640px) {
	.footer-menus {
		display: flex;
		align-items: center;
	}

	.footer-navigation-menu {
		display: flex;
		flex-flow: row wrap;
	}

	.footer-navigation-menu a {
		padding-right: 1.5rem;
	}
}
@media only screen and (min-width: 960px) {
	/* Footer Line */
	.site-footer {
		display: flex;
		align-items: center;
	}

	.footer-menus {
		margin: 0;
		margin-left: auto;
		order: 2;
	}

	.footer-navigation-menu a {
		padding-right: 0;
		padding-left: 1.5rem;
	}

	.site-footer .site-info {
		order: 1;
		margin-right: 1.5rem;
	}
}
/*--------------------------------------------------------------
# Scroll to Top Button
--------------------------------------------------------------*/
.scroll-to-top-button {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	display: inline-block;
	margin: 0 auto;
	padding: 0;
	width: 50px;
	height: 50px;
	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:focus {
	background-color: #e84747;
	background-color: var(--dynamico--button-color);
}

.scroll-to-top-button:focus:hover {
	background-color: #333;
	background-color: var(--dynamico--button-hover-color);
}

.scroll-to-top-button .icon {
	margin: 0.2rem 0 0;
	width: 22px;
	height: 22px;
	vertical-align: top;
	fill: #fff;
	fill: var(--dynamico--button-text-color);
}

.scroll-to-top-button:hover .icon,
.scroll-to-top-button:active .icon {
	fill: #fff;
	fill: var(--dynamico--button-hover-text-color);
}

/*--------------------------------------------------------------
# Customizer Preview
--------------------------------------------------------------*/

/* Add some styling for visual edit shortcut buttons. */
.customize-partial-edit-shortcuts-shown .header-bar .header-content .header-text {
	margin-left: 2em;
}

.customize-partial-edit-shortcut-dynamico_theme_options-header_text button {
	top: -5px;
	left: -35px;
}