.container-1 {
  font-size: 18pt;
  color: #0F09A1;
  text-align: justify;
}
/*
iframe {
  max-width: 100%;
  max-height: 80%
}
*/

.video-iframe {
  width: 560px; /* Default size */
  height: 315px;
}

@media (max-width : 1209px ){
  .video-iframe {
    width: 448px; /* Smaller size */
    height: 448px;
  }
}

@media (max-width : 767px ){
    body.poster {
        margin-top: 60vh;
    }
    .container-1 {
    font-size: 12pt;
  }
    /* Redefine .video-iframe size for smaller screens */
}

@media (max-width : 419px ){
    /* Redefine .video-iframe size for smaller screens */
  .video-iframe {
    width: 286px; /* Smaller size */
    height: 161px;
  }
}

.hoverable {
  cursor: pointer;
}

.hidden {
  display: none;
}

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}
.profile-picture {
    width: 150px;
    height: 150px;
}

/* Default style for profile names and locations */
.profile-name {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

.profile-location {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.profile-location-2 {
  font-size: 18px;
  color: #666;
  margin-bottom: 7px;
    line-height: 1;
}

.profile-name a {
  color: #0F09A1;
  text-decoration: none;
  border-bottom: none;
}

.profile-name a:hover {
  color: #4BD1A0;
}

/* Style for larger screens */
@media (min-width: 768px) {
  .profile-picture {
    width: 150px;
    height: 150px;
  }
}

/* Style for smaller screens */
@media (max-width: 767px) {
  .profile-name {
    font-size: 14px;
    margin-top: 5px;
  }

  .profile-location {
    font-size: 8px;
    margin-bottom: 10px;
      line-height: 0.5;
  }
    .profile-location-2 {
    font-size: 8px;
        margin-bottom: 10px;
    margin-bottom: 5px;
  }

  .profile-picture {
    width: 100px;
    height: 100px;
  }
}
.upcoming-event {
  margin-top: 50px; /* adjust the margin to your liking */
}


.event-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F1EEE6;
  padding: 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease-in-out;
}
.event-content{
  display: flex;
}

.event-block:hover {
  background-color: #FBF8F0;
}

.past-event-block {
  display: flex;
  background-color: #F1EEE6;
  padding: 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease-in-out;
}

.past-event-block:hover {
  background-color: #FBF8F0;
}

.event-block img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 20px;
  margin-left: 100px; /* add margin to the left side */
}

.event-details h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.event-details p {
  font-size: 18px;
  margin-bottom: 5px;
}
.black-text {
  color: black;
}

.event-link {
  color: black;
  text-decoration: none;
}

.event-link:hover {
  color: black;
  text-decoration: none;
}
/* Style for the event details section */
.event-details {
  display: flex;
  flex-direction: column;
  margin: 20px;
}

.event-title {
  font-size: 36px;
  color: black;
}

.event-subtitle {
  font-size: 24px;
  color: black;
}

.event-date {
  font-size: 24px;
  color: black;
}

.event-body {
  display: flex;
  margin-top: 50px;
}

.speaker-pic img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  margin-right: 50px;
}

.og_all-pic img {
  width: 300px;
  height: 400px;
  margin-right: 50px;
}


.event-info {
  flex: 1;
}

.event-info .event-section-title {
  font-size: 28px;
  margin-bottom: 10px;
  color: black;
}

.event-info .event-section-text {
  font-size: 24px;
  margin-bottom: 20px;
  color: black;
    text-align: justify;
}

.speaker-info {
  list-style: none;
  font-size: 24px;
  margin-left: 0;
  padding-left: 0;
}

.speaker-info-item {
  margin-bottom: 5px;
  color: black;
    text-align: justify;
}
 @media (max-width: 1209px) {
    .past-event-block {
      flex-direction: column;
      align-items: stretch;
    }
    
    .past-event-details {
      margin: 0;
    }
  }
.schedule {
            display: inline-block; /* Make the list inline-block to center it */
            text-align: left; /* Align text within the list to the left */
            color: #333; /* Adjust the text color as needed */
            line-height: 1.5; /* Adjust the line height as needed */
            margin-left: 35px;
            margin-right: 35px;
            padding: 0; /* Remove default padding */
        }
.schedule li {
            margin-bottom: 10px; /* Adjust the space between items as needed */
            list-style-type: disc; /* Change the list style to black dots */
        }
