/*
Theme Name: Corgi
Author: Applied Imagination Media, Inc.
Author URI: https://aimbiz.com
Theme URI: https://aimbiz.com
Tags: full-site-editing, editor-style, block-styles, block-patterns, custom hooks, universal theme
Text Domain: corgi
Requires at least: WP 5.9
Requires at least PHP: 7.4
Tested up to PHP: 8.3+
Version: 1.8.3
Updated: 10/20/25

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Increase horizontal padding on smaller screens.
 * Temporary solution to avoid text content
 * running up to the edge of the browser window,
 * making the text difficult to read.
*/
@media ( max-width: 1024px ) {

	main > :not(.alignfull),
	main .wp-block-query > :not(.alignfull),
	main .entry-content > :not(.alignfull):not(ul):not(ol),
	main .entry-content .wp-block-columns.alignfull p {
		padding-left: var(--wp--custom--h-spacing);
		padding-right: var(--wp--custom--h-spacing);
	}
}


/* focus-visible styles for keyboard, speech input, and non-mouse useage */
.corgi *:focus-visible {
	outline: 2px solid var(--wp--preset--color--secondary);
	padding: 6px;
}

.corgi .wp-block-details summary:focus-visible {
    outline: 2px solid var(--wp--preset--color--secondary);
	padding: 6px;	
}

.corgi button:not(.components-button):not(.wp-block-navigation *):focus-visible, input[type=reset]:focus-visible, input[type=submit]:focus-visible {
	border: none !important;
	outline: 2px solid var(--wp--preset--color--secondary) !important;
	padding: 6px 14px 2px 4px !important;	
}


/* skip menu links */
a.aim-skip {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;	
}	

a.aim-skip:focus {
	position: static;
	width: auto;
	height: auto;
}

#after-main-menu, #after-secondary-menu, #after-tertiary-menu, #after-mobile-menu {
	position: relative;		
}


/* Fonts and Spacing for WCAG 2.2 standards */
body, body p, p, h1, h2, h3, h4, h5, h6, .has-system-font-family {
	font-family: var(--wp--preset--font-family--system);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;	
}


a:link, a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.button a:hover {
	text-decoration: none;
}	

/* main heading links  */
h1 a, h2 a, h3 a,
h1 a:link, h2 a:link, h3 a:link,
h1 a:visited, h2 a:visited, h3 a:visited,
a h1, a h2, a h3,
a:link h1, a:link h2, a:link h3,
a:visited h1, a:visited h2, a:visited h3 {
	text-decoration: none;
}	

/* WCAG heading line-heights and padding-bottom */
.aim h1, .aim h2, .aim h3 {
	line-height: 1.3;
}

.acc-width h1, .acc-width h2, .acc-width h3 {
	line-height: 1.5;	
}

p, h4, h5, h6 {
	line-height: 1.5;
}

.aim h1 {
	padding-bottom: 2.5rem;
}

.acc-width h1 {
	padding-bottom: 3rem;
}

.aim h2 {
	padding-bottom: 2.25rem;	
}

.acc-width h2 {
	padding-bottom: 2.5rem;	
}

.aim h3 {
	padding-bottom: 2rem;		
}

.acc-width h3 {
	padding-bottom: 2.25rem;	
}

.aim h4 {
	padding-bottom: 1.5rem;		
}

.acc-width h4 {
	padding-bottom: 1.75rem;	
}

.aim h5 {
	padding-bottom: 1.25rem;			
}

.acc-width h5 {
	padding-bottom: 1.5rem;	
}

.aim h6 {
	padding-bottom: 1rem;			
}

.acc-width h6 {
	padding-bottom: 1.25rem;	
}



/* Heading variation styles */		
.is-style-h1_normal_spacing	{
	padding-bottom: clamp( 1.25rem,  1.5rem + ((1vw - .5rem) * 1) , 2.5rem) !important;	
}		
		
.is-style-h2_normal_spacing	{
	padding-top: 1rem;
	padding-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;
}

.is-style-h3_normal_spacing	{
	padding-top: 1rem;
	padding-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}

.is-style-h2_x_normal_spacing {
	padding-top: 1rem;
	padding-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}		

