/*!
Theme Name: Isotope
Theme URI: https://yellowcakemedia.com/
Author: The Front-End Team at YellowCAKE.io
Description: A base theme for YCM sites.
Version: 1.2.3
Text Domain: isotope
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

Last modified: 2024/12/04 21:37:16
*/

/* Variables */
:root {
	--site-primary: #00196b;
	--site-secondary: #5094e2;
	--site-accent: #ff9933;
	--site-custom-color: #ff5e4d;

	--site-primary-hsl: hsl(226, 100%, 21%);
	--site-secondary-hsl: hsl(212, 72%, 60%);
	--site-accent-hsl: hsl(30, 100%, 60%);
	--site-custom-color-hsl: hsl(6, 100%, 65%);

	--site-primary-rgb: rgb(0, 24.99, 107.1);
	--site-secondary-rgb: rgb(79.56, 148.1, 226.44);
	--site-accent-rgb: rgb(255, 153, 51);
	--site-custom-color-rgb: rgb(255, 94, 77);

	--animate-duration: 1s;
	--animate-delay: 1s;
	--animate-repeat: 1;

	--site-links: hsl(226, 100%, 50%);
    --site-links-hover: hsl(226, 100%, 40%);

	--product-button-color: var(--bs-gray-800);
	--product-button-bg-color: #fff;

	--bs-font-sans-serif: Inter,sans-serif;
	--title-font:  Montserrat,Inter,sans-serif;
}

/* Base styles */
html,body {
	font-family: var(--bs-body-font-family);
	font-weight: var(--bs-body-font-weight);
}
a {
	color: var(--site-links);
}
a:hover {
	color: var(--site-links-hover);
}
.lead {
	font-weight: var(--bs-body-font-weight);
}
.title-font {
	color: var(--site-primary);
	font-family: 'Montserrat','Inter',sans-serif;
	font-weight: 700;
}
.title-font.fw-bold {
	font-weight: 800 !important;
}
.text-site-primary {
	color: var(--site-primary);
}
.text-site-secondary {
	color: var(--site-secondary);
}
.text-site-accent {
	color: var(--site-accent);
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	word-wrap: normal !important;
}

/* ATF Header */
.wp-header {
	border-bottom: 1px solid var(--bs-gray-200);
}
.wp-header .menu a {
	font-weight: 700;
}
.inner-content {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (max-width: 575px) {
	.wp-header .logo {
		max-width: 200px;
		margin: auto;
	}
}
@media (min-width: 576px) {
	.wp-header {
		padding: 0.5rem 1rem;
	}
}

/* Brand buttons */
.btn-primary {
	--bs-btn-bg: var(--site-primary);
	--bs-btn-focus-shadow-rgb: rgba(var(--site-primary-rgb), 0.5);

	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--bs-white);
	--bs-btn-border-color: var(--bs-btn-bg);
	--bs-btn-hover-color: var(--bs-btn-color);
	--bs-btn-hover-bg: hsl(from var(--bs-btn-bg) h s 15%);
	--bs-btn-hover-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-color: var(--bs-btn-hover-color);
	--bs-btn-active-bg: var(--bs-btn-hover-bg);
	--bs-btn-active-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-border-radius: .5rem;
	--bs-btn-disabled-color: var(--bs-btn-color);
	--bs-btn-disabled-bg: var(--bs-btn-bg);
	--bs-btn-disabled-border-color: var(--bs-btn-bg);
}
.btn-secondary {
	--bs-btn-bg: var(--site-secondary);
	--bs-btn-focus-shadow-rgb: rgba(var(--site-secondary-rgb), 0.5);

	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--bs-white);
	--bs-btn-border-color: var(--bs-btn-bg);
	--bs-btn-hover-color: var(--bs-btn-color);
	--bs-btn-hover-bg: hsl(from var(--bs-btn-bg) h s 55%);
	--bs-btn-hover-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-color: var(--bs-btn-hover-color);
	--bs-btn-active-bg: var(--bs-btn-hover-bg);
	--bs-btn-active-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-border-radius: .5rem;
	--bs-btn-disabled-color: var(--bs-btn-color);
	--bs-btn-disabled-bg: var(--bs-btn-bg);
	--bs-btn-disabled-border-color: var(--bs-btn-bg);
}
.btn-accent {
	--bs-btn-bg: var(--site-accent);
	--bs-btn-focus-shadow-rgb: rgba(var(--site-accent-rgb), 0.5);

	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--bs-white);
	--bs-btn-border-color: var(--bs-btn-bg);
	--bs-btn-hover-color: var(--bs-btn-color);
	--bs-btn-hover-bg: hsl(from var(--bs-btn-bg) h s 50%);
	--bs-btn-hover-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-color: var(--bs-btn-hover-color);
	--bs-btn-active-bg: var(--bs-btn-hover-bg);
	--bs-btn-active-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-border-radius: .5rem;
	--bs-btn-disabled-color: var(--bs-btn-color);
	--bs-btn-disabled-bg: var(--bs-btn-bg);
	--bs-btn-disabled-border-color: var(--bs-btn-bg);
}
.btn-custom {
	--bs-btn-bg: var(--site-custom-color);
	--bs-btn-focus-shadow-rgb: rgba(var(--site-custom-color-rgb), 0.5);

	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--bs-white);
	--bs-btn-border-color: var(--bs-btn-bg);
	--bs-btn-hover-color: var(--bs-btn-color);
	--bs-btn-hover-bg: hsl(from var(--bs-btn-bg) h s 60%);
	--bs-btn-hover-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-color: var(--bs-btn-hover-color);
	--bs-btn-active-bg: var(--bs-btn-hover-bg);
	--bs-btn-active-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-border-radius: .5rem;
	--bs-btn-disabled-color: var(--bs-btn-color);
	--bs-btn-disabled-bg: var(--bs-btn-bg);
	--bs-btn-disabled-border-color: var(--bs-btn-bg);
}
.btn.rounded {
		--bs-border-radius: 2rem;
}

