/************************************************************************
        Main picture section
************************************************************************/

.booking-main{
    min-height: 50rem;
    background: url('https://images.pexels.com/photos/2263436/pexels-photo-2263436.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260') no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}
.booking-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #28489A 0%, #4680F7 100%);
    z-index: 1;
    pointer-events: none;
}

.background-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0.3;
    background: rgb(41,72,154);
    background: linear-gradient(0deg, rgba(41,72,154,1) 0%, rgba(14,3,26,0.9640231092436975) 88%);
}

.booking-main_heading {
    min-height: 40rem;
    position: relative;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.booking-main_heading h1 {
    font-size: 4rem;
    text-transform: capitalize;
}

.booking-main_heading p {
    color: var(--white-color);
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.booking-main_heading a{
    background:var(--primary-color);
    border-radius: .5rem;
    color:var(--white-color);
    font-size: 2rem;
    padding: .8rem 2rem;
    text-transform: uppercase;
}


/************************************************************************
        Events Results
************************************************************************/

.events-result h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.events-result .filter-bar span {
    padding: .5rem 2rem;
    border-radius: 2rem;
    border: 1px solid black;
    color:black;
    display:inline-block;
    cursor: pointer;
    transition:all .2s ease-in-out;
    margin-right: 1.5rem;
}

.events-result .filter-bar span:hover, .events-result .filter-bar span:active, .events-result .filter-bar span:focus,
.events-result .filter-bar span:visited {
    background:black;
    color:var(--white-color);
}

.events-result .filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
}
.events-result .filter button {
    background: var(--primary-color);
    color:var(--white-color);
    text-transform: uppercase;
    border-radius: 1rem;
    padding: .8rem 2rem;
    font-size: 1.8rem;
}

/* Event box */
.events-result .result-box {
    --gap: 3rem;
    --num-cols: 3;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    gap: var(--gap);
    margin-bottom: 2rem;
}

.events-result .result-box article {
    flex-basis: 32%;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    /*margin: 0 2rem 3rem 0;*/
}

.events-result .result-box article .img {
    height: 35rem;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    position: relative;
}

.wishlist-button, .share-button {
    position: absolute;
    color: var(--white-color);
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,.2);
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.wishlist-button {
    right: 1.6rem;
    top: 1rem;
}
.share-button {
    right: 5.6rem;
    top: 1rem;
}

.events-result .result-box article .text-section {
    padding:1.5rem;
}



.text-section .date-format {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    color:var(--primary-color);
    margin: 1rem 0;
}

.text-section .title {
    font-weight: 600;
}

.events-result .result-box article .details {
    margin: 2rem 0;
    display: flex;
    justify-content:space-between;
    align-items: center;
    color:var(--primary-color);
    font-size: 1.4rem;
}
.events-result .result-box article .details > div:first-of-type{
    flex-grow: 1;
}
.events-result .result-box article .details > div:last-of-type {
    flex-basis: 120px;
    text-align: right;
}

.events-result .result-box article .details .price div {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
.events-result .result-box article .details .price button {
    background: var(--primary-color);
    color:var(--white-color);
    font-weight: 600;
    font-size: 1.4rem;
    border-radius: .5rem;
    padding: 1rem;
}

.more-btn button {
    background: var(--primary-color);
    color:var(--white-color);
    text-transform: uppercase;
    border-radius: 1rem;
    padding: .8rem 2rem;
    font-size: 1.8rem;
}

/************************************************************************
        Booking Side Filters
************************************************************************/

#sort_by {
    padding: 1.5rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid #D6D6D6;
    width: 38rem;
    outline: none;
}

.booking-results header{
    margin-bottom: 2rem;
}
.booking-results header ul {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-color);
    list-style:none;
    display: flex;

}

.booking-results header ul li:not(:last-of-type) {
    margin-right: 1rem;
    position: relative;
}
.booking-results header ul li:not(:last-of-type) i {
    margin: 0 .5rem;
}

.booking-results header h3 span {
    font-size: 1.8rem;
}


.booking-results_holder aside {
    flex-basis:30%; 
    margin-right: 7rem;
}
.booking-results_holder main {
    flex-basis:80%; 
}

