/*
*
* Theme global styling
*
* Code order:

	> Defaults
	> Rainmaker
	> Genesis
	> Site size and alignment
	> Theme text format
	> Buttons
	> Banner and hero
	> Navigation Menus
	> Theme social icons
	> Breadcrumbs
	> 404 page
	> Forms defaults
	> Search form
	> Sidebar
	> Pagination
	> Comments
	> Results container
	> Post thumbnail
	> Taxonomy archives meta

*
*/

/* Common WordPress classes */
.alignleft {
	float: left;
	text-align: left;
}

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

a.alignleft,
a.alignnone,
a.alignright {
	max-width: 100%;
}

a.alignnone {
	display: inline-block;
}

a.aligncenter img {
	display: block;
	margin: 0 auto;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 24px;
}

img.alignnone,
.alignnone {
	margin: 0 0 12px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
	margin: 0 24px 24px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
	margin: 0 0 24px 24px;
}

/* Defaults */

/* Removes default margins and paddings */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Font format */
body {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 18px;
	line-height: 1.625;
	letter-spacing: 0.3px;
	font-weight: 400;
}

/* Image default sizing */
img {
	max-width: 100%;
}

/* END */

/* Rainmaker */

/* Admin bar calc */
.rmkr-admin-bar.admin-bar .site-container {
	min-height: calc(100dvh - 50px);
}

/* END */

/* Genesis */

/* Removes default print icon */
div.printfriendly {
	display: none !important;
}

/* END */

/* Site size and alignment */

/* Site container alignment */
.site-container {
	min-height: 100dvh;
	height: fit-content;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #fff;
}

/* Admin bar calc */
.admin-bar .site-container {
	min-height: calc(100dvh - 32px);
}

/* Site inner position and background */
.site-inner {
	padding: 50px 0px;
	position: relative;
	background: #fff;
}

/* Site spacing */
#theme-banner,
.site-inner {
	padding: 50px 70px;
}

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

	#theme-banner,
	.site-inner {
		padding: 50px;
	}
}

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

	#theme-banner,
	.site-inner {
		padding: 20px;
	}
}

/* Site width */
body:not(.fpt-template) .site-inner>div,
body:not(.fpt-template) .site-inner>main {
	max-width: 1300px;
	margin: 0 auto;
}

/* Site spacing for no banner pages */
.theme-content-only.theme-fixed-header:not(.unity-pro-landing) .site-inner {
	margin-top: 125px;
}

@media only screen and (max-width: 480px) {
	.theme-content-only.theme-fixed-header:not(.unity-pro-landing) .site-inner {
		margin-top: 100px;
	}
}

/* END */

/* Theme text format */

h1:not(.fl-builder-content h1),
h2:not(.fl-builder-content h2),
h3:not(.fl-builder-content h3),
h4:not(.fl-builder-content h4, .comments-section .comment-author h4),
h5:not(.fl-builder-content h5),
h6:not(.fl-builder-content h6),
a:not(.fl-builder-content a, .woocommerce a.button, .rm-nav-wrapper a),
p:not(.fl-builder-content p),
ul:not(.fl-builder-content ul),
ol:not(.fl-builder-content ol) {
	margin: 0 0 20px;
}

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

h1 {
	font-size: 2.5em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1.25em;
}

a {
	text-decoration: none;
	transition: all 200ms;
}

ul:not(.entry-content ul),
ol:not(.entry-content ol) {
	list-style: none;
}

.entry-content ul,
.entry-content ol {
	padding-left: 20px;
}

blockquote {
	color: #999;
	margin: 40px;
}

blockquote::before {
	content: "\201C";
	display: block;
	font-size: 52px;
	height: 0;
	left: -31px;
	position: relative;
	top: -20px;
}

@media (max-width: 992px) {
	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.75em;
	}

	h3 {
		font-size: 1.5em;
	}

	h4 {
		font-size: 1.25em;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 16px;
	}
}

/* END */

/* Buttons */

/* Buttons style */
input[type='submit'],
button:not(.customize-partial-edit-shortcut-button, .widget_media_video button, .mejs-container button),
.wp-block-button__link,
#theme-header-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce .cart .button,
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	font-weight: 600;
	height: 48px;
	min-width: 150px;
	border-radius: 20px;
	border: none;
	padding: 0 20px;
	transition-property: background, color;
	transition-duration: 200ms, 200ms;
}

