/*
Theme Name: Fuel5 Junior
Theme URI: http://fuelmedical.com/
Description: Base child theme for all fuel medical development projects.
Author: Fuel Medical
Author URI: http://fuelmedical.com/
Template: fuel
Version: 5.0.12
Text Domain: fmj
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom Properties
# Fonts
# Normalize
# Fuel Normalize
# Custom Elements
# Forms
## Search Form
# Accessibility
# Header
# Footer
# Map
# Animations

# Print
# IE11 Notice
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@font-face {
  font-family: "Barlow Semi Condensed";
  src: local("Barlow Semi Condensed Regular"),
    local("BarlowSemiCondensed-Regular"),
    url("./fonts/BarlowSemiCondensed-Regular.woff2") format("woff2"),
    url("./fonts/BarlowSemiCondensed-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: local("Barlow Semi Condensed SemiBold"),
    local("BarlowSemiCondensed-SemiBold"),
    url("./fonts/BarlowSemiCondensed-SemiBold.woff2") format("woff2"),
    url("./fonts/BarlowSemiCondensed-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat Regular"), local("Montserrat-Regular"),
    url("./fonts/Montserrat-Regular.woff2") format("woff2"),
    url("./fonts/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat Italic"), local("Montserrat-Italic"),
    url("./fonts/Montserrat-Italic.woff2") format("woff2"),
    url("./fonts/Montserrat-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat Medium"), local("Montserrat-Medium"),
    url("./fonts/Montserrat-Medium.woff2") format("woff2"),
    url("./fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/*--------------------------------------------------------------
# Custom Properties
--------------------------------------------------------------*/
:root {
  /* Structure */
  --contain-padding: clamp(9vw, calc(50vw - 30rem), 18rem);

  /* Design */
  --primary-color: #3e5273;
  --accent-color: #4a4a4a;

  --site-white: #fff;
  --site-black: #000;

  /* Text */
  --title-font: "Barlow Semi Condensed", sans-serif;
  --title-color: var(--primary-color);

  --content-font: "Montserrat", sans-serif;
  --content-color: var(--accent-color);

  --button-color: #912c00;
  --button-pink: #fa3793;
  --alt-blue: #7495b7;
  --site-orange: #f77751;
  --site-light-blue: #edf5ff;

  --toggleColor: var(--primary-color);

  --cta-1: var(--primary-color);
  --cta-2: #f77751;
  --cta-3: var(--alt-blue);

  /* Accessibility */
  --outline-color: #69f;
}

/*--------------------------------------------------------------
# Normalize v8.0.1
--------------------------------------------------------------*/
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Fuel Normalize
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  font-family: sans-serif;
  font-size: 125%;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}
body {
  position: relative;
  min-width: 18rem;
  font-family: var(--content-font);
  font-size: 1em;
  line-height: 1.9;
  color: var(--content-color);
  background: #e5e5e5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em 0;
  font-family: var(--title-font);
  font-weight: 400;
  line-height: 1.3;
  color: var(--title-color);
}

h1 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
}
h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}
h3 {
  font-size: clamp(1.1rem, 4vw, 1.6rem);
}
h4 {
  font-size: clamp(1rem, 4vw, 1.4rem);
}
h5 {
  font-size: clamp(0.9rem, 4vw, 1.2rem);
}
h6 {
  font-size: clamp(0.8rem, 4vw, 1rem);
}

p {
  margin: 0 0 1.2em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
li {
  margin: 0;
}

iframe,
img,
svg,
audio,
canvas,
video,
object,
embed {
  vertical-align: middle;
  max-width: 100%;
}
img,
svg {
  height: auto;
}
img {
  object-fit: cover;
}
img[src*=".jpg"] {
  background: #eee;
}
iframe {
  margin: 0 auto 3rem auto;
}

figure {
  margin: 0;
}
blockquote {
  margin: 0 0 1.6em;
}

table {
  margin: 0 0 1.6em;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
th {
  font-weight: bold;
}

blockquote,
figcaption {
  font-style: italic;
}
blockquote em,
blockquote i,
figcaption em,
figcaption i {
  font-style: normal;
}

small {
  font-size: 0.75em;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
  font-size: 0.75em;
  line-height: 0;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 300ms, background-color 300ms;
}
a[href^="tel:"] {
  white-space: nowrap;
}
a:hover {
  color: var(--primary-color);
}

button {
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--accent-color);
  background: transparent;
  cursor: pointer;
}
button:hover {
  color: var(--primary-color);
}

input {
  margin: 0;
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
}

pre,
code {
  max-width: 100%;
  overflow: auto;
}

/*--------------------------------------------------------------
# Custom Elements
--------------------------------------------------------------*/

#wpadminbar {
  background: #002b49;
}

