@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --clr-white: #222;
  --clr-white: #fff;
  --clr-teal: #529eb5;
  --clr-dark-teal: #004e4f;
  --clr-magenta: #7a3a5c;
  --clr-green: #9fbf67;
  --clr-gray: #555;
  --clr-accent: #ede5bb;

  --fw-normal: 400;
  --fw-bold: 700;
  --fw-black: 900;
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  font-size: 1em;
}

body {
  font-weight: var(--fw-normal);
  font-size: 0.9rem;
  line-height: 1.5;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  color: var(--clr-black);
  accent-color: var(--clr-dark-teal);
}

html,
body {
  background-color: var(--clr-dark-teal);
}

@media only screen and (min-width: 800px) {
  body {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 1120px) {
  body {
    font-size: 1.1rem;
  }
}

a {
  color: inherit;
}
a:hover {
  color: inherit;
}

.clickbox:hover {
  cursor: pointer;
}
.readmore {
  font-size: 80%;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

b,
strong,
th {
  font-weight: var(--fw-bold);
}
em,
i {
  font-style: italic;
}
sup {
  position: relative;
  top: -0.5em;
  font-size: 65%;
  line-height: 0;
  vertical-align: baseline;
}
td,
th {
  text-align: left;
  vertical-align: top;
}
.footnote {
  font-size: 85%;
}

.note {
  background: #ffa;
  color: red;
  padding: 0.4em;
  margin: 1em 0;
}

.page-details {
  display: none;
  background: yellow;
  max-width: 1280px;
  padding: 15px;
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

.img-placeholder {
  background: #aaa;
  color: var(--clr-white);
  text-align: center;
  padding: 30px;
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0;
  font-weight: var(--fw-bold);
  text-wrap: pretty;
  color: var(--clr-dark-teal);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-size: 2em;
  font-size: clamp(1.875rem, 1.4916rem + 1.573vw, 2.75rem);
  line-height: 1;
}

h2 {
  font-size: 1.75em;
  margin: 0 0 0.5em;
}

h3 {
  font-size: 1.5em;
  margin: 0 0 0.5em;
}

h4 {
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.5em;
}

h5 {
  font-size: 1.15em;
}

h6 {
  font-size: 1.15em;
  font-style: italic;
  font-weight: var(--fw-normal);
}

p {
  margin: 0 0 1.5em;
  text-wrap: pretty;
}

ul {
  list-style: disc;
  margin: 0 0 1.5em;
  padding: 0;
}

li ul,
li ol {
  margin-top: 0.5em;
  margin-bottom: 0;
}

li ul li {
  list-style: circle;
}

ol {
  list-style: decimal;
  margin: 0 0 1.5em;
  padding: 0;
}

li {
  padding: 0;
  margin: 0 0 0.5em 1.5em;
  text-wrap: pretty;
}

.intro {
  font-size: 1.125em;
  color: var(--clr-magenta);
}

@media only screen and (min-width: 1120px) {
  .intro {
    font-size: 1.25em;
  }
}

.divider {
  border-top: solid 1px #eee;
  padding-top: 1.5rem;
  margin-block: 3rem;
}

.divider > *:first-child {
  margin-top: 0;
  padding-top: 0;
}

.content-secondary .divider {
  border-color: rgba(255, 255, 255, 0.3);
}

.content > .divider:first-child {
  margin-top: 0;
  padding-top: 0;
  border: none;
}

.inset-box {
  padding: 1.5rem;
  border: solid 4px #f3f3f3;
  margin: 3rem 0;
}

.inset-box > * {
  margin: 0;
}

.inset-box > * + * {
  margin-top: 1.25em;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  vertical-align: middle;
  margin: 0 2px 2px 0;
  white-space: nowrap;
  font-weight: var(--fw-black);
  font-size: 14px;
  line-height: 1.5;
  color: #f48323;
  text-decoration: none;
  border: solid 2px;
  transition: all 0.2s ease;
}

.btn-large {
  font-size: 21px;
  padding: 12px 18px;
}

.btn-white {
  color: var(--clr-white);
  border-color: var(--clr-white);
}

.btn-white:hover,
.clickbox:hover .btn-white {
  color: var(--clr-white);
}

.btn-primary {
  background-color: red;
}
.btn-secondary {
  background-color: blue;
}

/* content layout and styles */

main {
  background-color: #efefef;
  padding-block: min(3rem, 5vw) min(12rem, 20vw);
}

main > * + * {
  margin-top: min(3rem, 5vw);
}

.content {
  width: min(1280px, 90vw);
  margin-inline: auto;
}

.lead-photo {
  padding: 0 0 20px 0;
}

.content-full-width {
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  max-width: none;
}

.content-primary {
  background-color: var(--clr-white);
  padding: min(3rem, 5vw);
  margin-bottom: min(3rem, 5vw);
}

.content-secondary {
  background-color: var(--clr-dark-teal);
  color: var(--clr-white);
  margin: 0 0 20px;
  padding: 20px 0;
}

@media only screen and (min-width: 800px) {
  .content-columns-wrap {
    display: grid;
    gap: min(3rem, 5vw);
    grid-template-columns: 2fr 1fr;
    align-items: flex-start;
  }

  .content-primary {
    margin-bottom: 0;
  }
}

/* header and mainnav */

header {
  border-top: solid 10px var(--clr-dark-teal);
  background-color: var(--clr-white);
}

.header-inset {
  margin-inline: auto;
  width: min(1280px, 90vw);
  padding-block: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo {
  width: min(75vw, 480px);
}

.page-home .home-logo {
  pointer-events: none;
}

.mainnav {
  display: flex;
  justify-content: center;
  gap: 0.5em;
}

.mainnav a {
  text-decoration: none;
  font-weight: var(--fw-bold);
  padding: 0.25em;
  font-size: 0.875em;
  line-height: 1.125;
  color: var(--clr-gray);
}

.mainnav a:hover {
  color: var(--clr-black);
}
.mainnav a.current {
  color: var(--clr-magenta);
}

@media only screen and (min-width: 640px) {
  .mainnav a {
    font-size: 1em;
    padding: 12px;
  }
}

@media only screen and (min-width: 800px) {
  header {
    position: sticky;
    top: 0;
    box-shadow: 0 0 1rem rgb(0 0 0 / 0.05);
    z-index: 999;
  }
  .header-inset {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    padding: 2rem 0;
  }

  .mainnav {
    display: flex;
    border: none;
    padding: 0;
    margin: 0;
    gap: 0.5em 1em;
  }

  .mainnav a {
    font-size: 1rem;
    padding: 0;
    white-space: nowrap;
  }
}

@media only screen and (min-width: 1120px) {
  .mainnav {
    gap: 0.5em 1.5em;
  }
  .mainnav a {
    font-size: 1.25rem;
  }
}

@media only screen and (min-width: 1280px) {
  .header-inset {
    padding: 3rem 0;
  }
}

/* HOME PAGE */

.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.home-intro > * + * {
  margin-top: min(3rem, 5vw);
}

.home-intro video {
  width: 100%;
  border-radius: 8px;
}

h1.hero-title {
  margin-inline: auto;
  width: min(1280px, 90vw);
  text-wrap: balance;
  color: var(--clr-dark-teal);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  text-align: center;
  outline: solid 2px red;
}

@media (min-width: 1280px) {
  .home-hero {
    height: min(50vw, 70vh);
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
  }

  h1.hero-title {
    background-color: rgb(0 0 0 / 0.75);
    color: var(--clr-white);
    margin-inline: auto;
    bottom: 1rem;
    font-size: 1.75rem;
  }

  .home-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
  }
}

.home-intro p {
  text-align: center;
  text-wrap: balance;
  font-size: 1.2em;
  margin: 0;
  font-weight: var(--fw-bold);
  color: var(--clr-dark-teal);
}

.home-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media only screen and (min-width: 960px) {
  .home-services {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.home-services .first {
  background-color: var(--clr-white);
  color: var(--clr-magenta);
  font-size: 1.8em;
  line-height: 1.3;
}

.home-services .first a {
  font-weight: var(--fw-normal);
}

.home-service-area {
  background: var(--clr-gray);
  padding: 0 min(30px, 10vw);
  aspect-ratio: 1;
  text-align: center;
  color: var(--clr-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-service-area .icon img {
  width: 70px;
  opacity: 0.5;
  transition: all 500ms ease;
}

.home-service-area:hover .icon img {
  opacity: 1;
}

.home-service-area .title {
  font-weight: var(--fw-bold);
  font-size: 1.125em;
  line-height: 1.125;
}

.home-service-area a {
  text-decoration: none;
}

.home-service-area .excerpt {
  display: none;
}

@media only screen and (min-width: 720px) {
  .home-intro p {
    font-size: 1.375em;
  }
}

@media only screen and (min-width: 1120px) {
  .home-intro p {
    font-size: 1.625em;
  }

  .home-service-area {
    overflow-y: clip;
  }

  .home-service-area .icon img {
    width: 100px;
  }

  .home-service-area .title {
    font-size: 1.2em;
    line-height: 1.3;
    max-width: 250px;
  }

  .home-service-area .excerpt {
    display: grid;
    grid-template-rows: 0;
    font-size: 0.9em;
    line-height: 1.3;
    opacity: 0;
    translate: 0 1rem;
    transition: all 500ms ease-out;
    margin: 1rem 0 0;
    max-width: 32ch;
  }

  .home-service-area .excerpt p {
    margin: 0;
  }

  .home-service-area:hover .excerpt {
    opacity: 1;
    grid-template-rows: 80px;
    translate: 0;
  }
}

/* SIDEBAR */
.subnav {
  text-align: left;
  margin-bottom: 2em;
}

.subnav a {
  display: block;
  color: var(--clr-white);
  padding: 13px min(5vw, 30px);
  text-decoration: none;
  font-weight: var(--fw-bold);
  font-size: 1.1em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
  border-bottom: solid 2px rgba(255, 255, 255, 0.1);
}

.subnav a:hover {
  color: var(--clr-white);
}

.subnav a.current {
  color: var(--clr-dark-teal);
  background-color: #efefef;
}

.sidebar {
  padding: 0 min(5vw, 30px);
  overflow-wrap: break-word;
}

.sidebar :is(h1, h2, h3, h4, h5, h6) {
  color: white;
}

.call2action {
  font-size: 1.4em;
  font-weight: var(--fw-black);
  line-height: 1.4;
  margin: 1.5em 0 0 0;
  color: var(--clr-accent);
}

.call2action img {
  margin-bottom: 0.5em;
}

.call2action a {
  text-decoration: none;
  text-wrap: balance;
  line-height: 1.25;
  display: block;
}

/* cards */

.card-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.card {
  padding: 0;
  margin: 0 0 15px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  font-size: 0.9em;
  width: 48%;
  margin-right: 4%;
}

.card-group .card:nth-child(2n) {
  margin-right: 0;
}

.card-meta {
  background-color: var(--clr-teal);
  text-transform: uppercase;
  padding: 6px 20px;
  margin: 0 0 15px;
  color: var(--clr-white);
  font-size: 0.8em;
  font-weight: var(--fw-black);
}

.card-title {
  margin: 0.75em 0 0;
  padding-right: 10px;
  font-weight: var(--fw-black);
  color: var(--clr-dark-teal);
}
.card-subtitle {
  margin: 0.25em 0 0;
  padding-right: 10px;
  font-weight: var(--fw-normal);
  color: var(--clr-dark-teal);
  line-height: 1.25;
}

.card-excerpt {
  margin-top: 0.5em;
  padding-right: 10px;
}

.card-title a {
  text-decoration: none;
  color: inherit;
}

.client-stories .card {
  background-color: var(--clr-white);
  padding: 0 0 20px;
}

.client-stories .card-title,
.client-stories .card-excerpt {
  padding: 0 20px;
}

.client-stories .card img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.client-story-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.client-story-box .client-story-box-area {
  text-transform: uppercase;
  font-size: 0.7em;
  font-weight: var(--fw-black);
  color: #999;
}

.sidebar .clientstory-logo {
  border: solid 4px var(--clr-white);
  background-color: var(--clr-white);
}

.team-listing .card {
  padding-bottom: 45px;
  border-top: solid 4px var(--clr-white);
  transition: border-color 0.2s ease;
}

.team-listing .card:hover {
  border-color: var(--clr-magenta);
}

.team-listing .card-photo img,
.page-bio .subpage-callout-photo img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.client-story-list {
  margin: 0 0 30px;
}

.client-story {
  border-top: solid 2px #efefef;
  overflow: auto;
  margin: 0 0 10px;
  padding: 20px 0 1px;
  font-size: 0.9em;
}

.client-story-content {
  float: left;
  width: 75%;
}

.client-story-logo {
  float: right;
  width: 20%;
  margin-bottom: 20px;
}

@media only screen and (min-width: 800px) {
  .card-group .card {
    width: 32%;
    margin-right: 2%;
    margin-bottom: 24px;
  }

  .card-group .card:nth-child(2n) {
    margin-right: 2%;
  }

  .card-group .card:nth-child(3n) {
    margin-right: 0;
  }
}

/* SERVICES PAGE LIST  */

.services-list {
  font-size: 0.85em;
}

.service-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: grid;
  align-items: stretch;
  grid-template-columns: 2fr 5fr;
  border: solid 2px #efefef;
  border: none;
  box-shadow: 0 0 8px #ddd;
  padding: 0;
  transition: box-shadow 300ms ease;
}

.service-area + .service-area {
  margin-top: 2rem;
}

.service-area.clickbox:hover {
  border-color: #aaa;
  box-shadow: 0 0 12px #ccc;
}

.services-list .service-area-icon {
  padding: min(30px, 5vw) min(45px, 7.5vw);
  display: flex;
  align-items: center;
  background-color: #ccc;
}

.service-area-content {
  padding: min(5vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-area-content > * {
  margin: 0;
}

.service-area-content > * + * {
  margin-top: 0.5em;
}

.service-area-content p {
  line-height: 1.25;
}

.service-area-content p.learnmore::after {
  content: " Learn more";
  font-weight: var(--fw-bold);
  color: inherit;
  font-size: 0.875em;
  white-space: nowrap;
  color: var(--clr-dark-teal);
}

.service-area:hover h5 {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.15em;
}

@media only screen and (min-width: 800px) {
  .services-list {
    font-size: 1em;
  }
}

.clientstory-tag {
  text-transform: uppercase;
  font-size: 0.75em;
  line-height: 1.125;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
}

.clientstory-title {
  font-weight: var(--fw-normal);
  font-size: 1.2em;
}

.clientstory-title a {
  text-decoration: none;
}

.clientstory-list .service-area-icon {
  border-right: dotted 1px #efefef;
  background: transparent;
  padding: min(30px, 5vw);
}

.clientstory-list .service-area-icon img {
  mix-blend-mode: multiply;
}

.clientstory-name {
  opacity: 0.5;
}

.subpage-callout-photo {
  margin-bottom: 10px;
}

.page-service-area .subpage-callout-photo {
  padding: 21px;
}

.subpage-callout-content {
  background-color: var(--clr-gray);
  color: var(--clr-white);
  font-weight: var(--fw-black);
  padding: 10px 15px;
  word-wrap: break-word;
}

.subpage-callout-content a {
  display: block;
  text-decoration: none;
}

.pullquote-text {
  font-size: 1.3em;
  line-height: 1.4;
  margin: 0 20px 0.5em 0;
  text-indent: -0.2em;
}

.pullquote-author {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--fw-black);
  margin-bottom: 2em;
}

.news-boiler {
  padding-top: 1em;
  margin-top: 2em;
  border-top: solid 1px #eee;
  font-size: 0.8em;
}

.news-boiler-title {
  font-weight: var(--fw-black);
}

/* image and photo styles */

.floatRight {
  float: right;
  max-width: 40%;
  margin: 0 0 1em 1em;
}

.floatLeft {
  float: left;
  max-width: 40%;
  margin: 0 1em 1em 0;
}

.with-border {
  border: solid 1px #efefef;
  padding: 12px;
}

@media only screen and (min-width: 800px) {
  .floatRight,
  .floatLeft {
    max-width: 33%;
  }
}

/* footer */

footer {
  background-color: var(--clr-dark-teal);
  text-align: center;
  color: var(--clr-white);
}

.footer-inset {
  width: min(1280px, 90vw);
  margin-inline: auto;
  padding: min(10vw, 40px) 0;
  padding-top: 0;
}

footer section {
  margin-bottom: 30px;
}

footer a,
footer a:hover {
  color: inherit;
}

.footer-title {
  font-size: 1.3em;
  margin: 0 auto 1em;
  translate: 0 -50%;
}

.footer-title a {
  background-color: var(--clr-teal);
  color: rgba(255, 255, 255, 1);
  display: inline-block;
  padding: 0.75em 2em;
  text-decoration: none;
  font-weight: var(--fw-bold);
  border-radius: 4px;
  transition: box-shadow 150ms ease;
}

.footer-title a span {
  display: block;
  background: calc(100% - 1px) center url("/img/contact-icon-light-yellow.png") no-repeat;
  background-size: 48px;
  padding-right: 64px;
  line-height: 48px;
}

.footer-title a:hover {
  color: var(--clr-white);
  box-shadow: 0 0 4px rgb(0 0 0 / 0.5);
}

.social-icons a {
  display: inline-block;
  margin: 0 2px 0 0;
  opacity: 0.8;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.social-icons a img {
  height: 36px;
}

.social-icons a:hover {
  opacity: 1;
}

footer .copyright {
  margin-top: 1.5em;
  font-size: 0.8em;
  text-transform: uppercase;
  font-family: 700;
}

.footer-nav a {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  margin-right: 1em;
  font-weight: var(--fw-black);
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
}

.footer-nav a.current {
  color: #000;
}

.copyright p {
  margin-bottom: 0.4em;
}

@media only screen and (min-width: 480px) {
  .footer-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .footer-columns section {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    padding-right: 30px;
  }

  .footer-social a img {
    height: 32px;
  }
}

@media only screen and (min-width: 800px) {
  .footer-columns section {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
  }
}

@media only screen and (min-width: 1120px) {
  .footer-columns {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  .footer-columns section {
    -ms-flex-preferred-size: 33.333%;
    flex-basis: 33.333%;
  }

  .footer-columns section h4 {
    font-size: 1.3em;
  }
}

@media only screen and (min-width: 1280px) {
  .footer-columns {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .footer-columns section {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    padding-right: 50px;
  }

  .footer-columns section h4 {
    font-size: 1.5em;
  }
}

/* jobs */

.flow > * {
  margin: 0;
}

.flow > * + * {
  margin-top: 1.25em;
}

.flow > * + h2,
.flow > * + h3,
.flow > * + h4,
.flow > * + h5,
.flow > * + h6 {
  margin-top: 1.75em;
}

.item {
  border-top: solid 1px #eee;
  padding-top: 1rem;
}

.item > * {
  margin: 0;
}

.item > * + * {
  margin-top: 0.25em;
}

.item + .item {
  margin-top: 1.5rem;
}

.item-title a {
  text-decoration: underline;
  text-decoration-thickness: 0.02em;
  text-underline-offset: 0.1em;
  font-weight: var(--fw-bold);
  text-transform: none;
  letter-spacing: 0;
}

.item-meta {
  font-size: 0.75em;
}

/* FORMS  */

form label {
  display: block;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-gray);
}

form input {
  display: block;
  border: none;
  padding: 0 12px;
  line-height: 42px;
  margin: 0 0 6px;
  color: #999;
  border-radius: 0;
  width: 100%;
  border: solid 1px var(--clr-gray);
  margin-bottom: 15px;
  font-family: "Roboto", arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1em;
}

footer form input {
  max-width: 300px;
}

form input:focus {
  color: var(--clr-gray);
}

form button {
  padding: 8px 12px;
  vertical-align: middle;
  margin: 0 2px 2px 0;
  font-weight: var(--fw-black);
  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: solid 2px var(--clr-gray);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

form button:hover {
  padding-right: 45px;
}

.site-search form input {
  max-width: 300px;
}

table {
  margin: 0 0 1em;
}

table td {
  padding: 2px 4px;
}

/* Clearfix ---------------------------------- */

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* for embedded media */

.flexObject {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 2em;
}

.flexObject iframe,
.flexObject object,
.flexObject embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-fade {
  position: relative;
  width: 100%;
  height: auto;
}

.video-fade video {
  width: 100%;
  height: auto;
  display: block;
}

.video-fade-overlay {
  position: absolute;
  inset: 0;
  background: #efefef;
  pointer-events: none;
  opacity: 1; /* start fully black */
  transition: opacity 1s linear;
}

/* end */
