@media (min-width: 992px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: #fff;
        padding: 18px 25px;
        font-size: 16px;
        font-family: "Poppins", sans-serif;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    .navmenu a.active::before {
        content: '';
        height: 5px;
        background-color: #000;
        position: absolute;
        bottom: 0px;
        width: 100%;
        left: 0;
        right: 0;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    
    .navmenu li:hover>a,
    .navmenu .active,
    .navmenu .active:focus {
        color: #fff;
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: #fff;
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: #355457;
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover>a {
        color: #5A7476;
    }

    .navmenu .dropdown:hover>ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover>ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }

    .navmenu .megamenu {
        position: static;
    }

    .navmenu .megamenu ul {
        margin: 0;
        padding: 10px;
        background: #fff;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 130%;
        left: 0;
        right: 0;
        visibility: hidden;
        opacity: 0;
        display: flex;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
    }

    .navmenu .megamenu ul li {
        flex: 1;
    }

    .navmenu .megamenu ul li a,
    .navmenu .megamenu ul li:hover>a {
        padding: 10px 20px;
        font-size: 15px;
        color: #5A7476;
    }

    .navmenu .megamenu ul li a:hover,
    .navmenu .megamenu ul li .active,
    .navmenu .megamenu ul li .active:hover {
        color: #5A7476;
    }

    .navmenu .megamenu:hover>ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }
}

@media (max-width:1599px) {}

@media (max-width:1440px) {
    .container {
        max-width: 96%;
    }
}


@media (max-width:1280px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 0;
    }
    .top-categories-box{
        margin: 20px 10px;
    }
}

