/* Global styles shared by the generated ResQ for Facilities pages, taken from
   the Webflow page embeds so they match the ResQ Services pages. */
  /* Make text look crisper and more legible in all browsers */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* Focus state style for keyboard navigation for the focusable elements */
  *[tabindex]:focus-visible,
  input[type='file']:focus-visible {
    outline: 0.125rem solid #4d65ff;
    outline-offset: 0.125rem;
  }

  /* Set color style to inherit */
  .inherit-color * {
    color: inherit;
  }

  /* Get rid of top margin on first element in any rich text element */
  .w-richtext > :not(div):first-child,
  .w-richtext > div:first-child > :first-child {
    margin-top: 0 !important;
  }

  /* Get rid of bottom margin on last element in any rich text element */
  .w-richtext > :last-child,
  .w-richtext ol li:last-child,
  .w-richtext ul li:last-child {
    margin-bottom: 0 !important;
  }

  /* Make sure containers never lose their center alignment */
  .container-medium,
  .container-small,
  .container-large {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  /* 
Make the following elements inherit typography styles from the parent and not have hardcoded values. 
Important: You will not be able to style for example "All Links" in Designer with this CSS applied.
Uncomment this CSS to use it in the project. Leave this message for future hand-off.
*/
  /*
a,
.w-input,
.w-select,
.w-tab-link,
.w-nav-link,
.w-dropdown-btn,
.w-dropdown-toggle,
.w-dropdown-link {
  color: inherit;
  text-decoration: inherit;
  font-size: inherit;
}
*/

  /* Apply "..." after 3 lines of text */
  .text-style-3lines {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  /* Apply "..." after 2 lines of text */
  .text-style-2lines {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* These classes are never overwritten */
  .hide {
    display: none !important;
  }

  @media screen and (max-width: 991px) {
    .hide,
    .hide-tablet {
      display: none !important;
    }
  }
  @media screen and (max-width: 767px) {
    .hide-mobile-landscape {
      display: none !important;
    }
  }
  @media screen and (max-width: 479px) {
    .hide-mobile {
      display: none !important;
    }
  }

  .margin-0 {
    margin: 0rem !important;
  }

  .padding-0 {
    padding: 0rem !important;
  }

  .spacing-clean {
    padding: 0rem !important;
    margin: 0rem !important;
  }
  
  .button-new:hover .link-icon {
  	margin-left: 0.75rem;  
  }

  .hero_title strong,
  .hero_title b {
    weight: 400;
    color: var(--_redesign---base-color-brand--red-orange);
  }

  svg {
    width: auto;
    height: auto;
  }

  /* Stack both icons in the same spot and crossfade/rotate them */
  .accordion_icon {
    display: grid;
  }
  .accordion .accordion_icon-minus,
  .accordion .accordion_icon-plus {
    grid-area: 1 / 1;
    display: block; /* overrides the hidden plus from the Designer */
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  /* Closed: plus visible, minus hidden */
  .accordion .accordion_icon-minus {
    opacity: 0;
    transform: rotate(-90deg);
  }

  /* Open: minus visible, plus hidden */
  .accordion.is-open .accordion_icon-minus {
    opacity: 1;
    transform: rotate(0deg);
  }
  .accordion.is-open .accordion_icon-plus {
    opacity: 0;
    transform: rotate(90deg);
  }
