/*
 Theme Name:   Avada Child
 Template:     Avada
 Text Domain:  Avadachild
 Theme URI:    http://avada.theme-fusion.com/
*/

/* Overrides */
.brush-borders {
    background-image: url('/wp-content/themes/Avada-child/assets/border-tl.png');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top left;
}

.bc-form-inline {
    display: inline-block;
    padding: 0 10px;
    position: relative;
}
.bc-form-inline.name {
    width: 29%;
}
.bc-form-inline.email {
    width: 69%;
}
.wpcf7-form-control-wrap.your-email {
    height: 100%;
}
.bc-form-inline.submit {
    width: 19%;
}
.bc-form-inline.email .wpcf7-form-control.wpcf7-submit {
    padding: 6px 20px 7px 20px !important;
    position: absolute;
    top: 0;
    right: 10px;
    border-radius: 8px;
    color: #000;
    background-image: none !important;
}
.bc-form-accept {
    margin-top: 15px !important;
}
.bc-join-us-text {
    padding-left: 20px;
}
.bc-form-accept a {
    color: #a5c736 !important;
    text-decoration: underline;
}

#blog-layout-title {
    font-size: 70px;
    color: #353949;
}
#blog-layout-intro {
    margin-top: 0px;
    padding: 0 20px;
}

.featured-post__title {
    color: #fff;
    background: rgb(59,163,152);
    background: linear-gradient(90deg, rgba(59,163,152,1) 0%, rgba(147,190,83,1) 100%);
    text-align: center;
}
.featured-post__excerpt {
    background-color: #353949 !important;
    color: #fff !important;
}
@media only screen and (min-width: 768px) {
    .featured-post__title {
        margin-top: 50px;
    }
    .featured-post__image, .featured-post__content {
        width: 50% !important;
    }
}
.bc-featured-mobile-show {
    display: none;
}
@media only screen and (max-device-width: 712px) {
    body.blog .featured-post {
        display: none;
    }
    .bc-featured-mobile-show {
        display: block;
    }
}

.bc-top-banner {
    padding-top: 245px !important;
    padding-bottom: 200px !important;
}
.bc-mission-jamie {
    float: right;
}
@media only screen and (max-device-width: 799px) {
    #bc-footer .fusion-row .fusion-layout-column {
        text-align: center;
    }
    .fusion-body .bc-social-icons .fusion-layout-column {
        width: 25% !important;
    }
    #bc-footer-join, #bc-footer-logo {
        text-align: center;
        float: none !important;
    }
    #bc-home-jamie > div {
        height: 400px !important;
    }
    .bc-mission-jamie {
        margin-left: 0px !important;
        float: none;
    }
}
@media only screen and (max-device-width: 767px) {
    .bc-top-banner {
        padding-top: 145px !important;
        padding-bottom: 100px !important;
    }
    #home-body-text .fusion-column-wrapper {
        padding: 0 20px !important;
    }
}
@media only screen and (max-device-width: 575px) {
    .bc-top-banner {
        padding-top: 145px !important;
        padding-bottom: 0px !important;
    }
    .full-width-img {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
    #bc-home-jamie .fusion-column-wrapper-1 {
        height: 220px !important;
    }
    .bc-form-inline {
        width: 100% !important;
        margin-bottom: 8px;
    }
}