input[type='submit'],
button:not(.customize-partial-edit-shortcut-button, .widget_media_video button, .mejs-container button),
.wp-block-button__link,
#theme-header-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .cart .button,
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	cursor: pointer;
}

#theme-header-button,
.wp-block-button__link,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.button {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Responsive adjustments */
@media only screen and (max-width: 992px) {

	/* Reduces button spacing */
	input[type='submit'],
	button:not(.customize-partial-edit-shortcut-button, .widget_media_video button, .mejs-container button),
	.wp-block-button__link,
	#theme-header-button,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
	.woocommerce button.button:disabled,
	.woocommerce button.button:disabled[disabled],
	.woocommerce .cart .button,
	.woocommerce div.product form.cart .button,
	.woocommerce #respond input#submit,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button {
		padding: 0 30px;
	}
}

/* END */

/* Banner */

/* Banner layout */
#theme-banner {
	width: 100%;
	min-height: 430px;
	background-size: cover;
	background-position: 50%;
	background-blend-mode: color;
	background-color: #00000060;
	border-radius: 0 0 60px 0;
	display: flex;
	align-items: center;
	padding-top: 100px;
}

/* Alignment for template with no header fade */
.no-fade #theme-banner,
.theme-fade-home:not(.home) #theme-banner {
	padding-top: 125px;
}

/* Fixing ugly banner border cut on scroll */
.theme-parallax-fixed .site-inner::before {
	z-index: 0;
	width: 100%;
	content: '';
	position: absolute;
	top: -60px;
	left: 0;
	height: 60px;
	background: #00000000;
	box-shadow: 60px 0 0 0 #fff;
	border-radius: 0 0 60px 0;
}

/* Fixed parallax content spacing */
.theme-parallax-fixed .site-inner {
	margin-top: 430px;
}

/* Fixed banner layout */
.theme-parallax-fixed #theme-banner,
.theme-backstretch-image #theme-banner {
	position: fixed;
}

/* Banner content alignment */
#theme-banner .banner-inner {
	height: 100%;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 10px;
}

#theme-banner .banner-title,
#theme-banner .banner-subtitle,
#theme-banner .banner-button {
	margin: 0;
}

/* Banner title */
#theme-banner .banner-title {
	font-weight: bold;
	letter-spacing: -1.5px;
	font-size: 4em;
}

/* Responsive adjustments */
@media only screen and (max-width: 992px) {

	/* Banner padding top */
	#theme-banner {
		padding-top: 100px;
	}
}

@media only screen and (min-width: 481px) and (max-width: 992px) {
	#theme-banner {
		min-height: 350px;
	}

	.theme-parallax-fixed .site-inner {
		margin-top: 350px;
	}
}

@media only screen and (max-width: 480px) {
	#theme-banner {
		min-height: 275px;
	}

	.theme-parallax-fixed .site-inner {
		margin-top: 275px;
	}

	#theme-banner h1 {
		font-size: 3.2em;
	}
}

/* END */

/* Navigation Menus */

