/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/*Global CSS*/
/*Top of Book Banner*/
.with-border-bottom {
    position: relative;
}
.with-border-bottom:before {
    content: "";
    background-image: url(img/book-top-border.png);
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 130px;
    z-index: 1;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/*Header*/
.fl-theme-builder-header-scrolled .top-header {
    display: none;
}
.fl-theme-builder-header-scrolled .bottom-header .fl-row-content-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
}
/*Top Header*/
.top-header p {
    margin: 0 !important;
}
.top-header .header-connect .fl-rich-text {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: right;
    -ms-flex-pack: right;
    justify-content: right;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
/*Bottom Header*/
/*Menu*/
.header-menu nav ul li:nth-child(7) a {
    color: #fff !important;
    background-color: #869732;
    padding: 15px 20px !important;
    margin-left: 20px;
    transition: all 0.5s ease;
}
.header-menu nav ul li:nth-child(7) a:hover {
    background-color: #343d60;
}

/*Home Page*/
.schedule-appointment-block > .fl-row-content-wrap:after {
    mix-blend-mode: multiply;
}

/*About Page*/
/*Sidebar*/
.sidebar-col {
    position: relative;
}
.sidebar-col .sidebar-head {
    position: absolute;
    top: 330px;
    right: 0;
    width: 420px;
}
.sidebar-col .sidebar-btn {
    position: absolute;
    top: 630px;
    right: -10px;
    width: 100%;
}
.sidebar-col .sidebar-testimonial .fl-module-photo {
    float: left;
    margin-right: 20px;
}

/*Blog Posts*/
.blog-posts .fl-post-grid-post {
    border: none;
}
.blog-posts img {
    height: 280px !important;
    object-fit: cover;
    /* height: auto !important;*/
}
.blog-posts img,
.blog-posts .fl-post-grid-post {
    border-radius: 0 50px 0 0;
}
.blog-posts .fl-post-grid-text {
    padding: 0;
}
body.page-id-45 .blog-posts .fl-post-grid-text {
    background-color: #f4f7e6;
}
.blog-posts .fl-post-grid-text .fl-post-grid-title {
    display: none;
}
.blog-posts .fl-post-grid-text .fl-post-grid-meta {
    padding: 20px;
    background-color: #343d60;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.blog-posts .fl-post-grid-text a.fl-post-grid-more {
    background-color: #869732;
    color: #fff;
    padding: 10px 30px;
    transition: all 0.5s ease;
    margin-top: 20px;
}
.blog-posts .fl-post-grid-text a.fl-post-grid-more:hover {
    background-color: #343d60;
}

/*About Page*/
.vid-col {
    position: relative;
}
.play-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

/*Contact Form*/
body .gform_wrapper ul li.gfield {
    margin-top: 0px;
}

body .gform_wrapper input,
body .gform_wrapper select,
body .gform_wrapper textarea {
    padding: 10px 20px !important;
    color: #000;
    border-radius: 0;
}
body .gform_wrapper input::placeholder,
body .gform_wrapperselect::placeholder,
body .gform_wrapper textarea::placeholder {
    color: #000;
}
body .gform_wrapper textarea {
    height: 100px !important;
}
body .gform_wrapper .gform_footer {
    text-align: center;
}
body .gform_wrapper .gform_footer input[type="submit"] {
    padding: 15px 50px !important;
    transition: all 0.5s ease;
}

/*Footer*/
footer a {
    transition: all 0.5s ease;
}
footer a:hover {
    text-decoration: none;
    color: #869732 !important;
}
/*Bottom Footer*/
.bottom-footer .fl-row-content-wrap {
    border-top: 1px solid #d6d6d6;
    border-bottom: 10px solid #869732;
}
/*Social Icons*/
.site-social-icons .fab {
    border: 2px solid #d6d6d6;
    padding: 8px;
    border-radius: 100%;
}

/*Top Top Icon*/
.to-top {
    position: fixed;
    right: 0;
    bottom: 20px;
    z-index: 99999999;
}
.to-top .fas {
    color: #fff;
    background-color: rgba(52, 61, 96, 0.6);
    width: 50px;
    height: 50px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    transition: all 0.5s ease;
}
.to-top .fas:hover {
    background-color: rgba(52, 61, 96, 1);
    cursor: pointer;
}

body .gform_wrapper ul li.gfield {
    margin-top: 0 !important;
}

body #gform_wrapper_2 input,
body #gform_wrapper_2 textarea {
    border: 1px solid;
}
body .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type="text"] {
    margin-bottom: 0;
}

.single h2 {
    font-size: 35px;
}


