@font-face {
  font-family: "Gothic720 Lt BT";
  src: url("https://cflreap.personaladvantage.com/fonts/GOTH720L.ttf");
}

:root {
  --primary-font: "Gothic720 Lt BT", sans-serif !important;
  --secondary-font: "Gothic720 Lt BT", sans-serif;
  --accent-font: "Gothic720 Lt BT", cursive;
}

#welcome-message > a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 6px;
}

#welcome-message > a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.7);
  text-underline-offset: 5px;
}

button.action,
a.action {
  background-color: var(--color-secondary);
  border: var(--color-secondary);
}

button.action:hover,
a.action:hover {
  background-color: var(--color-primary);
  border: var(--color-primary);
}

#welcome-ribbon > header {
  width: 100%;
  text-align: center;
}

.hero-featured a,
.hero-featured button {
  background: var(--color-secondary);
}

.hero-featured a:hover,
.hero-featured button:hover {
  background: var(--color-primary);
}

.no-tailwindcss-base {
  font-family: var(--primary-font);
}

.custom-page .no-tailwindcss-base > div {
  padding: 2rem;
}
.resource-hero {
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 300px;
  position: relative;
}

.resource-hero-text {
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2vw;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
}

.resource-hero-text > h1 {
  margin-bottom: 0 !important;
  font-size: 1rem !important;
}

.service-link {
  width: 100%;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background-color: var(--color-primary);
  text-decoration: none;
  border-radius: 4px;
}

.service-link:hover {
  background-color: var(--color-secondary);
}

.service-link > img {
  width: 32px;
}

/* program tiles */
.program-tile-popup * {
  font-family: var(--primary-font) !important;
}

.program-tile-popup-content h1.program-tile-popup-heading {
	font-weight: bold;
}

#programTiles .program-tile-popup .benefits-tile,
#programTiles .program-tile-popup .program-tile-popup-link {
  background-color: var(--secondary-color) !important;
}

#programTiles .program-tile-popup .benefits-tile:hover,
#programTiles .program-tile-popup .program-tile-popup-link:hover {
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  transition: all 0.2s ease-in-out;
}

#programTiles .program-tile-popup .benefits-tile{
	border: 1px solid var(--secondary-color);
}

.program-tile-popup .program-tile-popup-content .popup-text ul {
  list-style: disc inside;
}

#your-eap-benefits-popup h1 {
  margin-bottom: 1rem;
}

#your-eap-benefits-popup ul {
  margin: auto;
  text-align: left;
}

#your-eap-benefits-popup iframe {
  margin: auto;
}

#your-eap-benefits-popup .popup-text {
  padding: 2rem 0;
}

#your-eap-benefits-popup h3 {
  margin: 2rem auto;
  font-weight: bold;
}

#employer-hr-resources-popup p {
  margin: 1rem auto;
}

#employer-hr-resources-popup .program-tile-popup-content {
  padding: 1rem 1rem 2rem 1rem;
}

#training-and-webinar-popup h3 {
  margin: 1rem auto;
  font-size: 1.25rem;
  text-align: left;
}

#training-and-webinar-popup ul {
  text-align: left;
  list-style: disc inside;
  margin: 1rem 0px;
}

.benefit-hub-popup-link {
	color: #00f;
  text-underline-offset: 6px;
  -webkit-text-decoration: underline #253ce980;
  text-decoration: underline #253ce980;
}

.benefit-hub-popup-link:hover {
	text-decoration-color: #253ce9;
}
/* end program tiles */

@media (min-width: 768px) {
  #welcome-message {
    font-size: 1.5rem;
  }

  .resource-hero {
    height: 500px;
  }
  .resource-hero-text > h1 {
    font-size: 2rem !important;
  }

  .custom-page .no-tailwindcss-base > div {
    padding: 3rem 5%;
  }

  #monthly-events > h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}