/*
 Theme Name:   Neve child
 Template:     neve
*/

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:900&display=swap');

header.header .nv-nav-wrap {
    justify-content: flex-start;
}

.primary-menu-ul {
    display: flex;
    flex-direction: row;
    flex: 0 1 33%;
    text-align: center;
}

header.header .nv-nav-wrap a {
    display: block;
    font-size: 14px;
    color: #0e512e !important;
    text-transform: uppercase;
    font-weight: 800;
}

/* hero image */

.hero {
    border-bottom: 2px solid #fff;
    position: relative;
}

.hero img {
    width: 260px;
}

.hero:before {
    content: '';
    position: absolute;
    width: 50%;
    height: 40px;
    bottom: -2px;
    min-height: 40px;
    right: 0;
    border-top-left-radius: 200px;
    background-color: #fff;
}

.hero:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 40px;
    bottom: -2px;
    left: 0;
    min-height: 40px;
    border-top-right-radius: 200px;
    background-color: #fff;
}

.wpcf7-form {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
    margin: 0 auto 80px auto;
}

.wpcf7-form label {
    text-align: left;
    width: 100%;
    font-size: 18px;
}

.wpcf7-form input,
.wpcf7-form textarea {
    resize: none;
    outline-color:  #000;
}

.wpcf7-form input[type=email],
.wpcf7-form input[type=text],
.wpcf7-form textarea {
    background-color: #fff;
    width: 100%;
}
.wpcf7-form input[type=submit] {
    background-color: #fff;
    display: block;
    margin-left: auto;
    color: #0e512e;
    padding: 8px 20px;
    border-radius: 0 !important;
    font-size: 20px;
}
.wpcf7-form input[type=submit]:hover {
    background-color: #ccc;
    color: #0e512e;
}

.wp-block-group {
    margin-top: 60px;
    padding: 0 20px;
}

.wp-block-column {
    padding: 0 20px;
    text-align: center;
}

.wp-block-group h1,
.wp-block-group h2,
.wp-block-group h3 {
    margin-top: 60px;
    margin-bottom: 40px;
}

/* custom green box */

.green-box {
    color: #fff;
    position: relative;
    margin-top: 80px;
    padding-bottom: 60px;
    padding-top: 10px;
}

.green-box:before {
    content: '';
    position: absolute;
    width: 50%;
    height: 40px;
    top: -36px;
    right: 0;
    border-top-left-radius: 200px;
    background-color: #0e512e;
}

.green-box:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 40px;
    top: -36px;
    left: 0;
    border-top-right-radius: 200px;
    background-color: #0e512e;
}

.green-box div:before {
    content: '';
    position: absolute;
    width: 50%;
    height: 40px;
    bottom: -2px;
    right: 0;
    border-top-left-radius: 200px;
    background-color: #fff;
}

.green-box > div:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 40px;
    bottom: -2px;
    left: 0;
    border-top-right-radius: 200px;
    background-color: #fff;
}

.paragraph-list {
    margin-top: 50px;
    text-align: left;
}

.paragraph-list strong {
    width: 150px;
    display: inline-block;
    text-align: left;
}

/* Footer */

footer.site-footer .footer-content-wrap   {
    padding: 40px 0;
    background-color: #0e512e;
    color: #fff;
}

footer .widget {
    margin: 0;
    padding: 0;
}

footer img.image {
    width: auto;
    max-width: 200px;
}

footer .builder-item {
    text-align: center;
}

.footer-logo {
    max-width: 150px !important;
}

@media (min-width: 960px) {
    .hero {
        height: 800px;
    }

    .hero img {
        width: 320px;
    }

    footer .builder-item {
        text-align: left;
    }

    footer img.image {
        width: auto;
    }

    .green-box {
        padding-bottom: 100px;
        padding-top: 10px;
    }

    .paragraph-list {
        margin-top: 0;
    }

    .paragraph-list strong {
        width: 200px;
    }

    main .nv-single-page-wrap {
        margin-bottom: 0;
    }

    header.header .nv-nav-wrap a {
        font-size: 24px;
    }

    .wp-block-column {
        text-align: left;
        padding: 0;
    }
}