@media (max-width: 420px) {
  h2.text-center {
    font-size: 16px;
  }
     h3.text-center {
    font-size: 16px;
        
  }
    h4.text-center {
    font-size: 16px;
        
  }
  p.text-center {
    font-size: 12px;
  }
    
     h1.event-title {
    font-size: 18px;
    margin-top: 20px; /* 增加段前距 */
  }
    li.event-title {
    font-size: 18px;
    margin-top: 20px; /* 增加段前距 */
  }
    li.speaker-info-item{
    font-size: 18px;
  }
  .speaker-pic img {
  width: 100px !important;
  height: 100px !important;
  margin-right: 0px !important;   
}
    .event-info .event-section-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: black;
       
}
      .event-info .event-section-text {
  font-size: 12px;
  margin-bottom: 10px;
  color: black;
}
    .event-info .speaker-info-item {
  font-size: 12px;
  margin-bottom: 10px;
  color: black;
}
    .event-block img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 20px;
  margin-left: 40px; /* add margin to the left side */
}
    .event-details {
    margin-left: 0px;
      margin-right: 0px;  
  }
    .event-block img {
     margin-left: 0px;
      margin-right: 0px;  
    margin-bottom: 0px;
  }
    container     
    .event-block {
    display: flex;
    flex-direction: column;
    align-items: center;
        justify-content: center;
        
  }

    p.event-subtitle{
       font-size: 12px; 
    }
    
    p.event-date{
       font-size: 12px; 
    }
    .event-details h2 {
  font-size: 15px;
}

.event-details h4 {
  font-size: 12px;
}

.event-details p {
  font-size: 8px;
}
}
@media (max-width: 767px) {
  .speaker-pic img {
  width: 250px;
  height: 250px;
  margin-right: 20px ;
}
    .event-body {
    flex-direction: column;
    align-items: center;
  }
}

p.index_big_time {
    font-size: 25px;
    margin-top: 30px ;
    margin-bottom: 30px ;
}
div.nextmeeting_size{
    width:600px;
    height:290px;
}
.logo_style {
   width: 40px;
   height: 40px;
}

.my-list {
  list-style-type: none;
  padding: 0;
}

.my-list li::before {
  content: "\2022"; /* Use a bullet point character */
  font-size: 1.2em;
  margin-right: 0.5em;
  color: #007bff; /* Use a blue color for the bullet point */
}

@media (max-width: 1400px) {
    div.nextmeeting_size{
    width:500px;
        height:310px;
}
    p.container-1{
        margin-left: 20px;
        margin-right:20px;
    }
.bg-white {
  display: flex; /* Use flexbox to align the items */
  align-items: center; /* Align items vertically */
  justify-content: center; /* Align items horizontally */
  height: 200px; /* Set a fixed height for the divs */
  padding: 0 15px; /* Adjust padding as needed */
}

.img-fluid {
  max-height: 100%; /* Set max-height to be the same as the containing div */
  width: auto; /* Scale the width automatically */
  object-fit: contain; /* This prevents the images from being cropped */
}
}

@media (max-width : 1061px ){
    p.index_big_time {
    font-size: 22px ;
    margin-top: 20px ;
    margin-bottom: 20px ;
}
    div.nextmeeting_size{
    width:450px;
        height:280px;
}
    .speaker-pic img {
  width: 250px;
  height: 250px;
  margin-right: 20px ;
}
}

@media (max-width: 768px) {
    p.index_big_time {
    font-size: 18px ;
    margin-top: 15px ;
    margin-bottom: 15px ;
}
     div.nextmeeting_size{
    width:410px;
    height:310px;
}

}

@media (max-width: 420px) {
    p.index_big_time {
    font-size: 18px ;
    margin-top: 15px ;
    margin-bottom: 15px ;
}
     div.nextmeeting_size{
    width:320px;
     height:210px;
}
    .flex-column .text-center {
            margin: 0px ;
  }
    .btn-register-talk {
    display: none;
  }  
    p.container-1{
        margin-left: 0px;
        margin-right:0px;
    }
        .logo_style {
   width: 20px;
   height: 20px;
}
}













.festival-block {
  display: block !important;
  width: 100% !important;
}

.festival-block .event-details {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

.festival-block .video-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  width: 100% !important;
  margin-top: 25px;
}

.festival-block .video-iframe {
  flex: 1 1 50% !important;
  width: 50% !important;
  height: 360px !important;
}

@media (max-width: 768px) {
  .festival-block .video-row {
    flex-direction: column !important;
  }

  .festival-block .video-iframe {
    width: 100% !important;
  }
}