/* block-styles.css */


.wp-block-group-is-layout-grid {
    gap: 1.5em;
}
@media screen and (max-width: 40em) {
  .entry-content .wp-block-group-is-layout-grid{grid-template-columns: 1fr !important;}
}

.wp-admin :where(.editor-styles-wrapper) h2{font-weight: 500;}
:where(.editor-styles-wrapper) h3{font-size: 1.75rem;font-weight: 600;}
:where(.editor-styles-wrapper) h4{font-size: 1.5rem;font-weight: 600;}
:where(.editor-styles-wrapper) h5{font-size: 1.25rem;font-weight: 600;}
:where(.editor-styles-wrapper) h6{font-size: 1rem;font-weight: 600;}

.wp-admin h1.wp-block-post-title{
  font-size: 3rem;
}
.wp-admin .bg-blue-circles{
  background-color: rgba(223,234,252,.6);
}
.wp-admin .bg-white{
  background-color:white;
}

.alignleft {
  max-width: 50%;
  float: left;
  margin-right: 2rem;
  margin-bottom: 2rem;
}


.events-single .tribe-events-event-image,
.alignright {
  float: right;
  max-width: 50%;
  margin-left: 2rem;
  margin-bottom: 2rem;
}
.no-sidebar .alignleft,
.no-sidebar .alignright{
  max-width: calc(var(--wp--style--global--content-size) * .5);
}

.has-sidebar .wp-block-image.alignright.is-style-flushright{
    margin-right:-1.5rem;
  }

.no-sidebar .wp-block-image.alignright.is-style-flushright{
    margin-right:-1.5rem;
    max-width: calc((var(--wp--style--global--content-size) * .5) + 1.5rem);
  }
  .dtxtonimg-block.is-style-flushright .txtonimg,
  .wp-block-image.alignright.is-style-flushright img{
    border-radius: 1rem 0 0 1rem;
  }

  .has-sidebar .dtxtonimg-block.wp-block-image.alignright.is-style-flushright{
    max-width: calc(100% + 1.5rem);
    margin-left:0;
    margin-right:-1.5rem;
    
  }
  .dtxtonimg-block.wp-block-image.alignright.is-style-flushright{
    float:none!important;
    display: block;
  }



@media screen and (min-width: 1152px) {

  .has-sidebar .wp-block-image.alignright.is-style-flushright {
    max-width: calc(50% + ( (100vw - var(--wp--style--global--wide-size) + 2rem ) / 2) ) !important;
    margin-right: calc(-1 * ( (100vw - var(--wp--style--global--wide-size) + 2rem  ) / 2) );
  }
  .wp-block-image.alignright {
    margin-right: calc( ( 100% - var(--wp--style--global--content-size) ) / 2 );
  }
  .wp-block-image.alignleft {
    margin-left: calc( ( 100% - var(--wp--style--global--content-size) ) / 2 );
  }
  .has-sidebar .wp-block-image.alignright {
    margin-right: 0;
  }
  .no-sidebar .wp-block-image.alignright.is-style-flushright{
    margin-right:-1.5rem;
    max-width: calc((var(--wp--style--global--content-size) * .5) + 13vw);
  }

/*  .wp-block-image.alignright.is-style-flushright{
    margin-right: -1.5rem;
  }*/
  .has-sidebar .dtxtonimg-block.wp-block-image.alignright.is-style-flushright{
    max-width: calc(var(--wp--style--global--content-size) + ( (100vw - var(--wp--style--global--wide-size) ) / 2) ) !important;
    margin-left:0;
    margin-right:calc(-1 * ( (100vw - var(--wp--style--global--wide-size) + 2rem ) / 2) );
  }


}

@media screen and (min-width: 1460px) {
  .no-sidebar .wp-block-image.alignright.is-style-flushright{
    margin-right:0;
    max-width: calc((var(--wp--style--global--content-size) * .65) + 10vw);
  }
  .wp-block-image.alignright.is-style-flushright img{
    border-radius: 1rem;
  }
  /* Lock img to right edge of screen */
.has-sidebar .wp-block-image.alignright.is-style-flushright {
    max-width: calc((var(--wp--style--global--content-size) * .5) + 10vw) !important;
    margin-right: calc(-1 * ( (100vw - var(--wp--style--global--wide-size) ) / 2) );
}

}