.is-style-h3_x_normal_spacing {
	padding-top: 1rem;
	padding-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}

.is-style-h2_med_spacing {
	padding-top: 0rem;
	padding-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}

.is-style-h3_med_spacing {
	padding-top: 0rem;
	padding-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}


/* Accessibility max widths related styles */
.is-style-80ch {
	margin: 0 auto;
	max-width: 50rem !important;
}

.is-style-80ch .alignwide {
	max-width: 50rem;
}

/* Universal width limit selector on */
.acc-width main p,
.acc-width main ul,
.acc-width main ol,
.acc-width main .wp-block-group,
.acc-width main .wp-block-columns,
.acc-width main .wp-block-media-text,
.acc-width main .wp-block-cover,
.acc-width main .wp-block-heading,
.acc-width main .wp-block-post-title {
	margin: 0 auto;
	max-width: 50rem !important;
}

.corgi .center {
	margin: 0 auto !important;
}

.corgi .no-ch {
	max-width: 100% !important;	
}


/* Line Heights by font size -- WACG */

.has-extra-small-font-size{
	line-height: 1.5;
}

.has-small-font-size{
	line-height: 1.5;
}

.has-normal-font-size {
	line-height: 1.5;
}

.has-x-normal-font-size{
	line-height: 1.5;
}

.has-medium-font-size{
	line-height: 1.3;
}

.has-x-medium-font-size{
	line-height: 1.3;
}

.has-large-font-size {
	line-height: 1.3;
}

.has-x-large-font-size{
	line-height: 1.3;
}

.has-xx-large-font-size {
	line-height: 1.3;
}

.has-huge-font-size{
	line-height: 1.3;
}

.has-x-huge-font-size {
	line-height: 1.2;	
}	

.has-giant-font-size {
	line-height: 1.2;		
}


/* Paragraph and Lists bottom spacing by font size -- WACG */

.corgi p, body.corgi p {
	padding-bottom: clamp(1.502rem, 1.502rem + ((1vw - 0.2rem) * 1.426), 2.5rem);	
}

ul.wp-block-list.has-extra-small-font-size, ol.wp-block-list.has-extra-small-font-size {
	padding-bottom: 1.6rem;
}

ul.wp-block-list.has-small-font-size, ol.wp-block-list.has-small-font-size {
	padding-bottom: 1.875rem;
}

ul.wp-block-list.has-normal-font-size, ol.wp-block-list.has-normal-font-size {
	padding-bottom: 2.25rem;
}

ul.wp-block-list.has-x-normal-font-size, ol.wp-block-list.has-x-normal-font-size {
	padding-bottom: 2.25rem;
}

ul.wp-block-list.has-medium-font-size, ol.wp-block-list.has-medium-font-size {
	padding-bottom: 2.25rem;
}

ul.wp-block-list.has-x-medium-font-size, ol.wp-block-list.has-x-medium-font-size {
	margin-bottom: 2.25rem;
}

ul.wp-block-list.has-large-font-size, ol.wp-block-list.has-large-font-size {
	margin-bottom: 2.25rem;
}

ul.wp-block-list.has-x-large-font-size, ol.wp-block-list.has-x-large-font-size {
	margin-bottom: 2.25rem;
}

ul.wp-block-list.has-xx-large-font-size, ol.wp-block-list.has-xx-large-font-size {
	margin-bottom: 2.25rem;
}

ul.wp-block-list.has-huge-font-size, ol.wp-block-list.has-huge-font-size {
	margin-bottom: 2.25rem;
}

p.has-extra-small-font-size {
	padding-bottom: clamp(1.188rem, 1.188rem + ((1vw - 0.2rem) * 0.989), 1.88rem); 
}

p.has-small-font-size {
	padding-bottom: clamp(1.383rem, 1.383rem + ((1vw - 0.2rem) * 1.253), 2.26rem);
}

.corgi p, .corgi p.has-normal-font-size {
	padding-bottom: clamp(1.502rem, 1.502rem + ((1vw - 0.2rem) * 1.426), 2.5rem);
}

p.has-x-normal-font-size {
	padding-bottom: clamp(1.743rem, 1.743rem + ((1vw - 0.2rem) * 1.796), 3rem);
}

