/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/** Full Size Container, Centered Content **/
.mod-container, .entry-content .mod-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.wp-block-group.alignfull > .wp-block-group__inner-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}
/** End Full Size Container, Centered Content **/

/* This is the first container, we need to remove the padding-top so it touches the navbar */
main.site-main > article > .inside-article {
	padding-top: 0px;
	padding-bottom: 0px;
}

/** tablet padding Fixes **/
@media (min-width: 769px) and (max-width: 1280px) {
    .wp-block-group__inner-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/** Fixes WP overflow of a few pixels... */
body {
    overflow-x: hidden;
}
@media (max-width: 768px) {
    .entry-content .alignwide {
        width: 100% !important;
    }
}
.separate-containers .site-main {
    margin: 0px;
}
/** End WP Overflow Fixes **/


.shadow-siege {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.06);
}
.drop-shadow-lg {
	filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));	
}
.shadow-lg {
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

/** Give the horizontal card a hover effect **/
.horizontal-card:has(+ .editorskit-block-link:hover) {
    color:#fff;
	background-color: #F99F22 !important;    
}

/** TODO: REMOVE EVERYTHING IN THIS ZONE AT SOME POINT **/
.card {
	padding: 2rem; /* 32px */
	line-height: 1.5rem; /* 24px */
	background: #fff;
}
.modicon {
	padding: 1rem; /* 16px */
	background-color: #F8F8F8;
	border-radius: 10px;
}
.modicon-2 {
	padding: 1rem; /* 16px */
	background-color: #4d6185;
	border-radius: 10px;
}

.list-checkbox {
	list-style-type: "\2713   ";
	margin-left: 24px;
}

.list-checkbox li::marker {
    color: #F99F22;
    font-size: 20px;
}

.list-checkbox > li ul {
    list-style-type: "\2713   ";
}

.debug * {
    border: 1px solid red;
}

.h-full {
	height: 100%;
}

.text-brand {
	color: #F99F22;
}

.hidden {
    display: none;
}

.z-10 {
	z-index: 10;
}

.text-center {
	text-align: center;
}

/** TODO: Replace with container approach **/
.helpful-resources {
	filter: drop-shadow(0px 10px 25px rgba(0, 0, 0, 0.06));
	background: #fff;
}
.helpful-resources figure,.helpful-resources img {
	height: 250px;
	width: 100%;
	object-fit: cover;
}
.helpful-resources .wp-block-group__inner-container {
	padding: 12px 32px;
}

/** For Signup Page **/
.full-signup-form {
	flex-direction: column-reverse;
	margin-top: -7rem !important;
}
@media (min-width: 768px) {
	.full-signup-form {
	    flex-direction: row;
	}
}
/** Footer Fixes **/
#mod-footer a:hover {
    color: #ffffff;
}
#mod-footer a.gb-button:hover {
    color: #1A2742 !important;
}

.no-underline > *, .gb-button-mod-button:hover {
	text-decoration: none;
}

/** Change Hero Gradient On Mobile **/
@media (max-width: 758px) 
{
    article.page .wp-block-cover:not(.global-slate-cta) .has-background-gradient {
        opacity: 1;
        background: linear-gradient(180deg, rgba(26,39,66,.9) 50%, rgba(255,255,255,0) 100%) !important;
    }
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.absolute {
   position: absolute;
}
.top-0 {
    top: 0px;
}

.left-0 {
    left: 0px;
}

.relative {
    position: relative;
}

footer.entry-meta > .tags-links {
	display: none;
}

.grid-carousel {
    height: 510px !important;
    overflow-y: hidden;
}

.grid-carousel .wp-block-post-content {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}
.grid-carousel.text-left {
	padding-bottom: 10px;
}
.grid-carousel.text-left p {
	text-align: left !important;
}

.grid-carousel .wp-block-post-content.clamped {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.grid-carousel.glider .gb-grid-column {
    margin: 0px 20px 0 0;
    padding-top: 50px !important;
}

.grid-carousel.glider .gb-grid-column:last-child {
    margin-right: 0;
}


.grid-carousel.glider {
    justify-content: unset !important;
    row-gap: unset !important;
    margin: unset !important;
}

.glider-dot.active {
	background-color: #F99F22;
}

.grid-carousel .wp-block-post-content::-webkit-scrollbar {
    background-color: transparent;
    width: 8px;
}

.grid-carousel .wp-block-post-content::-webkit-scrollbar-track {
    background-color: transparent;
}

.grid-carousel .wp-block-post-content::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border: 0;
}

.grid-carousel .wp-block-post-content::-webkit-scrollbar-button {
    display:none;
}

.glider-next.disabled, .glider-prev.disabled {
    color: #fff !important;
    cursor: not-allowed;
}




/*Blog Hub Form Styling*/
.search-input-svg {
    background: rgba(255, 255, 255, 0.10);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    height: 52px;
    
}

form.search-input input {
    background: rgba(255, 255, 255, 0.10);
    border-color: transparent;
    font-size: 16px;
    line-height: 26px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #ffffffB3;
    height: 52px;
	width: 100%;
}

form.search-input input::placeholder {
    color: #ffffffB3;
}

form.search-input input:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: transparent;
    color: #fff;
    outline: none;
}