.site-wrapper {
  margin: auto;
  width: 100%;
  max-width: 96rem;
  background: #fff;
}
.site-wrapper > * {
  width: 100%;
}

.clear {
  clear: both;
}

.contain {
  display: block;
  position: relative;
  margin: auto;
  padding-right: var(--contain-padding);
  padding-left: var(--contain-padding);
  width: 100%;
}

.button,
.entry-content .button,
.wp-block-button__link,
.header-menu a {
  display: inline-block;
  vertical-align: middle;
  border-radius: 0.25em;
  padding: 0.8em 2em;
  font-size: 1.1em;
  font-weight: bold;
  font-family: var(--title-font);
  line-height: normal;
  text-align: center;
  text-decoration: none;
  background: var(--site-white);
  cursor: pointer;
  transition: all 300ms;
  color: var(--button-color);
  border-radius: 0.2em;
  font-weight: 600;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.button::before,
.wp-block-button__link::before,
.header-menu a::before {
  content: "";
  width: 3em;
  aspect-ratio: 1 / 1;
  background: var(--button-pink);
  border-radius: 50%;
  position: absolute;
  top: -1.8em;
  left: -1.8em;
  z-index: -1;
  animation: all 300ms ease-in-out infinite;
  transition: 0.3s ease-in-out;
}

.button:hover,
.button:active,
.wp-block-button__link:hover,
.wp-block-button__link:active,
.header-menu a:hover {
  color: var(--site-white);
  text-decoration: none;
}
.button:hover::before,
.button:active::before,
.wp-block-button__link:hover::before,
.wp-block-button__link:active::before,
.header-menu a:hover::before {
  width: calc(100% + 3em);
  top: -5em;
}

.icon-item {
  display: block;
  position: relative;
  margin: 1em 0;
  padding: 0 0 0 1.8em;
}
.icon-item svg {
  position: absolute;
  top: 0.15em;
  left: 0;
  width: 1.2em;
  height: 1.2em;
}

@media (min-width: 68.5em) {
  .clamp {
    font-size: 1rem;
    font-size: clamp(0.8rem, 1.1vw, 1rem);
  }
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gform_fields {
  margin: 0;
}

.gfield {
  margin: 0 0 0.7rem;
  /* border: 1px solid #999; */
  border-radius: 0.3rem;
  padding: 0.3rem;
  list-style: none;
  overflow: hidden;
  background: var(--site-light-blue);
}

.gfield .medium,
.gfield .large {
  padding: 0.2rem 0.9rem;
  width: 100%;
  color: var(--content-color);
  background: var(--site-light-blue);
  outline: none;
  border: none;
}

.gfield_label {
  display: block;
  padding: 0.1rem 0.4rem 0;
  font-size: 0.7em;
  line-height: normal;
  color: var(--primary-color);
}

.gform_footer {
  position: relative;
  margin-top: 0.7rem;
  display: flex;
  justify-content: center;
}

.gform_button {
  width: fit-content;
  margin: auto;
}

.gform_ajax_spinner {
  position: absolute;
  top: 0;
  right: 0.5rem;
  bottom: 0;
  margin: auto;
  border: 0.2em solid rgba(0, 0, 0, 0.4);
  border-left: 0.2em solid #07b084;
  border-radius: 50%;
  width: 1.2em;
  height: 1.2em;
  animation: spin 1.1s infinite linear;
}

.gform_confirmation_message {
  font-family: inherit;
  font-size: 1.1em;
  font-weight: normal;
}

.gform_submission_error {
  margin: 0 0 1rem;
  font-family: inherit;
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1.5;
  color: #cc2d3f;
}

.validation_message {
  padding: 0 0.4rem;
  font-size: 0.7em;
  color: #cc2d3f;
}

/*--------------------------------------------------------------
## Contact Section
--------------------------------------------------------------*/
.contact-statement {
  max-width: 34em;
  text-align: center;
  padding: 0 var(--contain-padding);
  margin: auto;
  margin-bottom: 2.5em;
  margin-top: 0.8em;
}
.gform_required_legend {
  display: none;
}
.contact-pic {
  display: block;
}
.contact-form {
  padding: 0 0.8em;
  max-width: 25em;
  margin: auto;
}
#contact-section {
  z-index: 1;
  position: relative;
  background-color: var(--site-white);
}
.contact-section .gform_footer {
  width: fit-content;
  margin: auto;
  margin-top: 1.5em;
}

#field_1_6 { 
    background: var(--site-white);
    border: none;
    font-size: 0.7rem;
}