p.has-medium-font-size {
	padding-bottom: clamp(1.865rem, 1.865rem + ((1vw - 0.2rem) * 1.993), 3.26rem);
}

p.has-x-medium-font-size {
	padding-bottom: clamp(2.093rem, 2.093rem + ((1vw - 0.2rem) * 2.381), 3.76rem);
}

p.has-large-font-size {
	padding-bottom: clamp(2.314rem, 2.314rem + ((1vw - 0.2rem) * 2.78), 4.26rem);
}

p.has-x-large-font-size{
	padding-bottom: clamp(2.528rem, 2.528rem + ((1vw - 0.2rem) * 3.189), 4.76rem);
}

p.has-xx-large-font-size {
	padding-bottom: clamp(3.14rem, 3.14rem + ((1vw - 0.2rem) * 4.457), 6.26rem);
}

p.has-huge-font-size{
	padding-bottom: clamp(3.8rem, 3.8rem + ((1vw - 0.2rem) * 6), 8rem);
}



/* override default blockgap */
main.wp-block-group {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Do NOT include automatic padding for group blocks using background color */
.wp-block-group:where(.has-background) {
    padding: 0;
}

/* override to allow menu lists to descend out of cover */
header .wp-block-cover{
	overflow: visible !important;	
}


/* **** default footer content **** */
.aim-footer-default{
	max-width: 100% !important;
	text-align: center;
	width: 100%;
}

.back-top{
	font-size: var(--wp--preset--font-size--normal) !important;
	text-align: center;
}

nav ul {
	list-style-type: none !important;
	margin-bottom: 1rem;
}

nav #access-foot ul li {
	display: inline;
	font-size: 1rem !important;
}

.footer-text, .page-footer {
	font-size: 1rem;
	margin-bottom: 1rem;	
}


.aim-footer-def-nav-copy{
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: auto;
}	

.aim-footer-def-nav-copy nav {
	flex-basis: auto;
	flex-grow: 0;	
	order: 2 !important;
}	



/* Special Cases */

/* prevent words from breaking */
p {
	word-break: normal;	
}	

/* Allows long URLs or strings to wrap to another line */
.long-url, .long-url a {
	overflow-wrap: break-word;
	word-wrap: break-word;	
}


/* override alignwide with added alignfull to force 100% width */
.alignwide.alignfull {
	width: 100% !important;
}

/* alignwide as a child of itself set to 100% */
.alignwide .alignwide {
	margin: 0 auto;
	width: clamp(280px, 94vw, 1440px) !important;
}

/* fix auto container flex-basis set to 100px */
.wp-block-spacer {
	flex-basis: auto !important;
}

/* Include text-align value with .aligncenter */
.aligncenter {
    clear: both;
    text-align: center;
}

/* fix alignfull */
.alignfull {
	width: 100% !important;
}

/* fix justify-content  */
.corgi .is-content-justification-center {
	justify-content: center;
}

/* inline display for block content */
.inline-group *, *.inline-group {
	display: inline;
}

/* centering has-text-align-center selector */
p.has-text-align-center, h1.has-text-align-center, h2.has-text-align-center, h3.has-text-align-center, h4.has-text-align-center, h5.has-text-align-center, h6.has-text-align-center {
	margin: 0 auto;
}


/* ************************************************* WP Block Customized Styles ********************************************** */


/* Image Block -- Lightbox overlay */
.scrim {
	background: rgba(0, 0, 0, .75 ) !important;
}

.wp-lightbox-overlay.zoom.active button.close-button {
	border-color: #eee !important;
}

.wp-lightbox-overlay.zoom.active button.close-button svg {
	fill: #eee !important;
}	

/* WP Excerpt Block */
p.wp-block-post-excerpt__excerpt{
	margin: 0;
}

/* WP Search Field Block */
.wp-block-search__inside-wrapper button.wp-block-search__button{
	padding: 0 ,5rem;
}

/* Post Navigation Blocks */
.post-navigation-link-previous a::before {
    content: '\f340';
    display: inline-block;
    font-family: dashicons;
    font-size: 1.25rem;
    padding-right: .375rem;
    position: relative;
    top: .125rem;
}

