@media (max-width:1199px) {
    .menu li {
        margin: 10px 5px;
    }

    .menu li a {
        padding: 5px 5px !important;
    }
}


@media (max-width:991px) {

    .logo img {
        max-width: 150px;
    }

    .top-header {
        position: relative;
        width: 100%;
        /* left: 0;
        right:0; */
        z-index: 100;
    }

    .top-menu {
        text-align: center;
    }

    .top-menu li {
        font-size: 16px;
    }

    header {
        background: #fff;
        width: 100%;
        position: fixed;
        top: 0px;
        left: 0;
        right: 0;
        z-index: 10;
        /* box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .1); */
        z-index: 100;
    }

    .header-bg-color {
        animation: none !important;
    }

    .menu {
        position: fixed;
        background-color: #fff;
        width: 100%;
        height: 100vh;
        display: block;
        text-align: left;
        left: -200%;
        right: 0;
        top: 0px;
        transition: all 0.4s;
        z-index: 100;
        padding: 45px 20px 10px 5px;
    }

    .menu li {
        display: block;
        border-bottom: solid 1px #f0f0f0;

    }

    .menu li:last-child {
        margin-top: 30px;
    }

    .menu li:nth-child(6) {
        border-bottom: none;
    }

    .menu li:nth-child(7) {
        border-bottom: none;
    }

    .menu li a {
        padding: 10px 10px 10px 10px !important;
        display: inline-block;
    }

    .has-dropdown span {
        position: absolute;
        right: 10px;
        top: 7px;
        background-color: var(--light);
        display: block;
        width: 35px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0px;
        padding-top: 2px;
    }


    .dropdown::before {
        display: none;
    }

    .dropdown {
        position: static;
        width: 100%;
        /* background-color: var(--light); */
        left: 0;
        border-radius: 0;
        box-shadow: none;
        /* display: none; */
        margin-bottom: 10px;
    }

    .dropdown li a {
        color: var(--black);
        padding-left: 50px !important;
        color: var(--black) !important;
    }

    .dropdown li a:hover {
        color: var(--primary) !important;
    }

    .dropdown li:last-child {
        padding: 0;
    }

    .show-menu {
        left: 0 !important;
    }

    .show-dropdown {
        display: block;
    }

    .header-right {
        display: block;
        position: absolute;
        right: 25px;
        top: 15px;
        z-index: 100;
    }

    .menu-icon {
        cursor: pointer;
    }

    .menu-lines {
        position: relative;
        margin-left: 10px;
        width: 23px;
        height: 2px;
        background-color: var(--primary);
        transition: all .3s;
        display: inline-block;
    }

    .menu-lines::before {
        position: absolute;
        content: "";
        width: 30px;
        height: 2px;
        background-color: var(--primary);
        top: -10px;
        left: 0;
        transition: all .3s;
    }

    .menu-lines::after {
        position: absolute;
        content: "";
        width: 30px;
        height: 2px;
        background-color: var(--primary);
        top: 10px;
        left: 0;
        transition: all .3s;
    }

    .toggle-lines::before {
        transform: rotate(45deg);
        top: 0px;
        transition: all 0.4s;
    }

    .toggle-lines::after {
        transform: rotate(-45deg);
        top: 0px;
        transition: all 0.4s;
    }

    .toggle-lines {
        background-color: transparent;
        transition: all 0.4s;
    }

    .p-search-list li:first-child {
        display: block;
    }

    .p-search-list li {
        display: inline-block;
        margin: 6px 5px;
    }

    .main-banner {
        /* margin-top: 80px; */
        margin-top: 100px;
        /* min-height: 890px; */
    }

    .main-banner .container {
        min-height: 380px;
    }

    .main-banner h1 {
        font-size: 28px;
    }

    .main-banner h1 span {
        font-size: 16px;
    }

    .banner-img {
        max-width: 330px;
        display: none;
    }

    .main-search {
        max-width: 98%;
        margin: 50px auto 0 auto;
        bottom: 40px;
    }

    .main-banner h1 {
        display: none;
    }

    .title h1 {
        font-size: 22px;
    }

    .reg-left-cont {
        border-radius: 10px 10px 0 0;
    }

    .reg-container {
        margin-bottom: 20px;
    }

    .reg-form {
        width: 100%;
    }

    .reg-right-cont {
        padding: 30px 15px 15px;
    }

    .view-links li{
        display: block;
        margin-bottom: 25px;
      }

      .inner-banner {
        margin-top: 80px;
      }

      .inner-banner h1 {
        font-size: 18px;
      }

      .p-main-block {
        margin-top: 0;
      }

      .tabs {
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        
      }

      .tabs li {
        display: inline-block;
      }

      .tab-link.active {
        border-bottom: none;
      }

      .p-details {
        margin-bottom: 60px;
      }

      .gallery_img {
        height: 275px;
      }

      .slider-thumb div {
        height: auto;
      }

      .p-title {
        font-size: 20px;
      }

      .pr-details li span {
        display: block !important;
      }

      .title small {
        display: block;
        padding-top: 8px;
      }

      .main-banner-img {
        height: 95%;
      }


}

@media (max-width:768px) {
    .main-banner .container {
        min-height: 510px;
    }

    .p-main-block {
        font-size: 15px;
    }

    .featured-list .property-img {
        height: auto !important;
    }

}

@media (max-width:575px) {
    .logo img {
        max-width: 140px;
    }

    .header-right {
        top: 25px;
    }

    
    .s-menu li {
        margin: 8px 0px;
    }

    .s-menu li a {
     padding: 5px 7px;
    }
}



@media (max-width:299px) {
    .logo img {
        max-width: 150px;
        margin-top: 10px;
    }
}