/*
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: 5.9
Requires PHP: 7.4
Tested up to: 7.4
Version: 1.3.8
Updated: 6/3/23

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);
	}
}

/* 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;
}

/* **** default footer content **** */
.aim-footer-default{
	max-width: 1100px !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 */

/* 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;
}



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

/* 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 8px;
}

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

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

/* Featured Image Block */
.wp-block-post-featured-image img {
    margin: 0 auto 16px;
}

/* 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 !important;
	padding-bottom: 0 !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;
}


/* button outline style */
.is-style-outline>.wp-block-button__link:not(.has-background), .wp-block-button__link.is-style-outline:not(.has-background) {
	border-color: currentColor;
	border-width: 1px;
}


/* 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: 4px;
    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: 4px;	
	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: 112px !important;
}

.is-style-spc-104{
	height: 104px !important;
}

.is-style-spc-96{
	height: 96px !important;
}

.is-style-spc-88{
	height: 88px !important;
}

.is-style-spc-80{
	height: 80px !important;
}

.is-style-spc-72{
	height: 72px !important;
}

.is-style-spc-64{
	height: 64px !important;
}	

.is-style-spc-56{
	height: 56px !important;
}

.is-style-spc-48{
	height: 48px !important;
}

.is-style-spc-40{
	height: 40px !important;
}

.is-style-spc-32{
	height: 32px !important;
}

.is-style-spc-24{
	height: 24px !important;
}

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

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


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

.is-style-squared .wp-block-button__link{
	border-radius: 0 !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-70 .wp-block-cover__inner-container {
	width: 70%;	
}

.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-60 .wp-block-cover__inner-container {
	width: 30%;	
}

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


/* Flex Columns styles */
/* 2 columns */
.wp-block-columns.is-style-flex-cols-2 {
	flex-wrap: wrap;
	flex-direction: row;
	gap: 0;	
}

.wp-block-columns.is-style-flex-cols-2 .wp-block-column {
    flex-basis: 50%;
    flex-grow: 1;
}

.wp-block-columns.is-style-flex-cols-2  .wp-block-column:not(:first-child) {
    margin-left: 0;
}

/* 3 columns */
.wp-block-columns.is-style-flex-cols-3 {
	flex-wrap: wrap;
	flex-direction: row;
	gap: 0;
}

.wp-block-columns.is-style-flex-cols-3 .wp-block-column {
    flex-basis: 30%;
    flex-grow: 1;
}

.wp-block-columns.is-style-flex-cols-3  .wp-block-column:not(:first-child) {
    margin-left: 0;
}


/* 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 */
.wp-block-post-featured-image img {
    max-width: initial;
    width: initial;
    height: auto;
    vertical-align: top;
}




/* search field block */
.wp-block-search__input {
    padding: 2px;
    min-width: 3em;
    font-size: 1rem;
    width: 100px;
}


/* 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;
}

/* ************************************************* 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;
}	




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

/* flex gap styles */
.flex-gap-0 {
	gap: 0;
}	

.flex-gap-1 {
	gap: 1px;
}

.flex-gap-2 {
	gap: 2px;
}

.flex-gap-4 {
	gap: 4px;
}

.flex-gap-8 {
	gap: 8px;
}

.flex-gap-16 {
	gap: 16px;
}

.flex-gap-24 {
	gap: 24px;
}

/* flex justify */
.flex-justify-start{
	justify-content: flex-start;
}

.flex-justify-end{
	justify-content: flex-end;
}

.flex-justify-center{
	justify-content: center;
}

.flex-justify-around{
	justify-content: space-around;
}

.flex-justify-between{
	justify-content: space-between;
}	


/* 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;
}

.pad-4{
	padding: 4px !important;	
}

.pad-8{
	padding: 8px !important;	
} 

.pad-12{
	padding: 12px !important;	
}

.pad-16{
	padding: 16px !important !important;	
} 

.pad-20{
	padding: 20px !important;	
} 

.pad-24{
	padding: 24px !important;	
}

.pad-32{
	padding: 32px !important;	
}


.pad-left-4{
	padding-left: 4px !important;	
}

.pad-left-8{
	padding-left: 8px !important;	
}

.pad-left-12{
	padding-left: 12px !important;	
}

.pad-left-16{
	padding-left: 16px !important;	
}

.pad-left-20{
	padding-left: 20px !important;	
}

.pad-left-24{
	padding-left: 24px !important;	
}

.pad-left-32{
	padding-left: 32px !important;	
}

.pad-right-4{
	padding-right: 4px !important;	
}

.pad-right-8{
	padding-right: 8px !important;	
}

.pad-right-12{
	padding-right: 12px !important;	
}

.pad-right-16{
	padding-right: 16px !important;	
}

.pad-right-20{
	padding-right: 20px !important;	
}

.pad-right-24{
	padding-right: 24px !important;	
}

.pad-right-32{
	padding-right: 32px !important;	
}

/* advanced style font weights */
.font-100 {
	font-weight: 100 !important;	
}

.font-200 {
	font-weight: 200 !important;	
}

.font-300 {
	font-weight: 300 !important;	
}

.font-500 {
	font-weight: 500 !important;	
}

.font-600 {
	font-weight: 600 !important;	
}

.font-800 {
	font-weight: 800 !important;	
}

.font-900 {
	font-weight: 900 !important;	
}


/* letter-space selectors */
.letter-spc_1 {
	letter-spacing: 1px;
}

.letter-spc_2 {
	letter-spacing: 2px;
}

.letter-spc_3 {
	letter-spacing: 3px;
}

.letter-spc_4 {
	letter-spacing: 4px;
}

.letter-space-1 {
	letter-spacing: -1px;
}

.letter-space-2 {
	letter-spacing: -2px;
}

.letter-space-3 {
	letter-spacing: -3px;
}	

.letter-space-4 {
	letter-spacing: -4px;
}

/* add border styles */
.border-1 {
	border: solid 1px;
	border-color: var(--wp--preset--color--has-text-color) !important;
}

.border-2 {
	border: solid 2px;
	border-color: var(--wp--preset--color--has-text-color) !important;	
}

.border-3 {
	border: solid 3px;
	border-color: var(--wp--preset--color--has-text-color) !important;	
}

.border-4 {
	border: solid 4px;
	border-color: var(--wp--preset--color--has-text-color) !important;	
}




/* add opacity */
.opacity-9 {
	opacity: .9;
}

.opacity-8 {
	opacity: .8;
}

.opacity-7 {
	opacity: .7;
}

.opacity-6 {
	opacity: .6;
}

.opacity-5 {
	opacity: .5;
}

.opacity-4 {
	opacity: .4;
}

.opacity-3 {
	opacity: .3;
}

.opacity-2 {
	opacity: .2;
}

.opacity-1 {
	opacity: .1;
}



/* add absolute positioning */
.block-absolute {
	bottom: initial;
	position: absolute;
	top: initial;
}

.bottom-24 {
	bottom: 24px;
	position: absolute;
	top: initial;
	width: inherit;
}

/* Top position in px */
.top-1-px{
	top: 1px;
}	

.top--1-px {
	top: -1px;
}

.top-2-px{
	top: 2px;
}	

.top--2-px {
	top: -2px;
}

.top-3-px{
	top: 3px;
}	

.top--4-px {
	top: -4px;
}

.top--4-px {
	top: -4px;
}

.top--5-px {
	top: -5px;
}

.top--5-px {
	top: -5px;
}

.top--6-px {
	top: -6px;
}

.top--6-px {
	top: -6px;
}

.top--7-px {
	top: -7px;
}

.top--7-px {
	top: -7px;
}

/* Top position in rem */
.top-p5-rem{
	top: .5rem;
}

.top--p5-rem{
	top: -.5rem;
}

.top-1-rem{
	top: 1rem;
}

.top--1-rem {
	top: -1rem;
}

.top-2-rem{
	top: 2rem;
}

.top--2-rem {
	top: -2rem;
}	

.top-3-rem{
	top: 3rem;
}

.top--3-rem {
	top: -3rem;
}

.top-4-rem{
	top: 4rem;
}

.top--4-rem {
	top: -4rem;
}

/* 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 1100px   ******************************* */
/* includes most tablets (iPad 1024) */
@media only screen and (max-width : 1100px) {

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

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

.tab-show {
	display: block !important;	
}
	
.mob-show{
	display: none !important;	
}
	
.alignwide{
	width: 100% !important;		
}	

}