/* CKEditor 5 */

figure > img {
    height: auto !important;
    max-width: 100%;
}
figure > figcaption {
    margin-top: 5px;
}
figure.align-right {
    float: right;
}
figure.align-left {
    float: left;
}
figure.align-right img,
figure.align-left img {
    width: 100% !important;
}

.block-system-main-block .block-field-blocknodepagebody{
    padding-bottom: 2rem;
}
.ck-widget.bs_grid img{
    max-width: 100%;
    height: auto;
}
.media--type-image.align-center .blazy--field-media-image img{
    margin: 0 auto;
}

.align-left{
    padding: 0 1.25rem 1.25rem 0;
}
.align-right{
    padding: 0 0 1.25rem 1.25rem;
}

.alignleft{
    float: left;
    padding: 0 2rem 2rem 0;
}
.alignright{
    float: right;
    padding: 0 0 1.25rem 1.25rem;
}

.align-center {
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

blockquote {
    margin: 0 0 1rem 0;
    border-left: 4px solid gray;
    padding-left: 1rem;
    font-style: italic;
}

.align-center.media img{
    margin: 0 auto !important;
}
.align-center{
    text-align: center;
    margin: 0 auto;
}  
  
.media--view-mode-full-width img{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important; 
}
.meighthundred  img{
    width: 800px !important;
    max-width: 100%  !important;
    height: auto !important;
}
.msixhundred  img{
    width: 600px !important;
    max-width: 100%  !important;
    height: auto !important;
}
.mfourhundred img{
    width: 400px !important;
    max-width: 100%  !important;
    height: auto !important;
}
.mtwohundred img{
    width: 200px !important;
    max-width: 100%  !important;
    height: auto !important; 
}
.media--view-mode-lightbox-view-250px img{
    width: 250px !important;
    max-width: 100%  !important;
    height: auto !important;
}
.media--view-mode-lightbox-view a:hover,
.media--view-mode-lightbox-view-250px a:hover{
    cursor: pointer !important;
}
  
.media--view-mode-lightbox-view img{
    width: 600px !important;
    max-width: 100%  !important;
    height: auto;
}

[class*="blazy--field-media-oembed-video-"] .field--item .media,
.blazy--field-media-oembed-video .media{
      position: relative; 
      width: 100%;
      padding-bottom: 56.25%;
      overflow: hidden;
}
    
[class*="blazy--field-media-oembed-video-"] .media iframe,
.blazy--field-media-oembed-video .media iframe{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
}
.mvideofifty{ 
      width: 50%;
}
.mvideoseventy{ 
      width: 70%;
}


  .table-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  
  .table-row {
    display: flex;
    flex-direction: row;
    width: 100%;
  }
  .tablethreecols .table-cell {
    flex-basis: 33%;
  }
  .table-cell {
    flex-basis: 0;
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
  }
  
  .header-row {
    font-weight: bold;
    background-color: #f0f0f0;
  }
  .table-cell a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    max-height: 3.2em;
  }
  .bootstrap-tabs ul.nav-tabs a {
    font-weight: 900;
  }
  .tab-pane.active {
    padding-top: 2rem;
    border: none;
  }

/* Accordion CKEditor */
.ckeditor-accordion-container > dl {
  position: relative;
  border: none;
}
.ckeditor-accordion-container > dl dt > a, 
.ckeditor-accordion-container > dl dt > a:not(.button) {
display: block;
padding: 16px 50px 16px 16px;
background-color: #F3F3EF;
color: var(--bs-primary);
cursor: pointer;
-webkit-transition: background-color 300ms;
transition: background-color 300ms;
border-bottom: none;
font-size: 1.3rem;
font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
font-weight: 500;
line-height: 1.1;
margin-bottom: 1rem;
border: 2px solid #f7f7f7;
text-decoration: none;
}
.ckeditor-accordion-container > dl dt > a:hover, .ckeditor-accordion-container > dl dt > a:not(.button):hover {
  background-color: var(--bs-primary);
  box-shadow: none;
  color: #fff;
  text-decoration: none;
}
.ckeditor-accordion-container > dl dt.active > a{
  font-size: 1.3rem;
  font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
}
.ckeditor-accordion-container > dl dt.active > a {
  background-color: var(--bs-primary);
}
/* Arrow color */
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::before, 
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle::after {
  background: var(--bs-primary);
}
.ckeditor-accordion-container > dl dt.active > a > .ckeditor-accordion-toggle::before, 
.ckeditor-accordion-container > dl dt.active > a > .ckeditor-accordion-toggle::after {
  background: #ffffff;
}
.ckeditor-accordion-container > dl dt:hover > a > .ckeditor-accordion-toggle::before, 
.ckeditor-accordion-container > dl dt:hover > a > .ckeditor-accordion-toggle::after {
  background: #ffffff;
}

.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle {
  right: 11px;
  left: unset;
}

.ck-widget.bs_grid img{
  max-width: 100%;
  height: auto;
}
