/*!
 * ================================
 * Author: Steve Gotthardt
 * Created: 12/2024
 * ================================
 */

:root {
  --certificatecolor: #9d6ba7;
  --conferencecolor: #2a9dcb;
  --coursecolor: #bc441b;
  --onlineworkshopcolor: #e27508;
  --virtualcolor: #58599b;
  --webcastcolor: #7e9f38;
  
  --dateiconcode: "\f073"; /* fas fa-calendar-alt */
  --locationiconcode: "\f3c5"; /* fas fa-map-marker-alt */
  --categoryiconcode: "\f009"; /* fas fa-th-large */
  --countryiconcode: "\f57d"; /* fas fa-globe-americas */
  --topiciconcode: "\f542"; /* fas fa-project-diagram */
  --leveliconcode: "\f5fd"; /* fas fa-layer-group */
  --sectoriconcode: "\f200"; /* fas fa-chart-pie */
  --typeiconcode: "\f15c"; /* fas fa-file-alt */
}

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 2.5rem;
  overflow: visible;
  width:100%;
}
.schedule .education__item {
  border-radius:20px;
  overflow:hidden;
}
.schedule .education__item,
.schedule .education__item:hover,
.schedule .education__item:focus {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15);
}
.schedule .education__item {
  border:0;
}
.schedule .education__img {
  border-radius:0;
}
.schedule .item-list__item {
  background: white;
  border-top: none;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
}
.schedule .education__img {
  height: auto;
  min-height: 0 !important;
}
.schedule .education__img img {
  max-width: 100%;
  max-height: 100%;
  position: relative;
}
.schedule .flag-icon,
.schedule .flag-icons {
  top: -10px;
  right: 2px;
  display:none;
}
.schedule .flag-icons {
  right: 34px;
}
.schedule .flag-icons img:nth-of-type(2) {
  margin-left: 2px;
}
.education-item__content {
  padding: 12px 24px 30px;
}
.education-cat {
  padding-left: 24px;
}
.schedule a.item-list__link .item-list__title {
  color: #262626;
  font-weight: bold;
  font-size: 1.15rem;
  line-height:1.4;
  margin:.25rem 0;
  display:block;
}
.schedule a.item-list__link:hover .item-list__title,
.schedule a.item-list__link:focus .item-list__title {
  color: #0072c6;
}
.schedule p, .schedule p.item-list__date {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight:normal;
  margin: 0;
  color:#757575;
}
.schedule .item-list__date.upcoming-event {
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:bold;
  font-style:italic;
  color:#941;
  font-size:.8rem;
}
.schedule .education-cat span {
  margin: 1.35rem 0 0 !important;
  display: block;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #262626 !important;
}

.schedule .education-cat i,
.schedule .education-cat em {
  width: 53px;
  padding: 24px 0;
  margin: 0;
  color: white;
  font-size: 23px;
  line-height: 0;
  text-align: center;
  border-radius: 10px;
  border: 2px solid white;
  box-sizing: border-box;
  background-color: #262626;
  position: absolute;
  z-index: 1;
  margin-top: -60px;
}
.schedule .education-cat i.certificate,
.schedule .education-cat em.certificate {
  background-color: var(--certificatecolor);
}
.schedule .education-cat i.conference,
.schedule .education-cat em.conference {
  background-color: var(--conferencecolor);
}
.schedule .education-cat i.webcast,
.schedule .education-cat em.webcast {
  background-color: var(--webcastcolor);
}
.schedule .education-cat i.virtual,
.schedule .education-cat em.virtual{
  background-color: var(--virtualcolor);
}
.schedule .education-cat i.workshop,
.schedule .education-cat em.workshop {
  background-color: var(--onlineworkshopcolor);
}
.schedule .education-cat i.course,
.schedule .education-cat em.course {
  background-color: var(--coursecolor);
}
.archived-events .schedule .education-item__content .item-list__date:nth-of-type(2) {
  display:none;
}