/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.6;
  filter: alpha(opacity=60);
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
    backdrop-filter: blur(5px);
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-ajax-cur {
  cursor: progress;
}
.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-preloader a {
  color: #cccccc;
}
.mfp-preloader a:hover {
  color: white;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}
.mfp-close:active {
  top: 1px;
}
.mfp-close-btn-in .mfp-close {
  color: #333333;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}
.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}
.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}
.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}
.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 17px solid white;
  margin-left: 31px;
}
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}
.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 17px solid white;
  margin-left: 39px;
}
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 27px solid #3f3f3f;
}
.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}
.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}
/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444444;
}
.mfp-figure small {
  color: #fff;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.mfp-ie7 .mfp-img {
  padding: 0;
}
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}
.mfp-ie7 .mfp-container {
  padding: 0;
}
.mfp-ie7 .mfp-content {
  padding-top: 44px;
}
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}

/* --------------------------------

File#: _1_modal-window
Title: Modal Window
Descr: A modal dialog used to display critical information
Usage: codyhouse.co/license

-------------------------------- */
/* reset */
.modal * {
    margin: 0;
    padding: 0;
    border: 0;
}

/* variables */
:root {
    /* colors */
    --mc4-color-primary-hsl: 250, 84%, 54%;
    --mc4-color-bg-hsl: 0, 0%, 100%;
    --mc4-color-contrast-high-hsl: 230, 7%, 23%;
    --mc4-color-contrast-higher-hsl: 230, 13%, 9%;
    --mc4-color-contrast-lower-hsl: 240, 4%, 85%;
    --mc4-color-bg-light-hsl: 0, 0%, 100%;
    --mc4-color-bg-lighter-hsl: 0, 0%, 100%;
    --mc4-color-black-hsl: 230, 13%, 9%;
    --mc4-color-white-hsl: 0, 0%, 100%;
    --mc4-color-bg-dark-hsl: 240, 4%, 95%;
    --mc4-color-primary-darker-hsl: 250, 84%, 38%;
    --mc4-color-primary-light-hsl: 250, 84%, 60%;
    --mc4-color-accent-hsl: 342, 89%, 48%;

    /* spacing */
    --mc4-space-xs: 0.5rem;
    --mc4-space-sm: 0.75rem;
    --mc4-space-md: 1.25rem;
    --mc4-space-2xs: 0.375rem;

    /* typography */
    --mc4-text-lg: 1.25rem;
    --mc4-text-md: 1.2rem;
    --mc4-text-sm: 0.833rem;
}

@media(min-width: 64rem){
    :root {
        /* spacing */
        --mc4-space-xs: 0.75rem;
        --mc4-space-sm: 1.125rem;
        --mc4-space-md: 2rem;
        --mc4-space-2xs: 0.5625rem;

        /* typography */
        --mc4-text-lg: 1.75rem;
        --mc4-text-md: 1.5625rem;
        --mc4-text-sm: 1rem;
    }
}

/* buttons */
.mc4-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    white-space: nowrap;
    text-decoration: none;
    background: hsl(var(--mc4-color-bg-dark-hsl));
    color: hsl(var(--mc4-color-contrast-higher-hsl));
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.2s ease;
    will-change: transform;
    padding: var(--mc4-space-2xs) var(--mc4-space-sm);
    border-radius: 0.25em;
}

.mc4-btn:focus-visible {
    box-shadow: 0px 0px 0px 2px hsl(var(--mc4-color-bg-hsl)), 0px 0px 0px 4px hsla(var(--mc4-color-contrast-higher-hsl), 0.15);
    outline: none;
}

.mc4-btn:active {
    transform: translateY(2px);
}

.mc4-btn--primary {
    background: hsl(var(--mc4-color-primary-hsl));
    color: hsl(var(--mc4-color-white-hsl));
    box-shadow: inset 0px 1px 0px hsla(var(--mc4-color-white-hsl), 0.15), 0px 1px 3px hsla(var(--mc4-color-primary-darker-hsl), 0.25), 0px 2px 6px hsla(var(--mc4-color-primary-darker-hsl), 0.1), 0px 6px 10px -2px hsla(var(--mc4-color-primary-darker-hsl), 0.25);
}

.mc4-btn--primary:hover {
    background: hsl(var(--mc4-color-primary-light-hsl));
    box-shadow: inset 0px 1px 0px hsla(var(--mc4-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--mc4-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--mc4-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--mc4-color-primary-darker-hsl), 0.25);
}

.mc4-btn--primary:focus {
    box-shadow: inset 0px 1px 0px hsla(var(--mc4-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--mc4-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--mc4-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--mc4-color-primary-darker-hsl), 0.25), 0px 0px 0px 2px hsl(var(--mc4-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--mc4-color-primary-hsl));
}