.events-single .tribe-events-event-image img,
.alignright img,
.alignleft img,
.aligncenter img{
  max-width: 100% !important;
  height: auto !important;
}

.aligncenter {
  display: block;
  margin-top:var(--wp--preset--spacing--lg);
  margin-bottom: var(--wp--preset--spacing--lg);
  margin-left: auto !important;
  margin-right: auto !important;
}

.is-style-callout{
  font-size: 1.375rem;
}

@media screen and (max-width: 640px) {
  .is-style-callout{
    font-size: 1.125rem;
  }
}
.is-style-boxed{
  padding:2rem 2rem 2rem;
  border-radius: 1rem;
  clear: both;
  overflow: hidden;
  background-color:#f9ede9;
  width:fit-content;
  margin:var(--wp--preset--spacing--lg) 0 var(--wp--preset--spacing--lg);
}
.alignwide.is-style-boxed{
  width:100%;
}



figure.wp-block-embed {
  max-width: var(--wp--style--global--content-size);
  margin-top:0;
}

.entry-content > figure.wp-block-embed{
  margin:2rem auto;
}
.is-style-boxed figure.wp-block-embed,
.has-background figure.wp-block-embed{
  margin:1.5rem auto;
}
.is-style-boxed figure.wp-block-embed:first-child,
.has-background figure.wp-block-embed:first-child{
  margin:0 auto;
}

/* Make the wrapper a fixed-ratio box */
.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* default if WP didn't specify */
  overflow: hidden;
}

/* If WP sets a ratio class, match it */
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-4-3  .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.wp-embed-aspect-1-1  .wp-block-embed__wrapper { aspect-ratio: 1 / 1; }
.wp-embed-aspect-21-9 .wp-block-embed__wrapper { aspect-ratio: 21 / 9; }

/* Make the iframe fill the box */
.wp-block-embed .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}




@media (max-width: 767.98px) {

.events-single .tribe-events-event-image,
.is-layout-flow > .alignleft,
.is-layout-flow > .alignright,
.alignleft,
.alignright {
  float: none !important;
  max-width: 100%  !important;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1rem;
}
.dtxtonimg-block.is-style-flushright .txtonimg,
.alignleft img,
.alignright img,
.wp-block-image.alignright.is-style-flushright img{
  border-radius: 1rem;
}
.dtxtonimg-block.is-style-flushright .txtonimg{
  border-radius: 1rem 1rem 0 0;
}
.is-style-boxed{
  padding:1.5rem 1.5rem 1rem;
}

}

.wp-block-quote{
    font-size: 1.75rem;
    line-height: 1.25;
    color: #BD471F;
    font-weight: 600;
}

.alignfull.has-background{
  padding-top:3rem;
  padding-bottom: 4rem;
  clear:both;
  margin:var(--wp--preset--spacing--xl) 0 var(--wp--preset--spacing--xl);
}


.wp-admin .wp-block-button .wp-block-button__link{
    background-color: #BD471F;
  border:2px solid #BD471F;
  color:#FFF;
  text-decoration: none;
  font-weight: 400;
}

.wp-block-button.is-style-alt-fill-button .wp-block-button__link {
    background-color: #00358E;
    color: #ffffff;
    text-decoration: none;
    border:2px solid #00358E;
}

.wp-block-button.is-style-outline .wp-block-button__link{
  background-color: transparent;
  border:2px solid #BD471F;
  color:#BD471F;
  text-decoration: none;
}

.wp-block-button .wp-block-button__link{
  font-weight: 700;
}

.wp-block-button.is-style-alt-outline-button .wp-block-button__link {
    background-color: transparent;
    border:2px solid #00358E;
    color: #00358E;
    text-decoration: none;
}
/*.wp-block-button.is-style-big-blue-button{
  max-width: 31%;
}
@media screen and (max-width: 989.98px) {
  .wp-block-button.is-style-big-blue-button{
    max-width: 48%;
  }
}
@media screen and (max-width: 40rem) {
  .wp-block-button.is-style-big-blue-button{
    max-width: 100%;
  }
}*/
.wp-block-button.is-style-big-blue-button .wp-block-button__link {
  background-color: #B9CEF1;
  border-radius: 1rem;
  text-decoration: none;
  padding: 2.5rem;
  line-height:1.25;
  transition: background 0.2s ease;
  border:2px solid #B9CEF1;
  color: #000;
}
.wp-block-button.is-style-big-blue-button .wp-block-button__link:focus,
.wp-block-button.is-style-big-blue-button .wp-block-button__link:hover {
  background-color: #d1dff6;
  border:2px solid #d1dff6;
  color:#000;
}