.post-navigation-link-next a::after{
	content:'\f344';
    display: inline-block;	
	font-family: dashicons;
	font-size: 1.25rem;
	padding-left: .375rem;
    position: relative;
    top: .125rem;
}

/* Featured Image Block */
.wp-block-post-featured-image img {
    margin: 0 auto 1rem;
	max-width: initial !important;
}

.aim-featured-image-universal{
	overflow: hidden;
}

.aligncenter .aim-featured-image-universal {
	margin-left: auto;
	margin-right: auto;
}	

/* Designlink block */
.aligncenter .aim-design {
	text-align: center;
}	

/* Media & Text block */
.wp-block-media-text.media-text-start .wp-block-media-text__content {
	align-self: start;	
}

.wp-block-media-text.media-text-center .wp-block-media-text__content {
	align-self: center;	
}

.wp-block-media-text.media-text-end .wp-block-media-text__content {
	align-self: end;	
}	


/* Paragraph block */
.is-style-nomargin{
	margin-bottom: 0;
	padding-bottom: 0 !important;
}	


/* Heading Block variation styles */		
.is-style-h1_normal_spacing	{
	margin-bottom: clamp( 1.25rem,  1.5rem + ((1vw - .5rem) * 1) , 2.5rem) !important;	
}		
		
.is-style-h2_normal_spacing	{
	padding-top: 1rem;
	margin-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;
}

.is-style-h3_normal_spacing	{
	padding-top: 1rem;
	margin-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}

.is-style-h2_x_normal_spacing {
	padding-top: 1rem;
	margin-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}		

.is-style-h3_x_normal_spacing {
	padding-top: 1rem;
	margin-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}

.is-style-h2_med_spacing {
	padding-top: 0rem;
	margin-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}

.is-style-h3_med_spacing {
	padding-top: 0rem;
	margin-bottom: clamp( 1rem,  1rem + ((1vw - 1.5rem) * 1) ,2rem) !important;	
}


/* Columns block */
.wp-block-columns {
    margin-bottom: 0;
}

.wp-block-column p:last-child{
    margin-bottom: 0;	
}

/* Author Block */
p.wp-block-post-author__name {
    padding-bottom: 0;
}



/* block separator styles -- use only bottom border */
.wp-block-separator{
	border-top: 0 !important;	
}

hr.wp-block-separator.is-style-wide-thick-sep {
	border-bottom-width: .25rem;
    width: 100%;
}		

hr.wp-block-separator.is-style-narrow-sep {
	margin: 0 auto;
    width: 30%;
}

hr.wp-block-separator.is-style-narrow-thick-sep {
	border-bottom-width: .25rem;	
	margin: 0 auto;
    width: 30%;
}		

.wp-block-separator.is-style-dots::before {
    font-size: 2rem !important;
}


/* list block styles */		
ul.is-style-list-outside, ol.is-style-list-outside {
	list-style-position: outside;
	padding-left: 1rem;
}

ul.is-style-list-inside, ol.is-style-list-inside {
	list-style-position: inside;
	padding-left: 0;
}

/* no-bullet list */
ul.is-style-list-no-bullets{
	list-style-type: none;	
}

/* circle list */
ul.is-style-list-circle {
	list-style-type: circle;	
}	

/* square list */
ul.is-style-list-square {
	list-style-type: square;	
}

/* arrow right list */
ul.is-style-list-right {
	list-style-type: disclosure-closed;	
}

/* arrow down list */
ul.is-style-list-down {
	list-style-type: disclosure-open;	
}


/* spacer default styles */
.is-style-spc-112{
	height: clamp( 3.5rem, 9vw , 7rem) !important;
}

.is-style-spc-104{
	height: clamp( 3.25rem, 8vw , 6.5rem) !important;
}

.is-style-spc-96{
	height: clamp( 3rem, 7vw , 6rem) !important;
}

.is-style-spc-88{
	height: clamp( 2.75rem, 6vw , 5.5rem) !important;
}

.is-style-spc-80{
	height: clamp( 2.5rem, 6vw , 5rem) !important;
}

.is-style-spc-72{
	height: clamp( 2.25rem, 5vw , 4.5rem) !important;
}

