/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

p:last-child {
    margin-bottom: 0;
}
a,
a:active,
a:hover {
    color: inherit;
}
.wpcf7-form .form-field {
    margin-bottom: 20px;
}
::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: inherit;
    opacity: 1;
}
::-moz-placeholder {
    /* Firefox 19+ */
    color: inherit;
    opacity: 1;
}
:-ms-input-placeholder {
    /* IE 10+ */
    color: inherit;
    opacity: 1;
}
:-moz-placeholder {
    /* Firefox 18- */
    color: inherit;
    opacity: 1;
}
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.form-group-two .form-field {
    width: calc(50% - 10px);
}
textarea {
    vertical-align: top;
}
.elementor-widget-text-editor ul {
    padding-left: 24px;
}
.elementor-widget-text-editor ul li + li {
    margin-top: 5px;
}

.twentytwenty-horizontal .twentytwenty-before-label:before,
.twentytwenty-horizontal .twentytwenty-after-label:before {
    top: 0 !important;
    margin-top: 0 !important;
    border-radius: 100%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.twentytwenty-horizontal .twentytwenty-before-label:before {
    left: 5px !important;
    top: 5px !important;
    transform: rotate(-40deg);
}
.twentytwenty-horizontal .twentytwenty-after-label:before {
    right: 5px !important;
    top: 5px !important;
    transform: rotate(40deg);
}

.step3 > .elementor-element:nth-child(3n)::before,
.step3 > .elementor-element:nth-child(3n + 1)::after,
.step3 > .elementor-element:nth-child(3n + 1)::before,
.step3 > .elementor-element:nth-child(3n + 2)::before {
    content: "";
    display: block;
    width: 55px;
    height: 50px;
    background-image: url("assets/img/arrow-big.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    right: -27px;
    top: calc(50% - 25px);
    left: inherit;
    z-index: 1;
}
.step3 > .elementor-element:nth-child(3n + 1)::before,
.step3 > .elementor-element:nth-child(3n + 2)::before {
    width: 90px;
    height: 90px;
    right: -60px;
    top: calc(50% - 45px);
}
.step3 > .elementor-element:nth-child(3n + 1)::after {
    right: inherit;
    left: -27px !important;
}
.step3 > .elementor-element:first-child::after,
.step3 > .elementor-element:last-child::before {
    display: none !important;
}

@media (max-width: 1024px) {
    .step3 > .elementor-element:nth-child(3n)::before,
    .step3 > .elementor-element:nth-child(3n + 1)::after,
    .step3 > .elementor-element:nth-child(3n + 1)::before,
    .step3 > .elementor-element:nth-child(3n + 2)::before {
        display: none;
    }
    .step3 > .elementor-element:nth-child(odd)::before {
        display: block;
        width: 90px;
        height: 90px;
        right: -60px;
        top: calc(50% - 45px);
    }
    .step3 > .elementor-element:nth-child(odd)::after,
    .step3 > .elementor-element:nth-child(even)::after {
        content: "";
        display: block;
        width: 55px;
        height: 50px;
        position: absolute;
        left: -27px;
        top: calc(50% - 25px);
        right: inherit;
        background-image: url("assets/img/arrow-big.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    .step3 > .elementor-element:nth-child(even)::after {
        left: inherit !important;
        right: -27px;
    }
}

body.error404 .site-main {
    padding: 42px 0 50px;
}

@media (max-width: 767px) {
    .form-group {
        gap: 0;
    }
    .form-group-two .form-field {
        width: 100%;
    }
    .step3 > .elementor-element:nth-child(odd)::before,
    .step3 > .elementor-element:nth-child(odd)::after,
    .step3 > .elementor-element:nth-child(even)::after {
        display: none;
    }
    .step3 > .elementor-element:nth-child(even)::after {
        left: 0 !important;
    }
    .step3 > .elementor-element:first-child::after,
    .step3 > .elementor-element::after {
        display: block !important;
        top: inherit !important;
        bottom: -40px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto;
        transform: rotate(90deg);
        z-index: 1 !important;
    }
    .step3 > .elementor-element:last-child::after {
        display: none !important;
    }
    .wpcf7-submit {
        display: block;
        margin: 0 auto;
    }
}

.form-field-submit [type="submit"] {
    outline: none;
    border: 0;
    line-height: 1;
}
.hero-banner {
    width: 100%;
    height: calc(100vh - 150px);
}
.hero-banner .hero-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
