@media (min-width: 992px) {
    .form-clean .p-lg-5 {
        padding: 3rem 1rem 1rem !important;
    }
}


/* fix for making other content scroll above hero*/
.block-content-type-template_block {
    background-color: #fff;
}

/* fix for making footer scroll above hero*/
.site-footer {
    z-index: 2;
}

.parallax-hero {
    max-width: 1600px;
    letter-spacing: .025em;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-height: calc(100vh - 150px);
    min-height: 800px;
}

.parallax-hero .container {
    max-width: 1600px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-height: calc(100vh - 150px);
    min-height: 800px;
}

.parallax-hero .video-container .container .column-container {
    width: 100%;
    justify-content: space-between;
    max-width: 1440px;

}

.parallax-hero .video-container {
    clip-path: inset(0 0 0 0 round 25px);
}

.parallax-hero .video-container video {
    z-index: 0;
    object-fit: cover;
    position: fixed;
    top: 30px;
    max-width: 1600px;
    aspect-ratio: 16 / 9;
    width: 100%;
    object-position: center;
    max-height: calc(100vh - 150px);
    min-height: 800px;
}

.parallax-hero .video-container .container .right-column {
    display: flex;
    align-items: center;
    border-radius: 28px;
    max-width: 475px;
    margin: 0 15px 0 0;
    width: calc(100% - 15px);
    flex: 0 0 calc(50% - 15px);
}

.parallax-hero .video-container .container .right-column>.p-5 {
    padding: 4rem 3rem 4.5rem !important;
}


.parallax-hero .video-container .container .right-column .btn-lg.btn-primary {
    font-size: 18px !important;
    padding: 0 40px !important;
    position: relative;
    z-index: 1;
    border: none !important;
    line-height: 62px !important
}

.parallax-hero .video-container .container .right-column .btn-lg.btn-primary.btn-white {
    background-color: #fff !important;
    color: #262626 !important;
    transition: all .3s ease-in-out;
}

.parallax-hero .video-container .container .right-column .btn-lg.btn-primary.btn-white:hover {
    background-color: #ed002f !important;
    color: #fff !important;
    border: none !important;
}

.parallax-hero .video-container .container .right-column>div>p {
    margin-top: 35px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax-hero .video-container .container p.preamble {
    font-size: 18px !important;
    max-width: 400px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 auto 0 0;
}


.parallax-hero .video-container h3 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.75rem;
    font-weight: 400;
    max-width: 350px;
    margin: 0 auto;
}

.parallax-hero .video-container .container .left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.parallax-hero .video-container .container .left-column h2 {
    font-size: 65px;
    line-height: 1.3;
    font-weight: 400 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    letter-spacing: normal;
}

.parallax-hero .video-container .container .left-column h2 strong {
    font-weight: 400 !important;
}

