/*
 Theme Name:   Bame Child  
 Theme URI:    https://wordpress.themeholy.com/bame/
 Description:  This is a child theme for Bame - WordPress Theme
 Author:       Themeholy
 Author URI:   https://themeforest.net/user/themeholy 
 Template:     bame
 Version:      1.0
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  bame-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */
/* Techfanatic(Dharmesh) start */
.team-card-content-info {
  background: rgb(185, 38, 27);
  background: linear-gradient(
    155deg,
    rgba(185, 38, 27, 1) 36%,
    rgba(255, 190, 24, 1) 83%
  );
  padding: 10px;
  /* border-radius: 0px 0px 10px 10px; */
  margin-bottom: 25px;
}

.team-card-content-info .team-designation,
.team-card-content-info .team-subtext {
  color: white;
  font-family: "Rajdhani", sans-serif;
  margin: unset;
}
/* Container for the event items */
.tabs a.active-tab {
  font-weight: bold;
}
.event-tab-content {
  display: none;
}
.event-tab-content.active {
  display: block;
}

.event_tounament {
  margin: 0 auto;
  padding: 20px;
  max-width: 1200px;
}

/* Event list style */
.tab-content .upcoming-event-list,
.tab-content .finished-event-list,
.tab-content-listing .finished-event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.tab-content .event-item,
.tab-content-listing .event-item {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Styling for the event thumbnail (image) */
.tab-content .event-thumbnail,
.tab-content-listing .event-thumbnail {
  width: auto; /* Set the size of the image */
  height: 200px;
  overflow: hidden;
  position: relative;
}

.tab-content .event-thumbnail img,
.tab-content-listing .event-thumbnail img {
  width: 750px;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* Hover effect for the image (zoom in effect) */
.tab-content .event-thumbnail:hover img,
.tab-content-listing .event-thumbnail:hover img {
  transform: scale(1.1);
}

/* Event details section */
.tab-content .event-details,
.tab-content-listing .event-details {
  flex: 1;
  padding: 15px;
}
.tab-content .event-content,
.tab-content-listing .event-content {
  padding: 20px;
}
.tab-content .event-item,
.tab-content-listing .event-item {
  margin: 5px;
}

.tab-content .tournament-info,
.tab-content-listing .tournament-info {
  display: grid;
  grid-template-columns: 1fr 0fr;
  gap: 5px;
}

.tab-content .event-details h3,
.tab-content-listing .event-details h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  color: white;
}

/* Event info container */
.tournament-info {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* Each info item (Date, Time, Fees, Location) */
.tab-content .tournament-info .event-info-item,
.tab-content-listing .tournament-info .event-info-item {
  margin-bottom: 8px;
  span {
    color: #45f882;
  }
}
.slick-slide {
  border: 1px solid #45f882;
}
.slick-slide:hover {
  border: 1px solid #b9261b;
}
.slick-dots li button:before {
  color: white !important;
}
.slick-dots li.slick-active button:before {
  color: #45f882 !important;
}

/* Labels for the event info (Date, Time, etc.) */
.tab-content .event-info-item label,
.tab-content-listing .event-info-item label {
  font-weight: bold !important;
  color: #fff !important; /* Red color for the labels */
  margin-right: 5px;
}

ul.tabs {
  margin: 0px;
  padding: 0px;
  list-style: none;
  text-align: center;
  /* background: gray; */
}
ul.tabs li {
  background: none;
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
  font-family: "Rajdhani";
  font-size: 16px;
  font-weight: 600;
}

ul.tabs li.current {
  background: #b9261b;
  color: #fff;
  border-radius: 10px;
}

.tab-content {
  display: none;
  padding: 15px 0px;
}

.tab-content.current {
  display: inherit;
}
.tab-content-listing .finished-event-list {
  display: grid !important;
  grid-template-columns: auto auto auto;
  gap: 0px;
}
.tab-content-listing .finished-event-list li.event-item:hover {
  border: 1px solid #b9261b;
  width: auto;
}
.tab-content-listing .btn-wrapper {
  text-align: center;
}
.finished-event-list {
  display: grid !important;
  grid-template-columns: auto auto auto;
  gap: 0px;
  .event-item {
    border: 1px solid #45f882;
    width: auto;
    display: block;
  }
}
#report-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Darker background to blend with black page */
  z-index: 9998;
  padding-top: 100px;
}

/* Modal Content Styling */
#modal-content {
  background-color: #fff; /* White background for modal */
  margin: auto;
  padding: 40px 20px;
  border-radius: 5px;
  width: 50%;
  z-index: 9999;
  max-height: 80vh;
  overflow-y: auto;
}

#wpforms-container-49172 {
  margin-top: 20px;
}

/* Close button styling */
#close-modal {
  font-size: 30px;
  color: red;
  float: right;
  cursor: pointer;
}
#close-modal:hover {
  color: yellow; /* Darker color on hover */
}
.event-enquiry-btn {
  text-align: center;
}
.event-winner {
  text-align: center;
  h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: white;
  }
  .winner-info-item {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin: 10px 0px;
    label {
      font-weight: bold !important;
      color: #fff !important;
      margin-right: 5px;
    }
    span {
      color: #45f882;
      top: -4px;
      position: relative;
    }
  }
}

/* Responsive styles for smaller screens */
@media (max-width: 991px) {
  .event-item {
    flex-direction: column;
    align-items: center;
  }

  .event-thumbnail {
    width: 100%;
    height: 250px;
  }

  .event-details {
    text-align: center;
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .event-thumbnail {
    height: 200px;
  }
  .tab-content .tournament-info,
  .tab-content-listing .tournament-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .finished-event-list {
    display: grid !important;
    grid-template-columns: unset;
  }
}

/* Techfanatic(Dharmesh) stop */