.mc4-btn--subtle {
    background: hsl(var(--mc4-color-bg-lighter-hsl));
    color: hsl(var(--mc4-color-contrast-higher-hsl));
    box-shadow: inset 0px 1px 0px hsla(var(--mc4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--mc4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--mc4-color-black-hsl), 0.2), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.mc4-btn--subtle:hover {
    background: hsl(var(--mc4-color-bg-light-hsl));
    box-shadow: inset 0px 1px 0px hsla(var(--mc4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--mc4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--mc4-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12);
}

.mc4-btn--subtle:focus {
    box-shadow: inset 0px 1px 0px hsla(var(--mc4-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--mc4-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--mc4-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12), 0px 0px 0px 2px hsl(var(--mc4-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--mc4-color-contrast-high-hsl));
}

/* icons */
.mc4-icon {
    height: var(--mc4-size, 1em);
    width: var(--mc4-size, 1em);
    display: inline-block;
    color: inherit;
    fill: currentColor;
    line-height: 1;
    flex-shrink: 0;
    max-width: initial;
}

.mc4-icon--xs {
    --mc4-size: 16px;
}

.mc4-icon--sm {
    --mc4-size: 24px;
}

/* component */
.modal {
    position: fixed;
    z-index: 999999999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
}
.modal:not(.modal--is-visible) {
    pointer-events: none;
    background-color: transparent;
}

.modal--is-visible {
    opacity: 1;
    visibility: visible;
}

/* close button */
.modal__close-btn {
    display: flex;
    flex-shrink: 0;
    border-radius: 50%;
    transition: 0.2s;
}
.modal__close-btn svg {
    display: block;
    margin: auto;
}

.modal__close-btn--outer {
    /* close button - outside the modal__content */
    width: 48px;
    height: 48px;
    position: fixed;
    top: var(--mc4-space-sm);
    right: var(--mc4-space-sm);
    z-index: 10;
    background-color: hsla(var(--mc4-color-black-hsl), 0.9);
    transition: 0.2s;
}
.modal__close-btn--outer svg {
    color: hsl(var(--mc4-color-white-hsl));
    /* icon color */
    transition: -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal__close-btn--outer:hover {
    background-color: hsla(var(--mc4-color-black-hsl), 1);
}
.modal__close-btn--outer:hover svg {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.modal__close-btn--inner {
    /* close button - inside the modal__content */
    --mc4-size: 32px;
    width: var(--mc4-size);
    height: var(--mc4-size);
    background-color: hsl(var(--mc4-color-bg-light-hsl));
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}
.modal__close-btn--inner svg {
    color: inherit;
    /* icon color */
}
.modal__close-btn--inner:hover {
    background-color: hsl(var(--mc4-color-bg-lighter-hsl));
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.9px 1.5px rgba(0, 0, 0, 0.03),0 3.1px 5.5px rgba(0, 0, 0, 0.08),0 14px 25px rgba(0, 0, 0, 0.12);
}

/* animations */
:root {
    --modal-transition-duration: 0.2s;
    /* fallback (i.e., unless specified differently in the variations 👇) */
}

@media (prefers-reduced-motion: no-preference) {
    .modal--animate-fade {
        --modal-transition-duration: 0.2s;
        transition: opacity var(--modal-transition-duration), background-color var(--modal-transition-duration), visibility 0s var(--modal-transition-duration);
    }
    .modal--animate-fade.modal--is-visible {
        transition: opacity var(--modal-transition-duration), background-color var(--modal-transition-duration), visibility 0s;
    }

    .modal--animate-scale,
    .modal--animate-translate-up,
    .modal--animate-translate-down,
    .modal--animate-translate-right,
    .modal--animate-translate-left {
        --modal-transition-duration: 0.2s;
        transition: opacity var(--modal-transition-duration), background-color var(--modal-transition-duration), visibility 0s var(--modal-transition-duration);
    }
    .modal--animate-scale .modal__content,
    .modal--animate-translate-up .modal__content,
    .modal--animate-translate-down .modal__content,
    .modal--animate-translate-right .modal__content,
    .modal--animate-translate-left .modal__content {
        will-change: transform;
        transition: -webkit-transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
        transition: transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
        transition: transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    .modal--animate-scale.modal--is-visible,
    .modal--animate-translate-up.modal--is-visible,
    .modal--animate-translate-down.modal--is-visible,
    .modal--animate-translate-right.modal--is-visible,
    .modal--animate-translate-left.modal--is-visible {
        transition: opacity var(--modal-transition-duration), background-color var(--modal-transition-duration), visibility 0s;
    }
    .modal--animate-scale.modal--is-visible .modal__content,
    .modal--animate-translate-up.modal--is-visible .modal__content,
    .modal--animate-translate-down.modal--is-visible .modal__content,
    .modal--animate-translate-right.modal--is-visible .modal__content,
    .modal--animate-translate-left.modal--is-visible .modal__content {
        -webkit-transform: scale(1);
        transform: scale(1);
        /* reset all transformations */
    }

    .modal--animate-slide-up,
    .modal--animate-slide-down,
    .modal--animate-slide-right,
    .modal--animate-slide-left {
        --modal-transition-duration: 0.3s;
        transition: opacity 0s var(--modal-transition-duration), background-color var(--modal-transition-duration), visibility 0s var(--modal-transition-duration);
    }
    .modal--animate-slide-up .modal__content,
    .modal--animate-slide-down .modal__content,
    .modal--animate-slide-right .modal__content,
    .modal--animate-slide-left .modal__content {
        will-change: transform;
        transition: -webkit-transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
        transition: transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
        transition: transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform var(--modal-transition-duration) cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    .modal--animate-slide-up.modal--is-visible,
    .modal--animate-slide-down.modal--is-visible,
    .modal--animate-slide-right.modal--is-visible,
    .modal--animate-slide-left.modal--is-visible {
        transition: background-color var(--modal-transition-duration), visibility 0s;
    }
    .modal--animate-slide-up.modal--is-visible .modal__content,
    .modal--animate-slide-down.modal--is-visible .modal__content,
    .modal--animate-slide-right.modal--is-visible .modal__content,
    .modal--animate-slide-left.modal--is-visible .modal__content {
        -webkit-transform: scale(1);
        transform: scale(1);
        /* reset all transformations */
    }

    /* scale */
    .modal--animate-scale .modal__content {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }

    /* translate */
    .modal--animate-translate-up .modal__content {
        -webkit-transform: translateY(40px);
        transform: translateY(40px);
    }

    .modal--animate-translate-down .modal__content {
        -webkit-transform: translateY(-40px);
        transform: translateY(-40px);
    }

    .modal--animate-translate-right .modal__content {
        -webkit-transform: translateX(-40px);
        transform: translateX(-40px);
    }

    .modal--animate-translate-left .modal__content {
        -webkit-transform: translateX(40px);
        transform: translateX(40px);
    }

    /* slide */
    .modal--animate-slide-up .modal__content {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    .modal--animate-slide-down .modal__content {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    .modal--animate-slide-right .modal__content {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    .modal--animate-slide-left .modal__content {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}
/* load content - optional */
.modal--is-loading .modal__content {
    visibility: hidden;
}
.modal--is-loading .modal__loader {
    display: flex;
}

.modal__loader {
    /* loader icon */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: none;
    pointer-events: none;
}

/* --image */
.modal-img-btn {
    position: relative;
    cursor: pointer;
}
.modal-img-btn::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(var(--mc4-color-black-hsl), 0);
    transition: background 0.2s;
}
.modal-img-btn:hover::after {
    background-color: hsla(var(--mc4-color-black-hsl), 0.7);
}
.modal-img-btn:hover .modal-img-btn__icon-wrapper {
    opacity: 1;
}

.modal-img-btn__icon-wrapper {
    position: absolute;
    z-index: 2;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: hsla(var(--mc4-color-black-hsl), 0.7);
    opacity: 0;
    transition: opacity 0.2s;
}
.modal-img-btn__icon-wrapper .mc4-icon {
    color: hsl(var(--mc4-color-white-hsl));
}

/* utility classes */
.mc4-max-width-100\% {
    max-width: 150rem;
}

.mc4-max-height-100\% {
    max-height: 100%;
}

.mc4-shadow-md {
    box-shadow:0 0.9px 1.5px rgba(0, 0, 0, 0.03),0 3.1px 5.5px rgba(0, 0, 0, 0.08),0 14px 25px rgba(0, 0, 0, 0.12);
}

.mc4-radius-md {
    border-radius: 0.25em;
}

.mc4-block {
    display: block;
}

.mc4-pointer-events-none {
    pointer-events: none;
}

.mc4-flex-center {
    justify-content: center;
    align-items: center;
}

.mc4-flex {
    display: flex;
}

.mc4-height-100\% {
    height: 100%;
}

.mc4-width-100\% {
    width: 100%;
}

.mc4-padding-md {
    padding: var(--mc4-space-md);
}

.mc4-bg-black {
    --mc4-bg-o: 1;
    background-color: hsla(var(--mc4-color-black-hsl), var(--mc4-bg-o, 1));
}

.mc4-width-3xl {
    width: 8rem;
}

.mc4-overflow-hidden {
    overflow: hidden;
}

.mc4-text-lg {
    font-size: var(--mc4-text-lg);
}

.mc4-text-component :where(h1, h2, h3, h4) {
    line-height: var(--mc4-heading-line-height, 1.2);
    margin-top: calc(var(--mc4-space-md) * var(--mc4-space-multiplier, 1));
    margin-bottom: calc(var(--mc4-space-sm) * var(--mc4-space-multiplier, 1));
}

.mc4-text-component :where(p, blockquote, ul li, ol li) {
    line-height: var(--mc4-body-line-height, 1.4);
}

.mc4-text-component :where(ul, ol, p, blockquote, .mc4-text-component__block) {
    margin-bottom: calc(var(--mc4-space-sm) * var(--mc4-space-multiplier, 1));
}

.mc4-text-component :where(ul, ol) {
    padding-left: 1.25em;
}

.mc4-text-component ul :where(ul, ol), .mc4-text-component ol :where(ul, ol) {
    padding-left: 1em;
    margin-bottom: 0;
}

.mc4-text-component ul {
    list-style-type: disc;
}

.mc4-text-component ol {
    list-style-type: decimal;
}

.mc4-text-component img {
    display: block;
    margin: 0 auto;
}

.mc4-text-component figcaption {
    margin-top: calc(var(--mc4-space-xs) * var(--mc4-space-multiplier, 1));
    font-size: var(--mc4-text-sm);
    text-align: center;}

.mc4-text-component em {
    font-style: italic;
}

.mc4-text-component strong {
    font-weight: bold;
}

.mc4-text-component s {
    text-decoration: line-through;
}

.mc4-text-component u {
    text-decoration: underline;
}

.mc4-text-component mark {
    background-color: hsla(var(--mc4-color-accent-hsl), 0.2);
    color: inherit;
}

.mc4-text-component blockquote {
    padding-left: 1em;
    border-left: 4px solid hsl(var(--mc4-color-contrast-lower-hsl));
    font-style: italic;
}

.mc4-text-component hr {
    margin: calc(var(--mc4-space-md) * var(--mc4-space-multiplier, 1)) auto;
    background: hsl(var(--mc4-color-contrast-lower-hsl));
    height: 1px;
}

.mc4-text-component > *:first-child {
    margin-top: 0;
}

.mc4-text-component > *:last-child {
    margin-bottom: 0;
}

.mc4-text-component.mc4-line-height-xs {
    --mc4-heading-line-height: 1;
    --mc4-body-line-height: 1.1;
}

.mc4-text-component.mc4-line-height-sm {
    --mc4-heading-line-height: 1.1;
    --mc4-body-line-height: 1.2;
}

.mc4-text-component.mc4-line-height-md {
    --mc4-heading-line-height: 1.15;
    --mc4-body-line-height: 1.4;
}

.mc4-text-component.mc4-line-height-lg {
    --mc4-heading-line-height: 1.22;
    --mc4-body-line-height: 1.58;
}

.mc4-text-component.mc4-line-height-xl {
    --mc4-heading-line-height: 1.3;
    --mc4-body-line-height: 1.72;
}

.mc4-top-0 {
    top: 0;
}

.mc4-position-sticky {
    position: sticky;
}

.mc4-float-right {
    float: right;
}

:where(.mc4-inner-glow) {
    position: relative;
}

.mc4-inner-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075);
}

.mc4-bg {
    --mc4-bg-o: 1;
    background-color: hsla(var(--mc4-color-bg-hsl), var(--mc4-bg-o, 1));
}

.mc4-overflow-auto {
    overflow: auto;
}

.mc4-max-width-sm {
    max-width: 48rem;
}

@media not all and (min-width: 64rem) {
    .mc4-display\@md {
        display:none !important;
    }
}

.mc4-gap-xs {
    gap: var(--mc4-space-xs);
}

.mc4-justify-end {
    justify-content: flex-end;
}

.mc4-padding-x-md {
    padding-left: var(--mc4-space-md);
    padding-right: var(--mc4-space-md);
}

.mc4-padding-y-sm {
    padding-top: var(--mc4-space-sm);
    padding-bottom: var(--mc4-space-sm);
}

.mc4-text-md {
    font-size: var(--mc4-text-md);
}

.mc4-text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc4-justify-between {
    justify-content: space-between;
}

.mc4-items-center {
    align-items: center;
}

.mc4-bg-contrast-lower {
    --mc4-bg-o: 1;
    background-color: hsla(var(--mc4-color-contrast-lower-hsl), var(--mc4-bg-o, 1));
}

.mc4-max-width-xs {
    max-width: 38rem;
}

.mc4-flex-shrink-0 {
    flex-shrink: 0;
}

:where(.mc4-inner-glow-top) {
    position: relative;
}

.mc4-inner-glow-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: var(inset 0 1px 0.5px hsla(0, 0%, 100%, 0.075));
}

.mc4-momentum-scrolling {
    -webkit-overflow-scrolling: touch;
}

.mc4-flex-grow {
    flex-grow: 1;
}

.mc4-flex-column {
    flex-direction: column;
}

.mc4-bg-opacity-90\% {
    --mc4-bg-o: 0.9;
}

.mc4-bg-opacity-50\% {
    --mc4-bg-o: 0.5;
}

@media(min-width: 64rem){
    .mc4-hide\@md {
        display: none !important;
    }
}

/* --------------------------------

File#: _1_search-input
Title: Search input
Descr: Search input field with custom button
Usage: codyhouse.co/license

-------------------------------- */

/* variables */
:root {
    /* colors */
    --se1-color-primary-hsl: 250, 84%, 54%;
    --se1-color-bg-hsl: 0, 0%, 100%;
    --se1-color-contrast-high-hsl: 230, 7%, 23%;
    --se1-color-contrast-higher-hsl: 230, 13%, 9%;
    --se1-color-contrast-lower-hsl: 240, 4%, 85%;
    --se1-color-contrast-low-hsl: 240, 4%, 65%;
    --se1-color-contrast-medium-hsl: 225, 4%, 47%;
    --se1-color-bg-dark-hsl: 240, 4%, 95%;

    /* spacing */
    --se1-space-3xs: 0.25rem;
    --se1-space-xs: 0.5rem;
    --se1-space-2xs: 0.375rem;
}

@media(min-width: 64rem){
    :root {
        /* spacing */
        --se1-space-3xs: 0.375rem;
        --se1-space-xs: 0.75rem;
        --se1-space-2xs: 0.5625rem;
    }
}

/* form elements */
.se1-form-control {
    font-size: 1em;
    padding: var(--se1-space-2xs) var(--se1-space-xs);
    background: hsl(var(--se1-color-bg-dark-hsl));
    line-height: 1.2;
    box-shadow: inset 0px 0px 0px 1px hsl(var(--se1-color-contrast-lower-hsl));
    transition: all 0.2s ease;
    border-radius: 0.25em;
}

.se1-form-control::placeholder {
    opacity: 1;
    color: hsl(var(--se1-color-contrast-low-hsl));
}

.se1-form-control:focus, .se1-form-control:focus-within {
    background: hsl(var(--se1-color-bg-hsl));
    box-shadow: inset 0px 0px 0px 1px hsla(var(--se1-color-contrast-lower-hsl), 0), 0px 0px 0px 2px hsl(var(--se1-color-primary-hsl)), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* icons */
.se1-icon {
    height: var(--se1-size, 1em);
    width: var(--se1-size, 1em);
    display: inline-block;
    color: inherit;
    fill: currentColor;
    line-height: 1;
    flex-shrink: 0;
    max-width: initial;
}

/* component */
:root {
    --search-input-btn-width: 2.2em;
    --search-input-icon-size: 1em;
    --search-input-shortcut-margin: 0.325em;
    /* gap between the shortcut badge and the input edges */
}

.search-input {
    position: relative;
}

.search-input__input {
    width: 100%;
    height: 100%;
}
.search-input__input::-webkit-search-decoration, .search-input__input::-webkit-search-cancel-button, .search-input__input::-webkit-search-results-button, .search-input__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}
.search-input__input::-ms-clear, .search-input__input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}
.search-input--icon-right .search-input__input {
    padding-right: var(--search-input-btn-width);
}
.search-input--icon-left .search-input__input {
    padding-left: var(--search-input-btn-width);
}

.search-input__btn {
    background-color: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    line-height: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: var(--search-input-btn-width);
}
.search-input__btn:active .se1-icon {
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
}
.search-input__btn .se1-icon {
    display: block;
    --se1-size: var(--search-input-icon-size);
    margin-left: auto;
    margin-right: auto;
    color: hsl(var(--se1-color-contrast-low-hsl));
    /* icon color */
    transition: 0.2s;
}
.search-input--icon-left .search-input__btn {
    left: 0;
    right: auto;
    pointer-events: none;
}

.search-input__btn:focus .se1-icon,
.search-input .search-input__input:focus + .search-input__btn .se1-icon {
    color: hsl(var(--se1-color-primary-hsl));
    /* active icon color */
}

/* --shortcut */
.search-input__shortcut {
    position: absolute;
    right: var(--search-input-shortcut-margin);
    top: var(--search-input-shortcut-margin);
    height: calc(100% - var(--search-input-shortcut-margin)*2);
    display: flex;
    align-items: center;
    background-color: hsl(var(--se1-color-bg-hsl));
    border: 1px solid hsl(var(--se1-color-contrast-lower-hsl));
    border-radius: 0.125em;
    --space-unit: 1em;
    padding: 0 var(--se1-space-3xs);
    line-height: 1;
    color: hsl(var(--se1-color-contrast-medium-hsl));
}

.search-input:focus-within .search-input__shortcut {
    display: none;
}

/* --------------------------------

File#: _1_circle-loader
Title: Circle Loader
Descr: A collection of animated circle loaders
Usage: codyhouse.co/license

-------------------------------- */
/* variables */
:root {
    /* colors */
    --cp9-color-primary-hsl: 250, 84%, 54%;
    --cp9-color-bg-hsl: 0, 0%, 100%;
    --cp9-color-contrast-high-hsl: 230, 7%, 23%;
    --cp9-color-contrast-higher-hsl: 230, 13%, 9%;
    --cp9-color-contrast-lower-hsl: 240, 4%, 85%;
    --cp9-color-contrast-low-hsl: 240, 4%, 65%;
}

/* component */
:root {
    --circle-loader-v1-size: 48px;
    --circle-loader-v1-stroke-width: 4px;
    --circle-loader-v2-size: 64px;
    --circle-loader-v2-stroke-width: 2;
    --circle-loader-v3-size: 64px;
    --circle-loader-v4-size: 48px;
    --circle-loader-v5-size: 64px;
    --circle-loader-v6-size: 48px;
}

.circle-loader {
    position: relative;
    display: inline-block;
}

@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .circle-loader__label {
        position: absolute;
        clip: rect(1px, 1px, 1px, 1px);
        -webkit-clip-path: inset(50%);
        clip-path: inset(50%);
    }
}
@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .circle-loader--v1 {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        will-change: transform;
        -webkit-animation: circle-loader-1 0.75s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
        animation: circle-loader-1 0.75s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    .circle-loader--v1 .circle-loader__circle {
        width: var(--circle-loader-v1-size);
        height: var(--circle-loader-v1-size);
        border-width: var(--circle-loader-v1-stroke-width);
        border-style: solid;
        border-color: hsla(var(--cp9-color-primary-hsl), 0.2);
        border-radius: 50%;
    }
    .circle-loader--v1 .circle-loader__circle::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-width: inherit;
        border-style: inherit;
        border-color: transparent;
        border-top-color: hsl(var(--cp9-color-primary-hsl));
        border-radius: inherit;
    }
}
@-webkit-keyframes circle-loader-1 {
    0% {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    100% {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg);
    }
}
@keyframes circle-loader-1 {
    0% {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    100% {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg);
    }
}
@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .circle-loader--v2 {
        will-change: transform;
        -webkit-animation: circle-loader-spinning-main 1.4s infinite linear;
        animation: circle-loader-spinning-main 1.4s infinite linear;
    }
    .circle-loader--v2 .circle-loader__svg {
        display: block;
        width: var(--circle-loader-v2-size);
        height: var(--circle-loader-v2-size);
        color: hsl(var(--cp9-color-primary-hsl));
    }
    .circle-loader--v2 .circle-loader__svg > * {
        stroke-width: var(--circle-loader-v2-stroke-width);
    }
    .circle-loader--v2 .circle-loader__base {
        opacity: 0.2;
    }
    .circle-loader--v2 .circle-loader__fill {
        stroke-linecap: round;
        stroke-dashoffset: 0;
        stroke-dasharray: 90 120;
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-animation: circle-loader-dash 1.4s infinite;
        animation: circle-loader-dash 1.4s infinite;
    }
}
@-webkit-keyframes circle-loader-dash {
    0%, 20% {
        stroke-dashoffset: 0;
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    50%, 70% {
        stroke-dashoffset: 80;
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
    100% {
        stroke-dashoffset: 0;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes circle-loader-dash {
    0%, 20% {
        stroke-dashoffset: 0;
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    50%, 70% {
        stroke-dashoffset: 80;
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
    100% {
        stroke-dashoffset: 0;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-webkit-keyframes circle-loader-spinning-main {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes circle-loader-spinning-main {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .circle-loader--v3 {
        width: var(--circle-loader-v3-size);
        height: var(--circle-loader-v3-size);
    }
    .circle-loader--v3 .circle-loader__circle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: hsl(var(--cp9-color-primary-hsl));
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0.8;
        will-change: transform, opacity;
        -webkit-animation: circle-loader-3 1.2s infinite;
        animation: circle-loader-3 1.2s infinite;
    }
    .circle-loader--v3 .circle-loader__circle--2nd {
        -webkit-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }
}
@-webkit-keyframes circle-loader-3 {
    to {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}
@keyframes circle-loader-3 {
    to {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}
@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .circle-loader--v4 {
        width: var(--circle-loader-v4-size);
        height: var(--circle-loader-v4-size);
        border-radius: 50%;
        overflow: hidden;
    }
    .circle-loader--v4 .circle-loader__mask,
    .circle-loader--v4 .circle-loader__circle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: inherit;
    }
    .circle-loader--v4 .circle-loader__mask {
        -webkit-clip-path: circle(calc(0.5* var(--circle-loader-v4-size)));
        clip-path: circle(calc(0.5* var(--circle-loader-v4-size)));
    }
    .circle-loader--v4 .circle-loader__circle--1st {
        background-color: hsl(var(--cp9-color-contrast-low-hsl));
    }
    .circle-loader--v4 .circle-loader__circle--2nd {
        background-color: hsl(var(--cp9-color-primary-hsl));
        will-change: transform;
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-animation: circle-loader-4 1.2s infinite cubic-bezier(0.23, 0.9, 0.75, 0.1);
        animation: circle-loader-4 1.2s infinite cubic-bezier(0.23, 0.9, 0.75, 0.1);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}
@-webkit-keyframes circle-loader-4 {
    to {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}
@keyframes circle-loader-4 {
    to {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}
@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .circle-loader--v5 {
        font-size: var(--circle-loader-v5-size);
        width: 1em;
        height: 1em;
    }
    .circle-loader--v5 .circle-loader__label {
        font-size: 1rem;
    }
    .circle-loader--v5 .circle-loader__ball {
        position: absolute;
        top: 0;
        left: calc(50% - 0.140625em);
        width: 0.28125em;
        height: 0.28125em;
        background-color: hsl(var(--cp9-color-primary-hsl));
        border-radius: 50%;
        -webkit-animation: circle-loader-5-ball 0.8s infinite;
        animation: circle-loader-5-ball 0.8s infinite;
    }
    .circle-loader--v5 .circle-loader__shadow {
        position: absolute;
        bottom: 0;
        left: calc(50% - 0.15625em);
        width: 0.3125em;
        height: 0.3125em;
        background-color: hsl(var(--cp9-color-contrast-lower-hsl));
        border-radius: 50%;
        -webkit-transform: scaleY(0.4) scaleX(1.2);
        transform: scaleY(0.4) scaleX(1.2);
        -webkit-animation: circle-loader-5-shadow 0.8s infinite;
        animation: circle-loader-5-shadow 0.8s infinite;
    }
}
@-webkit-keyframes circle-loader-5-ball {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
        animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
    }
    50% {
        -webkit-transform: translateY(0.5625em);
        transform: translateY(0.5625em);
        -webkit-animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
        animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes circle-loader-5-ball {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
        animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
    }
    50% {
        -webkit-transform: translateY(0.5625em);
        transform: translateY(0.5625em);
        -webkit-animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
        animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@-webkit-keyframes circle-loader-5-shadow {
    0% {
        -webkit-transform: scaleY(0.4) scaleX(1.2);
        transform: scaleY(0.4) scaleX(1.2);
        background-color: hsl(var(--cp9-color-contrast-lower-hsl));
        -webkit-animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
        animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
    }
    50% {
        -webkit-transform: scaleY(0.2) scaleX(0.6);
        transform: scaleY(0.2) scaleX(0.6);
        background-color: hsl(var(--cp9-color-contrast-low-hsl));
        -webkit-animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
        animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
    }
    100% {
        -webkit-transform: scaleY(0.4) scaleX(1.2);
        transform: scaleY(0.4) scaleX(1.2);
        background-color: hsl(var(--cp9-color-contrast-lower-hsl));
    }
}
@keyframes circle-loader-5-shadow {
    0% {
        -webkit-transform: scaleY(0.4) scaleX(1.2);
        transform: scaleY(0.4) scaleX(1.2);
        background-color: hsl(var(--cp9-color-contrast-lower-hsl));
        -webkit-animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
        animation-timing-function: cubic-bezier(0.61, 0.12, 0.85, 0.4);
    }
    50% {
        -webkit-transform: scaleY(0.2) scaleX(0.6);
        transform: scaleY(0.2) scaleX(0.6);
        background-color: hsl(var(--cp9-color-contrast-low-hsl));
        -webkit-animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
        animation-timing-function: cubic-bezier(0.12, 0.59, 0.46, 0.95);
    }
    100% {
        -webkit-transform: scaleY(0.4) scaleX(1.2);
        transform: scaleY(0.4) scaleX(1.2);
        background-color: hsl(var(--cp9-color-contrast-lower-hsl));
    }
}
@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .circle-loader--v6 .circle-loader__svg {
        display: block;
        width: var(--circle-loader-v6-size);
        height: var(--circle-loader-v6-size);
        color: hsl(var(--cp9-color-primary-hsl));
    }
    .circle-loader--v6 .circle-loader__fill {
        stroke-width: 8px;
        stroke-dashoffset: 35;
        stroke-dasharray: 36 36;
        -webkit-animation: circle-loader-6 1.5s infinite;
        animation: circle-loader-6 1.5s infinite;
    }
}
@-webkit-keyframes circle-loader-6 {
    0%, 100% {
        stroke-dashoffset: 35;
    }
    50% {
        stroke-dashoffset: -35;
    }
}
@keyframes circle-loader-6 {
    0%, 100% {
        stroke-dashoffset: 35;
    }
    50% {
        stroke-dashoffset: -35;
    }
}

/* --------------------------------

File#: _3_advanced-search
Title: Advanced Search
Descr: A modal window containing a search input with filtering options
Usage: codyhouse.co/license

/* variables */
:root {
  /* colors */
  --an8-color-primary-hsl: 250, 84%, 54%;
  --an8-color-bg-hsl: 0, 0%, 100%;
  --an8-color-contrast-high-hsl: 230, 7%, 23%;
  --an8-color-contrast-higher-hsl: 230, 13%, 9%;
  --an8-color-warning-dark-hsl: 35, 79%, 56%;
  --an8-color-contrast-medium-hsl: 225, 4%, 47%;
  --an8-color-bg-light-hsl: 0, 0%, 100%;
  --an8-color-bg-lighter-hsl: 0, 0%, 100%;
  --an8-color-bg-dark-hsl: 240, 4%, 95%;
  --an8-color-white-hsl: 0, 0%, 100%;
  --an8-color-primary-darker-hsl: 250, 84%, 38%;
  --an8-color-primary-light-hsl: 250, 84%, 60%;
  --an8-color-contrast-lower-hsl: 240, 4%, 85%;
  --an8-color-contrast-low-hsl: 240, 4%, 65%;
  --an8-color-accent-hsl: 342, 89%, 48%;

    --color-white-hsl: 0,0%,100%;
    --color-black-hsl: 230,13%,9%;
    --inner-glow: inset 0 0 0.5px 1px hsla(var(--color-white-hsl),0.075);
    --shadow-sm: 0 0.3px 0.4px hsla(var(--color-black-hsl),0.02),0 0.9px 1.5px hsla(var(--color-black-hsl),0.045),0 3.5px 6px hsla(var(--color-black-hsl),0.09);


    /* spacing */
  --an8-space-3xs: 0.25rem;
  --an8-space-2xs: 0.375rem;
  --an8-space-xs: 0.5rem;
  --an8-space-sm: 0.75rem;
  --an8-space-md: 1.25rem;
  --an8-space-lg: 2rem;

  /* typography */
  --an8-text-md: 1.2rem;
  --an8-text-base: 1rem;
  --an8-text-sm: 0.833rem;
  --an8-text-xs: 0.694rem;
  --an8-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --an8-space-3xs: 0.375rem;
    --an8-space-2xs: 0.5625rem;
    --an8-space-xs: 0.75rem;
    --an8-space-sm: 1.125rem;
    --an8-space-md: 2rem;
    --an8-space-lg: 3.125rem;

    /* typography */
    --an8-text-md: 1.5625rem;
    --an8-text-base: 1.25rem;
    --an8-text-sm: 1rem;
    --an8-text-xs: 0.8rem;
    --an8-text-sm: 1rem;
  }
}


/* form elements */
.an8-form-control {
  font-size: 1em;
  padding: var(--an8-space-2xs) var(--an8-space-xs);
  background: hsl(var(--an8-color-bg-dark-hsl));
  line-height: 1.2;
  box-shadow: inset 0px 0px 0px 1px hsl(var(--an8-color-contrast-lower-hsl));
  transition: all 0.2s ease;
  border-radius: 0.25em;
}

.an8-form-control::placeholder {
  opacity: 1;
  color: hsl(var(--an8-color-contrast-low-hsl));
}

.an8-form-control:focus, .an8-form-control:focus-within {
  background: hsl(var(--an8-color-bg-hsl));
  outline: none;
    box-shadow: inset 0px 0px 0px 1px #000;
}

/* icons */
.an8-icon {
  height: var(--an8-size, 1em);
  width: var(--an8-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.an8-icon--xs {
  --an8-size: 16px;
}

.an8-icon--lg {
  --an8-size: 48px;
}

/* component */
.adv-search {
  /* search input component */
  --search-input-btn-width: 46px;
  --search-input-icon-size: 20px;
}

.adv-search__close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.adv-search__close-btn:hover {
  background-color: #cca9b6;
}
.adv-search__close-btn svg {
  display: block;
  height: 20px;
  width: 20px;
}

.adv-search__category-icon {
  height: 40px;
  width: 40px;
}

.adv-search__result-v1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: hsl(var(--an8-color-bg-light-hsl));
  border-radius: 0.25em;
  padding: var(--an8-space-2xs);
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12);
  color: hsl(var(--an8-color-contrast-higher-hsl));
  text-decoration: none;
  transition: 0.2s;
}
.adv-search__result-v1:hover {
  background-color: hsl(var(--an8-color-bg-lighter-hsl));
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.adv-search__result-v1:focus {
    box-shadow: var(--inner-glow), var(--shadow-sm), 0 0 0 3px #7259E7;
}

.adv-search__result-v2 {
  display: block;
  overflow: hidden;
  height: 100%;
  background-color: hsl(var(--an8-color-bg-light-hsl));
  border-radius: 0.25em;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12);
  color: hsl(var(--an8-color-contrast-higher-hsl));
  text-decoration: none;
  transition: 0.2s;
}
.adv-search__result-v2 footer p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.adv-search__result-v2:hover {
  background-color: hsl(var(--an8-color-bg-lighter-hsl));
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.adv-search__item--is-hidden {
  display: none;
}

/* utility classes */
.an8-color-contrast-medium {
  color: #fff;
    font-size: 15px;
}

.an8-text-sm {
    font-size: var(--an8-text-sm);
    color: #ccc;
}

.an8-text-base {
  font-size: var(--an8-text-base);
    color: #fff;
}

.an8-text-component :where(h1, h2, h3, h4) {
  line-height: var(--an8-heading-line-height, 1.2);
  margin-top: calc(var(--an8-space-md) * var(--an8-space-multiplier, 1));
  margin-bottom: calc(var(--an8-space-sm) * var(--an8-space-multiplier, 1));
}

.an8-text-component :where(p, blockquote, ul li, ol li) {
  line-height: var(--an8-body-line-height, 1.4);
}

.an8-text-component :where(ul, ol, p, blockquote, .an8-text-component__block) {
  margin-bottom: calc(var(--an8-space-sm) * var(--an8-space-multiplier, 1));
}

.an8-text-component :where(ul, ol) {
  padding-left: 1.25em;
}

.an8-text-component ul :where(ul, ol), .an8-text-component ol :where(ul, ol) {
  padding-left: 1em;
  margin-bottom: 0;
}

.an8-text-component ul {
  list-style-type: disc;
}

.an8-text-component ol {
  list-style-type: decimal;
}

.an8-text-component img {
  display: block;
  margin: 0 auto;
}

.an8-text-component figcaption {
  margin-top: calc(var(--an8-space-xs) * var(--an8-space-multiplier, 1));
  font-size: var(--an8-text-sm);
  text-align: center;}

.an8-text-component em {
  font-style: italic;
}

.an8-text-component strong {
  font-weight: bold;
}

.an8-text-component s {
  text-decoration: line-through;
}

.an8-text-component u {
  text-decoration: underline;
}

.an8-text-component mark {
  background-color: hsla(var(--an8-color-accent-hsl), 0.2);
  color: inherit;
}

.an8-text-component blockquote {
  padding-left: 1em;
  border-left: 4px solid hsl(var(--an8-color-contrast-lower-hsl));
  font-style: italic;
}

.an8-text-component hr {
  margin: calc(var(--an8-space-md) * var(--an8-space-multiplier, 1)) auto;
  background: hsl(var(--an8-color-contrast-lower-hsl));
  height: 1px;
}

.an8-text-component > *:first-child {
  margin-top: 0;
}

.an8-text-component > *:last-child {
  margin-bottom: 0;
}

.an8-text-component.an8-line-height-xs {
  --an8-heading-line-height: 1;
  --an8-body-line-height: 1.1;
}

.an8-text-component.an8-line-height-sm {
  --an8-heading-line-height: 1.1;
  --an8-body-line-height: 1.2;
}

.an8-text-component.an8-line-height-md {
  --an8-heading-line-height: 1.15;
  --an8-body-line-height: 1.4;
}

.an8-text-component.an8-line-height-lg {
  --an8-heading-line-height: 1.22;
  --an8-body-line-height: 1.58;
}

.an8-text-component.an8-line-height-xl {
  --an8-heading-line-height: 1.3;
  --an8-body-line-height: 1.72;
}

.an8-margin-right-3xs {
  margin-right: var(--an8-space-3xs);
}

.an8-margin-right-xs {
  margin-right: var(--an8-space-xs);
}

.an8-color-primary {
  --an8-color-o: 1;
  color: #e6dc49;
}

.an8-items-center {
  align-items: center;
}

.an8-flex {
  display: flex;
}

.an8-gap-2xs {
  gap: var(--an8-space-2xs);
}

.an8-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.an8-grid > * {
  min-width: 0;
  grid-column-end: span 12;
}

.an8-margin-bottom-sm {
  margin-bottom: var(--an8-space-sm);
}

.an8-margin-bottom-3xs {
  margin-bottom: var(--an8-space-3xs);
}

.an8-text-xs {
  font-size: var(--an8-text-xs);
}

.an8-line-height-md {
  line-height: 1.4;
}

.an8-padding-xs {
  padding: var(--an8-space-xs);
}

.an8-width-100\% {
  width: 100%;
}

.an8-block {
  display: block;
}

:where(.an8-media-wrapper-16\:9) {
  position: relative;
  height: 0;
}

.an8-media-wrapper-16\:9 {
  padding-bottom: 56.25%;
}

.an8-media-wrapper-16\:9 > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.an8-media-wrapper-16\:9 > *:not(iframe) {
  object-fit: cover;
}

.an8-gap-sm {
  gap: var(--an8-space-sm);
}

.an8-color-warning-dark {
  --an8-color-o: 1;
  color: hsla(var(--an8-color-warning-dark-hsl), var(--an8-color-o, 1));
}

.an8-gap-md {
  gap: var(--an8-space-md);
}

.an8-padding-y-sm {
  padding-top: var(--an8-space-sm);
  padding-bottom: var(--an8-space-sm);
}

.an8-height-100\% {
  height: 100%;
}

.an8-padding-right-sm {
  padding-right: var(--an8-space-sm);
}

.an8-right-0 {
  right: 0;
}

.an8-top-0 {
  top: 0;
}

.an8-position-absolute {
  position: absolute;
}

.an8-position-relative {
  position: relative;
}

.an8-margin-bottom-md {
  margin-bottom: 0;
}

.an8-gap-xs {
  gap: var(--an8-space-xs);
}

.an8-flex-wrap {
  flex-wrap: wrap;
}

.an8-margin-bottom-xs {
  margin-bottom: var(--an8-space-xs);
}

.an8-max-width-sm {
  max-width: 88rem;
}

.an8-container {
  width: calc(100% - 2*var(--an8-space-md));
  margin-left: auto;
  margin-right: auto;
}

.an8-text-md {
  font-size: var(--an8-text-md);
}

.an8-justify-between {
  justify-content: space-between;
}

.an8-margin-top-lg {
  margin-top: var(--an8-space-lg);
}

.an8-padding-y-2xs {
  padding-top: var(--an8-space-2xs);
  padding-bottom: var(--an8-space-2xs);
}

.an8-z-index-3 {
  z-index: 3;
}

.an8-position-sticky {
  position: sticky;
}

.an8-backdrop-blur-10 {
  backdrop-filter: blur(10px);
}

.an8-bg {
  --an8-bg-o: 0.7;
  background-color: hsla(0, 0%, 4%, var(--an8-bg-o, 1));
    backdrop-filter: blur(5px);
}

.an8-overflow-auto {
  overflow: auto;
}

.an8-pointer-events-auto {
  pointer-events: auto;
}

.an8-max-height-100\% {
  max-height: 100%;
}

.an8-flex-center {
  justify-content: center;
  align-items: center;
}

.an8-bg-opacity-90\% {
  --an8-bg-o: 0.9;
}

@media(min-width: 48rem){
  .an8-col-6\@sm {
    grid-column-end: span 6;
  }
}

@media(min-width: 64rem){
  .an8-text-md\@md {
    font-size: var(--an8-text-md);
  }

  .an8-col-4\@md {
    grid-column-end: span 4;
  }
}
.adv-search .search-input__input {
    height: 46px;
    color: #000;
    margin-top: 5px;
}
.an8-img{
    width: 70px;
    text-align: center;
    padding-right: 15px;
}
.js-autocomplete__item .icon{
    max-height: 40px;
    max-width: 70px;
}
.js-autocomplete__item{
    position: relative;
}
.js-autocomplete__item.rs-1 .adv-search__result-v1{
    background-color: #fff9e1;
}
.rS{
    position: absolute;
    right: 40px;
    top: 11px;
    background: #999;
    border-radius: 4px;
    padding: 5px;
    color: #fff;
}
@supports ((-webkit-animation-name: this) or (animation-name: this)) {
    .search-input .circle-loader--v1 .circle-loader__circle {
        width: 25px;
        height: 25px;
    }
}

.typeahead__container {
  /**
     * Restore the font weight unset by the previous rule.
     */
  /**
     * Show the overflow in IE.
     * 1. Show the overflow in Edge.
     */
  /**
     * Remove the inheritance of text transform in Edge, Firefox, and IE.
     * 1. Remove the inheritance of text transform in Firefox.
     */
  /**
     * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
     *    controls in Android 4.
     * 2. Correct the inability to style clickable types in iOS and Safari.
     */
  /**
     * Remove the inner border and padding in Firefox.
     */
  /**
     * Restore the focus styles unset by the previous rule.
     */
  /**
     * Change the border, margin, and padding in all browsers (opinionated).
     */
  /**
     * 1. Correct the text wrapping in Edge and IE.
     * 2. Correct the color inheritance from `fieldset` elements in IE.
     * 3. Remove the padding so developers are not caught out when they zero out
     *    `fieldset` elements in all browsers.
     */
  /**
     * Remove the default vertical scrollbar in IE.
     */
  /**
     * 1. Add the correct box sizing in IE 10-.
     * 2. Remove the padding in IE 10-.
     */
  /**
     * Correct the cursor style of increment and decrement buttons in Chrome.
     */
  /**
     * 1. Correct the odd appearance in Chrome and Safari.
     * 2. Correct the outline style in Safari.
     */
  /**
     * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
     */
  /**
     * Correct the text style of placeholders in Chrome, Edge, and Safari.
     */
  /**
     * 1. Correct the inability to style clickable types in iOS and Safari.
     * 2. Change font properties to `inherit` in Safari.
     */
}

.typeahead__container button,
.typeahead__container input,
.typeahead__container optgroup,
.typeahead__container select,
.typeahead__container textarea {
  font: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
}

.typeahead__container optgroup {
  font-weight: bold;
}

.typeahead__container button,
.typeahead__container input {
  /* 1 */
  overflow: visible;
}

.typeahead__container button,
.typeahead__container select {
  /* 1 */
  text-transform: none;
}

.typeahead__container button,
.typeahead__container html [type="button"],
.typeahead__container [type="reset"],
.typeahead__container [type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

.typeahead__container button::-moz-focus-inner,
.typeahead__container [type="button"]::-moz-focus-inner,
.typeahead__container [type="reset"]::-moz-focus-inner,
.typeahead__container [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

.typeahead__container button:-moz-focusring,
.typeahead__container [type="button"]:-moz-focusring,
.typeahead__container [type="reset"]:-moz-focusring,
.typeahead__container [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

.typeahead__container fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

.typeahead__container legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

.typeahead__container textarea {
  overflow: auto;
}

.typeahead__container [type="checkbox"],
.typeahead__container [type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

.typeahead__container [type="number"]::-webkit-inner-spin-button,
.typeahead__container [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

.typeahead__container [type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

.typeahead__container [type="search"]::-webkit-search-cancel-button,
.typeahead__container [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.typeahead__container ::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

.typeahead__container ::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

.typeahead__container {
  position: relative;
}

.typeahead__container * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: 0;
}

.typeahead__query {
  position: relative;
  z-index: 2;
  width: 100%;
}

.typeahead__filter {
  position: relative;
}

.typeahead__filter button {
  min-width: 100%;
  white-space: nowrap;
}

.typeahead__filter button:after {
  display: inline-block;
  margin-left: 4px;
  width: 0;
  height: 0;
  vertical-align: -2px;
  content: "";
  border: 4px solid;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.typeahead__field {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: 100%;
}

.typeahead__button button {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.typeahead__field {
  color: #555;
}

.typeahead__field input,
.typeahead__field textarea,
.typeahead__field [contenteditable],
.typeahead__field .typeahead__hint {
  display: block;
  width: 100%;
  line-height: 1.25;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #bec8ce;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.typeahead__field input:focus, .typeahead__field input:active,
.typeahead__field textarea:focus,
.typeahead__field textarea:active,
.typeahead__field [contenteditable]:focus,
.typeahead__field [contenteditable]:active,
.typeahead__field .typeahead__hint:focus,
.typeahead__field .typeahead__hint:active {
  border-color: #66afe9;
}

.typeahead__field input[type="search"],
.typeahead__field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.typeahead__field input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.typeahead__container.hint .typeahead__field input,
.typeahead__container.hint .typeahead__field textarea,
.typeahead__container.hint .typeahead__field [contenteditable] {
  background: transparent;
}

.typeahead__container.hint .typeahead__query > :last-child, .typeahead__hint {
  background: #fff;
}

.typeahead__container button {
  display: inline-block;
  margin-bottom: 0;
  text-align: center;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc;
  line-height: 1.25;
  padding: 0.5rem 0.75rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #555;
}

.typeahead__container button:hover, .typeahead__container button:focus {
  color: #3c3c3c;
  background-color: #f5f5f5;
  border-color: #b3b3b3;
}

.typeahead__container button:active, .typeahead__container button.active {
  background-image: none;
}

.typeahead__container button:focus, .typeahead__container button:active {
  border-color: #66afe9;
}

.typeahead__container input.disabled,
.typeahead__container input[disabled],
.typeahead__container button.disabled,
.typeahead__container button[disabled] {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #fff;
  border-color: #ccc;
}

.typeahead__container .typeahead__field input,
.typeahead__container .typeahead__field textarea,
.typeahead__container .typeahead__field [contenteditable],
.typeahead__container .typeahead__field .typeahead__hint,
.typeahead__container .typeahead__field .typeahead__label-container {
  padding-right: 32px;
}

.typeahead__filter, .typeahead__button {
  z-index: 1;
}

.typeahead__filter button, .typeahead__button button {
  margin-left: -1px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.typeahead__filter:hover, .typeahead__filter:active, .typeahead__filter:focus, .typeahead__button:hover, .typeahead__button:active, .typeahead__button:focus {
  z-index: 1001;
}

.typeahead__filter:hover button:focus, .typeahead__filter:hover button:active, .typeahead__filter:active button:focus, .typeahead__filter:active button:active, .typeahead__filter:focus button:focus, .typeahead__filter:focus button:active, .typeahead__button:hover button:focus, .typeahead__button:hover button:active, .typeahead__button:active button:focus, .typeahead__button:active button:active, .typeahead__button:focus button:focus, .typeahead__button:focus button:active {
  z-index: 1001;
}

.typeahead__filter + .typeahead__button button {
  margin-left: -2px;
}

.typeahead__container.filter .typeahead__filter {
  z-index: 1001;
}

.typeahead__list, .typeahead__dropdown {
  position: absolute;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-width: 160px;
  padding: 0px 0;
  margin: 2px 0 0;
  list-style: none;
  text-align: left;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  background-clip: padding-box;
}

.typeahead__result.detached .typeahead__list {
  position: relative;
  z-index: 1041;
  top: initial;
  left: initial;
}

.typeahead__dropdown {
  right: 0;
  left: initial;
  z-index: 1001;
}

.typeahead__list > li {
  position: relative;
  border-top: solid 1px #ccc;
}

.typeahead__list > li:first-child {
  border-top: none;
}

.typeahead__list > li[disabled] > a,
.typeahead__dropdown > li[disabled] > a {
  cursor: not-allowed;
  color: #bababa;
  background-color: #fafafa;
}

.typeahead__list > li > a,
.typeahead__dropdown > li > a {
  display: block;
  padding: 0.5rem 0.75rem;
  clear: both;
  color: #333;
  text-decoration: none;
}

.typeahead__list > li:not([disabled]) > a:hover,
.typeahead__list > li:not([disabled]) > a:focus,
.typeahead__list > li:not([disabled]).active > a,
.typeahead__dropdown > li:not([disabled]) > a:hover,
.typeahead__dropdown > li:not([disabled]) > a:focus,
.typeahead__dropdown > li:not([disabled]).active > a {
  background-color: #f5f5f5;
  color: #3c3c3c;
}

.typeahead__list.empty > li {
  padding: 0.5rem 0.75rem;
  color: #333;
}

.typeahead__list > li.typeahead__group {
  border-color: #bfdef6;
  font-weight: bold;
}

.typeahead__list > li.typeahead__group:first-child {
  border-top: solid 1px #bfdef6;
}

.typeahead__list > li.typeahead__group > a,
.typeahead__list > li.typeahead__group > a:hover,
.typeahead__list > li.typeahead__group > a:focus,
.typeahead__list > li.typeahead__group.active > a {
  cursor: default;
  color: #17639f;
  background: #ecf5fc;
}

.typeahead__list > li.typeahead__group + li.typeahead__item {
  border-color: #bfdef6;
}

.typeahead__container.result .typeahead__list,
.typeahead__container.filter .typeahead__dropdown,
.typeahead__container.hint .typeahead__hint,
.typeahead__container.backdrop + .typeahead__backdrop {
  display: block !important;
}

.typeahead__container .typeahead__list,
.typeahead__container .typeahead__dropdown,
.typeahead__container .typeahead__hint,
.typeahead__container + .typeahead__backdrop {
  display: none !important;
}

.typeahead__dropdown li:last-child {
  margin-top: 5px;
  padding-top: 5px;
  border-top: solid 1px #ccc;
}

.typeahead__cancel-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  right: 0;
  cursor: pointer;
  line-height: 1.25;
  padding: 0.5rem 0.75rem;
  visibility: hidden;
}

.typeahead__label .typeahead__cancel-button {
  visibility: visible;
  right: 4px;
}

.typeahead__container.cancel:not(.loading) .typeahead__cancel-button, .typeahead__label .typeahead__cancel-button {
  visibility: visible;
}

.typeahead__container.cancel:not(.loading) .typeahead__cancel-button:hover, .typeahead__label .typeahead__cancel-button:hover {
  color: #d0021b;
}

.typeahead__search-icon {
  padding: 0 1.25rem;
  width: 16px;
  height: 16px;
  background: url(data:image/svg+xml;charset=utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI1MC4zMTMgMjUwLjMxMyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjUwLjMxMyAyNTAuMzEzOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CjxnIGlkPSJTZWFyY2giPgoJPHBhdGggc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkOyIgZD0iTTI0NC4xODYsMjE0LjYwNGwtNTQuMzc5LTU0LjM3OGMtMC4yODktMC4yODktMC42MjgtMC40OTEtMC45My0wLjc2ICAgYzEwLjctMTYuMjMxLDE2Ljk0NS0zNS42NiwxNi45NDUtNTYuNTU0QzIwNS44MjIsNDYuMDc1LDE1OS43NDcsMCwxMDIuOTExLDBTMCw0Ni4wNzUsMCwxMDIuOTExICAgYzAsNTYuODM1LDQ2LjA3NCwxMDIuOTExLDEwMi45MSwxMDIuOTExYzIwLjg5NSwwLDQwLjMyMy02LjI0NSw1Ni41NTQtMTYuOTQ1YzAuMjY5LDAuMzAxLDAuNDcsMC42NCwwLjc1OSwwLjkyOWw1NC4zOCw1NC4zOCAgIGM4LjE2OSw4LjE2OCwyMS40MTMsOC4xNjgsMjkuNTgzLDBDMjUyLjM1NCwyMzYuMDE3LDI1Mi4zNTQsMjIyLjc3MywyNDQuMTg2LDIxNC42MDR6IE0xMDIuOTExLDE3MC4xNDYgICBjLTM3LjEzNCwwLTY3LjIzNi0zMC4xMDItNjcuMjM2LTY3LjIzNWMwLTM3LjEzNCwzMC4xMDMtNjcuMjM2LDY3LjIzNi02Ny4yMzZjMzcuMTMyLDAsNjcuMjM1LDMwLjEwMyw2Ny4yMzUsNjcuMjM2ICAgQzE3MC4xNDYsMTQwLjA0NCwxNDAuMDQzLDE3MC4xNDYsMTAyLjkxMSwxNzAuMTQ2eiIgZmlsbD0iIzU1NTU1NSIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=) no-repeat scroll center center transparent;
}

.typeahead__container.loading .typeahead__query:before, .typeahead__container.loading .typeahead__query:after {
  -webkit-transition: all 0s linear, opacity 0.2s ease;
  -o-transition: all 0s linear, opacity 0.2s ease;
  transition: all 0s linear, opacity 0.2s ease;
  position: absolute;
  z-index: 3;
  content: "";
  top: 50%;
  right: 0.55em;
  margin-top: -0.675rem;
  width: 1.35rem;
  height: 1.35rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 500rem;
  border-style: solid;
  border-width: 0.1em;
  right: 47px;
}

.typeahead__container.loading .typeahead__query:before {
  border-color: rgba(0, 0, 0, 0.35);
}

.typeahead__container.loading .typeahead__query:after {
  -webkit-animation: button-spin 0.6s linear;
  animation: button-spin 0.6s linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  border-color: #fff transparent transparent;
  -webkit-box-shadow: 0 0 0 1px transparent;
  box-shadow: 0 0 0 1px transparent;
}

@-webkit-keyframes button-spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes button-spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.typeahead__label-container {
  list-style: none;
  position: absolute;
  padding-top: calc(1rem * 0.375);
  padding-left: 6px;
  width: 100%;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.typeahead__label {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: calc(1rem * 0.875);
  position: relative;
  background: #ecf5fc;
  border: solid 1px #c2e0ff;
  padding-left: 4px;
  border-radius: 2px;
  margin-right: 4px;
  margin-bottom: calc(1rem * 0.375);
}

.typeahead__label > * {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.typeahead__label .typeahead__cancel-button:hover {
  background-color: #d5e9f9;
}
