/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*--------------------------
*           Index          *
----------------------------
* 1. Global                *
*    1.1 Header            *
*    1.2 Footer            *
* 2. Home-page             *
* 3. Sub-page              *
*    3.1 Sidebar           *
* 4. Responsive            *
--------------------------*/

/*--------------------------
*        1. Global         *
--------------------------*/

html body .awb-menu__main-background-active {
    border: none;
}

/* Don't let phone number links wrap */
a[href^="tel:"], a[href^="tel+"] {
    white-space: nowrap;
}

html body .post-content p {
    line-height: 28px;
    margin-bottom: 15px;
}

html body a {
    font-weight: 600;
    color: #15B99B;
}

html body a:hover {
    color: #273e8d;
}

html .pmax-home-icons .fusion-imageframe, html .pmax-home-icons .fusion-imageframe img, html .form_saved_message input[type=submit], .pmax-video-portfolio .awb-lightbox img, .pmax-video-testimonials .awb-lightbox img {
    transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
}

/* Hidden Links */
html body a.hide-link, body html a.hide-link:hover {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    cursor: text;
}

/* Remove default appearance for iOS/Safari forms */
input[type="button"], input[type="submit"], input[type="reset"] {
    -webkit-appearance: none !important;
}

html body #wrapper .post-content h1 {
    font-size: 45px;
    line-height: 55px;
    margin: 0 0 20px;
}

html body #wrapper .post-content h2 {
    font-size: 36px;
    line-height: 46px;
    margin: 0 0 20px;
}

html body #wrapper .post-content h3 {
    font-size: 32px;
    line-height: 42px;
    margin: 0 0 20px;
    color: #20A09C;
}

html body #wrapper .post-content h4 {
    font-size: 28px;
    line-height: 38px;
    margin: 0 0 20px;
}

html body #wrapper .post-content h5 {
    font-size: 24px;
    line-height: 34px;
    margin: 0 0 20px;
    color: #20A09C;
}

html body #wrapper .post-content h6 {
    font-size: 20px;
    line-height: 30px;
    margin: 0 0 20px;
}

html body #wrapper .post-content .pmax-contact-form .fusion-tabs h4 {
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    padding: 0 10px 5px;
}

/* 1.1 Header */

.pmax-logo-container .fusion-imageframe img {
    max-width: 200px;
}

.pmax-header-phone a {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
}

.pmax-header .fa-bars:before {
    content: "\f550";
}

html body .fusion-tb-header .pmax_sub-header-cta a {
    background-color: #273e8d;
    color: #fff !important;
    padding: 10px 16px;
    border: 1px solid #273e8d;
    border-radius: 5px;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

html body .fusion-tb-header .pmax_sub-header-cta a:hover {
    color: #273e8d !important;
    background-color: #f8f8f8;
    border: 1px solid #273e8d;
}

/* 1.2 Footer */

html body .pmax-footer p, html body .pmax-footer p a {
    font-weight: 400;
    color: #fff;
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 28px;
}

.pmax-footer a.fusion-button {
    text-align: center;
}

html body .pmax-footer p a:hover {
    font-weight: 400;
    color: #15B99B;
}

html body .pmax-footer p .pmax-footer-social {
    padding-left: 10px;
}

html body .pmax-footer p .pmax-footer-social a {
    font-size: 28px;
    line-height: 38px;
    padding: 0 5px;
}

.pmax-footer .fusion-separator {
    margin: 5px 0 15px;
}

/*------------------------
*      2. Home-page      *
-------------------------*/

.pmax-home-services .fusion-imageframe img {
    border-radius: 10px 10px 0 0;
}

.pmax-home-services .fusion-reading-box-container .reading-box {
    border-radius: 0 0 10px 10px;
}

#wrapper .post-content .pmax-home-services .fusion-reading-box-container .reading-box h2, #wrapper .post-content .pmax-home-services .fusion-reading-box-container .reading-box h2 a {
    font-size: 22px;
    line-height: 30px;
    color: #fff;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: -.04em;
}

#wrapper .post-content .pmax-home-services .fusion-reading-box-container .reading-box h2 a:hover {
    color: #273E8D;
}

.pmax-home-services .fusion-reading-box-container .reading-box-additional p {
    font-size: 18px;
    color: #fff;
}

.pmax-testimonial-header .fusion-button:nth-of-type(1) {
    margin-right: 15px;
    margin-bottom: 5px;
}

html body #wrapper .post-content .pmax-testimonial-header h2, html body #wrapper .post-content .pmax-home-services h2 {
    color: #fff;
}

html body #wrapper .post-content .pmax-home-testimonials h3 {
    font-size: 30px;
    line-height: 36px;
}

html body #wrapper .post-content .pmax-home-testimonials h4 {
    font-size: 20px;
    line-height: 26px;
}

.pmax-home-testimonials .hide-image {
    display: none;
    margin: 0;
    padding: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    opacity: 0;
}

.pmax-home-testimonials .fusion-layout-column.testimonial-block {
    min-height: 500px;
}