.menu:not(.fl-builder-content .menu) {
	width: 100%;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.menu:not(.fl-builder-content .menu) .menu-item-has-children {
	position: relative;
}

*:not(#theme-header-default-menu)>.menu:not(.fl-builder-content .menu) .menu-item-has-children:has(.sub-menu)::after {
	font-family: "dashicons";
	content: '\f347';
	margin-left: 5px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	transition: all 200ms;
}

*:not(#theme-header-default-menu) .menu:not(.fl-builder-content .menu) .sub-menu .menu-item-has-children::after {
	top: 5px;
}

*:not(#theme-header-default-menu)>.menu:not(.fl-builder-content .menu) .menu-item-has-children.show-submenu:has(.sub-menu)::after {
	transform: rotate(180deg);
}

.menu:not(.fl-builder-content .menu) .menu-item-has-children .sub-menu {
	padding-top: 5px;
	position: absolute;
	visibility: hidden;
	margin: -30px 0 0;
	opacity: 0;
	transition: all 200ms;
}

.menu:not(.fl-builder-content .menu) .menu-item-has-children .sub-menu .menu-item {
	padding: 10px 0 0 10px;
}

.menu:not(.fl-builder-content .menu) .menu-item-has-children.show-submenu>.sub-menu {
	position: relative;
	visibility: initial;
	margin-top: 0;
	opacity: 1;
}

.menu:not(.fl-builder-content .menu) li a,
.menu:not(.fl-builder-content .menu) .menu-item-has-children:has(.sub-menu)::after {
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 0;
}

.menu:not(.fl-builder-content .menu) li a {
	transition: color 300ms;
}

@media only screen and (max-width: 480px) {
	.footer-nav.menu li {
		width: 100%;
		text-align: center;
	}
}

/* END */

/* Theme social icons */

/* Icons style */
.theme-social-icons {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.theme-social-icons:has(.icons:only-child) {
	justify-content: center;
}

.theme-social-icons .text {
	min-width: fit-content;
	font-size: 14px;
}

.theme-social-icons .icons {
	display: flex;
	gap: 20px;
}

div.theme-social-icons .icons a {
	margin-bottom: 0;
	line-height: 0;
}

.theme-social-icons svg {
	width: 1em;
	height: 1em;
	transition: 200ms;
}

/* END */

/* Breadcrumbs */

div.site-inner main.content div.breadcrumb {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.5px;
	padding-bottom: 10px;
	text-transform: uppercase;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
	margin-top: 0;
}

.breadcrumb,
.breadcrumb>ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 5px;
	margin-bottom: 0;
}

div.site-container div.site-inner div.breadcrumb>ul {
	padding-left: 0;
	margin-bottom: 0;
}

.breadcrumb li {
	list-style: none;
}

.breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 5px;
}

.breadcrumb li>a {
	text-decoration: none;
}

/* END */

/* 404 page */
.error404 .site-container {
	justify-content: center;
}

.error404 #theme-header {
	background: var(--theme-header-background-color) !important;
}

.error404 .site-inner {
	margin: 0;
}

.error404 aside {
	display: none;
}

/* END */

/* Forms defaults */

/* MemberPress labels fix */
.mp-form-label {
	display: block;
	padding: 0 5px 5px;
	margin: 0;
	width: initial;
	text-align: initial;
}

/* Default forms styling */
textarea,
input[type='text'],
input[type='number'],
input[type='tel'],
input[type='email'],
input[type='password'],
input[type='search'],
select {
	padding: 15px;
	font-weight: 500;
	border: 1px solid #d2d2d2;
	border-radius: 20px;
	outline: none;
	width: 100%;
	color: #0f0f0f;
	background-color: #fff;
}

input:not([type='checkbox']) {
	height: 48px;
}

input[type='submit'] {
	cursor: pointer;
}

textarea {
	height: 150px;
	min-height: 150px;
	max-height: 300px;
	resize: vertical;
}

/* NF radio items */
.list-radio-wrap .nf-field-element li {
	display: flex;
	align-items: center;
	gap: 5px;
}

.nf-field-container {
	margin-bottom: 5px;
}

/* END */

/* Search form */

.search-form {
	display: flex;
	gap: 10px;
}

.search-form .search-form-submit {
	width: 30%;
}

@media only screen and (max-width: 480px) {
	.search-form {
		flex-direction: column;
	}

	.search-form .search-form-input,
	.search-form .search-form-submit {
		width: 100%;
	}
}

/* END */

/* Sidebar */

.content-sidebar-wrap {
	display: flex;
	height: 100%;
	gap: 50px;
}

.content-sidebar-wrap main {
	width: 100%;
}

.content-sidebar-wrap aside {
	width: 100%;
	height: 100%;
	max-width: 430px;
}

.content-sidebar-wrap aside .widget:not(:last-child) {
	margin-bottom: 20px;
}

@media only screen and (min-width: 993px) {
	.content-sidebar-wrap {
		flex-wrap: wrap;
	}

	.content-sidebar-wrap>* {
		width: 100%;
		flex-grow: 1;
	}

	.content-sidebar-wrap:has(>aside) main {
		max-width: calc(100% - 480px);
	}
}

@media only screen and (max-width: 992px) {
	.content-sidebar-wrap {
		flex-direction: column;
		align-items: center;
	}

	.content-sidebar-wrap aside {
		max-width: none;
	}
}

/* END */

/* Pagination */
.pagination,
.pagination .page-numbers.current,
.pagination li.active a {
	cursor: default;
}