/* Product buttons */
.product-button-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
}
.product-button {
	width: 100%;
	margin-bottom: 1rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
@media (min-width: 768px) {
	.product-button {
		max-width: 50%;
	}
}
@media (min-width: 992px) {
	.product-button {
		max-width: 33.3%;
	}
}
@media (min-width: 1200px) {
	.product-button {
		max-width: 25%;
	}
}
.product-button_link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-left: 1rem;
	padding-right: 1rem;
	min-height: 72px;
	color: inherit;
	font-family: 'Montserrat','Inter',sans-serif;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--product-button-bg-color);
	border-color: var(--product-button-color);
	border-radius: 4px;
	box-shadow: 0 1px 10px rgba(0,0,0,0.125);
	transition: box-shadow 200ms, transform 200ms;
	transition-timing-function: ease-in-out;
}
.product-button_link:hover {
	color: var(--product-button-color);
	transform: scale(1.05);
	box-shadow: 0 1rem 1rem rgba(0,0,0,0.125);
}
.product-button_link:active {
	color: var(--product-button-color);
	background-color: var(--product-button-bg-color);;
}
.product-button_img {
	width: auto;
	margin-right: 0.5rem;
}

/* Footer */
.wp-footer {
	border-top: 1px solid #eee;
}
.footer-nav .footer-link {
	color: inherit;
	display: inline-block;
	margin: 0.5rem 1rem;
}
.footer-nav span {
	display: none;
}
.footer-nav .footer-link:hover {
	color: var(--site-secondary);
}
@media (min-width: 768px) {
	.footer-nav {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.footer-nav .footer-link {
		margin: 0;
	}
	.footer-nav span {
		display: inline;
		margin: 0 0.5rem;
	}
}

/* Animations */
.animated {
	animation-duration: var(--animate-duration);
	animation-fill-mode: both;
}
@keyframes slideInLeft {
	from {
		transform: translate3d(-100%, 0, 0);
		opacity: 0;
		visibility: visible;
	}

	to {
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}
}
.slideInLeft {
	animation-name: slideInLeft;
}

/* Article lists and archives */
.wp-articles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem 1.5rem;
}
.wp-articles .wp-post {
	margin: 0 auto;
}
/* Recent posts grid */
.recent-posts-grid {
	margin: 1.5rem auto;
}
@media (max-width: 767px) {
	.wp-articles .wp-post {
		max-width: 480px;
	}
}
@media (min-width: 768px) {
	.wp-articles {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 992px) {
	.wp-articles {
		grid-template-columns: repeat(3, 1fr);
	}
	.recent-posts-grid .wp-articles {
		grid-template-columns: repeat(4, 1fr);
	}
}
.wp-articles .wp-post_permalink {
	display: block;
	color: inherit;
	text-decoration: none;
}
.wp-articles .wp-post_title {
	color: var(--site-primary);
	font-family: var(--title-font);
	font-size: 1.25rem;
	font-weight: bold;
	line-height: 1.125;
}
.wp-articles .wp-post_excerpt {
	font-size: 1rem;
	line-height: 1.5;
}
.wp-articles .wp-post_permalink:hover .wp-post_title,
.wp-articles .wp-post_permalink:hover .readmore {
	color: var(--site-secondary);
}

/* Posts navigation */
.posts-nav,
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 1.5rem auto;
}
.posts-nav_link > a {
	color: var(--bs-gray-500);
	font-weight: 600;
	text-decoration: none;
}
.posts-nav_link > a:hover {
	color: var(--site-secondary);
}
.post-navigation .nav-links {
	gap: 1rem;
}
.post-navigation .nav-links a {
	display: inline-flex;
	align-items: center;
	font-size: 1.25rem;
	color: inherit;
	text-decoration: none;
	background-color: var(--bs-gray-200);
	border-radius: 4rem;
	width: 48px;
	height: 48px;
	line-height: 48px;
	justify-content: center;
}
.post-navigation .nav-links a:hover {
	color: var(--bs-white);
	background-color: var(--site-secondary);
}


