.event-card-activity-list, .group-card-activity-list {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 3px 4px 7px #adadad;
    min-width: 300px;
    height: 200px;
}
.event-card-activity-list img {
    width: 100%;
    height: 120px;
    object-fit: cover;
        object-position: top;
    /* filter: brightness(0.5); */
}
.medal-image-short-circle{
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: scale-down !important;
    border: 2px solid #ff0000 !important;
}

.event-details-activity-list {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 10px;
}
.event-title-activity-list {
    font-size: 15x;
    font-weight: bold;
}
.event-info-activity-list {
    font-size: 13px;
}
.event-actions-activity-list {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}
.btn-like-activity-list, .btn-comment-activity-list {
  background: rgb(167 167 167 / 30%);
  border: none;
  padding: 0px 10px;
  border-radius: 5px;
  font-size: 15px;
  margin: 0 5px;
}
.btn-like-activity-list:hover, .btn-comment-activity-list:hover {
    background: rgba(97, 97, 97, 0.5);
}

.event-actions-icons-activity-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
    z-index: 0;
    position: absolute;
    top: 11px;
    left: 25%;
  }
  
  .btn-edit-activity-list:hover {
    color: #28a745; /* Green for edit */
  }
  
  .btn-delete-activity-list:hover {
    color: #dc3545; /* Red for delete */
  }

  .btn-edit-activity-list {
    background-color: #4caf50; /* Green background for edit */
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
  }
  
  .btn-edit-activity-list,
  .btn-delete-activity-list {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 5px;
    cursor: pointer;
    width: 100px;
  }
  
  .btn-edit-activity-list:hover,
  .btn-delete-activity-list:hover {
    opacity: 0.8; /* Add hover effect */
    color: black;
  }

  .common-checkbox input{
    margin-right: 10px;
  }
.profile-uploader-container
{
  border: 1px solid #cecece;
}


  
@media (max-width: 768px) {
    .event-title-activity-list {
        font-size: 15px;
    }
    .event-info-activity-list {
        font-size:13px;
    }
    .small-width-country
    {
      width: 160px !important;
    }
}

.small-width-country
{
  width: 200px;
}


.image-container-edit{
  background-color: gray;
    border: 1px solid #5d5d5d;
    border-radius: 10px;
    text-align: right;
}

.image-container-edit button{
  width: 50%;
  height: 30px;
  border: 1px solid #ff0000;
  background: red;
  color: white;
}
.btn-regular{
  background: #545e95 !important;
  border-color: #545e95 !important;
}

.section-header {
  background-color: #b5b5b5;
  cursor: pointer;
  padding: 10px;
  border: 1px solid #dee2e6;
  margin-bottom: 5px;
  color: black;
  display: flex;
  justify-content: space-between;
}
.section-content {
  padding: 15px;
  margin-bottom: 15px;
}
.parent-section
{
  padding: 0;
  border: none;
}
.surface-body{
  background-color: #e4e4fb;
  border-radius: 5px;
  padding: 10px;
}
.event-status-item{
  padding: 0 10px;
  width: 130px;
  margin: 3px 5px;
  border-radius: 5px;
  font-size: 13px;
}
.selected-status
{
  background-color: #575757 !important;
  border-color: #404040;
  color: #ffffff;
  font-weight: bold;
}

.parent-div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0px;
}