.pmax-home-testimonials .fusion-layout-column.testimonial-block .fusion-column-inner-bg-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: -o-linear-gradient(bottom, rgba(32, 160, 156, 1) 0%, rgba(255, 255, 255, 0) 70%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 160, 156, 1)), color-stop(70%, rgba(255, 255, 255, 0)));
    background: linear-gradient(0deg, rgba(32, 160, 156, 1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    border-radius: 10px;
}

html body #wrapper .post-content .pmax-home-blog h2 {
    font-size: 38px;
    line-height: 48px;
}

html .pmax-home-icons .fusion-imageframe {
    padding: 30px;
    border-radius: 100%;
    width: 130px;
    display: block;
    margin: 0 auto 20px;
    -webkit-box-shadow: 0 0 10px 0 rgba(68, 68, 68, 0.4);
    box-shadow: 0 0 10px 0 rgba(68, 68, 68, 0.4);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(1) .fusion-imageframe {
    background: rgba(21, 185, 155, 0.1);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(1) .fusion-imageframe:hover {
    background: #15B99B;
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(2) .fusion-imageframe {
    background: rgba(33, 86, 147, 0.1);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(2) .fusion-imageframe:hover {
    background: #215693;
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(3) .fusion-imageframe {
    background: rgba(32, 160, 156, 0.1);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(3) .fusion-imageframe:hover {
    background: #20A09C;
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(4) .fusion-imageframe {
    background: rgba(32, 124, 154, 0.1);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(4) .fusion-imageframe:hover {
    background: #207C9A;
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(1) .fusion-imageframe img {
    filter: invert(21%) sepia(15%) saturate(6253%) hue-rotate(208deg) brightness(95%) contrast(94%);
    -ms-filter: 'invert(21%) sepia(15%) saturate(6253%) hue-rotate(208deg) brightness(95%) contrast(94%)';
    -webkit-filter: invert(21%) sepia(15%) saturate(6253%) hue-rotate(208deg) brightness(95%) contrast(94%);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(2) .fusion-imageframe img {
    filter: invert(51%) sepia(87%) saturate(1097%) hue-rotate(129deg) brightness(95%) contrast(84%);
    -ms-filter: 'invert(51%) sepia(87%) saturate(1097%) hue-rotate(129deg) brightness(95%) contrast(84%)';
    -webkit-filter: invert(51%) sepia(87%) saturate(1097%) hue-rotate(129deg) brightness(95%) contrast(84%);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(3) .fusion-imageframe img {
    filter: invert(24%) sepia(50%) saturate(2049%) hue-rotate(191deg) brightness(90%) contrast(82%);
    -ms-filter: 'invert(24%) sepia(50%) saturate(2049%) hue-rotate(191deg) brightness(90%) contrast(82%)';
    -webkit-filter: invert(24%) sepia(50%) saturate(2049%) hue-rotate(191deg) brightness(90%) contrast(82%);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(4) .fusion-imageframe img {
    filter: invert(39%) sepia(14%) saturate(4120%) hue-rotate(157deg) brightness(92%) contrast(75%);
    -ms-filter: 'invert(39%) sepia(14%) saturate(4120%) hue-rotate(157deg) brightness(92%) contrast(75%)';
    -webkit-filter: invert(39%) sepia(14%) saturate(4120%) hue-rotate(157deg) brightness(92%) contrast(75%);
}

html .pmax-home-icons .pmax-icon-block:nth-of-type(1) .fusion-imageframe:hover img, html .pmax-home-icons .pmax-icon-block:nth-of-type(2) .fusion-imageframe:hover img, html .pmax-home-icons .pmax-icon-block:nth-of-type(3) .fusion-imageframe:hover img, html .pmax-home-icons .pmax-icon-block:nth-of-type(4) .fusion-imageframe:hover img {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
    -ms-filter: 'invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%)';
    -webkit-filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.pmax-home-blog .fusion-text p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pmax-home-blog .fusion-post-cards .fusion-title.fusion-title-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 120px;
}

/* Before After Video */

.before-after-video {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: transparent url("/wp-content/uploads/2022/12/west-michigan-dental-marketing-company.png") 50% no-repeat;
    background-size: contain;
    padding: 1% 1.5% 14.5%;
    top: 0;
    left: 0;
    position: relative;
    margin-top: 40px;
}

.before-after-video video {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 3% 3% 4%;
}

/* End Before After Video */

/* Video iFrame Banner Styles */

.pmax-banner-text {
    position: absolute;
    top: 68%;
    left: 100px;
    width: 100%;
    z-index: 999;
}

html body #wrapper .post-content .pmax-banner h2 {
    color: rgba(255, 255, 255, 0.8);
    line-height: 78px;
    font-weight: 700;
    font-size: 72px;
    margin-bottom: 10px;
    margin-top: 0;
}

.pmax-hero-buttons {
    margin-top: 40px;
}

.pmax-hero-buttons a.hero-button {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    border-radius: 4px;
}

.pmax-hero-buttons a.hero-button:hover {
    background: #fff;
    color: #273E8D;
}

.pmax-hero-buttons a.hero-button:nth-of-type(1) {
    cursor: pointer;
    -webkit-animation: glowing 1500ms infinite;
    animation: glowing 1500ms infinite;
    margin-right: 20px;
}

@-webkit-keyframes glowing {
    0% {
        -webkit-box-shadow: 0 0 2px #f2f2f2;
    }
    50% {
        -webkit-box-shadow: 0 0 10px #fff;
    }
    100% {
        -webkit-box-shadow: 0 0 2px #f2f2f2;
    }
}

@keyframes glowing {
    0% {
        -webkit-box-shadow: 0 0 2px #f2f2f2;
    }
    50% {
        -webkit-box-shadow: 0 0 10px #fff;
    }
    100% {
        -webkit-box-shadow: 0 0 2px #f2f2f2;
    }
}

.pmax-banner-video .video-wrapper:before {
    /*content: '';*/
    /*position: absolute;*/
    /*height: 100%;*/
    /*width: 100%;*/
    /*top: 0;*/
    /*left: 0;*/
    /*bottom: 0;*/
    /*right: 0;*/
    /*z-index: 11;*/
    /*background: rgb(39,62,141,.2);*/
    /*background: linear-gradient(0deg, rgba(21,185,155,0.3) 0%, rgba(39,62,141,0.3) 100%);*/
    /*visibility: visible;*/
    /*overflow: hidden;*/
    /*transition: all ease-in-out;*/
}

@media (max-width: 1200px) {
    html body #wrapper .post-content .pmax-banner h2 {
        font-size: 60px;
        line-height: 68px;
    }

    .pmax-hero-buttons {
        margin-top: 30px;
    }

    .pmax-hero-buttons a.hero-button {
        padding: 10px 20px;
    }
}

@media (max-width: 1024px) {
    .pmax-banner-text {
        top: 65%;
        left: 50px;
    }

    html body #wrapper .post-content .pmax-banner h2 {
        font-size: 50px;
        line-height: 58px;
    }

    .pmax-hero-buttons {
        margin-top: 20px;
    }

    .fusion-body .pmax-banner .fusion-builder-column-2,
    .fusion-body .pmax-banner div[class^="fusion-builder-column-"] {
        width: 100% !important;
    }

    .pmax-banner .fusion-builder-column-2 > .fusion-column-wrapper,
    .pmax-banner div[class^="fusion-builder-column-"] > .fusion-column-wrapper {
        margin-right: 0;
        margin-left: 0;
    }

    #wrapper .post-content .pmax-home-services .fusion-reading-box-container .reading-box h2, #wrapper .post-content .pmax-home-services .fusion-reading-box-container .reading-box h2 a {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 999px) {
    html body.page-id-3483 #wrapper .post-content .pmax-banner h2,
    html body.pmax-full-width-hero #wrapper .post-content .pmax-banner h2 {
        font-size: 30px;
        line-height: 38px;
    }
}

@media (max-width: 767px) {
    html body #wrapper .post-content .pmax-banner h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .pmax-hero-buttons a.hero-button {
        padding: 5px 10px;
        font-size: 16px;
        letter-spacing: 0;
        font-weight: 500;
    }

    .pmax-banner-text {
        top: 62%;
        left: 25px;
    }

    .pmax-home-services .fusion-reading-box-container .reading-box.reading-box-center {
        min-height: auto;
    }
}

@media (max-height: 750px) and (min-width: 1025px) {
    .pmax-banner-text {
        top: 60%;
    }
}

@media (max-width: 550px) {
    html body #wrapper .post-content .pmax-banner h2,
    html body.page-id-3483 #wrapper .post-content .pmax-banner h2,
    html body.pmax-full-width-hero #wrapper .post-content .pmax-banner h2 {
        font-size: 20px;
        line-height: 26px;
    }

    html body.page-id-3483 #wrapper .post-content .pmax-banner h2,
    html body.pmax-full-width-hero #wrapper .post-content .pmax-banner h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .pmax-banner-text {
        top: 55%;
        text-align: center;
    }

    .pmax-hero-buttons {
        margin-top: 10px;
    }

    .short-btn {
        display: none;
    }
}

/* End Video Banner Styles */

/*------------------------
*      3. Sub-page       *
------------------------*/
/* ol.ol-h4 used on blog post */
ol.ol-h4 {
    font-size: 25px;
    line-height: 38px;
    margin: 0;
    padding: 0 0 0 33px;
    font-weight: 700;
}

.pmax-fusion-lightbox-in-text {
    display: inline-block;
    max-width: 50%;
    float: right;
    margin: 35px 0 25px 25px;
}

.pmax-inner-text img,
.pmax-inner-text a[rel="iLightbox"]:not(.fusion-button),
.pmax-blog-text a[target="lightbox"]:not(.fusion-button) {
    border-radius: 10px;
}

html .pmax-page-boxes .pmax-box-container blockquote p {
    color: #273E8D;
    font-weight: 600;
}

.pmax-page-boxes .fusion-testimonials.classic .company-name {
    color: #fff;
    font-size: 22px;
    line-height: 28px;
}

.pmax-page-boxes .fusion-testimonials.classic .author {
    padding: 30px 0 0 2px;
}

.pmax-page-boxes .pmax-box-container {
    min-height: 550px;
}

html #wrapper .pmax-page-boxes .pmax-box-container h3 {
    font-size: 34px;
    line-height: 44px;
    margin: 0 0 15px;
    color: #fff;
}

html .pmax-page-boxes .pmax-box-container p, html .pmax-page-boxes .pmax-box-container p a {
    color: #fff;
    font-size: 17px;
    line-height: 25px;
}

html .pmax-page-boxes .pmax-box-container p a:hover {
    color: #273E8D
}

.fusion-body .pmax-box-video {
    margin-top: -30px !important;
}

.pmax-box-video img {
    border-radius: 10px;
}

.pmax-ortho-page .awb-lightbox img {
    width: 100%;
}

.pmax-blog-text p {
    text-wrap-style: pretty;
}

.pmax-box-video a.fusion-column-anchor,
.pmax-box-video .fusion-imageframe,
.pmax-inner-text a[rel="iLightbox"],
.pmax-inner-text .awb-lightbox,
.pmax-blog-text a[target="lightbox"],
.pmax-video-portfolio .awb-lightbox,
.pmax-video-testimonials .awb-lightbox,
.pmax-ortho-page .awb-lightbox {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.pmax-box-video a.fusion-column-anchor:before,
.pmax-inner-text a[rel="iLightbox"]:not(.fusion-button):before,
.pmax-inner-text .awb-lightbox:before,
.pmax-blog-text a[target="lightbox"]:not(.fusion-button):before,
.pmax-inner-text.pmax-video-portfolio .awb-lightbox:before,
.pmax-inner-text.pmax-video-testimonials .awb-lightbox:before,
.pmax-ortho-page .awb-lightbox:before {
    position: absolute;
    top: 80%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    content: "\f144";
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-size: 80px;
    color: #15B99B;
    text-shadow: 0 0 10px #fff;
    z-index: 5;
}

html body.single .pmax-blog-text .pmax_blog-buttons {
    max-width: 265px;
}

html body.single .pmax-blog-text .pmax_blog-buttons:has(i) {
    max-width: 300px;
}

.pmax-blog-text a[target="lightbox"]:not(.fusion-button):before {
    left: auto;
    right: 0;
}

.pmax-inner-text.pmax-tookit-confirmation a[rel="iLightbox"]:before {
    content: none;
}

.pmax-inner-text.pmax-video-portfolio .awb-lightbox:before {
    top: 85%;
    left: 11%;
    text-shadow: 0 0 3px #fff;
}

.pmax-inner-text.pmax-video-testimonials .awb-lightbox:before {
    top: 80%;
    left: 88%;
    text-shadow: 0 0 3px #444;
}

.pmax-inner-text a[rel="iLightbox"]:before, .pmax-inner-text .awb-lightbox:before, .pmax-blog-text a[target="lightbox"]:before {
    left: 90%;
    top: 85%;
    text-shadow: 0 0 10px rgba(68, 68, 68, 0.5);
    font-size: 60px;
}

.pmax-ortho-page .awb-lightbox:before {
    left: 90%;
    top: 85%;
    text-shadow: 0 0 10px rgba(68, 68, 68, 0.5);
    font-size: 120px;
}

.pmax-box-video a.fusion-column-anchor:hover:before, .pmax-inner-text a[rel="iLightbox"]:hover:before, .pmax-inner-text .awb-lightbox:hover:before, .pmax-blog-text a[target="lightbox"]:hover:before, .pmax-video-portfolio .awb-lightbox:hover:before, .pmax-video-testimonials .awb-lightbox:hover:before, .pmax-ortho-page .awb-lightbox:hover:before {
    color: #207C9A;
}

.pmax-box-video .fusion-imageframe:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(33, 86, 147, .2);
    background: -o-linear-gradient(bottom, rgba(33, 86, 147, 0.8) 0%, rgba(255, 255, 255, 0) 50%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(33, 86, 147, 0.8)), color-stop(50%, rgba(255, 255, 255, 0)));
    background: linear-gradient(0deg, rgba(33, 86, 147, 0.8) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 99;
    border-radius: 10px;
}

.example-btn {
    padding: 20px 0;
}

.example-btn a {
    padding: 15px 25px;
    background: #15B99B;
    color: #fff;
    border-radius: 4px;
    margin-left: 10px;
}

.example-btn a:hover {
    background: #273E8D;
    color: #fff;
}

.pmax-contact-icons .pmax-contact-social {
    text-align: center;
}

.pmax-contact-icons .pmax-contact-social a {
    font-size: 30px;
    padding: 0 5px;
}

.pmax-contact-icons .contact-icon-row .fusion-layout-column .fusion-content-layout-column {
    min-height: 380px;
}

html body .post-content p.gform_required_legend {
    display: none;
}

html .gform_wrapper .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), html .gform_wrapper.gravity-theme textarea, html .gform_wrapper.gravity-theme .ginput_container.ginput_container_select {
    border-bottom: 2px solid #20A09C;
    -webkit-box-shadow: 0 0 2px 0 #273E8D;
    box-shadow: 0 0 2px 0 #273E8D;
}

html .gform_wrapper.gravity-theme .gfield_label, html .gform_wrapper .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), html .gform_wrapper.gravity-theme textarea {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

html .gform_wrapper.gravity-theme .gfield_header_item {
    font-size: 18px;
    font-weight: 600;
}

html .gform_wrapper.gravity-theme textarea::-webkit-input-placeholder {
    color: #273E8D;
}

html .gform_wrapper.gravity-theme textarea::-moz-placeholder {
    color: #273E8D;
}

html .gform_wrapper.gravity-theme textarea:-ms-input-placeholder {
    color: #273E8D;
}

html .gform_wrapper.gravity-theme textarea::-ms-input-placeholder {
    color: #273E8D;
}

html .gform_wrapper.gravity-theme textarea, html .gform_wrapper.gravity-theme textarea::placeholder {
    color: #273E8D;
}

html .gform_wrapper.gravity-theme .gfield_label {
    padding: 10px 0;
}

html .gform_wrapper.gravity-theme .gfield input.gfield-choice-input {
    margin-bottom: 0;
    width: 20px;
    height: 20px;
}

html .gform_wrapper.gravity-theme .gfield_checkbox label, html .gform_wrapper.gravity-theme .gfield_radio label {
    font-size: 16px;
    line-height: 22px;
    margin: 6px 0;
    font-weight: 500;
    color: #215693;
}

html .gform_wrapper {
    margin-bottom: 20px;
}

html .gform_confirmation_message, html .form_saved_message_sent {
    text-align: center;
    color: #fff;
    background-color: #20A09C;
    padding: 10px;
    border-radius: 4px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    -webkit-box-shadow: 0 0 2px 0 #273E8D;
    box-shadow: 0 0 2px 0 #273E8D;
}

html .gform_wrapper .gform_footer img.gform_ajax_spinner, html .gform_ajax_spinner {
    width: 50px;
    padding-left: 15px;
}

html .page-id-2934 .gform_ajax_spinner {
    position: relative;
    top: 10px;
}

html .gform_wrapper .gfield_required {
    color: #c02b0a;
}

html .gform_wrapper .gform_button, html .gform_wrapper .gform_page_footer input[type=button] {
    padding: 10px 20px;
    line-height: 26px;
    font-size: 18px;
}

html .gform_wrapper.gravity-theme .gf_progressbar_title {
    color: #273E8D;
    font-size: 16px;
}

html .gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
    background-color: #15B99B;
}

html #main .gform_wrapper .gfield_error .gfield_validation_message, html .gform_wrapper .gfield_error .gfield_validation_message, html .gform_wrapper .gform_validation_errors {
    color: #c02b0a;
    background: #fff9f9;
    border-color: #c02b0a;
}

html .gform_wrapper .gfield_error label {
    color: #c02b0a;
}

html .pmax-intake-form img.gform_ajax_spinner {
    position: relative;
    top: 20px;
    width: 50px;
    padding-left: 15px;
}

html .form_saved_message {
    text-align: center;
}

html .form_saved_message input[type=submit] {
    margin: 20px auto 0;
    color: #fff;
    background-color: #273E8D;
    border: none;
    padding: 12px 20px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    border-radius: 4px;
    width: 200px;
    cursor: pointer;
}

html .form_saved_message input[type=submit]:hover {
    background-color: #15B99B;
}

html .gform_wrapper.gravity-theme .form_saved_message .gform_fields {
    display: block;
}

.pmax-inner-text .in-text-img img {
    width: 45%;
    float: right;
    margin: 10px 0 20px 30px;
}

.pmax-inner-text .in-text-img:nth-of-type(2) img, .pmax-inner-text .in-text-img:nth-of-type(4) img, .pmax-inner-text .in-text-img:nth-of-type(6) img, .pmax-inner-text .in-text-img:nth-of-type(8) img, .pmax-inner-text .pmax-second-text .in-text-img img {
    float: left;
    margin: 10px 30px 20px 0;
}

.post-template-default.fusion-body #wrapper .fusion-title h1 {
    font-size: clamp(36px, 3vw, 72px);
    line-height: 1.2;
    text-wrap-style: balance;
}

