/*******************
**     NOTES      **
********************
- Do these styles need to be added to the print stylesheet?
*/



/**********************
**     VARIABLES     **
**********************/
:root {
  --white-smoke-transparent-rgba: rgba(224,224,224,0.35); /* Roughly equivalent to White Smoke #F4F4F4 when on white background */
  /* When --white-smoke-rgba is layered on itself (on a white background) it's roughly equivalent to #EFEFEF */
  --pale-smoke-rgba: rgba(217,217,214,1); /* Equivalent to Pale Smoke #D9D9D6 */
  --faux-blue: #0072c8; /* This shade of True Blue is contrast accessible against White Smoke */
  --faux-blue-deux: #0060ae; /* This shade of True Blue is contrast accessible against Pale Smoke #D9D9D6 */
  /* At one point we had a lighter shade of True Blue (#006dc4) which worked on doubly layered white-smoke-rgba elements, but 3 shades of link colors was too much to slip by. */
}

/**********************
**   LEGACY STYLES   **
**********************/

/**********************************
**  vimeo  Might not be needed?  **
**********************************/
.forvis-vimeo-embed {
  margin: 2rem 0 4rem;
  filter: drop-shadow(0 0 0.4rem rgba(0, 0, 0, 0.425));
}


/**************************
**     Screen Reader     **
**************************/
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}


/**********************
**    Blockquotes    **
**********************/

/* Can also be used with the 'callout' class without the semantic
  associations of blockquote */

blockquote,
.fr-view blockquote, /* This selector is to override a Froala editor style */
.article-content .fr-view blockquote, /* See above, needed another more specific for articles */
div.callout,
.callout {
  margin-bottom: 2rem;
  padding: 1rem 1.5rem !important; /* Important is needed to override Froala styles */
  border-left: 4px solid #0072ce !important; /* Important is needed to override Froala styles */
  background-color: var(--white-smoke-transparent-rgba);
  line-height: 1.6;
  color: #464b4b !important;  /* Important is needed to override Froala styles */
}

  .page-content blockquote p:first-child,
  div.callout p:first-child {
    margin-top: 0;
  }

  .page-content blockquote p:last-child,
  div.callout p:last-child {
    margin-bottom: 0;
  }

/* To not overwrite blockquote styles on other widgets */
.collage blockquote {
  background-color: inherit;
  border: inherit;
  color: inherit;
}

/* Setting link color to be accessible against "White Smoke" background */
blockquote a,
.article-content .fr-view blockquote a, /* This selector is to override a Froala editor style */
div.callout a,
.callout a {
  color: var(--faux-blue);
}

/* In instances where blockquotes layer (or are embeded in an accordion), a darker link color is needed again */
blockquote blockquote a,
.callout .callout a,
.callout blockquote a,
.article-content .fr-view .callout blockquote a,
.forvis-accordion .callout a,
.forvis-accordion blockquote a {
  color: var(--faux-blue-deux);
}


/*********************
**    Figcaption    **
*********************/

/* This is the same style as Froala's .fr-view .fr-img-caption .fr-img-wrap>span
  for continuity between captions
*/
figcaption {
  margin: auto;
  padding: 5px 5px 10px;
  font-size: 14px;
  font-weight: initial;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-opacity: .9;
  -moz-opacity: .9;
  opacity: .9;
  width: 100%;
  text-align: center;
}

/* The page-content style was making this nto 100% wide */
.fr-img-wrap span.fr-inner {
  max-inline-size: 100%;
}

/* Anytime a link is used in an image caption froala breaks to a new line, this allows for inline links */
.fr-view .fr-img-caption .fr-img-wrap a {
  display: inline-block;
}


/*******************
**     Tables     **
*******************/