.gradient-text {
    background-color: #3ba398;
    background-image: linear-gradient(45deg, #3ba398, #93be53);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.fusion-logo img {
    width: 160px !important;
}


.heading-bg {
    background-image: url('/wp-content/themes/Avada-child/assets/heading-bg.png');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: 90% 100%;
}

.hover-bg a:hover,
#home-body-text a:hover,
.fusion-body .fusion-main-menu .current-menu-ancestor > a,
.fusion-body .fusion-main-menu .current-menu-item > a,
.fusion-body .fusion-main-menu .current-menu-parent > a,
.fusion-body .fusion-main-menu .current_page_item > a,
.fusion-body .fusion-main-menu .current-menu-ancestor > a:hover,
.fusion-body .fusion-main-menu .current-menu-item > a:hover,
.fusion-body .fusion-main-menu .current-menu-parent > a:hover,
.fusion-body .fusion-main-menu .current_page_item > a:hover,
.fusion-main-menu>ul>li>a:not(.fusion-logo-link):hover {
    background-image: url('/wp-content/themes/Avada-child/assets/hover-bg.png');
    background-repeat: no-repeat;
    background-size: auto;
}
.hover-bg a:hover,
#home-body-text a:hover {
    background-position: 90% 100%;
    color: inherit !important;
}
.fusion-body .fusion-main-menu .current-menu-ancestor > a,
.fusion-body .fusion-main-menu .current-menu-item > a,
.fusion-body .fusion-main-menu .current-menu-parent > a,
.fusion-body .fusion-main-menu .current_page_item > a,
.fusion-body .fusion-main-menu .current-menu-ancestor > a:hover,
.fusion-body .fusion-main-menu .current-menu-item > a:hover,
.fusion-body .fusion-main-menu .current-menu-parent > a:hover,
.fusion-body .fusion-main-menu .current_page_item > a:hover,
.fusion-main-menu>ul>li>a:not(.fusion-logo-link):hover {
    background-position: 90% 70%;
}


.fusion-mobile-menu-icons a {
    margin-top: 16px;
}

.fusion-single-line-meta,
.fusion-meta-info {
    display: none;
}

.fusion-post-content-wrapper {
    background-color: #ffffff;
}

.avada-blog-archive-layout-grid .fusion-blog-archive .fusion-blog-layout-grid .post .fusion-post-content-wrapper {
    padding: 15px 0 !important;
}


.fusion-blog-layout-grid .post .flexslider {
    border: none !important;
}

.fusion-load-more-button {
    font-size: 0.8rem !important;
}

/* Custom Styling */

.fusion-blog-layout-grid .fusion-post-grid .fusion-post-wrapper {
    border: none !important;
}

.image-category {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.5rem 0.8rem;
    background-color: #B0C82B;
    color: #ffffff;
    font-size: 1rem;
    z-index: 3;
}

body #wrapper #main .post > h1.fusion-post-title,
body #wrapper #main .post > h2.fusion-post-title {
    display: inline-block;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    font-size: 3rem;
    color: #fff;
    color: #fff;
    background: rgb(59,163,152);
    background: linear-gradient(90deg, rgba(59,163,152,1) 0%, rgba(147,190,83,1) 100%);
}

body #wrapper #main .post .flexslider {
    margin-bottom: 0;
}

body.single.single-post,
body.blog {
    background-color: #fff !important;
}

body.single.single-post #main {
    padding-top: 0px;
    padding-bottom: 0px;
}

body .single-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    height: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 0;
    overflow: hidden;
}

body .single-navigation a {
    width: 25%;
    text-align: center;
    color: #fff;
}

body .single-navigation .bc-post-nav-title {
    background-color: #353949;
    color: #fff;
    height: 100%;
}

body .single-navigation .bc-post-nav-title p {
    margin: 0;
    line-height: 1.2;
    padding: 15px;
    text-align: left;
}

body .single-navigation a:before,
body .single-navigation a:after {
    display: none;
}

@media only screen and (max-device-width: 575px) {
    body .single-navigation a {
        width: 50%;
    }
    body #wrapper #main .post > h1.fusion-post-title,
    body #wrapper #main .post > h2.fusion-post-title {
        font-size: 22px;
    }
}

.custom-blog-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 2rem;
}

.custom-blog-title {
    position: relative;
    font-size: 1.8rem;
    text-align: center;
    top: -10px;
}