.wp-block-button__link.has-small-font-size{
  padding:calc(0.5em) calc(1.5em);
}

.wp-block-buttons{
  gap:1.5rem;
}
.wp-block-buttons.is-content-justification-center{text-align: center;}

.wp-block-buttons{
  margin-bottom: 1.5rem;
  display: block;
}
body .is-layout-flex.wp-block-buttons{
  display: block;
}



@media screen and (max-width: 768px) {
  .wp-block-button.is-style-big-blue-button .wp-block-button__link {
    padding: 1.5rem;
  }
  .wp-block-buttons>.wp-block-button{display: block;width:100%;}
}

.no-click-tiles > .wp-block-group{
  width:100%;
  text-align: center;
}
.no-click-tiles h3{
  font-size: 1.25rem;
  font-weight: 700;
}
.no-click-tiles p{
color:#696969;  
}
.no-click-tiles .is-style-boxed{
  padding:1.5rem;
}


.wp-block-group-is-layout-grid.content-grid-offset{
  clear:both;
  gap:1.5rem;
  grid-template-columns: 1fr 3fr;
  margin:var(--wp--preset--spacing--lg) auto var(--wp--preset--spacing--lg);
}
.wp-block-group-is-layout-grid.content-grid-offset > div{
  min-width: 0;
}
.wp-admin .wp-block-group-is-layout-grid.content-grid-offset > div {
    border: 1px dashed #ccc;
}
@media screen and (max-width: 40em) {
  .wp-block-group-is-layout-grid.content-grid-offset{
    grid-template-columns: 1fr;
    gap:0;
  }
  .wp-block-group-is-layout-grid.content-grid-offset div:last-child{padding-top:0;}
}

.content-grid-offset > div:first-child h2,
.content-grid-offset > div:first-child h3,
.content-grid-offset > div:first-child h4{
  font-size: 1.75rem;
  font-weight: 700;
}


.wp-block-table thead {
  border-bottom: none;
  background:#00358E;
  color:white;
}
.wp-block-table td, .wp-block-table th {
    border:none;
    padding: .75em;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #F2F2F2;
}
.wp-block-table.is-style-stripes,
.wp-block-table{
  border-bottom:2px solid #00358E;
  margin:var(--wp--preset--spacing--md) auto var(--wp--preset--spacing--lg);
}


ul.is-style-arrowlist {
  list-style: none;
  padding-left: 0;
  /* Removing to prevent issues with margin on flushright images:
  https://darsdev.stylereset.com/disability-programs/brain-injury-services/ */
  /*overflow: hidden;*/
}


ul.is-style-arrowlist > li {
    position: relative;
    padding-left: 2rem;
    background-repeat: no-repeat;
    margin-bottom: .75rem;
    background-position: 0 .125rem;
  background-size: 1.375rem;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg data-name='Layer 2' id='Layer_2'%3E%3Cpath fill='%23BD471F' d='M22,9a1,1,0,0,0,0,1.42l4.6,4.6H3.06a1,1,0,1,0,0,2H26.58L22,21.59A1,1,0,0,0,22,23a1,1,0,0,0,1.41,0l6.36-6.36a.88.88,0,0,0,0-1.27L23.42,9A1,1,0,0,0,22,9Z'/%3E%3C/g%3E%3C/svg%3E");
    /*background-size: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9H16M16 9L9 2M16 9L9 16' stroke='%23BD471F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");*/
}
ul.is-style-arrowlist.reverse-arrowlist > li{
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' style='transform:rotate(180deg);' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9H16M16 9L9 2M16 9L9 16' stroke='%23BD471F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");  
}

