/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/****************************************/
/* HubSpot Style Boilerplate            */
/****************************************/

/* These includes are optional, but helpful. */
    {
    % include "hubspot/styles/responsive/modules.css"%
}

    {
    % include "hubspot/styles/patches/recommended.css"%
}


/*****************************************/
/* Start your style declarations here    */
/*****************************************/


.pop-up-fancy {
    border-radius: 15px;
}

#video-banner-pop .hs-responsive-embed iframe,
#video-banner-pop .hs-responsive-embed object,
#video-banner-pop .hs-responsive-embed embed {
    width: 600px;
    height: 340px;
}

#video-banner-pop .hs-responsive-embed {
    padding-bottom: 0 !important;
    line-height: 0;
    color: #fff;
}

.hero-video-popup {
    width: 600px;
    height: 450px;
}


@media screen and (max-width: 1280px) {
    .pop-up-fancy iframe {
        height: auto;
        min-height: 250px;
    }

    .pop-up-fancy .fancybox-close-small:focus:after {
        outline: none;
        border: 0;
    }

    .hero-video-popup {
        width: 600px;
        height: 450px;
    }
}

@media screen and (max-width: 1080px) {
    .pop-up-fancy iframe {
        height: auto;
        min-height: 250px;
    }

    .pop-up-fancy .fancybox-close-small:focus:after {
        outline: none;
        border: 0;
    }

    .hero-video-popup {
        width: 600px;
        height: 450px;
    }
}

