
      .teachermodal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}





.teachermodal.show {
  opacity: 1;
  pointer-events: auto;
}

.teachermodal-content {
  background: white;
  padding: 16px;
  border-radius: 4px;
  max-width: 1200px;
  max-height: 80%;
  width: 80%;
  overflow-y: auto;
  animation: slideIn 0.4s ease-out;
  position: relative;
}

.teachertags {
  display: flex !important;
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  flex-wrap: wrap;
  gap: 4px;
  
}

.teachertag {
  padding: 4px;
  background: var(--blindsco-slate);
  color: #858585;
  border-radius: 2px;
  font-size: 12px;
}



.teacherlarge {display: inline-grid;
              grid-template-columns: repeat(3, 1fr);
              gap: 32px;
               width: 100%;
              padding: 16px;
              }

.teacherimagelarge {
  grid-column: span 1 / auto;
                  
  order: 2;
              }

.teacherdetailslarge {
  grid-column: span 2 / auto;
                  
  order: 1;
}

  .teacherdetailslarge h2 {
  font-size: 48px;
              }

 .teacher-position {
  font-size: 32px;
   text-transform: uppercase;
   color: var(--blindsco-accent);
              }

 .teacher-profile {
   margin-top: 16px;
   padding: 16px 0px;
   border-top: 8px solid  var(--blindsco-slate);
   border-bottom: 8px solid  var(--blindsco-slate);
              }

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.staffmemberlist {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0px;
  border-radius: 4px;
  align-items: start;
  flex-wrap: wrap;
  width: 100%;
  padding: 16px;
  background: #eee;
}



.singlestaffmember {
  padding: 0px;
  display: grid;
  background-color: #fff;
  position: relative;
  min-height: 80px;
  width: calc(25% - 16px);
  width:  100%;
  height: 100%;
}

.singlestaffmember h3, .staffmember p {
  padding: 0px !important;
}


.staffmemberimage {
  float: left;
  order: 1;
  top: 2px;
  right: 2px;
  width: 100%;
}

.staffmemberimage img {

  float: left;
}

.staffmemberdetails {
  width: calc(100% - 0px);
  text-align: center;
  font-size: 14px;
  order: 2;
  padding: 8px;
 
  
}

.singlestaffmember h3 {
  font-weight: normal;
  font-size: 24px;
  font-weight: 400;
}


 .staffmembermodal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.staffmembermodal.show {
  opacity: 1;
  pointer-events: auto;
}

.staffmembermodal-content {
  background: white;
  padding: 16px;
  border-radius: 4px;
  max-width: 1200px;
  max-height: 80%;
  width: 80%;
  overflow-y: auto;
  animation: slideIn 0.4s ease-out;
  position: relative;
}





.profile a {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 48px;
  height: 48px;
  background: #ffb000;
  
}

.profile a:before {
  content: "+";
  line-height: 1;
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 48px;
  width: 100%;
  text-align: center;
  color: #fff;
}


.staffmemberlarge {
              display: inline-grid;
              grid-template-columns: repeat(3, 1fr);
              gap: 16px;
              width: 100%;
              padding: 16px;
              }

.staffmemberimagelarge {
  grid-column: span 1 / auto;
                  
  order: 2;
              }

.staffmemberdetailslarge {
  grid-column: span 2 / auto;
                  
  order: 1;
}

  .staffmemberdetailslarge h2 {
  font-size: 40px;
    padding: 0px;
              }

 .staffmember-position {
  font-size: 20px;
   text-transform: uppercase;
   color: var(--blindsco-accent);
              }

 .staffmember-profile  {
   margin-top: 8px;
   /* padding: 16px 0px; */
   border-top: 8px solid  var(--blindsco-slate);
   border-bottom: 8px solid  var(--blindsco-slate);
   }

 .staffmember-profile p  {
   margin: 0px;
   padding: 0px; !important;
  
   }

 .staffmember-home {
   margin: 0px !important;
   padding: 0px !important;
   padding-bottom: 0px !important;
   border-top: 0px solid  var(--blindsco-slate);
   border-bottom: 0px solid  var(--blindsco-slate);
   }

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}



@media screen and (max-width: 768px) {


  .staffmemberlarge {
          
              grid-template-columns: repeat(1, 1fr);
              row-gap: 8px;
    column-gap: 0px;
              width: 100%;
              padding: 0px;
              }



.staffmemberlist {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0px;
  border-radius: 4px;
  align-items: start;
  flex-wrap: wrap;
  width: 100%;
  padding: 16px;
  background: #eee;
}

}

@media screen and (max-width: 540px) {

  .profileimagelarge {
    order: 2;
  }



.staffmemberlist {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
  
}

}