/* General Styles */
.hero-block {
    position: relative;
    z-index: 2;
}
.hero-block .block-inner {
    position: relative;
}
.hero-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  height: 100%;
  margin: 0 auto;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #FFFFFF;
  padding-bottom: 40px;
  padding-top: 120px;
padding-left: 10%;
  padding-right: 10%;
}
.hero-height-full-screen .hero-overlay-container {
  position: relative;
height: 100%;
  min-height: 100svh;
}
.hero-overlay-container-inner {
max-width: 1366px;
  width: 100%;
  z-index: 2;
}
.hero-block .play-video {
    text-transform: uppercase;
    display: inline-block;
    margin-top: 30px;
    font-size: 1.1em;
}
.hero-block .play-video a {
    display: flex;
    width: 200px;
    border-bottom: 1px solid #fff;
    justify-content: space-between;
     transition:all ease-in-out .2s;
}
.hero-block .play-video:hover a {
    width: 210px;
}
.hero-block :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
}
.hero-block h1 {
    max-width: 990px;
  color: #FFFFFF;
}
.hero-block h1.heading {
    text-transform: none;    
}
.hero-block h2 {
    max-width: 990px;
  color: #FFFFFF;
    margin-top: 30px;
    text-transform: none;
}
.hero-block .heading {
    font-weight: 500;
}
.hero-block .textarea {
    max-width: 950px;
    margin-top: 25px;
}
.hero-block .hero-overlay-container::before {
    background: rgba(68, 84, 106, 0.85);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-block.hero-type-image-text-split .hero-overlay-container::before {
    display: none;
}

/* Height */
/* .hero-height-full-screen .hero-image-wrap img {
    aspect-ratio: 1920 / 1080;
    height: 100%;
    width: 100%;
    object-fit: cover;
    min-height: 550px;
    max-height: clamp(550px, 100vh, 1080px);
    display: block;
} */
.hero-type-image.hero-height-full-screen .block-inner {
    height: 100%;
    width: 100%;
    display: block;
    min-height: 100svh;
}
.hero-type-image-text-split.hero-height-full-screen .hero-image-wrap img {
    aspect-ratio: 1920 / 1080;
    height: 100%;
    /*min-height: 100vh;*/
    width: 100%;
    object-fit: cover;
    /*min-height: 550px;*/
    display: block;
}
.hero-type-image-text-split.hero-height-full-screen .hero-image-wrap {
    position: relative;
}
.hero-type-image-text-split.hero-height-full-screen .hero-image-wrap::before {
top: 19px;
  left: 19px;
  height: calc(100% - 38px);
  width: calc(100% - 38px);
    border: 2px solid #fff;
    content: '';
    position: absolute;
    transition: inherit;
    pointer-events: none;
    z-index: 1;
}

.single-team-member .hero-height-full-screen.hero-type-image-text-split .hero-image-wrap img {
  aspect-ratio: 960 / 1080;
  max-height: initial;
}
.hero-height-medium .hero-image-wrap img, .hero-height-medium.hero-type-text .hero-image-wrap {
    /*aspect-ratio: 1920 / 738;*/
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*min-height: 450px;*/
    /*max-height: 738px;*/
    display: block;
}
.hero-height-narrow .hero-image-wrap img {
    aspect-ratio: 1920 / 520;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
    max-height: 520px;
    display: block;
}

/* Content alignment */
.hero-content-alignment-center .hero-overlay-container {
	text-align: center;
}
.hero-content-alignment-left .hero-overlay-container {
	text-align: left;
}
.hero-content-alignment-right .hero-overlay-container {
	text-align: right;
}

.hero-type-text .hero-overlay-container {
    align-items: flex-start;
    justify-content: flex-start;
    right: initial;
    padding-left: 0;
    position: relative;
}
.hero-type-text .hero-overlay-container {
padding-top: clamp(60px, 12vmin, 300px);
padding-bottom: 75px;
}
.hero-type-text .hero-image-wrap {
  display: none !important;
}
.hero-block.hero-type-text {
    min-height: 70vh;
}

.hero-content-alignment-center .hero-buttons-container-inner, .hero-content-alignment-center .block-inner {
	justify-content: center;
}
.hero-content-alignment-left .hero-buttons-container-inner, .hero-content-alignment-left .block-inner {
	justify-content: flex-start;
}
.hero-content-alignment-right .hero-buttons-container-inner, .hero-content-alignment-right .block-inner {
	justify-content: flex-end;
}



/* Image text split */
.hero-block.hero-type-image-text-split .block-inner {
    display: grid;
grid-template-columns: 35% 65%;
height: 100%;
}
.hero-block.hero-type-image-text-split .hero-overlay-container {
    position: relative;
    order: 1;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding-bottom: 0;
    height: calc(100svh - 150px);
}
.hero-block.hero-type-image-text-split .hero-overlay-container-inner {
    max-width: 532px;
    height: calc(100svh - 150px);
    padding-top: 20px;
    padding-bottom: 30px;
    position: relative;
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: clamp(20px, 9svh, 80px);
}
.hero-block.hero-type-image-text-split .hero-image-wrap {
order: 2;
height: calc(100svh - 150px);
}


/* Buttons */
.hero-block .button-container {
	margin-top: 40px;
}

.hero-block h1.preheading {
    color: #f68028;
}

@media all and (max-width: 1780px) {
.hero-block h1, h2.large-heading {
}
.hero-block.hero-height-full-screen h1 {
}
}
@media all and (max-width: 1640px) {
.hero-block h1, h2.large-heading {
}
.hero-block.hero-height-full-screen h1 {
}
}
@media all and (max-width: 1450px) {
.hero-block h1, h2.large-heading {
}
.hero-block.hero-height-full-screen h1 {
}
}
@media all and (max-width: 1366px) {
.hero-block h1, h2.large-heading {
}
.hero-block.hero-height-full-screen h1 {
}
}
@media all and (max-width: 768px) {
.hero-block h1, h2.large-heading {
}
.hero-block.hero-height-full-screen h1 {
}
}

/* Image */

/* Video */

/* Slider */
.hero-block.hero-type-slider::after {
    display: none;
}
.hero-block.hero-type-slider .hero-slider-container li::before {
    background: rgba(0, 0, 0, 0.2);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        z-index: 1;
}

/* Slider nav */
.hero-slider-nav-outer {
    max-width: 1920px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}
.hero-slider-nav-inner {
    line-height: 0;
    width: 100%;
}
#prev-hero, #next-hero {
    position: relative;
    padding: 0;
    border: none;
        pointer-events: all;
    background: none;
    outline: none;
-webkit-animation: fadein ease 1.4s;
animation: fadein ease 1.4s;
}
#prev-hero {
    position: relative;
    left: 30px;
}
#next-hero {
    float: right;
    position: relative;
    right: 30px;
}
#prev-hero svg, #next-hero svg {
    height: 60px;
    opacity: 0.6;
    color: #fff;
	transition: all 0.3s ease;
    display: block;
}
#prev-hero svg:hover, #next-hero svg:hover {
    opacity: 1;
}


