section {
    padding-bottom:0;
    max-width:1100px;
}
    /*form-section*/
    section.form {
    position: absolute;
    top: 23%;
    left:2%;
    background-color: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #2f285a;
    width: 418px;
        border-radius: .1875rem;
        -ms-grid-row-align: center;
        align-self: center;
        box-shadow: 0 15px 35px 0 rgba(0, 0, 0, .25);
        padding-bottom:0;
    }
    form {
        border:4px solid #e4dddd;;
        padding:10px;
    }
    .form-heading {
    color: #2F285A;
    }
    .form-heading span,.white-bg-button span {
    color: #56e07b;
    }
    .white-bg-button {
        color:#fff;
    }
    .form-sub-heading {
    font-size:15px;
    }
    .form input[type='text'],.form select {
    background:#ffffff;
    border: 1px solid #e4dddd;
    margin-top:0;
    } 
    .facilities i {
    color:#6c757d;   
    }
    .white-bg-button {
        background-color:#2f285a;
    }
    
    .d-inline-block {
  display: inline-block;
}

.myinput-group {
  display: flex;
  border: 1px solid #e4dddd;
  margin-top:15px;
}
@media (max-width: 425px) {
  .myinput-group {
    width: 100%;
  }
}
.myinput-group .prepend {
  color: #5400c2;
  padding: 0.4em;
  margin: auto;
}
.myinput-group input {
  padding: 0.7em 1em;
  border: none;
  color: #5400c2;
  flex-grow: 1;
}
    
    @media(max-width:1200px)
    {
        section.form {
            padding-left:0!important;
            padding-right:0!important;
            width:100%!important;
            position: relative;
            left:0%;
    top: 0%;
    margin-bottom:20px;
        }
 
        
    }
    /*end of form-section*/
    
    
    /*card*/
    
    .court-listing,.facilities {
        position:relative;
    }
    .card {
  display: flex;
  border: 4px solid #000;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding:10px;
  margin-bottom:0;
}

.facility-img {
  width: 300px;
  height: auto;
  object-fit: cover;
  border-radius:10px;
}

.card-content {
  padding: 20px;
  flex: 2;
}
.inner-card-content {
    display: flex;
    justify-content: space-between;
}

.title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-bar h2 {
  color: #000;
  margin: 0;
  font-size: 1.4rem;
}

.address {
  margin: 10px 0;
}

.highlight {
  color: red;
  font-weight: bold;
}
.features-parent-div {
    display:none;
}
.features {
  margin-top: 10px;
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  border:2px solid #e4dddd;;
  padding:10px;
  flex-wrap:wrap;
}

.side-panel {
  padding: 10px;
}

.side-panel div a {
  text-align:center;
}

.book-button {
  background: var(--primary-color);
  color: #000;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 10px;
}
.book-button i {
    color:#000;
    margin-right:5px;
}

.availability {
  color: #000;
  font-size: 0.9rem;
  margin-top:10px;
}
 /*end of card*/

.venue-card {
  display: flex;
  border-radius: 8px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding:20px;
}

.image-section img {
  width: 100%;
  height: 100%;
  max-width: 400px;
  object-fit: cover;
  border-radius:10px;
}

.content-section {
  background-color: #000;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.features2 {
  list-style: none;
  padding: 0;
}

.features2 li {
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  color:var(--primary-color);
}

.last-li {
    margin-bottom:0!important;
}

.icon {
  margin-right: 15px;
  color: #FFC107;
}

.list-button-div {
    align-self: center;
}

.list-button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  color: #2D215C;
}
    .login-img {
        width:100%;
        /*height:100%;*/
    }
    .d-none {
        display:none!important;
    }
    @media(max-width:950px) {
        .card {
        flex-wrap: wrap;
        flex-direction: column;
        }
        .inner-card-content {
    flex-direction: column;
    gap: 15px;
     }
     .book-button {
         display:block;
     }
     .features2 .last-li {
    margin-bottom:20px!important;
}
.features-parent-div {
    display:block;
}
.features-parent-divv {
    display:none;
}
        .facility-img,.list-button {
            width:100%;
        }
        .side-panel {
            padding:0;
        }
        .availability {
            text-align:left;
        }
        .venue-card,.content-section {
            flex-direction:column;
        }
        .venue-card img {
            max-width:100%;
        }
        .list-button-div {
         align-self: stretch;
    }
    }