.parallax-hero .video-container .container .left-column p {
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.form-clean .webform-submission-form {
    max-width: 300px;
    margin: auto;
    color: #fff;
}

.form-clean form input[type='text'],
.form-clean form input[type='tel'] {
    background-color: transparent;
    text-align: center;
    border: none;
    box-shadow: none;
    border-radius: 0 !important;
    position: relative;
    color: #fff !important;
    font-size: 18px;
    letter-spacing: .025em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.form-clean .form-item-phone {
    position: relative;
}

.form-clean .form-item-phone:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 15px;
    top: 40px;
    left: 0;
    z-index: 0;
    border-bottom: 2px solid #fff;
    border-radius: 10px;
}

.form-clean .form-submit {
    margin: 0 auto;
    border-radius: 50px;
    background-color: #fff;
    border: none;
    color: #262626;
    padding: 0 20px;
    margin-top: 15px;
    height: 30px;
    line-height: 30px;
}


.form-clean .form-submit:hover {
    background-color: #ed002f !important;
    color: #fff !important;
    border: none !important;
}

.form-clean form input[type='text']::-webkit-input-placeholder,
.form-clean form input[type='tel']::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.form-clean form input[type='text']::-moz-placeholder,
.form-clean form input[type='tel']::-moz-placeholder {
    /* Firefox 19+ */
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

.form-clean .form-item.messages-box .messages-inner-wrapper {
    margin: 25px 0 -25px;
    background: transparent;
    color: white;
    font-size: 12px;
    padding: 0 30px;
    text-align: center;
}


.parallax-hero form input:-webkit-autofill,
.parallax-hero form input:-webkit-autofill:hover,
.parallax-hero form input:-webkit-autofill:focus,
.parallax-hero form textarea:-webkit-autofill,
.parallax-hero form textarea:-webkit-autofill:hover,
.parallax-hero form textarea:-webkit-autofill:focus,
.parallax-hero form select:-webkit-autofill,
.parallax-hero form select:-webkit-autofill:hover,
.parallax-hero form select:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
}



.parallax-hero .video-play {
    opacity: 0;
}

.parallax-hero .video-pause {
    opacity: .65;
}

.parallax-hero .video-play,
.parallax-hero .video-pause {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.parallax-hero .video-play.fade-out,
.parallax-hero .video-pause.fade-out {
    animation: fade-out .3s forwards;
    z-index: 0;
}

.parallax-hero .video-play.fade-in,
.parallax-hero .video-pause.fade-in {
    animation: fade-in .3s forwards;
    z-index: 1;
}


@keyframes fade-out {
    0% {
        opacity: .65;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: .65;
    }
}

@media (min-width: 1921px) {
  .parallax-hero,
  .parallax-hero .container,
  .parallax-hero .video-container video {
    max-width: 1800px;
  }
}

@media (max-width: 1600px) {
    .parallax-hero .video-container {
        clip-path: inset(0 10px 10px 10px round 25px) !important;
    }
}

@media (max-width: 1340px) {
    .parallax-hero .video-container .container .left-column h2 {
        font-size: 48px;
    }
}



@media (max-width: 990px) {
  .parallax-hero,
  .parallax-hero .container,
  .parallax-hero .video-container video {
      aspect-ratio: 9 / 16;
  }
    .parallax-hero {
        max-height: 100vh;
        height: 100vh;
    }

    .parallax-hero .video-container {
        clip-path: inset(0) !important;
    }

    .parallax-hero .container,
    .parallax-hero .video-container video {
        max-height: 100vh;
        height: 100vh;
    }

    /*.parallax-hero .container,
    .parallax-hero .video-container video .parallax-hero .video-container video {
        top: 80px;
        filter: brightness(0.4);
    }*/

    .parallax-hero .video-container video {
        top: 0;
        filter: brightness(0.4);
    }

    .parallax-hero .video-container .container {
        align-items: end;

    }

    .parallax-hero .container .row {
        width: 100%;
    }

    .parallax-hero .video-container .container .right-column {
        background-color: transparent !important;
        max-width: unset;
        margin: 0;
        width: 100%;
        flex: 0 0 100%;
    }

    .parallax-hero .video-container .container .left-column h2 {
        text-align: center;
    }

    .parallax-hero .video-container .container .left-column p img {
        max-width: 40px;
    }

    .form-clean .webform-submission-form {
        margin-top: 0;
        max-width: 320px;
        position: relative;
        padding-bottom: 25px;
    }

    .form-clean .form-item.messages-box {
        position: absolute;
        font-size: 12px;
        flex: 0 0 100%;
        display: flex;
        top: 65px;
    }

    .form-clean .form-item.messages-box .messages-inner-wrapper {
        margin-top: -10px;
    }

    .form-clean form input[type='text'],
    .form-clean form input[type='tel'] {
        text-align: left !important;
    }


    .form-clean .webform-submission-form .form-wrapper {
        width: fit-content !important;
    }

    .form-clean .form-submit {
        position: absolute;
        right: 10px;
        top: 0px;
    }

}

@media (max-width: 600px) and (min-width: 481px) {

.parallax-hero {
  min-height: 850px
}
    .parallax-hero .container,
    .layout-container .parallax-hero .video-container,
    .layout-container .parallax-hero .video-container video {
        min-height: 850px;
        height: 100vh;
        max-height: 100vh;
    }
}

@media (max-width: 480px) {
    .parallax-hero .container {
        align-items: end;
    }

    .parallax-hero .video-container {
        clip-path: inset(10px round 25px);
    }

    .parallax-hero .video-container .container .left-column>div {
        gap: 0 !important;
    }

    .parallax-hero .video-container .container .left-column h2 {
        font-size: 34px;
    }

    .parallax-hero .video-container h3 {
        font-size: 1.25rem;
        line-height: 1.5 !important;
    }

    .parallax-hero .video-container .container .right-column .btn-lg.btn-primary.btn-white {
        min-height: auto !important;
       /*padding: 0 27px !important;*/
        font-size: 16px !important;
    }


    .parallax-hero .video-container .container .right-column>div>p:last-of-type {
        margin-bottom: 40px !important;
    }

    .parallax-hero .video-container .container .right-column>div>p {
        margin-top: 25px;
        margin-bottom: 0 !important;
    }

    .parallax-hero .video-container .container .right-column>div {
        padding-bottom: 1rem !important;
    }

    .parallax-hero .video-play,
    .parallax-hero .video-pause {
        position: absolute;
        bottom: 15px;
        right: 15px;
    }


}