.cm_team_wrp.text_right .cm_team_image svg {
  right: 0;
  left: auto;
  transform: none;
}

.cm_team_wrp .cm_team_image img {
  width: auto;
  max-width: 185px;
  height: 100%;
  max-height: 258px;
  object-fit: contain;
}

.cm_team_wrp.text_right .cm_team_image > a, .cm_team_wrp.text_right .cm_team_image {
  display: flex;
  justify-content: end;
  padding-right: 5px;
}

.cm_team_wrp.text_left .cm_team_image > a, .cm_team_wrp.text_left .cm_team_image {
  display: flex;
  justify-content: flex-start;
  padding-left: 34px;
}

.cm_team_wrp.text_left .cm_team_image svg {
  left: 0;
  transform: none;
}

.cm_team_wrp .cm_team_image {
  margin-bottom: 14px;
  position: relative;
}

.cm_team_wrp.text_right .cm_team_icons {
  justify-content: flex-end;
}

.cm_team_wrp .flex_row {
  row-gap: 40px;
}

.cm_team_wrp.text_left .cm_team_icons {
  justify-content: flex-start;
}

.cm_team_wrp .cm_team_image {
  position: relative;
  line-height: 0;
  min-height: 265px;
  display: flex;
  justify-content: center;
  align-items: self-end;
  padding-bottom: 10px;
}

.cm_team_wrp .cm_team_image svg {
  width: auto;
  position: absolute;
  height: 100%;
  right: 0;
  top: 0;
  bottom: 0;
  fill: inherit;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  max-height: 100%;
}

.cm_team_wrp .cm_team_cont.cm_color h3 {
  margin-bottom: 4px;
}

.cm_team_wrp .cm_team_image a {
  position: relative;
  width: 100%;
  min-height: 265px;
  display: flex;
  justify-content: center;
  align-items: self-end;
}

.cm_team_wrp .cm_mod_buton {
  margin-top: 30px;
}

.cm_team_wrp .cm_team_cont h5 {
  margin-bottom: 4px;
}

.cm_team_wrp .cm_team_icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
}

.cm_team_wrp .cm_team_cont p {
  margin-bottom: 8px;
  font-size: 0.875em;
}

.cm_team_wrp .team_trigger {
  cursor: pointer;
}

.cm_team_wrp .cm_team_icons a {
  display: inline-flex;
  width: 45px;
  height: 45px;
  overflow: hidden;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
}

.cm_team_wrp .cm_team_icons a * {
  width: 25px;
  height: 25px;
}

.cm_team_wrp .cm_team_text {
  margin-bottom: 20px;
}