@media (max-width:1199px) {
    .categories ul li {
        flex-basis: 46%;
    }
    .insight-details-left{
        width: 72%;
        padding-right: 2%;
    }
    .insight-details-right {
        width: 25%;
    }
    .discussion-search-section{
        flex-wrap: wrap;
    }
    .discussion-search-select {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .discussion-search-section .main-search{
        width: 100%;
        margin: 20px 20px 0 0;
    }
    .discussion-search-section .form-select{
        max-width: 100%;
        flex: 1 1 auto;
    }

}

@media (max-width:991px) {

    /* Mobile Navigation */
    .mobile-nav-toggle {
        color: #fff;
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
        display: block;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: "Poppins", sans-serif;
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: #000;
        background-color: #F9FBFC;
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: #fff;
        border: 1px solid #355457;
        transition: all 0.5s ease-in-out;
        box-shadow: none;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown>.dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 35px;
        right: 20px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
    }

    .categories ul li a {
        padding: 15px 20px;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 30px;
    }

    .top-rated-avtar {
        margin-top: 0;
    }

    .top-rated-cta {
        padding: 30px 0;
    }

    .top-rated-cta .row {
        align-items: center !important;
    }
    .insight-details-left{
        width: 68%;
        padding-right: 2%;
    }
    .insight-details-right {
        width: 28%;
    }
    .discussion-company-img{
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }
    .discussion-info{
        padding: 0 0;
    }
    .discussion-box .serden-badge{
        display: inline-flex;
        max-width: 150px
    }
    .discussion-box-info{
        flex-direction: column;
    }
    .form-container, .login-container{
        max-width: 70%;
    }
    .membership-plan{
        padding: 25px 18px;
    }

}

@media (max-width:767px) {
    .image {
        width: 100%;
    }

    .top-search {
        padding-top: 170px;
    }

    h1 {
        font-size: 40px;
    }

    .top-rated-cta {
        text-align: center;
    }

    .get-insight {
        text-align: center;
    }

    .get-insight .main-search {
        width: 100%;
    }

    .section-space {
        padding: 50px 0;
    }
    .section-space-bottom {
        padding-bottom: 30px;
    }

    .top-section-space{
        padding-top: 150px;
    }

    .trending-slider {
        padding: 40px 30px;
    }

    br {
        display: none;
    }

    .footer-copyright {
        max-width: 100%;
    }

    .main-search {
        width: 100%;
        padding: 10px 20px 10px 20px;
    }
    .top-categories-box {
        padding: 25px 15px;
    }
    .insight-details-container{
        flex-direction: column;
    }
    .insight-details-left{
        width: 100%;
        padding-right: 0;
        padding-bottom: 3%;
    }
    .insight-details-right {
        width: 100%;
        margin: 0;
    }
    .discussion-search-select{
        flex-direction: column;
    }
    .discussion-search-section .form-select{
        margin: 10px 0;
    }
    .discussion-search-section .main-search{
        margin: 10px 0 0 0;
    }
    .form-container, .login-container{
        max-width: 100%;
    }
    .membership-container{
        flex-direction: column;
        margin-top: 40px;
    }
    .elite-plan{
        margin-top: 10px;
    }
    .membership-plan{
        width: 100%;
        margin: 10px 0;
    }
    .company-info{
        flex-direction: column;
    }
    .company-info-img{
        text-align: center;
        flex-direction: column;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
    .company-info .serden-badge{
        display: inline-flex;
        max-width: 150px
    }
    .company-info-details{
        padding: 30px 0;
        text-align: center;
    }
    .star-rating {
        display: flex;
        align-items: center;
        margin: 0 auto;
        justify-content: center;
    } 
    .whyus ul li{
        flex-basis: 45%;
    }
    .sitemap ul li{
        flex-basis: 28%;
    }

}

@media (max-width:690px) {
    .footer-copyright {
        flex-direction: column;
    }

    .footer-copyright span {
        margin: 15px 0;
    }
    .top-categories-box {
        flex: 0 0 40%;
    }
    .location{
        margin-right: 5px;
    }
    .location input.form-control{
        max-width: 80px
    }
    .sell-property-herobanner h1{
        margin-top: 10px;
    }
    .sitemap ul li{
        flex-basis: 43%;
    }
}

@media (max-width:575px) {
    .section-space-bottom {
        padding-bottom: 30px;
    }

    .categories ul li {
        flex-basis: 100%;
    }

    .categories ul li a {
        padding: 15px 20px;
    }

    .get-insight .main-search {
        flex-direction: column;
    }

    .get-insight .main-search .form-control {
        width: 100%;
    }
    .top-categories-box {
        flex: 40%;
        margin: 10px;
    }
    .login-bottom{
        flex-wrap: wrap;
        margin-top: 10px !important;
    }
    .login-bottom .btn{
        width: 100%;
        margin-bottom: 20px;
    }
    .login-bottom > div{
        display: flex;
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
    }
    
    .location input.form-control{
        max-width: 80px
    }
    .whyus ul li{
        flex-basis: 100%;
    }
    .sitemap ul li{
        flex-basis: 100%;
    }
}

@media (max-width: 767.98px) {
    .filters-actions {
      position: fixed;
      background: #fff;
      display: flex;
      justify-content: center;
      border: 0;
      bottom: 0;
      z-index: 1031;
      left: 0;
      right: 0;
      bottom: 0;
      /* box-shadow: 0px -2px 3px rgb(0 0 0 / 21%);
      -webkit-box-shadow: 0px -2px 3px rgb(0 0 0 / 21%);
      -moz-box-shadow: 0px -2px 3px rgb(0 0 0 / 21%); */
      height: 50px;
    }
    .filters-actions > div {
      flex: 1;
      text-align: center;
    }
    .filters-actions > div:first-of-type {
      border-right: 1px solid #d6d1ce;
    }
    .filters-actions > div > * {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      color: #fff;
    }
    /*.no-border-select.sort-select + .select2-container--default .select2-selection--single{
        background-image: none;
        padding:10px;
      }*/
    .filter-btn,
    .filter-btn:hover,
    .filter-btn:focus,
    .filter-btn:active {
      padding: 14px 20px;
      height: 50px;
      border: 0;
      position: relative;
      z-index: 1;
      background: #355457;
      border-radius: 0;
      color: #fff;
    }
    .sort-drop .dropdown-menu {
      width: 100%;
      left: 0;
      position: fixed !important;
      transform: translateY(100%) !important;
      bottom: 50px !important;
      top: auto !important;
      text-align: center;
      border-radius: 6px 6px 0 0 !important;
      box-shadow: none !important;
      transition: 0.3s;
      display: block;
      /* border: 0;*/
      z-index: -11;
    }
    .sort-drop .dropdown-menu .dropdown-item {
      padding: 15px 20px !important;
    }
    .sort-drop .dropdown-menu .dropdown-item:first-child {
      border-radius: 6px 6px 0 0 !important;
    }
    .sort-drop.show .dropdown-menu {
      transform: translateY(0) !important;
    }
    .btn.sort-toggle {
      background-image: none;
      padding: 10px !important;
      width: 100%;
      border: 0;
      height: 50px;
      position: relative;
      z-index: 1;
      background: #fff;
      border-radius: 0;
      font-size: 16px;
      line-height: 22px;
    }
    .sidebar {
      position: fixed;
      transform: translateY(100%);
      -webkit-transform: translateY(100%);
      -moz-transform: translateY(100%);
      -o-transform: translateY(100%);
      transition: 0.3s;
      -webkit-transition: 0.3s;
      -moz-transition: 0.3s;
      -o-transition: 0.3s;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
  
      background: #fff;
    }
    .sidebar.open {
      z-index: 1032;
      transform: translateY(0);
      -webkit-transform: translateY(0);
      -moz-transform: translateY(0);
      -o-transform: translateY(0);
      border-radius: 0;
      padding: 10px;
    }
    .sidebar__inner {
      padding: 15px;
      height: calc(100% - 58px);
      overflow-y: auto;
    }
    .filter-header {
      height: 58px;
    }
    .filter-body {
      padding-right: 0;
    }

    /* directory list 2 columns */
    .dir-category-list ul li {
        flex-basis: 44%; 
    }

    .dir-category-list .categories-link{
        font-size:10px;
    }
    /* directory list 2 columns ends */

  }