 /*
 Put your custom overlay styles in here
 You can use your northpass color palette in this file

#ffffff
#001e60
#4dbdf5
#ffffff
#001e60
#0053e2
*/


@font-face {
	font-family: "EverydaySans";
	src: url(https://s3.us-east-1.amazonaws.com/static.northpass.com/walmart-supplier/fonts/EverydaySansUI-Italic-VF_wght.ttf);
	font-style: italic;
}

@font-face {
	font-family: "EverydaySans";
	src: url(https://s3.us-east-1.amazonaws.com/static.northpass.com/walmart-supplier/fonts/EverydaySansUITT-Bold.ttf);
	font-style: bold;
}

@font-face {
	font-family: "EverydaySans";
	src: url(https://s3.us-east-1.amazonaws.com/static.northpass.com/walmart-supplier/fonts/EverydaySansUITT-Regular.ttf);
	font-style: normal;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Regular.OTF);
  font-weight: 400;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Italic.OTF);
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Medium.otf);
  font-weight: 500;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Medium_Italic.otf);
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Bold.OTF);
  font-weight: 700;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Bold_Italic.OTF);
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Black.OTF);
  font-weight: 900;
}

@font-face {
  font-family: "Bogle";
  src: url(https://s3.amazonaws.com/static.northpass.com/fonts/Bogle_Black_Italic.OTF);
  font-weight: 900;
  font-style: italic;
}

body,
html {
  font-family: "EverydaySans", "Bogle", "Roboto", sans-serif;
}


body {
    background: #fff;
    color: #001c63;
}

.blue-color {
    color: #0052e2;
}

.zero-state-container {
  border: 1px solid #001f64;
  padding: 40px 30px;
  text-align: center;
}

.hp-section-wrapper {
    padding: 20px;
}

.hp-section {
    display: flex;
    width: 100%;
    gap: 40px;
}

.hp-section .right, .hp-section .left {
    width: 50%;
}

.grid-cards-container-hp {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.module-text-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.module-title {
  font-weight: 700;
}

.module-cta a {
    text-decoration: none;
    color: #001c63;
}
.module-cta a:hover {
  text-decoration: underline;
}

.event-type {
    color: #fff;
}

.events-container-hp {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.events-module {
    margin-top: 10px;
}

.overview-main-wrapper {
    padding: 20px;
}

.hero-wrapper {
  padding: 20px;
}

.homepage-hero {
  width: 100%;
  min-height: 300px;
  background: #011e60;
  border-radius: 20px;
  padding: 40px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
.hero-heading {
   color: #fff;
  font-size: 3rem;
  font-weight: 700;
  line-height: 50px;
  z-index: 1;
}
.hero-cta {
    display: flex;
    margin-top: 20px;
    z-index: 1;
}
.hero-cta a {
  text-decoration: none;
  background: #ffc11f;
  color: #011e60;
  padding: 10px 30px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.homepage-hero-main-container {
  position: relative;
}

.hero-background-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: end;
  left: 0;
}

.hero-background-wrapper img {
  width: 100%;
  object-fit: contain;
  object-position: bottom;
}

.hero-cta a:hover, .cta-overview-btn:hover, .resource-btn-container a:hover {
  background: #ffb500; 
  transform: scale(1.05); 
}

.course-card-wrapper {
  position: relative;
}

.np-course-version-outdated-popup {
  position: absolute;
  top: 0;
  padding: 10px;
}

.np-course-version-outdated-popup-trigger {
  color: #fdb913;
}

.course-card, .lp-card, .event-card {
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
}

.course-card {
  position: relative;
  overflow: hidden;
}

.card-ribbon-container {
  position: absolute;
  top: 12px;
  right: -25px;
  background: #FDB913;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 35px;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.course-card:hover, .lp-card:hover, .event-card:hover  {
  transform: scale(1.05); 
}

.event-content {
  display: flex;
  align-items: end;
  justify-content: start;
  background: #fff;
  padding: 10px;
  flex-grow: 1;
  border-radius: 12px 12px 0 0;
  color: #032769;
  border: 4px solid #001f64;
}
.course-content {
  display: flex;
  align-items: end;
  background: #0055eb;
  padding: 10px;
  flex-grow: 1;
  border-radius: 12px 12px 0 0;
}
.resource-content {
  display: flex;
  align-items: end;
  background: #ffc11f;
  color: #032769;
  padding: 10px;
  flex-grow: 1;
  border-radius: 12px 12px 0 0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.card-details {
  background: #001f64;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-radius: 0px 0px 12px 12px;
}

.lp-content {
  display: flex;
  align-items: end;
  justify-content: start;
  background: #4cbdf5;
  padding: 10px;
  flex-grow: 1;
  border-radius: 12px 12px 0 0;
  color: #032769;
}
.lp-content-hp {
  display: flex;
  align-items: end;
  justify-content: start;
  background: #4cbdf5;
  padding: 10px;
  flex-grow: 1;
  border-radius: 12px;
  color: #032769;
}

  .card-training-event {
  border: 2px solid #011e60;
  border-radius: 12px;
}
.card-content-wrapper {
  padding: 15px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.event-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.card-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.event-month {
  font-size: 1rem;
  font-weight: 700;
  color: #001c63;
}
.event-cta {
  display: flex;
  width: 100%;
}
.card-date {
  max-width: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.event-cta a {
  background: #011e60;
  color: #fff;
  text-decoration: none;
  width: 100%;
  border-radius: 20px;
  padding: 2.5px 5px;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.event-cta a:hover {
  background: #012a8c; 
}

.event-day {
  font-size: 2rem;
  font-weight: 700;
}

.np-course-outline-content-activity-link-completed, .np-course-outline-content-activity-link {
  color: #032769;
}
.np-course-outline-content-activity-list  {
  padding: 15px 0;
}
.np-course-outline-content-activity-list {
  border-bottom: 1px solid #f2f2f2;
}
.np-top-cta-progress-text {
  margin-bottom: 0;
}
.outline-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
} 
.outline-event {
  border: 1.5px solid #001c63;
  background: #fff;
}
.outline-resource {
  background: #ffc11f;
  border: 1.5px solid #ffc11f;
}
.outline-module {
  background: #0055eb;
  border: 1.5px solid #0055eb;
}
.outline-completed {
  color: green;
}
.np-optional-ribbon {
  position: static;
}

.overview-text {
  line-height: 30px;
}
@media only screen and (max-width: 1150px) {
  .grid-cards-container-hp {
    grid-template-columns: repeat(2,1fr);
  }
}

@media only screen and (max-width: 768px) {
  .hero-wrapper {
    padding: 15px 10px;
  }
  .hp-section {
    flex-direction: column;
  }
  .grid-cards-container-hp {
    grid-template-columns: repeat(3,1fr);
    margin: 10px 0 25px 0;
    gap: 10px;
  }
  .events-container-hp {
    margin: 10px 0 25px 0;
  }
  .hp-section {
    gap: 0;
    padding: 10px;
  }
  .module-text-container {
    margin-bottom: 0;
  }
  .events-module {
    margin: 0;
  }
  .module-title, .module-cta a {
    font-size: 1.25rem;
  }
  .card-title {
    font-size: 1rem;
  }
  .course-content {
    padding: 5px;
  }
  .card-details {
    font-size: 0.85rem;
    padding: 5px;
  }
  .homepage-hero {
    padding: 20px;
    min-height: 250px;
    justify-content: space-around;
  }
  .np-homepage {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 450px) {
  .grid-cards-container-hp {
    grid-template-columns: repeat(2,1fr);
  }
}