.table-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.table-scrollable {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

  /* Hide scrollbar for Chrome, Safari and Opera */
  .table-scrollable::-webkit-scrollbar {
    display: none;
  }

.page-content table,
.event-detail table {
  overflow: visible !important;
  min-width: 250px;
  margin-bottom: 1.25rem;
}

  .page-content table th,
  .page-content table td,
  .event-detail table th,
  .event-detail table td {
    vertical-align: top;
  }

    .page-content table td p:first-child,
    .page-content table th p:first-child,
    .event-detail table td p:first-child,
    .event-detail table th p:first-child {
      margin-top: 0;
    }

    .page-content table td p:last-child,
    .page-content table th p:last-child,
    .event-detail table td p:last-child,
    .event-detail table th p:last-child {
      margin-bottom: 0;
    }

  .page-content table tr th,
  .page-content table tr td,
  .event-detail table tr th,
  .event-detail table tr td {
    padding: .5rem;
    border-color: #d9d9d6;
    border-width: 2px;
    line-height: 1.35;
  }

  .page-content table tr td:first-child,
  .page-content table.table-striped tr td:first-child,
  .event-detail table tr td:first-child,
  .event-detail table.table-striped tr td:first-child {
    border-left-color: transparent;
  }

  .page-content table tr td:last-child,
  .page-content table.table-striped tr td:last-child,
  .event-detail table tr td:last-child,
  .event-detail table.table-striped tr td:last-child {
    border-right-color: transparent;
  }

  .page-content table td strong,
  .event-detail table td strong {
    font-weight: bold;
  }

  .page-content table thead th,
  .event-detail table thead th {
    background-color: #171c8f;
    color: #FFFFFF;
    font-weight: 500;
    border-color: #ffffff;
    vertical-align: middle;
  }

  .page-content table thead th:first-child,
  .page-content table.table-striped thead th:first-child,
  .event-detail table thead th:first-child,
  .event-detail table.table-striped thead th:first-child {
    border-left: transparent;
  }

  .page-content table thead th:last-child,
  .page-content table.table-striped thead th:last-child,
  .event-detail table thead th:last-child,
  .event-detail table.table-striped thead th:last-child {
    border-right: transparent;
  }

  .page-content table thead tr.subhead th,
  .event-detail table thead tr.subhead th {
    background-color: #727578;
    color: #ffffff;
    font-weight: 500;
    border-color: inherit;
  }

  .page-content table ul,
  .page-content table ol,
  .event-detail table ul,
  .event-detail table ol {
    padding-left: 1.5rem;
  }

/* Table Striped Alternative Styling */

.page-content table tr th,
.page-content table.table-striped tr td,
.event-detail table tr th,
.event-detail table.table-striped tr td {
    border-color: #ffffff;
  }

.page-content table.table-striped thead th,
.event-detail table.table-striped thead th {
  background-color: #0072ce;
}

.page-content table.table-striped tr,
.event-detail table.table-striped tr {
  background-color: #d9d9d6;
}

.page-content table.table-striped tr a,
.event-detail table.table-striped tr a {
  color: var(--faux-blue-deux)
}

.page-content table.table-striped tr:nth-child(even),
.event-detail table.table-striped tr:nth-child(even) {
  background-color: #f4f4f4;
}

.page-content table.table-striped tr:nth-child(even) a,
.event-detail table.table-striped tr:nth-child(even) a {
  color: var(--faux-blue);
}

/* Darken link colors for accessibility when displayed in an accordion or callout box */
.forvis-accordion table tr td a,
blockquote table tr td a,
.callout table tr td a {
  color: var(--faux-blue);
}

/* Table helper classes */

/* Remove borders from the table */
table.borderless > thead > tr > th,
table.borderless > thead > tr > td,
table.borderless > tbody > tr > th,
table.borderless > tbody > tr > td,
table.borderless > tfoot > tr > th,
table.borderless > tfoot > tr > td {
  border: none;
}


/********************
** Footnotes
********************/
/*
 * CSS specific to [Legacy] Footnotes module.
*
* Thanks to binford2k@lug.wsu.edu for this tip and drinkypoo
* for the question leading up to it. http://drupal.org/node/80538
*/

/* Add empty space before footnotes and a black line on top. */
.footnotes {
  clear: both;
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #464b4b;
}

/*
  Make the footnote a supertext^1
*/
.see-footnote {
  vertical-align: top;
  position: relative;
  top: -0.25em;
  font-size: 0.9em;
}

/* Hide the bullet of the UL list of footnotes */

ul.footnotes {
  list-style-type: none;
  /* margin-left: 0; Removed so it appears in line with article content */
  padding-left: 0;
  font-style: italic;
}

  ul.footnotes li {
    margin-left: 0.5rem;
    list-style-type: none;
    background: none;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    /* Garland theme sets a bullet via background image, this must be unset! See bug 861634 */
  }

/* Move the footnote number outside of the margin for footnote text (hanging indent) */
ul.footnotes {
  /* This is apparently very needed for the "position: absolute;" below to work correctly */
  position: relative;
}

.footnotes .footnote-label {
  position: absolute;
  left: 0;
  /* z-index: 2; */
}

/* Highlight the target footnote (or ref number, if a backlink was used) when user clicks a footnote. */
.see-footnote:target,
.footnotes .footnote:target {
  background-color: #eee;
}

.see-footnote:target {
  border: solid 1px #aaa;
}

/* Note: This CSS has a minor bug on all versions of IE in that the footnote numbers
are aligned with the absolute bottom of their space, thus being a couple of pixels
lower than their corresponding line of text. IE5.5 has a serious bug in that the numbers
are not shifted left at all, thus being garbled together with the start of their text. */

/*
  Make the multiple backlinks a supertext^1
*/
.footnotes .footnote-multi {
  vertical-align: top;
  position: relative;
  top: -0.1rem;
  font-size: 0.75rem;
}

/*
 * Textile Footnotes
 */
/* First footnote */
#fn1 {
  border-top: 1px solid #25282a;
  margin-top: 3em;
}