.page-id-3180 .ilightbox-holder .ilightbox-inner-toolbar {
    display: none;
}

html body #wrapper .post-content .pmax-web-portfolio h4 {
    font-size: 24px;
    line-height: 34px;
    margin: 20px 0 0;
}

.pmax-web-portfolio .fusion-image-wrapper .fusion-rollover, .pmax-web-portfolio .fusion-image-wrapper:hover .fusion-rollover, .pmax-web-portfolio .fusion-portfolio-content-wrapper .fusion-image-wrapper {
    border-radius: 10px;
}

.pmax-video-portfolio .awb-lightbox:hover img, .pmax-video-testimonials .awb-lightbox:hover img {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

.pmax-blog-page .fusion-grid-posts-cards .fusion-column-wrapper {
    background-color: #f7f7f7;
}

.pmax-blog-page .fusion-grid-posts-cards h4.title-heading-center {
    font-size: 24px !important;
    line-height: 32px !important;
    min-height: 120px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.pmax-blog-page .fusion-grid-posts-cards .fusion-text p, .pmax-inner-text .reading-box-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pmax-team-page .fusion-person .person-desc {
    padding: 20px 10px !important;
}

.pmax-team-page .fusion-person .person-desc .person-author .person-title {
    font-size: 20px;
    margin-top: 10px;
    color: #15b99b;
}

.pmax-inner-text.pmax-home-services a {
    color: #fff;
}

.pmax-inner-text.pmax-home-services a:hover {
    color: #2a596a;
}

.pmax-inner-text .reading-box-description {
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}

.pmax-inner-text .reading-box-additional {
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    margin-top: 10px;
}

.pmax-inner-text.pmax-home-services .fusion-imageframe {
    -webkit-box-shadow: 0 0 4px 0 #444;
    box-shadow: 0 0 4px 0 #444;
    border-radius: 10px 10px 0 0;
}

.pmax-inner-text.pmax-home-services .fusion-imageframe img {
    margin: 0;
}

.pmax-full-width-hero #main,
.page-id-3483 #main,
.page-id-3842 #main,
.page-id-3246 #main,
.page-id-4248 #main{
    padding-top: 0;
}

.ortho-btn a {
    width: 100%;
}

.inner-header-phone a[href^="tel:"] {
    border: 2px solid #273e8d;
    border-radius: 4px;
    padding: 10px 15px !important;
}

.inner-header-phone a[href^="tel:"]:hover {
    background-color: #f7f7f7;
}

.page-id-1476 .pmax-page-boxes, .page-id-3452 .pmax-page-boxes, .page-id-1178 .pmax-page-boxes, .page-id-588 .pmax-page-boxes, .page-id-2934 .pmax-page-boxes, .page-id-3469 .pmax-page-boxes, .page-id-3474 .pmax-page-boxes, .page-id-3180 .pmax-page-boxes, .page-id-3246 .pmax-page-boxes, .page-id-3270 .pmax-page-boxes {
    display: none;
    visibility: hidden;
    opacity: 0;
}

.pmax-blog-page .fusion-post-cards ul.fusion-filters {
    display: flex;
}

.pmax-blog-page .fusion-post-cards ul.fusion-filters li.fusion-filter,
.pmax-blog-page .fusion-post-cards ul.fusion-filters li.fusion-filter.fusion-hidden {
    display:list-item;
}

/*------------------------
*      4. Responsive     *
------------------------*/
@media (max-width: 1449px) {
    @media (min-width: 1025px) {
        html body .awb-menu__main-li {
            margin-right: 0;
            margin-left: 0;
            font-size: 14px;
        }

        html body .fusion-tb-header .pmax_sub-header-cta a {
            font-size: 14px;
            line-height: 1.4;
            text-align: center;
            padding: 8px;
        }
    }
}

@media (max-width: 1350px) {
    .pmax-home-blog .fusion-post-cards .fusion-title.fusion-title-text {
        min-height: 140px;
    }
}

@media (max-width: 1249px) {
    @media (min-width: 769px) {
        html body.single .pmax-blog-text .pmax_blog-buttons {
            width: 100%;
            max-width: 100% !important;
            margin: 0;
        }

        html body.single .pmax-blog-text .pmax_blog-buttons a {
            display: block;
            width: 100%;
            text-align: center;
        }
    }

    @media (min-width: 1025px) {
        html body .awb-menu__main-li > a {
            padding-right: 5px;
            padding-left: 5px;
        }
    }
}

@media (max-width: 1220px) {
    .pmax-home-services .fusion-reading-box-container .reading-box.reading-box-center {
        min-height: 120px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    .pmax-home-testimonials .fusion-layout-column.testimonial-block {
        min-height: 400px;
    }

    html body #wrapper .post-content .pmax-home-testimonials h3 {
        font-size: 24px;
        line-height: 30px;
    }

    html body #wrapper .post-content .pmax-home-testimonials h4 {
        font-size: 18px;
        line-height: 22px;
    }

    .post-content .pmax-home-testimonials p {
        font-size: 16px;
    }

    .pmax-home-blog .fusion-post-cards .fusion-title.fusion-title-text {
        min-height: 180px;
    }

    .fusion-body .pmax-footer a.fusion-button.button-7 {
        font-size: 16px;
        padding: 10px;
    }

    .pmax-page-boxes .pmax-box-container {
        min-height: 690px;
    }

    html body .pmax-footer p .pmax-footer-social {
        padding-left: 0;
        display: block;
    }

    .pmax-blog-page .fusion-grid-posts-cards h4.title-heading-center {
        min-height: 130px;
    }
}