.is-style-spc-64{
	height: clamp( 2rem, 4vw , 4rem) !important;
}	

.is-style-spc-56{
	height: clamp( 1.875rem, 4vw , 3.5rem) !important;
}

.is-style-spc-48{
	height: clamp( 1.75rem, 3vw , 3rem) !important;
}

.is-style-spc-40{
	height: clamp( 1.5rem, 3vw , 2.5rem) !important;
}

.is-style-spc-32{
	height: clamp( 1.5rem, 2vw , 2rem) !important;
}

.is-style-spc-24{
	height: clamp( 1.25rem, 2vw , 1.5rem) !important;
}

.is-style-spc-16{
	height: 1rem !important;
}

.is-style-spc-8{
	height: .5rem !important;
}

/* button styles */
.is-style-rounded .wp-block-button__link{
	border-radius: 1rem !important;
}	

.is-style-squared .wp-block-button__link{
	border-radius: 0 !important;
}

.wp-block-button__link:focus, .wp-block-button__link:hover {
    filter: none !important;
}


/* table blocks */
.wp-block-table.table-33 table {
	width: 33%;
}

.wp-block-table.table-50 table {
	width: 50%;
}

.wp-block-table.table-66 table {
	width: 66%;
}

.wp-block-table.table-75 table {
	width: 75%;
}

.wp-block-table.is-style-center table {
	margin: 0 auto;
}

/* Table styles -- no-borders */
.wp-block-table.is-style-no-border table {
	border: none !important;
}

.wp-block-table.is-style-no-border tbody td, .wp-block-table.is-style-no-border tbody tr {
    border-right: none !important;
    border-bottom: none !important;
}

.wp-block-table.is-style-no-border thead, .wp-block-table.is-style-no-border thead th, .wp-block-table.is-style-no-border thead tr {
    border-right: none !important;
    border-bottom: none !important;
}


/* group block styles */

.is-style-group-90 {
	margin: 0 auto;
	width: 90%;
}

.is-style-group-80 {
	margin: 0 auto;
	width: 80%;
}

.is-style-group-75 {
	margin: 0 auto;
	width: 75%;
}

.is-style-group-70 {
	margin: 0 auto;
	width: 70%;
}

.is-style-group-66 {
	margin: 0 auto;
	width: 66.66%;
}

.is-style-group-60 {
	margin: 0 auto;
	width: 60%;
}

.is-style-group-50 {
	margin: 0 auto;
	width: 50%;
}

.is-style-group-50 {
	margin: 0 auto;
	width: 50%;
}

.is-style-group-40 {
	margin: 0 auto;
	width: 40%;
}

.is-style-group-30 {
	margin: 0 auto;
	width: 30%;
}

.is-style-group-33 {
	margin: 0 auto;
	width: 33.33%;
}

.is-style-group-25 {
	margin: 0 auto;
	width: 25%;
}

.is-style-group-20 {
	margin: 0 auto;
	width: 20%;
}

.is-style-group-15 {
	margin: 0 auto;
	width: 15%;
}

.is-style-group-10 {
	margin: 0 auto;
	width: 10%;
}

.is-style-col-flow-grp .wp-block-columns .wp-block-column:not(:first-child) {
    margin-left: 0;
}

.is-style-col-flow-grp .wp-block-columns {
	column-gap: 24px;
    flex-wrap: nowrap;
}

.is-style-bubble-group {
    display: flex;
    line-height: 1!important;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 0!important;
}

/* absolutely positioned group block */
.is-style-group-absolute{
	left: 0;
	position: absolute !important;
	top: 0;
}



/* cover block styles */
.is-style-content-width .wp-block-cover__inner-container {
    width: auto;
}

.is-style-content-90 .wp-block-cover__inner-container {
	width: 90%;	
}

.is-style-content-80 .wp-block-cover__inner-container {
	width: 80%;	
}

.is-style-content-75 .wp-block-cover__inner-container {
	width: 75%;	
}

.is-style-content-70 .wp-block-cover__inner-container {
	width: 70%;	
}

.is-style-content-66 .wp-block-cover__inner-container {
	width: 66.6%;	
}

.is-style-content-60 .wp-block-cover__inner-container {
	width: 60%;	
}

