/* Start of Visual builder styling */
.sp-vb {
  background-color: #657587;
}
.sp-vb .sp-vb__element {
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px !important;
  text-align: center;
}

.staff-profile-grid .et_pb_section {
  background-color: transparent;
}
/* End of Visual builder styling */

/* Start of Column styling */

@media (max-width: 980px) {
  .staff-profile-grid .et_pb_section {
    padding: 0;
  }
  .staff-profile-grid .row .col-sm-12 {
    margin-bottom: 30px;
  }
  .staff-profile-grid .row .col-sm-6, .staff-profile-grid .row .col-sm-4, .staff-profile-grid .row .col-sm-3 {
    max-width: 100%;
    flex-basis: 100%;
    margin-bottom: 30px;
  }
}

/*@media (min-width: 991px) {*/
  .staff-profile-grid .row {
    display: flex;
  }
  .staff-profile-grid .row .col-sm-4 {
    display: flex;
  }
  .col-sm-3, .col-sm-4, .col-sm-6 {
    display:flex;
  }
  .col-sm-12 {
    width: 100%;
  }
/*}*/

/* End of Column styling */

/* Start of General card styling */

.single-sift_staff_profile #main-content .container:before {
  width: 0;
}
.sp-card {
  font-size: 14px;
  width: 100%;
}
.sp-card__image {
  flex-shrink: 0;
}
.sp-card__image-profile {
  width: 100%;
  height: auto;
  display: block;
}
.sp-card__image-profile-hover {
  display: none;
}
.sp-card__image:hover .sp-card__image-profile-main {
display: none;
}
.sp-card__image:hover .sp-card__image-profile-hover {
display: block;
}
.sp-card__content {
  padding: 20px;
}
.sp-card__personal .sp-card__header-three {
  font-size: 20px;
  font-weight: 800;
}
.sp-card__personal .sp-card__header-four {
  font-size: 16px;
  font-weight: 700;
}
.sp-card__header-location {
  font-weight: bold;
}
.sp-card__personal, .sp-card__contact {
  width: 100%;
  width: 100%;
  display: inline-block;
}
.sp-card__contact-wrapper, .sp-card__link {
  font-weight: 700;
}
.sp-card__contact-wrapper, .sp-card__about {
  padding-bottom: 16px;
}
.sp-card__link {
  cursor: pointer;
}
/* End of General card styling */


/* Start of unique Full width styling */

.sp-card__expertise {
  margin-top: 20px;
}
.sp-card__expertise .sp-card__expertise-header{
  font-size: 18px;
}
.sp-card__content-full {
  box-shadow: 0px 2px 60px -10px rgba(0,0,0,0.3);
  border: 1px solid #ffffff;
}
.sp-card__full-desktop {
  display: none;
}

@media (min-width: 991px) {
  .sp-card__full-desktop {
    display: block;
  }
  .sp-card__content-full {
    box-shadow: none;
  }
  .sp-card__image-full, .sp-card__content-full {
    display: inline-block;
  }
  .sp-card__image-full {
    width: 30%;
    margin-right: 5%;
    float: left;
  }
  .sp-card__image-full .sp-card__image-profile {
    margin-bottom: 5%;
  }
  .sp-card__image-full:after {
    clear: both;
  }
  .sp-card__contact-section {
    display: flex;
  }
  .sp-card__contact-section .et-pb-icon{
    font-size: 30px;
    width: 10%;
    display: block;
    color: #000000;
  }
  .sp-card__contact-section .sp-card__contact {
    display: block;
    margin-left: 10px;
  }
  .sp-card__content-full {
    width: 60%;
    padding: 0;
  }
  .sp-card__full-mobile {
    display: none;
  }
  .sp-card__hiddenImg-contact-wrapper {
    padding-bottom: 10%;
    height: 100px;
  }
  .sp-card__hiddenImg-contact {
    width: 50%;
    float: left;
  }
}

/* End of unique Full width styling */


/* Start of unique Stacked styling */

.sp-card__stacked .sp-card__content-stacked {
  box-shadow: 0px 2px 60px -10px rgba(0,0,0,0.3);
  border: 1px solid #ffffff;
}

@media (min-width: 991px) {
  .sp-card__stacked {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    width: 100%;
  }
  .sp-card__stacked .sp-card__content-stacked {
    flex: 1 0 auto;
  }
}

/* End of unique Stacked styling */


/* Start of unique Square styling */
.sp-card__square .sp-card__image {
  height: 300px;
}

.sp-card__image-square {
  height: 100%;
}

.sp-card__square .sp-card__content .sp-card__image-square {
  background-color: #e2e2e2;
}

@media (min-width: 980px) and (max-width: 1025px) {
  .sp-card__square {
    margin-bottom: 30px;
  }
}

@media (min-width: 1025px) {
  .sp-card__square {
    margin-bottom: 30px;
    display: flex;
  }
  .sp-card__square-hidden {
    display: none;
  }
  .sp-card__square .sp-card__image {
    width: 40%;
  }
  .sp-card__image-square {
    display: flex;
  }
  .sp-card__content-square {
    display: flex;
    flex-direction: column;
    width: 60%;
  }
  .sp-card__content-square.sp-card__square-full {
    width: 100%;
  }
  .sp-card__content-square:after {
    clear: both;
  }
  .sp-card__header {
    padding-bottom: 5px;
  }
  .sp-card__personal-square .sp-card__header-three {
    font-size: 18px;
    font-weight: 500;
  }
  .sp-card__personal-square .sp-card__header-four {
    font-size: 14px;
    font-weight: 500;
  }
  .sp-card__square .sp-card__contact-wrapper, .sp-card__about {
    padding-bottom: 10px;
  }
  .sp-card__square-about {
    line-height: 1.6;
  }
}
/* End of unique Square styling */