@media screen and (max-width: 991px) {

    .pop-up-fancy iframe {
        min-height: 160px;
    }

    .hero-video-popup .pop-up-fancy iframe {
        min-height: 100%;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .pop-up-fancy .hero-video-popup iframe {
        height: 100%;
        min-height: 100%;
    }

    .hero-video-popup {
        width: 600px;
        height: 450px;
    }
}

@media screen and (max-width: 850px) {
    .pop-up-fancy iframe {
        height: auto;
        min-height: 250px;
    }

    .pop-up-fancy .fancybox-close-small:focus:after {
        outline: none;
        border: 0;
    }

    .hero-video-popup {
        width: 560px;
        height: 450px;
    }
}

@media screen and (max-width: 768px) {
    .pop-up-fancy iframe {
        height: auto;
        min-height: 250px;
    }

    .pop-up-fancy .fancybox-close-small:focus:after {
        outline: none;
        border: 0;
    }

    .hero-video-popup {
        width: 560px;
        height: 450px;
    }
}

.fancybox-slide {
    padding: 0 !important;
}

@media screen and (max-width: 650px) {
    .pop-up-fancy iframe {
        height: auto;
        min-height: 250px;
    }

    .pop-up-fancy .fancybox-close-small:focus:after {
        outline: none;
        border: 0;
    }

    .hero-video-popup {
        width: 560px;
        height: 450px;
    }
}

@media screen and (max-width: 590px) {

    .pop-up-fancy iframe {
        min-height: 160px;
    }

    .hero-video-popup .pop-up-fancy iframe {
        min-height: 100%;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .pop-up-fancy .hero-video-popup iframe {
        height: 100%;
        min-height: 100%;
    }

    .hero-video-popup {
        width: 350px;
        height: 690px;
    }
}

@media screen and (max-width: 480px) {

    .pop-up-fancy iframe {
        min-height: 160px;
    }

    .hero-video-popup .pop-up-fancy iframe {
        min-height: 100%;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .pop-up-fancy .hero-video-popup iframe {
        height: 100%;
        min-height: 100%;
    }

    .hero-video-popup {
        width: 350px;
        height: 690px;
    }
}

@media screen and (max-width: 400px) {

    .pop-up-fancy iframe {
        min-height: 160px;
    }

    .hero-video-popup .pop-up-fancy iframe {
        min-height: 100%;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .pop-up-fancy .hero-video-popup iframe {
        height: 100%;
        min-height: 100%;
    }

    .hero-video-popup {
        width: 320px;
        height: 740px;
    }
}

@media screen and (max-width: 380px) {

    .pop-up-fancy iframe {
        min-height: 160px;
    }

    .hero-video-popup .pop-up-fancy iframe {
        min-height: 100%;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .pop-up-fancy .hero-video-popup iframe {
        height: 100%;
        min-height: 100%;
    }

    .hero-video-popup {
        width: 290px;
        height: 790px;
    }
}

/* ===== New LP 20/01/2020 ====== */

@font-face {
    font-family: gt-flexa-standard-bold;
    src: url(https://2931998.fs1.hubspotusercontent-na1.net/hubfs/2931998/GT%20Flexa/gt-flexa-standard-bold.ttf);
}

.lp_video_section .row-fluid .link_style a {
    border-radius: 4px;
    letter-spacing: 1px;
    background-color: #ff5200;
}

.lp_video_section .row-fluid .link_style a:hover {
    background-color: #e70000;
}

.span12.lp_hero_section1.set-bg h2 {
    margin-bottom: 20px;
    font-size: 48px !important;
    line-height: 57px !important;
    font-family: gt-flexa-standard-bold !important;
}

.mainbutton a.hs-button {
    background-color: #FF5200 !important;
    color: #ffffff !important;
    border-width: 0px !important;
    border-radius: 4px !important;
    letter-spacing: 1px !important;
    font-size: 16px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    display: block;
    padding: 12px 20px !important;
    text-align: center;
}

.mainbutton a.hs-button:hover {
    background: #E70000 !important;
}

.topmenu_2022 {
    width: 57% !important;
}

div#topheader .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
    overflow: visible !important;
    display: block;
    max-width: unset !important;
    font-family: 'Inter', sans-serif !important;

}

div#topheader .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a:hover {
    opacity: .7;
}

div#topheader ul {
    width: 100%;
    text-align: right !important;
    display: flex;
    justify-content: end;
}

div#topheader .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
    color: #201650;
    font-size: 14px;
    padding: 15px;
}

div#topheader .row-fluid {
    display: flex;
    align-items: center;
}

@media(max-width:991px) {
    div#topheader .row-fluid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .topmenu_2022 {
        width: 100% !important;
    }

    div#topheader ul {
        display: flex;
        justify-content: center;
        text-align: right !important;
        width: 295px;
        margin: auto;
        flex-wrap: nowrap;
    }

    .mainbutton a.hs-button {
        font-size: 14px !important;
        letter-spacing: 1px !important;
        padding: 12px 0px !important;
        text-align: center;
        width: 195px !important;
        margin: auto !important;
    }

    div#topheader .row-fluid .span2:nth-of-type(3) {
        width: 100%;
        margin-left: 0;
    }

    div#topheader .hs-menu-wrapper.hs-menu-flow-horizontal>ul li {
        flex-basis: 20%;
    }

    div#topheader .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
        color: #201650;
        font-size: 11px;
        padding: 2px 6px;
        text-align: center;
    }

    .topmenu_2022 {
        margin: 0 !important;
    }

    h1 {
        font-size: 34px !important;
        line-height: 46px !important;
    }
  
    .span12.lp_hero_section1.set-bg h2 {
        font-size: 38px!important;
    }
}

.span12.lp_hero_section1.set-bg .span6:nth-child(2) .lp_form_box h3 {
    color: #201650 !important;
}

.span12.lp_hero_section1.lp_hero_section2.set-bg .span6:nth-child(2) .lp_form.form_bottom input.hs-button {
    background: #201650 !important;
    border-color: #201650 !important;
}

.span12.lp_hero_section1.lp_hero_section2.set-bg .span6:nth-child(2) .lp_form.form_bottom input.hs-button:hover {
    background: #3f3280 !important;
    border-color: #3f3280 !important;
}

.row-fluid .lp_btn_text_box a {
    background: #201650 !important;
    padding: 15px 35px;
    border-color: #000;
}

.row-fluid .lp_btn_text_box a,
.row-fluid .lp_model_btm_box.link_style a,
.frmbtn a {
    background: #201650 !important;
    border-color: #201650 !important;
}

.row-fluid .lp_btn_text_box a:hover,
.row-fluid .lp_model_btm_box.link_style a:hover,
.frmbtn a:hover {
    background: #3f3280 !important;
    border-color: #3f3280 !important;
}

.span12.widget-span.widget-type-cell.lp_form_section.set-bg.lp_form_sectionv2 {
    background: url(https://2931998.fs1.hubspotusercontent-na1.net/hubfs/2931998/Dental-Practice-Management-Company-MBDental-teal-pattern-background2.jpg) !important
}

#oldheader {
    display: none;
}