@media (min-width: 68.5em) {
  .contact-section {
    padding-bottom: 5.5em;
  }
  .contact-intro {
    margin-top: -3em;
  }
  .contact-statement {
    padding: 0;
  }
  .contact-form {
    padding: 0;
  }
}



/*--------------------------------------------------------------
## Search Form
--------------------------------------------------------------*/
.search-form {
  display: flex;
}
.search-form label {
  width: 100%;
  background: var(--primary-color);
}
.search-field {
  padding: 0.5em 1em;
  width: 100%;
  line-height: 1.5;
  color: var(--site-white);
  background: var(--primary-color);
  border-top-left-radius: 0.4em;
  border-bottom-left-radius: 0.4em;
  border: 0.05em solid var(--site-white);
}
.search-submit {
  padding: 0.5em 1em;
  line-height: 1.5;
  background: var(--site-white);
  color: var(--primary-color);
  border-top-right-radius: 0.4em;
  border-bottom-right-radius: 0.4em;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
a,
button,
summary,
.gfield {
  outline-style: solid;
  outline-color: transparent;
  outline-offset: 0;
  outline-width: 2px;
}
a {
  outline-offset: 0.5rem;
}
.button {
  outline-offset: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.gfield:focus-within {
  outline-color: var(--outline-color);
}

.skip-to-content {
  display: block;
  position: absolute;
  top: -10000rem;
  left: 1rem;
  z-index: 99999;
  padding: 0.5em 1em;
  background: #eee;
  box-shadow: 1px 1px 0.2em rgba(0, 0, 0, 0.5);
  transition: none;
}
.skip-to-content:focus {
  top: 1rem;
}

.screen-reader-text {
  position: absolute;
  top: auto;
  left: -10000rem;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.js-required {
  padding: 2rem;
  text-align: center;
  color: #000;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.1em;
  background-color: var(--site-white);
  z-index: 1;
}
.header-links {
  display: none;
}
.header-menu,
.header-phone {
  display: none;
}
.header-logo {
  width: 5em;
  display: block;
  margin: auto;
}
@media (min-width: 68.5em) {
  .header {
    display: flex;
    justify-content: space-between;
    padding: 1em 2.5em;
    z-index: unset;
  }
  .header-logo {
    width: 6em;
    margin: unset;
    grid-area: logo;
    justify-self: start;
    z-index: 1000;
    transition: all 0.3s;
  }
  .header-logo:hover {
    transform: scale(1.1);
  }
  .header-menu {
    grid-area: nav;
    display: flex;
    z-index: 1000;
  }
  .header-menu li:nth-child(n + 2) {
    margin-left: 1rem;
  }
  .header-menu svg {
    vertical-align: top;
    margin: 0.15em 0.2em 0 0;
    width: 1.1em;
    height: 1.1em;
  }
  .header-phone {
    grid-area: phone;
    display: block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--primary-color);
  background: var(--site-light-blue);
  position: relative;
  z-index: 1;
}
.footer::before {
  content: "";
  width: clamp(5rem, 27vw, 15em);
  aspect-ratio: 1 / 1;
  background: url("./images/footer-ornament.svg");
  background-size: cover;
  bottom: 3rem;
  left: 0;
  position: absolute;
  z-index: -1;
}
.footer::after {
  content: "";
  width: 100%;
  height: 0.15em;
  background: linear-gradient(
    to right,
    #3e5273 0%,
    #3e5273 33.33%,
    #f77751 33.33%,
    #f77751 66.66%,
    #7495b7 66.66%,
    #7495b7 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.footer h3 {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: auto;
  padding-bottom: 0.8em;
}
.footer h3::after {
  content: "";
  width: 3.3em;
  height: 0.2em;
  background: url("./images/dashes.svg");
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: calc(50% - 1.65em);
  z-index: -1;
}
.footer a {
  color: var(--primary-color);
  overflow: hidden;
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
}
.footer a::before {
  content: "";
  width: 100%;
  height: 100%;
  border-bottom: 0.05em solid var(--primary-color);
  position: absolute;
  top: 0;
  left: -100%;
  z-index: -1;
  transition: transform 300ms;
}
.footer a:hover::before {
  transform: translateX(100%);
}
.footer-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  font-size: 0.9em;
}
.footer-branding {
  display: flex;
  justify-content: center;
  width: 5em;
}
.footer-branding a {
  margin: auto;
  min-width: 5.2rem;
}
.footer-title {
  margin-bottom: 1.2em;
  text-align: center;
  color: inherit;
}
.footer-logo {
  display: block;
}
.footer-social {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}
.footer-social li {
  padding: 0 0.5rem;
}
.footer-locations {
  width: 100%;
}
.footer-locations .footer-title {
  width: 100%;
}
.footer-locations-list a {
  display: inline-block;
  margin: 0.3em 0;
  line-height: normal;
}
.footer-locations-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  width: 100%;
}
.footer-location {
  text-align: center;
}
.footer-loc-title {
  color: inherit;
  text-align: center;
  font-size: 1.1rem;
}
.footer-location .icon-item {
  padding-left: 0;
}
.footer-links {
  display: none;
}
.footer-links a {
  display: inline-block;
  margin: 0.3em 0;
  line-height: normal;
  color: var(--primary-color);
}
.footer-text {
  font-style: italic;
}
.footer-text p {
  max-width: 23em;
  margin: auto;
}
.policy-menu {
  display: flex;
  justify-content: space-between;
  max-width: 14.3rem;
  margin: auto;
}
.policy-menu li {
  position: relative;
  padding: 0 0.5rem;
  z-index: 1;
  overflow: hidden;
}
.policy-nav li a {
  width: 100%;
  display: block;
}
.policy-nav li::before {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  border-right: 0.01em solid var(--content-color);
}
.policy-nav li:last-child::before {
  display: none;
}
.footer p:empty {
  display: none;
}
@media (min-width: 32.5em) {
  .footer-locations-list {
    column-count: 2;
    column-gap: 1.5rem;
  }
}
@media (min-width: 68.5em) {
  .footer::after {
    height: 0.5em;
  }
  .footer::before {
    bottom: 0;
  }
  .footer-blocks {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: 1em;
    padding-top: 4em;
  }
  .footer-logo {
    width: 9em;
  }
  .footer-title {
    text-align: left;
  }
  .footer-branding {
    flex: 0 1 auto;
    width: 9em;
  }
  .footer-branding a {
    margin: unset;
    width: 100%;
  }
  .footer-locations {
    flex: 0 2 auto;
    width: auto;
  }
  .footer-locations-wrapper {
    justify-content: start;
    width: auto;
  }
  .footer-links {
    display: block;
    flex: 0 0 auto;
  }
  .footer-menu {
    margin-top: 1em;
  }
  .footer-location {
    text-align: left;
  }
  .footer h3 {
    margin: unset;
    font-size: 1.3em;
  }
  .footer h3::after {
    left: 0;
  }
  .footer-loc-title {
    text-align: left;
  }
}

/* Copyright section */
.footer-end {
  padding-top: 1.5rem;
  padding-bottom: 5rem;
  text-align: center;
  font-size: 0.8em;
  line-height: 1.5;
}
.copyright {
  margin-bottom: 1.2rem;
}
@media (min-width: 44em) {
  .policy-nav {
    max-width: 100%;
  }
  .policy-nav ul {
    display: flex;
    justify-content: center;
  }
  .policy-nav li {
    padding: 0 0.5rem;
    position: relative;
    /* white-space: nowrap; */
  }
}
@media (min-width: 68.5em) {
  .footer-end {
    display: grid;
    grid-template-areas: "copyright nav";
    justify-items: start;
    padding-top: 0;
    padding-bottom: 2rem;
    margin-top: 2.5rem;
  }
  .copyright {
    grid-area: copyright;
    margin: 0;
  }
  .policy-nav {
    grid-area: nav;
    justify-self: end;
  }
  .copyright br {
    display: none;
  }
}

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/
.fm-map {
  position: relative;
  width: 100%;
  height: 30rem;
  max-height: calc(90vh - 3.2rem);
  background: #e5e5e5;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
/*Pop animation*/
@media (prefers-reduced-motion: no-preference) {
  #welcome .js-intersect.wp-block-media-text__media .media-decor > * {
    opacity: 0;
  }

  #welcome
    .js-intersected.js-intersect.wp-block-media-text__media
    .media-decor
    > * {
    --delay: calc(var(--i, 0) * 100ms);
    animation: popAnimation 400ms ease calc(600ms + var(--delay)) forwards;
  }

  .arrow-wrap.js-intersect > * {
    opacity: 0;
  }
  .arrow-wrap.js-intersect.js-intersected > * {
    --delay: calc(var(--i, 0) * 250ms);
    animation: fadeRight 250ms ease var(--delay) forwards;
  }
}

@keyframes popAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.js-intersect.fadeup {
  animation-name: fadeup;
  animation-duration: 800ms;
  animation-fill-mode: both;
  animation-delay: 0ms;
  animation-play-state: paused;
}
.js-intersect.fade {
  animation-name: fade;
  animation-duration: 400ms;
  animation-fill-mode: both;
  animation-delay: 1750ms;
  animation-play-state: paused;
}

.js-intersect.hover-wrap.fadeup:nth-of-type(2) {
  animation-delay: 400ms;
}
.js-intersect.hover-wrap.fadeup:nth-of-type(3) {
  animation-delay: 800ms;
}
.js-intersect.fadeLeft {
  animation-name: fadeLeft;
  animation-duration: 800ms;
  animation-fill-mode: both;
  animation-delay: 0ms;
  animation-play-state: paused;
}
.js-intersect.fadeRight {
  animation-name: fadeRight;
  animation-duration: 800ms;
  animation-fill-mode: both;
  animation-delay: 0ms;
  animation-play-state: paused;
}
.js-intersect.fadeLeft::after {
  animation-name: fadeLeftAfter;
  animation-duration: 800ms;
  animation-fill-mode: both;
  animation-delay: 0ms;
  animation-play-state: paused;
}
.js-intersect.fadeRight::after {
  animation-name: fadeRightAfter;
  animation-duration: 800ms;
  animation-fill-mode: both;
  animation-delay: 0ms;
  animation-play-state: paused;
}
.js-intersect.fadeRight,
.js-intersect.fadeRight::after {
  animation-delay: 800ms;
}
.js-intersect.fadeLeft.third,
.js-intersect.fadeLeft.third::after {
  animation-delay: 1600ms;
}
.js-intersect.fadeRight.fourth {
  animation-delay: 2400ms;
}

#welcome .js-intersect.wp-block-media-text__media,
#welcome .js-intersect.wp-block-media-text__media .dash-dot-long,
#welcome .js-intersect.wp-block-media-text__media .dash-dot-long .end-dot {
  animation-name: fadein;
  animation-duration: 800ms;
  animation-fill-mode: both;
  animation-delay: 0ms;
  animation-play-state: paused;
}
#welcome .js-intersect.wp-block-media-text__media .dash-dot-long {
  transform-origin: left;
  animation-duration: 400ms;
}
#welcome
  .has-media-on-the-right
  .js-intersect
  .dash-dot-long.dash-dot-long-right {
  transform-origin: right;
}
#welcome .js-intersect.wp-block-media-text__media .dash-dot-long .end-dot {
  transform-origin: center;
}
#welcome
  .js-intersected.js-intersect.wp-block-media-text__media
  .dash-dot-long {
  animation-delay: 1300ms;
}
#welcome
  .js-intersected.js-intersect.wp-block-media-text__media
  .dash-dot-long
  .end-dot {
  animation-delay: 1600ms;
  animation-duration: 400ms;
}

