@media (max-width: 980px){
    .map-sidebar {
        margin-top: 0px;
    }
    .search-term {
        margin-top: 20px;
    }

    .dnavct {
        display: none;
    }

    .mnavct {
        display: block;
    }

    .content {
        min-height: auto;
    }

    .section-qa .links {
        flex-wrap: wrap;
    }

    .registration_form .form-wrapper {
        padding-top: 10px;
        padding-bottom: 0px;
    }

    .easyclick {
        padding-top: 0px;
    }

    .form-wrapper.join .left {
        position: relative;
        width: 100%;
        border: none;
        padding: 0;
          padding-bottom: 0px;
        height: auto;
    }

    .hide {
        display: none;
    }

    .or {
        display: none;
    }

    .mobile-only {
        display: block !important;
        margin-left: 15px;
        margin-right: 15px;
    }

    .form-wrapper.join .left:first-child .helper-text.disclaimer-social {
        font-size: 12px;
        padding-bottom: 30px;
        padding-left: 0px;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 30px;
    }

    .form-wrapper.join .helper-text.disclaimer-social {
        position: relative;
        border-bottom: 2px solid #eee;
    }

    .form-wrapper.join .helper-text.disclaimer-social:after {
        content: 'OR';
        position: absolute;
        top: 28%;
        left: 50%;
        padding: 10px;
        transform: translate(-50%, 50%);
        width: auto;
        height: 30px;
        background-color: #fff;
      }

    .form-wrapper.join .left:first-child {
        padding-bottom: 12px;
        margin-bottom: 8px;
    }

    .content.login_form section {
        width: 100% !important;
    }

    .content.login_form section:first-child {
        padding-bottom: 23px;
        border-bottom: 1px solid #e5e5e5;
        border-right: none;
    }

    .content.login_form section.center {
        margin-top: 0;
        margin-bottom: 14px;
        padding: 0 15px;
        padding-bottom: 0px;
        width: 100%;
        background-color: #fff;
    }

    .content.login_form section:last-child {
        margin-top: 14px;
        margin-bottom: 33px;
        padding-top: 25px;
        border-top: 1px solid #e5e5e5;
    }

    .content.login_form section.center {
        margin-top: 0;
        margin-bottom: 10px;
        padding: 10px 15px;
        padding-top: 0px;
        width: 100%;
        background-color: #fff;
    }

    .quick-search {
        justify-content: center;
    }

    .quick-search a {
        font-size: 0.675rem;
    }

    .quick-search a span {
        width: 60px;
        height: 60px;
    }

    .header-banner {
        height: auto;
    }

    .main-banner {
        padding: 45px 15px 15px;
        height: 148px;
    }

    .search-bar form > .search-container svg {
        top: 15px;
    }

    .site-logo .desktop-logo {
        display: none;
    }

    .site-logo .mobile-logo {
        display: block;
    }

    .search-bar form button {
        width: 50px;
        right: 5px;
        height: 55px;
    }

    .search-form-button span {
        display: none;
    }

    .find-glass {
        display: inline-block;
    }

    .search-bar form > div input {
        height: 60px;
    }

    .tagline {
        font-size: 2rem;
        margin-top: 40px;
    }
    .auth-labels {
       display: flex;
    }

    #burger-menu {
        display: inline-block;
    }

    .main-navigation {
        display: none;
    }

    .header-nav .main-logo {
        min-width: 146px;
        padding: 7px 16px;
    }

    .header-nav {
        /* height: 52px; */
        border-bottom: 1px solid rgba(0,0,0,.05);
        margin-top: 0px;
    }

    .content-container {
        padding: 0px;
    }

    .category-container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .ct-nav ul {
        display: block;
    }

    .ct-nav ul li {
        margin-right: 0px;
        position: relative;
    }

    .ct-nav ul li > a {
        display: block;
        font-size: .875rem;
        padding-left: 15px;
        padding-right: 30px;
    }


    .expand-icon:after {
        background-image: url(../images/nav-icon/icons-utility-chevrondown.svg);
    }

    .ct-nav ul li img {
        max-height: 18px;
    }

    .expand-icon:after {
        right: 15px;
    }

    .category-links {
        -webkit-box-shadow: none;
        box-shadow: none;
        position: relative;
        height: auto;
        width: 100%;
        border-radius: 0;
        padding: 11px 15px;
        top: 0;
    }

    .category-links a {
        font-size: 0.875rem !important;
        line-height: 1.625rem !important;
        color: #0c0c0c;
        padding: 2px 5px;
        padding-right: 5px;
        display: block !important;
        min-height: auto !important;
    }

}

