.about-wrapper {
  width: 100%;
  display: flex;
  border: 2px solid #002f60;
}

.about-employee-section {
  margin-bottom: 4rem;
}

.about-employee-section .card-main {
/*   padding: 0 2rem 0 2rem; */
/*   BP Add better padding */
  padding: 1rem 1.5rem;
  min-height: 250px;
  display: flex;
/*   justify-content: flex-start;
  align-items: center; */
/*   BP Updates for better paragraphs inside the module */
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  
}

.about-employee-section .card-main h2 {
  font-size: 1.5rem;
  word-break: keep-all;
}
/* BP ADD CSS for paragraph */
.about-employee-section .card-main p {
  font-size: .8rem;
  margin: 0 0 0.5rem;
}
  
/*   END BP ADD */

.about-employee-section .about-card {
  flex: 1 100%;
  background: #fff;
  position: relative;
  overflow: hidden;
  min-width: 1.75rem;
  border: 2px solid #002f60;
  cursor: pointer;
}

.about-employee-section .card-toggle .card-title {
  color: #fff;
  margin: 0 !important;
  padding: .5rem 0 .5rem 0;
}

.about-employee-section .card-toggle {
  text-align: center;
  color: #fff !important;
}

.about-employee-section .about-card:first-of-type .card-title-wrapper .card-title,
.about-employee-section .about-card:first-of-type .card-toggle {
  background: #ccc
}

.about-employee-section .about-card:nth-of-type(2) .card-title-wrapper .card-title,
.about-employee-section .about-card:nth-of-type(2) .card-toggle {
  background: #002f60
}

.about-employee-section .about-card:nth-of-type(3) .card-title-wrapper .card-title,
.about-employee-section .about-card:nth-of-type(3) .card-toggle {
  background: #00A2C5
}

.about-employee-section .about-card:nth-of-type(4) .card-title-wrapper .card-title,
.about-employee-section .about-card:nth-of-type(4) .card-toggle {
  background: #eb5400;
}

.about-employee-section .about-card:not(.open):hover {
  background: #fff;
}

.about-employee-section .about-card:not(.open) h2 {
  transition: 300ms ease-in-out all;
  -webkit-transition: 300ms ease-in-out all;
  -moz-transition: 300ms ease-in-out all;
  -ms-transition: 300ms ease-in-out all;
  -o-transition: 300ms ease-in-out all;
}

.about-employee-section .about-card:not(.open):hover h2 {
  color: #eb5400;
}

.about-card:not(.open):hover .card-title {
  color: #fff
}

.about-employee-section .about-card .accent-image {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  left: 0;
  opacity: 1;
  overflow: hidden;
  z-index: 1000;
  padding: 0;
}


/* Layout 2 CSS */

.about-employee-section .about-card {
  min-width: unset !important;
  min-width: unset !important;
  display: flex;
  flex-flow: column;
/*   BP ADD */
  justify-content: space-between;
}

.about-employee-section .card-content {
  display: none;
  opacity: 0;
  left: 0;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  padding: 20px 20px 40px 20px;
  transition: 300ms ease-in-out opacity;
  -webkit-transition: 300ms ease-in-out opacity;
  -moz-transition: 300ms ease-in-out opacity;
  -ms-transition: 300ms ease-in-out opacity;
  -o-transition: 300ms ease-in-out opacity;
}

.about-employee-section .accent-image {
  position: relative;
  height: 400px;
  margin-bottom: 0
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translateX(1rem);
    -webkit-transform: translateX(1rem);
    -moz-transform: translateX(1rem);
    -ms-transform: translateX(1rem);
    -o-transform: translateX(1rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
  }
}

.about-employee-section .open:hover {
  background: #fff
}

.about-employee-section .open .card-content {
  animation: pop-in 300ms ease;
  -webkit-animation: pop-in 300ms ease;
  display: block;
  opacity: 1;
  order: -1;
}