@media (max-width: 1024px) {
    .pmax-home-blog .fusion-post-cards .fusion-grid, .pmax-page-boxes .fusion-builder-row.fusion-row {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .pmax-home-blog .fusion-post-cards .fusion-title.fusion-title-text {
        min-height: 150px;
    }

    .fusion-body .pmax-page-boxes .fusion-layout-column {
        width: 100% !important;
    }

    .fusion-body .pmax-box-video {
        margin-top: 0 !important;
    }

    .pmax-page-boxes .pmax-box-container {
        min-height: auto;
    }

    .pmax-box-video .fusion-column-wrapper {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .pmax-box-video a.fusion-column-anchor:before {
        top: 80%;
    }

    .fusion-tb-page-title-bar .pmax-page-header h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .pmax-inner-text a[rel="iLightbox"]:before, .pmax-inner-text .awb-lightbox:before, .pmax-blog-text a[target="lightbox"]:before {
        left: 87%;
        top: 80%;
        font-size: 50px;
    }

    .pmax-footer-contact {
        text-align: center;
    }

    .pmax-footer .fusion-separator {
        margin: 5px auto 15px;
    }

    .pmax-inner-text.pmax-video-portfolio .awb-lightbox:before {
        font-size: 55px;
        top: 80%;
        left: 14%;
    }

    .pmax-inner-text.pmax-video-testimonials .awb-lightbox:before {
        top: 78%;
        left: 86%;
        font-size: 55px;
        right: auto;
    }

    .pmax-blog-page .fusion-post-cards ul.fusion-filters {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .pmax-blog-page .fusion-post-cards .fusion-filter {
        text-align: center;
    }
}

@media (max-width: 999px) {
    .pmax-home-testimonials .fusion-layout-column.testimonial-block {
        min-height: 350px;
    }

    html body #wrapper .post-content .pmax-home-testimonials h3 {
        font-size: 20px;
        line-height: 26px;
    }

    html body #wrapper .post-content .pmax-home-testimonials h4 {
        font-size: 16px;
        line-height: 22px;
    }

    .before-after-video video {
        padding: 3%;
    }

    .post-template-default.fusion-body #wrapper .fusion-title h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .pmax-blog-page .fusion-grid-posts-cards h4.title-heading-center {
        min-height: 160px;
    }

    .pmax-ortho-page .awb-lightbox:before {
        font-size: 80px;
    }

    .pmax-blog-text a[target="lightbox"]:not(.fusion-button):before {
        top: 70%;
    }
}