@media screen and (max-width: 1440px) {
    /*Header*/
    .bottom-header .menu a {
        padding-left: 15px;
    }
}
@media screen and (max-width: 1199px) {
    p {
        font-size: 16px !important;
    }
    /*Header*/
    .bottom-header .header-logo {
        width: 30%;
    }
    .bottom-header .header-menu {
        width: 70%;
    }
    .header-connect .fl-node-6137e911123c3 {
        width: 70%;
    }
    .header-connect .fl-node-6137e911123d3 {
        width: 30%;
    }
    /*Home Page*/
    /*Banner*/
    .home-banner .fl-row-content-wrap {
        padding-top: 200px;
        padding-bottom: 150px;
    }
    /*About Page*/
    /*Sidebar*/
    .sidebar-col .sidebar-head {
        top: 250px;
        right: 10px;
        width: 350px;
    }
    .sidebar-col .sidebar-btn {
        top: 520px;
    }
    /*Book Border*/
    .with-border-bottom:before {
        height: 105px;
    }
    /*Blog Posts*/
    /*.fl-post-grid-post {
            width: 100% !important;
        }
        .fl-post-grid {
            width: 100% !important;
        }*/
    /*Contact Form*/
    .contact-form .fl-row-content-wrap {
        padding-top: 60px;
        padding-bottom: 160px;
    }
    .contact-form .fl-col .fl-col-content {
        padding: 50px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    h1 {
        font-size: 45px !important;
    }
    h2 {
        font-size: 40px !important;
    }
    h3 {
        font-size: 30px !important;
    }
    h4 {
        font-size: 25px !important;
    }
    h5 {
        font-size: 18px !important;
    }

    .our-testimonials .fl-module-content .fl-icon i:before {
        font-size: 21px;
    }
}
@media screen and (max-width: 1024px) {
    /*Header*/
    .top-header p {
        font-size: 12px !important;
    }
    .top-header .site-social-icons .fab {
        padding: 5px;
    }
    .bottom-header .menu li a {
        padding: 10px !important;
    }
    .bottom-header nav ul li:nth-child(7) a {
        margin-left: 0;
    }
    /*About Page*/
    /*Sidebar*/
    .sidebar-col .sidebar-head {
        top: 550px;
        right: 250px;
        width: 450px;
    }
    .sidebar-col .sidebar-btn {
        top: 750px;
    }
    /*Blog Posts*/
    .fl-post-grid-image img {
        height: 300px !important;
        object-fit: cover;
    }
}
@media screen and (max-width: 768px) {
    /*Header*/
    .site-social-icons .fab {
        padding: 5px;
    }
    /*Book Border*/
    .with-border-bottom:before {
        height: 80px;
    }
    /*Contact Form*/
    .contact-form .fl-col .fl-col-content {
        padding: 25px 50px 10px 50px;
    }
    /*About Page*/
    /*Sidebar*/
    .sidebar-col .sidebar-head {
        right: 150px;
    }
    .sidebar-col .sidebar-btn {
        right: 0px;
    }
    /*Footer*/
    /*Bottom Footer*/
    .bottom-footer .menu li a {
        text-align: center;
    }
    /*To Top Icon*/
    .to-top .fa-angle-up {
        font-size: 18px !important;
        width: 30px;
        height: 35px;
    }
}
@media screen and (max-width: 540px) {
    /*About Page*/
    /*Text*/
    .about-page-txt img {
        margin: 20px 0 30px 0;
    }
    /*Sidebar*/
    .sidebar-col .sidebar-head {
        right: 35px;
    }
}
@media screen and (max-width: 425px) {
    /*h1 {
        font-size: 40px !important;
    }
    h2 {
        font-size: 35px !important;
    }
    h3 {
        font-size: 25px !important;
    }
    h4 {
        font-size: 20px !important;
    }
    h5 {
        font-size: 17px !important;
    }
    p,
    a.fl-button{
        font-size: 15px !important;
    }*/
    /*Header*/
    .top-header p {
        font-size: 10px !important;
    }
    .top-header .site-social-icons .fab {
        font-size: 10px !important;
        padding: 3px;
    }
    .top-header .site-social-icons .fab::before {
        font-size: 10px !important;
    }
    /* Home Banner*/
    /*.home-banner .fl-row-content-wrap {
        padding-top: 50px !important;
        padding-bottom: 90px !important;
    }*/
    /*About Page*/
    /*Sidebar*/
    .sidebar-col .sidebar-head {
        top: 420px;
        right: 10px;
        width: 380px;
    }
    .sidebar-col .sidebar-btn {
        top: 580px;
    }
}
@media screen and (max-width: 375px) {
    /*About Page*/
    /*Sidebar*/
    .sidebar-col .sidebar-head {
        top: 370px;
        right: 0px;
        width: 340px;
    }
    .sidebar-col .sidebar-btn {
        top: 520px;
    }
    /*Contact Form*/
    .contact-form .fl-col .fl-col-content {
        padding: 25px 20px 10px 20px;
    }
    .contact-form .gform_footer input[type="submit"] {
        padding: 10px 50px !important;
    }
}
@media screen and (max-width: 320px) {
    /*About Page*/
    /*Sidebar*/
    .sidebar-col .sidebar-head {
        top: 250px;
        right: 10px;
        width: 270px;
    }
    .sidebar-col .sidebar-btn {
        top: 440px;
        right: 15px;
        width: 90%;
    }
}