/*ul.is-style-arrowlist.callout-links > li{
  background-position: 0 .125rem;
  background-size: 1.375rem;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg data-name='Layer 2' id='Layer_2'%3E%3Cpath fill='%23BD471F' d='M22,9a1,1,0,0,0,0,1.42l4.6,4.6H3.06a1,1,0,1,0,0,2H26.58L22,21.59A1,1,0,0,0,22,23a1,1,0,0,0,1.41,0l6.36-6.36a.88.88,0,0,0,0-1.27L23.42,9A1,1,0,0,0,22,9Z'/%3E%3C/g%3E%3C/svg%3E");
}*/
.entry-content ol ul,
.entry-content ul ul{margin-top:.5rem;}


ol.is-style-circlelist {
    counter-reset: li;
    list-style: none;
    padding-left: 2.5rem;
}

ol.is-style-circlelist > li {
    counter-increment: li;
    margin-bottom: 1em !important;
    position: relative;
}

ol.is-style-circlelist > li::before {
    content: counter(li);
    position: absolute;
    left: -2.5rem;
    top: -.125rem;
    width: 1.8rem;
    height: 1.8rem;
    border: 2px solid var(--wp--preset--color--secondary);
    border-radius: 50%;
    color: var(--wp--preset--color--secondary);
    font-weight: bold;
    text-align: center;
    line-height: 1.6rem;
}


/*ul.is-style-arrowlist.callout-links > li:hover{
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9H16M16 9L9 2M16 9L9 16' stroke='%2395391a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}*/

ul.is-style-arrowlist.callout-links > li:hover{
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg data-name='Layer 2' id='Layer_2'%3E%3Cpath fill='%2395391a' d='M22,9a1,1,0,0,0,0,1.42l4.6,4.6H3.06a1,1,0,1,0,0,2H26.58L22,21.59A1,1,0,0,0,22,23a1,1,0,0,0,1.41,0l6.36-6.36a.88.88,0,0,0,0-1.27L23.42,9A1,1,0,0,0,22,9Z'/%3E%3C/g%3E%3C/svg%3E");
}


ul.is-style-arrowlist.reverse-arrowlist.callout-links > li:hover{
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' style='transform:rotate(180deg);' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9H16M16 9L9 2M16 9L9 16' stroke='%2395391a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media screen and (min-width: 40em) {

ul.is-style-twocollist,
ul.two-col-list{
  column-count: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
}
ul.is-style-twocollist.marklist,
ul.two-col-list.marklist{
  list-style: disc;
  padding: 0 0 0 1rem;
}
ul.is-style-twocollist li,
ul.two-col-list li{
   break-inside: avoid; -webkit-column-break-inside: avoid; 
  margin-bottom: 0.5rem;  
}

}
ul.is-style-twocollist li,
ul.is-style-twocollist a,
ul.two-col-list li,
ul.two-col-list a{
word-break: break-word; overflow-wrap: anywhere;
}

/*.callout-links{
  font-size: 1.125rem;
}*/
.callout-links a{
  color:#000;
  font-weight: 600;
}
/*.callout-links a:focus,
.callout-links a:hover{
  color:var(--wp--preset--color--secondary);
}*/


.entry-content p.or-class{
  color:var(--wp--preset--color--primary);
  font-size: .875rem;
  text-align: center;
  display: flex;
  align-items:center;
  justify-content: center;
  width: 100%;
  position: relative;
  margin-top:1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

p.or-class.has-text-align-left{
  justify-content: flex-start;
}


p.or-class::after,
p.or-class::before{
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 4px;
  border-radius: 999px;
  margin: 0 .5rem 0;
  background: currentColor;
}

hr,
hr.wp-block-separator{
  width:14rem;
  border-top:none !important;
  opacity: 1 !important;
  margin:2.5rem auto !important;
  position: relative;
  clear:both;
}
hr:before,
hr.wp-block-separator::before{
  content: "";
  display: block;
  width: 14rem;
  background:rgba(189,71,31,.3);
  height: 2px;
  border-radius: 999px;
}



/* Base blockquote style */
blockquote.wp-block-quote {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  width: 80%;
  margin: 2rem auto !important;
  padding: .75rem 0 .75rem 2rem;
}

.entry-content > blockquote.wp-block-quote:not(.alignleft),
.entry-content > blockquote.wp-block-quote:not(.alignright){
  overflow: hidden;
  clear:both;
  max-width: calc(var(--wp--style--global--content-size) * .75);
}

.has-background blockquote.wp-block-quote:first-child,
.is-style-boxed blockquote.wp-block-quote:first-child{
  margin-top:0 !important;
}

blockquote.wp-block-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 999px;
  background: currentColor;
  opacity: .4;
}
blockquote.wp-block-quote.is-style-plain::before{
  content:none;
}
blockquote.wp-block-quote.is-style-plain{
  padding:0;
  width: auto;
}
.entry-content > blockquote.wp-block-quote.alignfull{
  clear:both;display: block;
  margin-inline: auto;
  max-width: var(--wp--style--global--content-size);
}

