/* Presenters/Speakers list */

.presenter-element {
  display: flex;
  background-color: transparent;
  padding: 13px;
  border: none;
  margin: 10px 0;
}
.presenter-element p {
  margin-bottom: 10px;
}

.presenter-modal .avatar{ 
  margin-right: 0 !important; 
}

.presenter-modal .avatar-container{ 
  display: flex;justify-content: center;
}

.presenter-modal .bio-modal-info-container{ 
  padding-left: 5px !important;
}

/* end Presenters/Speakers list */

/* presenters bio modal stuffs */

.bio-modal-close {
  font-size: calc(1rem + 0.6vw) !important;
}
.bio-modal-close i{
  font-weight: 500 !important;
}
.bio-modal-presenter-name {
  margin-bottom: 1rem !important;
  font-size: calc(1rem + 0.4vw) !important;
}
.bio-modal-info-container {
  padding-left: 25px;
}
.presenter-bio {
  display: flex;
  align-items: center;
  position: relative;
}
.presenter-bio .avatar {
  margin-right: 19px;
  background-color: var(--theme-light-color);
  object-fit: cover;
  height: 2vw;
  width: 2vw;
  border-radius: 50%;
  display: inline-block;
  /* margin-left: auto; */
}
.presenter-modal {
  z-index: 99999;
}

.modal-backdrop.show {
  z-index: 9998;
}

/* Target only the backdrop when the presenter-modal is open */
body.modal-open .presenter-modal.show ~ .modal-backdrop {
  z-index: 9998;
}
@media only screen and (max-width: 1920px){
  .presenter-bio .avatar {
      height: 3vw;
      width: 3vw;
      margin-left: -10px;
  }
}
@media only screen and (max-width: 1500px){
  .modal{
      right: 0;
      left: unset;
  }
}
@media only screen and (max-width: 1200px){
  .presenter-bio .avatar {
      height: 4vw;
      width: 4vw;
  }
.presenter-modal:not(.settingsmodal) .modal-dialog {
      max-width: 850px !important;
  }
}
@media only screen and (max-width: 991px){
  .presenter-bio .avatar {
      height: 8vw;
      width: 8vw;
      margin-left: auto;
  }
  .modal{
      width: 100%;
      right: unset;
      left: 0;
  }
  .modal-dialog{
      max-width: 800px !important;
  }
}
@media only screen and (max-width: 767px){
  .presenter-bio .avatar {
      height: 9vw;
      width: 9vw;
  }
}
@media only screen and (max-width: 500px){
  .presenter-bio .avatar {
      height: 10vw;
      width: 10vw;
  }
}
.presenter-bio p.role {
  margin-bottom: 0;
  font-weight: var(--inconf-font-weight-light);
}
.presenter-job-details p {
  display: inline;
}
.bio-modal-social-link i {
  background-color: var(--button-bg-color);
  border-radius: 25px;
  padding: 5px;
  color: var(--icon-color);
  min-width: 27px;
  text-align: center;
  margin-top: 1.5rem;
}
.presenter_bio_modal_read_more {
  text-decoration: underline;
}
/* end presenters bio modal stuffs */
@media only screen and (max-width: 991px){
  /* .presenter-element{
      padding-left: 0px !important;
  } */
}
@media only screen and (max-width: 767px){
  .presenter-element p {
      margin-bottom: 5px;
  }
}


.modal-dialog.modal-lg {
  max-width: 900px;
}

.presenter-modal .modal-content {
  border: none;
  background: transparent;
}

.presenter-modal-wrapper {
  display: flex;
  min-height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.presenter-image {
  flex: 0 0 40%;
  position: relative;
  background: #000;
}

.presenter-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presenter-content {
  flex: 0 0 60%;
  padding: 2rem;
  min-height: 500px; /* Change fixed height to minimum height */
  position: relative;
  background: var(--theme-light-color);
}

.presenter-bio-scroll {
  height: 435px;
}


.presenter-header {
  margin-bottom: 1rem;
}

.modal .bio-modal-presenter-name {
  font-size: calc(2rem + 0.1vw)!important;
  margin-bottom: 0.5rem;
  font-family: var(--title-font-family) !important;
}

.role {
  color: var(--body-color);
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.presenter-social {
  margin-bottom: 1.5rem;
}

.modal .presenter-bio {
  line-height: 1.6;
  display: block;
  max-height: 80%;
  overflow: auto;
  padding: 0 1rem 0 0;
}

.bio-modal-social-link i {
  background-color: var(--theme-primary-color);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.bio-modal-social-link i:hover {
  transform:translateY(-3px);
}

.presenter_bio_modal_read_more {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
}

/* Mobile Styles */
@media (max-width: 767px) {
  .presenter-modal-wrapper {
      flex-direction: column;
      min-height: auto;
  }

  .presenter-image {
      flex: 0 0 300px;
      width: 100%;
  }

  .presenter-content {
      flex: 1;
      width: 100%;
      max-height: none;
  }

  .presenter-bio-scroll {
      height: 100%;
  }

}

.card-title  {
  color: var(--theme-primary-color);
  font-family: var(--title-font-family);
}