:root{
  --primary: #1D4D7E;
  --secondary: #853a51;
  --tertiary: #D6E2F4;
}

.bg-tertiary{
  background-color: var(--tertiary);
  background: var(--tertiary);
}

/* Event Listing
---------------------------------------------------*/
.events .event-listing-container {
  position: relative;
}

.events .events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  clear: both;
}

.events h2 {
  color: #374256;
  margin-bottom: 0px;
  display: inline-block;
}

.events .event-nav-buttons {
  display: flex;
  margin-left: auto;
  border: none;
  padding-inline-start: 0%;
  justify-content: space-around;
  max-width: 340px;
  padding: 10px 20px;
  background-color: #CFDEF1;
  border-radius: 5px;
}

.events .event-nav-buttons li {
  border: none; 
  background-color: transparent;
  font-weight: 400;
  margin-right: 0;
  padding: 0;
}

.events .event-nav-buttons li a,
.events .event-nav-buttons li a:visited {
  color: #000;
  padding: 8px 12px;
  font-weight: 400;
  display: block;
  font-size: 17px !important;
}

.events .event-nav-buttons li.active {
  font-size: 17px;
  color: #000; 
  padding: 6px 18px;
  font-weight: 400;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.events .event-listing-container {
  width: 100%;
  border: 1px solid #868686;
  margin-bottom: 20px;
  border-radius: 5px;
}

.events .card-background-img {
  border-radius: 5px 0 0 5px;
}

.events .event-info-wrapper {
  margin-left: 0;
  margin-right: 0;
  min-height: 260px;
}

.events .featured-event-flag {
  position: absolute; 
  top: 20px;
  left: -15px;
  background-color: #1D7DAA;
  color: #fff;
  z-index: 1;
  padding: 10px 15px;
}


.events .event-date {
  margin-bottom: 10px;
}

.events .event-details {
  padding: 15px 30px;
}

.events .event-badge {
  margin-bottom: 10px;
}

.events .event-details .badge {
  font-weight: 400;
  padding: 6px 8px 4px;
}

.events .event-details .badge.badge-secondary {
  background-color: #617389;
}


.events .event-details h3 {
  margin-bottom: 10px;
}

.events .event-details h3 a {
  text-decoration: none;
  font-size: 22px;
}

.events .event-details h2 a:hover {
  text-decoration: underline;
}
.events .event-details .scope {
  margin-bottom: 12px;
}

.events .event-details .scope {
  word-break: break-word;
}

.events .event-btn {
  margin-left: auto;
  flex-basis: 120px;
  flex-grow: 0;
  flex-shrink: 0;
  text-align: right;
}

.events .event-btn a {
  padding: 8px 14px;
  color: #fff;
  max-width: none;
  background-color: #587d0c;
  border-color: #587d0c;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 5px;
}
 

/* Standard Event
--------------------------------------------------*/
.event {
  padding-top: 30px;
}

.event h1 {
  margin-top: 10px
}

.event .alert.alert-info,
.events .alert.alert-info {
  border-left: 7px solid #49a0e0 !important;
  background-color: #DBECF9 !important;
  position: relative;
  margin-top: 30px;
  border-radius: 5px;
  color: #1d405a;
  clear: both;
}

.event .alert.alert-warning,
.events .alertl.alert-warning {
  border-left: 7px solid #ffc321 !important;
  background-color: #fff3d3 !important;
  position: relative;
  margin-top: 30px;
  border-radius: 5px;
  color: #664e0d;
  clear: both;
}

.event .alert i,
.events .alert i {
  margin-right: 20px;
  margin-bottom: 0;
}

.event .event-details .badge {
  font-weight: 400;
  padding: 6px 8px 4px;
}

.event .event-details .badge.badge-secondary {
  background-color: #617389;
}

.event h2 {
  margin-bottom: 8px;
}

.event ul li {
  font-size: 1rem;
}

.event .bold-label {
  font-weight: 700;
}

.event .event-hero {
  margin-top: 30px;
  margin-bottom: 30px
  /*
  display: flex;
  flex-direction: column;
  align-items: stretch;
  display: grid;*/
}

.event .event-hero div:first-child {
  /*flex: 1;
  grid-column: 1;*/
}

.event .event-hero img {
  background-position: center center;
  background-repeat: no-repeat;
  max-width: 800px;  
}

.event .event-hero div:last-child {
  /*flex: 1;
  grid-column: 2;*/
}


.event-hr-purple {
  background-color: #6346A3;
  max-width: 120px;
  height: 3px;
  margin-inline-start: initial;
}

.event .event-info {
  background-color: #F8F9FA;
  height: 100%;
  min-height: 350px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.event .event-info hr {
  width: 100%;
  border-top: 1px solid rgb(188, 189, 190);
  margin-top: 0;
  margin-bottom: 0;
}

.event-info i {
  color: #1d7daa;
  margin-right: 7px;
}

.event-info .event-type,
.event-info .event-date,
.event-info .event-time {
  margin-bottom: 7px;
}

.event-registration-btn a {
  padding: 8px 14px;
  color: #fff;
  max-width: none;
  background-color: #587d0c;
  border-color: #587d0c;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 5px;
}

.event-registration-btn a:link,
.event-registration-btn a:visited {
  color: #fff;
  text-decoration: none;
}

.event-registration-btn a svg {
  margin-left: 6px;
}

.event-registration-btn a svg path {
  stroke: #fff;
}

.custom-section {
  margin-top: 30px;
}

.event-resources {
  margin-top: 30px;
}

.event-see-also {
  margin-top: 30px; 
}

.event-agenda {
  margin-top: 30px;
}

.event .placeholder-element {
  min-height: 15px;
}

.event-speaker-title {
  margin-top: 30px;
}

.event-speaker {
  margin-top: 10px;
}

.event-speaker.wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.event-speaker .backdrop-bg {
  position: absolute;
  border-radius: 4px 4px 0 0;
  width: auto;
  height: 110px;
  background: #D6E2F4;
  top: 5px;
  left: 5px;
  right: 5px;
}

.event-speaker img {
  margin-left: auto;
  margin-right: auto;
  margin-top: 34px;
  margin-bottom: 5px;
  max-width: 150px;
  box-shadow: 0px 2px 5px 0px #d4d4d4;
  z-index: 1;
}

.event-speaker .card-body {
  text-align: center;
}

.event-speaker .card-body .card-text a {
  text-decoration: none;
}

.event-speaker .card-body .position {
  margin-top: 12px;
  margin-bottom: 12px;
  color: #5a5858;
  font-size: 14px;
}

.event-speaker .card-body .bio {
  margin-top: 30px;
  display: block;
}

.event-speaker .bio-name-block,
.event-speaker .bio-body-block {
  display: none;
  visibility: hidden;
}

.event-contact {
  margin-top: 30px;
}

.event-btn svg.ext {
  fill: white;
}

.event-btn svg.ext path {
  stroke: white;
}

.event .process-list {
  list-style: none;
  counter-reset: mybullets;
  padding-left: 3em;
  position: relative;
  --orderedbulletsize: 28px;
}

.event .process-list > li {
  counter-increment: mybullets;
  position: relative;
}

.event ul.process-list.pl-success > li:not(:last-child)::before {
  background: rgba(73, 162, 97, 0.3);
}

.event .process-list > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left:  calc(var(--orderedbulletsize)* -1 - 9px);
  top: calc(var(--orderedbulletsize) + 4px);
  width: 10px;
  height: calc(100% - var(--orderedbulletsize) + 6px);
}

.event .process-list > li::after {
  position: absolute;
  text-align: center;
  aspect-ratio: 1;
  border: 2px solid currentcolor;
  border-radius: 100%;
  font-weight: bold;
}

ul.process-list > li::after {
  content: "";
  top: calc(var(--orderedbulletsize) / 4);
  transform: translateX(calc(-100% - var(--orderedbulletsize) * 0.88));
  width: calc(var(--orderedbulletsize) / 2);
  background: #000;
}

.event .mb-4 {
  margin-bottom: 1.5rem !important;
} 


/* Video Page
-------------------------------------------*/

.video-cards {
  display: flex;
  justify-content: space-between;
}

.video-info{
  margin-top: 20px;
}

.video-presmod{
  margin-top: 30px;
}

.video-presmod > .row{
  margin-top: 30px;
  flex-wrap: wrap;
  height: fit-content
}

.video-speaker {
  display: flex;
  padding: 25px;
  border-radius: 5px;
  border: 1px solid lightgrey;
  border-left: 8px solid #D6E2F4;
  margin-bottom: 26px;
}

.video-mod {
  display: flex;
  padding: 25px;
  border-radius: 5px;
  border: 1px solid lightgrey;
  border-left: 8px solid var(--tertiary);
  margin-bottom: 26px;
}

.video-speaker-content {
  display: flex;
}

.vs-info {
  align-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  padding: 10px;
}

.vs-info p {
  margin-bottom: 2px;
}

.vs-img {
  display: flex;
  align-items: center;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 150px;
}
.vs-img > img{
  height: 125px;
  width: 125px;
  border-radius: 50%;
  border: 5px solid white;
  margin-left: auto;
  margin-right: auto;
  max-width: 150px;
  box-shadow: 0px 2px 5px 0px #d4d4d4;
  z-index: 1;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.vs-name{
  font-weight: 700;
  font-size: 16px;
}
.video-presmod > .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.video-card figure {
  font-size: 0;
  position: relative;
  width: 100%;
  height: 0;
}

.video-card figure > iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.video-card figure.widescreen {
  padding-bottom: 56.25% !important;
}

/* View Ports
------------------------------------------*/
@media only screen and (max-width: 992px) {
  .event .event-hero div:first-child {
    overflow: hidden;
  }
}

@media only screen and (max-width: 767px) {
  .event .event-hero img {
    width: 100%;
    height: auto;
  }

  .event-hero .col-md-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .event-registration-btn {
    width: 100%;
    margin-top: 20px;
  }

  .event-registration-btn a {
    width: 100%;
  }

  .event .event-info hr {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 721px) {
  .event-speaker.wrapper {
    display: block;
  }

  .events .event-info-wrapper {
    flex-direction: column;
  }

  .events .event-info-wrapper {
    flex-direction: column;
  }

  .events .event-btn {
    flex-basis: auto;
  }

  .events .events-header {
    flex-direction: column-reverse;  
  }

  .events .events-header h2 {
    margin-bottom: 20px;
  }

  .events .event-nav-buttons {
    padding-inline-start: 0%;
    padding-left: 0;
    max-width: 100%;
  }

  .events .featured-event-flag {
    position: relative;
    top: 0;
    left: 0;
    border-radius: 4px 4px 0 0;
  }

}
