/*
 * Page Header (was "Header Video & Image") (`vc_header_video`)
 *
 * Loaded only on pages that use this element, after common.css. Rules
 * shared with other elements are in common.css.
 */

/*
 * Moved from the cognita-europe theme's custom-style.css in plugin 0.11.0
 * (element assets project, phase 4a), unchanged and in their original order.
 * They stayed in the theme at first because theme code still named their
 * classes. They come first here, as they came before every rule below.
 *
 * One was left out: "@media screen and (min-width:991px) { .bg-video-wrap
 * { min-height: 450px } }". It never decided a height. The theme's later
 * .hero { min-height: 50vh } overrode it on the Image header and slider
 * slides (both .hero), and the Video header's own !important height below
 * overrides it there. Loading after the theme, it would have won over 50vh
 * and made the Image header shorter on desktop.
 */

@media (max-width: 767px) {
    .bg-video-wrap {
        margin-top: 0 !important;
    }
}

@media (max-width: 959px) {
    .bg-video-wrap {
        min-height: 600px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .bg-video-wrap {
        margin-top: -55px !important;
    }
}

.bg-video-wrap{position:relative;overflow:hidden;width:100%;background:no-repeat center center/cover}

@media screen and (max-width:959px) {
    .bg-video-wrap{margin-top:60px}
}

.bg-video-wrap video{min-width:100%;min-height:100vh;z-index:1}

.bg-video-wrap .overlay{width:100%;position:absolute;top:0;left:0;background-size:3px 3px;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;bottom:0}

.bg-video-wrap .overlay .btn{color:#fff}

.bg-video-wrap .overlay .caption{padding-top:20%}

@media (max-width:991px) {
    .bg-video-wrap .overlay .caption{padding-top:0}
}

.bg-video-wrap .overlay .caption .btn{color:#fff}

@media (max-width:767px) {
    .bg-video-wrap .overlay .caption .btn{font-size:20px}

    .bg-video-wrap .overlay .caption .btn span{display:block}
}

.video_wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
}

.video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
* Header Video & Image: a real <img> in place of a CSS background-image,
* filling the same box the same way .video_wrapper iframe already does
* above (object-fit:cover replacing background-size:cover). See
* header-video-output.php.
*/
.video_wrapper img.video-wrapper-holding-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bg-video-wrap > img.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*
* Header Video (Video type only - .header-media--video, never .hero):
* height comes from the viewport instead of being derived from the video's
* own 16:9 ratio via .video_wrapper's padding-bottom trick. That trick made
* the container grow without limit on wide screens - width x 0.5625 has no
* ceiling - and on a wide-but-not-equally-tall browser window (most
* laptops/monitors) it could end up taller than the visible viewport,
* forcing a scroll within the hero itself just to see the rest of it.
*
* The video doesn't need the container to match its own aspect ratio to
* look right: injectIFrame()'s resize handler in jquery.youtube-background.js
* already reads the container's real rendered size and covers it, cropping
* whichever axis has the extra video - exactly like object-fit: cover.
* Decoupling the two means a very wide window crops the video's left/right
* edges within a bounded-height box, instead of the box growing
* indefinitely tall. min-height/padding-bottom are reset to 0 here because
* several older breakpoint rules above still set them (some with
* !important) and would otherwise still apply as an extra floor alongside
* this one.
*
* One rule for every size: the banner takes the viewport minus whatever
* the site header takes from it, capped. There is only one exception, and
* it is a real one rather than a breakpoint quirk - see the desktop block
* below.
*
* It is a minimum, not a fixed height: when the title, header text and
* buttons need more room than one screen - a long text on a small phone -
* the banner grows to fit them instead of clipping them. .overlay is in
* normal flow for this (see the button-group block below); every media
* layer is absolutely positioned and covers whatever height results.
*
* Up to 991px both "Desktop Header Layout" choices (Overlay and Standard,
* theme-options.php) collapse to the same relative-positioned, solid header
* (see this stylesheet's own header rules at max-width:991px), so the
* header always takes real height here and there is nothing to branch on.
*
* An Image header set to Full screen takes exactly the same height, so a
* homepage can change between an image and a video without its layout
* moving.
*/
.bg-video-wrap.header-media--video,
.bg-video-wrap.header-media--image.header-media--full-screen {
    height: auto !important;
    min-height: min(
        calc(100vh - var(--kyubi-header-height, 76px)),
        var(--kyubi-hero-max-height, 900px)
    ) !important;
}

@media (min-width: 992px) {
    .bg-video-wrap.header-media--video,
    .bg-video-wrap.header-media--image.header-media--full-screen {
        min-height: min(100vh, var(--kyubi-hero-max-height, 900px)) !important;
    }

    .has-header-layout-standard .bg-video-wrap.header-media--video,
    .has-header-layout-standard .bg-video-wrap.header-media--image.header-media--full-screen {
        min-height: min(
            calc(100vh - var(--kyubi-header-height, 147px)),
            var(--kyubi-hero-max-height, 900px)
        ) !important;
    }
}

@media (max-width: 1024px) {
    .bg-video-wrap.header-media--video,
    .bg-video-wrap.header-media--image {
        margin-top: 0 !important;
    }
}

.bg-video-wrap.header-media--video .video_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding-bottom: 0 !important;
}

/*
* Header Video (Video type only): the content - strapline, title, header
* text and buttons, in that order and as one group - is placed within the
* banner by the element's Content vertical alignment: centre by default,
* or top or bottom. .caption is a flex column that fills the banner, so
* that is a single justify-content rather than margins on any one piece.
*
* .overlay is in normal flow, with the banner's own minimum height, so
* the banner grows when its content needs more than one screen rather
* than clipping it. Each wrapper down to .caption fills the one above it
* with flex-grow rather than height:100%, which needs a fixed height on
* the parent to resolve against and would give the growth back up.
*
* Its padding matches .section's (80px, 50px below 992px), so the buttons
* sit on the same line from the edge as every other module's content
* rather than against the bottom of the banner. The selectors carry
* .overlay because .bg-video-wrap .overlay .caption{padding-top:0} further
* down scores the same and would otherwise win on order.
*/
.bg-video-wrap.header-media--video .overlay {
    position: relative;
    min-height: inherit;
    flex-direction: column;
    align-items: stretch;
}

.bg-video-wrap.header-media--video .overlay > .container-fluid {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.bg-video-wrap.header-media--video .overlay .row {
    flex: 1 0 auto;
}

.bg-video-wrap.header-media--video .overlay .col-md-12 {
    display: flex;
    flex-direction: column;
}

.bg-video-wrap.header-media--video .overlay .caption {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    .bg-video-wrap.header-media--video .overlay .caption {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/*
* Content vertical alignment, for both media types. The Video header's
* .caption is a full-height flex column, so it is justify-content there;
* the Image header is itself a flex row centring its .overlay, so it is
* align-items on the section. Centre is what both have always done.
*/
.bg-video-wrap.header-media--video.header-media--valign-top .overlay .caption {
    justify-content: flex-start;
}

.bg-video-wrap.header-media--video.header-media--valign-bottom .overlay .caption {
    justify-content: flex-end;
}

.bg-video-wrap.header-media--image.header-media--valign-top {
    align-items: flex-start;
}

.bg-video-wrap.header-media--image.header-media--valign-bottom {
    align-items: flex-end;
}

/*
* The Image header's content keeps clear of the site header, and nothing
* more. Its caption used to carry a top padding of 20% of the width
* (.bg-video-wrap .overlay .caption, about 223px from 992px), which kept
* the title below the transparent header floating over the banner on an
* Overlay site - but applied on Standard sites too, where the header sits
* above the banner, so their centred titles sat about 106px below the
* middle and tall content made the banner grow. Now only the Overlay
* layout, from 992px, adds the header's measured height to the top
* padding.
*
* Otherwise the padding is even, so centred means centred, and matches a
* section's and the Video header's - 50px, 80px from 992px, with .overlay's
* own 30px - so bottom-aligned content, the default on a Small header,
* sits on the same line from the edge as every other module's.
*/
.bg-video-wrap.header-media--image .overlay .caption {
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    .bg-video-wrap.header-media--image .overlay .caption {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .has-header-layout-overlay .bg-video-wrap.header-media--video.header-media--valign-top .overlay .caption {
        padding-top: calc(var(--kyubi-header-height, 187px) + 80px);
    }

    .has-header-layout-overlay .bg-video-wrap.header-media--image .overlay {
        padding-top: calc(var(--kyubi-header-height, 187px) + 30px);
    }

    /* That clearance is the top spacing here; the caption's own on top of it
    would only grow a 450px banner with a two-line title. */
    .has-header-layout-overlay .bg-video-wrap.header-media--image .overlay .caption {
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    .home .bg-video-wrap.header-media--video .overlay .caption {
        padding-bottom: 100px;
    }
}

@media (min-width: 992px) {
    .bg-video-wrap.header-media--scroll-desktop .overlay .caption {
        padding-bottom: 100px;
    }
}

@media (max-width: 991px) {
    .home .bg-video-wrap.header-media--image.header-media--full-screen .overlay .caption {
        padding-bottom: 70px;
    }
}

@media (min-width: 992px) {
    .bg-video-wrap.header-media--image.header-media--scroll-desktop .overlay .caption {
        padding-bottom: 70px;
    }
}

/*
* The group itself: header button, extra button, then popup button, under
* the header text with the rest of the content - on a Video header and a
* Full height Image header alike, so these rules and the colour profile and
* play icon rules below name .header-media, not one type. Each button already sits
* in its own .component.link, whose 20px top margin would throw the
* spacing out, so the gap comes from the group instead, and the group
* keeps 20px above it - the same .component spacing as everything else.
*
* Two layouts, from the element's Button layout field. Stacked (the
* default) is a column, one button per line; Inline is a row that wraps.
* Inline stacks below 768px too, so on a phone they look the same.
*
* Button alignment moves the group as a whole, through one custom property
* read as align-items in a column and justify-content in a row. Left at
* its default it follows Content horizontal alignment - the plugin writes
* whichever applies as the class. Centre is the property's fallback rather
* than a class rule, so it cannot be outscored; it switches to left below
* 768px, as centred content does.
*/
.bg-video-wrap.header-media .header-media__actions {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: var(--header-media-actions-align, center);
    gap: 16px;
}

.bg-video-wrap.header-media .header-media__actions > .component {
    margin-top: 0;
}

.header-media__actions--left {
    --header-media-actions-align: flex-start;
}

.header-media__actions--right {
    --header-media-actions-align: flex-end;
}

.bg-video-wrap.header-media .header-media__actions--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: var(--header-media-actions-align, center);
}

@media (max-width: 767px) {
    .header-media__actions--center {
        --header-media-actions-align: flex-start;
    }

    .bg-video-wrap.header-media .header-media__actions--inline {
        flex-direction: column;
        align-items: var(--header-media-actions-align, center);
        justify-content: flex-start;
    }
}

/*
* Button Colour Profile. With a profile chosen, the plugin writes that
* profile's Text Link, Primary Button and Outline Button colours onto the
* group as custom properties (cognita_wpbakery_button_colour_variables()),
* and these rules paint every button from them, <a> and <button> alike.
*
* Custom properties rather than the profile's own class: the class would
* bring the profile's other rules with it, and its button rules lose to the
* header's own .bg-video-wrap .overlay .caption .btn{color:#fff} anyway,
* and its Outline rules only ever name <a>. Without a profile none of this
* applies and the buttons keep the colours they have always had here.
*
* Fallbacks: an unset hover holds the regular colour, and the last resort
* is the white this header has always used.
*/
.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-link,
.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-link-chevron {
    color: var(--cwb-btn-link, #fff);
}

.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-link:hover,
.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-link:focus,
.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-link-chevron:hover,
.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-link-chevron:focus {
    color: var(--cwb-btn-link-hover, var(--cwb-btn-link, #fff));
}

.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-primary:not(.btn-primary--border) {
    color: var(--cwb-btn-text, #fff);
    background: var(--cwb-btn-bg, #c41f2f);
    border-color: var(--cwb-btn-bg, #c41f2f);
}

.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-primary:not(.btn-primary--border):hover,
.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-primary:not(.btn-primary--border):focus {
    color: var(--cwb-btn-text-hover, var(--cwb-btn-text, #fff));
    background: var(--cwb-btn-bg-hover, var(--cwb-btn-bg, #c41f2f));
    border-color: var(--cwb-btn-bg-hover, var(--cwb-btn-bg, #c41f2f));
}

.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-primary.btn-primary--border {
    color: var(--cwb-btn-outline-text, #fff);
    background: transparent;
    border-color: var(--cwb-btn-outline-border, #fff);
}

.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-primary.btn-primary--border:hover,
.bg-video-wrap.header-media .overlay .caption .header-media__actions--profile .btn-primary.btn-primary--border:focus {
    color: var(--cwb-btn-outline-text-hover, var(--cwb-btn-outline-text, #fff));
    border-color: var(--cwb-btn-outline-border-hover, var(--cwb-btn-outline-border, #fff));
}

/*
* The popup button's play icon: an inline SVG inside the button, before
* its text, filled with currentColor so it follows the button's own text
* colour - and its hover colour - in every style. It replaces a 50px
* circle drawn on ::after and laid half over the button's left edge.
*
* ::after is cleared because the Text Link styles draw their chevron
* there: a play button needs one icon, and the chevron says "go to a
* page", which this button does not do. The padding-right the chevron
* needed goes with it. .btn span{display:block} above would otherwise
* stack the icon over the label, hence the length of these selectors.
*/
.bg-video-wrap.header-media .overlay .caption .btn.btn--play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.bg-video-wrap.header-media .overlay .caption .btn.btn--play::after {
    content: none;
    display: none;
}

.bg-video-wrap.header-media .overlay .caption .btn-link.btn--play,
.bg-video-wrap.header-media .overlay .caption .btn-link-chevron.btn--play {
    padding-right: 0;
}

.bg-video-wrap.header-media .overlay .caption .btn--play .btn__icon {
    display: inline-flex;
    flex: none;
    width: 0.75em;
    height: 0.875em;
}

.bg-video-wrap.header-media .overlay .caption .btn--play .btn__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* .link .btn-link span{font-weight:400} would thin the label in the Text
Link styles; it takes the button's own weight like any other button text. */
.bg-video-wrap.header-media .overlay .caption .btn--play .btn__label {
    display: inline;
    font-weight: inherit;
}

/*
* Header Video & Image: the header text under the title, for both media
* types (.bg-video-wrap is on both).
*
* It sits over the image or video like the title, so it takes the title's
* colour rather than the page's body text colour, which Global Options
* writes onto p and would put dark text over a dark image. Links keep that
* colour too and are underlined so they still read as links.
*
* It spans the same width as the title and the button group, and its text
* follows Content horizontal alignment - or whatever alignment the editor
* gives a paragraph. It was capped at 720px until 3.4.23.
*/
.bg-video-wrap .overlay .caption .header-media__text,
.bg-video-wrap .overlay .caption .header-media__text p,
.bg-video-wrap .overlay .caption .header-media__text li,
.bg-video-wrap .overlay .caption .header-media__text a:not(.btn) {
    color: inherit;
}

/* !important only because a global a{text-decoration:none!important} would
otherwise leave links in the text indistinguishable from it. */
.bg-video-wrap .overlay .caption .header-media__text a:not(.btn) {
    text-decoration: underline !important;
}

.bg-video-wrap .overlay .caption .header-media__text > * {
    margin-top: 0;
    margin-bottom: 0;
}

.bg-video-wrap .overlay .caption .header-media__text > * + * {
    margin-top: 16px;
}

/*
* Content horizontal alignment, for both media types: the strapline, title
* and header text. A class on .caption from the element's field, at four
* classes so it beats .hero--centertext .caption, which used to centre the
* Image header and is still on it. Centre switches to left below 768px, as
* the Image header's centred titles always have.
*/
.bg-video-wrap .overlay .caption.header-media__content--left {
    text-align: left;
}

.bg-video-wrap .overlay .caption.header-media__content--center {
    text-align: center;
}

.bg-video-wrap .overlay .caption.header-media__content--right {
    text-align: right;
}

@media (max-width: 767px) {
    .bg-video-wrap .overlay .caption.header-media__content--center {
        text-align: left;
    }
}

/*
* The strapline image. Its height always follows its width - it used to
* keep the image's height attribute while the width followed the field,
* which squashed it out of shape at every width and worst of all on a
* phone. It is never wider than the header. The widths come from the
* element as custom properties: the mobile width below 768px, falling back
* to the desktop one, then to the image's own size.
*/
.header-media__strapline .headervideo-txt-img {
    width: var(--strapline-width, auto);
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .header-media__strapline .headervideo-txt-img {
        width: var(--strapline-width-mobile, var(--strapline-width, auto));
    }
}

/*
* A title set to "Not a heading" is a <p>, which Global Options colours
* with the body text colour; over the image or video it takes the title's
* white like the headings do.
*/
.bg-video-wrap .overlay .caption p.display-h1 {
    color: inherit;
}

/*
* Header Video & Image: Slider.
*
* Every slide is marked up as a Full height Image header (plugin
* build_slider_html()), so its height, spacing, alignment, buttons and
* colours all come from the rules above; these only make the slides sit side
* by side and add the controls. The section is the positioning box for the
* arrows and the dots.
*/
.header-media-slider {
    position: relative;
    overflow: hidden;
}

/* Until slick runs - and anywhere it never does - only the first slide
shows, rather than every slide stacked down the page. */
.header-media-slider__track:not(.slick-initialized) > .header-media-slider__slide:nth-child(n+2) {
    display: none;
}

/* Every slide as tall as the tallest, so a slide with more content never
makes the slider jump in height. */
.header-media-slider .slick-track {
    display: flex;
}

.header-media-slider .slick-slide {
    height: auto;
}

/* slick shows a slide with display:block, which would undo the flex layout
that places a slide's content (Content vertical alignment). */
.header-media-slider .slick-initialized .slick-slide.hero {
    display: flex;
}

/*
* The theme's rules for its content sliders name every .slick-slider: a 40vh
* cap on images - which cut each slide's picture short of the slide - slide
* padding, and on phones a track pulled 20px left with slides at 90%, so the
* next slide showed at the edge. None of it belongs on a full-width header.
*/
.header-media-slider .slick-slider .slick-track {
    left: 0;
}

.header-media-slider .slick-slider .slick-list .slick-slide {
    padding: 0;
}

.header-media-slider .slick-slider .slick-slide img {
    max-height: none;
    border-radius: 0;
}

/*
* With the controls showing, each slide's content keeps clear of them: 100px
* from the bottom for the dots - .overlay's 30px plus the caption's 70px, as
* for the scroll arrow - and, where the arrows show, 104px at each side.
*/
.header-media-slider--has-controls .bg-video-wrap.header-media--image .overlay .caption {
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    .header-media-slider--has-controls .header-media-slider__slide .overlay {
        padding-left: 104px;
        padding-right: 104px;
    }
}

.header-media-slider.is-ready .header-media-slider__controls {
    opacity: 1;
    visibility: visible;
}

.header-media-slider__pause:hover {
    background: #fff;
    color: #10171e;
}

.header-media-slider__pause svg {
    width: 12px;
    height: 14px;
    fill: currentColor;
}

.header-media-slider__icon-play,
.header-media-slider__pause.is-paused .header-media-slider__icon-pause {
    display: none;
}

.header-media-slider__pause.is-paused .header-media-slider__icon-play {
    display: block;
}

.video_wrapper {
    padding-top: 0!important;
}

@media screen and (max-width:991px) {
    /* A minimum rather than a fixed height: the Image header is a flex
    container centring an in-flow .overlay, so it stays 375px until its
    title and header text need more, and then grows instead of clipping
    them under the site header. */
    .hero.hero--centertext {
        height: auto;
        min-height: 375px;
        padding: 0;
    }

    .video_wrapper {
        padding-bottom: 100% !important;
    }
}

.section--withBG .bg-overlay{
    background: none !important;
}

@media (max-width: 959px) {
    .video_wrapper {
        min-height: 600px;
    }
}

/*
* Header Video's scroll-down arrow - a real <button> (see
* header-video-output.php), always clickable wherever it is shown: mobile
* always shows it (the .home rule at max-width:767px above), desktop only
* when the element's "Show a clickable scroll indicator on desktop" field
* is ticked.
*
* Anchored to the bottom of .bg-video-wrap, which is already
* position:relative. It cannot rely on normal flow any more: every other
* child of the Video header is absolutely positioned, so a flow-positioned
* arrow sits at the very top of the header instead of below the content.
*
* The box is 28x64 rather than the chevrons' own 28x8 because all three
* chevrons are absolutely positioned at its top edge and the "move"
* animation travels them down to translateY(55px) - the box has to span
* that whole travel, or the clickable area sits above the arrow a visitor
* actually sees.
*/
.container-arrow {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 28px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  z-index: 2;
}

.container-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 991px) {
    .home .animation-mobile-drop {
      display: block !important;
      z-index: 999;
    }
}

@media (min-width: 992px) {
    .container-arrow--desktop-visible {
      display: block !important;
    }
}

/*
* top/left pinned rather than left to the static position: these are
* absolutely positioned with no offsets, so they used to fall back to
* wherever they would have sat in flow - which inside a <button> means
* the browser's own centred text alignment, plus the whitespace between
* them, pushing the arrow right of and below its own button. Pinning them
* to the box origin is what keeps the clickable area over the arrow.
*/
.container-arrow .chevron {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.container-arrow .chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.container-arrow .chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.container-arrow .chevron:before,
.container-arrow .chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.container-arrow .chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.container-arrow .chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

.hero--centertext .caption{text-align:center}

@media (max-width:767px) {
    .hero--centertext .caption{text-align:left}
}

.hero .small-header{height:auto;padding:0}

.hero .small-header .overlay{position:relative;height:initial}

.hero .small-header .overlay .caption{padding:200px 15px 50px}

.bg-overlay{position:absolute;left:0;top:0;bottom:0;right:0}

#herovideo-modal .modal-dialog{width:100%;max-width:100%;border-radius:0;position:fixed}

#herovideo-modal .modal-dialog .modal-content{max-width:60%}

@media (max-width:991px) {
    #herovideo-modal .modal-dialog .modal-content{max-width:80%}
}

@media (max-width:767px) {
    #herovideo-modal .modal-dialog .modal-content{max-width:100%}
}

#herovideo-modal .modal-dialog .modal-content .modal-body{padding:100px 25px 25px}

@media (max-width:767px) {
    #herovideo-modal .modal-dialog .modal-content .modal-body{padding:0}

    #herovideo-modal .modal-dialog .modal-content .modal-body iframe{height:50vh;min-height:300px}

    #herovideo-modal .modal-dialog .modal-content .modal-body .btn-close{background:#fff}
}

#herovideo-modal .modal-content,#herovideo-modal .modal-dialog{height:100vh;width:100vw;max-width:100vw}

#herovideo-modal iframe{height:100vh}

#herovideo-modal .btn-close{background:#fff}

.video_wrapper{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}

.video_wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}

/* Hero / display title — layered on top of the base H1 (D2). */
/*
* Hero title size scales fluidly between mobile and the configured desktop
* value, instead of using the desktop value unchanged at every width (far too
* large on a phone) or a fixed pixel override at one specific breakpoint (the
* .hero .overlay .display-h1{font-size:45px} rule this replaces, which only
* ever applied in a narrow 991–1100px band and ignored the configured size).
*
* clamp(min, preferred, max) picks the middle value once it falls between the
* other two, so this needs no breakpoints or extra Global Options fields:
*   - max is the exact configured Hero Title Size, so desktop is
*     completely unaffected — the preferred value exceeds it well before
*     typical desktop widths, and clamp() holds at max from that point on.
*   - preferred (8vw) is what actually drives the scaling on anything
*     narrower — 8% of the viewport width — so it shrinks continuously with
*     the screen instead of jumping between fixed sizes at breakpoints.
*   - min is the H1 size (--h1-size, plugin 0.11.1), so on a phone the banner
*     title is never smaller than an H1 in the content below it: where 8vw
*     would go under it, the two are simply the same size. --h1-size already
*     follows Heading Size and Heading Size on Phones, so those Global Options
*     settings size the banner on phones too. It is capped at the configured
*     size, so a Hero Title Size set below the H1 is still used as set. On a
*     theme without the token, the old floor applies: 45% of the configured
*     size.
*
* The weight is the H1's too (--h1-weight: Heading Font Weight, or H1's own
* weight in Heading overrides), so the two titles match.
*/
.display-h1 { font-family: var(--font-family-heading); font-weight: var(--h1-weight, var(--font-weight-regular)); font-size: clamp(min(var(--h1-size, calc(var(--display-h1-size) * .45)), var(--display-h1-size)), 8vw, var(--display-h1-size)); line-height: var(--heading-line-height); }

/*
* On phones a word longer than the whole line breaks instead of running off
* the screen. Only such a word is affected: every other word still moves to
* the next line whole, and nothing is hyphenated. Same rule as the theme's
* headings (custom-style.css, theme 3.5.1); here so the banner has it on any
* theme.
*/
@media (max-width: 767px) {
    .display-h1 { overflow-wrap: break-word; }
}

/*
* The breadcrumb row under the banner gets 10px above its trail (0.11.1).
* The trail sat 1-3px under the banner: the theme's 1rem padding is written
* for an `ol.breadcrumb`, but the trail is the theme's `#crumbs`, which it
* does not reach. Padding rather than margin, so a row with a Breadcrumb
* Colour Profile background stays joined to the banner instead of showing a
* strip of page background between them.
*/
.breadcrumb-wrap--header { padding-top: 10px; }