.is-style-content-50 .wp-block-cover__inner-container {
	width: 50%;	
}

.is-style-content-40 .wp-block-cover__inner-container {
	width: 40%;	
}

.is-style-content-33 .wp-block-cover__inner-container {
	width: 33.3%;	
}

.is-style-content-60 .wp-block-cover__inner-container {
	width: 30%;	
}

.is-style-content-25 .wp-block-cover__inner-container {
	width: 25%;	
}

.is-style-content-20 .wp-block-cover__inner-container {
	width: 20%;	
}

.wp-block-cover.is-style-cover-contain {
	object-fit: contain !important;
}



/* Gallery styles -- fixed image sizes */
.wp-block-gallery.is-style-fixed-gal {
	flex-direction: row;
	flex-wrap: wrap;
}	

.wp-block-gallery.is-style-fixed-gal figure.wp-block-image {
	flex-grow: 0 !important;
	margin: 0 !important;
}

/* ********* Image styles ********* */

/* Ken Burns effect -- style for images */
.is-style-aim-burns {
  height: auto;	
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;	
}

.is-style-aim-burns img, .is-style-aim-burns li:nth-child(odd) img {
  height: auto;  	
  position: relative;
  width: 100%;	
}

.is-style-aim-burns li:nth-child(even) img {
  height: auto;		
  position: relative;  
  width: 100%;	
}

@-webkit-keyframes kburns {
  0% {

    transform: scale(1.0);
    -ms-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    -o-transform: scale(1.0);
    -moz-transform: scale(1.0);
  }
  100% {
    transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    -moz-transform: scale(1.5);
  }
}

@-webkit-keyframes kburns-alt {
  0% {

    transform: scale(1.0);
    -ms-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    -o-transform: scale(1.0);
    -moz-transform: scale(1.0);
  }
  100% {
    transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    -moz-transform: scale(1.5);
  }
}

/* Theme Blocks -- query blocks */

/* Excerpt Block */
p.wp-block-post-excerpt__excerpt a {
	display: block;
	text-transform: lowercase;
	text-align: left;
}

/* featured image block */
.aim-featured-image-large {
    display: block;
    height: auto;
    width: auto;
}

.aim-featured-image-large img {
	height: auto;
	max-width: 100%;
	object-fit: contain;
    vertical-align: top;
    width: initial;	
}


/* search field block */
.wp-block-search__input {
    padding: .125rem;
    min-width: 3rem;
    font-size: 1rem;
    width: clamp( 4rem, 8vw, 7rem );
}


/* AIM ACF Custom Blocks */
.aim-featured-image-medium, .aim-featured-image-large {
    display: block;	
}