{# popup #}

.cm_team_wrp .team_popup-modal {
  background: rgb(0 ,0 ,0, 0.3);
  display: none;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  -webkit-transition: .1s ease;
  -o-transition: .1s ease;
  transition: .1s ease;
  visibility: hidden;
  width: 100%;
  z-index: 999;
}

.cm_team_wrp .team_popup-modal.show {
  display: block;
}

.cm_team_wrp .team_popup-modal.active_show {
  opacity: 1;
  visibility: visible;
}

.cm_team_wrp .team_popup-modal .modal__container {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  overflow-y: auto;
  padding: 50px 20px;
  width: 100%;
}

.cm_team_wrp .team_popup-modal .modal__box {
  margin: 0 auto;
  max-width: 1024px;
  opacity: 0;
  -webkit-transform: translateY(100px);
  -ms-transform: translateY(100px);
  transform: translateY(100px);
  -webkit-transition: .4s ease .2s;
  -o-transition: .4s ease .2s;
  transition: .4s ease .2s;
  width: 100%;

  border-radius: 5px;
  overflow: hidden;
}

.cm_team_wrp .team_popup-modal.active_show .modal__box {
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.cm_team_wrp .inner_spacer {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.cm_team_wrp .closeIcon {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 35px;
  font-weight: 700;
  height: 35px;
  width: 35px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  right: 50px;
  top: 50px;
  z-index: 11;
}

.cm_team_wrp .closeIcon i {
  font-weight: 700;
}

.cm_team_wrp .team_popup-modal .inner_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  min-height: 400px;
}

.cm_team_wrp .team_popup-moda .mem_imng {
  width: 40%;
}

.cm_team_wrp .team_popup-modal .mem_bio_wrap {
  width: 60%;
}
.cm_team_wrp .team_popup-modal .mem_bio_wrap:only-child {
  width: 100%;
}

.cm_team_wrp .team_popup-modal .mem_imng {
  width: 40%;
  position: relative;
}

.cm_team_wrp .team_popup-modal .imgn_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.cm_team_wrp .team_popup-modal .bio_inner {
  padding: 40px;
  text-align: left;
}

.cm_team_wrp .team_popup-modal .desig {
  margin-bottom: 0;
}

.cm_team_wrp .social-icons {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
}

.cm_team_wrp .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.cm_team_wrp .social-icons a svg {
  width: 20px;
  display: block;
  height: 20px;
}

.cm_team_wrp .col2 .cm_team_image img {
  width: 100%;
}

.cm_team_wrp.removeCard_bg_svg .cm_team_image svg {
  display: none;
}

.cm_team_wrp.removeCard_bg_svg .cm_team_image, 
.cm_team_wrp.removeCard_bg_svg .cm_team_image > a {
  min-height: auto;
}
/*===Type 2 ======*/
.cm_team_wrp .cm_team_type2 .cm_image_wrapper {
  background-position: top;
  background-size: cover;
  display: block;
  height: 500px;
  margin-bottom: 30px;
  position: relative;
}
.cm_team_wrp .cm_team_type2 .cm_team_member_overlay {
  align-content: space-between;
  background-color: rgba(27, 42, 63, .7);
  display: flex;
  flex-wrap: wrap;
  opacity: 0;
  padding: 40px;
  -webkit-transition: opacity .3s ease-in-out;
  -moz-transition: opacity .3s ease-in-out;
  transition: opacity .3s ease-in-out;
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  text-align: left;
  left: 0;
  gap: 20px;
}
.cm_team_wrp .cm_team_type2 .cm_image_wrapper:hover .cm_team_member_overlay{
  opacity:1;
}
.cm_team_wrp .cm_team_type2 .cm_member_info_wrap {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  text-align: left;
}
.cm_team_wrp .cm_team_type2 .team_member {
  margin-bottom: 5px;
  line-height: 1;
  display: block;
  font-weight: 500;
}
.cm_team_wrp .cm_team_type2 .icon_wrap {
  border-radius: 8px;
  display: block;
  height: 40px;
  padding: 10px 12px 10px 11px;
  width: 41px;
}
.cm_team_wrp .cm_team_type2 .icon_wrap svg{
  width:17px;
  vertical-align: middle;
}
.cm_team_wrp .cm_team_type2 .member_social_links .items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media(min-width:1441px){
  .cm_team_wrp .cm_team_type2 .flex_row{
    row-gap:100px;
  }
}

@media(min-width: 768px) {
  .cm_team_wrp .team_popup-modal .imgn_box img {
    display: none;
  }
}
@media(max-width:1440px){
  .cm_team_wrp .cm_team_type2 .cm_image_wrapper {
    height: 400px;
  }
}
@media(max-width: 991px) {
  .cm_team_wrp .team_popup-modal .mem_imng {
    width: 50%;
  }

  .cm_team_wrp .team_popup-modal .mem_bio_wrap {
    width: 50%;
  }
}

@media(max-width: 767px) {
  .cm_team_wrp .team_popup-modal .mem_bio_wrap, .cm_team_wrp .team_popup-modal .mem_imng {
    width: 100%;
  }

  .cm_team_wrp .team_popup-modal .imgn_box {
    background: none !important;
    position: static;
  }

  .cm_team_wrp .team_popup-modal .mem_imng img {
    max-width: 100%;
    height: auto;
  }

  .cm_team_wrp .team_popup-modal .imgn_box img {
    width: auto;
    height: 100%;
    max-height: 300px;
    max-width: none;
  }

  .cm_team_wrp .team_popup-modal .modal__box {
    width: 70%;
  }

  .cm_team_wrp .team_popup-modal .bio_inner {
    font-size: 0.9em;
  }

  .cm_team_wrp .team_popup-modal .mem_bio_wrap p {
    margin-bottom: 10px;
  }

  .cm_team_wrp .team_popup-modal h2.name {
    margin-bottom: 10px;
  }

  .cm_team_wrp .closeIcon {
    right: 20px;
    top: 20px;
  }

  .cm_team_wrp .team_popup-modal .bio_inner {
    padding: 20px;
  }
  .cm_team_wrp .cm_team_type2 .cm_team_member_overlay {
    opacity: 1;
    background-color: transparent;
    justify-content: center;
    align-content: flex-end;
  }

  .profile_description_wrap {
    display: none;
  }
}

@media(max-width: 600px) {
  .cm_team_wrp .team_popup-modal .modal__box {
    width: 90%;
  }

  .cm_team_wrp .team_popup-modal .modal__container {
    padding-left: 0;
    padding-right: 0;
  }

  .cm_team_wrp .link_text_wrap a {
    padding: 8px 18px;
  }
}

{# endpopup #}

.cm_team_wrp .glide__bullets {
  margin-bottom: 30px;
  margin-top: 0;
  position: relative;
}

.cm_team_wrp .cm_team_image.noBgAdded {
  min-height: auto;
}

.cm_team_wrp .cm_team_image.noBgAdded img {
  max-width: 100%;
  max-height: none;
  object-fit: unset;
}

.cm_team_image.noBgAdded img {
  overflow: hidden;
}

.cm_team_image.noBgAdded {
  overflow: hidden;
}

.cm_team_wrp.text_left .cm_team_image.noBgAdded {
  padding-left: 0;
}

@media(max-width: 1230px) {
  .cm_team_wrp .glide__arrow.glide__arrow--right {
    right: 0;
  }

  .cm_team_wrp .glide .glide__arrow--left {
    left: 0;
  }
}