.booking-results_holder #google_map {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 2px 1px 10px 0px rgb(0 0 0 / 10%);
    
}
.booking-results_holder #google_map > button {
    display: block;
    width: 100%;
    background:transparent;
    color: var(--primary-color);
    opacity: 0.9;
    font-size: 1.8rem;
    border:none;
    padding: 1rem;

}

.booking-margin-bottom {
    margin-bottom: 3.5rem;
}


.booking-results_holder #property_name > div {
    font-size:1.8rem;
    font-weight: 600;
    margin-bottom:1rem;
    color:var(--primary-color);
}
.booking-results_holder #property_name > input {
    background:transparent;
    border:1px solid  #BEC8E1;
    color: var(--primary-color);
    height: 5rem;
    border-radius: 1rem;
    width: 100%;
    padding-left:3rem;
}
.booking-results_holder #property_name > input::placeholder{
    color:#BEC8E1;
}


.filter-box {
    padding: 4rem 3.5rem;
    border:1px solid var(--border-color);
    box-shadow: 2px 1px 10px 0px rgb(0 0 0 / 10%);
    border-radius: 1.5rem;
}

.filter-box h4 {
    font-size: 2rem;
    color:var(--primary-color);
    letter-spacing:1px;
    font-weight: 500;
    margin-bottom: 2rem;
}
.filter-box hr {
    height: 1px;
    background-color: var(--border-color);
    border: none;
    margin: 0.5rem 0 2rem 0;
}
.filter-box .see-more{
    border:none;
    color:var(--primary-color);
    opacity: .8;
    text-decoration: underline;
    background:transparent;
}

.filter-box label {
    display: inline-block;
}



.flex-filter{
    height: 12rem;
    overflow: hidden;
}

.flex-filter-open {
    height: 100%;
}



/* Slider input CSS */
input {
    box-shadow: 0;
    outline: 0;
  }
  .price-slider {
    text-align: center;
    position: relative;
    height: 2em;
  }
  .price-slider svg,
  .price-slider input[type=range] {
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .price-slider input[type=number] {
    border: none;
    text-align: center;
    font-size: 1.6rem;
    -moz-appearance: textfield;
  }
  input[type=number]::-webkit-outer-spin-button,
  input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }
  input[type=number]:invalid,
  input[type=number]:out-of-range {
    border: 2px solid #e60023;
  }
  input[type=range] {
    -webkit-appearance: none;
    width: 100%;
  }
  input[type=range]:focus {
    outline: none;
  }
  input[type=range]::-webkit-slider-runnable-track {
    background: red;
  } 
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--primary-color);
  } 
  input[type=range]:focus::-ms-fill-lower {
    background: red;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #1da1f2;
  }
  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: #E0E0E0;
    border-radius: 1px;
    box-shadow: none;
    border: 0;
  }
  input[type=range]::-webkit-slider-thumb {
    z-index: 2;
    position: relative;
    box-shadow: 0px 0px 0px #000;
    border: 1px solid var(--primary-color);
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: var(--primary-color);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
  }
  input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: red;
    border-radius: 1px;
    box-shadow: none;
    border: 0;
  }
  input[type=range]::-moz-range-thumb {
    z-index: 2;
    position: relative;
    box-shadow: 0px 0px 0px #000;
    border: 1px solid #1da1f2;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #a1d0ff;
    cursor: pointer;
  }
  input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  input[type=range]::-ms-fill-lower,
  input[type=range]::-ms-fill-upper {
    background: #1da1f2;
    border-radius: 1px;
    box-shadow: none;
    border: 0;
  }
  input[type=range]::-ms-thumb {
    z-index: 2;
    position: relative;
    box-shadow: 0px 0px 0px #000;
    border: 1px solid #1da1f2;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #a1d0ff;
    cursor: pointer;
  }

  .rating-stars {
      display:flex;
      justify-content: space-between;   
      align-items: center;
      width: 90%;
  }
  .rating-stars > div {
      padding: .5rem 1rem;
      border:1px solid var(--primary-color);
      border-radius: .5rem;
      color: var(--primary-color);
      transition: background-color .2s ease-in-out;
      cursor:pointer;
  }
  .rating-stars > div > span {
      color: #919191;
  }
  .rating-stars > div > i {
      font-size: 1.2rem;
  }
  .rating-stars > .selected-star {
      background:var(--primary-color);
      color:var(--white-color);
  }
  .rating-stars  .selected-star  span {
    color:var(--white-color);
  }