/* Alignment variants */
blockquote.wp-block-quote.alignleft {
  width: 45%;
  margin: .375rem 2rem 1.5rem 0 !important;
}
blockquote.wp-block-quote.alignright {
  width: 45%;
  margin: .375rem 0 1.5rem 2rem !important;
}

/* No sidebar layout */
@media screen and (min-width: 890px) {
  .no-sidebar .entry-content > blockquote.wp-block-quote.alignleft,
  .no-sidebar .entry-content > blockquote.wp-block-quote.alignright {
    width: calc(var(--wp--style--global--content-size) * .45);
  }
  .no-sidebar .entry-content > blockquote.wp-block-quote.alignleft {
    margin-left: calc((100% - var(--wp--style--global--content-size)) / 2) !important;
  }
  .no-sidebar .entry-content > blockquote.wp-block-quote.alignright {
    margin-right: calc((100% - var(--wp--style--global--content-size)) / 2) !important;
  }
}

/* Tablet */
@media screen and (max-width: 819.98px) {
  .entry-content > blockquote.wp-block-quote.alignleft,
  .entry-content > blockquote.wp-block-quote.alignright,
  .entry-content > blockquote.wp-block-quote {
    width: 100%;
    max-width: 100% !important;
    margin: 2rem auto !important;
  }
}

/* Mobile */
@media screen and (max-width: 640px) {
  blockquote.wp-block-quote {
    padding: .75rem 0 .75rem 1.5rem;
    width: 100%;
    font-size:1.25rem;
    margin: 1.5rem auto !important;
  }
}


/*.wp-admin .editor-styles-wrapper{
  padding-left:1rem;padding-right:1rem;
}*/

.entry-content .wp-block-image.is-style-rounded img{
  border-radius: 9999px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}
.entry-content .wp-block-image img{
  border-radius: 1rem;
}


@media screen and (max-width: 640px) {
  .entry-content .content-grid-offset h2{
    margin-bottom: revert;
  }

}



.is-style-arrowheading {
    background-image: url("data:image/svg+xml,%3Csvg width='47' height='47' viewBox='0 0 47 47' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='23.5' cy='23.5' r='23.5' fill='%2300358E'/%3E%3Cpath d='M12.3334 23H35.6667M35.6667 23L24 11.3334M35.6667 23L24 34.6667' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    padding-left: 1.375em;
    background-size: 1em;
    margin-top:var(--wp--preset--spacing--xl);
    background-repeat: no-repeat;
    background-position: 0 0.075em;
}



/*.is-style-wrapheading{
  padding:1rem;
  margin-top:var(--wp--preset--spacing--xl);
  border-radius: 1rem;
  background-color: rgba(223,234,252,.6);
  padding-right: calc(60% + 2rem);
  position: relative;
}*/

.is-style-wrapheading {
    padding: 1rem;
    margin-top: var(--wp--preset--spacing--xl);
    border-radius: 1rem;
    background-color: rgba(223,234,252,.6);
    /*padding-right: calc( ( (100% - 720px)/2 ) - 2rem);*/
    padding-right:calc( ( (720px) / 2 ) + 2rem);
    position: relative;
}

.is-style-wrapheading + .wp-block-image.alignright{
  margin-top:-118px;
  position: relative;
  z-index: 10;
  max-width: 50%!important;
  margin-right: 0;
}


@media (max-width: 767.98px) {
  .is-style-wrapheading{padding-right: 1rem;}
  .is-style-wrapheading + .wp-block-image.alignright{max-width:100%!important;margin-top: 0!important;}
}