.staffContainer {
    padding: 5em;
}

.img-responsive {
    display: block;
    width: 100%;
    height: auto;
}

.staffInner {
    display: grid;
    grid-gap: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.staffBoxContainer {
    position:relative;
}

.fa-spin-fast {
  -webkit-animation: fa-spin-fast 0.2s infinite linear;
  animation: fa-spin-fast 0.2s infinite linear;
}
@-webkit-keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.material-card {
    position: relative;
    height: 0;
    padding-bottom: calc(100% - -100px);
    margin-bottom: 1.6em;
}

.material-card h2 {
  position: absolute;
  top: calc(100% - 90px);
  left: 0;
  width: 93.5%;
  padding: 10px 16px;
  color: #fff;
  font-size: 20px;
  line-height: 1.6em;
  margin: 0;
  z-index: 10;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card h2 span {
  display: block;
}
.material-card h2 strong {
  font-weight: 400;
  display: block;
  font-size: 0.8em;
}

.material-card.mc-active h2 strong {
    width: 86%;
}

.material-card h2:before, .material-card h2:after {
  content: ' ';
  position: absolute;
  left: 0;
  top: -16px;
  width: 0;
  border: 8px solid;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.material-card h2:after {
    top: auto;
    bottom: 0;
}

.material-card.mc-active h2:after {
    bottom: -16px;
}

@media screen and (max-width: 767px) {
  .material-card.mc-active {
    padding-bottom: 0;
    height: auto;
  }
}

.material-card.mc-active h2 {
  top: 0;
  padding: 10px 16px 10px 90px;
  width: 79%;
  font-size: 18px;
  height: 78px;
}

.material-card.mc-active h2:before {
  top: 0;
}

.material-card .mc-content {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 16px;
  left: 16px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.material-card .mc-btn-action {
    position: absolute;
    right: 16px;
    top: 15px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 5px solid;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    z-index: 20;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.mc-btn-action i {
    font-size: 20px;
}

.material-card.mc-active .mc-btn-action {
  top: 70px;
}

.material-card .mc-description {
  position: absolute;
  top: 100%;
  right: 30px;
  left: 30px;
  bottom: 30px;
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 1.2s;
  -moz-transition: all 1.2s;
  -ms-transition: all 1.2s;
  -o-transition: all 1.2s;
  transition: all 1.2s;
}
.material-card .mc-footer {
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card .mc-footer h4 {
  position: absolute;
  top: 200px;
  left: 30px;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  -webkit-transition: all 1.4s;
  -moz-transition: all 1.4s;
  -ms-transition: all 1.4s;
  -o-transition: all 1.4s;
  transition: all 1.4s;
}
.material-card .mc-footer a {
  display: block;
  float: left;
  position: relative;
  width: 52px;
  height: 52px;
  margin-left: 5px;
  margin-bottom: 15px;
  font-size: 28px;
  color: #fff;
  line-height: 52px;
  text-decoration: none;
  top: 200px;
}
.material-card .mc-footer a:nth-child(1) {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.material-card .mc-footer a:nth-child(2) {
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}
.material-card .mc-footer a:nth-child(3) {
  -webkit-transition: all 0.7s;
  -moz-transition: all 0.7s;
  -ms-transition: all 0.7s;
  -o-transition: all 0.7s;
  transition: all 0.7s;
}
.material-card .mc-footer a:nth-child(4) {
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -ms-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
}
.material-card .mc-footer a:nth-child(5) {
  -webkit-transition: all 0.9s;
  -moz-transition: all 0.9s;
  -ms-transition: all 0.9s;
  -o-transition: all 0.9s;
  transition: all 0.9s;
}
.material-card .img-container {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card.mc-active .img-container {
  /*-webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;*/
  left: 0;
  top: 12px;
  width: 60px;
  height: 60px;
  z-index: 20;
}

.material-card.mc-active .mc-content {
  padding-top: 5em;
  min-height: 420px;
}
@media screen and (max-width: 767px) {
  .material-card.mc-active .mc-content {
    position: relative;
    margin-right: 16px;
  }
}
.material-card.mc-active .mc-description {
  top: 10px;
  padding-top: 5.6em;
  opacity: 1;
  filter: alpha(opacity=100);
  overflow-y: auto;
}
@media screen and (max-width: 767px) {
  .material-card.mc-active .mc-description {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    padding: 50px 30px 70px 30px;
    bottom: 0;
  }
}
.material-card.mc-active .mc-footer {
  overflow: visible;
  position: absolute;
  top: calc(100% - 16px);
  left: 16px;
  right: 0;
  height: 82px;
  padding-top: 15px;
  padding-left: 25px;
}
.material-card.mc-active .mc-footer a {
  top: 0;
}
.material-card.mc-active .mc-footer h4 {
  top: -32px;
}

/**** Light Blue section ****/

.material-card.lightblue h2:before {
  border-top-color: transparent;
  border-right-color: #040e1a;
  border-bottom-color: #040e1a;
  border-left-color: transparent;
}

.material-card.lightblue.mc-active h2:before {
  border-top-color: transparent;
  border-right-color: #3b87d9;
  border-bottom-color: #3b87d9;
  border-left-color: transparent;
}

.material-card.lightblue h2:after {
    border-top-color: #3b87d9;
    border-right-color: #3b87d9;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.material-card.lightblue.mc-active h2:after {
  border-top-color: #040e1a;
  border-right-color: #040e1a;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.material-card.lightblue .mc-btn-action {
  background-color: #d9e6f2;
}

.material-card.lightblue .mc-btn-action:hover {
  background-color: #3b87d9;
}

.material-card.lightblue .mc-footer h4 {
  color: #0D47A1;
}
.material-card.lithblue .mc-footer a {
  background-color: #0D47A1;
}
.material-card.lightblue .img-container {
  background-color: #E3F2FD;
}
.material-card.lightblue.mc-active .img-container {
  background-color: #E3F2FD;
}
.material-card.lightblue.mc-active .mc-content {
  background-color: #E3F2FD;
}
.material-card.Blue.mc-active .mc-footer {
  background-color: #BBDEFB;
}
.material-card.lightblue.mc-active .mc-btn-action {
  border-color: #E3F2FD;
}
/* width */
.material-card.lighblue .mc-description::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.material-card.lightblue .mc-description::-webkit-scrollbar-track {
  background: #E3F2FD; 
}
 
/* Handle */
.material-card.lighblue .mc-description::-webkit-scrollbar-thumb {
  background: #1D3D69; 
}

/* Handle on hover */
.material-card.lightblue .mc-description::-webkit-scrollbar-thumb:hover {
  background: #040e1a; 
}
/**** End Light Blue section ****/