/* aim-slide-in block */
.aim-window {
    margin: 0!important;
    margin-left: 0!important;
    margin-right: 0!important;
	max-width: 100% !important;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* aim-slide-in-left */
.aim-effect.aim-slide-in-left {
	opacity: 0;
	position: absolute;	
	left: -2000px;	
}

.aim-effect.aim-slide-in-left.aim-animate{
	opacity: 1;
	position: relative;		
	left: 0;	
}

/* aim-slide-in-right */
.aim-effect.aim-slide-in-right {
	opacity: 0;
	position: absolute;	
	right: -2000px;	
}

.aim-effect.aim-slide-in-right.aim-animate{
	opacity: 1;
	position: relative;		
	right: 0;	
}


/* Default zoom css */
.aim-effect .aim-inner-zoom{
	font-size: 1px !important;
	transition: all 1s ease;
	transition-delay: .5s;
}

.aim-effect.aim-animate .aim-inner-zoom{
	font-size: 5rem !important;
}


/* email link block */
a.email-block:link {
	display: block;
}	

a.email-inline:link {
	display: inline;
}	

/* ********** AIM Chart general styles *********** */
.aim-chart {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: flex-start;
	width: 100%;
}

.bar {
    display: flex;
    width: 100%;
    color: #000;
}

.bar-inner {
	padding-left: 6px;
}

/* Chart Horizontal Presentation */
.chart-cols{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
}

.aim-chart.aim-chart-horz .bar.top {
	display: block;
	width: 100%;
}

.aim-chart-horz .chart-lbl {
	text-align: left;
}

/* Chart Vertical Presentation */
.aim-chart.aim-chart-vert {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
}

.aim-chart-vert .bar {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
    color: #000;
}

.aim-chart-vert .bar-inner {
    padding-right: 0;
	padding-left: 0;
    display: flex;
    flex-direction: column-reverse;
}

.aim-chart-vert .chart-lbl {
	text-align: center;
	transform: rotate(0deg);	
}


/* ************************************************* Custom Post Type styles ************************************************ */

/* build_test post type */
.build_test-template-default .alignwide.alignfull {
	width: 100% !important;
}


/* ************************************************* Pattern styles ************************************************ */

/* Toggle Group with open/close arrows */
.aim-toggle-grp {
    box-sizing: border-box;
    width: auto !important;
}

.aim-toggle-grp h3.aim-trigger {
	font-size: inherit;
	letter-spacing: 0;
	line-height: 1.2;
    position: relative;
    cursor: pointer;
}

.aim-toggle-grp .aim-toggle_container.wp-block-post-content {
	width: auto;
}

.aim-toggle-grp .aim-toggle_container{
	padding-top: 8px;	
}

.aim-trigger::after {
    color: green;
    content: "\f140";
    font-family: 'dashicons';
	font-size: 28px;
	line-height: 0;
    position: relative;
    padding-left: .5rem;
    right: auto;
    top: 6px;
}

.aim-trigger.active::after {
    color: red;
    content: "\f142";
    font-family: 'dashicons';
	font-size: 28px;
	line-height: 0;	
    position: relative;
    padding-left: .5rem;
    right: auto;
    top: 6px;
}


/* Toggle with background and borders */
.aim-toggle-back-grp h3.aim-trigger.active {
	border-top: 4px solid #9e0c0c;
}

.aim-toggle-back-grp .aim-toggle_container {
	background: #eee;
	border-top: 2px solid #9e0c0c;	
	border-bottom: 4px solid #9e0c0c;
	padding: 1rem;
}	


/* Responsive MultiMedia Panel pattern */

.resp-medi-pan{
	display: block;
	position: relative;
	width: 100%;
}

.resp-medi-pan-row {
	display: flex;
	flex-direction: row;
	width: 100%;
}

.resp-media-pan-cov {
	width: auto;
}

.resp-media-pan-cov.is-style-content-90 {
	min-width: 90%;
}

.resp-media-pan-cov.is-style-content-80 {
	min-width: 80%;
}

.resp-media-pan-cov.is-style-content-75 {
	min-width: 75%;
}

.resp-media-pan-cov.is-style-content-70 {
	min-width: 70%;
}

.resp-media-pan-cov.is-style-content-66 {
	min-width: 60.6%;
}

.resp-media-pan-cov.is-style-content-60 {
	min-width: 60%;
}

.resp-media-pan-cov.is-style-content-50 {
	min-width: 50%;
}

.resp-media-pan-cov.is-style-content-40 {
	min-width: 40%;
}

.resp-media-pan-cov.is-style-content-33 {
	min-width: 33.3%;
}

.resp-media-pan-cov.is-style-content-30 {
	min-width: 30%;
}

.resp-media-pan-cov.is-style-content-25 {
	min-width: 25%;
}

.resp-media-pan-cov.is-style-content-20 {
	min-width: 20%;
}

.resp-media-pan-cov img {
	background-size: cover;
}


/* Fade-in Row Columns -- maintain column height */
.fade-in-grp .wp-block-group.fade-in-row {
	align-items: stretch !important;
}	

.fade-in-row .aim-animate .wp-block-group {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: flex-start;
}	

.fade-in-row .wp-block-group .wp-block-buttons {
	align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.fade-in-pan img {
	object-fit: cover !important;
	width: 100% !important;
}

.fade-in-row .aim-effect {
	flex-basis: 30%;
	flex-grow: 1;
}


/* Click View Pattern */
.aim-click-view .aim-trigger::after, .aim-click-view-side .aim-trigger::after {
	display: none;
}

.aim-click-view .aim-trigger, .aim-click-view-side .aim-trigger {
	cursor: pointer;
}

.aim-click-view {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

.aim-click-view-side {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}

/* Paginated Stories */

.story-grp + p.post-nav-links {
    display: flex;
    justify-content: flex-end;
	padding-top: 1rem;
}

p.post-nav-links a.post-page-numbers, p.post-nav-links .current {
	line-height: 1;	
	padding: 4px 8px;
}	

p.post-nav-links .current {
	background: #042f4a;
	color: #fff;
	line-height: 1;
	padding: 4px 8px;
}

p.post-nav-links a.post-page-numbers:hover {
	background: #042f4a;
	color: #fff;
	line-height: 1;
	padding: 4px 8px;	
}

p.post-nav-links:first-child {
	margin-left: 4px !important;
}	



/* ******************** Site Map Page Pattern ********************* */
.site-map-grp .aim-query-wrap  h2 {
	margin: 0;
}	

.site-map-grp .aim-query-wrap .linked-title{
	padding-left: 16px;
}


/* ************************************************* Advanced CSS selector styles ************************************************ */

/* Block Centering */
.h-center, .center {
	margin: 0 auto !important;
}

/* Text styles */
.text-left {
	text-align: left;
}

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

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

/* use with paragraph blocks */
.no-margin, p.no-margin {
	margin: 0 !important;
}

.no-pad, p.no-pad {
	padding: 0 !important;
}




/* add transparent background */
.transparent{
	background-color: transparent !important;
}

/* displays only for responsive layouts */
.back-to-top-footer {
	display: none !important;
}

.rs-hide {
	display: block !important;
}

.rs-show{
	display: none;
}

.tab-show {
	display: none !important;	
}

.mob-show {
	display: none !important;		
}


/*
 *		*********** Responsive Styles via Media Queries ************* 
 *
 * 		standard media queries and classes are applied here
 */
 
/* ********************************   Break at 1600px   ******************************* */
/* ### Midsize Desktops and Large Laptops  ### */
@media only screen and (max-width: 1600px)  { 

		
	
} /* end 1600px breakpoint */



/* ********************************   Break at 1440px   ******************************* */
/* ### Smaller Desktops and Laptops  ### */
@media only screen and (max-width : 1440px) {

.alignwide {
    margin: 0 auto;
    width: 100% !important;
}
	
/* alignwide as a child of itself set to 100% */
.alignwide .alignwide {
	margin: 0 auto;
	width: 100% !important;
}
	
} /* end 1440px breakpoint */



/* ********************************   Break at 1100px   ******************************* */
/* Covers iPad, iPad Mini (landscape), iPad Pro (portrait) */
@media only screen and (max-width : 1100px) {

/* Footer */	
.site-footer {
    box-sizing: border-box;	
}	
	
	
} /* end 1100px breakpoint */



/* ****************************************** 
	--Break at 786px WORDPRESS Default Media Query for wrapping MediaText and Columns, 
	--Covers Pixel 2,3,4 (landscape) 
*********************************** */
@media only screen and (max-width : 786px) {

/* Responsive multi media panel stacking at 600px */
.resp-medi-pan-row {
	flex-direction: column;
}

/* Text Line Width limit nolonger required */	
.is-style-80ch {
	max-width: 100% !important;
}	

.acc-width main p,
.acc-width main ul,
.acc-width main ol,
.acc-width main .wp-block-group,
.acc-width main .wp-block-columns,
.acc-width main .wp-block-media-text,
.acc-width main .wp-block-cover,
.acc-width main .wp-block-heading,
.acc-width main .wp-block-post-title {
	margin: 0;
	max-width: 100% !important;
}	

.is-style-80ch .alignwide {
	max-width: 100%;
}

} /* end 786px breakpoint */



/* ********************************   Break at 432px   ******************************* */
/* Covers iPhone 6,7,8 Plus to iPhone 14+ * Pixel 2,3, Pixel 2XL (portrait) */
@media only screen and (max-width : 432px) {

/* constrain word-break at narrow screen sizes */
p {
	word-break: keep-all;		
}


	
	
} /* end 420px breakpoint */


/* ********************************   Break at 280px   ******************************* */
/* includes small smart phones: Galaxy fold */
@media only screen and (max-width : 280px) {


	
} /* end 280px breakpoint */