/* cribbed from /undergraduate */

#id7-main-content h2, h3, h4 {
  margin-bottom: 20px;	
}

/* Make the pictures vertical flex boxes */

.container-component.boxstyle_.box5 {
  display:flex;
  flex-direction: column;
}


/* make the two middle box1 boxstyles have the same height */
.flex-middle {
  display: flex;
  flex-direction: column;
}

  .equal-height-sm .flex-middle .box1 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;	
}

#id7-main-content .btn-group .btn {
  white-space: pre-line;
  width: 100%;
  padding-top:8px;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.panel-title i {
  margin-right: 5px;	
}

figcaption { 
  margin-top: 10px;	
}

.panel-title a p {
  display:inline;
  padding:0;
  margin:0;
}

.video-container {
  justify-content: center;
  display: flex;
}	


div.row img, div.row .video-container  {
  margin-bottom: 20px;	
}

@media screen and (min-width: 992px) {
  .video-container {
    justify-content: flex-end;	
  }
  
  .outer {
    margin: 0 20px;	
  }
  
  div.row img, div.row .video-container {
    margin-bottom: 0;	
  }
  
}


/* cs infographic styles */
.boxInfographic {
  width: 100%;
  margin-bottom: 10px;
  margin-top: 20px;
  padding: 25px;
  border: 0px solid black;
  background-color:#00407a;
  float: left;
  text-align: center;
}

.p1 {
  color:#ffffff;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.9px;
}

.p2 {
  color:#ffffff;
  font-weight: bold;
  font-size: 90px;
  line-height: 0.8;
}

.p3 {
  color:#ffffff;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.2;
  padding-top: 15px;
  letter-spacing: 0.9px;
}

.p4 {

  color:#ffffff;
  font-weight:lighter;
  font-size: 16px;
  line-height: 1.2;
  padding-top: 7px;
  letter-spacing: 0.5px;
}

p:has(.p5) {
  flex-grow:1;
  display:flex;
  justify-content: flex-end;
  & em {
    flex-grow:1;
    flex-direction: column;
    display:flex;
    justify-content: flex-end;
  }
}

.narrowed {
  width:100% !important;
}
.narrowed img {
  max-height:20rem;
  width:100%;
  object-fit:cover;
  object-position:0% 35%;
}

.container-component.boxstyle_.box5 {
  padding:10px;
}

.p5 {
  color:#F1C86F;
  font-weight:normal;
  font-size: 12px;
  line-height: 1.2;
  padding-top: 11px;
  letter-spacing: 0.5px;
}

.p6 {
  color:#ffffff;
  font-weight: bold;
  font-size: 30px;
  line-height: 1.2;
  padding-top: 15px;
  letter-spacing: 0.9px;

}

.p7 {
  color:#ffffff;
  font-weight: bold;
  font-size: 25px;
  line-height: 1.1;
  padding-top: 15px;
  letter-spacing: 1.2px;
}

.p8 {

  color:#ffffff;
  font-weight:lighter;
  font-size: 30px;
  line-height: 1.2;
  padding-top: 7px;
  letter-spacing: 0px;
}

.h2 {

  color:#ffffff;
  font-weight: bold;
  font-size: 60px;
  line-height: 0.9;
}

.h3 {

  color:#ffffff;
  font-weight: bold;
  font-size: 40px;
  line-height: 0.8;
}