.ed-events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between event items */
}

.ed-event {
    flex: 1 1 300px; /* Adjust the width as necessary */
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.ed-events-container-past {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between event items */
}

.ed-event-past {
    flex: 1 1 calc(50% - 20px); /* Two events per row, considering the gap */
    max-width: calc(50% - 20px); /* Ensure max-width is consistent with flex-basis */
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.ed-event img {
    max-width: 100%;
    height: auto;
}


.ed-event .description {
    flex: 1; /* Makes the description take up the remaining space */
    overflow: hidden;
    margin-top:-10px;
	text-overflow: ellipsis;
}

.ed-event .event-time {
    margin-top: auto; /* Pushes the event time to the bottom */
}

.ed-event .event-time i,
.ed-event .event-location i
{
    margin-right: 5px; /* Space between icon and text */
}

.ed-event .event-location .location-secondary
{
    display: block;
    color: #777; /* Slightly greyed text for the second part */
    margin-left: 20px; /* Indent the secondary text */
}

.ed-event .location-secondary
{
    display: block;
    color: #777; /* Slightly greyed text for the second part */
	margin-top:-10px;
    margin-left: 20px; /* Indent the secondary text */
}

.ed-event p, .ed-event h3 {
    margin: 10px 0;
}

.ed-event-past .title-secondary
{
    display: block;
    color: #777; /* Slightly greyed text for the second part */
	margin-top:-20px;
    margin-left: 20px; /* Indent the secondary text */
}

.ed-event-past img {
    max-width: 100%;
    height: auto;
}
.ed-event-past .content {
    flex: 1;
}

.ed-event-past .media {
    margin-top: auto;
}

.ed-event-past .description {
  
    min-height: 10px;
}

.ed-event-past .event-time {
    margin-top: auto; /* Pushes the event time to the bottom */
}

.ed-event-past .event-time i,
.ed-event-past .event-location i
{
    margin-right: 5px; /* Space between icon and text */
}

.ed-event-past .event-location .location-secondary
{
    display: block;
    color: #777; /* Slightly greyed text for the second part */
    margin-left: 20px; /* Indent the secondary text */
}

.ed-event-past .location-secondary
{
    display: block;
    color: #777; /* Slightly greyed text for the second part */
	margin-top:-10px;
    margin-left: 20px; /* Indent the secondary text */
}

.ed-event-past p, .ed-event h3 {
    margin: 10px 0;
}


.ed-map
{
    width: 100%;
    height: 200px;
    margin-top: 10px;
}


.youtube-embed {
    margin-top: 10px;
}

.youtube-embed iframe {
    width: 100%;
    height: 315px;
}


.attend-button
{
    width:50%;
	display: inline-block;
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50px; /* Makes the button round */
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    margin: auto;
	margin-top: 10px;
	margin-bottom:15px;
}

.attend-button:hover i
{
    background-color: darkred;
}

.comment-form
{
    margin-top:30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-form textarea
{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.comment-form button
{
    padding: 10px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.comment-form button:hover
{
    background-color: #005a87;
}

.comment-button-disabled
{
    padding: 10px;
    background-color: #ccc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
}


.comment-table {
    width: 100%;
    border-collapse: collapse;
}

.comment-table td {
    font-weight: normal; /* Ensure text is not bold */
    font-size: 14px; /* Set a consistent font size */
    padding: 8px; /* Add some padding for better readability */
    border: 1px solid #ccc; /* Optional: Add border to table cells */
    text-align: left; /* Align text to the left */
}

.comment-table td.comment {
    width: 70%;
}

.comment-table td.date-user {
    width: 30%;
}

.pdf-container
{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pdf-thumbnail 
{
	border: 1px solid grey;
}

/* Team: Style 1 */
.team-container.style1 .team
{  
    display: flex;
    flex-direction: row; /* Arrange items in a row */
    /* background-color: #f9f9f9; */
    /* border: 1px solid #ccc; */
    padding: 10px;
    margin-bottom: 20px;
}

.team-container.style1 .team .media
{
    flex: 1;
    max-width: 40%; 
    margin-right: 20px; 
}

.team .media img
{
    width: 200px; 
    height: 231px; 
    object-fit: cover; 
    display: block; 
}

.team-container.style1 .team .content
{
    flex: 2; 
}

/* Team: Style 2 */
.team-container.style2 .team
{
    background-color: #fff3e0;
    border: 1px solid #ff9800;
    display: flex;
    flex-direction: row;
    border-radius: 10px; /* Rounded borders for the team div */
    padding: 10px;
    margin-bottom: 20px;
}

.team-container.style2 .team .title
{
    margin-top: -20px;
	margin-bottom:50px;
    font-weight:bold;
}

.team-container.style2 .team .media {
    flex: 1;
    max-width: 40%;
    margin-right: 20px;
}

.team-container.style2 .team .media img {
    width: 200px; /* Set the desired width */
    height: 231px; /* Set the desired height */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    border-radius: 10px; /* Rounded borders for the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for the image */
    display: block; /* Ensure the image is displayed as a block element */
}

.team-container.style2 .team .content {
    flex: 2;
}

/* Team: Style 3 */
.team-container.style3 .team
{
    background-color: #cee7f1;
    border: 1px solid #ff9800;
    display: flex;
    flex-direction: row;
    border-radius: 10px; /* Rounded borders for the team div */
    padding: 10px;
    margin-bottom: 20px;
}

.team-container.style3 .team .media {
    flex: 1;
    max-width: 40%;
    margin-right: 20px;
}

.team-container.style3 .team .title
{
    margin-top: -20px;
	margin-bottom:50px;
    font-weight:bold;
}

.team-container.style3 .team .media img {
    width: 200px; /* Set the desired width */
    height: auto; 
	border-radius: 10px; /* Rounded borders for the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for the image */
    display: block; /* Ensure the image is displayed as a block element */
}

.team-container.style3 .team .content {
    flex: 2;
}

/* Team: Style 4 */
.team-container.style4 
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.team-container.style4 .team {
    width: 250px; /* Adjust width as needed */
    height: 250px; /* Adjust height for your images */
}

.team-member {
    perspective: 1000px;
}

.team-inner {
    position: relative;
     width: 250px; /* Adjust width as needed */
    height: 250px; /* Ad*/
    transform-style: preserve-3d;
    transition: transform 0.5s, opacity 0.5s;
}

.front, .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
}

.front {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.front img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.text-content {
    z-index: 3;
    color: black;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 5px;
}

.text-content h3 {
    margin: 5px 0 0;
    font-size: 1.2em;
    font-weight: bold;
}

.text-content p {
    font-size: 16px;
    font-style: italic;
    margin: 0;
}

.back {
    transform: rotateY(180deg);
    background-color: #007C79;
    color: white;
    font-weight: 500;
    font-size:12px;
}

.team-member:hover .front img {
    opacity: 0.1;
}

.team-member:hover .team-inner {
    transform: rotateY(180deg);
}

.back p {
    font-size: 16px;
    margin: 0;
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.front .text-content {
    transition: opacity 0.5s ease;
}

.team-member:hover .front .text-content {
    opacity: 0;
}

#subscription-message-container {
    margin-top: 10px; /* Add some space above the messages */
}

#form_content
{
	margin-top:-50px;
}

.subscription-message {
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    opacity: 0.9;
    font-size: 16px;
    font-weight: bold;
}

.subscription-message.success {
    background-color: #4caf50; /* Green for success */
}

.subscription-message.error {
    background-color: #f44336; /* Red for error */
}

.submit-container
{
    display: flex;
    justify-content: space-between; /* Space between the two elements */
    align-items: center;            /* Align items vertically in the center */
    margin-top: 20px;
}

.submit-container .page-indicator
{
    font-size: 16px; /* Adjust the font size as needed */
    font-weight: normal; /* Make the text bold */
}

.submit-container button[type="submit"]
{
     padding: 10px 20px;
     font-size: 16px;
}

#mc_embed_signup
{
	 background:#fff; 
	 clear:left; 
	 font:14px Helvetica,Arial,sans-serif; 
	 width: 600px;
}

#mc-embedded-subscribe-form input[type=checkbox]
{
	display: inline; 
	width: auto;
	margin-right: 10px;
}

#mergeRow-gdpr 
{
	margin-top: 20px;
}

#mergeRow-gdpr fieldset label
{
	font-weight: normal
}

#mc-embedded-subscribe-form .mc_fieldset
{
	border:none;
	min-height: 0px;
	padding-bottom:0px;
}

.membership-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 15px;
}

.radio-group
{
    display: flex;
    flex-direction: column;
}

.radio-group label {
    display: inline-flex !important; /* Ensure label and radio button are on the same line */
    align-items: center !important; /* Vertically center the radio button and label text */
    margin-bottom: 5px !important; /* Space between radio options */
    white-space: nowrap !important; /* Prevent the text from wrapping onto the next line */
	align:left;
	}

input[type="radio"] {
    margin-right: 10px !important; /* Space between the radio button and label text */
}

input[type="text"] {
    width: 100% !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.explanation {
    display: block;
    font-size: 0.9em; /* Smaller font size */
    color: #555; /* Lighter color for contrast */
    margin-left: 25px; /* Align with the start of the label text */
    margin-top: 5px; /* Small gap between label and explanation */
}

.signature-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

input[type="date"] {
    width: 100%;
    padding: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.signature-pad {
    border: 1px solid #ccc;
    width: 100%;
    height: 150px;
    position: relative;
    background-color: #fff;
}

.signature-pad canvas {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

#clear-signature {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#clear-signature:hover {
    background-color: #c9302c;
}
