.palestrantes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}
.palestrantes .palestrante {
  width: 25%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 10px;
  word-break: break-word;
  cursor: pointer;
}

.palestrantes .palestrante .item-title {
  font-family: Arial, Helvetica, sans-serif;
}

.palestrantes .palestrante .link-photo {
  width: 100%;
  display: inline-block;
  overflow: hidden;
  box-shadow: inset 0 1px 2px #ccc !important;
  max-width: 160px;
  height: 160px;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover !important;
  margin-bottom: 10px;
  background-size: 280px;
}
.palestrantes .palestrante .item-title {
  text-align: center;
}

.palestrantes .speaker-modal .modal-dialog {
  /*padding-top: 60px;*/
  display: flex;
  justify-content: center;
  position: absolute;
  top: 33.3%;
  left: 33.3%;
  right: 33.3%;
  bottom: 33.3%;
}

.palestrantes .speaker-modal .detalhes .foto-bio {
  padding-right: 10px;
}

.palestrantes .speaker-modal .detalhes .foto-bio img {
  max-width: 250px;
  border-radius: 5px;
}

.palestrantes .palestrante-dados {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  width: 100%;
}

.palestrantes .palestrante-dados h2 {
  margin: 0 0 10px 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.palestrante .item-title .subtitle {
  font-size: 90%;
  line-height: 15px;
}

.palestrantes .modalPalestrantes {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  z-index: 120;
}

.palestrantes .contentModal {
  margin: 0 auto;
  margin-top: 10%;
  max-width: 640px;
  background-color: #eee;
  padding: 0;
  box-shadow: 0 0 2px #fff;
  border-radius: 0 0 50px 0;
  max-height: 90vh;
}

.palestrantes .contentModal .fechar {
  float: right;
  border-radius: 30px;
  width: 45px;
  height: 45px;
  padding: 0;
  margin-top: -15px;
  margin-right: -15px;
  font-size: 22px;
  background: #0073aa;
  color: #fff;
  line-height: 0;
  border: none;
  outline: none;
  cursor: pointer;
}

.palestrantes .contentModal .fechar:hover {
  background-color: #0d354e;
}

.palestrantes .contentModal .detalhes {
  padding: 20px 0 20px 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}

.palestrantes .contentModal .foto-bio {
  padding-right: 15px;
  width: 40%;
  min-width: 40%;
}

.palestrantes .contentModal .foto-bio img {
  border-radius: 5px;
}

.palestrantes .contentModal h4 {
  margin: 0;
  font-size: 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.palestrantes .detalhes .bio {
  line-height: 22px;
  text-align: justify;
  overflow-y: auto;
  margin: 10px 0;
  height: 100%;
  max-height: 332px;
  padding: 5px 10px;
  width: 100%;
}

@media (max-width: 768px) {
  .palestrantes .palestrante {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
    word-break: break-word;
  }

  .palestrantes .palestrante .link-photo {
    max-width: 160px !important;
    height: 160px !important;
  }

  .palestrantes .contentModal {
    max-width: 320px;
    margin-top: 25%;
    flex-direction: column;
    align-items: end;
  }

  .speaker-modal .modal-dialog {
    /*padding-top: 60px;*/
    display: flex;
    justify-content: center;
    position: absolute;
    top: 13.3%;
    left: 13.3%;
    right: 13.3%;
    bottom: 13.3%;
  }

  .palestrantes .contentModal .detalhes {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 0;
  }

  .palestrantes .contentModal .detalhes h4 {
    text-align: center;
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
  }

  .palestrantes .contentModal .foto-bio {
    padding: 0;
    text-align: center;
  }

  .palestrantes .contentModal .detalhes .foto-bio img {
    width: auto;
    border-radius: 5px;
  }

  .palestrantes .contentModal .detalhes .bio {
    max-height: 250px;
    overflow: auto;
    line-height: 22px;
  }
}

button.btn-curriculo {
  display: block;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  margin: 10px;
  background-color: #f4a44e;
  color: #fff;
  border: 0;
  border-radius: 27px;
}

@media (max-width: 1080px) {
  .palestrantes .palestrante .link-photo {
    max-width: 90px;
    height: 90px;
  }
}

@media (max-width: 1280px) {
  .palestrantes .speaker-modal .modal-dialog {
    /*padding-top: 60px;*/
    display: flex;
    justify-content: center;
    position: absolute;
    top: 23.3%;
    left: 23.3%;
    right: 23.3%;
    bottom: 23.3%;
  }
}