.child-div {
  flex: 1 1 48%; /* Ensures both divs share 50% width in desktop view */
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.text-left
{
  text-align: left;
}
.rdo-lbl
{
  margin-right: 5px;
  border-radius: 15px;
  padding: 0 15px;
}
.half-m{
  background-color: #fff252;
}
.full-m{
  background-color: #ff8d30;
}
.ultra-m{
  background-color: #ff7418;
}
.ultra2-m{
  background-color: #af4601;
}
.other-m{
  background-color: #7e7e7e;
}

.info{
  display: block;
}
.checkbox-label{
  padding: 0 10px;
  background-color: #e1e1e1;
  border-radius: 10px;
  margin-right: 6px;
  color: black;
    font-weight: normal;
}
.checkbox-label input{
  margin-right: 10px;
}

.chk-certificate span{
  font-size: 11px;
}


.event-status-item input{
  margin-right: 10px;
}
.text-warning-msg{
  color: red;
  font-size: 12px;
  text-align: left;
  margin: 2px 3px;
}
.checkbox-container{
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem; 
}
.check-container-parent
{
  background-color: white;
  padding-top: 15px;
}

.list-container {
  margin-top: 1rem;
  border-radius: 6px;
  background-color: white;
  width: 100%;
  max-height: 450px;
  overflow-y: scroll;
}
.btn-new{
  font-size: 24px;
  padding: 0;
  margin: 0;
}
.fee-input
{    
  padding: 5px 10px;
  border-radius: 5px;
  width: 100%;
}

.ultra3-m{
  background-color: #6b2b01;
}
.custom-information
{
  display: block;
    border: 1px solid #b7b7b7;
    margin: 5px 0;
    padding: 5px;
    border-radius: 10px;
}
.surface-value{
  background-color: #3e3e3e;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 0 10px;
  margin-left: 10px;
  color: white;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
  color: #444444;
  font-weight: 500;
  font-size: 0.87rem;
}

.rdo-input
{
  margin-right: 5px !important;
}
.distance-container{
  border: 1px solid #c1ffbf;
  background-color: #e2ffe1;
  border-radius: 10px;
  padding: 10px;
  min-height: 200px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .child-div {
    flex: 1 1 100%; /* Stacks divs on top of each other */
  }
}


/* Custom container for the event selection list */
.event-selection-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 144px;
  overflow-y: auto;
  background-color: #e1e1e1;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Custom style for each event list item */
.event-selection-item {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
}

/* Hover effect for event list item */
.event-selection-item:hover {
  background-color: #f1f1f1;
}

/* Style when an event is selected */
.event-selection-item.selected {
  background-color: #d3f9d8; /* Light green for selected event */
  font-weight: bold;
}

/* Custom style for the input box above the event list */
.event-selection-input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
}

/* Optional: Style for the input box when focused */
.event-selection-input:focus {
  border-color: #4caf50;
  outline: none;
}

.gen-event-name-parent{
  border: 1px solid #eee;
  padding: 10px;
  background-color: gray;
  color: white;
  border-radius: 5px;
}

.event-year-div
{
  padding-left: 0px;
    margin-right: 10px;
}
.event-year-div select{
  height: 40px;
}

.event-instructions {
  width: 100%;
  font-size: 12px;
  padding-left: 10px;
}
.space-y-2{
  display: flex;
  padding-bottom: 10px;
}
.chk-certificate{
  padding: 0px 10px;
  background-color: #eee;
  border-radius: 5px;
  font-weight: 600;
  margin-right: 10px;
  display: flex;
 width: 300px; 
}
.chk-certificate input{
  margin: 7px 8px;
}

.event-type-content
{
  padding: 0px 10px;
  background-color: #eee;
  border-radius: 5px;
  font-weight: 600;
  margin-right: 10px;
  display: flex;
  font-size: 13px;
  height: 25px;
}
.selected-event-type{
  background-color: #575757;
  border-color: #404040;
  color: #ffffff;
  font-weight: bold;
  height: 25px;
}

.event-type-content input{
  margin: 0 8px 0 0;
}


/* styles.css or any CSS file you use */
.triathlon-container {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  font-size: 12px;
}

.triathlon-container strong {
  color: #858585;
  font-size: 1.1em;
}

.triathlon-container ul {
  list-style: none;
  padding: 0;
}

.triathlon-container li {
  font-size: 1em;
  padding: 5px 0;
  line-height: 1.6;
}

.triathlon-container li span {
  color: #3498db; /* Custom color for the distance or value */
}

.triathlon-container li:last-child {
  font-weight: bold;
  color: #e74c3c;
}

.show-more-btn {
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
  margin-top: 10px;
}
.show-more-btn:hover {
  text-decoration: underline;
}
.liked-user-count
{
  padding: 0px 10px;
  font-weight: 600;
  border: 1px solid #eee;
  height: 32px;
  border-radius: 5px;
  margin-left: 8px;
  cursor: pointer;
  padding-top: 3px;
}