/* Single post content */
.single-post .wp-post_content h2,
.single-post .wp-post_content h3 {
	font-family: var(--title-font);
}

.single-post .single-post_content h3 {
	font-size: 1.5rem;
}

/* Quizbox */
.quizbox-wrapper {
	padding: 1rem;
	background-position: right center;
	background-repeat: no-repeat;
	background-size: cover;
}
.quizbox-content-wrapper {
	max-width: 1100px;
	margin: auto;
}
.quizbox-title,
.quizbox-question {
	font-family: 'Montserrat',sans-serif !important;
	font-weight: 700;
}
.quizbox-title {
	color: var(--site-secondary);
	font-size: 1.25rem;
}
.quizbox-text {
	margin-bottom: 10px;
}
.quizbox-content {
	max-width: 768px;
	margin-left: 0;
	margin-right: auto;
	padding: 1rem;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: var(--bs-border-radius);
}
.quizbox-question {
	margin-bottom: 1rem;
	font-size: 1.125rem;
}
.quizbox-answer-button {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: var(--bs-border-radius);
	cursor: pointer;
	transition: all 200ms ease-in-out;
}
.quizbox-answer-button:hover {
	background-color: rgba(13,110,253,.15);
	border-color: rgba(13,110,253,.15);
}
.quizbox-answer-button .button-label {
	display: flex;
	align-items: center;
	height: 100%;
	color: inherit;
	font-size: 0.875rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
.quizbox-answer-button .button-label-image img {
	display: block;
	width: 32px;
	height: auto;
	margin-right: 10px;
 }

@media (max-width: 767px) {
	.quizbox-wrapper {
		background-image: none !important;
	}
	.quizbox-title,
	.quizbox-text {
		text-align: center;
	}
}
@media (min-width: 768px) {
	.quizbox-answer-button .button-label {
		flex-direction: column;
		justify-content: space-evenly;
	}
	.quizbox-answer-button .button-label-image {
		margin-bottom: 0.5rem;
	}
	.quizbox-answer-button .button-label-image img {
		width: 48px;
		margin: auto;
	}
}

/* Recent posts sidebar grid */
.recent-posts-grid-sidebar .wp-sidebar-post .wp-post_excerpt {
    font-size: 11px;
	display: inline-block;
	flex-grow: 1;
}
.recent-posts-grid-sidebar .wp-sidebar-post .wp-post_readmore {
	font-size: 11px;
	display: inline-block;
}
.recent-posts-grid-sidebar .wp-articles {
	grid-template-columns: 1fr;
    row-gap: 1.125rem;
    padding-bottom: 2rem;
}
.recent-posts-grid-sidebar .wp-sidebar-post .wp-post_thumbnail {
    width: 130px;
    float: left;
    margin-right: 10px;
    margin-bottom: 5px;
}
.recent-posts-grid-sidebar .wp-sidebar-post .wp-post_title {
	font-size: 12px !important;
    line-height: normal;
    min-height: 74px;
    margin-bottom: 0;
}
.recent-posts-grid-sidebar .title-font {
	font-size: 1.5rem;
}
.recent-posts-grid-sidebar .wp-post-content-container {
	display: inline-flex;
    flex-direction: row;
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}