.category-drop-down select {
    outline: none;
    font-size: 16px;
    color: #ffffff;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 4px;
    height: 52px;
    background: rgba(255, 255, 255, 0.10);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.category-drop-down select option {
	color: black;
}


/* Blog Hub Category List on left side of page */
.mod-categories-list li {
    margin-bottom: 16px;
}

ul.mod-categories-list {
    list-style: none;
    margin: 0;
}

/*Blog Hub Resources Buttons*/
.blog-hub-resources a.gb-button::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    opacity: 0;
    transform: rotate(45deg);
    transition: 0.5s, transform 0.3s ease;
}

.blog-hub-resources a.gb-button:hover {
    background-color: #0056b3;
}

.blog-hub-resources a.gb-button:hover::before {
    opacity: 1;
}

/*Blog Card Hover*/
.blog-hub-card:hover .blog-hub-post-title a {
    text-decoration: underline;
    transition: all 2s ease-in-out;
}

.line-clamp-1 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.line-clamp-2 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.line-clamp-3 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.line-clamp-4 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.line-clamp-5 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}

.bbb-logo {
	max-height: 85px;
	object-fit: contain;
}


button.menu-toggle {
	padding-left: 40px !important;
}
/* SCREEN PANELS DEFAULT CSS */
.screen-panels {
    display: flex !important;
}

.screen-panels .screen-panel {
    transition: flex-basis 0.3s ease-in-out;
    overflow: hidden;
    height: auto;
}

.screen-panels .screen-panel:not(.active) {
    cursor: pointer;
    display: none;
}

.screen-panels .screen-panel.active {
    flex-basis: 100%;
}

.screen-panels .screen-panel:first-child {
    border-top-left-radius: 10px !important;  /* Rounded top-left corner */
    border-bottom-left-radius: 10px !important; /* Rounded bottom-left corner */
}

.screen-panels .screen-panel:nth-child(2) {
    border-radius: 0 !important; /* Middle panel has no border radius */
}

.screen-panels .screen-panel:nth-child(3) {
    border-top-right-radius: 10px !important; /* Rounded top-right corner */
    border-bottom-right-radius: 10px !important; /* Rounded bottom-right corner */
}

.screen-panels .screen-panel:last-child > div {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.screen-panels .screen-panel > div > div {
    transition: opacity 0.1s ease-in-out, background-color 0.1s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    opacity: 0;
    z-index: -1;
}
    
.screen-panels .screen-panel > div > div:hover svg {
        transform: translateX(10px);
        transition: all .1s ease-in-out;
}

.screen-panels .screen-panel.active > div > div {
    opacity: 1; /* Opacity for active state */
    z-index: 1;
}

.screen-panels div > div {
    min-width: 100%;
    padding: 10px 10px;
}

.screen-panels div > div > div {
    padding: 10px 20px;
}

@media (max-width: 767px) {
	.screen-panels .screen-panel.active {
		border-radius: 12px !important;
	}
}

@media (min-width: 768px) {
    .screen-panels div > div {
        min-width: 600px;
        padding: 40px;
    }

    .screen-panels .screen-panel:not(.active) {
        display: block;
        flex-basis: 10%;
    }

    .screen-panels .screen-panel.active {
        flex-basis: 80%;
    }

    .screen-panels .screen-panel {
        height: 500px;
    }
}

.screen-panel.active > div > div:hover {
    background: rgba(255, 255, 255, 0.6);
}

.screen-panel.active > div > div p, .screen-panel.active > div > div h5 {
    transition: color 0.1s ease-in-out;
}

.screen-panel.active > div > div:hover p, .screen-panel.active > div > div:hover h5 {
    color: #191513 !important;
}

.screen-panels .screen-panel:not(.active):hover {
    flex-basis: 130px;
}
    .screen-panels {
        max-height: 500px;
        overflow: hidden;
    }

/** NEW SITE WIDE DEFAULTS - JL @ 2025-01-07 **/

/** MOBILE **/
#page .inside-article .entry-content {
	padding-top: 1rem;
	padding: 0rem 1rem;
}

#page .inside-article .entry-content .gb-container.alignfull > .gb-container {
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 768px) {
	#page .inside-article .entry-content {
		padding-top: 1rem;
		padding: 0rem 2rem;
	}
	#page .inside-article .entry-content .gb-container.alignfull > .gb-container {
		padding: 0rem 2rem;
	}
}

/* Desktop styles (1024px and above) */
@media (min-width: 1024px) {
	#page .inside-article .entry-content {
		padding-top: 1rem;
	}
	#page .inside-article .entry-content .gb-container.alignfull > .gb-container {

	}
}

a, a:hover  {
    cursor: pointer !important;
}

.search.search-results h2 {
    font-size: 1.5rem;
}

.search.search-results .page-title, .search.search-results .page-header, .search.search-results .entry-header {
	font-size: 1.5rem;
	display: block;
	z-index: 1;
	padding: 0 !important;
	margin: 0 !important;
	height: auto !important;
}
.site-header.header-image { 
	object-fit: contain;
}
.gradient-text {
	color: transparent;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-animation: hue 10s infinite linear;
	background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);
	text-align: center !important;
}

.rplg-badge2-btn{
	z-index: 1 !important;
}