.about-employee-section .card-title {
  font-size: 1.25rem;
  margin-bottom: 0;
  padding: 0 0 .5rem 0;
  line-height: 100%;
  vertical-align: middle;
}

.about-employee-section .close {
  flex: 0;
  opacity: 0;
  width: 0;
  overflow: hidden;
  border: 0px;
  height: 0;
}


/* BP ADD */
.card-close-emp {
  font-size: 1rem;
  color: #002f60;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  padding: 0 1rem .5rem;
  margin-bottom: .25rem;
  right: 0;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.card-close-emp svg {
  height: 24px;
}

.card-close-emp:hover {
  color: #eb5400
}

.card-close-emp svg {
  fill: #002f60;
}

.card-close-emp:hover svg path {
  fill: #eb5400;
}

@media (max-width: 768px) {
  .card-close-emp {
    padding-right: 0;
    font-size: 1rem;
  }

/*END BP ADD */

.about-employee-section .open .card-main,
.about-employee-section .open .card-toggle {
  display: none;
}

.about-employee-section .accent-image {
  width: 100%;
  height: auto;
  z-index: unset;
}

.about-employee-section .card-title-wrapper {
  border: 4px #002f60 solid;
  background: #eb5400
}

.about-employee-section .open .card-title-wrapper {
  border: 4px #002f60 solid;
  background: transparent;
}

.about-employee-section .open .card-title-wrapper-accent-image {
  border: 0px
}

.open .card-title-wrapper-accent-image img {
  /* border: 4px #002f60 solid; */
}

.about-employee-section .open .card-title-wrapper h2 {
  padding: 1rem;
  color: #002f60;
}

/* BP ADD */
.about-employee-section .open .card-title-wrapper h2,
.about-employee-section .open .card-title-wrapper h3,
.about-employee-section .open .card-title-wrapper h4,
.about-employee-section .open .card-title-wrapper p {
  padding: .5rem;
}

.about-employee-section .open .card-title-wrapper h2,
.about-employee-section .open .card-title-wrapper h3,
.about-employee-section .open .card-title-wrapper h4 {
  color: #002f60;
  margin-bottom: 0rem;
}


.about-employee-section .open .card-title-wrapper p {
  color: inherit;
  font-size: .8rem;
}

/* END BP ADD */

.about-employee-section .open .card-title-wrapper .card-title {
  background: #eb5400
}
/* BP from 768 to 770 */
@media (min-width: 770px) and (max-width: 992px) {
  .about-employee-section .card-main {
    padding: 0 1rem 0 1rem;
  }
  .about-employee-section .card-main h2 {
    font-size: 1.5rem;
    word-break: keep-all;
  }
}
@media (max-width: 992px) {
  .about-employee-section {
    flex-flow: wrap;
  }

  .about-employee-section .about-card {
    flex: 1 33%;
  }
  .about-employee-section .open.about-card {
    flex: 1 100%;
  }
  .about-wrapper {
    border: 0px;
  }
  .about-employee-section .about-card {
    border: 4px solid #002f60;
    cursor: pointer;
    margin-left: -4px;
    margin-top: -4px;
    flex-grow: 0 !important;
  }
}
/* BP from 768 to 770 */
@media (max-width: 770px) {

  .about-employee-section .about-card {
    flex: 1 50%;
  }
  .about-employee-section .open .card-title {
    padding: 0;
    margin-top: 1rem;
    margin-bottom: .5rem;
  }
  .about-employee-section .open .card-title-wrapper .card-title {
    padding: 0rem;
    padding-bottom: .5rem;
  }
  .about-employee-section .card-main h2 {
    font-size: 1.9rem;
    margin-bottom: 0;
  }
}

@media (max-width: 501px) {
  .about-employee-section .about-card {
    flex: 1 100%;
  }
  .about-employee-section .card-main {
    padding: 0 2rem 0 2rem;
    min-height: 200px;
  }
}