@media (max-width: 856px) {
    .pmax-blog-page .fusion-grid-posts-cards h4.title-heading-center {
        min-height: 130px;
    }
}

@media (max-width: 768px) {
    .pmax-home-blog .fusion-post-cards .fusion-title.fusion-title-text {
        min-height: auto;
    }

    html body.single .pmax-blog-text a.pmax-fusion-lightbox-in-text {
        float: none;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    html .awb-menu_icons-left .awb-menu__main-a {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        padding: 0 10px 0;
    }

    html body #wrapper .post-content h1, html .fusion-body #wrapper .fusion-title h1 {
        font-size: 36px;
        line-height: 46px;
        text-wrap-style: balance;
    }

    html body #wrapper .post-content h2 {
        font-size: 32px;
        line-height: 42px;
    }

    html body #wrapper .post-content h3 {
        font-size: 28px;
        line-height: 38px;
    }

    html body #wrapper .post-content h4 {
        font-size: 24px;
        line-height: 34px;
    }

    html body #wrapper .post-content h5 {
        font-size: 20px;
        line-height: 30px;
    }

    html body #wrapper .post-content h6 {
        font-size: 18px;
        line-height: 28px;
    }

    .pmax-logo-container .fusion-imageframe img {
        max-width: 100%;
        width: 100px;
    }

    html .fusion-body .fusion-flex-container.fusion-builder-row-1.pmax-header {
        padding-right: 10px;
        padding-left: 10px;
    }

    .fusion-body .fusion-menu-element-wrapper[data-count="0"] .fusion-menu-element-list > li:not(.fusion-menu-item-button).pmax-header-phone a {
        font-size: 16px;
        padding: 0 10px;
    }

    .fusion-body .fusion-menu-element-wrapper[data-count="0"] .fusion-menu-element-list > li:not(.fusion-menu-item-button).pmax-menu > a {
        padding: 0 5px;
    }

    .pmax-home-testimonials .fusion-layout-column.testimonial-block {
        min-height: 650px;
    }

    .pmax-inner-text img {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }

    .fusion-tb-page-title-bar .pmax-page-header h1 {
        font-size: 34px;
        line-height: 44px;
    }

    .pmax-inner-text a[rel="iLightbox"]:before, .pmax-inner-text .awb-lightbox:before, .pmax-blog-text a[target="lightbox"]:before {
        left: 86%;
        top: 73%;
        font-size: 45px;
    }

    .testimonial-intro-buttons div {
        display: block;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .pmax-testimonial-header .fusion-button:nth-of-type(1) {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .before-after-video {
        margin-top: 0;
    }

    .pmax-inner-text .in-text-img img, .pmax-inner-text .in-text-img:nth-of-type(2) img, .pmax-inner-text .in-text-img:nth-of-type(4) img, .pmax-inner-text .in-text-img:nth-of-type(6) img, .pmax-inner-text .in-text-img:nth-of-type(8) img .pmax-inner-text .pmax-second-text .in-text-img img {
        width: 100%;
        float: none;
        margin: 0 0 20px;
    }

    .pmax-web-portfolio .fusion-image-wrapper .fusion-rollover {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    .pmax-web-portfolio .fusion-image-wrapper .fusion-rollover {
        background-image: -o-linear-gradient(top, rgba(39, 62, 141, 0.1) 0, rgba(39, 62, 141, 0.8) 100%);
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(39, 62, 141, 0.1)), to(rgba(39, 62, 141, 0.8)));
        background-image: linear-gradient(to bottom, rgba(39, 62, 141, 0.1) 0, rgba(39, 62, 141, 0.8) 100%);
    }

    .pmax-inner-text.pmax-web-portfolio img, .pmax-inner-text.pmax-video-portfolio .awb-lightbox img, .pmax-inner-text.pmax-video-testimonials .awb-lightbox img, .pmax-team-page .fusion-person .person-shortcode-image-wrapper img {
        margin: 0;
    }

    html body #wrapper .post-content .pmax-web-portfolio h4 {
        font-size: 20px;
        line-height: 28px;
        margin: 10px 0 0;
    }

    .pmax-web-portfolio .fusion-rollover-content {
        position: relative;
        top: 20%;
    }

    .pmax-team-page .fusion-person .person-desc .person-author .person-name {
        font-size: 26px;
        line-height: 32px;
    }

    .pmax-team-page .fusion-person .person-desc {
        padding: 20px 10px 0 !important;
    }

    .pmax-ortho-page .awb-lightbox:before {
        font-size: 70px;
        top: 80%;
        left: 85%;
    }

    html body #wrapper .post-content .pmax-contact-form .fusion-tabs h4 {
        font-size: 16px;
        line-height: 24px;
        white-space: pre-wrap;
        padding: 0 5px;
    }
}

