/**
 * Shamhala Global Services admin customizations.
 *
 * @package sgs
 */


body {
	font-size: 1.125rem; /* 18px */
}

iframe {
	display: block;
}

/* Prevent component popovers from disappearing off the edge of the screen */
.components-popover[style*="left: -"] {
	left: 15px!important;
}
/*
.interface-interface-skeleton__content {
	overflow: unset;
	z-index: 95;
}
*/

body .main-content > * {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
}

body .main-content > .alignwide {
    max-width: var(--wp--style--global--wide-size);
}

body .main-content > .fullwidth {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.wp-block-navigation .wp-block-navigation-item {
	background-color: var(--wp--preset--color--sgs-color-white);
}

.has-text-color a {
	color: inherit;
}

.editor-styles-wrapper * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.editor-styles-wrapper,
.editor-styles-wrapper p {
	background: transparent;
}

.wp-admin .wp-block-image img {
	background: repeating-conic-gradient(#e4e4e4 0% 25%, transparent 0% 50%) 50% / 20px 20px;
}

.wp-block-embed.aligncenter iframe {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

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

body.theme-sgs .tribe-events .tribe-events-calendar-list__event-row {
	margin-top: 90px;
	margin-bottom: 90px;
}

.mt-0 {
	margin-top: -60px;
}

.mt-4 {
	margin-top: -20px;
}

@media (max-width: 767px) {
	/* .entry-content > *, */
	/* .is-root-container > *, */
	body.theme-sgs .tribe-events .tribe-events-calendar-list__event-row {
		/* margin-top: 60px;
		margin-bottom: 60px; */
	}

	/* .entry-content > h1 + *:not(div), */
	.entry-content > h2 + *:not(div),
	.entry-content > h3 + *:not(div),
	.entry-content > h4 + *:not(div),
	.entry-content > h5 + *:not(div),
	.entry-content > h6 + *:not(div),
	/* .entry-content > p + *:not(div), */
	.entry-content > ol + *:not(div),
	.entry-content > ul + *:not(div),

	.entry-content > *:not(div) + *:not(div),

	/* .is-root-container > h1 + *:not(div), */
	.is-root-container > h2 + *:not(div),
	.is-root-container > h3 + *:not(div),
	.is-root-container > h4 + *:not(div),
	.is-root-container > h5 + *:not(div),
	.is-root-container > h6 + *:not(div),
	/* .is-root-container > p + *:not(div), */
	.is-root-container > ol + *:not(div),
	.is-root-container > ul + *:not(div),

	.entry-title + .wpcw-course-single-content,
	.entry-title + .wpcw-unit-wrapper,

	.mt-0 {
		/* margin-top: -30px; */
	}

	.entry-content > *:not(div) + h1,
	.entry-content > *:not(div) + h2,
	.entry-content > *:not(div) + h3,
	.entry-content > *:not(div) + h4,
	.entry-content > *:not(div) + h5,
	.entry-content > *:not(div) + h6,

	.is-root-container > *:not(div) + h1,
	.is-root-container > *:not(div) + h2,
	.is-root-container > *:not(div) + h3,
	.is-root-container > *:not(div) + h4,
	.is-root-container > *:not(div) + h5,
	.is-root-container > *:not(div) + h6,

	.mt-4 {
		/* margin-top: -10px; */
	}
}


ul, ol {
	margin-left: 0;
	padding-left: 1em;
}



.has-sgs-color-white-color {
	color: var(--sgs-color-white)!important;
}
.has-sgs-color-black-color {
	color: var(--sgs-color-black)!important;
}
.has-sgs-color-blue-color {
	color: var(--sgs-color-blue)!important;
}
.has-sgs-color-green-color {
	color: var(--sgs-color-green)!important;
}
.has-sgs-color-gold-color {
	color: var(--sgs-color-gold)!important;
}
.has-sgs-color-orange-color {
	color: var(--sgs-color-orange)!important;
}
.has-sgs-color-red-color {
	color: var(--sgs-color-red)!important;
}

.has-sgs-color-white-background-color {
	background-color: var(--sgs-color-white)!important;
}
.has-sgs-color-black-background-color {
	background-color: var(--sgs-color-black)!important;
}
.has-sgs-color-blue-background-color {
	background-color: var(--sgs-color-blue)!important;
}
.has-sgs-color-green-background-color {
	background-color: var(--sgs-color-green)!important;
}
.has-sgs-color-gold-background-color {
	background-color: var(--sgs-color-gold)!important;
}
.has-sgs-color-orange-background-color {
	background-color: var(--sgs-color-orange)!important;
}
.has-sgs-color-red-background-color {
	background-color: var(--sgs-color-red)!important;
}

body .editor-styles-wrapper .sgs-block-cta__link.wp-block-button__link {
	background: #fff
}

/*= Accordion ----------------------------------------------------------------*/
.wp-block-pb-accordion-item h1,
.wp-block-pb-accordion-item h2,
.wp-block-pb-accordion-item h3,
.wp-block-pb-accordion-item h4,
.wp-block-pb-accordion-item h5,
.wp-block-pb-accordion-item h6 {
	margin: 5px 0;
}
.wp-block-pb-accordion-item + .wp-block-pb-accordion-item {
	/* margin-top: -90px; */
}

.wp-block-pb-accordion-item h3 {
    font-size: 24px;
}

.wp-block-pb-accordion-item h4 {
    font-size: 20px;
}

.c-accordion__content {
	overflow: hidden;
	padding-top: 24px;
	padding-bottom: 50px
}

.wp-block-pb-accordion-item .c-accordion__title {
	display: flex;
	align-items: center;
	padding: 24px 0;
	justify-content: space-between;
}
.wp-block-pb-accordion-item .c-accordion__title:after {
	flex: 0 0 auto;
	position: static;
	transform: none;
}

.wp-block-pb-accordion-item + .wp-block-pb-accordion-item .c-accordion__title {
	border-top: 1px solid #d8d8d8;
}
.sgs-accordion-wrapper {
	flex: 1 1 auto;
	padding-right: 5px;
}

.c-accordion__title .sgs-accordion-image {
	flex: 0 0 auto;
	width: 140px;
	margin-right: 40px;
	margin-bottom: 12px;
}
.c-accordion__title img {
	border-radius: 70px;
}

@media (max-width: 767px) {
	.wp-block-pb-accordion-item + .wp-block-pb-accordion-item {
		margin-top: -60px;
	}
	.wp-block-pb-accordion-item .c-accordion__title {
		padding: 16px 0;
	}
	.c-accordion__content {
		padding-top: 16px;
	}
}



/*= Button Block -------------------------------------------------------------*/
.wp-block-button__link,
body .editor-styles-wrapper .wp-block-button__link {
    background-color: var(--sgs-color-light-blue); /* Default to Fill style */
    border-radius: 15px; /* Default to Fill style */
    color: var(--sgs-color-white); /* Default to Fill style */
    font: 700 18px/1.333 var(--sgs-sans-serif);
    letter-spacing: 1.8px;
    padding:  8px 25px;
    text-transform: uppercase;
    transition: var(--sgs-transition);
	border: 2px solid var(--sgs-color-light-blue);
}

/* FOR FILL: SET BORDER COLOR TO BACKGROUND COLOR BY DEFAULT */
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-white-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-white-background-color {
    border-color: var(--sgs-color-white);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-black-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-black-background-color {
    border-color: var(--sgs-color-black);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-blue-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-blue-background-color {
    border-color: var(--sgs-color-blue);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-light-blue-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-light-blue-background-color {
    border-color: var(--sgs-color-light-blue);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-green-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-green-background-color {
    border-color: var(--sgs-color-green);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-gold-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-gold-background-color {
    border-color: var(--sgs-color-gold);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-orange-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-orange-background-color {
    border-color: var(--sgs-color-orange);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-red-background-color,
.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-red-background-color {
    border-color: var(--sgs-color-red);
}


/* DEFAULT */
.wp-block-button:not(.is-style-outline) .wp-block-button__link:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background-color: var(--sgs-color-white) !important;
	border: solid 2px var(--sgs-color-light-blue);
    color: var(--sgs-color-light-blue);
    opacity: 1;
}


/* Active, focus, and hover states for various colors */
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-white-background-color:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-white-background-color:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-white-background-color:hover {
    border-color: #666; /* DOES THIS MAKE SENSE? */
    color: var(--sgs-color-black)!important;
}

.wp-block-button.is-style-fill .wp-block-button__link.has-sgs-color-white-background-color:hover {
    border-color: #666; /* DOES THIS MAKE SENSE? */
    color: var(--sgs-color-white)!important;
	background-color: #daa521 !important ;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-blue-background-color:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-blue-background-color:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-blue-background-color:hover {
    border-color: var(--sgs-color-blue);
    color: var (--sgs-color-blue);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-light-blue-background-color:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-light-blue-background-color:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-light-blue-background-color:hover {
    border-color: var(--sgs-color-light-blue);
    color: var(--sgs-color-light-blue);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-green-background-color:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-green-background-color:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-green-background-color:hover {
    border-color: var(--sgs-color-green);
    color: var(--sgs-color-green);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-gold-background-color:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-gold-background-color:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-gold-background-color:hover {
    border-color: var(--sgs-color-gold);
    color: var(--sgs-color-gold);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-orange-background-color:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-orange-background-color:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-orange-background-color:hover {
    border-color: var(--sgs-color-orange);
    color: var(--sgs-color-orange);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-red-background-color:active,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-red-background-color:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-sgs-color-red-background-color:hover {
    border-color: var(--sgs-color-red);
    color: var(--sgs-color-red);
}









/* Outline button styles */
.wp-block-button.is-style-outline .wp-block-button__link {
    border: 2px solid var(--sgs-color-light-blue);
    background-color: transparent;
    color: var(--sgs-color-light-blue);
}

.wp-block-button__link1 {
	border: 1px solid var(--wp--preset--color--sgs-color-blue) !important;
	cursor: pointer;
	}

	.wp-block-button__link1:hover {
		background: aliceblue;
		}

/* FOR OUTLINE STYLE: SET OUTLINE STYLE TO TEXT COLOR */













.is-style-outline .wp-block-button__link:active,
.is-style-outline .wp-block-button__link:visited:active,
.is-style-outline .wp-block-button__link:focus,
.is-style-outline .wp-block-button__link:visited:focus,
.is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:visited:hover{
	background-color: var(--sgs-color-light-blue);
	border-color: var(--sgs-color-light-blue);
	color: var(--sgs-color-white);
	opacity: 1;
}


/*= Call to Action (Cover) ---------------------------------------------------*/
.sgs-cover-cta {
	position: relative;
}

.sgs-cover-cta h2 {
	background: var(--sgs-color-white);
	max-width: 660px;
	margin: 0 auto;
	padding: 20px;
}
.wp-block-cover.sgs-cover-cta h2:not(.has-text-color) {
	color: var(--sgs-color-blue);
}

.sgs-cover-cta .wp-block-sgs-call-to-action {
	/* margin: 0;
	position: absolute;
	bottom: 0;
	width: 100%; */
	transform: translateY(50%);
}
.sgs-cover-cta .wp-block-sgs-call-to-action div:not(.sgs-block-cta__link) {
	display: none;
}
.sgs-block-cta__link.wp-block-button__link {
	border-width: 2px;
}
.wp-block-sgs-call-to-action .bar {
	border-top-width: 2px;
	top: calc(50% - 1px);
}

.sgs-cover-cta .wp-block-cover__inner-container {
	position: static;
}

.wp-block-cover a:not(.wp-block-button__link) {
	/* display: block; */
	text-decoration: none;
}

@media (max-width: 767px) {
	.sgs-cover-cta .wp-block-sgs-call-to-action {
		width: calc(100% - 2em);
	}
}

.wp-block-image + h4 {
	margin-top: 20px;
}



/*= Content Block ------------------------------------------------------------*/

.sgs-content.wp-block-columns {
	gap: 60px;
}
.sgs-content .image-column {
	flex: 0 0 auto!important;
}
.sgs-content .image-column .wp-block-image {
	margin-bottom: 0;
}
.sgs-content .image-column img {
	border-radius: 50%;
}

.sgs-content + .sgs-content {
	/* margin-top: -30px; */
}

@media (min-width: 1024px) {
	.sgs-content-featured {
		/* max-width: 85%; */
		margin-right: auto;
		margin-left: auto;
	}
	.sgs-content .image-column {
		width: 270px;
	}
	.sgs-content .content-column {
		flex-grow: 1!important;
	}

	.sgs-content-featured .image-column {
		width: 370px;
	}
}
@media (max-width: 1023px) {
	.sgs-content.wp-block-columns,
	.sgs-content-featured.wp-block-columns {
		flex-wrap: wrap!important;
		justify-content: center;
	}
	.sgs-content.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,
	.sgs-content-featured.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: 100%!important;
	}
	.sgs-content.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.image-column,
	.sgs-content-featured.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.image-column {
		flex-basis: auto!important;
		width: 270px;
	}
}


/*= Block Quote --------------------------------------------------------------*/
.wp-block-quote {
	border-left: 10px solid var(--sgs-color-gold);
	padding: 10px 20px;
}
.wp-block-quote p {
	font: 400 24px/1.333 var(--sgs-serif);
	margin-bottom: 20px;
}
.wp-block-quote cite {
	font: 700 14px/1.285 var(--sgs-sans-serif);
	text-transform: uppercase;
}

.page-color--sgs-color-red .wp-block-quote {
	border-color: var(--sgs-color-red);
}
.page-color--sgs-color-black .wp-block-quote {
	border-color: var(--sgs-color-black);
}
.page-color--sgs-color-blue .wp-block-quote {
	border-color: var(--sgs-color-blue);
}
.page-color--sgs-color-green .wp-block-quote {
	border-color: var(--sgs-color-green);
}
.page-color--sgs-color-gold .wp-block-quote {
	border-color: var(--sgs-color-gold);
}
.page-color--sgs-color-orange .wp-block-quote {
	border-color: var(--sgs-color-orange);
}
.page-color--sgs-color-white .wp-block-quote {
	border-color: var(--sgs-color-white);
}



/*= Pull Quote ---------------------------------------------------------------*/
.wp-block-pullquote {
	border: none;
	max-width: 1024px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}
.wp-block-pullquote:before {
	background: url("../images/icon-red.png") center center no-repeat;
	background-size: 100px 100px;
	content: "";
	display: block;
	margin: 0 auto 30px;
	width: 100px;
	height: 100px;
}
.wp-block-pullquote p {
	font: 400 24px/1.333 var(--sgs-serif);
	margin-bottom: 20px;
}
.wp-block-pullquote cite {
	font: 700 14px/1.285 var(--sgs-sans-serif);
	text-transform: uppercase;
}


/*= Intro Text ---------------------------------------------------------------*/
.sgs-intro-text {
	max-width: 940px;
	margin-right: auto;
	margin-left: auto;
}
.sgs-intro-text p {
	font: 400 22px/1.36 var(--sgs-serif);
}



/*= Post Feed ----------------------------------------------------------------*/
.wp-block-sgs-post-feed article:not(:last-child) {
	border-bottom: 2px solid #d8d8d8;
	margin-bottom: 40px;
	padding-bottom: 40px;
}

.wp-block-sgs-post-feed .wp-block-latest-posts__featured-image {
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}
.wp-block-sgs-post-feed .wp-block-sgs-post-feed__inner-container {
	display: flex;
	margin-block-end: 20px;
}

.wp-block-sgs-post-feed .image-column,
#tribe-events-content .tribe-events-event-image {
	flex: 0 0 auto;
	height: 270px;
	width: 270px;
	margin-right: 60px;
	position: relative;
}
.wp-block-sgs-post-feed .teacher-column {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: flex-end;
	width: 320px;
	margin-left: 45px;
}
.wp-block-sgs-post-feed .teacher-column.has-teachers {
	justify-content: space-between;
}

.wp-block-sgs-post-feed .image-column img,
#tribe-events-content .tribe-events-event-image img,
.wp-block-sgs-post-feed .teacher-image img,
.wp-block-sgs-course-details .teacher-image img {
	border-radius: 0;
	display: block;
	position: absolute;
	top: -9999px;
	right: -9999px;
	bottom: -9999px;
	left: -9999px;
	margin: auto!important;
	min-width: 100%;
	min-height: 100%;
	width: auto!important;
	height: auto;
}
.wp-block-sgs-post-feed .image-column .sgs-image-landscape img,
#tribe-events-content .sgs-image-landscape .tribe-events-event-image img,
.wp-block-sgs-post-feed .teacher-image img.sgs-image-landscape,
.wp-block-sgs-course-details .teacher-image img.sgs-image-landscape {
	max-width: none!important;
	max-height: 100%!important;
}
.wp-block-sgs-post-feed .image-column .sgs-image-portrait img,
#tribe-events-content .sgs-image-portrait .tribe-events-event-image img,
.wp-block-sgs-post-feed .teacher-image img.sgs-image-portrait,
.wp-block-sgs-course-details .teacher-image img.sgs-image-portrait {
	max-width: 100%!important;
	max-height: none!important;
}
.wp-block-sgs-post-feed .wp-block-button {
	text-align: right;
}
.wp-block-sgs-post-feed .teacher-column .wp-block-button__link {
	width: 100%;
	text-align: left;
	/* padding-left: 0; */
}

.wp-block-sgs-post-feed .post-categories .permalink,
.wp-block-sgs-post-feed .post-title .permalink {
	color: var(--sgs-color-blue);
	text-decoration: none;
}

.wp-block-sgs-post-feed .post-prerequisites {
	margin-top: 15px;
}
.wp-block-latest-posts__post-prerequisites {
	color: var(--sgs-color-black);
}
.wp-block-sgs-post-feed .teacher {
	display: flex;
	align-items: center;
}
.wp-block-sgs-post-feed .teacher a {
	color: var(--sgs-color-black);
	text-decoration: none;
}
.wp-block-sgs-post-feed .teacher-image {
	border-radius: 50%;
	flex: 0 0 auto;
	width: 75px;
	height: 75px;
	margin-right: 10px;
	overflow: hidden;
	position: relative;
}

.wp-block-sgs-post-feed[class*=has-sgs-color] .wp-block-latest-posts__post-excerpt,
.wp-block-sgs-post-feed[class*=has-sgs-color] .wp-block-latest-posts__post-full-content{
	color: var(--sgs-color-black);
}

@media (max-width: 776px) {
	.wp-block-sgs-post-feed .wp-block-sgs-post-feed__inner-container {
		flex-wrap: wrap;
		justify-content: center;
	}
}

body:not(.page-sidebar-none) .wp-block-sgs-post-feed__inner-container {
	flex-wrap: wrap;
	justify-content: flex-end;
}
body:not(.page-sidebar-none) .wp-block-sgs-post-feed .image-column {
	margin-right: 40px;
	width: 140px;
	height: 140px;
}
body:not(.page-sidebar-none) .content-column {
	flex: 0 0 auto;
	width: calc(100% - 180px);
}
body:not(.page-sidebar-none) .teacher-column {
	flex-direction: row;
	width: 100%;
	padding-left: 180px;
	justify-content: flex-end!important;
}
body:not(.page-sidebar-none) .teacher-column > * {
	margin-right: 40px;
}
body:not(.page-sidebar-none) .teacher-column > .wp-block-button {
	margin-right: 0;
}

@media (min-width: 777px) and (max-width: 1279px) {
	.wp-block-sgs-post-feed .wp-block-sgs-post-feed__inner-container {
		flex-wrap: wrap;
		justify-content: flex-end;
	}
	.wp-block-sgs-post-feed .image-column {
		flex: 0 0 auto;
		margin-right: 20px;
		width: 270px;
	}
	.wp-block-sgs-post-feed .content-column {
		flex: 0 0 auto;
		width: calc(100% - 290px);
	}
	.wp-block-sgs-post-feed .teacher-column {

	}
}

@media (max-width: 776px) {
	.wp-block-sgs-post-feed .image-column,
	#tribe-events-content .tribe-events-event-image {
		margin: 0 0 1.67em;
	}
	.wp-block-sgs-post-feed .teacher-column {
		margin-left: 0;
	}

	body:not(.page-sidebar-none) .wp-block-sgs-post-feed .image-column,
	body:not(.page-sidebar-none) .wp-block-sgs-post-feed .content-column {
		margin-right: 0;
		margin-left: 0;
		width: 100%;
	}
	body:not(.page-sidebar-none) .wp-block-sgs-post-feed .image-column .wp-block-latest-posts__featured-image {
		width: 140px;
		margin-right: auto;
		margin-left: auto;
	}
	body:not(.page-sidebar-none) .teacher-column {
		padding-left: 0;
	}
}

/*= Post Grid ----------------------------------------------------------------*/
.wp-block-sgs-post-grid {
	display: flex;
	flex-wrap: wrap;
}
/* 1024 + 18 + 18 */
/* body:not(.page-sidebar-none) #primary .entry-content > .wp-block-sgs-post-grid {
	max-width: 1060px;
}  */

.wp-block-sgs-post-grid article {
	flex: 0 0 auto;
	padding: 0 0 50px;
	width: 100%;
}

.wp-block-sgs-post-grid h3 {
	margin-bottom: 0;
}
.wp-block-sgs-post-grid h3 a {
	color: var(--sgs-color-blue);
	text-decoration: none;
}
.wp-block-sgs-post-grid h3 a:active,
.wp-block-sgs-post-grid h3 a:focus,
.wp-block-sgs-post-grid h3 a:hover {
	opacity: 1;
	text-decoration: underline;
}

.wp-block-sgs-post-grid .featured-image {
	display: block;
	height: 0;
	margin-bottom: 12px;
	overflow: hidden;
	padding-top: 66%;
	position: relative;
}
.wp-block-sgs-post-grid .featured-image img {
	display: block;
	position: absolute;
	top: -9999px;
	right: -9999px;
	bottom: -9999px;
	left: -9999px;
	margin: auto!important;
	max-width: none;
	max-height: 100%;
	min-width: 100%;
	min-height: 100%;
	width: auto!important;
	height: auto;
}

.wp-block-sgs-post-grid .post-meta {
	line-height: 30px;
}
.wp-block-sgs-post-grid .post-terms a {
	color: var(--sgs-color-black);
	text-decoration: none;
}
.wp-block-sgs-post-grid .post-terms a:active,
.wp-block-sgs-post-grid .post-terms a:focus,
.wp-block-sgs-post-grid .post-terms a:hover {
	text-decoration: underline;
}

@media (min-width: 1024px) {
	.wp-block-sgs-post-grid article {
		padding-right: 18px;
		padding-left: 18px;
		width: 50%;
	}

	/* Admin overrides */
	.block-editor-block-list__block.wp-block-latest-posts__list.wp-block-sgs-post-grid {
		justify-content: center;
	}
	.block-editor .wp-block-sgs-post-grid article {
		width: calc(50% - 36px);
	}
}



/*= Course Details -----------------------------------------------------------*/
.wp-block-sgs-course-details .wp-block-button__link {
	margin-top: 30px;
	padding-top: 10px;
	padding-bottom: 6px;
	width: 100%;
}

.wp-block-sgs-course-details .tribe-events-teachers {
	margin-top: 45px;
}

.wp-block-sgs-course-details .teacher {
	color: var(--sgs-color-black);
	display: flex;
	align-items: center;
	text-decoration: none;
}
.wp-block-sgs-course-details .teacher-image {
	border-radius: 50%;
	flex: 0 0 auto;
	width: 75px;
	height: 75px;
	margin-right: 10px;
	overflow: hidden;
	position: relative;
}



/*= Social Links -------------------------------------------------------------*/
.wp-block-social-links {
	margin-bottom: 0;
}
.wp-block-social-links.is-style-logos-only li.wp-social-link {
	color: var(--sgs-color-blue);
}



/*= Tile Block ---------------------------------------------------------------*/
.sgs-tile-block.wp-block-columns {
	gap: 20px;
}
.sgs-tile-block .wp-block-column {
	padding-top: 25px;
	padding-bottom: 15px;
}
.sgs-tile-block a.wp-block-group-link,
.sgs-tile-block a.wp-block-sgs-group-link {
	background-color: var(--sgs-color-white);
	display: block;
}
.wp-block-group-link,
.wp-block-sgs-group-link {
	color: inherit;
	height: 100%;
	text-decoration: none;
}

.sgs-tile-block h1, .sgs-tile-block h2, .sgs-tile-block h3,
.sgs-tile-block h4, .sgs-tile-block h5, .sgs-tile-block h6 {
	margin-bottom: 15px;
}
.sgs-tile-block h5 {
	color: var(--sgs-color-black);
	font-size: 16px;
}

.sgs-tile-block .wp-block-column .wp-block-image,
.sgs-tile-block .wp-block-sgs-group-link > *:last-child {
	margin-top: 0;
	margin-bottom: 30px;
}
.sgs-tile-block .wp-block-column img {
	width: 100%;
}

.sgs-tile-block .components-resizable-box__container {
	width: 100%!important;
}
.sgs-tile-block .components-resizable-box__container.has-show-handle div {
	display: none;
}

/* .sgs-tile-block .wp-block-group-link {
	height: 100%;
} */

html .wp-block-sgs-group-link {
	margin-top: 0;
	margin-bottom: 0;
}

.sgs-tile-block .wp-block-column.has-sgs-color-red-background-color {
	background: var(--sgs-color-red) url("../images/pattern-red-full-rc2.png") center top;
}
.sgs-tile-block .wp-block-column.has-sgs-color-black-background-color {
	background: var(--sgs-color-black);
}
.sgs-tile-block .wp-block-column.has-sgs-color-blue-background-color {
	background: var(--sgs-color-blue) url("../images/pattern-blue-full-rc2.png") center top;
}
.sgs-tile-block .wp-block-column.has-sgs-color-green-background-color {
	background: var(--sgs-color-green) url("../images/pattern-green-full-rc2.png") center top;
}
.sgs-tile-block .wp-block-column.has-sgs-color-gold-background-color {
	background: var(--sgs-color-gold) url("../images/pattern-gold-full-rc2.png") center top;
}
.sgs-tile-block .wp-block-column.has-sgs-color-orange-background-color {
	background: var(--sgs-color-orange) url("../images/pattern-orange-full-rc2.png") center top;
}
.sgs-tile-block .wp-block-column.has-sgs-color-white-background-color {
	background: var(--sgs-color-white);
}


@media (min-width: 768px) and (max-width: 960px) {
	.sgs-tile-block.wp-block-columns,
	.sgs-teacher-grid.wp-block-columns {
		justify-content: center;
		flex-wrap: wrap!important;
		gap: 0;
		margin-right: -10px;
		margin-left: -10px;
	}
	.sgs-tile-block .wp-block-column,
	.sgs-tile-block.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,
	.sgs-teacher-grid .wp-block-column,
	.sgs-teacher-grid.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex: 0 0 auto!important;
		width: calc(33.33% - 20px);
		margin: 10px;
	}
}
@media (max-width: 767px) {
	.sgs-teacher-grid.wp-block-columns {
		justify-content: center;
		flex-wrap: wrap!important;
		gap: 0;
		margin-right: -10px;
		margin-left: -10px;
	}
	.sgs-teacher-grid .wp-block-column,
	.sgs-teacher-grid.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex: 0 0 auto!important;
		width: calc(50% - 20px);
		margin: 10px;
	}
}



/*= Teachers -----------------------------------------------------------------*/
.sgs-teacher-grid {
	flex-wrap: wrap!important;
	gap: 0!important;
}
.sgs-teacher-grid .wp-block-column {
	flex: 0 0 auto!important;
	width: 20%;
	padding: 25px;
}
.sgs-teacher-grid .wp-block-image {
	border-radius: 50%;
	display: block;
	height: 0;
	margin-bottom: 16px;
	overflow: hidden;
	padding-top: 100%;
	position: relative;
}
.sgs-teacher-grid .wp-block-group-link {
	transition: var(--sgs-transition);
}
.sgs-teacher-grid .wp-block-group-link img,
.tax-event_teachers .wp-block-sgs-post-feed .image-column img {
	border-radius: 0;
	display: block;
	position: absolute;
	top: -9999px;
	right: -9999px;
	bottom: -9999px;
	left: -9999px;
	margin: auto!important;
	min-width: 100%;
	min-height: 100%;
	width: auto!important;
	height: auto;
}
.sgs-teacher-grid .wp-block-group-link:hover .wp-block-image {
	background: var(--sgs-color-orange);
}
.sgs-teacher-grid .wp-block-group-link:hover img {
	opacity: 0.4;
}
.sgs-teacher-grid h5 {
	color: var(--sgs-color-black);
	margin-bottom: 0;
}

.block-editor-page .sgs-teacher-grid .wp-block-image {
	padding-top: 0;
	height: auto;
}

.tax-event_teachers .wp-block-latest-posts__list {
	margin-bottom: 90px;
}



/*= EDITOR OVERRIDES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
/*
html :where(.wp-block) {
	max-width: 95%;
}

html :where(.wp-block-group) {
	margin-top: 0;
	margin-bottom: 0;
}
html :where(.wp-block-group.has-background) {
	padding: 0;
}

.wp-block-group__inner-container {
	overflow: hidden;
} */

#editor h1.editor-post-title {
	color: #000;
	border-bottom: 1px solid #e0e0e0;
}

/* Fix for aligned buttons being clipped and/or not visible */
html .wp-block-buttons :where(.wp-block)[data-align=left],
html .wp-block-buttons :where(.wp-block)[data-align=right] {
	height: auto;
}

@media (min-width: 600px) {
	header #gold-stripe {
		display: block;
		content: '';
		background-image: url('https://dev2-portland.shambhala.org/files/2024/04/shambhala_gold_strip.png');
		background-repeat: repeat-x;
		height: 30px;
		max-width: 100% !important;
	}
}

header nav .wp-block-navigation__responsive-container	.wp-block-navigation__container.has-background {
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
}

/* Override CSS from /wp-content/plugins/shambhala-center-premium/mobile-theme/style.css?ver=20131129*/
@media only screen and (max-width: 900px) {
  footer #footer {
    margin: 0 !important;
		display: block !important;
  }
}

/* image for testimonial members slider */
.slideTitle::before {
	background: url(../images/icon-red.png) center center no-repeat;
    background-size: 100px 100px;
    content: "";
    display: block;
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
  }

  .slideTitle{
	padding: 0 50px;
  }

  p.slideDesc{
	font: 700 14px / 1.285 var(--sgs-sans-serif) !important;
    text-transform: uppercase !important;
  }

  .slideContent{
	padding: 1px 0 !important;
  }

/*
Frederick changes 12/13/2024 (moved over from style.css so will also show in block editor)
*/

/* Inline, blue links within cover elements */
.entry-content .wp-block-cover a:not(.wp-block-button__link),
.entry-content .wp-block-group a:not(.wp-block-button__link):not(article.tribe_events a) {
	color: var(--wp--preset--color--sgs-color-blue);
	text-decoration: underline;
}

/* Override for WordPress default style that makes text white on covers */
:where(.wp-block-cover:not(.has-text-color)) {
    color: unset;
}

.wp-block-cover h1:where(:not(.has-text-color)), .wp-block-cover h2:where(:not(.has-text-color)), .wp-block-cover h3:where(:not(.has-text-color)), .wp-block-cover h4:where(:not(.has-text-color)), .wp-block-cover h5:where(:not(.has-text-color)), .wp-block-cover h6:where(:not(.has-text-color)), .wp-block-cover-image h1:where(:not(.has-text-color)), .wp-block-cover-image h2:where(:not(.has-text-color)), .wp-block-cover-image h3:where(:not(.has-text-color)), .wp-block-cover-image h4:where(:not(.has-text-color)), .wp-block-cover-image h5:where(:not(.has-text-color)), .wp-block-cover-image h6:where(:not(.has-text-color)) {
	color: var(--wp--preset--color--sgs-color-blue);
}

/* Orange h5s */
#content h5 {
	color: var(--sgs-color-orange);
}


/* h5 + h1 spacing for new above-the-fold layout */
:root :where(.is-layout-constrained) > * h5 + h1, :root :where(.is-layout-constrained) > h1:last-child {
	margin-top: .6rem;
	margin-bottom: 1.35rem;
}


/* Removing white spacers above .cover elements */
:root :where(.is-layout-constrained) > *.wp-block-cover {
    margin-block-start: 0;
}


/* Border-radius fix for circular cover elements inside columns */
.wp-block-column .wp-block-cover {
	overflow: hidden;
}


/* No text-decoration for the homepage button columns item links */
.large-button-columns h5 a {
	text-decoration: none;
}


/* Buttons (including member button) cursor on hover */
button {
    cursor: pointer;
}

/* Fix for the event filters */
 @media (max-width: 760px) {
                 .wp-block-sgs-post-feed-list {
                    display: flow-root !important;
                }
            }