.hero-section {
    position: relative;
    z-index: 50;
}

.hero-section,
.hero-section-inner,
.hero-section-inner-holder,
.hero-section-inner-holder > .container,
.hero-section-inner-content {
    position: relative;
}

.hero-section-inner {
    padding-bottom: 60px;
    padding-top: 50px;
}

.hero-section-inner-content {
    z-index: 40;
}

.hero-section h1 {
    color: var(--hero-title-color);
}

.breadcrumbs-holder + h1 {
    margin-top: 50px
}

/*** has text pad ***/
.has-text-pad .hero-section-inner-content {
    background: var(--hero-pad-background-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

/** full width image ***/

.hero-section.type-background-image.full-width:before {
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}

.hero-section.type-background-image.full-width:after {
    content: '';
    background: var(--hero-mask-color);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 30;
}

.type-background-image.full-width .hero-section-inner-holder:before {
    content: '';
    background-color: var(--hero-second-mask-color);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 25;
}

.type-background-image.full-width:not(.has-text-pad) .hero-text {
    color: var(--hero-background-image-text-color);
}

.type-background-image.full-width .hero-section-inner-content,
.align-right.type-background-image.full-width .hero-section-inner-content {
    width: 70%;
}

.align-center.type-background-image.full-width .hero-section-inner-content {
    margin: 0 auto
}

.align-right.type-background-image.full-width .hero-section-inner {
    display: flex;
    justify-content: flex-end;
}

.type-background-image.full-width:not(.has-text-pad) .hero-section-inner-content h1 {
    color: var(--hero-background-image-title-color);
}

/** Blur image ***/
.type-background-image.blur .hero-section-inner-holder,
.type-image .hero-section-inner-holder {
    background-color: var(--hero-background-color);
    z-index: 10;
}

.type-background-image.blur .hero-section-inner {
    display: flex;
    justify-content: flex-start;
}

.align-right.type-background-image.blur .hero-section-inner {
    justify-content: flex-end;
}

.align-center.type-background-image.blur .hero-section-inner {
    justify-content: center;
}

.hero-image-background {
    content: '';
    width: 55%;
    height: 100%;
    position: absolute;
    top: 0;
    right: -50px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    z-index: 20;
}

.align-center .hero-overlay {
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: var(--hero-mask-blur);
}

.hero-image-background:before {
    content: '';
    width: 150px;
    height: 100%;
    position: absolute;
    left: -1px;
    top: 0;
    z-index: 10;
    background: linear-gradient(90deg, var(--hero-background-color) 5%, rgba(245, 245, 245, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='var(--hero-background-color)', endColorstr='var(--hero-background-color)', GradientType=1);
}

.hero-image-background:after {
    content: '';
    width: 150px;
    height: 100%;
    position: absolute;
    right: -1px;
    top: 0px;
    z-index: 10;
    background: linear-gradient(90deg, rgba(245, 245, 245, 0) 0, var(--hero-background-color) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='var(--hero-background-color)', endColorstr='var(--hero-background-color)', GradientType=1);
}

.type-background-image.blur .hero-section-inner .hero-section-inner-content {
    max-width: 60%;
    position: relative;
}

/* Image in column */
.type-image .hero-section-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    max-width: 100%;
}

.type-image .hero-image {
    align-self: center;
}

.type-image .hero-image img {
    max-width: 100%;
    height: auto;
}

.align-right.type-image .hero-section-inner .hero-section-inner-content {
    width: 100%;
}


.align-right.type-image .breadcrumbs {
    justify-content: flex-start;
}

/* text position */

.align-left .hero-section-inner {
    text-align: left;
}

.align-center .hero-section-inner {
    text-align: center;
    margin: 0 auto
}

/* Right */

.align-right .hero-section-inner .hero-section-inner-content {
    width: 55%;
}

.align-right .hero-section-inner-content {
    order: 2;
}

.align-right .hero-image {
    order: 1;
}

.align-right .hero-image-background {
    right: auto;
    left: -50px;
}

.align-right .breadcrumbs {
    justify-content: flex-end;
}

.hero-text {
    color: var(--hero-text-color);
    font-size: 18px;
}

.hero-text ul li {
    position: relative;
    margin-bottom: 15px;
    display: block;
}

.align-left.check .hero-text ul li,
.align-right.check .hero-text ul li,
.align-left.check-empty .hero-text ul li,
.align-right.check-empty .hero-text ul li,
.align-left.check-circle .hero-text ul li,
.align-right.check-circle .hero-text ul li {
    padding-left: 35px;
}

.align-right.dot .hero-text ul li,
.align-left.dot .hero-text ul li {
    padding-left: 20px;
}

.check .hero-text ul li:before,
.check-empty .hero-text ul li:before,
.check-circle .hero-text ul li:before,
.dot .hero-text ul li:before {
    font-family: 'local-business' !important;
    font-size: 16px;
    line-height: 1;
    color: var(--hero-check-color);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-right: 10px;
}

.dot .hero-text ul li:before {
    vertical-align: middle;
    content: "";
    background: var(--hero-check-color);
    width: 7px;
    height: 7px;
}

.align-left.check .hero-text ul li:before,
.align-right.check .hero-text ul li:before,
.align-left.check-empty .hero-text ul li:before,
.align-right.check-empty .hero-text ul li:before,
.align-left.check-circle .hero-text ul li:before,
.align-right.check-circle .hero-text ul li:before,
.align-left.dot .hero-text ul li:before,
.align-right.dot .hero-text ul li:before {
    position: absolute;
    top: 4px;
    left: 0;
    margin: 0;
}

.align-right.dot .hero-text ul li:before,
.align-left.dot .hero-text ul li:before {
    top: 10px;
}

.check .hero-text ul li:before {
    content: "\e903";
}

.check-empty .hero-text ul li:before {
    content: "\e90d";
}

.check-circle .hero-text ul li:before {
    content: "\e903";
    background: var(--hero-check-circle-background-color);
    color: var(--hero-check-circle-color);
    line-height: 1.8;
    text-align: center;
    font-size: 14px;
}

.hero-text ul li:last-child {
    margin: 0
}

.list-two-column .hero-text ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.list-two-column .hero-text ul li {
    padding: 35px 0 0;
    width: calc(1/2*100% - (1 - 1/2)*30px);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.list-two-column.dot .hero-text ul li {
    padding-top: 20px;
}

.list-two-column.check .hero-text ul li:before,
.list-two-column.check-empty .hero-text ul li:before,
.list-two-column.check-circle .hero-text ul li:before,
.list-two-column.dot .hero-text ul li:before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 25px;
    position: absolute;
}

.check-circle.list-two-column .hero-text ul li:before {
    width: 25px;
    height: 25px;
    font-size: 18px;
    line-height: 1.45;
}

.list-two-column.dot .hero-text ul li:before {
    width: 12px;
    height: 12px;
}

.hero-text > *:last-child {
    margin-bottom: 0;
}

.has-form .hero-section-inner {
    padding-bottom: 200px;
}


.align-center .hero-section-inner .cta-buttons {
    justify-content: center;
}

/* hero list element */
.type-background-image.full-width.check:not(.has-text-pad) .hero-text ul li:before,
.type-background-image.full-width.check-empty:not(.has-text-pad) .hero-text ul li:before,
.type-background-image.full-width.check-circle:not(.has-text-pad) .hero-text ul li:before,
.type-background-image.full-width.dot:not(.has-text-pad) .hero-text ul li:before {
    color: var(--hero-background-image-check-color);
}

.type-background-image.full-width.check-circle:not(.has-text-pad) .hero-text ul li:before {
    background: var(--hero-background-image-check-circle-background-color);
    color: var(--hero-background-image-check-circle-color);
}

.hero-section.type-background-image.full-width.dot .hero-text ul li:before {
    background: var(--hero-background-image-check-color);
}


.hero-section-inner .btn.primary {
    color: var(--button-primary-color-on-hero);
    background: var(--button-primary-bkg-color-on-hero);
    border-color: var(--button-primary-border-color-on-hero);
}

.hero-section-inner .btn.primary:hover,
.hero-section-inner .btn.primary:focus,
.hero-section-inner .btn.primary:active {
    color: var(--button-primary-color-hover-on-hero);
    background: var(--button-primary-bkg-color-hover-on-hero);
    border-color: var(--button-primary-border-color-hover-on-hero);
}

.hero-section-inner .btn.secondary {
    color: var(--button-secondary-color-on-hero);
    background: var(--button-secondary-bkg-color-on-hero);
    border-color: var(--button-secondary-border-color-on-hero);
}

.hero-section-inner .btn.secondary:hover,
.hero-section-inner .btn.secondary:focus,
.hero-section-inner .btn.secondary:active {
    color: var(--button-secondary-color-hover-on-hero);
    background: var(--button-secondary-bkg-color-hover-on-hero);
    border-color: var(--button-secondary-border-color-hover-on-hero);
}

/* hero form */

.hero-form-holder {
    font-size: 16px;
    margin-top: -120px;
    z-index: 50;
    position: relative;
    padding: 20px;
}

.hero-form-holder:before {
    content: '';
    width: 90%;
    height: 100%;
    background: var(--hero-form-text-background);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 30;
}

.hero-form-holder-inner {
    display: flex;
    gap: 15px;
    z-index: 40;
    position: relative;
    align-items: center;
}

.hero-form-holder-inner img {
    max-width: 180px;
}

.hero-form-holder .hero-form-content {
    flex-grow: 1
}

.hero-form-holder .gform_wrapper {
    background: transparent;
    color: var(--hero-form-text);
    padding: 0;
}

.hero-form-holder .gform_wrapper a {
    color: var(--hero-form-text-link);
}

.hero-form-holder .gform_wrapper a:hover {
    color: var(--hero-form-text-link-hover);
}

.hero-form-holder .gform_fields {
    column-gap: 15px;
    row-gap: 10px;
}

.hero-form-holder input[type="text"],
.hero-form-holder input[type="email"],
.hero-form-holder input[type="number"],
.hero-form-holder input[type="tel"],
.hero-form-holder textarea,
.hero-form-holder form select {
    font-size: 15px;
    padding: 10px 15px;
}

.hero-form-holder form ::placeholder {
    color: #9A9A9A;
    font-size: 15px;
}

.hero-form-holder textarea {
    height: 60px;
}

.hero-form-holder .terms_policy label {
    font-size: 13px;
}

.hero-form-holder input[type="submit"] {
    padding: 10px 30px;
    margin: 0;
}

@media only screen and (min-width: 768px) {
    .hero-form-holder .gform_fields .gfield.gfield--width-third {
        width: calc(1/3*100% - (1 - 1/3)*20px);
    }
}

@media only screen and (max-width: 1610px) and (min-width: 1421px) {
    .hero-form-holder:before {
        width: 95%;
    }
}

@media only screen and (max-width: 1420px) and (min-width: 1300px) {
    .hero-form-holder:before {
        width: 98%;
    }
}

@media only screen and (max-width: 1299px) {
    .hero-form-holder:before {
        width: 98%;
    }
}

@media only screen and (max-width: 1199px) {
    .type-background-image.full-width .hero-section-inner-content,
    .align-right.type-background-image.full-width .hero-section-inner-content {
        width: 80%;
    }

    .hero-section-inner-content .cta-buttons {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 991px) {
    .hero-text {
        font-size: 17px;
    }

    .type-background-image.blur .hero-section-inner .hero-section-inner-content,
    .type-background-image.full-width .hero-section-inner-content,
    .align-right.type-background-image.full-width .hero-section-inner-content {
        max-width: 100%;
        width: 100%;
    }

    .type-background-image.blur:not(.has-text-pad) .hero-section-inner-holder:before {
        background-color: var(--hero-mask-blur);
        content: '';
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 25;
    }

    .hero-image-background {
        width: 70%;
    }

    .type-image .hero-section-inner {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .align-right .hero-section-inner-content {
        order: 1;
    }

    .align-right .hero-image {
        order: 2;
    }

    .hero-section-inner-content .cta-buttons.component {
        margin-top: 0;
    }
}

@media only screen and (max-width: 767px) {
    .hero-image-background {
        right: -2px;
    }

    .has-text-pad .hero-section-inner-content {
        padding: 30px;
    }

    .list-two-column .hero-text ul li {
        width: 100%;
    }

    .hero-form-holder textarea {
        height: 120px;
    }

    .hero-form-holder:before {
        width: 98%;
    }

    .hero-form-holder-inner {
        display: block;
    }

    .hero-form-holder-inner img {
        margin-top: -120px;
        margin-bottom: 20px;
    }

    .has-form .hero-section-inner {
        padding-bottom: 230px;
    }

    .hero-section-inner {
        padding-top: 40px;
    }

}