.footnote {
  font-size: 0.9em;
}

/* Additions specifically for this instance of Kentico */
.article-content ul.footnotes {
  padding-left: 1rem;
}



/*****************************
/*       Accordions          *
/****************************/

/* .hidden {
    display:none;
  } */

.forvis-accordion {
  max-width: 62.5rem;
  margin: auto;
}

  .forvis-accordion h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

    .forvis-accordion h4 button {
      width: 100%;
      justify-content: space-between;
      border-radius: 0;
      background-color: var(--white-smoke-transparent-rgba);
      color: #464b4b;
      border: none;
      font-size: clamp(23px, 1.03vw + 19.13px, 34px);
      font-weight: 300;
      line-height: clamp(37px, 1.5vw + 31.37px, 53px);
      padding: 15px 25px;
      text-align: left;
      transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
      display: flex;
      align-items: center;
      cursor: pointer;
    }

      .forvis-accordion h4 button:hover {
        background-color: var(--pale-smoke-rgba);
        box-shadow: inset 0 -3px #171c8f;
      }

      .forvis-accordion h4 button[aria-expanded="true"] {
        background-color: var(--pale-smoke-rgba);
        /* box-shadow: none; */
      }

.accordion-panel {
  background-color: var(--white-smoke-transparent-rgba);
  padding: 25px;
  margin-bottom: 1rem;
  margin-top: -1rem;
  /* border-bottom: 3px solid #0072ce; */
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: #464b4b;
  max-height: 500px;
  transition: all 0.25s ease-in-out;
  overflow: hidden;
  visibility: visible;
  /* box-shadow: inset 0 6px 5px -5px rgba(0, 0, 0, 0.6); */
}

  .accordion-panel h5:first-child,
  .accordion-panel h6:first-child,
  .forvis-accordion .accordion-panel p:first-child {
    margin-top: 0;
  }

  .accordion-panel p:last-child,
  .accordion-panel ul:last-child,
  .accordion-panel ol:last-child {
    margin-bottom: 0;
  }

  .accordion-panel.hidden {
    max-height: 0px;
    padding: 0 25px;
    border-bottom: 0;
    visibility: hidden;
  }