.categories-button {
    position: relative;
    display: flex;
    align-items: center;
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    font-size: 1rem;
}

    .categories-button span {
        display: none;
    }

    .categories-button * {
        pointer-events: none;
    }

    .categories-button .burger {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    .categories-button .burger div {
        height: 2px;
        width: 100%;
        background-color: #383B51;
    }

    .categories-button:hover {
        color: #B0C82B;
        cursor: pointer;
    }
    .categories-button:hover .burger div {
        background-color: #B0C82B;
    }

body.category-menu-open .category-menu {
    z-index: 10050;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

@media only screen and (min-width : 768px) {

    .custom-blog-bar {
        justify-content: center;
        min-height: 30px;
    }

    .custom-blog-back {
        position: absolute;
        top: 0;
        right: 0;
    }

        .custom-blog-back a {
            display: flex;
            align-items: center;
            color: #000;
            font-size: 1rem;
        }

        .custom-blog-back a svg {
            margin-right: 1rem;
            fill: #1E201D;
        }

        .custom-blog-back a:hover {
            color: #B0C82B;
        }
        .custom-blog-back a:hover svg {
            fill: #B0C82B;
        }

    .custom-blog-title {
        font-size: 3rem;
    }

    .categories-button {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .categories-button span {
        display: inline-block;
    }

    .categories-button .burger {
        margin-right: 1rem;
    }

}

.fusion-rollover {
    /* display: none !important; */
}

.category-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 6rem 1.5rem;
    max-height: 100vh;
    background-color: rgba(255,255,255,1);
    text-align: center;
    overflow-y: scroll;
    transition: opacity 0.2s ease-in;

    z-index: -1;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

    .category-menu ul {
        position: relative;
        width: 100%;
        margin: 0 0 3rem 0;
        padding: 0;
        list-style: none;
    }

    .category-menu ul li {
        display: block;
        width: 100%;
    }

    .category-menu ul li a {
        display: inline-block;
        width: auto;
        height: 100%;
        padding: 0.8rem 0;
        font-size: 1.6rem;
        color: #383B51;
    }

    .category-menu ul li a:hover {
        text-decoration: underline;
    }

    .category-menu__label {
        display: block;
        color: #B0C82B;
        font-size: 0.7rem;
        margin-bottom: 1rem;
        text-transform: uppercase;
    }

    .category-menu__close {
        position: absolute;
        top: 2rem;
        left: 2.5rem;
        display: flex;
        align-items: center;
        font-size: 1rem;
    }

        .category-menu__close * {
            pointer-events: none;
        }

        .category-menu__close:hover {
            cursor: pointer;
            color: #B0C82B;
        }
        .category-menu__close:hover .close-icon div {
            background-color: #B0C82B;
        }

    .category-menu__close .close-icon {
        position: relative;
        display: inline-block;
        width: 25px;
        margin-right: 1rem;
        cursor: pointer;
    }

    .category-menu__close .close-icon div {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 2px;
        width: 100%;
        background-color: #383B51;
    }

    .category-menu__close .close-icon div:first-child {
        transform: translateY(-50%) rotate(-45deg);
    }
    .category-menu__close .close-icon div:last-child {
        transform: translateY(-50%) rotate(45deg);
    }

@media only screen and (min-width : 768px) {

    .category-menu {
        padding: 6rem;
    }

    .category-menu ul li a {
        font-size: 2rem;
    }

}

    .featured-post {
        position: relative;
        display: inline-block;
        width: 100%;
        margin-bottom: 2rem;
    }

    .featured-post__image,
    .featured-post__content {
        position: relative;
        width: 100%;
        display: block;
    }

    .featured-post__title {
        display: block;
        padding: 1rem;
        margin-bottom: 0;
        font-size: 2rem;
        line-height: 2.6rem;
        color: #fff;
        background-color: #383B51;
    }

    .featured-post__title a {
        color: #fff;
    }
    .featured-post__title a:hover {
        color: #B0C82B;
    }

    .featured-post__excerpt {
        display: block;
        background-color: #B0C82B;
        padding: 1rem;
        color: #383B51;
        font-size: 0.8rem;
    }

    @media only screen and (min-width : 768px) {

        .featured-post {
            display: flex;
        }

        .featured-post__image {
            width: 70%;
            display: inline-block;
        }
        .featured-post__content {
            width: 30%;
            display: inline-block;
        }

    }

    #posts-container .fusion-breadcrumbs,
    .single-post .fusion-breadcrumbs {
        margin-bottom: 1.5rem;
        font-size: 0.8rem;
    }

    .single-post .avada-page-titlebar-wrapper {
        display: none !important;
    }