@media (max-width: 512px){
    #itl_form_content {
        width: 100%;
    }
    .business-card {
        flex-wrap: wrap;
    }

    .business-card .media-thumbnail {
        margin-right: 0px;
        max-width: 100%;
    }
    .business-info {
        width: 100%;
        margin-top: 10px;
    }
    #settings .details nav {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    #settings form {
        width: 100% !important;
    }
    .map-sidebar > .search-results {
        max-height: calc(100vh - 226px);
    }
    #map{
        height: calc(100vh - 62px);
    }
    .category-container h3 {
        display: block;
    }
    #main-aside {
        display: none;
    }
    .business-media {
        max-width: 330px;
        position: absolute;
        left: -110px;
    }
    .business-content {
        position: relative;
        max-width: 58%;
    }
    .section-claim-business {
        justify-content: right;
    }
    .section-claim-business h2 {
        font-size: 1.5rem;
        margin-top: 75px;
    }
    .section-claim-business p {
        font-size: .95rem;
    }
    .section-claim-business .btn {
        font-size: .9375rem;
    }
    .section-qa header {
        padding: 21px 15px;
    }
    .qa-checks {
        text-align: center;
    }
    .section-qa .qna-media {
        margin-top: 15px;
    }
    .sec-advertise h2 {
        font-size: 1.625rem;
    }
    .sec-apps h2 {
        font-size: 1.25rem;
    }
    .sec-apps h3 {
        font-size: .9375rem;
    }
    .sec-apps p {
        font-size: 14px;
    }
    .map-sidebar .srp-header, .map-sidebar #search-filter-and-sort, .map-sidebar > .search-results{
        display: none;
    }

    .sortbar-mapview {
        display: block;
        margin-top: 45px;
    }

    #main-aside {
        padding: 0px;
        width: 100%;
    }

    #main-map {
        padding: 0px;
        width: 100%;
        margin-top: 8px;
    }

    #map {
        position: relative;
        height: calc(100vh - 112px);
    }

    .search-bar.fixed #search-form {
        width: 100%;
    }
    .site-logo {
        width: 55px;
    }
    .site-logo .mobile-logo {
        width: 35px;
    }
    .search-bar.fixed #search-form > div {
        width: calc(50% - 18px);
    }
    .search-bar.fixed form > .search-container svg {
        top: 6px;
    }
    .search-bar form > .search-container svg {
        width: 12px;
        height: 12px;
    }

    .search-bar.fixed form > div input {
        height: 35px;
    }
    .search-bar.fixed button {
        top: 0px;
        height: 34px;
        width: 35px;
    }
    .search-bar.fixed .Menu-burger {
        width: 15px;
        height: 28px;
        margin-right: 10px;
        margin-left: 10px;
        top: 15%;
    }

    .search-term h1 {
        font-size: 0.9325rem;
    }

    .filters-component .all-filters, .buttons label, .custom-filters.active {
        display: none;
    }

    .srp-listing .info .info-primary {
        width: 100%;
    }

    .srp-listing .info .info-secondary {
        text-align: left;
        width: 100%;
    }

    .footer .primary-section section {
        margin-right: 0px;
        width: 100% !important;
        margin-bottom: 12px;
    }

    .footer .primary-section section header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .primary-section .city-guides .col {
        width: 100%;
    }

    .footer section .accordion-trigger {
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .footer section .accordion-trigger:after, .footer section .accordion-trigger:before {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        content: '';
        position: absolute;
        top: 5px;
        right: 20px;
        left: auto;
        height: 17px;
        width: 1px;
        background: #233142;
    }

    .footer section .accordion-trigger.non-active:after {
        -webkit-animation: collapseAnimation .5s ease-out;
        -moz-animation: collapseAnimation .5s ease-out;
        animation: collapseAnimation .5s ease-out;
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    .footer section .accordion-trigger:before {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .footer section .accordion-trigger.active:after {
        -webkit-animation: expandAnimation .5s ease-out;
        -moz-animation: expandAnimation .5s ease-out;
        animation: expandAnimation .5s ease-out;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    .footer section .expand-area {
        max-height: 0;
        transition: max-height .5s ease-out;
        overflow: hidden;
    }

    .footer section .expand-area {
        padding: 0px 17px;
        transition: all .25s;
    }

    .footer section .expand-area.active {
        max-height: 530px;
        transition: max-height .5s ease-in;
        max-height: auto;
        border-top: 1px solid #cecece;
        background-color: #fdfdfd;
        padding: 10px 17px;
    }

}
