/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* Events Grid Layout */
.wbcom-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    margin-bottom: 30px;
}

/* Individual Event Card */
.wbcom-event-card {
    border: 1px solid var(--bb-content-border-color);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    background: var(--bb-content-background-color);
}

/* Event Image */
.wbcom-event-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Event Content */
.wbcom-event-content {
    padding: 15px;
}

.wbcom-event-content h3 {
    margin-bottom: 10px !important;
}

.wbcom-event-content .wbcom-event-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.wbcom-event-content a {
    color: var(--tec-color-text-events-title);
}

.wbcom-event-content a:hover {
	color:var(--bb-primary-color);
}

/* Pagination */
.wbcom-pagination {
    margin-top: 20px;
    text-align: center;
}

/*  css for the rsvp page in buddypress */
/* Apply the styles only when .wbcom-rsvp-item exists */
.wbcom-rsvp-item {
    border: 1px solid var(--bb-content-border-color);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    /* max-width: 600px; */
    background: var(--bb-content-background-color);
}

.wbcom-rsvp-item .wbcom-event-image img {
    max-width: 100%;
	width:100%;
    height: 250px;
    object-fit: cover;
}

.wbcom-rsvp-item .wbcom-event-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wbcom-rsvp-item .wbcom-event-details h3 {
    margin: 0 0 10px !important;
    font-size: 18px;
}

.wbcom-rsvp-item .wbcom-event-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.wbcom-rsvp-item .wbcom-event-details a {
    color: var(--tec-color-text-events-title);
}

.wbcom-rsvp-item .wbcom-event-details a:hover {
	color:var(--bb-primary-color);
}

/* Flex container styles */
.wbcom-rsvps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Onboaring Resstrict the menu item */
body.onboarding-active li#menu-item-503,
body.onboarding-active li#menu-item-506,
body.onboarding-active li#menu-item-1686,
body.onboarding-active li#menu-item-501,
body.onboarding-active li#menu-item-504,
body.onboarding-active li#menu-item-3269{
    display: none;
}

/* Styles for the .wbcom-rsvp-item wrapper only when inside the container */

.wbcom-rsvps-container .wbcom-rsvp-item {
    flex: 0 0 calc(33.333% - 20px); 
}

@media screen and (max-width: 800px) {
  
	.wbcom-rsvps-container .wbcom-rsvp-item {
		flex: 0 0 calc(50% - 20px); 
	}
	
}

@media screen and (max-width: 567px) {
  
	.wbcom-rsvps-container .wbcom-rsvp-item {
		flex: 0 0 100%; 
	}
	
}


#wp-group_welcome_message-wrap{
	margin-bottom:20px;
}



/* Desktop - standard table layout */
/* .job-manager-past-applications {
  width: 100%;
  border-collapse: collapse;
}
.job-manager-past-applications td {
  padding: 8px 12px;
  border: 1px solid #ccc;
} */

/* Mobile - stack each cell */

@media screen and (max-width: 768px) {
	
  .job-manager-past-applications,
  .job-manager-past-applications tr,
  .job-manager-past-applications td {
    display: block;
    width: 100%;
  }
	
	.job-manager-past-applications tr:first-child{
		display:none;
	}

  .job-manager-past-applications tr {
    margin-bottom: 15px;
	  border-bottom: 1px solid #eee;
  }

  .job-manager-past-applications td {
        text-align: left;
        position: relative;
        padding-left: 50%;
        border: none;
        font-size: 15px;
        width: 100% !important;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 15px !important;
        line-height: 20px;
  }

  .job-manager-past-applications td::before {
   		content: attr(data-table);
        position: absolute;
        left: 10px;
        width: 150px;
        /* white-space: nowrap; */
        font-weight: bold;
        text-align: left;
        /* color: #333; */
        font-size: 14px;
    }
  }
	
}





