@media (max-width: 1366px) {
  section.home-list ul li {
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  section.home-list ul i {
    margin-right: 0px;
  }   
}
@media (max-width: 1024px) and (min-width: 981px) {
  section.home-list .col-4 {
    width: 49%;
  }
  .search-bar button.main-btn {
    font-size: 12px;
  }
  .search-bar select {
    font-size: 14px;
  }
  .search-bar input {
    font-size: 14px !important;
  }
}
@media (max-width: 980px) {
  section.featured-cabins li {
    font-size: 14px;
  }

  .check-form {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    height: 55px;
    width: 80%;
    margin: auto;
  }

  .check-availability.newcllass {
    position: static;
    top: 0;
    margin-top: 0;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .search-head {
    display: block;
  }

  .check-availability {
    display: block;
    position: absolute;
    top: 27%;
    width: 100%;
  }
  div#srch {
    width: 100%;
    position: fixed;
    left: 0;
    top: 100%;
    height: 100vh;
    z-index: 9;
    background: #fff;
    transition: 0.3s;
    border-radius: 0;
    padding: 30px 20px;
    overflow-y: scroll;
    transform: translateX(0);
    max-width: 100%;
    margin-top: 0;
  }

  .search-bar-inner {
    background: 0 0;
  }

  .search-bar.newClass,
  .search-head {
    position: relative;
  }

  .search-head h4 {
    border-bottom: 1px solid #000;
    font-size: 20px;
    padding-bottom: 15px;
    color: var(--black-color);
    font-weight: 400;
    font-family: var(--secondary-font);
    text-transform: capitalize;
    letter-spacing: 0;
  }

  .search-head i.fa.fa-times.close2 {
    font-size: 20px;
    color: #000;
    cursor: pointer;
    position: absolute;
    top: 5px;
    left: 96%;
  }

  .search-bar .main-check {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
  }
  .search-bar form {
    width: 100%;
    position: relative;
    bottom: 0px;
    margin-top: var(--m20);
    padding: var(--p20);
    margin-bottom: 0px;
  }
  .search-bar input {
    line-height: 34px;
    font-weight: 400;
    border-radius: 40px 0 0 40px;
    padding: var(--p12) var(--p22) var(--p11) var(--p48);
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
  }
  .search-bar .form-control:focus {
    background-color: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
  }
  .search-bar .check {
    margin-bottom: 15px;
  }
  .search-bar .check:before {
    display: none;
  }
  .search-bar i {
    top: 1.2rem;
    font-size: var(--f18);
    left: 20px;
    right: auto;
  }
  .search-bar select {
    height: 59px;
    width: 100%;
    line-height: 34px;
    font-weight: 400;
    border-radius: 40px;
    padding: var(--p12) var(--p22) var(--p11) var(--p12);
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    text-indent: 32px;
  }
  .search-bar .col-3 {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .search-bar .col-3.md-12.sm-12.srch-btn {
    width: 100%;
    margin-bottom: 0px;
    padding-left: 0;
  }
  .search-bar .check i {
    top: 1.2rem;
  }
  .search-bar input#end_date {
    padding-left: 48px;
    border-radius: 0 40px 40px 0;
  }
  .search-bar button.main-btn {
    height: 60px;
    border-radius: 40px;
  }
  .search-bar {
    position: relative;
    top: 0;
    width: 100%;
    padding-bottom: var(--p20);
  }
  section.home-list {
    padding: var(--p50) var(--p12);
  }
  section.home-list .col-4 {
    width: 49%;
  }
  .banner h1 {
    margin-top: var(--m90);
  }
  a.sticky.main-btn {
    display: block;
  }
  input#demo17 {
    height: 59px !important;
  }
  .search-bar .guest input {
    border-radius: 40px !important;
  }
  .search-bar .col-3:before {
    position: absolute;
    content: "";
    top: 24px;
    right: 0;
    width: 1px;
    height: 15px;
    background: #999;
    display: none;
  }
  section.featured-cabins .cabin-name h4 {
    margin-bottom: 5px;
    font-size: 20px;
    height: 48px;
  }
}
@media (max-width: 600px) {
  section.home-list .col-4 {
    width: 100%;
  }
  .shape-image img {
    width: 100%;
  }
}
@media (max-width: 540px) {

      .check-availability {
        top: 27%;
        /* z-index: 9; */
    }
    
  section.featured-cabins .head-sec h2 {
    font-size: 28px;
  }
  section.featured-cabins .cabin-images {
    height: 200px;
  }
  .check-form {
    width: 76%;
  }
  section.featured-cabins .cabin-images img{
    object-fit: contain;
  }

  #datepicker-demo17.datepicker {
    left: 0;
    top: 49%;
    width: 100% !important;
  }

  .search-bar input#end_date {
    border-radius: 40px;
  }
  .search-bar input {
    border-radius: 40px;
  }
  input#demo17 {
    height: 133px !important;
  }
  .search-bar .col-3 {
    width: 100%;
    margin-bottom: var(--m20);
  }
  .search-bar .check {
    margin-bottom: 15px;
    width: 100%;
  }
  .search-bar select {
    text-indent: 30px;
    border-radius: 40px;
  }
  .search-bar button.main-btn {
    height: 59px;
  }
  .search-bar {
    bottom: -350px;
  }
  .search-bar form {
    padding-bottom: var(--p20);
  }
  .search-bar .col-3.md-12.sm-12.srch-btn {
    width: 100%;
  }
  section.home-list {
    padding: var(--p40) var(--p12);
  }
  .how-we-value-heading h4 {
    font-size: 18px;
    text-align: center;
  }
  .how-we-value-heading h3 {
    margin-bottom: 0px;
    font-size: 25px;
  }
  section.home-list h3.title {
    height: auto;
  }
  section.home-list p.adr {
    height: auto;
  }
  a.sticky.main-btn {
    transform: rotate(0deg);
    position: fixed;
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
  }
  section.home-list .pro-cont {
    padding: var(--p24) var(--p14);
    margin-top: 0;
  }
  footer .copyright {
    padding-bottom: var(--p60);
  }
  .map-sec iframe {
    border: 0;
    height: 400px;
  }
  .map-sec h3 {
    font-size: var(--f28);
    margin-bottom: 20px;
  }
  section.home-list .pro-img img {
    height: 250px;
  }
  .head-sec h2 {
    font-size: var(--f28);
  }
  .banner p {
    font-size: 17px;
    text-align: center;
  }

  section.featured-cabins .container {
    padding: 0;
  }

  section.featured-cabins span.from, section.featured-cabins span.per-night {
    font-size: 16px;
 
}

.cabin-price-inline .price {
    font-size: 18px;
}


}

@media (max-width: 360px) {
  .banner p {
    font-size: 16px;
    text-align: center;
  }
  .head-sec h2 {
    font-size: var(--f25);
  }
  .map-sec h3 {
    font-size: var(--f25);
    margin-bottom: 20px;
  }
  .how-we-value-heading h4 {
    font-size: 16px;
  }
  .how-we-value-heading h3 {
    font-size: 22px;
  }
  section.home-list img.img-fluid {
    height: 250px;
  }
  section.home-list h3.title {
    height: auto;
  }
  section.home-list h5 span {
    font-size: var(--f21);
  }
}
@media (max-width: 320px) {
  section.home-list ul li {
    text-align: center;
    font-size: var(--f13);
  }
  .check-availability p{
    font-size: 13px !important;
  }
  section.featured-cabins li{
    font-size: 12px;
  }
}
