@media only screen and (max-width: 991px) {
  .navbar-toggler {
    line-height: 1;
    padding: 0;
    border-radius: 0;
  }

  .navbar-toggler.menu-icon {
    width: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    border: 0px;
  }

  .navbar-toggler.menu-icon span {
    width: 100%;
    height: 4px;
    display: block;
    background-color: #005dba;
    margin: 6px 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  .navbar-toggler.menu-icon.active span {
    position: absolute;
    top: calc(50% - 8px);
  }
  .navbar-toggler.menu-icon.active span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .navbar-toggler.menu-icon.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .navbar-toggler.menu-icon.active span:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: none;
  }

  .navbar-light .navbar-brand {
    width: 100%;
    text-align: center;
  }

  .header .navbar-brand.logo a {
    font-size: 30px;
    text-transform: uppercase;
    line-height: 0.5;
    transition: all 0.6s ease;
  }

  .header .navbar-brand.logo a span {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.09em;
  }

  .navbar-light .navbar-brand img {
    max-height: 100px;
  }

  .header {
    position: relative;
    background: #000;
    margin-top: 52px;
    padding: 20px 15px 18px 15px;
    text-align: center;
  }

  .header.fixed {
    padding: 20px 15px 18px 15px;
    position: relative;
  }

  .header.fixed .navbar-brand.logo a {
    font-size: 30px;
    text-transform: uppercase;
    line-height: 0.5;
    transition: all 0.6s ease;
  }

  .header.fixed .navbar-brand.logo a span {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.09em;
  }

  .social-fix {
    display: none;
  }

  .hero video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    object-fit: cover;
  }

  .hero {
    height: inherit;
  }

  .hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    width: 100%;
    bottom: 0px;
    left: 0;
    background: #000;
    margin-top: -10px;
    text-align: center;
    padding: 55px 0px;
  }

  .hero .lists {
    display: inline-block;
    align-items: center;
    width: 100%;
  }

  .hero .lists .search-icon {
    margin-bottom: 20px !important;
  }

  .hero .lists * {
    width: 100% !important;
    margin: 0px !important;
  }

  .hero .bootstrap-select:nth-child(2),
  .hero .bootstrap-select:nth-child(3) {
    width: 100% !important;
    min-width: 100% !important;
  }

  .hero .bootstrap-select > .dropdown-toggle {
    padding: 12px 0px;
  }

  .hero .btn-default {
    width: 100%;
    margin: 5px 0px !important;
  }
}

