@media only screen and (max-width: 660px) {
    .header-contact{
        display: none;
    }
    
    
    .header-top-menu{
        display: none;
    }
    /* .mobile-col{
        width: 50%;
        float: left;
    } */
    .social-icons{
        display: none;
    }
    .social-icons.mobile{
        display: block;
        text-align: center;
    }
    
    .page-id-1594 .o-masonry {
        display: unset;
    }

    .casestudy-filter-panel .filter-input {
        width: 100%;
        float: left;
        margin-right: 1%;
        margin-bottom: 10px;
    }


    /* Mobile Typo */

    #page-header-bg h1, body h1, body .row .col.section-title h1, .full-width-content .nectar-recent-posts-slider .recent-post-container .inner-wrap h2, body #error-404 h1, [data-inherit-heading-family="h1"] {
        font-size: 28px !important;
        line-height: 34.13px !important;
        font-weight: 700 !important;
    }

    .header-bg .row-bg {
        background-image:none !important;
    }

    .inline-form {
        width: 100%;
    }

}

@media only screen and (max-width: 690px) {
.col-sm-6 {
        width: 100% !important;
    }
	.single-post-subscription .hbspt-form,
    .single-post-subscription .subscribe-note{
        margin-left: 0px !important;
    }
}

@media only screen and (max-width: 999px){
    body:not(.material) #header-secondary-outer nav .sf-menu {
        border-top: 0px solid transparent;
        float: left;
        text-align: left;
    }

    body.home.ascend #header-secondary-outer[data-mobile=display_full]{
        display: none !important;
    }

    .new-testimonial ul.wpb_tabs_nav.ui-tabs-nav {
        bottom: -50px;
        left: 36.5%;
    }

    .nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
        margin: 0px;
    }
	.page-id-3976 .nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
        margin: 90px 0 90px 0;
    } 
}
@media only screen and (max-width: 640px){
    .hero-section .inline-form.head_subscription_form{
        width: 100%;
    }
}

@media only screen and (min-width: 1px) and (max-width: 999px){
    body #header-outer {
        padding: 18px 0;
    }
    .header-bg .wpb_wrapper h1.vc_custom_heading {
        text-align: center !important;
    }
    .header-bg p.vc_custom_heading {
        text-align: center !important;
    }
    .header-bg .divider-small-border {
        margin: 0 auto;
    }
}

@media only screen and (max-width: 1180px){
    .vc_col-sm-8.header-colomn {
        width: 100%;
        padding-bottom: 50px !important;
    }
    .vc_col-sm-7.header-colomn {
        width: 100%;
        padding-bottom: 50px !important;
    }
    .hero-section .wpb_wrapper h1.vc_custom_heading {
        text-align: center !important;
    }
    .hero-section .divider-wrap .divider-small-border {
        margin: 30px auto  !important;
    }
    .hero-section p.vc_custom_heading {
        text-align: center !important;
    }
    .hero-section .inline-form {
        display: block !important;
        width: 50%;
        margin: 0 auto !important;
    }
    .menu-item a span span.sf-sub-indicator {
        display: none;
    }
    .hero-section a.nectar-button.large.regular.has-icon.regular-button {
        width: 60%;
        margin: 0 auto;
        display: block;
    }
}

@media only screen and (max-width: 1024px){
    .col-sm-4 {
        width: 100%;
    }
    
    .new-footer .footer-menu ul {
        display: none;
    }
    .new-footer .footer-menu:hover ul {
        display: block;
    }
    .new-footer .footer-menu h4 {
        padding: 10px 0;
        position: relative;
    }
    .new-footer .footer-menu h4::after {
        background-color: #fff;
        -webkit-clip-path: polygon(3% 88%,69% 50%,4% 12%,21% 1%,100% 47%,100% 53%,21% 99%);
        clip-path: polygon(3% 88%,69% 50%,4% 12%,21% 1%,100% 47%,100% 53%,21% 99%);
        content: "";
        display: block;
        transform-origin: center;
        transform: rotate(90deg);
        width: 6px;
        height: 12px;
        transition: transform .4s;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(-33%,-50%) rotate(90deg);
    }
    .footer-logo {
        display: none;
    }
    .new-footer {
        padding: 20px 0 0 0;
    }
    .newsletter-form{
        padding-right: 0px;
    }
    .new-footer input.hs-button.primary.large{
        right:0px;
    }
    .new-footer .social-icons li a {
        padding: 7px 20px;
    }

    
    
}

@media only screen and (max-width: 1160px){
#header-outer[data-lhe="animated_underline"] #top nav > ul > li[class*="button_solid_color"] > a {
    margin-left: 0px !important;
}
}

@media only screen and (max-width: 1054px){
    .new-footer .container {
        max-width: 600px;
    }
    .newsletter-form {
        padding-right: 0px;
        margin-right: 0px;
    }
}

@media only screen and (max-width: 770px){
    .new-footer .container {
        max-width: 420px;
    }
    .newsletter-form {
        padding-right: 0px;
        margin-right: 0px;
    }
}

@media only screen and (max-width: 450px){
    .new-footer .container {
        max-width: 380px;
    }
    .newsletter-form {
        padding-right: 0px;
        margin-right: 0px;
    }
}

@media only screen and (max-width: 390px){
    .new-footer .container {
        max-width: 320px;
    }
    .newsletter-form {
        padding-right: 0px;
        margin-right: 0px;
    }
}