/* firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--yh-theme-color);
	scrollbar-color: var(--yh-theme-color) #f9f9f9;
}

/* width */
::-webkit-scrollbar {
	width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #f9f9f9;
	border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: var(--yh-theme-color);
	border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: var(--yh-theme-color);
}

/* Custom Modal Backdrop */
body.no-scroll {
	overflow: hidden;
}

.custom-modal-close-button span::before,
.custom-modal-close-button span::after {
	content: "";
	position: absolute;
	display: block;
	width: 0.9375rem;
	height: 0.125rem;
	background-color: var(--yh-theme-secondary);
	transition:
		transform 0.25s var(--ease),
		width 0.25s var(--ease);
}

.custom-modal-close-button span:before {
	transform: rotate(45deg);
}

.custom-modal-close-button span:after {
	transform: rotate(-45deg);
}

@media (max-width: 36rem) {
	#customModal {
		overflow-y: auto;
		height: 100%;
		align-content: center;
	}
	#customModal .jade-calc {
		padding: 5px;
	}
	#customModal h2 {
		margin-top: 1.8rem;
	}
	#customModal #loanTrigger button[role="switch"] {
		margin-top: 0;
		margin-bottom: 0;
	}
}

/* How it works */
@keyframes bg-step-animation {
	0%,
	100% {
		background: transparent;
	}
	50% {
		background: var(--yh-theme-color);
	}
}
.hw-sec svg {
	font-family: inherit;
}
.hw__tl {
	padding: 0;
	list-style: none;
	display: none;
}
.hw__tl .hw-tl__item {
	padding-left: 50px;
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
.hw__tl .hw-tl__item:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	border: 2px solid var(--yh-theme-color);
	border-radius: 50%;
	box-sizing: border-box;
	opacity: 1;
	animation: bg-step-animation 8s infinite ease-in-out;
}
.hw__tl .hw-tl__item:nth-child(1)::before {
	animation-delay: 0s;
}
.hw__tl .hw-tl__item:nth-child(2)::before {
	animation-delay: 2s;
}
.hw__tl .hw-tl__item:nth-child(3)::before {
	animation-delay: 4s;
}
.hw__tl .hw-tl__item:nth-child(4)::before {
	animation-delay: 6s;
}
.hw__tl .hw-tl__item:after {
	content: "";
	position: absolute;
	left: 9px;
	top: 20px;
	height: 100%;
	width: 2px;
	background-color: var(--yh-theme-color);
	opacity: 1;
}
.hw__tl .hw-tl__item .hw-item__title {
	margin-bottom: 10px;
	display: block;
	font-size: 25px;
	color: #0f273d;
}
.hw__tl .hw-tl__item .hw-item__text {
	line-height: 1.5em;
	max-width: 100%;
	color: #0f273d;
}
@media screen and (max-width: 36rem) {
	section.hw-sec svg {
		display: none;
	}
	section.hw-sec .hw__tl {
		display: block;
	}
}

body.privacy-policy .priv-content h1,
body.privacy-policy .priv-content h2,
body.privacy-policy .priv-content h3 {
	margin-top: 10px;
	margin-bottom: 20px;
	font-weight: 700;
}

body.privacy-policy .priv-content h1 {
	font-size: 2.5rem;
	color: #114edd;
}

body.privacy-policy .priv-content h2 {
	font-size: 2rem;
	color: #114edd;
}

body.privacy-policy .priv-content h3 {
	font-size: 1.5rem;
}

body.privacy-policy .priv-content p,
body.privacy-policy .priv-content ul {
	font-weight: 400;
	color: #181818;
	padding-bottom: 1rem;
	line-height: 1.5rem;
	font-size: 1.1rem;
}

body.privacy-policy .priv-content ul {
	margin: 0rem 1rem auto;
}

body.privacy-policy .priv-content ul li {
	list-style-type: disc;
	list-style-position: inside;
}

body.privacy-policy .priv-content a {
	color: #114edd;
	font-weight: 600;
	text-decoration-line: underline;
}

.react-flow__panel.react-flow__attribution.bottom.right {
	display: none;
}

.menu_column-label {
	color: var(--yh-theme-color);
	font-size: 20px;
	font-weight: bold;
}

/* --- share-article --- */

.share-article {
	position: sticky;
	top: calc(var(--headerHeight) + 32px);
	margin-top: 1rem;
}

.share-article__text {
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--yh-theme-color);
	text-align: center;
	margin-bottom: 19px;
}

.share-article__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 17px;
	flex-wrap: wrap;
}

.share-article__list a,
.share-article__list .share-btn {
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3.125rem;
	height: 3.125rem;
	background-color: #fff;
	background-size: 56%;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 50%;
	border: 1px solid var(--yh-theme-accent);
	transition-property: border-color, background-color, transform;
	transition-duration: 0.25s;
	transition-timing-function: var(--ease);
}

#copy-post-page {
	position: relative;
}

#copy-post-page:before {
	content: "Link copied!";
	position: relative;
	position: absolute;
	bottom: calc(100% + 8px);
	background-color: var(--yh-theme-color);
	color: #fff;
	padding: 2px 8px 1px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	width: max-content;
	opacity: 0;
	visibility: hidden;
	transform: translateY(2px);
	transition: 0.25s var(--ease);
}

#copy-post-page.copied:before {
	transform: none;
	visibility: visible;
	opacity: 1;
}

.share-article__list .share-btn:hover {
	background-color: var(--yh-theme-accent);
	border-color: var(--yh-theme-accent);
	transform: translateY(-2px);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

@media print {
	header,
	footer,
	.side-panel,
	#blog-archive {
		display: none;
	}
	#blog-hero,
	#blog-body {
		padding: 0;
	}
	#blog-hero h1 {
		font-size: 2rem;
		color: black;
	}
}

/* Custom AIOSEO Styling */

.aioseo-breadcrumbs a {
	color: hsl(37, 100%, 57%);
	text-decoration: none;
}

.aioseo-breadcrumbs .aioseo-breadcrumb:first-child a {
	background-color: var(--yh-theme-accent);
	color: white;
	padding: 0 12px;
	border-radius: 20px;
	display: inline-block;
}

.aioseo-breadcrumbs .aioseo-breadcrumb:last-child a,
.aioseo-breadcrumb:last-child {
	color: black;
	font-weight: 600;
}

.page-template-consultation-template .aioseo-breadcrumbs .aioseo-breadcrumb:last-child a,
.page-template-consultation-template .aioseo-breadcrumb:last-child {
	color: white;
}
