/*
 Theme Name:   Osmond Ergonomics
 Theme URI:    https://octopress.co/
 Description:  This is a bespoke child theme built by Octopress & Cernago. It requires the Bricks Builder parent theme framework.
 Author:       Octopress
 Author URI:   https://octopress.co/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* Fix for old content stretching full width */

.wp-block-uagb-container.alignfull {
  left:auto;
  margin-left:0;
  margin-right:0;
  max-width:100%;
  position:relative;
  right:auto;
  width:auto;
}


mark.has-inline-color {
	padding: 0 0.3em;
}

body.bricks-is-frontend :focus{
	outline: none !important;
}
body.bricks-is-frontend :focus-visible{
	outline: solid 1px var(--primary) !important;
	outline-offset: 0px !important;
	transition: all .3s !important;
}


/* GutenBricks - meta data styles */
.padding--top-none {
	padding-top: 0 !important;
}
.padding--bottom-none {
	padding-bottom: 0 !important;
}
.padding--none {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/*alternate section padding */

.section-padding-top {
	padding-top: var(--octo-section-padding) !important;
	padding-bottom: 0 !important;
}
.section-padding-bottom {
	padding-top: 0 !important;
	padding-bottom: var(--octo-section-padding) !important;
}
.section-padding-both {
	padding-top: var(--octo-section-padding) !important;
	padding-bottom: var(--octo-section-padding) !important;
}
.section-padding-none {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}




.max-width-l {
	width: var(--max-width-l);
	max-width: 100%;
}
.max-width-m {
	width: var(--max-width-m);
	max-width: 100%;
}
.max-width-s {
	width: var(--max-width-s);
	max-width: 100%;
}
.align-start {;
	align-items: flex-start
}
.align-center {
	align-items: center;
}
.align-end {
	align-items: flex-end;
}


/* Block editor styles */

.has-small-font-size {
	font-size: var(--default-font-size, var(--text-s));
}
.has-regular-font-size {
	font-size: var(--default-font-size, var(--text-m));
}
.has-large-font-size {
	font-size: var(--default-font-size, var(--text-l));
}
.has-huge-font-size {
	font-size: var(--default-font-size, var(--text-xl));
}


h1.has-small-font-size, h2.has-small-font-size, h3.has-small-font-size, h4.has-small-font-size, h5.has-small-font-size, h6.has-small-font-size {
	font-size: var(--h4);
}
h1.has-regular-font-size, h2.has-regular-font-size, h3.has-regular-font-size, h4.has-regular-font-size, h5.has-regular-font-size, h6.has-regular-font-size {
	font-size: var(--h3);
}
h1.has-large-font-size, h2.has-large-font-size, h3.has-large-font-size, h4.has-large-font-size, h5.has-large-font-size, h6.has-large-font-size {
	font-size: var(--h2);
}
h1.has-huge-font-size, h2.has-huge-font-size, h3.has-huge-font-size, h4.has-huge-font-size, h5.has-huge-font-size, h6.has-huge-font-size {
	font-size: var(--h1);
}




/* Fix for Bricks Ultimate sliding menu */

.brxe-bu-sliding-menu .bu-slide-menu-back-arrow {
  border-right: none;
}


/* Fix to remove live chat for administrators */

body.role-administrator #chat-widget-container {
	visibility: hidden !important;
	display: none;
	z-index: -9999 !important;
	opacity: 0 !important;
}

/* fix for figure/image margins */
.wp-block-image:first-of-type, .wp-block-video:first-of-type, figcaption:first-of-type, figure:first-of-type {
	margin-top: 0;
}