@media (max-width: 711px) {
    .pmax-blog-page .fusion-grid-posts-cards h4.title-heading-center {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    .example-btn a {
        margin-left: 0;
        display: block;
        margin-top: 20px;
        text-align: center;
        max-width: 200px;
    }

    html body.single .pmax-blog-text .pmax_blog-buttons {
        width: 100%;
        max-width: 100% !important;
        margin: 0;
    }

    html body.single .pmax-blog-text .pmax_blog-buttons a {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .before-after-video video {
        padding: 2.5%;
    }

    .pmax-blog-text a[target="lightbox"]:not(.fusion-button):before {
        top: 70%;
        left: 86%;
        font-size: 55px;
        right: auto;
    }
}

@media (max-width: 450px) {
    .pmax-logo-container .fusion-imageframe img {
        width: 75px;
        margin-top: 5px;
    }

    .fusion-flex-container.pmax-header .fusion-flex-justify-content-center {
        -webkit-box-pack: inherit;
        -ms-flex-pack: inherit;
        justify-content: inherit;
    }

    .pmax-home-testimonials .fusion-layout-column.testimonial-block {
        min-height: 400px;
    }

    html body .pmax-footer p .pmax-footer-social {
        display: block;
        padding-left: 0;
        padding-top: 10px;
    }

    html body .pmax-footer p, html body .pmax-footer p a {
        font-size: 16px;
        line-height: 26px;
    }

    .privacy-policy {
        display: block;
    }

    .pmax-inner-text a[rel="iLightbox"]:before, .pmax-inner-text .awb-lightbox:before, .pmax-blog-text a[target="lightbox"]:before {
        left: 85%;
        top: 70%;
        font-size: 40px;
    }

    .pmax-video-testimonials .awb-lightbox:before {
        top: 80%;
        left: 86%;
        font-size: 45px;
    }

    .pmax-ortho-page .awb-lightbox:before {
        font-size: 55px;
        top: 75%;
        left: 84%;
    }

    html .gform_wrapper.gravity-theme .gfield_label, html .gform_wrapper .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), html .gform_wrapper.gravity-theme textarea {
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
    }

    html body .awb-menu_desktop.awb-menu_flyout .awb-menu__sub-ul,
    html body .awb-menu_desktop.awb-menu_flyout__top .awb-menu__sub-ul {
        padding:0;
    }

    html body .awb-menu__sub-a,
    html body .awb-menu_desktop.awb-menu_flyout .awb-menu__sub-a {
        font-size: 18px;
        padding: 5px 10px;
    }
}

@media (max-width: 350px) {
    html body #wrapper .post-content .pmax-web-portfolio h4 {
        font-size: 18px;
        line-height: 26px;
        margin: 5px 0 0;
    }
}

