/* ==========================================================================
Small Groups
========================================================================== */

#photo-sg{
height: 100vh;
display: block;
background-image: url(../img/small_groups/photo_sg.jpg);
background-size: cover;
background-position: top -100px right;
background-repeat: no-repeat;
z-index: -100;
}

#two-line-header h2{
  display: block;
  color: #4a4a4a;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  padding: 20px 0;
  text-transform: uppercase;
  width: 70%;
  max-width: 960px;
  margin: 0 auto;
  border-top: 2px #35C1F9 solid;
  border-bottom: 2px #35C1F9 solid;
  margin-bottom: 50px;
  margin-top: 70px;
}

#sg-list-wrapper{
  display: grid;
  width: 70%;
  height:auto;
  margin: 0 auto;
  grid-template-columns: repeat(3,1fr);
  grid-column-gap: 2%;
  grid-row-gap: 4%;
  max-width: 960px;
}

.frame{
width: 100%;
display: block;
overflow: hidden;
max-height: 200px;
}
.frame img{
  min-width: 100%;
  min-height: 100%;
}

/* ==========================================================================
serving/learning opportunity
========================================================================== */

#photo-serving{
height: 100vh;
display: block;
background-image: url(../img/serving/serving.jpg);
background-size: cover;
background-position: top -100px right;
background-repeat: no-repeat;
z-index: -100;
}

#photo-learning{
height: 100vh;
display: block;
background-image: url(../img/learning/learning.jpg);
background-size: cover;
background-position: top -80px right;
background-repeat: no-repeat;
z-index: -100;
}


/*Serving opportunity*/
#serving-list-wrapper{
  display: grid;
  width: 70%;
  height:auto;
  margin: 0 auto;
  grid-template-columns: repeat(3,1fr);
  grid-template-row: repeat(3,1fr);
  grid-column-gap: 2%;
  grid-row-gap: 4%;
  max-width: 960px;
}

.cell{
  display: block;

}
.cell img{
  display: block;
  overflow: hidden;
  max-height: 200px;
  margin:0;
}

.cell h3{
  padding: 24px 20px;
  margin-left: 2%;
  width: 98%;
  font-size: 16px;
  letter-spacing: .5px;
  border-left: solid 1px #188ef0;
  border-bottom: solid 1px #188ef0;
}
.cell.praise h3{
  padding: 14px 20px;
  margin-left: 2%;
  width: 98%;
  font-size: 16px;
  letter-spacing: .5px;
  border-left: solid 1px #188ef0;
  border-bottom: solid 1px #188ef0;
}

.cell p{
  padding: 0px 20px;
  margin-left: 2%;
  margin-right: 1%;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: .5px;
  width: 98%;
  margin-top: 20px;
  line-height: 24px;
  min-height: 100px;
  margin-bottom: 20px;
  color: #4a4a4a;
}

.cell h5{
  margin-left: 2%;
  width: 98%;
  font-size: 14px;
  font-weight: 400;
  padding: 0px 10px;
}
.cell h6{
  margin-left: 2%;
  width: 98%;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  margin:0 0 70px 0;
  padding: 5px 20px;
  display: block;
  color: #188ef0;
  opacity: .9;
}

.learning-cell-line{
  border-bottom: solid 1px #188ef0;
  margin-bottom: 20px;
  margin-left: 2%;
  width: 98%;
}


.cell img{
width: max-content;
  max-height: 200px;
  display: block;
}


/*learning opportunity*/
#class-list-wrapper{
  display: grid;
  width: 70%;
  height:auto;
  margin: 0 auto;
  grid-template-columns: repeat(3,1fr);
  grid-column-gap: 2%;
  grid-row-gap: 4%;

}

.cell{
  display: block;

}
.cell img{
  display: block;
  overflow: hidden;
  max-height: 200px;
  margin:0;
}

.cell h3{
  padding: 24px 20px;
  margin-left: 2%;
  width: 98%;
  font-size: 16px;
  color: #188ef0;
  letter-spacing: .75px;
  border-left: solid 1px #188ef0;
  border-bottom: solid 1px #188ef0;
}

.cell h4{
  padding: 0px 20px;
  margin-left: 2%;
  margin-right: 1%;
  font-size: 14px;
  letter-spacing: .5px;
  width: 100%;
  margin-top: 20px;
  line-height: 30px;
  min-height: 100px;
  margin-bottom: 20px;
}

.cell h5{
  margin-left: 2%;
  width: 98%;
  font-size: 14px;
  font-weight: 400;
  padding: 0px 10px;
}
.cell h6{
  margin-left: 2%;
  width: 98%;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  margin:0 0 70px 0;
  padding: 5px 20px;
  display: block;
  color: #118ef0;
  opacity: .9;

}

.learning-cell-line{
  border-bottom: solid 1px #188ef0;
  margin-bottom: 20px;
  margin-left: 2%;
  width: 98%;
}

#class-list-wrapper.cell:nth-of-type(1) {
  grid-column:1;
  grid-row:1;
}
#class-list-wrapper.cell:nth-of-type(2) {
  grid-column:2;
  grid-row:1;

}
#class-list-wrapper.cell:nth-of-type(3) {
  grid-column:3;
  grid-row:1;

}
#class-list-wrapper.cell:nth-of-type(4) {
  grid-column:1;
  grid-row:2;

}
#class-list-wrapper.cell:nth-of-type(5) {
  grid-column:2;
  grid-row:2;

}
#class-list-wrapper.cell:nth-of-type(6) {
  grid-column:3;
  grid-row:2;

}

.cell img{
width: max-content;
  max-height: 200px;
  display: block;
}