#welcome .js-intersected.js-intersect.wp-block-media-text__media,
#welcome .js-intersected.js-intersect.wp-block-media-text__media .dash-dot-long,
#welcome .js-intersected.js-intersect.wp-block-media-text__media .end-dot,
#welcome .has-media-on-the-right .js-intersected.js-intersect .dash-dot-long,
.js-intersected.js-intersect.fadeRight,
.js-intersected.js-intersect.fadeLeft,
.js-intersected.js-intersect.fadeLeft::after,
.js-intersected.js-intersect.fadeRight::after,
.js-intersected.js-intersect.fadeup,
.js-intersected.js-intersect.fade {
  animation-play-state: running;
}

@keyframes fadein {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeup {
  0% {
    opacity: 0;
    transform: translateY(3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(1em);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(-1em);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeRightAfter {
  0% {
    opacity: 0;
    transform: translateX(2em);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeLeftAfter {
  0% {
    opacity: 0;
    transform: translateX(-2em);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/*--------------------------------------------------------------
# Print
--------------------------------------------------------------*/
@media print {
  @page {
    margin: 0.5cm;
  }

  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    -webkit-filter: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }

  a,
  a:visited {
    color: #444 !important;
    text-decoration: underline;
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h1,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  .primary-menu,
  .sidebar,
  .header,
  .footer,
  #comments,
  .page-navigation,
  .pagination,
  .wp-prev-next,
  .respond-form {
    display: none !important;
  }

  .contain {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
}

/*--------------------------------------------------------------
# IE11 Notice
--------------------------------------------------------------*/
.ie11-alert {
  display: none;
}
@media all and (-ms-high-contrast: none) {
  .ie11-alert {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    background: #fff;
    color: #000;
  }
  .ie11-content {
    max-width: 45rem;
    max-height: 10rem;
    font-size: 2rem;
    text-align: center;
    margin: 10% auto 0;
  }
  .ie11-alert a {
    color: #4169e1;
  }
}