.pagination ul {
	display: flex;
	gap: 5px;
}

.pagination .page-numbers,
.pagination li a {
	padding: 8px 15px;
	border-radius: 0 15px;
	transition: 300ms;
}

.pagination .page-numbers:not(:last-child) {
	margin-right: 5px;
}

/* END */

/* Entry fields panel */
.entry-header,
.entry-footer {
	font-size: .8em;
}

.entry-footer,
.adjacent-entry-pagination {
	margin-top: 20px;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.entry-categories,
.entry-tags {
	display: block;
}

.adjacent-entry-pagination {
	position: relative;
	display: flex;
	width: 100%;
	justify-content: space-between;
}

/* Comments */
.entry-comments-link::before {
	content: "\2B";
	font-weight: 700;
	margin: 0 4px 0 6px;
}


.comments-section {
	margin-top: 20px;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.comments-section .comment {
	margin-bottom: 20px;
}

.comments-section .comment-inner {
	background: #eee;
	padding: 20px;
}

.comments-section h2 {
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #eee;
}

.comments-section .comment-author {
	display: flex;
	align-items: end;
	gap: 5px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
}

.comments-section .comment-author img {
	border-radius: 5px;
	margin-right: 5px;
}

.comments-section .comment-author .comment-title-and-meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.comments-section .comment-author h4,
.comments-section .comment-author .comment-meta {
	line-height: 1;
}

.comments-section .comment-author h4 {
	margin-bottom: 5px;
}

.comments-section .comment-author .comment-meta {
	margin-bottom: 0;
	font-size: 13px;
	color: #4f4f4f;
	font-weight: bold;
	text-transform: uppercase;
}

.comments-section:not(.empty) #respond {
	margin-top: 20px;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.comments-section #respond p {
	margin-bottom: 10px;
}

.comments-section .logged-in-as {
	display: none;
}

.comments-section .comment-reply-title {
	margin-bottom: 5px;
}

/* END */

/* Results container */

.result-container {
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
	margin-bottom: 60px;
	min-height: 257px;
}

.dark-background .result-container {
	border-bottom-color: #292929;
}

.result-container .result-title h3 {
	font-weight: 400;
}

.result-container .post-content {
	margin-top: 20px;
	min-height: 150px;
}

.result-container .post-meta {
	font-weight: 400;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 12px;
}

.result-container .post-content img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	float: left;
	margin-right: 20px;
}

.result-container .post-content img.default-thumb {
	object-position: 95% 0;
}

@media only screen and (max-width: 992px) {
	.result-container {
		margin-bottom: 30px;
	}
}

@media only screen and (max-width: 480px) {
	.result-container .post-content img {
		float: initial;
		width: 100%;
		height: 100%;
	}
}

/* END */


/* MemberPress CSS */

/* .site-container div#mepr-account-nav {
	width: 100% !important;
	display: flex;
	justify-content: space-between;
	border-radius: 20px;
	overflow: hidden;
}

.site-container .mepr-nav-item {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 48px;
	background: #eee;
}

.site-container .mepr-active-nav-tab {
	background: var(--theme-button-color);
}

.site-container .mepr-nav-item:hover {
	background: var(--theme-button-hover-color);
}

.site-container .mepr-nav-item > a {
	margin: 0;
}

.site-container .mepr-nav-item.mepr-active-nav-tab > a,
.site-container .mepr-nav-item:hover > a,
.site-container .mepr-nav-item > a:hover {
	color: #fff;
}

.site-container div#mepr-account-nav,
.site-container .mepr-nav-item,
.site-container .mepr-nav-item > a {
	transition: 200ms;
}

#mepr_account_form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

#mepr_account_form .mp-form-row.mepr_first_name,
#mepr_account_form .mp-form-row.mepr_last_name {
	flex-basis: calc(50% - 10px);
	margin-bottom: 0;
}

#mepr_account_form .mepr_spacer {
	display: none;
} */

body .site-container .mp_wrapper .mepr-form-input {
	background-color: #fff !important;
}

/* END */

/* Post thumbnail */

.unity__post-thumbnail img {
	width: 100%;
	height: auto;
}

/* END */

/* Taxonomy archives meta */

.taxonomy-archive-description {
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

/* END */