/* dots navigation */
.hero-block .tns-nav {
    text-align: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}
.hero-block .tns-nav button {
    border-radius: 30px;
    width: 13px;
    height: 13px;
    padding: 0;
    background: none;
    border: 1px solid #FFF;
    margin-left: 4px;
    margin-right: 4px;
}
.hero-block .tns-nav button.tns-nav-active {
    background: #fff;
}


/*https://stackoverflow.com/a/51619871*/
.banner-video{
    height: 100vh; /*old browser support*/
  height: 100svh;
  overflow: hidden;
  position: relative;
  min-height: 450px;
  pointer-events: none;
}
.banner-video iframe {
    width: 100%;
    height: calc((100vw*9) /16);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
 @media (max-aspect-ratio: 16/9) {
    .banner-video{
      width: 100%;
      overflow: hidden;
    }

    .banner-video iframe{
      width: calc((100vh*16)/9);
      height: 100vh; /*old browser support*/
      height: 100svh;
      }
  }




.hero-block .passster-form h4 {
display: none;
}
.hero-block .passster-form .password-form {
  padding: 0;
  background: none;
}
.hero-block .passster-form p {
  font-size: initial;
  font-weight: 300;
  color: initial;
  font-family: "Barlow", sans-serif;
  text-transform: none;
}
.hero-block .passster-form .passster-password {
    font-size: initial;
    border: 1px solid #758547 !important;
    font-weight: 400;
    font-family: "Titillium Web", sans-serif;
    background: none;
}
.hero-block .passster-form .passster-submit {
    background: transparent;
border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
    border-left: solid 1px #758547;
    font-family: "Titillium Web", sans-serif;
    color: #101500;
    margin-top: 10px;
    font-size: 14px;
    width: auto;
    padding: 22px 20px 6px 8px;
    transition: all .3s cubic-bezier(.3,.15,.18,1);
}
.hero-block .passster-form .passster-submit:hover {
    border: solid 1px #758547;
    transition: all .3s cubic-bezier(.3,.15,.18,1);
}
.hero-block .passster-form .passster-error {
    color: #ee7323;
    width: auto;
    float: none;
    text-align: left;
    padding: 0;
    margin-top: 10px;
    font-size: initial;
    background: transparent;
}

@media all and (max-width: 1280px) {
.hero-overlay-container {
padding-right: 40px;
    padding-left: 40px;
}
}
@media all and (max-width: 1170px) {
.hero-block.hero-type-image-text-split .block-inner {
  grid-template-columns: 50% 50%;
}
.hero-block.hero-type-image-text-split .hero-image-wrap {
  height: 100%;
}
.hero-block.hero-type-image-text-split .hero-overlay-container {
    height: 100%;
}
}
@media all and (max-width: 1024px) {
.hero-block h1 {
  max-width: 100%;
}
.hero-block h2 {
  max-width: 100%;
  margin-top: 20px;
}
.hero-type-text .hero-overlay-container {
    padding-top: 60px;
    padding-bottom: 55px;  
}
.hero-type-text .hero-overlay-container .hero-overlay-container-inner {
    opacity: 1 !important;    
}
.hero-overlay-container {
        padding-top: 100px;
}
}
@media all and (max-width: 1023px) {
  .hero-block.hero-type-image-text-split .block-inner {
    grid-template-columns: 1fr;
  }
.hero-block.hero-type-image-text-split .hero-image-wrap {
  order: 1;
  height: 40svh;
  max-height: initial;
}
  .hero-contact-separator {
    display: block;
  }
.care-home-logo {
  max-height: 275px;
}
.hero-block.hero-type-image-text-split .hero-overlay-container-inner {
  gap: 15px;
}
.hero-type-image-text-split.hero-height-full-screen .hero-image-wrap::before {
  top: 14px;
  left: 14px;
  height: calc(100% - 28px);
  width: calc(100% - 28px);
}
}
@media all and (max-width: 860px) {
.hero-block .job-search .job-search-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
}
.hero-block .job-search {
  margin-top: 70px;
}
}
@media all and (max-width: 768px) {
.hero-block .play-video {
  font-size: 1em;
}
.hero-overlay-container {
padding-right: 30px;
    padding-left: 30px;
        padding-top: 100px;
}
.hero-block .job-search {
  margin-top: 40px;
}
.hero-block .job-search .location-container, .hero-block .job-search .sector-container {
display: none;
}
}
@media all and (max-width:480px) {
.hero-overlay-container {
padding-right: 20px;
    padding-left: 20px;
    padding-top: 90px;
}
.hero-block .job-search {
  margin-top: 20px;
}
}