@media only screen and (min-width: 320px) and (max-width: 991px) {
  .property-carousel {
  }

  .property-carousel2 .item {
    padding: 15px;
  }

  .property-carousel2 .propertybox .text {
    position: relative;
    left: 0;
    bottom: 0px;
    width: 100%;
    padding: 0 0px;
    z-index: 6;
  }

  .propertybox .text * {
    color: #000 !important;
  }

  .properties .arrowstyle button {
    margin: 11px 4px;
  }

  .reviews p {
    padding: 0 30px;
    font-size: 16px;
  }

  .newsbox {
    display: inline-block;
    align-items: center;
    color: #000;
    margin-bottom: 30px;
    width: 100%;
  }

  .newsbox .img {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    overflow: hidden;
  }

  .newsbox .text {
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
  }

  .facebookinfo {
    text-align: center;
  }

  .facebookinfo .text-end {
    text-align: center !important;
  }

  .facebookbox {
    text-align: left;
    padding: 3%;
  }

  .facebookinfo .rt .btn-default {
    margin-top: 25px;
  }

  .sociallist .userimg {
    align-items: center;
  }

  .sociallist {
    flex-wrap: wrap;
    justify-content: start;
  }

  .sociallist .userimg h3 {
    font-size: 18px;
  }

  .sociallist .userimg p {
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .sociallist .btn-default {
    min-width: 162px;
  }

  .sociallist .btn-default {
    margin-left: 84px;
    margin-top: 10px;
  }

  .contactform {
    padding: 191px 10px;
    background-position: top left;
  }

  .contactform .form-control {
    margin-bottom: 35px;
  }

  .contactform .section-title {
    text-align: center;
  }

  .contactform .section-title h2 {
    font-size: 38px;
    margin-top: 20px;
    text-align: center;
  }

  .contactform .section-title p {
    font-size: 15px;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 0;
  }

  .footer .logo {
    margin-bottom: 20px;
  }

  .footer {
    padding-top: 65px;
    padding-bottom: 50px;
  }

  .footer h3 {
    font-size: 17px;
    margin-bottom: 31px;
    margin-top: 40px;
  }

  .page-banner {
    height: 36vh;
  }

  .about-page {
    padding: 30px 0px 30px 0px;
  }

  .about-page h1.page-title {
    margin-bottom: 0px;
  }

  .about-page .about-img {
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 15px;
    width: 100%;
    padding: 0px 12px;
    text-align: center;
    position: relative;
  }

  .about-page .about-img::after {
    display: none;
  }

  .section-title h2 span {
    margin: 0;
  }
}

@media only screen and (max-width: 767px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding-left: 15px;
    padding-right: 15px;
  }

  .section-title h2 {
    font-size: 42px;
  }

  .section-title h2 span {
    font-size: 16px;
  }

  .testimonials {
    padding: 30px 0px;
  }

  .testimonial-box {
    padding: 50px 30px;
  }

  .testimonial-box p {
    font-size: 17px;
    line-height: 1.6;
    margin: 1.12em 0;
    padding: 0;
  }

  .testimonial-box h5 {
    font-size: 17px !important;
  }

  .testimonial-box .ratings i {
    font-size: 20px;
  }

  .socialbox ul {
    text-align: center;
  }

  .socialbox ul li {
    display: inline-block;
    margin: 0px 2px;
  }

  .social-media .bordere-style > div.bright {
    border-right: none;
  }

  .social-media .bordere-style > div {
    padding: 30px 0px;
  }

  .sociallinks a {
    font-size: 16px;
    letter-spacing: 0.3em;
  }

  .team {
    padding: 30px 0px 80px 0px;
  }

  .team .team-intro {
    margin-top: 30px;
    margin-left: 0px;
  }

  .team h2 {
    font-size: 34px;
    line-height: 44px;
    margin-bottom: 0;
    text-align: left;
  }

  .team h5 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: left;
  }

  .team div.ms-auto {
    margin-left: 0px;
    width: 100% !important;
  }

  .team .btn-default {
    margin-top: 30px;
  }

  .team .team-intro.last {
    margin-right: 0px;
    margin-top: 30px;
  }

  .team .member-info {
    margin-bottom: 50px;
  }

  .propertiesinfo {
    padding: 30px 0px 140px 0px;
  }

  .listings-info .listings-address {
    font-size: 20px;
    width: 55%;
    line-height: 24px;
  }

  .listings-info:hover .listings-price {
    display: none;
  }

  .blog-list .featured-post h2 {
    font-size: 24px;
    line-height: 41px;
    margin-bottom: 19px;
    margin-top: 27px;
  }

  .contact-page {
    padding: 60px 15px;
  }

  .contact-page.about .section-title {
    padding-top: 0px;
  }

  .contact-page.about .btn-default {
    width: 100%;
    margin-bottom: 60px;
  }

  .contact-page.about .img-fill {
    width: 100%;
    height: inherit;
    max-width: 400px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    display: block;
  }

  .maininfo .links ul li a {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .maininfo .links ul li {
    width: 100%;
  }

  .maininfo .img-right {
    float: none;
    padding-left: 0;
    padding-bottom: 0;
    display: inline-block;
    width: 100%;
  }

  .maininfo .linkbtn {
    padding: 0 12px;
  }

  .maininfo table td {
    padding: 8px 6px;
    font-size: 11px;
  }

  .propertiesinfo .sright {
    text-align: left !important;
  }

  .propertiesinfo .sright .dropdown {
    margin: 0;
    margin-right: 15px;
  }

  .page-banner .breadcrumbs {
    padding: 15px 2px;
  }

  .page-banner .breadcrumbs li {
    margin: 0px 2px 0px 0px;
  }

  .contactform .btn-default {
    margin-top: 7px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 750px;
  }

  .hero .lists {
    justify-content: space-between;
  }

  .hero .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero .bootstrap-select:nth-child(6),
  .hero .bootstrap-select:nth-child(7) {
    width: 48% !important;
    min-width: 48% !important;
  }

  .hero .bootstrap-select:nth-child(7) {
    margin-left: 3% !important;
  }

  .hero .btn-default {
    width: 48% !important;
  }

  .hero .btn-default:last-child {
    margin-left: 3% !important;
  }

  .reviews p {
    padding: 0 75px;
    font-size: 18px;
  }

  .ctas a {
    width: 100%;
    max-width: 450px;
    margin: 20px auto;
  }

  .newsbox {
    display: flex;
  }

  .newsbox .img {
    width: 54.614%;
    overflow: hidden;
  }

  .newsbox .text {
    width: 47.386%;
    padding-left: 6%;
  }

  .facebookinfo {
    text-align: inherit;
  }

  .facebookinfo .text-end {
    text-align: inherit !important;
  }

  .facebookbox {
    padding: 22px;
  }

  .contactform .container {
    padding: 0px 40px;
  }

  .socialbox ul {
    text-align: center;
    margin-bottom: 30px;
  }

  .socialbox ul li {
    display: inline-block;
    margin: 0px 2px;
  }

  .team {
    padding: 30px 0px 80px 0px;
  }

  .team .team-intro {
    margin-top: 30px;
    margin-left: 0px;
  }

  .team div.ms-auto {
    margin-left: 0px;
    width: 100% !important;
  }

  .team .btn-default {
    margin-top: 30px;
  }

  .team .team-intro.last {
    margin-right: 0px;
    margin-top: 30px;
  }

  .team .member-info {
    margin-bottom: 50px;
  }

  .blog-list .featured-post h2 {
    font-size: 24px;
    line-height: 41px;
    margin-bottom: 19px;
    margin-top: 30px;
  }

  .blog-box .btn-default {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .contact-page.about .btn-default {
    margin-bottom: 60px;
  }

  .contact-page.about .img-fill {
    height: inherit;
    max-width: 400px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    display: block;
  }

  .contact-page .form-box {
    max-width: 514px;
    margin-left: auto;
    margin-right: auto;
  }

  .maininfo .img-right {
    float: none;
    padding-left: 0;
    padding-bottom: 0;
    display: inline-block;
    width: 100%;
  }

  .maininfo .linkbtn {
    padding: 0 15px;
  }

  .page-banner .breadcrumbs {
    padding: 15px 3px;
  }

  .page-banner .breadcrumbs li {
    margin: 0px 2px 0px 0px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding-left: 50px;
    padding-right: 50px;
  }

  .header .navbar-brand.logo a {
    font-size: 25px !important;
  }

  .header .navbar-brand.logo a span {
    font-size: 7.7px !important;
  }

  .main-nav .navbar .navbar-nav .nav-item {
    padding: 0 17px;
  }

  .main-nav .navbar .navbar-nav .nav-item .nav-link {
    font-size: 13px;
  }

  .hero .btn-default {
    line-height: 33px;
    font-size: 12px;
    min-width: 101px;
    padding: 0px 5px;
    margin-left: 15px;
    margin-top: 10px;
  }

  .propertybox span.details {
    position: relative;
    right: 0;
    margin: 10px 0;
  }

  .footer h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  .footer .social-items a {
    width: 40px;
    line-height: 40px;
  }

  .ctas a {
    line-height: 1.3;
  }

  .ctas a span {
    font-size: 20px;
  }

  .page-banner .breadcrumbs li {
    margin: 0px 2px 0px 0px;
  }

  .page-banner .breadcrumbs {
    padding: 15px 3px;
  }
}

@media (max-width: 500px) {
  .nameContDiv {
    display: none;
  }
  .hero .btn-default {
    font-size: 17px;
    min-width: 160px;
    padding: 0px 10px;
  }
  .hero .btn-default:first-child {
    margin-top: 0px !important;
  }

  .propertybox .text * {
    color: #ffffff !important;
    line-height: 1.3;
  }
  .properties .btn-default {
    padding: 0px 8px;
  }
  .side-menu ul.main-menu li a {
    text-transform: capitalize;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .hero .btn-default {
    width: 46%;
    margin: 0px 0px !important;
    padding: 0px 13px;
  }
  .hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    width: 100%;
    bottom: 0px;
    left: 0;
    background: #fff;
    margin-top: -120px;
    text-align: center;
    padding: 57px 0px;
  }
  .hero-content h1 {
    font-size: 35px;
  }
  .hero-content h1 {
    font-size: 27px;
  }
  .header {
    position: relative;
    background: #000;
    margin-top: 25px;
    padding: 0px 15px 18px 15px;
  }
  .navbar-light .navbar-brand img {
    max-height: 42px;
  }
  .logo {
    margin-top: 4%;
  }
}