.forvis-accordion h4 button::after {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-bottom: 3px solid #171c8f;
  border-right: 3px solid #171c8f;
  rotate: 45deg;
  transition: all 0.25s ease-in-out;
  position: relative;
  top: -3px;
}

.forvis-accordion h4 button[aria-expanded="true"]::after {
  rotate: 225deg;
  top: 3px;
}

/* Slighly darker link color against White Smoke background color for accessibility */
.forvis-accordion a {
  color: var(--faux-blue);
}


/**********************************
/*    .fmal = FORVIS Arrow Link    *
/*********************************/

.fmal {
  position: relative;
  font-weight: 500;
  color: #171c8f;
  transition: .1s ease-in-out;
}

  .fmal::after {
    content: "";
    border-right: 2px solid #171c8f;
    border-bottom: 2px solid #171c8f;
    display: block;
    height: 0.9375rem;
    width: 0.9375rem;
    position: absolute;
    right: -1.5rem;
    bottom: 0.25rem;
    transform: rotate(-45deg);
    transition: ease-in-out 0.175s;
  }

  .fmal:hover {
    color: var(--faux-blue-deux);
    text-decoration-thickness: 2px;
  }

    .fmal:hover::after {
      border-color: var(--faux-blue-deux);
      right: -2rem;
    }


/**********************************
*     .itl = ICON TABLE LAYOUT    *
*       (This is for lists!)      *
/*********************************/

.itl {
  width: 100%;
  padding-left: 0 !important;
}

.itl__row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 5px 0;
  list-style-type: none;
  border-bottom: 1px solid #b1b3b3;
}

  .itl__row:last-child {
    border-bottom: 0;
  }

.itl__icon-wrap {
  width: 60px;
  min-height: 55px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 !important;
}

.itl__icon {
  max-height: 40px;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
}

.itl__text {
  width: calc(100% - 87px);
  padding-left: 20px;
  border-left-width: 7px;
  border-left-style: solid;
  border-color: #84add8;
  margin: 10px 0 !important;
  min-height: 45px;
  display: flex;
  align-items: center;
}

.itl__row:nth-child(2) .itl__text {
  border-color: #79bdc9;
}

.itl__row:nth-child(3) .itl__text {
  border-color: #5d93cd;
}

.itl__row:nth-child(4) .itl__text {
  border-color: #4aa7b7;
}

.itl__row:nth-child(5) .itl__text {
  border-color: #336697;
}

.itl__row:nth-child(6) .itl__text {
  border-color: #1c8094;
}

.itl__row:nth-child(7) .itl__text {
  border-color: #265173;
}

.itl__row:nth-child(8) .itl__text {
  border-color: #115e67;
}

@media (min-width: 768px) {
  .itl__icon-wrap {
    min-height: 65px;
    width: 100px;
    justify-content: center;
  }

  .itl__icon,
  .itl img.itl__icon {
    max-height: 45px;
  }

  .itl__text {
    width: calc(100% - 127px);
    padding-left: 20px;
  }
}


/*****************************
/*        Utilities          *
/****************************/

@media screen and (min-width: 992px) {
  .two-col-list {
    column-count: 2;
    column-gap: 3rem;
  }
}

/* Froala removes this style when inserted inline */
.w-fit-content {
  width: fit-content !important;
}

.skew {
  transform: skew(340deg);
}

.unskew {
  transform: skew(-340deg);
}

.faux-blue {
  color: var(--faux-blue) !important;
}

.faux-blue-deux {
  color: var(--faux-blue-deux) !important;
}


/*****************************
/*       SVG Helpers         *
/****************************/

.svg-icon-white {
  filter: brightness(0) saturate(100%) invert(100%) sepia(99%) saturate(0%) hue-rotate(133deg);
}