html body #gform_wrapper_10 .gform-body h2,
html body #gform_wrapper_10 .gform-body h3,
html body #gform_wrapper_10 .gform-body h4,
html body #gform_wrapper_10 .gform-body h5,
html body #gform_wrapper_10 .gform-body h6 {
    margin: 20px 0 0;
}

html body #gform_wrapper_10.gform_wrapper.gravity-theme .gform_save_link.button {
    padding: 20px 16px 4px 16px;
}

html body #gform_wrapper_10 .gform-body .pmax_intake-address .gfield_list_header > div.gform-field-label {
    font-weight: 700;
}

@media (min-width: 1025px) {
    html body .fusion-tb-header .pmax_subs-header .fusion-menu a[href*=tel] {
        color: #273e8d !important;
    }

    html body .fusion-tb-header .pmax_main-header li.pmax-header-phone {
        z-index: 999999999999 !important;
        -webkit-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
        position: relative;
        top: 0;
    }

    html body .fusion-tb-header .pmax_main-header .fusion-builder-row.fusion-row.fusion-flex-align-items-stretch.fusion-flex-content-wrap.fusion-row-on-top li.pmax-header-phone {
        position: relative;
        top: -29px;
    }
}


/* Todo - remove when new homepage is back up */
html body.home #main {
	padding-top: 0;
}