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

/* General */

html {
  scroll-padding-top: 125px;
}

.hidden {
  display: none;
}

/* Program */

.program * {
  margin: 0;
}

.glide * {
  user-select: text;
}

.program-day-list {
  list-style: none;
  padding: 0;
}

.day-title {
  background: #002C6C;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.program-navigation {
  margin-bottom: 5px;
}

.program-navigation-day {
  padding: 1rem;
  text-align: center;
  color: #ffffff66;
  text-decoration: none;
}

.program-navigation-day:hover {
  cursor: pointer;
}

.program-navigation-day.glide__bullet--active {
  color: #ffffff;
  font-weight: 600;
}

.program-navigation-day:nth-child(1) { background: #3A70BF; }
.program-navigation-day:nth-child(2) { background: #235696; }
.program-navigation-day:nth-child(3) { background: #1C4578; }
.program-navigation-day:nth-child(4) { background: #008DBD; }

.slot:nth-child(odd) .bg-light-grey {
  background: #F5F5F5;
}

.slot:nth-child(even) .bg-light-grey {
  background: #FAFAFA;
}

.slot-time {
  font-size: 0.9rem;
  color: #002C6C;
  font-weight: 600;
}

.session-heading.open-description:hover {
  cursor: pointer;
}

.session-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #002C6C;
  line-height: 1.4;
}

.session-heading svg {
  fill: #aaaaaa;
  width: 1rem;
  min-width: 1rem;
  transition: 0.2s;
}

.session-heading.open-description:hover svg {
  fill: #002C6C;
}

.description {
  padding: 10px 0;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.description p,
.description li {
  margin-bottom: 1rem;
}

.description p:last-child,
.description li:last-child {
  margin-bottom: 0;
}

.description .description-speaker {
  font-weight: bold;
  margin-right: 8px;
}

.description .description-speaker:last-child {
  margin-right: 0;
}

.program-tag {
  padding: 5px 10px;
  background: #cccccc;
  border-radius: 50px;
  font-size: 0.75rem;
  line-height: 1;
  color: #ffffff;
}

.program-tag.in-person {
  background: #00B6DE;
}

.program-tag.hybrid {
  background: #CA5674;
}

.program-tag.companies {
  background: #E2A52E;
}

.allocated-room {
  font-size: 0.75rem;
  color: #F26334;
  fill: #F26334;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sold-out {
  font-size: 0.75rem;
  padding: 5px 10px;
  background: #c0392b;
  color: #ffffff;
  font-weight: 700;
}


/* Speakers */

.speaker-item {
  height: 100%;
}

.speaker-info * {
  margin: 0;
}

.speaker-info h2 {
  font-size: 1.4rem;
}

.speaker-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.speaker-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #999999;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.speaker-item .sessions .day-time {
  font-size: 0.75rem;
  color: #666666;
  margin-bottom: 0.4rem;
}

.speaker-item .sessions .session {
  font-size: 1rem;
  font-weight: 600;
  color: #F26334;
}

.speaker-item .sessions h5 {
  font-weight: 600;
  margin: 0;
  margin-bottom: 10px;
}

.open-speaker-bio {
  top: -10px;
  right: -10px;
}

.open-speaker-bio svg {
  fill: #bbbbbb;
  width: 24px;
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #ffffff;
  transition: 0.2s;
}

.open-speaker-bio:hover {
  cursor: pointer;
}

.open-speaker-bio:hover svg {
  fill: #002D6C;
}

.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 120;
}

.modal .modal-content-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal .modal-content {
  background: #ffffff;
  width: 60%;
  max-width: 720px;
  padding: 30px;
  position: relative;
  z-index: 300;
}

.modal .modal-content * {
  margin: 0;
}

.modal .modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.modal .modal-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.modal .modal-content h4 {
  font-size: 1.1rem;
  font-weight: 500;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #efefef;
  color: #aaaaaa;
}

.modal .modal-content .speaker-bio {
  font-size: 0.9rem;
  line-height: 1.6;
}

.modal .modal-content .speaker-bio  p {
  margin-bottom: 15px;
}

.modal .modal-content .speaker-bio ul {
  padding-left: 10px;
  margin-bottom: 25px;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 110;
  background: #000000cc;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
}

.close-modal:hover {
  cursor: pointer;
}

.close-modal svg {
  fill: #cccccc;
  width: 15px;
  transition: 0.2s;
}

.close-modal:hover svg {
  fill: #002D6C;
}

svg.waiting-approval {
  fill: var(--wp--preset--color--primary);
}

svg.approved {
  fill: var(--wp--preset--color--medium-grey);
}


.glide__track {
  transition: height 250ms ease-in-out;
}

.expand-description-button {
  transition: 0.2s;
}

.rotate180 {
  transform: rotate(180deg);
}

.zoom-streaming {
  margin-top: 10px;
}


.zoom-streaming a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: #eeeeee;
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--wp--preset--color--primary);
  fill: var(--wp--preset--color--primary);
  transition: 0.3s;
}

.zoom-streaming a:hover {
  background: var(--wp--preset--color--primary);
  color: #ffffff;
  fill: #ffffff;
}