@font-face {
  /*Replaces GillSansMTProBoldCondensed*/
  font-family:gill-sans-nova-condensed;
  font-weight: 800;
  src: url(https://use.typekit.net/kmq6huc.css);
}

@font-face {
  /*Replaces GillSansMTProLight*/
  font-family:gill-sans-nova;
  font-weight: 300;
  src: url(https://use.typekit.net/kmq6huc.css);
}

@font-face {
  /*Replaces GillSansMTProMedium*/
  font-family:gill-sans-nova;
  font-weight: 500;
  src: url(https://use.typekit.net/kmq6huc.css);
}

@font-face {
  /*Replaces GillSansMTProBold*/
  font-family:gill-sans-nova;
  font-weight: 700;
  src: url(https://use.typekit.net/kmq6huc.css);
}

@font-face {
  /*Replaces GillSansMTPro and GillSansMTProBook*/
  font-family:gill-sans-nova-condensed;
  font-weight: 400;
  src: url(https://use.typekit.net/kmq6huc.css);
}

section.cards-featured {
    display:grid;
    grid-template-columns:  repeat(3, 2fr);
    grid-gap:2em;
    margin-bottom: 3em;
  }

section.intro {
  margin: 0em auto;
  display:grid;
  place-content:center;
  background-color:#edf1fc;
  height:15vh auto;
  color: #000;
  font-size:1.2em;
  padding-bottom: 2em;
}

section.intro p {
  display:inline-block;
  width: min(100% - 3rem, var(--container-max, 60ch));
  text-align: left;
  padding-top:1em;
}


.activity-ribbon__container{
  background-color: #eee;
  padding: 1em;
  margin-top: 0em;
  text-align: center;
  font-size: 1.5em;
 
}

.activity-ribbon__content{

  border: solid 1px var(--light-grey);
  display:grid;
  grid-template-columns: 2fr 8fr 2fr;
  margin: auto;
  width: 41%;
  background-color: #fff;
  cursor: pointer;
  margin-top: 1em;
  margin-bottom: 1em;
}

.activity-ribbon__content:hover{
  border: solid 1px #000;
}

.activity-ribbon__title{
  display: block;
  font-weight: bold;
  color: #000;
  line-height: 4em;
  text-align: center;
  font-size: 1em;
}

.activity-ribbon__img_right{
  text-align: right;
}

.activity-ribbon__img_right img{
  display: inline-block;
}

.show-modules-btn{
  font-weight: bold; 
  border: solid 1px var(--c-red-dark); 
  padding: 0.5em;
  margin-top: 1em;
  cursor: pointer;
  color: var(--c-red-dark);
}

.show-modules-btn:hover{
  background-color: var(--c-red-dark);
  color: white;
}


/*- lighbox -*/
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.7);
}

.lightbox__content {
  display: block;
  width: 95%;
  height: 95%;
  margin: auto;
  margin-top:3em;
}

.lightbox__header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1em;
  text-align: right;
}

.lightbox__title{
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  text-align: left;
}

.lightbox__close {
  color: #000;
  font-size: 2em;
  border: 1px solid #333;
  border-radius: 3em;
  cursor: pointer;
  width: 1.2em;
}

.hero {
 height: auto;
 max-height: 500px;
 background-color: #EEE9DB;
}
.hero-video {
  width: 60%;
  margin: 2em auto;
}

.hero img {
  object-fit: cover;
  height: min(45vh, 250px);
  width: 100%;
}

@media only screen and (max-width: 600px) {
  section.cards-featured {
    grid-template-columns: 8fr;
  }

  section.intro {
    display:grid;
    place-content:center;
    height:15vh auto;
	 margin: 0em auto;
  }

  .hero-video {
    width: 100%;
  }

  .activity-ribbon__content{
    width: 100%;
    border: solid 1px #000;
    margin-top: 2em;

  }
  
  .activity-ribbon__ribbon img{
    display: block;
  }

  .activity-ribbon__img_right img{
    display: none;
  }
  
  .activity-ribbon__title{
    line-height: 1.5em;
    text-align: center;
    font-size: 1em;
  }
  

}

.cards-featured .card {
  background-color: #edf1fc;
}

.cards-featured .card h3 {
  font-family: Arial, sans-serif;
}